2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for librb devel.
5 # $Id: configure.ac 26260 2008-12-10 04:08:39Z androsyn $
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
278 $0: including any error possibly output before this
279 $0: message. Then install a modern shell, or manually run
280 $0: the script under such a shell if you do have one."
286 SHELL
=${CONFIG_SHELL-/bin/sh}
288 # Unset more variables known to interfere with behavior of common tools.
289 CLICOLOR_FORCE
= GREP_OPTIONS
=
290 unset CLICOLOR_FORCE GREP_OPTIONS
292 ## --------------------- ##
293 ## M4sh Shell Functions. ##
294 ## --------------------- ##
297 # Portably unset VAR.
300 { eval $1=; unset $1;}
304 # as_fn_set_status STATUS
305 # -----------------------
306 # Set $? to STATUS, without forking.
314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
324 # Create "$as_dir" as a directory, including parents if necessary.
329 -*) as_dir
=.
/$as_dir;;
331 test -d "$as_dir" || eval $as_mkdir_p || {
335 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 as_dirs
="'$as_qdir' $as_dirs"
339 as_dir
=`$as_dirname -- "$as_dir" ||
340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341 X"$as_dir" : 'X\(//\)[^/]' \| \
342 X"$as_dir" : 'X\(//\)$' \| \
343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
362 test -d "$as_dir" && break
364 test -z "$as_dirs" || eval "mkdir $as_dirs"
365 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
370 # as_fn_executable_p FILE
371 # -----------------------
372 # Test if FILE is an executable regular file.
373 as_fn_executable_p
()
375 test -f "$1" && test -x "$1"
376 } # as_fn_executable_p
377 # as_fn_append VAR VALUE
378 # ----------------------
379 # Append the text in VALUE to the end of the definition contained in VAR. Take
380 # advantage of any shell optimizations that allow amortized linear growth over
381 # repeated appends, instead of the typical quadratic growth present in naive
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
384 eval 'as_fn_append ()
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
408 as_val
=`expr "$@" || test $? -eq 1`
413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414 # ----------------------------------------
415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
417 # script with STATUS, using 1 if that was 0.
420 as_status
=$1; test $as_status -eq 0 && as_status
=1
422 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 $as_echo "$as_me: error: $2" >&2
426 as_fn_exit
$as_status
429 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
430 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
436 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
442 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
448 as_me
=`$as_basename -- "$0" ||
449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450 X"$0" : 'X\(//\)$' \| \
451 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 # Avoid depending upon Character Ranges.
468 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
469 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
470 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
471 as_cr_digits
='0123456789'
472 as_cr_alnum
=$as_cr_Letters$as_cr_digits
475 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
476 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
477 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
478 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
479 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495 chmod +x
"$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
498 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499 # already done that, so ensure we don't try to do so again and fall
500 # in an infinite loop. This has already happened in practice.
501 _as_can_reexec
=no
; export _as_can_reexec
502 # Don't try to exec as it changes $[0], causing all sort of problems
503 # (the dirname of $[0] is not the place where we might find the
504 # original and so on. Autoconf is especially sensitive to this).
506 # Exit status is that of the last command.
510 ECHO_C
= ECHO_N
= ECHO_T
=
511 case `echo -n x` in #(((((
513 case `echo 'xy\c'` in
514 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
516 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
523 rm -f conf$$ conf$$.exe conf$$.
file
524 if test -d conf$$.dir
; then
525 rm -f conf$$.dir
/conf$$.
file
528 mkdir conf$$.dir
2>/dev
/null
530 if (echo >conf$$.
file) 2>/dev
/null
; then
531 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
533 # ... but there are two gotchas:
534 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
535 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
536 # In both cases, we have to default to `cp -pR'.
537 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
539 elif ln conf$$.
file conf$$
2>/dev
/null
; then
547 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
548 rmdir conf$$.dir
2>/dev
/null
550 if mkdir -p .
2>/dev
/null
; then
551 as_mkdir_p
='mkdir -p "$as_dir"'
553 test -d .
/-p && rmdir .
/-p
558 as_executable_p
=as_fn_executable_p
560 # Sed expression to map a string onto a valid CPP name.
561 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563 # Sed expression to map a string onto a valid variable name.
564 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566 SHELL
=${CONFIG_SHELL-/bin/sh}
569 test -n "$DJDIR" || exec 7<&0 </dev
/null
573 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
574 # so uname gets run too.
575 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
580 ac_default_prefix
=/usr
/local
582 ac_config_libobj_dir
=.
589 # Identity of this package.
591 PACKAGE_TARNAME
='librb'
592 PACKAGE_VERSION
='devel'
593 PACKAGE_STRING
='librb devel'
597 ac_default_prefix
=/usr
/local
/librb
598 # Factoring default headers for most tests.
599 ac_includes_default
="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
688 MAINTAINER_MODE_FALSE
723 INSTALL_STRIP_PROGRAM
765 program_transform_name
778 enable_option_checking
780 enable_dependency_tracking
783 enable_maintainer_mode
798 ac_precious_vars
='build_alias
815 # Initialize some variables set by options.
817 ac_init_version
=false
818 ac_unrecognized_opts
=
820 # The variables have the same names as the options, with
821 # dashes changed to underlines.
829 program_transform_name
=s
,x
,x
,
837 # Installation directory options.
838 # These are left unexpanded so users can "make install exec_prefix=/foo"
839 # and all the variables that are supposed to be based on exec_prefix
840 # by default will actually change.
841 # Use braces instead of parens because sh, perl, etc. also accept them.
842 # (The list follows the same order as the GNU Coding Standards.)
843 bindir
='${exec_prefix}/bin'
844 sbindir
='${exec_prefix}/sbin'
845 libexecdir
='${exec_prefix}/libexec'
846 datarootdir
='${prefix}/share'
847 datadir
='${datarootdir}'
848 sysconfdir
='${prefix}/etc'
849 sharedstatedir
='${prefix}/com'
850 localstatedir
='${prefix}/var'
851 includedir
='${prefix}/include'
852 oldincludedir
='/usr/include'
853 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
854 infodir
='${datarootdir}/info'
859 libdir
='${exec_prefix}/lib'
860 localedir
='${datarootdir}/locale'
861 mandir
='${datarootdir}/man'
867 # If the previous option needs an argument, assign it.
868 if test -n "$ac_prev"; then
869 eval $ac_prev=\
$ac_option
875 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880 # Accept the important Cygnus configure options, so we can diagnose typos.
882 case $ac_dashdash$ac_option in
886 -bindir | --bindir | --bindi | --bind | --bin | --bi)
888 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
891 -build | --build | --buil | --bui | --bu)
892 ac_prev
=build_alias
;;
893 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
894 build_alias
=$ac_optarg ;;
896 -cache-file | --cache-file | --cache-fil | --cache-fi \
897 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
898 ac_prev
=cache_file
;;
899 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
900 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
901 cache_file
=$ac_optarg ;;
904 cache_file
=config.cache
;;
906 -datadir | --datadir | --datadi | --datad)
908 -datadir=* | --datadir=* | --datadi=* | --datad=*)
909 datadir
=$ac_optarg ;;
911 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
912 | --dataroo | --dataro | --datar)
913 ac_prev
=datarootdir
;;
914 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
915 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
916 datarootdir
=$ac_optarg ;;
918 -disable-* | --disable-*)
919 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
922 as_fn_error $?
"invalid feature name: $ac_useropt"
923 ac_useropt_orig
=$ac_useropt
924 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
929 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
930 ac_unrecognized_sep
=', ';;
932 eval enable_
$ac_useropt=no
;;
934 -docdir | --docdir | --docdi | --doc | --do)
936 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
939 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
941 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
944 -enable-* | --enable-*)
945 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
948 as_fn_error $?
"invalid feature name: $ac_useropt"
949 ac_useropt_orig
=$ac_useropt
950 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
956 ac_unrecognized_sep
=', ';;
958 eval enable_
$ac_useropt=\
$ac_optarg ;;
960 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
961 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
962 | --exec | --exe | --ex)
963 ac_prev
=exec_prefix
;;
964 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
965 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
966 | --exec=* | --exe=* | --ex=*)
967 exec_prefix
=$ac_optarg ;;
969 -gas | --gas | --ga | --g)
970 # Obsolete; use --with-gas.
973 -help | --help | --hel | --he | -h)
975 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
976 ac_init_help
=recursive
;;
977 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
978 ac_init_help
=short
;;
980 -host | --host | --hos | --ho)
981 ac_prev
=host_alias
;;
982 -host=* | --host=* | --hos=* | --ho=*)
983 host_alias
=$ac_optarg ;;
985 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
987 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
989 htmldir
=$ac_optarg ;;
991 -includedir | --includedir | --includedi | --included | --include \
992 | --includ | --inclu | --incl | --inc)
993 ac_prev
=includedir
;;
994 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
995 | --includ=* | --inclu=* | --incl=* | --inc=*)
996 includedir
=$ac_optarg ;;
998 -infodir | --infodir | --infodi | --infod | --info | --inf)
1000 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1001 infodir
=$ac_optarg ;;
1003 -libdir | --libdir | --libdi | --libd)
1005 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1006 libdir
=$ac_optarg ;;
1008 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1009 | --libexe | --libex | --libe)
1010 ac_prev
=libexecdir
;;
1011 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1012 | --libexe=* | --libex=* | --libe=*)
1013 libexecdir
=$ac_optarg ;;
1015 -localedir | --localedir | --localedi | --localed | --locale)
1016 ac_prev
=localedir
;;
1017 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1018 localedir
=$ac_optarg ;;
1020 -localstatedir | --localstatedir | --localstatedi | --localstated \
1021 | --localstate | --localstat | --localsta | --localst | --locals)
1022 ac_prev
=localstatedir
;;
1023 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1024 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1025 localstatedir
=$ac_optarg ;;
1027 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1029 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1030 mandir
=$ac_optarg ;;
1032 -nfp | --nfp | --nf)
1033 # Obsolete; use --without-fp.
1036 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1037 | --no-cr | --no-c | -n)
1040 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1041 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1044 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1045 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1046 | --oldin | --oldi | --old | --ol | --o)
1047 ac_prev
=oldincludedir
;;
1048 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1049 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1050 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1051 oldincludedir
=$ac_optarg ;;
1053 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1055 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1056 prefix
=$ac_optarg ;;
1058 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1059 | --program-pre | --program-pr | --program-p)
1060 ac_prev
=program_prefix
;;
1061 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1062 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1063 program_prefix
=$ac_optarg ;;
1065 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1066 | --program-suf | --program-su | --program-s)
1067 ac_prev
=program_suffix
;;
1068 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1069 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1070 program_suffix
=$ac_optarg ;;
1072 -program-transform-name | --program-transform-name \
1073 | --program-transform-nam | --program-transform-na \
1074 | --program-transform-n | --program-transform- \
1075 | --program-transform | --program-transfor \
1076 | --program-transfo | --program-transf \
1077 | --program-trans | --program-tran \
1078 | --progr-tra | --program-tr | --program-t)
1079 ac_prev
=program_transform_name
;;
1080 -program-transform-name=* | --program-transform-name=* \
1081 | --program-transform-nam=* | --program-transform-na=* \
1082 | --program-transform-n=* | --program-transform-=* \
1083 | --program-transform=* | --program-transfor=* \
1084 | --program-transfo=* | --program-transf=* \
1085 | --program-trans=* | --program-tran=* \
1086 | --progr-tra=* | --program-tr=* | --program-t=*)
1087 program_transform_name
=$ac_optarg ;;
1089 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1091 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1092 pdfdir
=$ac_optarg ;;
1094 -psdir | --psdir | --psdi | --psd | --ps)
1096 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1103 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1105 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1107 sbindir
=$ac_optarg ;;
1109 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1110 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1111 | --sharedst | --shareds | --shared | --share | --shar \
1113 ac_prev
=sharedstatedir
;;
1114 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1115 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1116 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1118 sharedstatedir
=$ac_optarg ;;
1120 -site | --site | --sit)
1122 -site=* | --site=* | --sit=*)
1125 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1127 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1128 srcdir
=$ac_optarg ;;
1130 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1131 | --syscon | --sysco | --sysc | --sys | --sy)
1132 ac_prev
=sysconfdir
;;
1133 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1134 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1135 sysconfdir
=$ac_optarg ;;
1137 -target | --target | --targe | --targ | --tar | --ta | --t)
1138 ac_prev
=target_alias
;;
1139 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1140 target_alias
=$ac_optarg ;;
1142 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1145 -version | --version | --versio | --versi | --vers | -V)
1146 ac_init_version
=: ;;
1149 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1152 as_fn_error $?
"invalid package name: $ac_useropt"
1153 ac_useropt_orig
=$ac_useropt
1154 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1155 case $ac_user_opts in
1159 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1160 ac_unrecognized_sep
=', ';;
1162 eval with_
$ac_useropt=\
$ac_optarg ;;
1164 -without-* | --without-*)
1165 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1168 as_fn_error $?
"invalid package name: $ac_useropt"
1169 ac_useropt_orig
=$ac_useropt
1170 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1175 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1176 ac_unrecognized_sep
=', ';;
1178 eval with_
$ac_useropt=no
;;
1181 # Obsolete; use --with-x.
1184 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1185 | --x-incl | --x-inc | --x-in | --x-i)
1186 ac_prev
=x_includes
;;
1187 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1188 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1189 x_includes
=$ac_optarg ;;
1191 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1192 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1193 ac_prev
=x_libraries
;;
1194 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1195 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1196 x_libraries
=$ac_optarg ;;
1198 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1199 Try \`$0 --help' for more information"
1203 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1204 # Reject names that are not valid shell variable names.
1205 case $ac_envvar in #(
1206 '' | [0-9]* | *[!_$as_cr_alnum]* )
1207 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1209 eval $ac_envvar=\
$ac_optarg
1210 export $ac_envvar ;;
1213 # FIXME: should be removed in autoconf 3.0.
1214 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1215 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1216 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1217 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1223 if test -n "$ac_prev"; then
1224 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1225 as_fn_error $?
"missing argument to $ac_option"
1228 if test -n "$ac_unrecognized_opts"; then
1229 case $enable_option_checking in
1231 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1232 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1236 # Check all directory arguments for consistency.
1237 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1238 datadir sysconfdir sharedstatedir localstatedir includedir \
1239 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1240 libdir localedir mandir
1242 eval ac_val
=\$
$ac_var
1243 # Remove trailing slashes.
1246 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1247 eval $ac_var=\
$ac_val;;
1249 # Be sure to have absolute directory names.
1251 [\\/$
]* | ?
:[\\/]* ) continue;;
1252 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1254 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1257 # There might be people who depend on the old broken behavior: `$host'
1258 # used to hold the argument of --host etc.
1259 # FIXME: To remove some day.
1262 target
=$target_alias
1264 # FIXME: To remove some day.
1265 if test "x$host_alias" != x
; then
1266 if test "x$build_alias" = x
; then
1267 cross_compiling
=maybe
1268 elif test "x$build_alias" != "x$host_alias"; then
1274 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1276 test "$silent" = yes && exec 6>/dev
/null
1279 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1280 ac_ls_di
=`ls -di .` &&
1281 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1282 as_fn_error $?
"working directory cannot be determined"
1283 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1284 as_fn_error $?
"pwd does not report name of working directory"
1287 # Find the source files, if location was not specified.
1288 if test -z "$srcdir"; then
1289 ac_srcdir_defaulted
=yes
1290 # Try the directory containing this script, then the parent directory.
1291 ac_confdir
=`$as_dirname -- "$as_myself" ||
1292 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1293 X"$as_myself" : 'X\(//\)[^/]' \| \
1294 X"$as_myself" : 'X\(//\)$' \| \
1295 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1296 $as_echo X"$as_myself" |
1297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1319 ac_srcdir_defaulted
=no
1321 if test ! -r "$srcdir/$ac_unique_file"; then
1322 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1323 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1325 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1327 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1329 # When building in place, set srcdir=.
1330 if test "$ac_abs_confdir" = "$ac_pwd"; then
1333 # Remove unnecessary trailing slashes from srcdir.
1334 # Double slashes in file names in object file debugging info
1335 # mess up M-x gdb in Emacs.
1337 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1339 for ac_var
in $ac_precious_vars; do
1340 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1341 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1342 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1343 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1347 # Report the --help message.
1349 if test "$ac_init_help" = "long"; then
1350 # Omit some internal or obsolete options to make the list less imposing.
1351 # This message is too long to be a string in the A/UX 3.1 sh.
1353 \`configure' configures librb devel to adapt to many kinds of systems.
1355 Usage: $0 [OPTION]... [VAR=VALUE]...
1357 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1358 VAR=VALUE. See below for descriptions of some of the useful variables.
1360 Defaults for the options are specified in brackets.
1363 -h, --help display this help and exit
1364 --help=short display options specific to this package
1365 --help=recursive display the short help of all the included packages
1366 -V, --version display version information and exit
1367 -q, --quiet, --silent do not print \`checking ...' messages
1368 --cache-file=FILE cache test results in FILE [disabled]
1369 -C, --config-cache alias for \`--cache-file=config.cache'
1370 -n, --no-create do not create output files
1371 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1373 Installation directories:
1374 --prefix=PREFIX install architecture-independent files in PREFIX
1375 [$ac_default_prefix]
1376 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1379 By default, \`make install' will install all the files in
1380 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1381 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1382 for instance \`--prefix=\$HOME'.
1384 For better control, use the options below.
1386 Fine tuning of the installation directories:
1387 --bindir=DIR user executables [EPREFIX/bin]
1388 --sbindir=DIR system admin executables [EPREFIX/sbin]
1389 --libexecdir=DIR program executables [EPREFIX/libexec]
1390 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1391 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1392 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1393 --libdir=DIR object code libraries [EPREFIX/lib]
1394 --includedir=DIR C header files [PREFIX/include]
1395 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1396 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1397 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1398 --infodir=DIR info documentation [DATAROOTDIR/info]
1399 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1400 --mandir=DIR man documentation [DATAROOTDIR/man]
1401 --docdir=DIR documentation root [DATAROOTDIR/doc/librb]
1402 --htmldir=DIR html documentation [DOCDIR]
1403 --dvidir=DIR dvi documentation [DOCDIR]
1404 --pdfdir=DIR pdf documentation [DOCDIR]
1405 --psdir=DIR ps documentation [DOCDIR]
1411 --program-prefix=PREFIX prepend PREFIX to installed program names
1412 --program-suffix=SUFFIX append SUFFIX to installed program names
1413 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1416 --build=BUILD configure
for building on BUILD
[guessed
]
1417 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1421 if test -n "$ac_init_help"; then
1422 case $ac_init_help in
1423 short
| recursive
) echo "Configuration of librb devel:";;
1428 --disable-option-checking ignore unrecognized
--enable/--with options
1429 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1430 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1431 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1432 --disable-silent-rules verbose build output
(undo
: "make V=0")
1433 --enable-dependency-tracking
1434 do not reject slow dependency extractors
1435 --disable-dependency-tracking
1436 speeds up one
-time build
1437 --enable-static[=PKGS
] build static libraries
[default
=no
]
1438 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1439 --enable-maintainer-mode
1440 enable make rules and dependencies not useful
(and
1441 sometimes confusing
) to the casual installer
1442 --enable-fast-install[=PKGS
]
1443 optimize
for fast installation
[default
=yes]
1444 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1445 --disable-ipv6 Disable IPv6 support
1446 --enable-openssl=DIR Enable OpenSSL support
(DIR optional
).
1447 --disable-openssl Disable OpenSSL support.
1448 --enable-mbedtls Enable mbedTLS support.
1449 --disable-mbedtls Disable mbedTLS support.
1450 --enable-gnutls Enable GnuTLS support.
1451 --disable-gnutls Disable GnuTLS support.
1452 --enable-assert Enable assert
(). Choose between soft
(warnings
) and
1453 hard
(aborts the daemon
)
1454 --enable-profile Enable profiling
1455 --enable-warnings Enable all sorts of warnings
for debugging.
1458 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1459 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1460 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1462 --with-aix-soname=aix
|svr4
|both
1463 shared library versioning
(aka
"SONAME") variant to
1464 provide on AIX
, [default
=aix
].
1465 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1466 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1467 compiler
's sysroot if not specified).
1469 Some influential environment variables:
1470 CC C compiler command
1471 CFLAGS C compiler flags
1472 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1473 nonstandard directory <lib dir>
1474 LIBS libraries to pass to the linker, e.g. -l<library>
1475 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1476 you have headers in a nonstandard directory <include dir>
1479 User-defined run-time library search path.
1480 PKG_CONFIG path to pkg-config utility
1482 directories to add to pkg-config's search path
1484 path overriding pkg
-config's built-in search path
1486 C compiler flags for GNUTLS, overriding pkg-config
1487 GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config
1489 Use these variables to override the choices made by `configure' or to
help
1490 it to
find libraries and programs with nonstandard names
/locations.
1492 Report bugs to the package provider.
1497 if test "$ac_init_help" = "recursive"; then
1498 # If there are subdirs, report their specific --help.
1499 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1500 test -d "$ac_dir" ||
1501 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1506 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1508 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1509 # A ".." for each directory in $ac_dir_suffix.
1510 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1511 case $ac_top_builddir_sub in
1512 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1513 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1516 ac_abs_top_builddir
=$ac_pwd
1517 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1518 # for backward compatibility:
1519 ac_top_builddir
=$ac_top_build_prefix
1522 .
) # We are building in place.
1524 ac_top_srcdir
=$ac_top_builddir_sub
1525 ac_abs_top_srcdir
=$ac_pwd ;;
1526 [\\/]* | ?
:[\\/]* ) # Absolute name.
1527 ac_srcdir
=$srcdir$ac_dir_suffix;
1528 ac_top_srcdir
=$srcdir
1529 ac_abs_top_srcdir
=$srcdir ;;
1531 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1532 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1533 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1535 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1537 cd "$ac_dir" || { ac_status
=$?
; continue; }
1538 # Check for guested configure.
1539 if test -f "$ac_srcdir/configure.gnu"; then
1541 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1542 elif test -f "$ac_srcdir/configure"; then
1544 $SHELL "$ac_srcdir/configure" --help=recursive
1546 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1548 cd "$ac_pwd" || { ac_status
=$?
; break; }
1552 test -n "$ac_init_help" && exit $ac_status
1553 if $ac_init_version; then
1555 librb configure devel
1556 generated by GNU Autoconf
2.69
1558 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1559 This configure
script is free software
; the Free Software Foundation
1560 gives unlimited permission to copy
, distribute and modify it.
1562 $Id: configure.ac
26260 2008-12-10 04:08:39Z androsyn $
1567 ## ------------------------ ##
1568 ## Autoconf initialization. ##
1569 ## ------------------------ ##
1571 # ac_fn_c_try_compile LINENO
1572 # --------------------------
1573 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1574 ac_fn_c_try_compile
()
1576 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1577 rm -f conftest.
$ac_objext
1578 if { { ac_try
="$ac_compile"
1580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1581 *) ac_try_echo=$ac_try;;
1583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584 $as_echo "$ac_try_echo"; } >&5
1585 (eval "$ac_compile") 2>conftest.err
1587 if test -s conftest.err; then
1588 grep -v '^ *+' conftest.err >conftest.er1
1589 cat conftest.er1 >&5
1590 mv -f conftest.er1 conftest.err
1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593 test $ac_status = 0; } && {
1594 test -z "$ac_c_werror_flag" ||
1595 test ! -s conftest.err
1596 } && test -s conftest.$ac_objext; then :
1599 $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.$ac_ext >&5
1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 as_fn_set_status $ac_retval
1607 } # ac_fn_c_try_compile
1609 # ac_fn_c_try_cpp LINENO
1610 # ----------------------
1611 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 if { { ac_try="$ac_cpp conftest.$ac_ext"
1617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1618 *) ac_try_echo
=$ac_try;;
1620 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1624 if test -s conftest.err
; then
1625 grep -v '^ *+' conftest.err
>conftest.er1
1626 cat conftest.er1
>&5
1627 mv -f conftest.er1 conftest.err
1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630 test $ac_status = 0; } > conftest.i
&& {
1631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1632 test ! -s conftest.err
1636 $as_echo "$as_me: failed program was:" >&5
1637 sed 's/^/| /' conftest.
$ac_ext >&5
1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1642 as_fn_set_status
$ac_retval
1646 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1647 # -------------------------------------------------------
1648 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1649 # the include files in INCLUDES and setting the cache variable VAR
1651 ac_fn_c_check_header_mongrel
()
1653 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1654 if eval \
${$3+:} false
; then :
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656 $as_echo_n "checking for $2... " >&6; }
1657 if eval \
${$3+:} false
; then :
1658 $as_echo_n "(cached) " >&6
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1662 $as_echo "$ac_res" >&6; }
1664 # Is the header compilable?
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1666 $as_echo_n "checking $2 usability... " >&6; }
1667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1668 /* end confdefs.h. */
1672 if ac_fn_c_try_compile
"$LINENO"; then :
1673 ac_header_compiler
=yes
1675 ac_header_compiler
=no
1677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1679 $as_echo "$ac_header_compiler" >&6; }
1681 # Is the header present?
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1683 $as_echo_n "checking $2 presence... " >&6; }
1684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1688 if ac_fn_c_try_cpp
"$LINENO"; then :
1689 ac_header_preproc
=yes
1691 ac_header_preproc
=no
1693 rm -f conftest.err conftest.i conftest.
$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1695 $as_echo "$ac_header_preproc" >&6; }
1697 # So? What about this header?
1698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1701 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1703 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1707 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1709 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1711 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1713 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1715 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1719 $as_echo_n "checking for $2... " >&6; }
1720 if eval \
${$3+:} false
; then :
1721 $as_echo_n "(cached) " >&6
1723 eval "$3=\$ac_header_compiler"
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727 $as_echo "$ac_res" >&6; }
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 } # ac_fn_c_check_header_mongrel
1733 # ac_fn_c_try_run LINENO
1734 # ----------------------
1735 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1736 # that executables *can* be run.
1739 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1740 if { { ac_try
="$ac_link"
1742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1743 *) ac_try_echo=$ac_try;;
1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_link") 2>&5
1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1751 { { case "(($ac_try" in
1752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1753 *) ac_try_echo
=$ac_try;;
1755 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_try") 2>&5
1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 test $ac_status = 0; }; }; then :
1763 $as_echo "$as_me: program exited with status $ac_status" >&5
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.
$ac_ext >&5
1767 ac_retval
=$ac_status
1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status
$ac_retval
1775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1776 # -------------------------------------------------------
1777 # Tests whether HEADER exists and can be compiled using the include files in
1778 # INCLUDES, setting the cache variable VAR accordingly.
1779 ac_fn_c_check_header_compile
()
1781 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval \
${$3+:} false
; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1792 if ac_fn_c_try_compile
"$LINENO"; then :
1797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 } # ac_fn_c_check_header_compile
1806 # ac_fn_c_try_link LINENO
1807 # -----------------------
1808 # Try to link conftest.$ac_ext, and return whether this succeeded.
1811 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1812 rm -f conftest.
$ac_objext conftest
$ac_exeext
1813 if { { ac_try
="$ac_link"
1815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_link") 2>conftest.err
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } && {
1829 test -z "$ac_c_werror_flag" ||
1830 test ! -s conftest.err
1831 } && test -s conftest$ac_exeext && {
1832 test "$cross_compiling" = yes ||
1833 test -x conftest$ac_exeext
1837 $as_echo "$as_me: failed program was:" >&5
1838 sed 's/^/| /' conftest.$ac_ext >&5
1842 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1843 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1844 # interfere with the next link command; also delete a directory that is
1845 # left behind by Apple's compiler. We do this before executing the actions.
1846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 as_fn_set_status $ac_retval
1850 } # ac_fn_c_try_link
1852 # ac_fn_c_check_func LINENO FUNC VAR
1853 # ----------------------------------
1854 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1855 ac_fn_c_check_func ()
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859 $as_echo_n "checking for $2... " >&6; }
1860 if eval \${$3+:} false; then :
1861 $as_echo_n "(cached) " >&6
1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1865 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1867 #define $2 innocuous_$2
1869 /* System header to define __stub macros and hopefully few prototypes,
1870 which can conflict with char $2 (); below.
1871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1872 <limits.h> exists even on freestanding compilers. */
1875 # include <limits.h>
1877 # include <assert.h>
1882 /* Override any GCC internal prototype to avoid an error.
1883 Use char because int might match the return type of a GCC
1884 builtin and then its argument prototype would still apply. */
1889 /* The GNU C library defines this for functions which it implements
1890 to always fail with ENOSYS. Some functions are actually named
1891 something starting with __ and the normal name is an alias. */
1892 #if defined __stub_$2 || defined __stub___$2
1904 if ac_fn_c_try_link "$LINENO"; then :
1909 rm -f core conftest.err conftest.$ac_objext \
1910 conftest$ac_exeext conftest.$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 } # ac_fn_c_check_func
1919 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1920 # -------------------------------------------
1921 # Tests whether TYPE exists after having included INCLUDES, setting cache
1922 # variable VAR accordingly.
1923 ac_fn_c_check_type ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927 $as_echo_n "checking for $2... " >&6; }
1928 if eval \${$3+:} false; then :
1929 $as_echo_n "(cached) " >&6
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1944 if ac_fn_c_try_compile "$LINENO"; then :
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1957 if ac_fn_c_try_compile "$LINENO"; then :
1962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968 $as_echo "$ac_res" >&6; }
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971 } # ac_fn_c_check_type
1973 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1974 # ----------------------------------------------------
1975 # Tries to find if the field MEMBER exists in type AGGR, after including
1976 # INCLUDES, setting cache variable VAR accordingly.
1977 ac_fn_c_check_member ()
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1981 $as_echo_n "checking for $2.$3... " >&6; }
1982 if eval \${$4+:} false; then :
1983 $as_echo_n "(cached) " >&6
1985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1998 if ac_fn_c_try_compile "$LINENO"; then :
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2008 if (sizeof ac_aggr.$3)
2014 if ac_fn_c_try_compile "$LINENO"; then :
2019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2025 $as_echo "$ac_res" >&6; }
2026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028 } # ac_fn_c_check_member
2029 cat >config.log <<_ACEOF
2030 This file contains any messages produced by compilers while
2031 running configure, to aid debugging if configure makes a mistake.
2033 It was created by librb $as_me devel, which was
2034 generated by GNU Autoconf 2.69. Invocation command line was
2046 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2047 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2048 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2049 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2050 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2052 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2053 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2055 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2056 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2057 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2058 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2059 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2060 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2061 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 test -z "$as_dir" && as_dir=.
2070 $as_echo "PATH: $as_dir"
2086 # Keep a trace of the command line.
2087 # Strip out --no-create and --no-recursion so they do not pile up.
2088 # Strip out --silent because we don't want to record it for future runs.
2089 # Also quote any args containing shell meta-characters.
2090 # Make two passes to allow for proper duplicate-argument suppression.
2094 ac_must_keep_next=false
2100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2102 | -silent | --silent | --silen | --sile | --sil)
2105 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2108 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2110 as_fn_append ac_configure_args1 " '$ac_arg'"
2111 if test $ac_must_keep_next = true; then
2112 ac_must_keep_next=false # Got value, back to normal.
2115 *=* | --config-cache | -C | -disable-* | --disable-* \
2116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2118 | -with-* | --with-* | -without-* | --without-* | --x)
2119 case "$ac_configure_args0 " in
2120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2123 -* ) ac_must_keep_next=true ;;
2126 as_fn_append ac_configure_args " '$ac_arg'"
2131 { ac_configure_args0=; unset ac_configure_args0;}
2132 { ac_configure_args1=; unset ac_configure_args1;}
2134 # When interrupted or exit'd, cleanup temporary files, and complete
2135 # config.log. We remove comments because anyway the quotes in there
2136 # would cause problems or look ugly.
2137 # WARNING: Use '\'' to represent an apostrophe within the trap.
2138 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2139 trap 'exit_status=$?
2140 # Save into config.log some information that might help in debugging.
2144 $as_echo "## ---------------- ##
2145 ## Cache variables. ##
2146 ## ---------------- ##"
2148 # The following way of writing the cache mishandles newlines in values,
2150 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2151 eval ac_val=\$$ac_var
2155 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2156 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2159 _ | IFS | as_nl) ;; #(
2160 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2161 *) { eval $ac_var=; unset $ac_var;} ;;
2166 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2167 *${as_nl}ac_space=\ *)
2169 "s/'\''/'\''\\\\'\'''\''/g;
2170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2180 $as_echo "## ----------------- ##
2181 ## Output variables. ##
2182 ## ----------------- ##"
2184 for ac_var in $ac_subst_vars
2186 eval ac_val=\$$ac_var
2188 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2190 $as_echo "$ac_var='\''$ac_val'\''"
2194 if test -n "$ac_subst_files"; then
2195 $as_echo "## ------------------- ##
2196 ## File substitutions. ##
2197 ## ------------------- ##"
2199 for ac_var in $ac_subst_files
2201 eval ac_val=\$$ac_var
2203 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2205 $as_echo "$ac_var='\''$ac_val'\''"
2210 if test -s confdefs.h; then
2211 $as_echo "## ----------- ##
2218 test "$ac_signal" != 0 &&
2219 $as_echo "$as_me: caught signal $ac_signal"
2220 $as_echo "$as_me: exit $exit_status"
2222 rm -f core *.core core.conftest.* &&
2223 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2226 for ac_signal in 1 2 13 15; do
2227 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2231 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2232 rm -f -r conftest* confdefs.h
2234 $as_echo "/* confdefs.h */" > confdefs.h
2236 # Predefined preprocessor variables.
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_NAME "$PACKAGE_NAME"
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2246 cat >>confdefs.h <<_ACEOF
2247 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_STRING "$PACKAGE_STRING"
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_URL "$PACKAGE_URL"
2263 # Let the site file select an alternate cache file if it wants to.
2264 # Prefer an explicitly selected file to automatically selected ones.
2267 if test -n "$CONFIG_SITE"; then
2268 # We do not want a PATH search for config.site.
2269 case $CONFIG_SITE in #((
2270 -*) ac_site_file1=./$CONFIG_SITE;;
2271 */*) ac_site_file1=$CONFIG_SITE;;
2272 *) ac_site_file1=./$CONFIG_SITE;;
2274 elif test "x$prefix" != xNONE; then
2275 ac_site_file1=$prefix/share/config.site
2276 ac_site_file2=$prefix/etc/config.site
2278 ac_site_file1=$ac_default_prefix/share/config.site
2279 ac_site_file2=$ac_default_prefix/etc/config.site
2281 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2283 test "x$ac_site_file" = xNONE && continue
2284 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2286 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2287 sed 's/^/| /' "$ac_site_file" >&5
2289 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2291 as_fn_error $? "failed to load site
script $ac_site_file
2292 See \
`config.log' for more details" "$LINENO" 5; }
2296 if test -r "$cache_file"; then
2297 # Some versions of bash will fail to source /dev/null (special files
2298 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2299 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2301 $as_echo "$as_me: loading cache $cache_file" >&6;}
2303 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2304 *) . "./$cache_file";;
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2309 $as_echo "$as_me: creating cache $cache_file" >&6;}
2313 as_fn_append ac_header_list " stdlib.h"
2314 as_fn_append ac_header_list " unistd.h"
2315 as_fn_append ac_header_list " sys/param.h"
2316 # Check that the precious variables saved in the cache have kept the same
2318 ac_cache_corrupted=false
2319 for ac_var in $ac_precious_vars; do
2320 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2321 eval ac_new_set=\$ac_env_${ac_var}_set
2322 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2323 eval ac_new_val=\$ac_env_${ac_var}_value
2324 case $ac_old_set,$ac_new_set in
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2327 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2328 ac_cache_corrupted=: ;;
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2331 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2332 ac_cache_corrupted=: ;;
2335 if test "x$ac_old_val" != "x$ac_new_val"; then
2336 # differences in whitespace do not lead to failure.
2337 ac_old_val_w=`echo x
$ac_old_val`
2338 ac_new_val_w=`echo x
$ac_new_val`
2339 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2341 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2342 ac_cache_corrupted=:
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2345 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2346 eval $ac_var=\$ac_old_val
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2349 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2351 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2354 # Pass precious variables to config.status.
2355 if test "$ac_new_set" = set; then
2357 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2358 *) ac_arg=$ac_var=$ac_new_val ;;
2360 case " $ac_configure_args " in
2361 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2362 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2366 if $ac_cache_corrupted; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2370 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2371 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2373 ## -------------------- ##
2374 ## Main body of script. ##
2375 ## -------------------- ##
2378 ac_cpp='$CPP $CPPFLAGS'
2379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2384 am__api_version='1.15'
2387 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2388 if test -f "$ac_dir/install-sh"; then
2390 ac_install_sh="$ac_aux_dir/install-sh -c"
2392 elif test -f "$ac_dir/install.sh"; then
2394 ac_install_sh="$ac_aux_dir/install.sh -c"
2396 elif test -f "$ac_dir/shtool"; then
2398 ac_install_sh="$ac_aux_dir/shtool install -c"
2402 if test -z "$ac_aux_dir"; then
2403 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2406 # These three variables are undocumented and unsupported,
2407 # and are intended to be withdrawn in a future Autoconf release.
2408 # They can cause serious problems if a builder's source tree is in a directory
2409 # whose full name contains unusual characters.
2410 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2411 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2412 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2415 # Find a good install program. We prefer a C program (faster),
2416 # so one script is as good as another. But avoid the broken or
2417 # incompatible versions:
2418 # SysV /etc/install, /usr/sbin/install
2419 # SunOS /usr/etc/install
2420 # IRIX /sbin/install
2422 # AmigaOS /C/install, which installs bootblocks on floppy discs
2423 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2424 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2425 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2426 # OS/2's system install, which has a completely different semantic
2427 # ./install, which can be erroneously created by make from ./install.sh.
2428 # Reject install programs that cannot install multiple files.
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2430 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2431 if test -z "$INSTALL"; then
2432 if ${ac_cv_path_install+:} false; then :
2433 $as_echo_n "(cached) " >&6
2435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2439 test -z "$as_dir" && as_dir=.
2440 # Account for people who put trailing slashes in PATH elements.
2441 case $as_dir/ in #((
2442 ./ | .// | /[cC]/* | \
2443 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2444 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2447 # OSF1 and SCO ODT 3.0 have their own names for install.
2448 # Don't use installbsd from OSF since it installs stuff as root
2450 for ac_prog in ginstall scoinst install; do
2451 for ac_exec_ext in '' $ac_executable_extensions; do
2452 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2453 if test $ac_prog = install &&
2454 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2455 # AIX install. It has an incompatible calling convention.
2457 elif test $ac_prog = install &&
2458 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2459 # program-specific install script used by HP pwplus--don't use.
2462 rm -rf conftest.one conftest.two conftest.dir
2463 echo one > conftest.one
2464 echo two > conftest.two
2466 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2467 test -s conftest.one && test -s conftest.two &&
2468 test -s conftest.dir/conftest.one &&
2469 test -s conftest.dir/conftest.two
2471 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2484 rm -rf conftest.one conftest.two conftest.dir
2487 if test "${ac_cv_path_install+set}" = set; then
2488 INSTALL=$ac_cv_path_install
2490 # As a last resort, use the slow shell script. Don't cache a
2491 # value for INSTALL within a source directory, because that will
2492 # break other packages using the cache if that directory is
2493 # removed, or if the value is a relative name.
2494 INSTALL=$ac_install_sh
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2498 $as_echo "$INSTALL" >&6; }
2500 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2501 # It thinks the first close brace ends the variable substitution.
2502 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2504 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2506 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2509 $as_echo_n "checking whether build environment is sane... " >&6; }
2510 # Reject unsafe characters in $srcdir or the absolute working directory
2511 # name. Accept space and tab only in the latter.
2515 *[\\\"\#\$\&\'\`$am_lf]*)
2516 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2519 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2520 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2523 # Do 'set' in a subshell so we don't clobber the current shell's
2524 # arguments. Must try -L first in case configure is actually a
2525 # symlink; some systems play weird games with the mod time of symlinks
2526 # (eg FreeBSD returns the mod time of the symlink's containing
2530 for am_try in 1 2; do
2531 echo "timestamp, slept: $am_has_slept" > conftest.file
2532 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2533 if test "$*" = "X"; then
2535 set X `ls -t "$srcdir/configure" conftest.
file`
2537 if test "$*" != "X $srcdir/configure conftest.file" \
2538 && test "$*" != "X conftest.file $srcdir/configure"; then
2540 # If neither matched, then we have a broken ls. This can happen
2541 # if, for instance, CONFIG_SHELL is bash and it inherits a
2542 # broken ls alias from the environment. This has actually
2543 # happened. Such a system could not be considered "sane".
2544 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2545 alias in your environment" "$LINENO" 5
2547 if test "$2" = conftest.file || test $am_try -eq 2; then
2554 test "$2" = conftest.file
2560 as_fn_error $? "newly created file is older than distributed files!
2561 Check your system clock" "$LINENO" 5
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2564 $as_echo "yes" >&6; }
2565 # If we didn't sleep, we still need to ensure time stamps of config.status and
2566 # generated files are strictly newer.
2568 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2575 test "$program_prefix" != NONE &&
2576 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2577 # Use a double $ so make ignores it.
2578 test "$program_suffix" != NONE &&
2579 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2580 # Double any \ or $.
2581 # By default was `s
,x
,x
', remove it if useless.
2582 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2583 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2585 # Expand $ac_aux_dir to an absolute path.
2586 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2588 if test x"${MISSING+set}" != xset; then
2591 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2593 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2596 # Use eval to expand $SHELL
2597 if eval "$MISSING --is-lightweight"; then
2598 am_missing_run="$MISSING "
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2602 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2605 if test x"${install_sh+set}" != xset; then
2608 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2610 install_sh="\${SHELL} $am_aux_dir/install-sh"
2614 # Installed binaries are usually stripped using 'strip
' when the user
2615 # run "make install-strip". However 'strip
' might not be the right
2616 # tool to use in cross-compilation environments, therefore Automake
2617 # will honor the 'STRIP
' environment variable to overrule this program.
2618 if test "$cross_compiling" != no; then
2619 if test -n "$ac_tool_prefix"; then
2620 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2621 set dummy ${ac_tool_prefix}strip; ac_word=$2
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623 $as_echo_n "checking for $ac_word... " >&6; }
2624 if ${ac_cv_prog_STRIP+:} false; then :
2625 $as_echo_n "(cached) " >&6
2627 if test -n "$STRIP"; then
2628 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2637 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 STRIP=$ac_cv_prog_STRIP
2648 if test -n "$STRIP"; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2650 $as_echo "$STRIP" >&6; }
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2653 $as_echo "no" >&6; }
2658 if test -z "$ac_cv_prog_STRIP"; then
2660 # Extract the first word of "strip", so it can be a program name with args.
2661 set dummy strip; ac_word=$2
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$ac_ct_STRIP"; then
2668 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir=.
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2677 ac_cv_prog_ac_ct_STRIP="strip"
2678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2688 if test -n "$ac_ct_STRIP"; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2690 $as_echo "$ac_ct_STRIP" >&6; }
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693 $as_echo "no" >&6; }
2696 if test "x$ac_ct_STRIP" = x; then
2699 case $cross_compiling:$ac_tool_warned in
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2703 ac_tool_warned=yes ;;
2708 STRIP="$ac_cv_prog_STRIP"
2712 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2715 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2716 if test -z "$MKDIR_P"; then
2717 if ${ac_cv_path_mkdir+:} false; then :
2718 $as_echo_n "(cached) " >&6
2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2721 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2724 test -z "$as_dir" && as_dir=.
2725 for ac_prog in mkdir gmkdir; do
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2728 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2729 'mkdir (GNU coreutils
) '* | \
2730 'mkdir (coreutils
) '* | \
2731 'mkdir (fileutils
) '4.1*)
2732 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2742 test -d ./--version && rmdir ./--version
2743 if test "${ac_cv_path_mkdir+set}" = set; then
2744 MKDIR_P="$ac_cv_path_mkdir -p"
2746 # As a last resort, use the slow shell script. Don't cache a
2747 # value for MKDIR_P within a source directory, because that will
2748 # break other packages using the cache if that directory is
2749 # removed, or if the value is a relative name.
2750 MKDIR_P
="$ac_install_sh -d"
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2754 $as_echo "$MKDIR_P" >&6; }
2756 for ac_prog
in gawk mawk nawk
awk
2758 # Extract the first word of "$ac_prog", so it can be a program name with args.
2759 set dummy
$ac_prog; ac_word
=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if ${ac_cv_prog_AWK+:} false
; then :
2763 $as_echo_n "(cached) " >&6
2765 if test -n "$AWK"; then
2766 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir
=.
2773 for ac_exec_ext
in '' $ac_executable_extensions; do
2774 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2775 ac_cv_prog_AWK
="$ac_prog"
2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 if test -n "$AWK"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2788 $as_echo "$AWK" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2795 test -n "$AWK" && break
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2799 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2801 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2802 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2803 $as_echo_n "(cached) " >&6
2805 cat >conftest.
make <<\_ACEOF
2808 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2810 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2811 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2813 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2815 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2819 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2821 $as_echo "yes" >&6; }
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 $as_echo "no" >&6; }
2826 SET_MAKE
="MAKE=${MAKE-make}"
2829 rm -rf .tst
2>/dev
/null
2830 mkdir .tst
2>/dev
/null
2831 if test -d .tst
; then
2836 rmdir .tst
2>/dev
/null
2838 # Check whether --enable-silent-rules was given.
2839 if test "${enable_silent_rules+set}" = set; then :
2840 enableval
=$enable_silent_rules;
2843 case $enable_silent_rules in # (((
2844 yes) AM_DEFAULT_VERBOSITY
=0;;
2845 no
) AM_DEFAULT_VERBOSITY
=1;;
2846 *) AM_DEFAULT_VERBOSITY
=1;;
2848 am_make
=${MAKE-make}
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2850 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2851 if ${am_cv_make_support_nested_variables+:} false
; then :
2852 $as_echo_n "(cached) " >&6
2854 if $as_echo 'TRUE=$(BAR$(V))
2860 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
2861 am_cv_make_support_nested_variables
=yes
2863 am_cv_make_support_nested_variables
=no
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2867 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2868 if test $am_cv_make_support_nested_variables = yes; then
2870 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2872 AM_V
=$AM_DEFAULT_VERBOSITY
2873 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2877 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2878 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2879 # is not polluted with repeated "-I."
2880 am__isrc
=' -I$(srcdir)'
2881 # test to see if srcdir already configured
2882 if test -f $srcdir/config.status
; then
2883 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2887 # test whether we have cygpath
2888 if test -z "$CYGPATH_W"; then
2889 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2890 CYGPATH_W
='cygpath -w'
2897 # Define the identity of the package.
2902 cat >>confdefs.h
<<_ACEOF
2903 #define PACKAGE "$PACKAGE"
2907 cat >>confdefs.h
<<_ACEOF
2908 #define VERSION "$VERSION"
2911 # Some tools Automake needs.
2913 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2916 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2919 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2922 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2925 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2927 # For better backward compatibility. To be removed once Automake 1.9.x
2928 # dies out for good. For more background, see:
2929 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2930 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2931 mkdir_p
='$(MKDIR_P)'
2933 # We need awk for the "check" target (and possibly the TAP driver). The
2934 # system "awk" is bad on some platforms.
2935 # Always define AMTAR for backward compatibility. Yes, it's still used
2936 # in the wild :-( We should find a proper way to deprecate it ...
2940 # We'll loop over all known methods to create a tar archive until one works.
2941 _am_tools
='gnutar pax cpio none'
2943 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2950 # POSIX will say in a future version that running "rm -f" with no argument
2951 # is OK; and we want to be able to make that assumption in our Makefile
2952 # recipes. So use an aggressive probe to check that the usage we want is
2953 # actually supported "in the wild" to an acceptable degree.
2954 # See automake bug#10828.
2955 # To make any issue more visible, cause the running configure to be aborted
2956 # by default if the 'rm' program in use doesn't match our expectations; the
2957 # user can still override this though.
2958 if rm -f && rm -fr && rm -rf; then : OK
; else
2962 Your 'rm' program seems unable to run without file operands specified
2963 on the command line, even when the '-f' option is present. This is contrary
2964 to the behaviour of most rm programs out there, and not conforming with
2965 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2967 Please tell bug-automake@gnu.org about your system, including the value
2968 of your $PATH and any error possibly output before this message. This
2969 can help us improve future automake versions.
2972 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2973 echo 'Configuration will proceed anyway, since you have set the' >&2
2974 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2978 Aborting the configuration process, to ensure you take notice of the issue.
2980 You can download and install GNU coreutils to get an 'rm' implementation
2981 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2983 If you want to complete the configuration process using your problematic
2984 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2985 to "yes", and re-run configure.
2988 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2992 # Check whether --enable-silent-rules was given.
2993 if test "${enable_silent_rules+set}" = set; then :
2994 enableval
=$enable_silent_rules;
2997 case $enable_silent_rules in # (((
2998 yes) AM_DEFAULT_VERBOSITY
=0;;
2999 no
) AM_DEFAULT_VERBOSITY
=1;;
3000 *) AM_DEFAULT_VERBOSITY
=0;;
3002 am_make
=${MAKE-make}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3004 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3005 if ${am_cv_make_support_nested_variables+:} false
; then :
3006 $as_echo_n "(cached) " >&6
3008 if $as_echo 'TRUE=$(BAR$(V))
3014 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3015 am_cv_make_support_nested_variables
=yes
3017 am_cv_make_support_nested_variables
=no
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3021 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3022 if test $am_cv_make_support_nested_variables = yes; then
3024 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3026 AM_V
=$AM_DEFAULT_VERBOSITY
3027 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3032 ac_config_headers="$ac_config_headers include/librb_config.h"
3036 DEPDIR="${am__leading_dot}deps"
3038 ac_config_commands="$ac_config_commands depfiles"
3041 am_make=${MAKE-make}
3042 cat > confinc << 'END'
3044 @echo this is the am__doit target
3047 # If we don't
find an include directive
, just comment out the code.
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3049 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3053 # First try GNU make style include.
3054 echo "include confinc" > confmf
3055 # Ignore all kinds of additional output from 'make'.
3056 case `$am_make -s -f confmf 2> /dev/null` in #(
3057 *the\ am__doit\ target
*)
3063 # Now try BSD make style include.
3064 if test "$am__include" = "#"; then
3065 echo '.include "confinc"' > confmf
3066 case `$am_make -s -f confmf 2> /dev/null` in #(
3067 *the\ am__doit\ target
*)
3068 am__include
=.include
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3077 $as_echo "$_am_result" >&6; }
3078 rm -f confinc confmf
3080 # Check whether --enable-dependency-tracking was given.
3081 if test "${enable_dependency_tracking+set}" = set; then :
3082 enableval
=$enable_dependency_tracking;
3085 if test "x$enable_dependency_tracking" != xno
; then
3086 am_depcomp
="$ac_aux_dir/depcomp"
3090 if test "x$enable_dependency_tracking" != xno; then
3100 ac_cpp
='$CPP $CPPFLAGS'
3101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3104 if test -n "$ac_tool_prefix"; then
3105 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3106 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if ${ac_cv_prog_CC+:} false
; then :
3110 $as_echo_n "(cached) " >&6
3112 if test -n "$CC"; then
3113 ac_cv_prog_CC
="$CC" # Let the user override the test.
3115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir
=.
3120 for ac_exec_ext
in '' $ac_executable_extensions; do
3121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3122 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 if test -n "$CC"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3135 $as_echo "$CC" >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3143 if test -z "$ac_cv_prog_CC"; then
3145 # Extract the first word of "gcc", so it can be a program name with args.
3146 set dummy gcc
; ac_word
=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3150 $as_echo_n "(cached) " >&6
3152 if test -n "$ac_ct_CC"; then
3153 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir
=.
3160 for ac_exec_ext
in '' $ac_executable_extensions; do
3161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3162 ac_cv_prog_ac_ct_CC
="gcc"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3173 if test -n "$ac_ct_CC"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3175 $as_echo "$ac_ct_CC" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3181 if test "x$ac_ct_CC" = x
; then
3184 case $cross_compiling:$ac_tool_warned in
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3188 ac_tool_warned
=yes ;;
3196 if test -z "$CC"; then
3197 if test -n "$ac_tool_prefix"; then
3198 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3199 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201 $as_echo_n "checking for $ac_word... " >&6; }
3202 if ${ac_cv_prog_CC+:} false
; then :
3203 $as_echo_n "(cached) " >&6
3205 if test -n "$CC"; then
3206 ac_cv_prog_CC
="$CC" # Let the user override the test.
3208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir
=.
3213 for ac_exec_ext
in '' $ac_executable_extensions; do
3214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3215 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 if test -n "$CC"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3228 $as_echo "$CC" >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3237 if test -z "$CC"; then
3238 # Extract the first word of "cc", so it can be a program name with args.
3239 set dummy cc
; ac_word
=$2
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3241 $as_echo_n "checking for $ac_word... " >&6; }
3242 if ${ac_cv_prog_CC+:} false
; then :
3243 $as_echo_n "(cached) " >&6
3245 if test -n "$CC"; then
3246 ac_cv_prog_CC
="$CC" # Let the user override the test.
3249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir
=.
3254 for ac_exec_ext
in '' $ac_executable_extensions; do
3255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3256 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3257 ac_prog_rejected
=yes
3261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 if test $ac_prog_rejected = yes; then
3269 # We found a bogon in the path, so make sure we never use it.
3270 set dummy
$ac_cv_prog_CC
3272 if test $# != 0; then
3273 # We chose a different compiler from the bogus one.
3274 # However, it has the same basename, so the bogon will be chosen
3275 # first if we set CC to just the basename; use the full file name.
3277 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3283 if test -n "$CC"; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3285 $as_echo "$CC" >&6; }
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3293 if test -z "$CC"; then
3294 if test -n "$ac_tool_prefix"; then
3295 for ac_prog
in cl.exe
3297 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3298 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3300 $as_echo_n "checking for $ac_word... " >&6; }
3301 if ${ac_cv_prog_CC+:} false
; then :
3302 $as_echo_n "(cached) " >&6
3304 if test -n "$CC"; then
3305 ac_cv_prog_CC
="$CC" # Let the user override the test.
3307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3311 test -z "$as_dir" && as_dir
=.
3312 for ac_exec_ext
in '' $ac_executable_extensions; do
3313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3314 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 if test -n "$CC"; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3327 $as_echo "$CC" >&6; }
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3334 test -n "$CC" && break
3337 if test -z "$CC"; then
3339 for ac_prog
in cl.exe
3341 # Extract the first word of "$ac_prog", so it can be a program name with args.
3342 set dummy
$ac_prog; ac_word
=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3346 $as_echo_n "(cached) " >&6
3348 if test -n "$ac_ct_CC"; then
3349 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir
=.
3356 for ac_exec_ext
in '' $ac_executable_extensions; do
3357 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3358 ac_cv_prog_ac_ct_CC
="$ac_prog"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3369 if test -n "$ac_ct_CC"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3371 $as_echo "$ac_ct_CC" >&6; }
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3378 test -n "$ac_ct_CC" && break
3381 if test "x$ac_ct_CC" = x
; then
3384 case $cross_compiling:$ac_tool_warned in
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3388 ac_tool_warned
=yes ;;
3397 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3399 as_fn_error $?
"no acceptable C compiler found in \$PATH
3400 See \`config.log' for more details" "$LINENO" 5; }
3402 # Provide some information about the compiler.
3403 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3406 for ac_option
in --version -v -V -qversion; do
3407 { { ac_try
="$ac_compiler $ac_option >&5"
3409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3410 *) ac_try_echo=$ac_try;;
3412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413 $as_echo "$ac_try_echo"; } >&5
3414 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3416 if test -s conftest.err; then
3418 ... rest of stderr output deleted ...
3419 10q' conftest.err >conftest.er1
3420 cat conftest.er1 >&5
3422 rm -f conftest.er1 conftest.err
3423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3424 test $ac_status = 0; }
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3438 ac_clean_files_save=$ac_clean_files
3439 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3440 # Try to create an executable without -o first, disregard a.out.
3441 # It will help us diagnose broken compilers, and finding out an intuition
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3444 $as_echo_n "checking whether the C compiler works... " >&6; }
3445 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3447 # The possible output files:
3448 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3451 for ac_file in $ac_files
3454 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3455 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3460 if { { ac_try="$ac_link_default"
3462 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3463 *) ac_try_echo
=$ac_try;;
3465 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3466 $as_echo "$ac_try_echo"; } >&5
3467 (eval "$ac_link_default") 2>&5
3469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3470 test $ac_status = 0; }; then :
3471 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3472 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3473 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3474 # so that the user can short-circuit this test for compilers unknown to
3476 for ac_file
in $ac_files ''
3478 test -f "$ac_file" || continue
3480 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3483 # We found the default executable, but exeext='' is most
3487 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3489 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3491 # We set ac_cv_exeext here because the later test for it is not
3492 # safe: cross compilers may not add the suffix if given an `-o'
3493 # argument, so we may need to know it at that point already.
3494 # Even if this section looks crufty: it has the advantage of
3501 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3506 if test -z "$ac_file"; then :
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508 $as_echo "no" >&6; }
3509 $as_echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.
$ac_ext >&5
3512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3514 as_fn_error
77 "C compiler cannot create executables
3515 See \`config.log' for more details" "$LINENO" 5; }
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3518 $as_echo "yes" >&6; }
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3521 $as_echo_n "checking for C compiler default output file name... " >&6; }
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3523 $as_echo "$ac_file" >&6; }
3524 ac_exeext
=$ac_cv_exeext
3526 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3527 ac_clean_files
=$ac_clean_files_save
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3529 $as_echo_n "checking for suffix of executables... " >&6; }
3530 if { { ac_try
="$ac_link"
3532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3533 *) ac_try_echo=$ac_try;;
3535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_link") 2>&5
3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 test $ac_status = 0; }; then :
3541 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3542 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3543 # work properly (i.e., refer to `conftest.exe'), while it won't with
3545 for ac_file
in conftest.exe conftest conftest.
*; do
3546 test -f "$ac_file" || continue
3548 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3549 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3557 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3558 See \`config.log' for more details" "$LINENO" 5; }
3560 rm -f conftest conftest
$ac_cv_exeext
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3562 $as_echo "$ac_cv_exeext" >&6; }
3564 rm -f conftest.
$ac_ext
3565 EXEEXT
=$ac_cv_exeext
3567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3573 FILE *f = fopen ("conftest.out", "w");
3574 return ferror (f) || fclose (f) != 0;
3580 ac_clean_files
="$ac_clean_files conftest.out"
3581 # Check that the compiler produces executables we can run. If not, either
3582 # the compiler is broken, or we cross compile.
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3584 $as_echo_n "checking whether we are cross compiling... " >&6; }
3585 if test "$cross_compiling" != yes; then
3586 { { ac_try
="$ac_link"
3588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592 $as_echo "$ac_try_echo"; } >&5
3593 (eval "$ac_link") 2>&5
3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596 test $ac_status = 0; }
3597 if { ac_try='./conftest$ac_cv_exeext'
3598 { { case "(($ac_try" in
3599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3600 *) ac_try_echo
=$ac_try;;
3602 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3603 $as_echo "$ac_try_echo"; } >&5
3604 (eval "$ac_try") 2>&5
3606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3607 test $ac_status = 0; }; }; then
3610 if test "$cross_compiling" = maybe
; then
3613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615 as_fn_error $?
"cannot run C compiled programs.
3616 If you meant to cross compile, use \`--host'.
3617 See \`config.log' for more details" "$LINENO" 5; }
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3622 $as_echo "$cross_compiling" >&6; }
3624 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3625 ac_clean_files
=$ac_clean_files_save
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3627 $as_echo_n "checking for suffix of object files... " >&6; }
3628 if ${ac_cv_objext+:} false
; then :
3629 $as_echo_n "(cached) " >&6
3631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3642 rm -f conftest.o conftest.obj
3643 if { { ac_try
="$ac_compile"
3645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3646 *) ac_try_echo=$ac_try;;
3648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3649 $as_echo "$ac_try_echo"; } >&5
3650 (eval "$ac_compile") 2>&5
3652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3653 test $ac_status = 0; }; then :
3654 for ac_file in conftest.o conftest.obj conftest.*; do
3655 test -f "$ac_file" || continue;
3657 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3658 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3663 $as_echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.$ac_ext >&5
3666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3669 See \
`config.log' for more details" "$LINENO" 5; }
3671 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3674 $as_echo "$ac_cv_objext" >&6; }
3675 OBJEXT=$ac_cv_objext
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3678 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3679 if ${ac_cv_c_compiler_gnu+:} false; then :
3680 $as_echo_n "(cached) " >&6
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3696 if ac_fn_c_try_compile "$LINENO"; then :
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3706 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3707 if test $ac_compiler_gnu = yes; then
3712 ac_test_CFLAGS=${CFLAGS+set}
3713 ac_save_CFLAGS=$CFLAGS
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3715 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3716 if ${ac_cv_prog_cc_g+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 ac_save_c_werror_flag=$ac_c_werror_flag
3720 ac_c_werror_flag=yes
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3734 if ac_fn_c_try_compile "$LINENO"; then :
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3749 if ac_fn_c_try_compile "$LINENO"; then :
3752 ac_c_werror_flag=$ac_save_c_werror_flag
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3765 if ac_fn_c_try_compile "$LINENO"; then :
3768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773 ac_c_werror_flag=$ac_save_c_werror_flag
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3776 $as_echo "$ac_cv_prog_cc_g" >&6; }
3777 if test "$ac_test_CFLAGS" = set; then
3778 CFLAGS=$ac_save_CFLAGS
3779 elif test $ac_cv_prog_cc_g = yes; then
3780 if test "$GCC" = yes; then
3786 if test "$GCC" = yes; then
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3793 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3794 if ${ac_cv_prog_cc_c89+:} false; then :
3795 $as_echo_n "(cached) " >&6
3797 ac_cv_prog_cc_c89=no
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3804 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3805 struct buf { int x; };
3806 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3807 static char *e (p, i)
3813 static char *f (char * (*g) (char **, int), char **p, ...)
3818 s = g (p, va_arg (v,int));
3823 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3824 function prototypes and stuff, but not '\xHH' hex character constants.
3825 These don't provoke an error unfortunately, instead are silently treated
3826 as 'x'. The following induces an error, until -std is added to get
3827 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3828 array size at least. It's necessary to write '\x00'==0 to get something
3829 that's true only with -std. */
3830 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3832 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3833 inside strings and character constants. */
3835 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3837 int test (int i, double x);
3838 struct s1 {int (*f) (int a);};
3839 struct s2 {int (*f) (double a);};
3840 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3846 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3851 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3852 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3854 CC="$ac_save_CC $ac_arg"
3855 if ac_fn_c_try_compile "$LINENO"; then :
3856 ac_cv_prog_cc_c89=$ac_arg
3858 rm -f core conftest.err conftest.$ac_objext
3859 test "x$ac_cv_prog_cc_c89" != "xno" && break
3861 rm -f conftest.$ac_ext
3866 case "x$ac_cv_prog_cc_c89" in
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3869 $as_echo "none needed" >&6; } ;;
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3872 $as_echo "unsupported" >&6; } ;;
3874 CC="$CC $ac_cv_prog_cc_c89"
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3876 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3878 if test "x$ac_cv_prog_cc_c89" != xno; then :
3883 ac_cpp='$CPP $CPPFLAGS'
3884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3889 ac_cpp='$CPP $CPPFLAGS'
3890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3894 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3895 if ${am_cv_prog_cc_c_o+:} false; then :
3896 $as_echo_n "(cached) " >&6
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3909 # Make sure it works both with $CC and with simple cc.
3910 # Following AC_PROG_CC_C_O, we do the test twice because some
3911 # compilers refuse to overwrite an existing .o file with -o,
3912 # though they will create one.
3913 am_cv_prog_cc_c_o=yes
3915 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3916 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } \
3920 && test -f conftest2.$ac_objext; then
3923 am_cv_prog_cc_c_o=no
3927 rm -f core conftest*
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3931 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3932 if test "$am_cv_prog_cc_c_o" != yes; then
3933 # Losing compiler, so override with the script.
3934 # FIXME: It is wrong to rewrite CC.
3935 # But if we don't then we get into trouble of one sort or another.
3936 # A longer-term fix would be to have automake use am__CC in this case,
3937 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3938 CC="$am_aux_dir/compile $CC"
3941 ac_cpp='$CPP $CPPFLAGS'
3942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947 depcc="$CC" am_compiler_list=
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3950 $as_echo_n "checking dependency style of $depcc... " >&6; }
3951 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3952 $as_echo_n "(cached) " >&6
3954 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3955 # We make a subdir and do the tests there. Otherwise we can end up
3956 # making bogus files that we don't know about and never remove. For
3957 # instance it was reported that on HP-UX the gcc test will end up
3958 # making a dummy file named 'D' -- because '-MD' means "put the output
3962 # Copy depcomp to subdir because otherwise we won't find it if we're
3963 # using a relative directory.
3964 cp "$am_depcomp" conftest.dir
3966 # We will build objects and dependencies in a subdirectory because
3967 # it helps to detect inapplicable dependency modes. For instance
3968 # both Tru64's cc and ICC support -MD to output dependencies as a
3969 # side effect of compilation, but ICC will put the dependencies in
3970 # the current directory while Tru64 will put them in the object
3974 am_cv_CC_dependencies_compiler_type=none
3975 if test "$am_compiler_list" = ""; then
3976 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3979 case " $depcc " in #(
3980 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3983 for depmode in $am_compiler_list; do
3984 # Setup a source with many dependencies, because some compilers
3985 # like to wrap large dependency lists on column 80 (with \), and
3986 # we should not choose a depcomp mode which is confused by this.
3988 # We need to recreate these files for each test, as the compiler may
3989 # overwrite some of them when testing with obscure command lines.
3990 # This happens at least with the AIX C compiler.
3992 for i in 1 2 3 4 5 6; do
3993 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3994 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3995 # Solaris 10 /bin/sh.
3996 echo '/* dummy */' > sub/conftst$i.h
3998 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4000 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4001 # mode. It turns out that the SunPro C++ compiler does not properly
4002 # handle '-M -o', and we need to detect this. Also, some Intel
4003 # versions had trouble with output in subdirs.
4004 am__obj=sub/conftest.${OBJEXT-o}
4005 am__minus_obj="-o $am__obj"
4008 # This depmode causes a compiler race in universal mode.
4009 test "$am__universal" = false || continue
4012 # After this tag, mechanisms are not by side-effect, so they'll
4013 # only be used when explicitly requested.
4014 if test "x$enable_dependency_tracking" = xyes; then
4020 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4021 # This compiler won't grok '-c -o', but also, the minuso test has
4022 # not run yet. These depmodes are late enough in the game, and
4023 # so weak that their functioning should not be impacted.
4024 am__obj=conftest.${OBJEXT-o}
4029 if depmode=$depmode \
4030 source=sub/conftest.c object=$am__obj \
4031 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4032 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4033 >/dev/null 2>conftest.err &&
4034 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4035 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4036 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4037 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4038 # icc doesn't choke on unknown options, it will just issue warnings
4039 # or remarks (even with -Werror). So we grep stderr for any message
4040 # that says an option was ignored or not supported.
4041 # When given -MP, icc 7.0 and 7.1 complain thusly:
4042 # icc: Command line warning: ignoring option '-M'; no argument required
4043 # The diagnosis changed in icc 8.0:
4044 # icc: Command line remark: option '-MP' not supported
4045 if (grep 'ignoring option' conftest.err ||
4046 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4047 am_cv_CC_dependencies_compiler_type=$depmode
4056 am_cv_CC_dependencies_compiler_type=none
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4061 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4062 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4065 test "x$enable_dependency_tracking" != xno \
4066 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4068 am__fastdepCC_FALSE='#'
4070 am__fastdepCC_TRUE='#'
4071 am__fastdepCC_FALSE=
4077 ac_cpp='$CPP $CPPFLAGS'
4078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4082 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4083 # On Suns, sometimes $CPP names a directory.
4084 if test -n "$CPP" && test -d "$CPP"; then
4087 if test -z "$CPP"; then
4088 if ${ac_cv_prog_CPP+:} false; then :
4089 $as_echo_n "(cached) " >&6
4091 # Double quotes because CPP needs to be expanded
4092 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4095 for ac_c_preproc_warn_flag in '' yes
4097 # Use a header file that comes with gcc, so configuring glibc
4098 # with a fresh cross-compiler works.
4099 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4100 # <limits.h> exists even on freestanding compilers.
4101 # On the NeXT, cc -E runs the code through the compiler's parser,
4102 # not just through cpp. "Syntax error" is here to catch this case.
4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4106 # include <limits.h>
4108 # include <assert.h>
4112 if ac_fn_c_try_cpp "$LINENO"; then :
4115 # Broken: fails on valid input.
4118 rm -f conftest.err conftest.i conftest.$ac_ext
4120 # OK, works on sane cases. Now check whether nonexistent headers
4121 # can be detected and how.
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4124 #include <ac_nonexistent.h>
4126 if ac_fn_c_try_cpp "$LINENO"; then :
4127 # Broken: success on invalid input.
4130 # Passes both tests.
4134 rm -f conftest.err conftest.i conftest.$ac_ext
4137 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4138 rm -f conftest.i conftest.err conftest.
$ac_ext
4139 if $ac_preproc_ok; then :
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4152 $as_echo "$CPP" >&6; }
4154 for ac_c_preproc_warn_flag
in '' yes
4156 # Use a header file that comes with gcc, so configuring glibc
4157 # with a fresh cross-compiler works.
4158 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4159 # <limits.h> exists even on freestanding compilers.
4160 # On the NeXT, cc -E runs the code through the compiler's parser,
4161 # not just through cpp. "Syntax error" is here to catch this case.
4162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4165 # include <limits.h>
4167 # include <assert.h>
4171 if ac_fn_c_try_cpp
"$LINENO"; then :
4174 # Broken: fails on valid input.
4177 rm -f conftest.err conftest.i conftest.
$ac_ext
4179 # OK, works on sane cases. Now check whether nonexistent headers
4180 # can be detected and how.
4181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4183 #include <ac_nonexistent.h>
4185 if ac_fn_c_try_cpp
"$LINENO"; then :
4186 # Broken: success on invalid input.
4189 # Passes both tests.
4193 rm -f conftest.err conftest.i conftest.
$ac_ext
4196 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4197 rm -f conftest.i conftest.err conftest.
$ac_ext
4198 if $ac_preproc_ok; then :
4201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4203 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4204 See \`config.log' for more details" "$LINENO" 5; }
4208 ac_cpp
='$CPP $CPPFLAGS'
4209 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4210 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4211 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4215 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4216 if ${ac_cv_path_GREP+:} false
; then :
4217 $as_echo_n "(cached) " >&6
4219 if test -z "$GREP"; then
4220 ac_path_GREP_found
=false
4221 # Loop through the user's path and test for each of PROGNAME-LIST
4222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4223 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4226 test -z "$as_dir" && as_dir
=.
4227 for ac_prog
in grep ggrep
; do
4228 for ac_exec_ext
in '' $ac_executable_extensions; do
4229 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4230 as_fn_executable_p
"$ac_path_GREP" || continue
4231 # Check for GNU ac_path_GREP and select it if it is found.
4232 # Check for GNU $ac_path_GREP
4233 case `"$ac_path_GREP" --version 2>&1` in
4235 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4238 $as_echo_n 0123456789 >"conftest.in"
4241 cat "conftest.in" "conftest.in" >"conftest.tmp"
4242 mv "conftest.tmp" "conftest.in"
4243 cp "conftest.in" "conftest.nl"
4244 $as_echo 'GREP' >> "conftest.nl"
4245 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4246 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4247 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4248 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4249 # Best one so far, save it but keep looking for a better one
4250 ac_cv_path_GREP
="$ac_path_GREP"
4251 ac_path_GREP_max
=$ac_count
4253 # 10*(2^10) chars as input seems more than enough
4254 test $ac_count -gt 10 && break
4256 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4259 $ac_path_GREP_found && break 3
4264 if test -z "$ac_cv_path_GREP"; then
4265 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4268 ac_cv_path_GREP
=$GREP
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4273 $as_echo "$ac_cv_path_GREP" >&6; }
4274 GREP
="$ac_cv_path_GREP"
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4278 $as_echo_n "checking for egrep... " >&6; }
4279 if ${ac_cv_path_EGREP+:} false
; then :
4280 $as_echo_n "(cached) " >&6
4282 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4283 then ac_cv_path_EGREP
="$GREP -E"
4285 if test -z "$EGREP"; then
4286 ac_path_EGREP_found
=false
4287 # Loop through the user's path and test for each of PROGNAME-LIST
4288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4289 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4292 test -z "$as_dir" && as_dir
=.
4293 for ac_prog
in egrep; do
4294 for ac_exec_ext
in '' $ac_executable_extensions; do
4295 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4296 as_fn_executable_p
"$ac_path_EGREP" || continue
4297 # Check for GNU ac_path_EGREP and select it if it is found.
4298 # Check for GNU $ac_path_EGREP
4299 case `"$ac_path_EGREP" --version 2>&1` in
4301 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4304 $as_echo_n 0123456789 >"conftest.in"
4307 cat "conftest.in" "conftest.in" >"conftest.tmp"
4308 mv "conftest.tmp" "conftest.in"
4309 cp "conftest.in" "conftest.nl"
4310 $as_echo 'EGREP' >> "conftest.nl"
4311 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4312 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4313 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4314 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4315 # Best one so far, save it but keep looking for a better one
4316 ac_cv_path_EGREP
="$ac_path_EGREP"
4317 ac_path_EGREP_max
=$ac_count
4319 # 10*(2^10) chars as input seems more than enough
4320 test $ac_count -gt 10 && break
4322 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4325 $ac_path_EGREP_found && break 3
4330 if test -z "$ac_cv_path_EGREP"; then
4331 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4334 ac_cv_path_EGREP
=$EGREP
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4340 $as_echo "$ac_cv_path_EGREP" >&6; }
4341 EGREP
="$ac_cv_path_EGREP"
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4345 $as_echo_n "checking for ANSI C header files... " >&6; }
4346 if ${ac_cv_header_stdc+:} false
; then :
4347 $as_echo_n "(cached) " >&6
4349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4364 if ac_fn_c_try_compile
"$LINENO"; then :
4365 ac_cv_header_stdc
=yes
4367 ac_cv_header_stdc
=no
4369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4371 if test $ac_cv_header_stdc = yes; then
4372 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4379 $EGREP "memchr" >/dev
/null
2>&1; then :
4382 ac_cv_header_stdc
=no
4388 if test $ac_cv_header_stdc = yes; then
4389 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4396 $EGREP "free" >/dev
/null
2>&1; then :
4399 ac_cv_header_stdc
=no
4405 if test $ac_cv_header_stdc = yes; then
4406 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4407 if test "$cross_compiling" = yes; then :
4410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4411 /* end confdefs.h. */
4414 #if ((' ' & 0x0FF) == 0x020)
4415 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4416 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4418 # define ISLOWER(c) \
4419 (('a' <= (c) && (c) <= 'i') \
4420 || ('j' <= (c) && (c) <= 'r') \
4421 || ('s' <= (c) && (c) <= 'z'))
4422 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4425 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4430 for (i = 0; i < 256; i++)
4431 if (XOR (islower (i), ISLOWER (i))
4432 || toupper (i) != TOUPPER (i))
4437 if ac_fn_c_try_run
"$LINENO"; then :
4440 ac_cv_header_stdc
=no
4442 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4443 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4449 $as_echo "$ac_cv_header_stdc" >&6; }
4450 if test $ac_cv_header_stdc = yes; then
4452 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4456 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4457 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4458 inttypes.h stdint.h unistd.h
4460 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4461 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4463 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4464 cat >>confdefs.h
<<_ACEOF
4465 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4474 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4475 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4482 if test "$MINIX" = yes; then
4484 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4487 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4490 $as_echo "#define _MINIX 1" >>confdefs.h
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4496 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4497 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4498 $as_echo_n "(cached) " >&6
4500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4503 # define __EXTENSIONS__ 1
4504 $ac_includes_default
4513 if ac_fn_c_try_compile
"$LINENO"; then :
4514 ac_cv_safe_to_define___extensions__
=yes
4516 ac_cv_safe_to_define___extensions__
=no
4518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4521 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4522 test $ac_cv_safe_to_define___extensions__ = yes &&
4523 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4525 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4527 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4529 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4531 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4537 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4538 if ${ac_cv_prog_cc_c99+:} false
; then :
4539 $as_echo_n "(cached) " >&6
4541 ac_cv_prog_cc_c99
=no
4543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4546 #include <stdbool.h>
4551 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4552 #define debug(...) fprintf (stderr, __VA_ARGS__)
4553 #define showlist(...) puts (#__VA_ARGS__)
4554 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4556 test_varargs_macros (void)
4561 debug ("X = %d\n", x);
4562 showlist (The first, second, and third items.);
4563 report (x>y, "x is %d but y is %d", x, y);
4566 // Check long long types.
4567 #define BIG64 18446744073709551615ull
4568 #define BIG32 4294967295ul
4569 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4571 your preprocessor is broken;
4575 your preprocessor is broken;
4577 static long long int bignum = -9223372036854775807LL;
4578 static unsigned long long int ubignum = BIG64;
4580 struct incomplete_array
4588 const wchar_t *name;
4592 typedef const char *ccp;
4595 test_restrict (ccp restrict text)
4597 // See if C++-style comments work.
4598 // Iterate through items via the restricted pointer.
4599 // Also check for declarations in for loops.
4600 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4605 // Check varargs and va_copy.
4607 test_varargs (const char *format, ...)
4610 va_start (args, format);
4612 va_copy (args_copy, args);
4623 str = va_arg (args_copy, const char *);
4626 number = va_arg (args_copy, int);
4629 fnumber = va_arg (args_copy, double);
4644 _Bool success = false;
4647 if (test_restrict ("String literal") == 0)
4649 char *restrict newvar = "Another string";
4652 test_varargs ("s, d' f .", "string", 65, 34.234);
4653 test_varargs_macros ();
4655 // Check flexible array members.
4656 struct incomplete_array *ia =
4657 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4659 for (int i = 0; i < ia->datasize; ++i)
4660 ia->data[i] = i * 1.234;
4662 // Check named initializers.
4663 struct named_init ni = {
4665 .name = L"Test wide string",
4666 .average = 543.34343,
4671 int dynamic_array[ni.number];
4672 dynamic_array[ni.number - 1] = 543;
4674 // work around unused variable warnings
4675 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4676 || dynamic_array[ni.number - 1] != 543);
4682 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4684 CC
="$ac_save_CC $ac_arg"
4685 if ac_fn_c_try_compile
"$LINENO"; then :
4686 ac_cv_prog_cc_c99
=$ac_arg
4688 rm -f core conftest.err conftest.
$ac_objext
4689 test "x$ac_cv_prog_cc_c99" != "xno" && break
4691 rm -f conftest.
$ac_ext
4696 case "x$ac_cv_prog_cc_c99" in
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4699 $as_echo "none needed" >&6; } ;;
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4702 $as_echo "unsupported" >&6; } ;;
4704 CC
="$CC $ac_cv_prog_cc_c99"
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4706 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4708 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4714 if test x
"$ac_cv_prog_cc_c99" = "xno"; then
4715 as_fn_error $?
"charybdis requires a C99 capable compiler" "$LINENO" 5
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4721 $as_echo_n "checking for egrep... " >&6; }
4722 if ${ac_cv_path_EGREP+:} false
; then :
4723 $as_echo_n "(cached) " >&6
4725 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4726 then ac_cv_path_EGREP
="$GREP -E"
4728 if test -z "$EGREP"; then
4729 ac_path_EGREP_found
=false
4730 # Loop through the user's path and test for each of PROGNAME-LIST
4731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4735 test -z "$as_dir" && as_dir
=.
4736 for ac_prog
in egrep; do
4737 for ac_exec_ext
in '' $ac_executable_extensions; do
4738 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4739 as_fn_executable_p
"$ac_path_EGREP" || continue
4740 # Check for GNU ac_path_EGREP and select it if it is found.
4741 # Check for GNU $ac_path_EGREP
4742 case `"$ac_path_EGREP" --version 2>&1` in
4744 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4747 $as_echo_n 0123456789 >"conftest.in"
4750 cat "conftest.in" "conftest.in" >"conftest.tmp"
4751 mv "conftest.tmp" "conftest.in"
4752 cp "conftest.in" "conftest.nl"
4753 $as_echo 'EGREP' >> "conftest.nl"
4754 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4755 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4756 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4757 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4758 # Best one so far, save it but keep looking for a better one
4759 ac_cv_path_EGREP
="$ac_path_EGREP"
4760 ac_path_EGREP_max
=$ac_count
4762 # 10*(2^10) chars as input seems more than enough
4763 test $ac_count -gt 10 && break
4765 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4768 $ac_path_EGREP_found && break 3
4773 if test -z "$ac_cv_path_EGREP"; then
4774 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4777 ac_cv_path_EGREP
=$EGREP
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4783 $as_echo "$ac_cv_path_EGREP" >&6; }
4784 EGREP
="$ac_cv_path_EGREP"
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4788 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4789 if ${ac_cv_path_SED+:} false
; then :
4790 $as_echo_n "(cached) " >&6
4792 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4793 for ac_i
in 1 2 3 4 5 6 7; do
4794 ac_script
="$ac_script$as_nl$ac_script"
4796 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
4797 { ac_script
=; unset ac_script
;}
4798 if test -z "$SED"; then
4799 ac_path_SED_found
=false
4800 # Loop through the user's path and test for each of PROGNAME-LIST
4801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4805 test -z "$as_dir" && as_dir
=.
4806 for ac_prog
in sed gsed
; do
4807 for ac_exec_ext
in '' $ac_executable_extensions; do
4808 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4809 as_fn_executable_p
"$ac_path_SED" || continue
4810 # Check for GNU ac_path_SED and select it if it is found.
4811 # Check for GNU $ac_path_SED
4812 case `"$ac_path_SED" --version 2>&1` in
4814 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4817 $as_echo_n 0123456789 >"conftest.in"
4820 cat "conftest.in" "conftest.in" >"conftest.tmp"
4821 mv "conftest.tmp" "conftest.in"
4822 cp "conftest.in" "conftest.nl"
4823 $as_echo '' >> "conftest.nl"
4824 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4825 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4826 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4827 if test $ac_count -gt ${ac_path_SED_max-0}; then
4828 # Best one so far, save it but keep looking for a better one
4829 ac_cv_path_SED
="$ac_path_SED"
4830 ac_path_SED_max
=$ac_count
4832 # 10*(2^10) chars as input seems more than enough
4833 test $ac_count -gt 10 && break
4835 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4838 $ac_path_SED_found && break 3
4843 if test -z "$ac_cv_path_SED"; then
4844 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4852 $as_echo "$ac_cv_path_SED" >&6; }
4853 SED
="$ac_cv_path_SED"
4861 # Check whether --enable-static was given.
4862 if test "${enable_static+set}" = set; then :
4863 enableval
=$enable_static; p
=${PACKAGE-default}
4865 yes) enable_static
=yes ;;
4866 no
) enable_static
=no
;;
4869 # Look at the argument we got. We use all the common list separators.
4870 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
4871 for pkg
in $enableval; do
4873 if test "X$pkg" = "X$p"; then
4892 # Check whether --enable-shared was given.
4893 if test "${enable_shared+set}" = set; then :
4894 enableval
=$enable_shared; p
=${PACKAGE-default}
4896 yes) enable_shared
=yes ;;
4897 no
) enable_shared
=no
;;
4900 # Look at the argument we got. We use all the common list separators.
4901 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
4902 for pkg
in $enableval; do
4904 if test "X$pkg" = "X$p"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4925 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4926 # Check whether --enable-maintainer-mode was given.
4927 if test "${enable_maintainer_mode+set}" = set; then :
4928 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4930 USE_MAINTAINER_MODE
=no
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4934 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4935 if test $USE_MAINTAINER_MODE = yes; then
4936 MAINTAINER_MODE_TRUE
=
4937 MAINTAINER_MODE_FALSE
='#'
4939 MAINTAINER_MODE_TRUE
='#'
4940 MAINTAINER_MODE_FALSE
=
4943 MAINT
=$MAINTAINER_MODE_TRUE
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4948 $as_echo_n "checking for library containing strerror... " >&6; }
4949 if ${ac_cv_search_strerror+:} false
; then :
4950 $as_echo_n "(cached) " >&6
4952 ac_func_search_save_LIBS
=$LIBS
4953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4956 /* Override any GCC internal prototype to avoid an error.
4957 Use char because int might match the return type of a GCC
4958 builtin and then its argument prototype would still apply. */
4971 for ac_lib
in '' cposix
; do
4972 if test -z "$ac_lib"; then
4973 ac_res
="none required"
4976 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4978 if ac_fn_c_try_link
"$LINENO"; then :
4979 ac_cv_search_strerror
=$ac_res
4981 rm -f core conftest.err conftest.
$ac_objext \
4983 if ${ac_cv_search_strerror+:} false
; then :
4987 if ${ac_cv_search_strerror+:} false
; then :
4990 ac_cv_search_strerror
=no
4993 LIBS
=$ac_func_search_save_LIBS
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4996 $as_echo "$ac_cv_search_strerror" >&6; }
4997 ac_res
=$ac_cv_search_strerror
4998 if test "$ac_res" != no
; then :
4999 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5004 $as_echo_n "checking for inline... " >&6; }
5005 if ${ac_cv_c_inline+:} false
; then :
5006 $as_echo_n "(cached) " >&6
5009 for ac_kw
in inline __inline__ __inline
; do
5010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5014 static $ac_kw foo_t static_foo () {return 0; }
5015 $ac_kw foo_t foo () {return 0; }
5019 if ac_fn_c_try_compile
"$LINENO"; then :
5020 ac_cv_c_inline
=$ac_kw
5022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5023 test "$ac_cv_c_inline" != no
&& break
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5028 $as_echo "$ac_cv_c_inline" >&6; }
5030 case $ac_cv_c_inline in
5033 case $ac_cv_c_inline in
5035 *) ac_val
=$ac_cv_c_inline;;
5037 cat >>confdefs.h
<<_ACEOF
5039 #define inline $ac_val
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5046 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5047 if ${ac_cv_c_const+:} false
; then :
5048 $as_echo_n "(cached) " >&6
5050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5058 /* Ultrix mips cc rejects this sort of thing. */
5059 typedef int charset[2];
5060 const charset cs = { 0, 0 };
5061 /* SunOS 4.1.1 cc rejects this. */
5062 char const *const *pcpcc;
5064 /* NEC SVR4.0.2 mips cc rejects this. */
5065 struct point {int x, y;};
5066 static struct point const zero = {0,0};
5067 /* AIX XL C 1.02.0.0 rejects this.
5068 It does not let you subtract one const X* pointer from another in
5069 an arm of an if-expression whose if-part is not a constant
5071 const char *g = "string";
5072 pcpcc = &g + (g ? g-g : 0);
5073 /* HPUX 7.0 cc rejects these. */
5075 ppc = (char**) pcpcc;
5076 pcpcc = (char const *const *) ppc;
5077 { /* SCO 3.2v4 cc rejects this sort of thing. */
5080 char const *s = 0 ? (char *) 0 : (char const *) 0;
5085 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5087 const int *foo = &x[0];
5090 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5091 typedef const int *iptr;
5095 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5096 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5097 struct s { int j; const int *ap[3]; } bx;
5098 struct s *b = &bx; b->j = 5;
5100 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5104 return !cs[0] && !zero.x;
5111 if ac_fn_c_try_compile
"$LINENO"; then :
5116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5119 $as_echo "$ac_cv_c_const" >&6; }
5120 if test $ac_cv_c_const = no
; then
5122 $as_echo "#define const /**/" >>confdefs.h
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5127 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5128 if ${ac_cv_c_bigendian+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 ac_cv_c_bigendian
=unknown
5132 # See if we're dealing with a universal compiler.
5133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5134 /* end confdefs.h. */
5135 #ifndef __APPLE_CC__
5136 not a universal capable compiler
5141 if ac_fn_c_try_compile
"$LINENO"; then :
5143 # Check for potential -arch flags. It is not universal unless
5144 # there are at least two -arch flags with different values.
5147 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5148 if test -n "$ac_prev"; then
5150 i?
86 | x86_64
| ppc
| ppc64
)
5151 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5154 ac_cv_c_bigendian
=universal
5160 elif test "x$ac_word" = "x-arch"; then
5165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5166 if test $ac_cv_c_bigendian = unknown
; then
5167 # See if sys/param.h defines the BYTE_ORDER macro.
5168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5170 #include <sys/types.h>
5171 #include <sys/param.h>
5176 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5177 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5186 if ac_fn_c_try_compile
"$LINENO"; then :
5187 # It does; now see whether it defined to BIG_ENDIAN or not.
5188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5190 #include <sys/types.h>
5191 #include <sys/param.h>
5196 #if BYTE_ORDER != BIG_ENDIAN
5204 if ac_fn_c_try_compile
"$LINENO"; then :
5205 ac_cv_c_bigendian
=yes
5207 ac_cv_c_bigendian
=no
5209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5213 if test $ac_cv_c_bigendian = unknown
; then
5214 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h. */
5222 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5230 if ac_fn_c_try_compile
"$LINENO"; then :
5231 # It does; now see whether it defined to _BIG_ENDIAN or not.
5232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5247 if ac_fn_c_try_compile
"$LINENO"; then :
5248 ac_cv_c_bigendian
=yes
5250 ac_cv_c_bigendian
=no
5252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5256 if test $ac_cv_c_bigendian = unknown
; then
5257 # Compile a test program.
5258 if test "$cross_compiling" = yes; then :
5259 # Try to guess by grepping values from an object file.
5260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5262 short int ascii_mm[] =
5263 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5264 short int ascii_ii[] =
5265 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5266 int use_ascii (int i) {
5267 return ascii_mm[i] + ascii_ii[i];
5269 short int ebcdic_ii[] =
5270 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5271 short int ebcdic_mm[] =
5272 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5273 int use_ebcdic (int i) {
5274 return ebcdic_mm[i] + ebcdic_ii[i];
5281 return use_ascii (foo) == use_ebcdic (foo);
5286 if ac_fn_c_try_compile
"$LINENO"; then :
5287 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5288 ac_cv_c_bigendian
=yes
5290 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5291 if test "$ac_cv_c_bigendian" = unknown
; then
5292 ac_cv_c_bigendian
=no
5294 # finding both strings is unlikely to happen, but who knows?
5295 ac_cv_c_bigendian
=unknown
5299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5303 $ac_includes_default
5308 /* Are we little or big endian? From Harbison&Steele. */
5312 char c[sizeof (long int)];
5315 return u.c[sizeof (long int) - 1] == 1;
5321 if ac_fn_c_try_run
"$LINENO"; then :
5322 ac_cv_c_bigendian
=no
5324 ac_cv_c_bigendian
=yes
5326 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5327 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5333 $as_echo "$ac_cv_c_bigendian" >&6; }
5334 case $ac_cv_c_bigendian in #(
5336 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5342 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5346 as_fn_error $?
"unknown endianness
5347 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5351 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5353 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5354 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5355 $as_echo_n "(cached) " >&6
5357 cat >conftest.
make <<\_ACEOF
5360 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5362 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5363 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5365 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5367 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5371 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5373 $as_echo "yes" >&6; }
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5377 $as_echo "no" >&6; }
5378 SET_MAKE
="MAKE=${MAKE-make}"
5382 # Extract the first word of "automake", so it can be a program name with args.
5383 set dummy automake
; ac_word
=$2
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5385 $as_echo_n "checking for $ac_word... " >&6; }
5386 if ${ac_cv_path_AUTOMAKE+:} false
; then :
5387 $as_echo_n "(cached) " >&6
5391 ac_cv_path_AUTOMAKE
="$AUTOMAKE" # Let the user override the test with a path.
5394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5398 test -z "$as_dir" && as_dir
=.
5399 for ac_exec_ext
in '' $ac_executable_extensions; do
5400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5401 ac_cv_path_AUTOMAKE
="$as_dir/$ac_word$ac_exec_ext"
5402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 AUTOMAKE
=$ac_cv_path_AUTOMAKE
5413 if test -n "$AUTOMAKE"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOMAKE" >&5
5415 $as_echo "$AUTOMAKE" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5422 # Extract the first word of "aclocal", so it can be a program name with args.
5423 set dummy aclocal
; ac_word
=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if ${ac_cv_path_ACLOCAL+:} false
; then :
5427 $as_echo_n "(cached) " >&6
5431 ac_cv_path_ACLOCAL
="$ACLOCAL" # Let the user override the test with a path.
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_exec_ext
in '' $ac_executable_extensions; do
5440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_path_ACLOCAL
="$as_dir/$ac_word$ac_exec_ext"
5442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 ACLOCAL
=$ac_cv_path_ACLOCAL
5453 if test -n "$ACLOCAL"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
5455 $as_echo "$ACLOCAL" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5462 # Extract the first word of "autoheader", so it can be a program name with args.
5463 set dummy autoheader
; ac_word
=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_path_AUTOHEADER+:} false
; then :
5467 $as_echo_n "(cached) " >&6
5471 ac_cv_path_AUTOHEADER
="$AUTOHEADER" # Let the user override the test with a path.
5474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5478 test -z "$as_dir" && as_dir
=.
5479 for ac_exec_ext
in '' $ac_executable_extensions; do
5480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5481 ac_cv_path_AUTOHEADER
="$as_dir/$ac_word$ac_exec_ext"
5482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 AUTOHEADER
=$ac_cv_path_AUTOHEADER
5493 if test -n "$AUTOHEADER"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
5495 $as_echo "$AUTOHEADER" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5502 # Extract the first word of "as", so it can be a program name with args.
5503 set dummy as
; ac_word
=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_path_AS+:} false
; then :
5507 $as_echo_n "(cached) " >&6
5511 ac_cv_path_AS
="$AS" # Let the user override the test with a path.
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_path_AS
="$as_dir/$ac_word$ac_exec_ext"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 if test -n "$AS"; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5535 $as_echo "$AS" >&6; }
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538 $as_echo "no" >&6; }
5542 # Extract the first word of "rm", so it can be a program name with args.
5543 set dummy
rm; ac_word
=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_path_RM+:} false
; then :
5547 $as_echo_n "(cached) " >&6
5551 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
5554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir
=.
5559 for ac_exec_ext
in '' $ac_executable_extensions; do
5560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 if test -n "$RM"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5575 $as_echo "$RM" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5582 # Extract the first word of "cp", so it can be a program name with args.
5583 set dummy
cp; ac_word
=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_path_CP+:} false
; then :
5587 $as_echo_n "(cached) " >&6
5591 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
5594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir
=.
5599 for ac_exec_ext
in '' $ac_executable_extensions; do
5600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5601 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
5602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 if test -n "$CP"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5615 $as_echo "$CP" >&6; }
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5622 # Extract the first word of "mv", so it can be a program name with args.
5623 set dummy
mv; ac_word
=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_path_MV+:} false
; then :
5627 $as_echo_n "(cached) " >&6
5631 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
5634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir
=.
5639 for ac_exec_ext
in '' $ac_executable_extensions; do
5640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5641 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
5642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 if test -n "$MV"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5655 $as_echo "$MV" >&6; }
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5662 # Extract the first word of "ln", so it can be a program name with args.
5663 set dummy
ln; ac_word
=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_path_LN+:} false
; then :
5667 $as_echo_n "(cached) " >&6
5671 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
5674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5678 test -z "$as_dir" && as_dir
=.
5679 for ac_exec_ext
in '' $ac_executable_extensions; do
5680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5681 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 if test -n "$LN"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
5695 $as_echo "$LN" >&6; }
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5702 # Extract the first word of "touch", so it can be a program name with args.
5703 set dummy
touch; ac_word
=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_path_TOUCH+:} false
; then :
5707 $as_echo_n "(cached) " >&6
5711 ac_cv_path_TOUCH
="$TOUCH" # Let the user override the test with a path.
5714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir
=.
5719 for ac_exec_ext
in '' $ac_executable_extensions; do
5720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5721 ac_cv_path_TOUCH
="$as_dir/$ac_word$ac_exec_ext"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 TOUCH
=$ac_cv_path_TOUCH
5733 if test -n "$TOUCH"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5735 $as_echo "$TOUCH" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5743 ac_cpp
='$CPP $CPPFLAGS'
5744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5752 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5757 macro_version
='2.4.6'
5758 macro_revision
='2.4.6'
5772 ltmain
=$ac_aux_dir/ltmain.sh
5774 # Make sure we can run config.sub.
5775 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5776 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5779 $as_echo_n "checking build system type... " >&6; }
5780 if ${ac_cv_build+:} false
; then :
5781 $as_echo_n "(cached) " >&6
5783 ac_build_alias
=$build_alias
5784 test "x$ac_build_alias" = x
&&
5785 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5786 test "x$ac_build_alias" = x
&&
5787 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5788 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5789 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5793 $as_echo "$ac_cv_build" >&6; }
5794 case $ac_cv_build in
5796 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5799 ac_save_IFS
=$IFS; IFS
='-'
5805 # Remember, the first character of IFS is used to create $*,
5806 # except with old shells:
5809 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5813 $as_echo_n "checking host system type... " >&6; }
5814 if ${ac_cv_host+:} false
; then :
5815 $as_echo_n "(cached) " >&6
5817 if test "x$host_alias" = x
; then
5818 ac_cv_host
=$ac_cv_build
5820 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5821 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5826 $as_echo "$ac_cv_host" >&6; }
5829 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5832 ac_save_IFS
=$IFS; IFS
='-'
5838 # Remember, the first character of IFS is used to create $*,
5839 # except with old shells:
5842 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5845 # Backslashify metacharacters that are still active within
5846 # double-quoted strings.
5847 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5849 # Same as above, but do not quote variable references.
5850 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5852 # Sed substitution to delay expansion of an escaped shell variable in a
5853 # double_quote_subst'ed string.
5854 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5856 # Sed substitution to delay expansion of an escaped single quote.
5857 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5859 # Sed substitution to avoid accidental globbing in evaled expressions
5860 no_glob_subst
='s/\*/\\\*/g'
5862 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5863 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5864 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5867 $as_echo_n "checking how to print strings... " >&6; }
5868 # Test print first, because it will be a builtin if present.
5869 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5870 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5872 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5875 # Use this function as a fallback that always works.
5876 func_fallback_echo ()
5878 eval 'cat <<_LTECHO_EOF
5882 ECHO='func_fallback_echo
'
5885 # func_echo_all arg...
5886 # Invoke $ECHO with all args, space-separated.
5893 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5894 $as_echo "printf" >&6; } ;;
5895 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5896 $as_echo "print -r" >&6; } ;;
5897 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5898 $as_echo "cat" >&6; } ;;
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5915 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5916 if ${ac_cv_path_SED+:} false; then :
5917 $as_echo_n "(cached) " >&6
5919 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5920 for ac_i in 1 2 3 4 5 6 7; do
5921 ac_script="$ac_script$as_nl$ac_script"
5923 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5924 { ac_script=; unset ac_script;}
5925 if test -z "$SED"; then
5926 ac_path_SED_found=false
5927 # Loop through the user's path and
test for each of PROGNAME
-LIST
5928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir
=.
5933 for ac_prog
in sed gsed
; do
5934 for ac_exec_ext
in '' $ac_executable_extensions; do
5935 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5936 as_fn_executable_p
"$ac_path_SED" || continue
5937 # Check for GNU ac_path_SED and select it if it is found.
5938 # Check for GNU $ac_path_SED
5939 case `"$ac_path_SED" --version 2>&1` in
5941 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5944 $as_echo_n 0123456789 >"conftest.in"
5947 cat "conftest.in" "conftest.in" >"conftest.tmp"
5948 mv "conftest.tmp" "conftest.in"
5949 cp "conftest.in" "conftest.nl"
5950 $as_echo '' >> "conftest.nl"
5951 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5952 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5953 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5954 if test $ac_count -gt ${ac_path_SED_max-0}; then
5955 # Best one so far, save it but keep looking for a better one
5956 ac_cv_path_SED
="$ac_path_SED"
5957 ac_path_SED_max
=$ac_count
5959 # 10*(2^10) chars as input seems more than enough
5960 test $ac_count -gt 10 && break
5962 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5965 $ac_path_SED_found && break 3
5970 if test -z "$ac_cv_path_SED"; then
5971 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5979 $as_echo "$ac_cv_path_SED" >&6; }
5980 SED
="$ac_cv_path_SED"
5983 test -z "$SED" && SED
=sed
5984 Xsed
="$SED -e 1s/^X//"
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5997 $as_echo_n "checking for fgrep... " >&6; }
5998 if ${ac_cv_path_FGREP+:} false
; then :
5999 $as_echo_n "(cached) " >&6
6001 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
6002 then ac_cv_path_FGREP
="$GREP -F"
6004 if test -z "$FGREP"; then
6005 ac_path_FGREP_found
=false
6006 # Loop through the user's path and test for each of PROGNAME-LIST
6007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6008 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6011 test -z "$as_dir" && as_dir
=.
6012 for ac_prog
in fgrep
; do
6013 for ac_exec_ext
in '' $ac_executable_extensions; do
6014 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6015 as_fn_executable_p
"$ac_path_FGREP" || continue
6016 # Check for GNU ac_path_FGREP and select it if it is found.
6017 # Check for GNU $ac_path_FGREP
6018 case `"$ac_path_FGREP" --version 2>&1` in
6020 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6023 $as_echo_n 0123456789 >"conftest.in"
6026 cat "conftest.in" "conftest.in" >"conftest.tmp"
6027 mv "conftest.tmp" "conftest.in"
6028 cp "conftest.in" "conftest.nl"
6029 $as_echo 'FGREP' >> "conftest.nl"
6030 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
6031 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
6032 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6033 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6034 # Best one so far, save it but keep looking for a better one
6035 ac_cv_path_FGREP
="$ac_path_FGREP"
6036 ac_path_FGREP_max
=$ac_count
6038 # 10*(2^10) chars as input seems more than enough
6039 test $ac_count -gt 10 && break
6041 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6044 $ac_path_FGREP_found && break 3
6049 if test -z "$ac_cv_path_FGREP"; then
6050 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6053 ac_cv_path_FGREP
=$FGREP
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6059 $as_echo "$ac_cv_path_FGREP" >&6; }
6060 FGREP
="$ac_cv_path_FGREP"
6063 test -z "$GREP" && GREP
=grep
6083 # Check whether --with-gnu-ld was given.
6084 if test "${with_gnu_ld+set}" = set; then :
6085 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
6091 if test yes = "$GCC"; then
6092 # Check if gcc -print-prog-name=ld gives a path.
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6094 $as_echo_n "checking for ld used by $CC... " >&6; }
6097 # gcc leaves a trailing carriage return, which upsets mingw
6098 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6100 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6103 # Accept absolute paths.
6105 re_direlt
='/[^/][^/]*/\.\./'
6106 # Canonicalize the pathname of ld
6107 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6108 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
6109 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6111 test -z "$LD" && LD
=$ac_prog
6114 # If it fails, then pretend we aren't using GCC.
6118 # If it is relative, then search for the first ld in PATH.
6122 elif test yes = "$with_gnu_ld"; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6124 $as_echo_n "checking for GNU ld... " >&6; }
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6127 $as_echo_n "checking for non-GNU ld... " >&6; }
6129 if ${lt_cv_path_LD+:} false
; then :
6130 $as_echo_n "(cached) " >&6
6132 if test -z "$LD"; then
6133 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6134 for ac_dir
in $PATH; do
6136 test -z "$ac_dir" && ac_dir
=.
6137 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6138 lt_cv_path_LD
=$ac_dir/$ac_prog
6139 # Check to see if the program is GNU ld. I'd rather use --version,
6140 # but apparently some variants of GNU ld only accept -v.
6141 # Break only if it was the GNU/non-GNU ld that we prefer.
6142 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6143 *GNU
* | *'with BFD'*)
6144 test no
!= "$with_gnu_ld" && break
6147 test yes != "$with_gnu_ld" && break
6154 lt_cv_path_LD
=$LD # Let the user override the test with a path.
6159 if test -n "$LD"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6161 $as_echo "$LD" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6166 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6168 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6169 if ${lt_cv_prog_gnu_ld+:} false
; then :
6170 $as_echo_n "(cached) " >&6
6172 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6173 case `$LD -v 2>&1 </dev/null` in
6174 *GNU
* | *'with BFD'*)
6175 lt_cv_prog_gnu_ld
=yes
6178 lt_cv_prog_gnu_ld
=no
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6183 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6184 with_gnu_ld
=$lt_cv_prog_gnu_ld
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6195 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6196 if ${lt_cv_path_NM+:} false
; then :
6197 $as_echo_n "(cached) " >&6
6199 if test -n "$NM"; then
6200 # Let the user override the test.
6203 lt_nm_to_check
=${ac_tool_prefix}nm
6204 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6205 lt_nm_to_check
="$lt_nm_to_check nm"
6207 for lt_tmp_nm
in $lt_nm_to_check; do
6208 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6209 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6211 test -z "$ac_dir" && ac_dir
=.
6212 tmp_nm
=$ac_dir/$lt_tmp_nm
6213 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6214 # Check to see if the nm accepts a BSD-compat flag.
6215 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6216 # nm: unknown option "B" ignored
6217 # Tru64's nm complains that /dev/null is an invalid object file
6218 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6220 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
6221 *) lt_bad_file
=/dev
/null
;;
6223 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6224 *$lt_bad_file* | *'Invalid file or object type'*)
6225 lt_cv_path_NM
="$tmp_nm -B"
6229 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6231 lt_cv_path_NM
="$tmp_nm -p"
6235 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6236 continue # so that we can try to find one that supports BSD flags
6245 : ${lt_cv_path_NM=no}
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6249 $as_echo "$lt_cv_path_NM" >&6; }
6250 if test no
!= "$lt_cv_path_NM"; then
6253 # Didn't find any BSD compatible name lister, look for dumpbin.
6254 if test -n "$DUMPBIN"; then :
6255 # Let the user override the test.
6257 if test -n "$ac_tool_prefix"; then
6258 for ac_prog
in dumpbin
"link -dump"
6260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6261 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263 $as_echo_n "checking for $ac_word... " >&6; }
6264 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6265 $as_echo_n "(cached) " >&6
6267 if test -n "$DUMPBIN"; then
6268 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6274 test -z "$as_dir" && as_dir
=.
6275 for ac_exec_ext
in '' $ac_executable_extensions; do
6276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6277 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287 DUMPBIN
=$ac_cv_prog_DUMPBIN
6288 if test -n "$DUMPBIN"; then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6290 $as_echo "$DUMPBIN" >&6; }
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293 $as_echo "no" >&6; }
6297 test -n "$DUMPBIN" && break
6300 if test -z "$DUMPBIN"; then
6301 ac_ct_DUMPBIN
=$DUMPBIN
6302 for ac_prog
in dumpbin
"link -dump"
6304 # Extract the first word of "$ac_prog", so it can be a program name with args.
6305 set dummy
$ac_prog; ac_word
=$2
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307 $as_echo_n "checking for $ac_word... " >&6; }
6308 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6309 $as_echo_n "(cached) " >&6
6311 if test -n "$ac_ct_DUMPBIN"; then
6312 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6318 test -z "$as_dir" && as_dir
=.
6319 for ac_exec_ext
in '' $ac_executable_extensions; do
6320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6321 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6332 if test -n "$ac_ct_DUMPBIN"; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6334 $as_echo "$ac_ct_DUMPBIN" >&6; }
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337 $as_echo "no" >&6; }
6341 test -n "$ac_ct_DUMPBIN" && break
6344 if test "x$ac_ct_DUMPBIN" = x
; then
6347 case $cross_compiling:$ac_tool_warned in
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6351 ac_tool_warned
=yes ;;
6353 DUMPBIN
=$ac_ct_DUMPBIN
6357 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6359 DUMPBIN
="$DUMPBIN -symbols -headers"
6367 if test : != "$DUMPBIN"; then
6371 test -z "$NM" && NM
=nm
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6379 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6380 if ${lt_cv_nm_interface+:} false
; then :
6381 $as_echo_n "(cached) " >&6
6383 lt_cv_nm_interface
="BSD nm"
6384 echo "int some_variable = 0;" > conftest.
$ac_ext
6385 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6386 (eval "$ac_compile" 2>conftest.err
)
6387 cat conftest.err
>&5
6388 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6389 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6390 cat conftest.err
>&5
6391 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6392 cat conftest.out
>&5
6393 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6394 lt_cv_nm_interface
="MS dumpbin"
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6399 $as_echo "$lt_cv_nm_interface" >&6; }
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6402 $as_echo_n "checking whether ln -s works... " >&6; }
6404 if test "$LN_S" = "ln -s"; then
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6406 $as_echo "yes" >&6; }
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6409 $as_echo "no, using $LN_S" >&6; }
6412 # find the maximum length of command line arguments
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6414 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6415 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6416 $as_echo_n "(cached) " >&6
6423 # On DJGPP, this test can blow up pretty badly due to problems in libc
6424 # (any single argument exceeding 2000 bytes causes a buffer overrun
6425 # during glob expansion). Even if it were fixed, the result of this
6426 # check would be larger than it should be.
6427 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6431 # Under GNU Hurd, this test is not required because there is
6432 # no limit to the length of command line arguments.
6433 # Libtool will interpret -1 as no limit whatsoever
6434 lt_cv_sys_max_cmd_len
=-1;
6437 cygwin
* | mingw
* | cegcc
*)
6438 # On Win9x/ME, this test blows up -- it succeeds, but takes
6439 # about 5 minutes as the teststring grows exponentially.
6440 # Worse, since 9x/ME are not pre-emptively multitasking,
6441 # you end up with a "frozen" computer, even though with patience
6442 # the test eventually succeeds (with a max line length of 256k).
6443 # Instead, let's just punt: use the minimum linelength reported by
6444 # all of the supported platforms: 8192 (on NT/2K/XP).
6445 lt_cv_sys_max_cmd_len
=8192;
6449 # On MiNT this can take a long time and run out of memory.
6450 lt_cv_sys_max_cmd_len
=8192;
6454 # On AmigaOS with pdksh, this test takes hours, literally.
6455 # So we just punt and use a minimum line length of 8192.
6456 lt_cv_sys_max_cmd_len
=8192;
6459 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
6460 # This has been around since 386BSD, at least. Likely further.
6461 if test -x /sbin
/sysctl
; then
6462 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6463 elif test -x /usr
/sbin
/sysctl
; then
6464 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6466 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6468 # And add a safety zone
6469 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6470 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6474 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6475 lt_cv_sys_max_cmd_len
=196608
6479 # The test takes a long time on OS/2.
6480 lt_cv_sys_max_cmd_len
=8192
6484 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6485 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6486 # nice to cause kernel panics so lets avoid the loop below.
6487 # First set a reasonable default.
6488 lt_cv_sys_max_cmd_len
=16384
6490 if test -x /sbin
/sysconfig
; then
6491 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6492 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6497 lt_cv_sys_max_cmd_len
=102400
6499 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6500 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6501 if test -n "$kargmax"; then
6502 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6504 lt_cv_sys_max_cmd_len
=32768
6508 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6509 if test -n "$lt_cv_sys_max_cmd_len" && \
6510 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
6511 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6512 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6514 # Make teststring a little bigger before we do anything with it.
6515 # a 1K string should be a reasonable start.
6516 for i
in 1 2 3 4 5 6 7 8; do
6517 teststring
=$teststring$teststring
6519 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6520 # If test is not a shell built-in, we'll probably end up computing a
6521 # maximum length that is only half of the actual maximum length, but
6523 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
6524 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6525 test 17 != "$i" # 1/2 MB should be enough
6528 teststring
=$teststring$teststring
6530 # Only check the string length outside the loop.
6531 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6533 # Add a significant safety factor because C++ compilers can tack on
6534 # massive amounts of additional arguments before passing them to the
6535 # linker. It appears as though 1/2 is a usable value.
6536 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6543 if test -n "$lt_cv_sys_max_cmd_len"; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6545 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6548 $as_echo "none" >&6; }
6550 max_cmd_len
=$lt_cv_sys_max_cmd_len
6561 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
6571 # test EBCDIC or ASCII
6572 case `echo X|tr X '\101'` in
6573 A
) # ASCII based system
6574 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6575 lt_SP2NL
='tr \040 \012'
6576 lt_NL2SP
='tr \015\012 \040\040'
6578 *) # EBCDIC based system
6579 lt_SP2NL
='tr \100 \n'
6580 lt_NL2SP
='tr \r\n \100\100'
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6593 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6594 if ${lt_cv_to_host_file_cmd+:} false
; then :
6595 $as_echo_n "(cached) " >&6
6600 *-*-mingw* ) # actually msys
6601 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6604 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6606 * ) # otherwise, assume *nix
6607 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6613 *-*-mingw* ) # actually msys
6614 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6617 lt_cv_to_host_file_cmd
=func_convert_file_noop
6619 * ) # otherwise, assume *nix
6620 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6624 * ) # unhandled hosts (and "normal" native builds)
6625 lt_cv_to_host_file_cmd
=func_convert_file_noop
6631 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6633 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6640 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6641 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6642 $as_echo_n "(cached) " >&6
6644 #assume ordinary cross tools, or native build.
6645 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6649 *-*-mingw* ) # actually msys
6650 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6658 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6660 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6667 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6668 if ${lt_cv_ld_reload_flag+:} false
; then :
6669 $as_echo_n "(cached) " >&6
6671 lt_cv_ld_reload_flag
='-r'
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6674 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6675 reload_flag
=$lt_cv_ld_reload_flag
6676 case $reload_flag in
6678 *) reload_flag
=" $reload_flag" ;;
6680 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6682 cygwin
* | mingw
* | pw32
* | cegcc
*)
6683 if test yes != "$GCC"; then
6688 if test yes = "$GCC"; then
6689 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6691 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6704 if test -n "$ac_tool_prefix"; then
6705 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6706 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708 $as_echo_n "checking for $ac_word... " >&6; }
6709 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6710 $as_echo_n "(cached) " >&6
6712 if test -n "$OBJDUMP"; then
6713 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6719 test -z "$as_dir" && as_dir
=.
6720 for ac_exec_ext
in '' $ac_executable_extensions; do
6721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6722 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 OBJDUMP
=$ac_cv_prog_OBJDUMP
6733 if test -n "$OBJDUMP"; then
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6735 $as_echo "$OBJDUMP" >&6; }
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 $as_echo "no" >&6; }
6743 if test -z "$ac_cv_prog_OBJDUMP"; then
6744 ac_ct_OBJDUMP
=$OBJDUMP
6745 # Extract the first word of "objdump", so it can be a program name with args.
6746 set dummy objdump
; ac_word
=$2
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748 $as_echo_n "checking for $ac_word... " >&6; }
6749 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6750 $as_echo_n "(cached) " >&6
6752 if test -n "$ac_ct_OBJDUMP"; then
6753 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6759 test -z "$as_dir" && as_dir
=.
6760 for ac_exec_ext
in '' $ac_executable_extensions; do
6761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6762 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6773 if test -n "$ac_ct_OBJDUMP"; then
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6775 $as_echo "$ac_ct_OBJDUMP" >&6; }
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6778 $as_echo "no" >&6; }
6781 if test "x$ac_ct_OBJDUMP" = x
; then
6784 case $cross_compiling:$ac_tool_warned in
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6788 ac_tool_warned
=yes ;;
6790 OBJDUMP
=$ac_ct_OBJDUMP
6793 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6796 test -z "$OBJDUMP" && OBJDUMP
=objdump
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6807 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6808 if ${lt_cv_deplibs_check_method+:} false
; then :
6809 $as_echo_n "(cached) " >&6
6811 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6812 lt_cv_file_magic_test_file
=
6813 lt_cv_deplibs_check_method
='unknown'
6814 # Need to set the preceding variable on all platforms that support
6815 # interlibrary dependencies.
6816 # 'none' -- dependencies not supported.
6817 # 'unknown' -- same as none, but documents that we really don't know.
6818 # 'pass_all' -- all dependencies passed with no checks.
6819 # 'test_compile' -- check by making test program.
6820 # 'file_magic [[regex]]' -- check by looking for files in library path
6821 # that responds to the $file_magic_cmd with a given extended regex.
6822 # If you have 'file' or equivalent on your system and you're not sure
6823 # whether 'pass_all' will *always* work, you probably want this one.
6827 lt_cv_deplibs_check_method
=pass_all
6831 lt_cv_deplibs_check_method
=pass_all
6835 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6836 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6837 lt_cv_file_magic_test_file
=/shlib
/libc.so
6841 # func_win32_libid is a shell function defined in ltmain.sh
6842 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6843 lt_cv_file_magic_cmd
='func_win32_libid'
6847 # Base MSYS/MinGW do not provide the 'file' command needed by
6848 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6849 # unless we find 'file', for example because we are cross-compiling.
6850 if ( file / ) >/dev
/null
2>&1; then
6851 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6852 lt_cv_file_magic_cmd
='func_win32_libid'
6854 # Keep this pattern in sync with the one in func_win32_libid.
6855 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6856 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6861 # use the weaker test based on 'objdump'. See mingw*.
6862 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6863 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6866 darwin
* | rhapsody
*)
6867 lt_cv_deplibs_check_method
=pass_all
6870 freebsd
* | dragonfly
*)
6871 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6874 # Not sure whether the presence of OpenBSD here was a mistake.
6875 # Let's accept both of them until this is cleared up.
6876 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6877 lt_cv_file_magic_cmd
=/usr
/bin
/file
6878 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6882 lt_cv_deplibs_check_method
=pass_all
6887 lt_cv_deplibs_check_method
=pass_all
6890 hpux10.20
* | hpux11
*)
6891 lt_cv_file_magic_cmd
=/usr
/bin
/file
6894 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6895 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
6898 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]'
6899 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
6902 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6903 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6909 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6910 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6913 irix5
* | irix6
* | nonstopux
*)
6915 *-32|*"-32 ") libmagic
=32-bit;;
6916 *-n32|*"-n32 ") libmagic
=N32
;;
6917 *-64|*"-64 ") libmagic
=64-bit;;
6918 *) libmagic
=never
-match;;
6920 lt_cv_deplibs_check_method
=pass_all
6923 # This must be glibc/ELF.
6924 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
6925 lt_cv_deplibs_check_method
=pass_all
6929 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6930 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6932 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6937 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6938 lt_cv_file_magic_cmd
=/usr
/bin
/file
6939 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6943 lt_cv_deplibs_check_method
=pass_all
6947 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6948 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6950 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6954 osf3
* | osf4
* | osf5
*)
6955 lt_cv_deplibs_check_method
=pass_all
6959 lt_cv_deplibs_check_method
=pass_all
6963 lt_cv_deplibs_check_method
=pass_all
6966 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6967 lt_cv_deplibs_check_method
=pass_all
6971 case $host_vendor in
6973 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]'
6974 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6977 lt_cv_deplibs_check_method
=pass_all
6980 lt_cv_file_magic_cmd
='/bin/file'
6981 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6984 lt_cv_file_magic_cmd
='/bin/file'
6985 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6986 lt_cv_file_magic_test_file
=/lib
/libc.so
6989 lt_cv_deplibs_check_method
=pass_all
6992 lt_cv_deplibs_check_method
=pass_all
6998 lt_cv_deplibs_check_method
=pass_all
7001 lt_cv_deplibs_check_method
=pass_all
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7007 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7011 if test "$build" = "$host"; then
7014 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
7017 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7023 file_magic_cmd
=$lt_cv_file_magic_cmd
7024 deplibs_check_method
=$lt_cv_deplibs_check_method
7025 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7048 if test -n "$ac_tool_prefix"; then
7049 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7050 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7052 $as_echo_n "checking for $ac_word... " >&6; }
7053 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7054 $as_echo_n "(cached) " >&6
7056 if test -n "$DLLTOOL"; then
7057 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7063 test -z "$as_dir" && as_dir
=.
7064 for ac_exec_ext
in '' $ac_executable_extensions; do
7065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7066 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 DLLTOOL
=$ac_cv_prog_DLLTOOL
7077 if test -n "$DLLTOOL"; then
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7079 $as_echo "$DLLTOOL" >&6; }
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 $as_echo "no" >&6; }
7087 if test -z "$ac_cv_prog_DLLTOOL"; then
7088 ac_ct_DLLTOOL
=$DLLTOOL
7089 # Extract the first word of "dlltool", so it can be a program name with args.
7090 set dummy dlltool
; ac_word
=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7094 $as_echo_n "(cached) " >&6
7096 if test -n "$ac_ct_DLLTOOL"; then
7097 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir
=.
7104 for ac_exec_ext
in '' $ac_executable_extensions; do
7105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7106 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7117 if test -n "$ac_ct_DLLTOOL"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7119 $as_echo "$ac_ct_DLLTOOL" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 $as_echo "no" >&6; }
7125 if test "x$ac_ct_DLLTOOL" = x
; then
7128 case $cross_compiling:$ac_tool_warned in
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7132 ac_tool_warned
=yes ;;
7134 DLLTOOL
=$ac_ct_DLLTOOL
7137 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7140 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7152 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7153 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
7154 $as_echo_n "(cached) " >&6
7156 lt_cv_sharedlib_from_linklib_cmd
='unknown'
7159 cygwin
* | mingw
* | pw32
* | cegcc
*)
7160 # two different shell functions defined in ltmain.sh;
7161 # decide which one to use based on capabilities of $DLLTOOL
7162 case `$DLLTOOL --help 2>&1` in
7163 *--identify-strict*)
7164 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
7167 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
7172 # fallback: assume linklib IS sharedlib
7173 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7179 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7180 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
7181 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
7189 if test -n "$ac_tool_prefix"; then
7192 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7193 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7195 $as_echo_n "checking for $ac_word... " >&6; }
7196 if ${ac_cv_prog_AR+:} false
; then :
7197 $as_echo_n "(cached) " >&6
7199 if test -n "$AR"; then
7200 ac_cv_prog_AR
="$AR" # Let the user override the test.
7202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7206 test -z "$as_dir" && as_dir
=.
7207 for ac_exec_ext
in '' $ac_executable_extensions; do
7208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7220 if test -n "$AR"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7222 $as_echo "$AR" >&6; }
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7229 test -n "$AR" && break
7232 if test -z "$AR"; then
7236 # Extract the first word of "$ac_prog", so it can be a program name with args.
7237 set dummy
$ac_prog; ac_word
=$2
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 $as_echo_n "checking for $ac_word... " >&6; }
7240 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7241 $as_echo_n "(cached) " >&6
7243 if test -n "$ac_ct_AR"; then
7244 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7250 test -z "$as_dir" && as_dir
=.
7251 for ac_exec_ext
in '' $ac_executable_extensions; do
7252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7253 ac_cv_prog_ac_ct_AR
="$ac_prog"
7254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7264 if test -n "$ac_ct_AR"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7266 $as_echo "$ac_ct_AR" >&6; }
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 $as_echo "no" >&6; }
7273 test -n "$ac_ct_AR" && break
7276 if test "x$ac_ct_AR" = x
; then
7279 case $cross_compiling:$ac_tool_warned in
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7283 ac_tool_warned
=yes ;;
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7303 $as_echo_n "checking for archiver @FILE support... " >&6; }
7304 if ${lt_cv_ar_at_file+:} false
; then :
7305 $as_echo_n "(cached) " >&6
7308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h. */
7319 if ac_fn_c_try_compile
"$LINENO"; then :
7320 echo conftest.
$ac_objext > conftest.lst
7321 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7322 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7323 (eval $lt_ar_try) 2>&5
7325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7326 test $ac_status = 0; }
7327 if test 0 -eq "$ac_status"; then
7328 # Ensure the archiver fails upon bogus file names.
7329 rm -f conftest.
$ac_objext libconftest.a
7330 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7331 (eval $lt_ar_try) 2>&5
7333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7334 test $ac_status = 0; }
7335 if test 0 -ne "$ac_status"; then
7339 rm -f conftest.
* libconftest.a
7342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7346 $as_echo "$lt_cv_ar_at_file" >&6; }
7348 if test no
= "$lt_cv_ar_at_file"; then
7351 archiver_list_spec
=$lt_cv_ar_at_file
7360 if test -n "$ac_tool_prefix"; then
7361 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7362 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if ${ac_cv_prog_STRIP+:} false
; then :
7366 $as_echo_n "(cached) " >&6
7368 if test -n "$STRIP"; then
7369 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7375 test -z "$as_dir" && as_dir
=.
7376 for ac_exec_ext
in '' $ac_executable_extensions; do
7377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7378 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 STRIP
=$ac_cv_prog_STRIP
7389 if test -n "$STRIP"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7391 $as_echo "$STRIP" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7399 if test -z "$ac_cv_prog_STRIP"; then
7401 # Extract the first word of "strip", so it can be a program name with args.
7402 set dummy strip
; ac_word
=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7406 $as_echo_n "(cached) " >&6
7408 if test -n "$ac_ct_STRIP"; then
7409 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir
=.
7416 for ac_exec_ext
in '' $ac_executable_extensions; do
7417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7418 ac_cv_prog_ac_ct_STRIP
="strip"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7429 if test -n "$ac_ct_STRIP"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7431 $as_echo "$ac_ct_STRIP" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7437 if test "x$ac_ct_STRIP" = x
; then
7440 case $cross_compiling:$ac_tool_warned in
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7444 ac_tool_warned
=yes ;;
7449 STRIP
="$ac_cv_prog_STRIP"
7452 test -z "$STRIP" && STRIP
=:
7459 if test -n "$ac_tool_prefix"; then
7460 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7461 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7463 $as_echo_n "checking for $ac_word... " >&6; }
7464 if ${ac_cv_prog_RANLIB+:} false
; then :
7465 $as_echo_n "(cached) " >&6
7467 if test -n "$RANLIB"; then
7468 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7474 test -z "$as_dir" && as_dir
=.
7475 for ac_exec_ext
in '' $ac_executable_extensions; do
7476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7477 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 RANLIB
=$ac_cv_prog_RANLIB
7488 if test -n "$RANLIB"; then
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7490 $as_echo "$RANLIB" >&6; }
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7493 $as_echo "no" >&6; }
7498 if test -z "$ac_cv_prog_RANLIB"; then
7499 ac_ct_RANLIB
=$RANLIB
7500 # Extract the first word of "ranlib", so it can be a program name with args.
7501 set dummy ranlib
; ac_word
=$2
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7503 $as_echo_n "checking for $ac_word... " >&6; }
7504 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7505 $as_echo_n "(cached) " >&6
7507 if test -n "$ac_ct_RANLIB"; then
7508 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7514 test -z "$as_dir" && as_dir
=.
7515 for ac_exec_ext
in '' $ac_executable_extensions; do
7516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7517 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7528 if test -n "$ac_ct_RANLIB"; then
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7530 $as_echo "$ac_ct_RANLIB" >&6; }
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7533 $as_echo "no" >&6; }
7536 if test "x$ac_ct_RANLIB" = x
; then
7539 case $cross_compiling:$ac_tool_warned in
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7543 ac_tool_warned
=yes ;;
7545 RANLIB
=$ac_ct_RANLIB
7548 RANLIB
="$ac_cv_prog_RANLIB"
7551 test -z "$RANLIB" && RANLIB
=:
7558 # Determine commands to create old-style static archives.
7559 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7560 old_postinstall_cmds
='chmod 644 $oldlib'
7561 old_postuninstall_cmds
=
7563 if test -n "$RANLIB"; then
7566 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7569 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7572 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7577 lock_old_archive_extraction
=yes ;;
7579 lock_old_archive_extraction
=no
;;
7620 # If no C compiler was specified, use CC.
7623 # If no C compiler flags were specified, use CFLAGS.
7624 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7626 # Allow CC to be a program name with arguments.
7630 # Check for command to grab the raw symbol name followed by C symbol from nm.
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7632 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7633 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7634 $as_echo_n "(cached) " >&6
7637 # These are sane defaults that work on at least a few old systems.
7638 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7640 # Character class describing NM global symbol codes.
7641 symcode
='[BCDEGRST]'
7643 # Regexp to match symbols that can be accessed directly from C.
7644 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7646 # Define system-specific variables.
7651 cygwin
* | mingw
* | pw32
* | cegcc
*)
7652 symcode
='[ABCDGISTW]'
7655 if test ia64
= "$host_cpu"; then
7656 symcode
='[ABCDEGRST]'
7660 symcode
='[BCDEGRST]'
7663 symcode
='[BCDEGQRST]'
7674 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7682 # If we're using GNU nm, then use its standard symbol codes.
7683 case `$NM -V 2>&1` in
7684 *GNU
* | *'with BFD'*)
7685 symcode
='[ABCDGIRSTW]' ;;
7688 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7689 # Gets list of data symbols to import.
7690 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7691 # Adjust the below global symbol transforms to fixup imported variables.
7692 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7693 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7694 lt_c_name_lib_hook
="\
7695 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7696 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7698 # Disable hooks by default.
7699 lt_cv_sys_global_symbol_to_import
=
7705 # Transform an extracted symbol line into a proper C declaration.
7706 # Some systems (esp. on ia64) link data and code symbols differently,
7707 # so use this general approach.
7708 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
7710 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7711 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7713 # Transform an extracted symbol line into symbol name and symbol address
7714 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
7716 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7717 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7719 # Transform an extracted symbol line into symbol name with lib prefix and
7721 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
7722 $lt_c_name_lib_hook\
7723 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7724 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7725 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7727 # Handle CRLF in mingw tool chain
7731 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7735 # Try without a prefix underscore, then with it.
7736 for ac_symprfx
in "" "_"; do
7738 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7739 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7741 # Write the raw and C identifiers.
7742 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7743 # Fake it for dumpbin and say T for any non-static function,
7744 # D for any global variable and I for any imported variable.
7745 # Also find C++ and __fastcall symbols from MSVC++,
7746 # which start with @ or ?.
7747 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7748 " {last_section=section; section=\$ 3};"\
7749 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7750 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7751 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7752 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7753 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7754 " \$ 0!~/External *\|/{next};"\
7755 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7756 " {if(hide[section]) next};"\
7757 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7758 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7759 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7760 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7761 " ' prfx=^$ac_symprfx"
7763 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7765 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7767 # Check to see that the pipe works correctly.
7771 cat > conftest.
$ac_ext <<_LT_EOF
7776 void nm_test_func(void);
7777 void nm_test_func(void){}
7781 int main(){nm_test_var='a';nm_test_func();return(0);}
7784 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7785 (eval $ac_compile) 2>&5
7787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7788 test $ac_status = 0; }; then
7789 # Now try to grab the symbols.
7791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7792 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7795 test $ac_status = 0; } && test -s "$nlist"; then
7796 # Try sorting and uniquifying the output.
7797 if sort "$nlist" | uniq > "$nlist"T
; then
7798 mv -f "$nlist"T
"$nlist"
7803 # Make sure that we snagged all the symbols we need.
7804 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7805 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7806 cat <<_LT_EOF > conftest.$ac_ext
7807 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7808 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7809 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7810 relocations are performed -- see ld's documentation on pseudo-relocs. */
7811 # define LT_DLSYM_CONST
7812 #elif defined __osf__
7813 /* This system does not cope well with relocations in const data. */
7814 # define LT_DLSYM_CONST
7816 # define LT_DLSYM_CONST const
7824 # Now generate the symbol file.
7825 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7827 cat <<_LT_EOF >> conftest.$ac_ext
7829 /* The mapping between symbol names and symbols. */
7830 LT_DLSYM_CONST struct {
7834 lt__PROGRAM__LTX_preloaded_symbols[] =
7836 { "@PROGRAM@", (void *) 0 },
7838 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
7839 cat <<\_LT_EOF
>> conftest.
$ac_ext
7843 /* This works around a problem
in FreeBSD linker
*/
7844 #ifdef FREEBSD_WORKAROUND
7845 static const void
*lt_preloaded_setup
() {
7846 return lt__PROGRAM__LTX_preloaded_symbols
;
7854 # Now try linking the two files.
7855 mv conftest.
$ac_objext conftstm.
$ac_objext
7856 lt_globsym_save_LIBS
=$LIBS
7857 lt_globsym_save_CFLAGS
=$CFLAGS
7858 LIBS
=conftstm.
$ac_objext
7859 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7861 (eval $ac_link) 2>&5
7863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7864 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
7867 LIBS
=$lt_globsym_save_LIBS
7868 CFLAGS
=$lt_globsym_save_CFLAGS
7870 echo "cannot find nm_test_func in $nlist" >&5
7873 echo "cannot find nm_test_var in $nlist" >&5
7876 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7879 echo "$progname: failed program was:" >&5
7880 cat conftest.
$ac_ext >&5
7882 rm -rf conftest
* conftst
*
7884 # Do not use the global_symbol_pipe unless it works.
7885 if test yes = "$pipe_works"; then
7888 lt_cv_sys_global_symbol_pipe
=
7894 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7895 lt_cv_sys_global_symbol_to_cdecl
=
7897 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7899 $as_echo "failed" >&6; }
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7902 $as_echo "ok" >&6; }
7905 # Response file support.
7906 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7907 nm_file_list_spec
='@'
7908 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
7909 nm_file_list_spec
='@'
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7949 $as_echo_n "checking for sysroot... " >&6; }
7951 # Check whether --with-sysroot was given.
7952 if test "${with_sysroot+set}" = set; then :
7953 withval
=$with_sysroot;
7960 case $with_sysroot in #(
7962 if test yes = "$GCC"; then
7963 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7967 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7973 $as_echo "$with_sysroot" >&6; }
7974 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7979 $as_echo "${lt_sysroot:-no}" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7986 $as_echo_n "checking for a working dd... " >&6; }
7987 if ${ac_cv_path_lt_DD+:} false
; then :
7988 $as_echo_n "(cached) " >&6
7990 printf 0123456789abcdef0123456789abcdef
>conftest.i
7991 cat conftest.i conftest.i
>conftest2.i
7993 if test -z "$lt_DD"; then
7994 ac_path_lt_DD_found
=false
7995 # Loop through the user's path and test for each of PROGNAME-LIST
7996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8000 test -z "$as_dir" && as_dir
=.
8001 for ac_prog
in dd; do
8002 for ac_exec_ext
in '' $ac_executable_extensions; do
8003 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
8004 as_fn_executable_p
"$ac_path_lt_DD" || continue
8005 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8006 cmp -s conftest.i conftest.out \
8007 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
8009 $ac_path_lt_DD_found && break 3
8014 if test -z "$ac_cv_path_lt_DD"; then
8018 ac_cv_path_lt_DD
=$lt_DD
8021 rm -f conftest.i conftest2.i conftest.out
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8024 $as_echo "$ac_cv_path_lt_DD" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8028 $as_echo_n "checking how to truncate binary pipes... " >&6; }
8029 if ${lt_cv_truncate_bin+:} false
; then :
8030 $as_echo_n "(cached) " >&6
8032 printf 0123456789abcdef0123456789abcdef
>conftest.i
8033 cat conftest.i conftest.i
>conftest2.i
8035 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8036 cmp -s conftest.i conftest.out \
8037 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
8039 rm -f conftest.i conftest2.i conftest.out
8040 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8043 $as_echo "$lt_cv_truncate_bin" >&6; }
8051 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
8054 for cc_temp
in $
*""; do
8056 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8057 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8062 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8065 # Check whether --enable-libtool-lock was given.
8066 if test "${enable_libtool_lock+set}" = set; then :
8067 enableval
=$enable_libtool_lock;
8070 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
8072 # Some flags need to be propagated to the compiler or linker for good
8076 # Find out what ABI is being produced by ac_compile, and set mode
8077 # options accordingly.
8078 echo 'int i;' > conftest.
$ac_ext
8079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8080 (eval $ac_compile) 2>&5
8082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8083 test $ac_status = 0; }; then
8084 case `/usr/bin/file conftest.$ac_objext` in
8096 # Find out what ABI is being produced by ac_compile, and set linker
8097 # options accordingly.
8098 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8100 (eval $ac_compile) 2>&5
8102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8103 test $ac_status = 0; }; then
8104 if test yes = "$lt_cv_prog_gnu_ld"; then
8105 case `/usr/bin/file conftest.$ac_objext` in
8107 LD
="${LD-ld} -melf32bsmip"
8110 LD
="${LD-ld} -melf32bmipn32"
8113 LD
="${LD-ld} -melf64bmip"
8117 case `/usr/bin/file conftest.$ac_objext` in
8134 # Find out what ABI is being produced by ac_compile, and set linker
8135 # options accordingly.
8136 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8138 (eval $ac_compile) 2>&5
8140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8141 test $ac_status = 0; }; then
8143 case `/usr/bin/file conftest.$ac_objext` in
8151 case `/usr/bin/file conftest.$ac_objext` in
8153 emul
="${emul}btsmip"
8156 emul
="${emul}ltsmip"
8159 case `/usr/bin/file conftest.$ac_objext` in
8164 LD
="${LD-ld} -m $emul"
8169 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|powerpc
*-*linux
*| \
8170 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8171 # Find out what ABI is being produced by ac_compile, and set linker
8172 # options accordingly. Note that the listed cases only cover the
8173 # situations where additional linker options are needed (such as when
8174 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8175 # vice versa); the common cases where no linker options are needed do
8176 # not appear in the list.
8177 echo 'int i;' > conftest.
$ac_ext
8178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8179 (eval $ac_compile) 2>&5
8181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8182 test $ac_status = 0; }; then
8183 case `/usr/bin/file conftest.o` in
8186 x86_64
-*kfreebsd
*-gnu)
8187 LD
="${LD-ld} -m elf_i386_fbsd"
8190 case `/usr/bin/file conftest.o` in
8192 LD
="${LD-ld} -m elf32_x86_64"
8195 LD
="${LD-ld} -m elf_i386"
8199 powerpc64le
-*linux
*)
8200 LD
="${LD-ld} -m elf32lppclinux"
8203 LD
="${LD-ld} -m elf32ppclinux"
8206 LD
="${LD-ld} -m elf_s390"
8209 LD
="${LD-ld} -m elf32_sparc"
8215 x86_64
-*kfreebsd
*-gnu)
8216 LD
="${LD-ld} -m elf_x86_64_fbsd"
8219 LD
="${LD-ld} -m elf_x86_64"
8222 LD
="${LD-ld} -m elf64lppc"
8225 LD
="${LD-ld} -m elf64ppc"
8227 s390
*-*linux
*|s390
*-*tpf
*)
8228 LD
="${LD-ld} -m elf64_s390"
8231 LD
="${LD-ld} -m elf64_sparc"
8241 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8243 CFLAGS
="$CFLAGS -belf"
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8245 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8246 if ${lt_cv_cc_needs_belf+:} false
; then :
8247 $as_echo_n "(cached) " >&6
8250 ac_cpp
='$CPP $CPPFLAGS'
8251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8266 if ac_fn_c_try_link
"$LINENO"; then :
8267 lt_cv_cc_needs_belf
=yes
8269 lt_cv_cc_needs_belf
=no
8271 rm -f core conftest.err conftest.
$ac_objext \
8272 conftest
$ac_exeext conftest.
$ac_ext
8274 ac_cpp
='$CPP $CPPFLAGS'
8275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8281 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8282 if test yes != "$lt_cv_cc_needs_belf"; then
8283 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8288 # Find out what ABI is being produced by ac_compile, and set linker
8289 # options accordingly.
8290 echo 'int i;' > conftest.
$ac_ext
8291 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8292 (eval $ac_compile) 2>&5
8294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8295 test $ac_status = 0; }; then
8296 case `/usr/bin/file conftest.o` in
8298 case $lt_cv_prog_gnu_ld in
8301 i?
86-*-solaris*|x86_64
-*-solaris*)
8302 LD
="${LD-ld} -m elf_x86_64"
8305 LD
="${LD-ld} -m elf64_sparc"
8308 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8309 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
8314 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8326 need_locks
=$enable_libtool_lock
8328 if test -n "$ac_tool_prefix"; then
8329 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8330 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8332 $as_echo_n "checking for $ac_word... " >&6; }
8333 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
8334 $as_echo_n "(cached) " >&6
8336 if test -n "$MANIFEST_TOOL"; then
8337 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
8339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8343 test -z "$as_dir" && as_dir
=.
8344 for ac_exec_ext
in '' $ac_executable_extensions; do
8345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8346 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
8347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8356 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
8357 if test -n "$MANIFEST_TOOL"; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8359 $as_echo "$MANIFEST_TOOL" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8362 $as_echo "no" >&6; }
8367 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8368 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
8369 # Extract the first word of "mt", so it can be a program name with args.
8370 set dummy mt
; ac_word
=$2
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8372 $as_echo_n "checking for $ac_word... " >&6; }
8373 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
8374 $as_echo_n "(cached) " >&6
8376 if test -n "$ac_ct_MANIFEST_TOOL"; then
8377 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8383 test -z "$as_dir" && as_dir
=.
8384 for ac_exec_ext
in '' $ac_executable_extensions; do
8385 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8386 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
8387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8396 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8397 if test -n "$ac_ct_MANIFEST_TOOL"; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8399 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402 $as_echo "no" >&6; }
8405 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
8408 case $cross_compiling:$ac_tool_warned in
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8412 ac_tool_warned
=yes ;;
8414 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
8417 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
8420 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8422 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8423 if ${lt_cv_path_mainfest_tool+:} false
; then :
8424 $as_echo_n "(cached) " >&6
8426 lt_cv_path_mainfest_tool
=no
8427 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8428 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8429 cat conftest.err
>&5
8430 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8431 lt_cv_path_mainfest_tool
=yes
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8436 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8437 if test yes != "$lt_cv_path_mainfest_tool"; then
8447 rhapsody
* | darwin
*)
8448 if test -n "$ac_tool_prefix"; then
8449 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8450 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8452 $as_echo_n "checking for $ac_word... " >&6; }
8453 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8454 $as_echo_n "(cached) " >&6
8456 if test -n "$DSYMUTIL"; then
8457 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8463 test -z "$as_dir" && as_dir
=.
8464 for ac_exec_ext
in '' $ac_executable_extensions; do
8465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8466 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8476 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8477 if test -n "$DSYMUTIL"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8479 $as_echo "$DSYMUTIL" >&6; }
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8487 if test -z "$ac_cv_prog_DSYMUTIL"; then
8488 ac_ct_DSYMUTIL
=$DSYMUTIL
8489 # Extract the first word of "dsymutil", so it can be a program name with args.
8490 set dummy dsymutil
; ac_word
=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8494 $as_echo_n "(cached) " >&6
8496 if test -n "$ac_ct_DSYMUTIL"; then
8497 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir
=.
8504 for ac_exec_ext
in '' $ac_executable_extensions; do
8505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8506 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8516 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8517 if test -n "$ac_ct_DSYMUTIL"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8519 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8525 if test "x$ac_ct_DSYMUTIL" = x
; then
8528 case $cross_compiling:$ac_tool_warned in
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8532 ac_tool_warned
=yes ;;
8534 DSYMUTIL
=$ac_ct_DSYMUTIL
8537 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8540 if test -n "$ac_tool_prefix"; then
8541 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8542 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8544 $as_echo_n "checking for $ac_word... " >&6; }
8545 if ${ac_cv_prog_NMEDIT+:} false
; then :
8546 $as_echo_n "(cached) " >&6
8548 if test -n "$NMEDIT"; then
8549 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8555 test -z "$as_dir" && as_dir
=.
8556 for ac_exec_ext
in '' $ac_executable_extensions; do
8557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8558 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8568 NMEDIT
=$ac_cv_prog_NMEDIT
8569 if test -n "$NMEDIT"; then
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8571 $as_echo "$NMEDIT" >&6; }
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8574 $as_echo "no" >&6; }
8579 if test -z "$ac_cv_prog_NMEDIT"; then
8580 ac_ct_NMEDIT
=$NMEDIT
8581 # Extract the first word of "nmedit", so it can be a program name with args.
8582 set dummy nmedit
; ac_word
=$2
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584 $as_echo_n "checking for $ac_word... " >&6; }
8585 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8586 $as_echo_n "(cached) " >&6
8588 if test -n "$ac_ct_NMEDIT"; then
8589 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8595 test -z "$as_dir" && as_dir
=.
8596 for ac_exec_ext
in '' $ac_executable_extensions; do
8597 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8598 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8608 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8609 if test -n "$ac_ct_NMEDIT"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8611 $as_echo "$ac_ct_NMEDIT" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8617 if test "x$ac_ct_NMEDIT" = x
; then
8620 case $cross_compiling:$ac_tool_warned in
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8624 ac_tool_warned
=yes ;;
8626 NMEDIT
=$ac_ct_NMEDIT
8629 NMEDIT
="$ac_cv_prog_NMEDIT"
8632 if test -n "$ac_tool_prefix"; then
8633 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8634 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8636 $as_echo_n "checking for $ac_word... " >&6; }
8637 if ${ac_cv_prog_LIPO+:} false
; then :
8638 $as_echo_n "(cached) " >&6
8640 if test -n "$LIPO"; then
8641 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8647 test -z "$as_dir" && as_dir
=.
8648 for ac_exec_ext
in '' $ac_executable_extensions; do
8649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8650 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8660 LIPO
=$ac_cv_prog_LIPO
8661 if test -n "$LIPO"; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8663 $as_echo "$LIPO" >&6; }
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666 $as_echo "no" >&6; }
8671 if test -z "$ac_cv_prog_LIPO"; then
8673 # Extract the first word of "lipo", so it can be a program name with args.
8674 set dummy lipo
; ac_word
=$2
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8676 $as_echo_n "checking for $ac_word... " >&6; }
8677 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8678 $as_echo_n "(cached) " >&6
8680 if test -n "$ac_ct_LIPO"; then
8681 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8687 test -z "$as_dir" && as_dir
=.
8688 for ac_exec_ext
in '' $ac_executable_extensions; do
8689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_prog_ac_ct_LIPO
="lipo"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8700 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8701 if test -n "$ac_ct_LIPO"; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8703 $as_echo "$ac_ct_LIPO" >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8709 if test "x$ac_ct_LIPO" = x
; then
8712 case $cross_compiling:$ac_tool_warned in
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8716 ac_tool_warned
=yes ;;
8721 LIPO
="$ac_cv_prog_LIPO"
8724 if test -n "$ac_tool_prefix"; then
8725 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8726 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8728 $as_echo_n "checking for $ac_word... " >&6; }
8729 if ${ac_cv_prog_OTOOL+:} false
; then :
8730 $as_echo_n "(cached) " >&6
8732 if test -n "$OTOOL"; then
8733 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8739 test -z "$as_dir" && as_dir
=.
8740 for ac_exec_ext
in '' $ac_executable_extensions; do
8741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8742 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8752 OTOOL
=$ac_cv_prog_OTOOL
8753 if test -n "$OTOOL"; then
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8755 $as_echo "$OTOOL" >&6; }
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8758 $as_echo "no" >&6; }
8763 if test -z "$ac_cv_prog_OTOOL"; then
8765 # Extract the first word of "otool", so it can be a program name with args.
8766 set dummy otool
; ac_word
=$2
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8768 $as_echo_n "checking for $ac_word... " >&6; }
8769 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8770 $as_echo_n "(cached) " >&6
8772 if test -n "$ac_ct_OTOOL"; then
8773 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8779 test -z "$as_dir" && as_dir
=.
8780 for ac_exec_ext
in '' $ac_executable_extensions; do
8781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8782 ac_cv_prog_ac_ct_OTOOL
="otool"
8783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8793 if test -n "$ac_ct_OTOOL"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8795 $as_echo "$ac_ct_OTOOL" >&6; }
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 $as_echo "no" >&6; }
8801 if test "x$ac_ct_OTOOL" = x
; then
8804 case $cross_compiling:$ac_tool_warned in
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8808 ac_tool_warned
=yes ;;
8813 OTOOL
="$ac_cv_prog_OTOOL"
8816 if test -n "$ac_tool_prefix"; then
8817 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8818 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8820 $as_echo_n "checking for $ac_word... " >&6; }
8821 if ${ac_cv_prog_OTOOL64+:} false
; then :
8822 $as_echo_n "(cached) " >&6
8824 if test -n "$OTOOL64"; then
8825 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8831 test -z "$as_dir" && as_dir
=.
8832 for ac_exec_ext
in '' $ac_executable_extensions; do
8833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8834 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8844 OTOOL64
=$ac_cv_prog_OTOOL64
8845 if test -n "$OTOOL64"; then
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8847 $as_echo "$OTOOL64" >&6; }
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8850 $as_echo "no" >&6; }
8855 if test -z "$ac_cv_prog_OTOOL64"; then
8856 ac_ct_OTOOL64
=$OTOOL64
8857 # Extract the first word of "otool64", so it can be a program name with args.
8858 set dummy otool64
; ac_word
=$2
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8860 $as_echo_n "checking for $ac_word... " >&6; }
8861 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8862 $as_echo_n "(cached) " >&6
8864 if test -n "$ac_ct_OTOOL64"; then
8865 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8871 test -z "$as_dir" && as_dir
=.
8872 for ac_exec_ext
in '' $ac_executable_extensions; do
8873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8874 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8884 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8885 if test -n "$ac_ct_OTOOL64"; then
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8887 $as_echo "$ac_ct_OTOOL64" >&6; }
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8890 $as_echo "no" >&6; }
8893 if test "x$ac_ct_OTOOL64" = x
; then
8896 case $cross_compiling:$ac_tool_warned in
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8900 ac_tool_warned
=yes ;;
8902 OTOOL64
=$ac_ct_OTOOL64
8905 OTOOL64
="$ac_cv_prog_OTOOL64"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8935 $as_echo_n "checking for -single_module linker flag... " >&6; }
8936 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8937 $as_echo_n "(cached) " >&6
8939 lt_cv_apple_cc_single_mod
=no
8940 if test -z "$LT_MULTI_MODULE"; then
8941 # By default we will add the -single_module flag. You can override
8942 # by either setting the environment variable LT_MULTI_MODULE
8943 # non-empty at configure time, or by adding -multi_module to the
8945 rm -rf libconftest.dylib
*
8946 echo "int foo(void){return 1;}" > conftest.c
8947 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8948 -dynamiclib -Wl,-single_module conftest.c" >&5
8949 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8950 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8952 # If there is a non-empty error log, and "single_module"
8953 # appears in it, assume the flag caused a linker warning
8954 if test -s conftest.err
&& $GREP single_module conftest.err
; then
8955 cat conftest.err
>&5
8956 # Otherwise, if the output was created with a 0 exit code from
8957 # the compiler, it worked.
8958 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
8959 lt_cv_apple_cc_single_mod
=yes
8961 cat conftest.err
>&5
8963 rm -rf libconftest.dylib
*
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8968 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8971 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8972 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8973 $as_echo_n "(cached) " >&6
8975 lt_cv_ld_exported_symbols_list
=no
8976 save_LDFLAGS
=$LDFLAGS
8977 echo "_main" > conftest.sym
8978 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8980 /* end confdefs.h. */
8990 if ac_fn_c_try_link
"$LINENO"; then :
8991 lt_cv_ld_exported_symbols_list
=yes
8993 lt_cv_ld_exported_symbols_list
=no
8995 rm -f core conftest.err conftest.
$ac_objext \
8996 conftest
$ac_exeext conftest.
$ac_ext
8997 LDFLAGS
=$save_LDFLAGS
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9001 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9004 $as_echo_n "checking for -force_load linker flag... " >&6; }
9005 if ${lt_cv_ld_force_load+:} false
; then :
9006 $as_echo_n "(cached) " >&6
9008 lt_cv_ld_force_load
=no
9009 cat > conftest.c
<< _LT_EOF
9010 int forced_loaded() { return 2;}
9012 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9013 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9014 echo "$AR cru libconftest.a conftest.o" >&5
9015 $AR cru libconftest.a conftest.o
2>&5
9016 echo "$RANLIB libconftest.a" >&5
9017 $RANLIB libconftest.a
2>&5
9018 cat > conftest.c
<< _LT_EOF
9019 int main() { return 0;}
9021 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9022 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9024 if test -s conftest.err
&& $GREP force_load conftest.err
; then
9025 cat conftest.err
>&5
9026 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
9027 lt_cv_ld_force_load
=yes
9029 cat conftest.err
>&5
9031 rm -f conftest.err libconftest.a conftest conftest.c
9032 rm -rf conftest.dSYM
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9036 $as_echo "$lt_cv_ld_force_load" >&6; }
9038 rhapsody
* | darwin1.
[012])
9039 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
9041 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9042 darwin
*) # darwin 5.x on
9043 # if running on 10.5 or later, the deployment target defaults
9044 # to the OS version, if on x86, and 10.4, the deployment
9045 # target defaults to 10.4. Don't you love it?
9046 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9047 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9048 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9050 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9052 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9056 if test yes = "$lt_cv_apple_cc_single_mod"; then
9057 _lt_dar_single_mod
='$single_module'
9059 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9060 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9062 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9064 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
9065 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9072 # func_munge_path_list VARIABLE PATH
9073 # -----------------------------------
9074 # VARIABLE is name of variable containing _space_ separated list of
9075 # directories to be munged by the contents of PATH, which is string
9078 # string "DIR[ DIR]" will be prepended to VARIABLE
9080 # string "DIR[ DIR]" will be appended to VARIABLE
9081 # "DIRP[:DIRP]::[DIRA:]DIRA"
9082 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9083 # "DIRA[ DIRA]" will be appended to VARIABLE
9085 # VARIABLE will be replaced by "DIR[ DIR]"
9086 func_munge_path_list
()
9092 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
9095 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9098 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9099 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
9102 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9107 for ac_header
in dlfcn.h
9109 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9111 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9112 cat >>confdefs.h
<<_ACEOF
9113 #define HAVE_DLFCN_H 1
9137 # Check whether --with-pic was given.
9138 if test "${with_pic+set}" = set; then :
9139 withval
=$with_pic; lt_p
=${PACKAGE-default}
9141 yes|no
) pic_mode
=$withval ;;
9144 # Look at the argument we got. We use all the common list separators.
9145 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9146 for lt_pkg
in $withval; do
9148 if test "X$lt_pkg" = "X$lt_p"; then
9166 # Check whether --enable-fast-install was given.
9167 if test "${enable_fast_install+set}" = set; then :
9168 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9170 yes) enable_fast_install
=yes ;;
9171 no
) enable_fast_install
=no
;;
9173 enable_fast_install
=no
9174 # Look at the argument we got. We use all the common list separators.
9175 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9176 for pkg
in $enableval; do
9178 if test "X$pkg" = "X$p"; then
9179 enable_fast_install
=yes
9186 enable_fast_install
=yes
9196 shared_archive_member_spec
=
9197 case $host,$enable_shared in
9198 power
*-*-aix[5-9]*,yes)
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9200 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9202 # Check whether --with-aix-soname was given.
9203 if test "${with_aix_soname+set}" = set; then :
9204 withval
=$with_aix_soname; case $withval in
9208 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9211 lt_cv_with_aix_soname
=$with_aix_soname
9213 if ${lt_cv_with_aix_soname+:} false
; then :
9214 $as_echo_n "(cached) " >&6
9216 lt_cv_with_aix_soname
=aix
9219 with_aix_soname
=$lt_cv_with_aix_soname
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9223 $as_echo "$with_aix_soname" >&6; }
9224 if test aix
!= "$with_aix_soname"; then
9225 # For the AIX way of multilib, we name the shared archive member
9226 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9227 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9228 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9229 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9230 if test 64 = "${OBJECT_MODE-32}"; then
9231 shared_archive_member_spec
=shr_64
9233 shared_archive_member_spec
=shr
9251 # This can be used to rebuild libtool when needed
9252 LIBTOOL_DEPS
=$ltmain
9254 # Always use our own libtool.
9255 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9286 test -z "$LN_S" && LN_S
="ln -s"
9301 if test -n "${ZSH_VERSION+set}"; then
9302 setopt NO_GLOB_SUBST
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9306 $as_echo_n "checking for objdir... " >&6; }
9307 if ${lt_cv_objdir+:} false
; then :
9308 $as_echo_n "(cached) " >&6
9310 rm -f .libs
2>/dev
/null
9311 mkdir .libs
2>/dev
/null
9312 if test -d .libs
; then
9315 # MS-DOS does not allow filenames that begin with a dot.
9318 rmdir .libs
2>/dev
/null
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9321 $as_echo "$lt_cv_objdir" >&6; }
9322 objdir
=$lt_cv_objdir
9328 cat >>confdefs.h
<<_ACEOF
9329 #define LT_OBJDIR "$lt_cv_objdir/"
9337 # AIX sometimes has problems with the GCC collect2 program. For some
9338 # reason, if we set the COLLECT_NAMES environment variable, the problems
9339 # vanish in a puff of smoke.
9340 if test set != "${COLLECT_NAMES+set}"; then
9342 export COLLECT_NAMES
9349 can_build_shared
=yes
9351 # All known linkers require a '.a' archive for static linking (except MSVC,
9352 # which needs '.lib').
9355 with_gnu_ld
=$lt_cv_prog_gnu_ld
9360 # Set sane defaults for various variables
9361 test -z "$CC" && CC
=cc
9362 test -z "$LTCC" && LTCC
=$CC
9363 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9364 test -z "$LD" && LD
=ld
9365 test -z "$ac_objext" && ac_objext
=o
9367 func_cc_basename
$compiler
9368 cc_basename
=$func_cc_basename_result
9371 # Only perform the check for file, if the check method requires it
9372 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9373 case $deplibs_check_method in
9375 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9377 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9378 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9379 $as_echo_n "(cached) " >&6
9383 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9386 lt_save_MAGIC_CMD
=$MAGIC_CMD
9387 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9388 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9389 for ac_dir
in $ac_dummy; do
9391 test -z "$ac_dir" && ac_dir
=.
9392 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9393 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9394 if test -n "$file_magic_test_file"; then
9395 case $deplibs_check_method in
9397 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9398 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9399 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9400 $EGREP "$file_magic_regex" > /dev
/null
; then
9405 *** Warning: the command libtool uses to detect shared libraries,
9406 *** $file_magic_cmd, produces output that libtool cannot recognize.
9407 *** The result is that libtool may fail to recognize shared libraries
9408 *** as such. This will affect the creation of libtool libraries that
9409 *** depend on shared libraries, but programs linked with such libtool
9410 *** libraries will work regardless of this problem. Nevertheless, you
9411 *** may want to report the problem to your system manager and/or to
9412 *** bug-libtool@gnu.org
9422 MAGIC_CMD
=$lt_save_MAGIC_CMD
9427 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9428 if test -n "$MAGIC_CMD"; then
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9430 $as_echo "$MAGIC_CMD" >&6; }
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9433 $as_echo "no" >&6; }
9440 if test -z "$lt_cv_path_MAGIC_CMD"; then
9441 if test -n "$ac_tool_prefix"; then
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9443 $as_echo_n "checking for file... " >&6; }
9444 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9445 $as_echo_n "(cached) " >&6
9449 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9452 lt_save_MAGIC_CMD
=$MAGIC_CMD
9453 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9454 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9455 for ac_dir
in $ac_dummy; do
9457 test -z "$ac_dir" && ac_dir
=.
9458 if test -f "$ac_dir/file"; then
9459 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9460 if test -n "$file_magic_test_file"; then
9461 case $deplibs_check_method in
9463 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9464 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9465 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9466 $EGREP "$file_magic_regex" > /dev
/null
; then
9471 *** Warning: the command libtool uses to detect shared libraries,
9472 *** $file_magic_cmd, produces output that libtool cannot recognize.
9473 *** The result is that libtool may fail to recognize shared libraries
9474 *** as such. This will affect the creation of libtool libraries that
9475 *** depend on shared libraries, but programs linked with such libtool
9476 *** libraries will work regardless of this problem. Nevertheless, you
9477 *** may want to report the problem to your system manager and/or to
9478 *** bug-libtool@gnu.org
9488 MAGIC_CMD
=$lt_save_MAGIC_CMD
9493 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9494 if test -n "$MAGIC_CMD"; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9496 $as_echo "$MAGIC_CMD" >&6; }
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9499 $as_echo "no" >&6; }
9512 # Use C for the default configuration in the libtool script
9516 ac_cpp
='$CPP $CPPFLAGS'
9517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9522 # Source file extension for C test sources.
9525 # Object file extension for compiled C test sources.
9529 # Code to be used in simple compile tests
9530 lt_simple_compile_test_code
="int some_variable = 0;"
9532 # Code to be used in simple link tests
9533 lt_simple_link_test_code
='int main(){return(0);}'
9541 # If no C compiler was specified, use CC.
9544 # If no C compiler flags were specified, use CFLAGS.
9545 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9547 # Allow CC to be a program name with arguments.
9550 # Save the default compiler, since it gets overwritten when the other
9551 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9552 compiler_DEFAULT
=$CC
9554 # save warnings/boilerplate of simple test code
9555 ac_outfile
=conftest.
$ac_objext
9556 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9557 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9558 _lt_compiler_boilerplate
=`cat conftest.err`
9561 ac_outfile
=conftest.
$ac_objext
9562 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9563 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9564 _lt_linker_boilerplate
=`cat conftest.err`
9568 if test -n "$compiler"; then
9570 lt_prog_compiler_no_builtin_flag
=
9572 if test yes = "$GCC"; then
9573 case $cc_basename in
9575 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9577 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9581 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9582 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9583 $as_echo_n "(cached) " >&6
9585 lt_cv_prog_compiler_rtti_exceptions
=no
9586 ac_outfile
=conftest.
$ac_objext
9587 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9588 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9589 # Insert the option either (1) after the last *FLAGS variable, or
9590 # (2) before a word containing "conftest.", or (3) at the end.
9591 # Note that $ac_compile itself does not contain backslashes and begins
9592 # with a dollar sign (not a hyphen), so the echo should work correctly.
9593 # The option is referenced via a variable to avoid confusing sed.
9594 lt_compile
=`echo "$ac_compile" | $SED \
9595 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9597 -e 's:$: $lt_compiler_flag:'`
9598 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9599 (eval "$lt_compile" 2>conftest.err
)
9601 cat conftest.err
>&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 if (exit $ac_status) && test -s "$ac_outfile"; then
9604 # The compiler can only warn and ignore the option if not recognized
9605 # So say no if there are warnings other than the usual output.
9606 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9607 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9608 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9609 lt_cv_prog_compiler_rtti_exceptions
=yes
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9616 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9618 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9619 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9631 lt_prog_compiler_wl
=
9632 lt_prog_compiler_pic
=
9633 lt_prog_compiler_static
=
9636 if test yes = "$GCC"; then
9637 lt_prog_compiler_wl
='-Wl,'
9638 lt_prog_compiler_static
='-static'
9642 # All AIX code is PIC.
9643 if test ia64
= "$host_cpu"; then
9644 # AIX 5 now supports IA64 processor
9645 lt_prog_compiler_static
='-Bstatic'
9647 lt_prog_compiler_pic
='-fPIC'
9653 # see comment about AmigaOS4 .so support
9654 lt_prog_compiler_pic
='-fPIC'
9657 # FIXME: we need at least 68020 code to build shared libraries, but
9658 # adding the '-m68020' flag to GCC prevents building anything better,
9660 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9665 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9666 # PIC is the default for these OSes.
9669 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9670 # This hack is so that the source file can tell whether it is being
9671 # built for inclusion in a dll (and should export symbols for example).
9672 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9673 # (--disable-auto-import) libraries
9674 lt_prog_compiler_pic
='-DDLL_EXPORT'
9677 lt_prog_compiler_static
='$wl-static'
9682 darwin
* | rhapsody
*)
9683 # PIC is the default on this platform
9684 # Common symbols not allowed in MH_DYLIB files
9685 lt_prog_compiler_pic
='-fno-common'
9689 # PIC is the default for Haiku.
9690 # The "-static" flag exists, but is broken.
9691 lt_prog_compiler_static
=
9695 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9696 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9697 # sets the default TLS model and affects inlining.
9703 lt_prog_compiler_pic
='-fPIC'
9709 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9710 # Instead, we relocate shared libraries at runtime.
9714 # Just because we use GCC doesn't mean we suddenly get shared libraries
9715 # on systems that don't support them.
9716 lt_prog_compiler_can_build_shared
=no
9721 # QNX uses GNU C++, but need to define -shared option too, otherwise
9723 lt_prog_compiler_pic
='-fPIC -shared'
9727 if test -d /usr
/nec
; then
9728 lt_prog_compiler_pic
=-Kconform_pic
9733 lt_prog_compiler_pic
='-fPIC'
9737 case $cc_basename in
9738 nvcc
*) # Cuda Compiler Driver 2.2
9739 lt_prog_compiler_wl
='-Xlinker '
9740 if test -n "$lt_prog_compiler_pic"; then
9741 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9746 # PORTME Check for flag to pass linker flags through the system compiler.
9749 lt_prog_compiler_wl
='-Wl,'
9750 if test ia64
= "$host_cpu"; then
9751 # AIX 5 now supports IA64 processor
9752 lt_prog_compiler_static
='-Bstatic'
9754 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9758 darwin
* | rhapsody
*)
9759 # PIC is the default on this platform
9760 # Common symbols not allowed in MH_DYLIB files
9761 lt_prog_compiler_pic
='-fno-common'
9762 case $cc_basename in
9764 # NAG Fortran compiler
9765 lt_prog_compiler_wl
='-Wl,-Wl,,'
9766 lt_prog_compiler_pic
='-PIC'
9767 lt_prog_compiler_static
='-Bstatic'
9772 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9773 # This hack is so that the source file can tell whether it is being
9774 # built for inclusion in a dll (and should export symbols for example).
9775 lt_prog_compiler_pic
='-DDLL_EXPORT'
9778 lt_prog_compiler_static
='$wl-static'
9783 hpux9
* | hpux10
* | hpux11
*)
9784 lt_prog_compiler_wl
='-Wl,'
9785 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9792 lt_prog_compiler_pic
='+Z'
9795 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9796 lt_prog_compiler_static
='$wl-a ${wl}archive'
9799 irix5
* | irix6
* | nonstopux
*)
9800 lt_prog_compiler_wl
='-Wl,'
9801 # PIC (with -KPIC) is the default.
9802 lt_prog_compiler_static
='-non_shared'
9805 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9806 case $cc_basename in
9807 # old Intel for x86_64, which still supported -KPIC.
9809 lt_prog_compiler_wl
='-Wl,'
9810 lt_prog_compiler_pic
='-KPIC'
9811 lt_prog_compiler_static
='-static'
9813 # icc used to be incompatible with GCC.
9814 # ICC 10 doesn't accept -KPIC any more.
9816 lt_prog_compiler_wl
='-Wl,'
9817 lt_prog_compiler_pic
='-fPIC'
9818 lt_prog_compiler_static
='-static'
9820 # Lahey Fortran 8.1.
9822 lt_prog_compiler_wl
='-Wl,'
9823 lt_prog_compiler_pic
='--shared'
9824 lt_prog_compiler_static
='--static'
9827 # NAG Fortran compiler
9828 lt_prog_compiler_wl
='-Wl,-Wl,,'
9829 lt_prog_compiler_pic
='-PIC'
9830 lt_prog_compiler_static
='-Bstatic'
9833 # Fabrice Bellard et al's Tiny C Compiler
9834 lt_prog_compiler_wl
='-Wl,'
9835 lt_prog_compiler_pic
='-fPIC'
9836 lt_prog_compiler_static
='-static'
9838 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9839 # Portland Group compilers (*not* the Pentium gcc compiler,
9840 # which looks to be a dead project)
9841 lt_prog_compiler_wl
='-Wl,'
9842 lt_prog_compiler_pic
='-fpic'
9843 lt_prog_compiler_static
='-Bstatic'
9846 lt_prog_compiler_wl
='-Wl,'
9847 # All Alpha code is PIC.
9848 lt_prog_compiler_static
='-non_shared'
9850 xl
* | bgxl
* | bgf
* | mpixl
*)
9851 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9852 lt_prog_compiler_wl
='-Wl,'
9853 lt_prog_compiler_pic
='-qpic'
9854 lt_prog_compiler_static
='-qstaticlink'
9857 case `$CC -V 2>&1 | sed 5q` in
9858 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9859 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9860 lt_prog_compiler_pic
='-KPIC'
9861 lt_prog_compiler_static
='-Bstatic'
9862 lt_prog_compiler_wl
=''
9864 *Sun\ F
* | *Sun
*Fortran
*)
9865 lt_prog_compiler_pic
='-KPIC'
9866 lt_prog_compiler_static
='-Bstatic'
9867 lt_prog_compiler_wl
='-Qoption ld '
9871 lt_prog_compiler_pic
='-KPIC'
9872 lt_prog_compiler_static
='-Bstatic'
9873 lt_prog_compiler_wl
='-Wl,'
9875 *Intel
*\
[CF
]*Compiler
*)
9876 lt_prog_compiler_wl
='-Wl,'
9877 lt_prog_compiler_pic
='-fPIC'
9878 lt_prog_compiler_static
='-static'
9881 lt_prog_compiler_wl
='-Wl,'
9882 lt_prog_compiler_pic
='-fpic'
9883 lt_prog_compiler_static
='-Bstatic'
9891 lt_prog_compiler_pic
='-KPIC'
9892 lt_prog_compiler_static
='-Bstatic'
9896 # QNX uses GNU C++, but need to define -shared option too, otherwise
9898 lt_prog_compiler_pic
='-fPIC -shared'
9901 osf3
* | osf4
* | osf5
*)
9902 lt_prog_compiler_wl
='-Wl,'
9903 # All OSF/1 code is PIC.
9904 lt_prog_compiler_static
='-non_shared'
9908 lt_prog_compiler_static
='-non_shared'
9912 lt_prog_compiler_pic
='-KPIC'
9913 lt_prog_compiler_static
='-Bstatic'
9914 case $cc_basename in
9915 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9916 lt_prog_compiler_wl
='-Qoption ld ';;
9918 lt_prog_compiler_wl
='-Wl,';;
9923 lt_prog_compiler_wl
='-Qoption ld '
9924 lt_prog_compiler_pic
='-PIC'
9925 lt_prog_compiler_static
='-Bstatic'
9928 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9929 lt_prog_compiler_wl
='-Wl,'
9930 lt_prog_compiler_pic
='-KPIC'
9931 lt_prog_compiler_static
='-Bstatic'
9935 if test -d /usr
/nec
; then
9936 lt_prog_compiler_pic
='-Kconform_pic'
9937 lt_prog_compiler_static
='-Bstatic'
9941 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9942 lt_prog_compiler_wl
='-Wl,'
9943 lt_prog_compiler_pic
='-KPIC'
9944 lt_prog_compiler_static
='-Bstatic'
9948 lt_prog_compiler_wl
='-Wl,'
9949 lt_prog_compiler_can_build_shared
=no
9953 lt_prog_compiler_pic
='-pic'
9954 lt_prog_compiler_static
='-Bstatic'
9958 lt_prog_compiler_can_build_shared
=no
9964 # For platforms that do not support PIC, -DPIC is meaningless:
9966 lt_prog_compiler_pic
=
9969 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9974 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9975 if ${lt_cv_prog_compiler_pic+:} false
; then :
9976 $as_echo_n "(cached) " >&6
9978 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9981 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9982 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9985 # Check to make sure the PIC flag actually works.
9987 if test -n "$lt_prog_compiler_pic"; then
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9989 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9990 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9991 $as_echo_n "(cached) " >&6
9993 lt_cv_prog_compiler_pic_works
=no
9994 ac_outfile
=conftest.
$ac_objext
9995 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9996 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9997 # Insert the option either (1) after the last *FLAGS variable, or
9998 # (2) before a word containing "conftest.", or (3) at the end.
9999 # Note that $ac_compile itself does not contain backslashes and begins
10000 # with a dollar sign (not a hyphen), so the echo should work correctly.
10001 # The option is referenced via a variable to avoid confusing sed.
10002 lt_compile
=`echo "$ac_compile" | $SED \
10003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10005 -e 's:$: $lt_compiler_flag:'`
10006 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10007 (eval "$lt_compile" 2>conftest.err
)
10009 cat conftest.err
>&5
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 if (exit $ac_status) && test -s "$ac_outfile"; then
10012 # The compiler can only warn and ignore the option if not recognized
10013 # So say no if there are warnings other than the usual output.
10014 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10015 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10016 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
10017 lt_cv_prog_compiler_pic_works
=yes
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10024 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10026 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10027 case $lt_prog_compiler_pic in
10029 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10032 lt_prog_compiler_pic
=
10033 lt_prog_compiler_can_build_shared
=no
10049 # Check to make sure the static flag actually works.
10051 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10053 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10054 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10055 $as_echo_n "(cached) " >&6
10057 lt_cv_prog_compiler_static_works
=no
10058 save_LDFLAGS
=$LDFLAGS
10059 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10060 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10061 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10062 # The linker can only warn and ignore the option if not recognized
10063 # So say no if there are warnings
10064 if test -s conftest.err
; then
10065 # Append any errors to the config.log.
10066 cat conftest.err
1>&5
10067 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10068 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10069 if diff conftest.exp conftest.er2
>/dev
/null
; then
10070 lt_cv_prog_compiler_static_works
=yes
10073 lt_cv_prog_compiler_static_works
=yes
10077 LDFLAGS
=$save_LDFLAGS
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10081 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10083 if test yes = "$lt_cv_prog_compiler_static_works"; then
10086 lt_prog_compiler_static
=
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10096 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10097 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10098 $as_echo_n "(cached) " >&6
10100 lt_cv_prog_compiler_c_o
=no
10101 $RM -r conftest
2>/dev
/null
10105 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10107 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10108 # Insert the option either (1) after the last *FLAGS variable, or
10109 # (2) before a word containing "conftest.", or (3) at the end.
10110 # Note that $ac_compile itself does not contain backslashes and begins
10111 # with a dollar sign (not a hyphen), so the echo should work correctly.
10112 lt_compile
=`echo "$ac_compile" | $SED \
10113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10115 -e 's:$: $lt_compiler_flag:'`
10116 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10117 (eval "$lt_compile" 2>out
/conftest.err
)
10119 cat out
/conftest.err
>&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10123 # The compiler can only warn and ignore the option if not recognized
10124 # So say no if there are warnings
10125 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10126 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10127 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10128 lt_cv_prog_compiler_c_o
=yes
10133 # SGI C++ compiler will create directory out/ii_files/ for
10134 # template instantiation
10135 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10136 $RM out
/* && rmdir out
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10143 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10151 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10152 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10153 $as_echo_n "(cached) " >&6
10155 lt_cv_prog_compiler_c_o
=no
10156 $RM -r conftest
2>/dev
/null
10160 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10162 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10163 # Insert the option either (1) after the last *FLAGS variable, or
10164 # (2) before a word containing "conftest.", or (3) at the end.
10165 # Note that $ac_compile itself does not contain backslashes and begins
10166 # with a dollar sign (not a hyphen), so the echo should work correctly.
10167 lt_compile
=`echo "$ac_compile" | $SED \
10168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10170 -e 's:$: $lt_compiler_flag:'`
10171 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10172 (eval "$lt_compile" 2>out
/conftest.err
)
10174 cat out
/conftest.err
>&5
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10178 # The compiler can only warn and ignore the option if not recognized
10179 # So say no if there are warnings
10180 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10181 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10182 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10183 lt_cv_prog_compiler_c_o
=yes
10188 # SGI C++ compiler will create directory out/ii_files/ for
10189 # template instantiation
10190 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10191 $RM out
/* && rmdir out
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10198 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10203 hard_links
=nottested
10204 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10205 # do not overwrite the value of need_locks provided by the user
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10207 $as_echo_n "checking if we can lock with hard links... " >&6; }
10210 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10212 ln conftest.a conftest.b
2>&5 || hard_links
=no
10213 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10215 $as_echo "$hard_links" >&6; }
10216 if test no
= "$hard_links"; then
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10218 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10231 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10234 allow_undefined_flag
=
10235 always_export_symbols
=no
10237 archive_expsym_cmds
=
10238 compiler_needs_object
=no
10239 enable_shared_with_static_runtimes
=no
10240 export_dynamic_flag_spec
=
10241 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10242 hardcode_automatic
=no
10244 hardcode_direct_absolute
=no
10245 hardcode_libdir_flag_spec
=
10246 hardcode_libdir_separator
=
10247 hardcode_minus_L
=no
10248 hardcode_shlibpath_var
=unsupported
10250 link_all_deplibs
=unknown
10252 module_expsym_cmds
=
10253 old_archive_from_new_cmds
=
10254 old_archive_from_expsyms_cmds
=
10255 thread_safe_flag_spec
=
10256 whole_archive_flag_spec
=
10257 # include_expsyms should be a list of space-separated symbols to be *always*
10258 # included in the symbol list
10260 # exclude_expsyms can be an extended regexp of symbols to exclude
10261 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10262 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10263 # as well as any symbol that contains 'd'.
10264 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10265 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10266 # platforms (ab)use it in PIC code, but their linkers get confused if
10267 # the symbol is explicitly referenced. Since portable code cannot
10268 # rely on this symbol name, it's probably fine to never include it in
10269 # preloaded symbol tables.
10270 # Exclude shared library initialization/finalization symbols.
10271 extract_expsyms_cmds
=
10274 cygwin
* | mingw
* | pw32
* | cegcc
*)
10275 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10276 # When not using gcc, we currently assume that we are using
10277 # Microsoft Visual C++.
10278 if test yes != "$GCC"; then
10283 # we just hope/assume this is gcc and not c89 (= MSVC++)
10286 openbsd
* | bitrig
*)
10293 # On some targets, GNU ld is compatible enough with the native linker
10294 # that we're better off using the native interface for both.
10295 lt_use_gnu_ld_interface
=no
10296 if test yes = "$with_gnu_ld"; then
10299 # The AIX port of GNU ld has always aspired to compatibility
10300 # with the native linker. However, as the warning in the GNU ld
10301 # block says, versions before 2.19.5* couldn't really create working
10302 # shared libraries, regardless of the interface used.
10303 case `$LD -v 2>&1` in
10304 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10305 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10306 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10308 lt_use_gnu_ld_interface
=yes
10313 lt_use_gnu_ld_interface
=yes
10318 if test yes = "$lt_use_gnu_ld_interface"; then
10319 # If archive_cmds runs LD, not CC, wlarc should be empty
10322 # Set some defaults for GNU ld with shared library support. These
10323 # are reset later if shared libraries are not supported. Putting them
10324 # here allows them to be overridden if necessary.
10325 runpath_var
=LD_RUN_PATH
10326 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10327 export_dynamic_flag_spec
='$wl--export-dynamic'
10328 # ancient GNU ld didn't support --whole-archive et. al.
10329 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
10330 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10332 whole_archive_flag_spec
=
10334 supports_anon_versioning
=no
10335 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10336 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10337 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
10338 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10339 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10340 *\
2.11.
*) ;; # other 2.11 versions
10341 *) supports_anon_versioning
=yes ;;
10344 # See if GNU ld supports shared libraries.
10347 # On AIX/PPC, the GNU linker is very broken
10348 if test ia64
!= "$host_cpu"; then
10352 *** Warning: the GNU linker, at least up to release 2.19, is reported
10353 *** to be unable to reliably create shared libraries on AIX.
10354 *** Therefore, libtool is disabling shared libraries support. If you
10355 *** really care for shared libraries, you may want to install binutils
10356 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10357 *** You will then need to restart the configuration process.
10366 # see comment about AmigaOS4 .so support
10367 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10368 archive_expsym_cmds
=''
10371 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)'
10372 hardcode_libdir_flag_spec
='-L$libdir'
10373 hardcode_minus_L
=yes
10379 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10380 allow_undefined_flag
=unsupported
10381 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10382 # support --undefined. This deserves some investigation. FIXME
10383 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10389 cygwin
* | mingw
* | pw32
* | cegcc
*)
10390 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10391 # as there is no search path for DLLs.
10392 hardcode_libdir_flag_spec
='-L$libdir'
10393 export_dynamic_flag_spec
='$wl--export-all-symbols'
10394 allow_undefined_flag
=unsupported
10395 always_export_symbols
=no
10396 enable_shared_with_static_runtimes
=yes
10397 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'
10398 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10400 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
10401 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10402 # If the export-symbols file already is a .def file, use it as
10403 # is; otherwise, prepend EXPORTS...
10404 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10405 cp $export_symbols $output_objdir/$soname.def;
10407 echo EXPORTS > $output_objdir/$soname.def;
10408 cat $export_symbols >> $output_objdir/$soname.def;
10410 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10417 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10418 link_all_deplibs
=yes
10422 hardcode_libdir_flag_spec
='-L$libdir'
10423 hardcode_minus_L
=yes
10424 allow_undefined_flag
=unsupported
10426 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10427 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10428 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10429 $ECHO EXPORTS >> $output_objdir/$libname.def~
10430 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10431 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10432 emximp -o $lib $output_objdir/$libname.def'
10433 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10434 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10435 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10436 $ECHO EXPORTS >> $output_objdir/$libname.def~
10437 prefix_cmds="$SED"~
10438 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10439 prefix_cmds="$prefix_cmds -e 1d";
10441 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10442 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10443 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10444 emximp -o $lib $output_objdir/$libname.def'
10445 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10446 enable_shared_with_static_runtimes
=yes
10451 hardcode_shlibpath_var
=no
10452 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10453 export_dynamic_flag_spec
='$wl-E'
10454 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10455 # Instead, shared libraries are loaded at an image base (0x10000000 by
10456 # default) and relocated if they conflict, which is a slow very memory
10457 # consuming and fragmenting process. To avoid this, we pick a random,
10458 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10459 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10460 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10461 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'
10464 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10466 if test linux
-dietlibc = "$host_os"; then
10467 case $cc_basename in
10468 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10471 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10472 && test no
= "$tmp_diet"
10474 tmp_addflag
=' $pic_flag'
10475 tmp_sharedflag
='-shared'
10476 case $cc_basename,$host_cpu in
10477 pgcc
*) # Portland Group C compiler
10478 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'
10479 tmp_addflag
=' $pic_flag'
10481 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10482 # Portland Group f77 and f90 compilers
10483 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'
10484 tmp_addflag
=' $pic_flag -Mnomain' ;;
10485 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10486 tmp_addflag
=' -i_dynamic' ;;
10487 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10488 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10489 ifc
* | ifort
*) # Intel Fortran compiler
10490 tmp_addflag
=' -nofor_main' ;;
10491 lf95
*) # Lahey Fortran 8.1
10492 whole_archive_flag_spec
=
10493 tmp_sharedflag
='--shared' ;;
10494 nagfor
*) # NAGFOR 5.3
10495 tmp_sharedflag
='-Wl,-shared' ;;
10496 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10497 tmp_sharedflag
='-qmkshrobj'
10499 nvcc
*) # Cuda Compiler Driver 2.2
10500 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'
10501 compiler_needs_object
=yes
10504 case `$CC -V 2>&1 | sed 5q` in
10505 *Sun\ C
*) # Sun C 5.9
10506 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'
10507 compiler_needs_object
=yes
10508 tmp_sharedflag
='-G' ;;
10509 *Sun\ F
*) # Sun Fortran 8.3
10510 tmp_sharedflag
='-G' ;;
10512 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10514 if test yes = "$supports_anon_versioning"; then
10515 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10516 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10517 echo "local: *; };" >> $output_objdir/$libname.ver~
10518 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10521 case $cc_basename in
10523 export_dynamic_flag_spec
='-rdynamic'
10525 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10526 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10527 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10528 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10529 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10530 if test yes = "$supports_anon_versioning"; then
10531 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10532 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10533 echo "local: *; };" >> $output_objdir/$libname.ver~
10534 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10544 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10545 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10548 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10549 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10554 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10558 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10559 *** create shared libraries on Solaris systems. Therefore, libtool
10560 *** is disabling shared libraries support. We urge you to upgrade GNU
10561 *** binutils to release 2.9.1 or newer. Another option is to modify
10562 *** your PATH or compiler configuration so that the native linker is
10563 *** used, and then restart.
10566 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10567 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10568 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10574 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10575 case `$LD -v 2>&1` in
10576 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10580 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10581 *** reliably create shared libraries on SCO systems. Therefore, libtool
10582 *** is disabling shared libraries support. We urge you to upgrade GNU
10583 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10584 *** your PATH or compiler configuration so that the native linker is
10585 *** used, and then restart.
10590 # For security reasons, it is highly recommended that you always
10591 # use absolute paths for naming shared libraries, and exclude the
10592 # DT_RUNPATH tag from executables and libraries. But doing so
10593 # requires that you compile everything twice, which is a pain.
10594 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10595 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10596 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10597 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10606 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10608 hardcode_direct
=yes
10609 hardcode_shlibpath_var
=no
10613 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10614 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10615 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10622 if test no
= "$ld_shlibs"; then
10624 hardcode_libdir_flag_spec
=
10625 export_dynamic_flag_spec
=
10626 whole_archive_flag_spec
=
10629 # PORTME fill in a description of your system's linker (not GNU ld)
10632 allow_undefined_flag
=unsupported
10633 always_export_symbols
=yes
10634 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'
10635 # Note: this linker hardcodes the directories in LIBPATH if there
10636 # are no directories specified by -L.
10637 hardcode_minus_L
=yes
10638 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10639 # Neither direct hardcoding nor static linking is supported with a
10641 hardcode_direct
=unsupported
10646 if test ia64
= "$host_cpu"; then
10647 # On IA64, the linker does run time linking by default, so we don't
10648 # have to do anything special.
10649 aix_use_runtimelinking
=no
10650 exp_sym_flag
='-Bexport'
10653 # If we're using GNU nm, then we don't want the "-C" option.
10654 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10655 # Without the "-l" option, or with the "-B" option, AIX nm treats
10656 # weak defined symbols like other global defined symbols, whereas
10657 # GNU nm marks them as "W".
10658 # While the 'weak' keyword is ignored in the Export File, we need
10659 # it in the Import File for the 'aix-soname' feature, so we have
10660 # to replace the "-B" option with "-P" for AIX nm.
10661 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10662 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10664 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10666 aix_use_runtimelinking
=no
10668 # Test if we are trying to use run time linking or normal
10669 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10670 # have runtime linking enabled, and use it for executables.
10671 # For shared libraries, we enable/disable runtime linking
10672 # depending on the kind of the shared library created -
10673 # when "with_aix_soname,aix_use_runtimelinking" is:
10674 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10675 # "aix,yes" lib.so shared, rtl:yes, for executables
10676 # lib.a static archive
10677 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10678 # lib.a(lib.so.V) shared, rtl:no, for executables
10679 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10680 # lib.a(lib.so.V) shared, rtl:no
10681 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10682 # lib.a static archive
10683 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10684 for ld_flag
in $LDFLAGS; do
10685 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
10686 aix_use_runtimelinking
=yes
10690 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10691 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10692 # so we don't have lib.a shared libs to link our executables.
10693 # We have to force runtime linking in this case.
10694 aix_use_runtimelinking
=yes
10695 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10700 exp_sym_flag
='-bexport'
10701 no_entry_flag
='-bnoentry'
10704 # When large executables or shared objects are built, AIX ld can
10705 # have problems creating the table of contents. If linking a library
10706 # or program results in "error TOC overflow" add -mminimal-toc to
10707 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10708 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10711 hardcode_direct
=yes
10712 hardcode_direct_absolute
=yes
10713 hardcode_libdir_separator
=':'
10714 link_all_deplibs
=yes
10715 file_list_spec
='$wl-f,'
10716 case $with_aix_soname,$aix_use_runtimelinking in
10717 aix
,*) ;; # traditional, no import file
10718 svr4
,* | *,yes) # use import file
10719 # The Import File defines what to hardcode.
10721 hardcode_direct_absolute
=no
10725 if test yes = "$GCC"; then
10726 case $host_os in aix4.
[012]|aix4.
[012].
*)
10727 # We only want to do this on AIX 4.2 and lower, the check
10728 # below for broken collect2 doesn't work under 4.3+
10729 collect2name
=`$CC -print-prog-name=collect2`
10730 if test -f "$collect2name" &&
10731 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10733 # We have reworked collect2
10736 # We have old collect2
10737 hardcode_direct
=unsupported
10738 # It fails to find uninstalled libraries when the uninstalled
10739 # path is not listed in the libpath. Setting hardcode_minus_L
10740 # to unsupported forces relinking
10741 hardcode_minus_L
=yes
10742 hardcode_libdir_flag_spec
='-L$libdir'
10743 hardcode_libdir_separator
=
10747 shared_flag
='-shared'
10748 if test yes = "$aix_use_runtimelinking"; then
10749 shared_flag
="$shared_flag "'$wl-G'
10751 # Need to ensure runtime linking is disabled for the traditional
10752 # shared library, or the linker may eventually find shared libraries
10753 # /with/ Import File - we do not want to mix them.
10754 shared_flag_aix
='-shared'
10755 shared_flag_svr4
='-shared $wl-G'
10758 if test ia64
= "$host_cpu"; then
10759 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10760 # chokes on -Wl,-G. The following line is correct:
10763 if test yes = "$aix_use_runtimelinking"; then
10764 shared_flag
='$wl-G'
10766 shared_flag
='$wl-bM:SRE'
10768 shared_flag_aix
='$wl-bM:SRE'
10769 shared_flag_svr4
='$wl-G'
10773 export_dynamic_flag_spec
='$wl-bexpall'
10774 # It seems that -bexpall does not export symbols beginning with
10775 # underscore (_), so it is better to generate a list of symbols to export.
10776 always_export_symbols
=yes
10777 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10778 # Warning - without using the other runtime loading flags (-brtl),
10779 # -berok will link without error, but may produce a broken library.
10780 allow_undefined_flag
='-berok'
10781 # Determine the default libpath from the value encoded in an
10782 # empty executable.
10783 if test set = "${lt_cv_aix_libpath+set}"; then
10784 aix_libpath
=$lt_cv_aix_libpath
10786 if ${lt_cv_aix_libpath_+:} false
; then :
10787 $as_echo_n "(cached) " >&6
10789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10800 if ac_fn_c_try_link
"$LINENO"; then :
10802 lt_aix_libpath_sed
='
10803 /Import File Strings/,/^$/ {
10805 s/^0 *\([^ ]*\) *$/\1/
10809 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10810 # Check for a 64-bit object if we didn't find anything.
10811 if test -z "$lt_cv_aix_libpath_"; then
10812 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10815 rm -f core conftest.err conftest.
$ac_objext \
10816 conftest
$ac_exeext conftest.
$ac_ext
10817 if test -z "$lt_cv_aix_libpath_"; then
10818 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10823 aix_libpath
=$lt_cv_aix_libpath_
10826 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10827 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
10829 if test ia64
= "$host_cpu"; then
10830 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10831 allow_undefined_flag
="-z nodefs"
10832 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"
10834 # Determine the default libpath from the value encoded in an
10835 # empty executable.
10836 if test set = "${lt_cv_aix_libpath+set}"; then
10837 aix_libpath
=$lt_cv_aix_libpath
10839 if ${lt_cv_aix_libpath_+:} false
; then :
10840 $as_echo_n "(cached) " >&6
10842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10843 /* end confdefs.h. */
10853 if ac_fn_c_try_link
"$LINENO"; then :
10855 lt_aix_libpath_sed
='
10856 /Import File Strings/,/^$/ {
10858 s/^0 *\([^ ]*\) *$/\1/
10862 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10863 # Check for a 64-bit object if we didn't find anything.
10864 if test -z "$lt_cv_aix_libpath_"; then
10865 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10868 rm -f core conftest.err conftest.
$ac_objext \
10869 conftest
$ac_exeext conftest.
$ac_ext
10870 if test -z "$lt_cv_aix_libpath_"; then
10871 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10876 aix_libpath
=$lt_cv_aix_libpath_
10879 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10880 # Warning - without using the other run time loading flags,
10881 # -berok will link without error, but may produce a broken library.
10882 no_undefined_flag
=' $wl-bernotok'
10883 allow_undefined_flag
=' $wl-berok'
10884 if test yes = "$with_gnu_ld"; then
10885 # We only use this code for GNU lds that support --whole-archive.
10886 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10888 # Exported symbols can be pulled into shared objects from archives
10889 whole_archive_flag_spec
='$convenience'
10891 archive_cmds_need_lc
=yes
10892 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10893 # -brtl affects multiple linker settings, -berok does not and is overridden later
10894 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10895 if test svr4
!= "$with_aix_soname"; then
10896 # This is similar to how AIX traditionally builds its shared libraries.
10897 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10899 if test aix
!= "$with_aix_soname"; then
10900 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10902 # used by -dlpreopen to get the symbols
10903 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10905 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10913 # see comment about AmigaOS4 .so support
10914 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10915 archive_expsym_cmds
=''
10918 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)'
10919 hardcode_libdir_flag_spec
='-L$libdir'
10920 hardcode_minus_L
=yes
10926 export_dynamic_flag_spec
=-rdynamic
10929 cygwin
* | mingw
* | pw32
* | cegcc
*)
10930 # When not using gcc, we currently assume that we are using
10931 # Microsoft Visual C++.
10932 # hardcode_libdir_flag_spec is actually meaningless, as there is
10933 # no search path for DLLs.
10934 case $cc_basename in
10937 hardcode_libdir_flag_spec
=' '
10938 allow_undefined_flag
=unsupported
10939 always_export_symbols
=yes
10941 # Tell ltmain to make .lib files, not .a files.
10943 # Tell ltmain to make .dll files, not .so files.
10945 # FIXME: Setting linknames here is a bad hack.
10946 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10947 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10948 cp "$export_symbols" "$output_objdir/$soname.def";
10949 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10951 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10953 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10955 # The linker will not automatically build a static lib if we build a DLL.
10956 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10957 enable_shared_with_static_runtimes
=yes
10958 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10959 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10961 old_postinstall_cmds
='chmod 644 $oldlib'
10962 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10963 lt_tool_outputfile="@TOOL_OUTPUT@"~
10964 case $lt_outputfile in
10967 lt_outputfile=$lt_outputfile.exe
10968 lt_tool_outputfile=$lt_tool_outputfile.exe
10971 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10972 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10973 $RM "$lt_outputfile.manifest";
10977 # Assume MSVC wrapper
10978 hardcode_libdir_flag_spec
=' '
10979 allow_undefined_flag
=unsupported
10980 # Tell ltmain to make .lib files, not .a files.
10982 # Tell ltmain to make .dll files, not .so files.
10984 # FIXME: Setting linknames here is a bad hack.
10985 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10986 # The linker will automatically build a .lib file if we build a DLL.
10987 old_archive_from_new_cmds
='true'
10988 # FIXME: Should let the user specify the lib program.
10989 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10990 enable_shared_with_static_runtimes
=yes
10995 darwin
* | rhapsody
*)
10998 archive_cmds_need_lc
=no
11000 hardcode_automatic
=yes
11001 hardcode_shlibpath_var
=unsupported
11002 if test yes = "$lt_cv_ld_force_load"; then
11003 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\"`'
11006 whole_archive_flag_spec
=''
11008 link_all_deplibs
=yes
11009 allow_undefined_flag
=$_lt_dar_allow_undefined
11010 case $cc_basename in
11011 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11012 *) _lt_dar_can_shared
=$GCC ;;
11014 if test yes = "$_lt_dar_can_shared"; then
11015 output_verbose_link_cmd
=func_echo_all
11016 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11017 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11018 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"
11019 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"
11028 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11029 hardcode_libdir_flag_spec
='-L$libdir'
11030 hardcode_shlibpath_var
=no
11033 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11034 # support. Future versions do this automatically, but an explicit c++rt0.o
11035 # does not break anything, and helps significantly (at the cost of a little
11038 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11039 hardcode_libdir_flag_spec
='-R$libdir'
11040 hardcode_direct
=yes
11041 hardcode_shlibpath_var
=no
11044 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11046 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11047 hardcode_direct
=yes
11048 hardcode_minus_L
=yes
11049 hardcode_shlibpath_var
=no
11052 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11053 freebsd
* | dragonfly
*)
11054 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11055 hardcode_libdir_flag_spec
='-R$libdir'
11056 hardcode_direct
=yes
11057 hardcode_shlibpath_var
=no
11061 if test yes = "$GCC"; then
11062 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11064 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11066 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11067 hardcode_libdir_separator
=:
11068 hardcode_direct
=yes
11070 # hardcode_minus_L: Not really in the search PATH,
11071 # but as the default location of the library.
11072 hardcode_minus_L
=yes
11073 export_dynamic_flag_spec
='$wl-E'
11077 if test yes,no
= "$GCC,$with_gnu_ld"; then
11078 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11080 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11082 if test no
= "$with_gnu_ld"; then
11083 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11084 hardcode_libdir_separator
=:
11085 hardcode_direct
=yes
11086 hardcode_direct_absolute
=yes
11087 export_dynamic_flag_spec
='$wl-E'
11088 # hardcode_minus_L: Not really in the search PATH,
11089 # but as the default location of the library.
11090 hardcode_minus_L
=yes
11095 if test yes,no
= "$GCC,$with_gnu_ld"; then
11098 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11101 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11104 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11110 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11113 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11117 # Older versions of the 11.00 compiler do not understand -b yet
11118 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11120 $as_echo_n "checking if $CC understands -b... " >&6; }
11121 if ${lt_cv_prog_compiler__b+:} false
; then :
11122 $as_echo_n "(cached) " >&6
11124 lt_cv_prog_compiler__b
=no
11125 save_LDFLAGS
=$LDFLAGS
11126 LDFLAGS
="$LDFLAGS -b"
11127 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11128 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11129 # The linker can only warn and ignore the option if not recognized
11130 # So say no if there are warnings
11131 if test -s conftest.err
; then
11132 # Append any errors to the config.log.
11133 cat conftest.err
1>&5
11134 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11135 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11136 if diff conftest.exp conftest.er2
>/dev
/null
; then
11137 lt_cv_prog_compiler__b
=yes
11140 lt_cv_prog_compiler__b
=yes
11144 LDFLAGS
=$save_LDFLAGS
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11148 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11150 if test yes = "$lt_cv_prog_compiler__b"; then
11151 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11153 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11159 if test no
= "$with_gnu_ld"; then
11160 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11161 hardcode_libdir_separator
=:
11166 hardcode_shlibpath_var
=no
11169 hardcode_direct
=yes
11170 hardcode_direct_absolute
=yes
11171 export_dynamic_flag_spec
='$wl-E'
11173 # hardcode_minus_L: Not really in the search PATH,
11174 # but as the default location of the library.
11175 hardcode_minus_L
=yes
11181 irix5
* | irix6
* | nonstopux
*)
11182 if test yes = "$GCC"; then
11183 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'
11184 # Try to use the -exported_symbol ld option, if it does not
11185 # work, assume that -exports_file does not work either and
11186 # implicitly export all symbols.
11187 # This should be the same for all languages, so no per-tag cache variable.
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11189 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11190 if ${lt_cv_irix_exported_symbol+:} false
; then :
11191 $as_echo_n "(cached) " >&6
11193 save_LDFLAGS
=$LDFLAGS
11194 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11197 int foo (void) { return 0; }
11199 if ac_fn_c_try_link
"$LINENO"; then :
11200 lt_cv_irix_exported_symbol
=yes
11202 lt_cv_irix_exported_symbol
=no
11204 rm -f core conftest.err conftest.
$ac_objext \
11205 conftest
$ac_exeext conftest.
$ac_ext
11206 LDFLAGS
=$save_LDFLAGS
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11209 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11210 if test yes = "$lt_cv_irix_exported_symbol"; then
11211 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'
11214 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'
11215 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'
11217 archive_cmds_need_lc
='no'
11218 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11219 hardcode_libdir_separator
=:
11221 link_all_deplibs
=yes
11225 case $cc_basename in
11227 # Fabrice Bellard et al's Tiny C Compiler
11229 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11235 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11236 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11238 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11240 hardcode_libdir_flag_spec
='-R$libdir'
11241 hardcode_direct
=yes
11242 hardcode_shlibpath_var
=no
11246 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11247 hardcode_direct
=yes
11248 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11249 hardcode_libdir_separator
=:
11250 hardcode_shlibpath_var
=no
11256 openbsd
* | bitrig
*)
11257 if test -f /usr
/libexec
/ld.so
; then
11258 hardcode_direct
=yes
11259 hardcode_shlibpath_var
=no
11260 hardcode_direct_absolute
=yes
11261 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11262 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11263 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11264 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11265 export_dynamic_flag_spec
='$wl-E'
11267 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11268 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11276 hardcode_libdir_flag_spec
='-L$libdir'
11277 hardcode_minus_L
=yes
11278 allow_undefined_flag
=unsupported
11280 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11281 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11282 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11283 $ECHO EXPORTS >> $output_objdir/$libname.def~
11284 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11285 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11286 emximp -o $lib $output_objdir/$libname.def'
11287 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11288 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11289 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11290 $ECHO EXPORTS >> $output_objdir/$libname.def~
11291 prefix_cmds="$SED"~
11292 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11293 prefix_cmds="$prefix_cmds -e 1d";
11295 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11296 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11297 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11298 emximp -o $lib $output_objdir/$libname.def'
11299 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11300 enable_shared_with_static_runtimes
=yes
11304 if test yes = "$GCC"; then
11305 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11306 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'
11308 allow_undefined_flag
=' -expect_unresolved \*'
11309 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'
11311 archive_cmds_need_lc
='no'
11312 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11313 hardcode_libdir_separator
=:
11316 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11317 if test yes = "$GCC"; then
11318 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11319 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'
11320 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11322 allow_undefined_flag
=' -expect_unresolved \*'
11323 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'
11324 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~
11325 $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'
11327 # Both c and cxx compiler support -rpath directly
11328 hardcode_libdir_flag_spec
='-rpath $libdir'
11330 archive_cmds_need_lc
='no'
11331 hardcode_libdir_separator
=:
11335 no_undefined_flag
=' -z defs'
11336 if test yes = "$GCC"; then
11338 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11339 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11340 $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'
11342 case `$CC -V 2>&1` in
11345 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11346 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11347 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11351 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11352 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11353 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11357 hardcode_libdir_flag_spec
='-R$libdir'
11358 hardcode_shlibpath_var
=no
11360 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11362 # The compiler driver will combine and reorder linker options,
11363 # but understands '-z linker_flag'. GCC discards it without '$wl',
11364 # but is careful enough not to reorder.
11365 # Supported since Solaris 2.6 (maybe 2.5.1?)
11366 if test yes = "$GCC"; then
11367 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11369 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11373 link_all_deplibs
=yes
11377 if test sequent
= "$host_vendor"; then
11378 # Use $CC to link under sequent, because it throws in some extra .o
11379 # files that make .init and .fini sections work.
11380 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11382 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11384 hardcode_libdir_flag_spec
='-L$libdir'
11385 hardcode_direct
=yes
11386 hardcode_minus_L
=yes
11387 hardcode_shlibpath_var
=no
11391 case $host_vendor in
11393 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11394 hardcode_direct
=yes # is this really true???
11397 ## LD is ld it makes a PLAMLIB
11398 ## CC just makes a GrossModule.
11399 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11400 reload_cmds
='$CC -r -o $output$reload_objs'
11404 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11405 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11408 runpath_var
='LD_RUN_PATH'
11409 hardcode_shlibpath_var
=no
11413 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11414 hardcode_shlibpath_var
=no
11415 export_dynamic_flag_spec
='-Bexport'
11419 if test -d /usr
/nec
; then
11420 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11421 hardcode_shlibpath_var
=no
11422 runpath_var
=LD_RUN_PATH
11423 hardcode_runpath_var
=yes
11428 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11429 no_undefined_flag
='$wl-z,text'
11430 archive_cmds_need_lc
=no
11431 hardcode_shlibpath_var
=no
11432 runpath_var
='LD_RUN_PATH'
11434 if test yes = "$GCC"; then
11435 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11436 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11438 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11439 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11443 sysv5
* | sco3.2v5
* | sco5v6
*)
11444 # Note: We CANNOT use -z defs as we might desire, because we do not
11445 # link with -lc, and that would cause any symbols used from libc to
11446 # always be unresolved, which means just about no library would
11447 # ever link correctly. If we're not using GNU ld we use -z text
11448 # though, which does catch some bad symbols but isn't as heavy-handed
11450 no_undefined_flag
='$wl-z,text'
11451 allow_undefined_flag
='$wl-z,nodefs'
11452 archive_cmds_need_lc
=no
11453 hardcode_shlibpath_var
=no
11454 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11455 hardcode_libdir_separator
=':'
11456 link_all_deplibs
=yes
11457 export_dynamic_flag_spec
='$wl-Bexport'
11458 runpath_var
='LD_RUN_PATH'
11460 if test yes = "$GCC"; then
11461 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11462 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11464 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11465 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11470 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11471 hardcode_libdir_flag_spec
='-L$libdir'
11472 hardcode_shlibpath_var
=no
11480 if test sni
= "$host_vendor"; then
11482 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11483 export_dynamic_flag_spec
='$wl-Blargedynsym'
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11490 $as_echo "$ld_shlibs" >&6; }
11491 test no
= "$ld_shlibs" && can_build_shared
=no
11493 with_gnu_ld
=$with_gnu_ld
11510 # Do we need to explicitly link libc?
11512 case "x$archive_cmds_need_lc" in
11514 # Assume -lc should be added
11515 archive_cmds_need_lc
=yes
11517 if test yes,yes = "$GCC,$enable_shared"; then
11518 case $archive_cmds in
11520 # FIXME: we may have to deal with multi-command sequences.
11523 # Test whether the compiler implicitly links with -lc since on some
11524 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11525 # to ld, don't add -lc before -lgcc.
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11527 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11528 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11529 $as_echo_n "(cached) " >&6
11532 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11535 (eval $ac_compile) 2>&5
11537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11538 test $ac_status = 0; } 2>conftest.err
; then
11541 libobjs
=conftest.
$ac_objext
11543 wl
=$lt_prog_compiler_wl
11544 pic_flag
=$lt_prog_compiler_pic
11550 lt_save_allow_undefined_flag
=$allow_undefined_flag
11551 allow_undefined_flag
=
11552 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11553 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11556 test $ac_status = 0; }
11558 lt_cv_archive_cmds_need_lc
=no
11560 lt_cv_archive_cmds_need_lc
=yes
11562 allow_undefined_flag
=$lt_save_allow_undefined_flag
11564 cat conftest.err
1>&5
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11570 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11571 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11730 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11732 if test yes = "$GCC"; then
11734 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11735 *) lt_awk_arg
='/^libraries:/' ;;
11738 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11739 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11741 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11742 case $lt_search_path_spec in
11744 # if the path contains ";" then we assume it to be the separator
11745 # otherwise default to the standard path separator (i.e. ":") - it is
11746 # assumed that no part of a normal pathname contains ";" but that should
11747 # okay in the real world where ";" in dirpaths is itself problematic.
11748 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11751 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11754 # Ok, now we have the path, separated by spaces, we can step through it
11755 # and add multilib dir if necessary...
11756 lt_tmp_lt_search_path_spec
=
11757 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11758 # ...but if some path component already ends with the multilib dir we assume
11759 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11760 case "$lt_multi_os_dir; $lt_search_path_spec " in
11761 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11765 for lt_sys_path
in $lt_search_path_spec; do
11766 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11767 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11768 elif test -n "$lt_multi_os_dir"; then
11769 test -d "$lt_sys_path" && \
11770 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11773 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11774 BEGIN {RS = " "; FS = "/|\n";} {
11777 for (lt_i = NF; lt_i > 0; lt_i--) {
11778 if ($lt_i != "" && $lt_i != ".") {
11779 if ($lt_i == "..") {
11782 if (lt_count == 0) {
11783 lt_foo = "/" $lt_i lt_foo;
11790 if (lt_foo != "") { lt_freq[lt_foo]++; }
11791 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11793 # AWK program above erroneously prepends '/' to C:/dos/paths
11796 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11797 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11799 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11801 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11803 library_names_spec
=
11804 libname_spec
='lib$name'
11808 postuninstall_cmds
=
11812 shlibpath_overrides_runpath
=unknown
11814 dynamic_linker
="$host_os ld.so"
11815 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11816 need_lib_prefix
=unknown
11817 hardcode_into_libs
=no
11819 # when you set need_version to no, make sure it does not cause -set_version
11820 # flags to be left without arguments
11821 need_version
=unknown
11827 version_type
=linux
# correct to gnu/linux during the next big refactor
11828 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11829 shlibpath_var
=LIBPATH
11831 # AIX 3 has no versioning support, so we append a major version to the name.
11832 soname_spec
='$libname$release$shared_ext$major'
11836 version_type
=linux
# correct to gnu/linux during the next big refactor
11839 hardcode_into_libs
=yes
11840 if test ia64
= "$host_cpu"; then
11841 # AIX 5 supports IA64
11842 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11843 shlibpath_var
=LD_LIBRARY_PATH
11845 # With GCC up to 2.95.x, collect2 would create an import file
11846 # for dependence libraries. The import file would start with
11847 # the line '#! .'. This would cause the generated library to
11848 # depend on '.', always an invalid library. This was fixed in
11849 # development snapshots of GCC prior to 3.0.
11851 aix4
| aix4.
[01] | aix4.
[01].
*)
11852 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11854 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
11857 can_build_shared
=no
11861 # Using Import Files as archive members, it is possible to support
11862 # filename-based versioning of shared library archives on AIX. While
11863 # this would work for both with and without runtime linking, it will
11864 # prevent static linking of such archives. So we do filename-based
11865 # shared library versioning with .so extension only, which is used
11866 # when both runtime linking and shared linking is enabled.
11867 # Unfortunately, runtime linking may impact performance, so we do
11868 # not want this to be the default eventually. Also, we use the
11869 # versioned .so libs for executables only if there is the -brtl
11870 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11871 # To allow for filename-based versioning support, we need to create
11872 # libNAME.so.V as an archive file, containing:
11873 # *) an Import File, referring to the versioned filename of the
11874 # archive as well as the shared archive member, telling the
11875 # bitwidth (32 or 64) of that shared object, and providing the
11876 # list of exported symbols of that shared object, eventually
11877 # decorated with the 'weak' keyword
11878 # *) the shared object with the F_LOADONLY flag set, to really avoid
11879 # it being seen by the linker.
11880 # At run time we better use the real file rather than another symlink,
11881 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11883 case $with_aix_soname,$aix_use_runtimelinking in
11884 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11885 # soname into executable. Probably we can add versioning support to
11886 # collect2, so additional links can be useful in future.
11887 aix
,yes) # traditional libtool
11888 dynamic_linker
='AIX unversionable lib.so'
11889 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11890 # instead of lib<name>.a to let people know that these are not
11891 # typical AIX shared libraries.
11892 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11894 aix
,no
) # traditional AIX only
11895 dynamic_linker
='AIX lib.a(lib.so.V)'
11896 # We preserve .a as extension for shared libraries through AIX4.2
11897 # and later when we are not doing run time linking.
11898 library_names_spec
='$libname$release.a $libname.a'
11899 soname_spec
='$libname$release$shared_ext$major'
11901 svr4
,*) # full svr4 only
11902 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11903 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11904 # We do not specify a path in Import Files, so LIBPATH fires.
11905 shlibpath_overrides_runpath
=yes
11907 *,yes) # both, prefer svr4
11908 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11909 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11910 # unpreferred sharedlib libNAME.a needs extra handling
11911 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11912 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11913 # We do not specify a path in Import Files, so LIBPATH fires.
11914 shlibpath_overrides_runpath
=yes
11916 *,no
) # both, prefer aix
11917 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11918 library_names_spec
='$libname$release.a $libname.a'
11919 soname_spec
='$libname$release$shared_ext$major'
11920 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11921 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11922 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11925 shlibpath_var
=LIBPATH
11932 # Since July 2007 AmigaOS4 officially supports .so libraries.
11933 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11934 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11937 library_names_spec
='$libname.ixlibrary $libname.a'
11938 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11939 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11945 library_names_spec
='$libname$shared_ext'
11946 dynamic_linker
="$host_os ld.so"
11947 shlibpath_var
=LIBRARY_PATH
11951 version_type
=linux
# correct to gnu/linux during the next big refactor
11953 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11954 soname_spec
='$libname$release$shared_ext$major'
11955 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11956 shlibpath_var
=LD_LIBRARY_PATH
11957 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11958 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11959 # the default ld.so.conf also contains /usr/contrib/lib and
11960 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11961 # libtool to hard-code these into programs
11964 cygwin
* | mingw
* | pw32
* | cegcc
*)
11965 version_type
=windows
11970 case $GCC,$cc_basename in
11973 library_names_spec
='$libname.dll.a'
11974 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11975 postinstall_cmds
='base_file=`basename \$file`~
11976 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11977 dldir=$destdir/`dirname \$dlpath`~
11978 test -d \$dldir || mkdir -p \$dldir~
11979 $install_prog $dir/$dlname \$dldir/$dlname~
11980 chmod a+x \$dldir/$dlname~
11981 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11982 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11984 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11985 dlpath=$dir/\$dldll~
11987 shlibpath_overrides_runpath
=yes
11991 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11992 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11994 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11997 # MinGW DLLs use traditional 'lib' prefix
11998 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12001 # pw32 DLLs use 'pw' prefix rather than 'lib'
12002 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12005 dynamic_linker
='Win32 ld.exe'
12010 libname_spec
='$name'
12011 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12012 library_names_spec
='$libname.dll.lib'
12016 sys_lib_search_path_spec
=
12019 for lt_path
in $LIB
12022 # Let DOS variable expansion print the short 8.3 style file name.
12023 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12024 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12027 # Convert to MSYS style.
12028 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12031 # Convert to unix form, then to dos form, then back to unix form
12032 # but this time dos style (no spaces!) so that the unix form looks
12033 # like /cygdrive/c/PROGRA~1:/cygdr...
12034 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12035 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12036 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12039 sys_lib_search_path_spec
=$LIB
12040 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
12041 # It is most probably a Windows format PATH.
12042 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12044 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12046 # FIXME: find the short name or the path components, as spaces are
12047 # common. (e.g. "Program Files" -> "PROGRA~1")
12051 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12052 postinstall_cmds
='base_file=`basename \$file`~
12053 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12054 dldir=$destdir/`dirname \$dlpath`~
12055 test -d \$dldir || mkdir -p \$dldir~
12056 $install_prog $dir/$dlname \$dldir/$dlname'
12057 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12058 dlpath=$dir/\$dldll~
12060 shlibpath_overrides_runpath
=yes
12061 dynamic_linker
='Win32 link.exe'
12065 # Assume MSVC wrapper
12066 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12067 dynamic_linker
='Win32 ld.exe'
12070 # FIXME: first we should search . and the directory the executable is in
12074 darwin
* | rhapsody
*)
12075 dynamic_linker
="$host_os dyld"
12076 version_type
=darwin
12079 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12080 soname_spec
='$libname$release$major$shared_ext'
12081 shlibpath_overrides_runpath
=yes
12082 shlibpath_var
=DYLD_LIBRARY_PATH
12083 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12085 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12086 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12090 version_type
=linux
# correct to gnu/linux during the next big refactor
12093 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12094 soname_spec
='$libname$release$shared_ext$major'
12095 shlibpath_var
=LD_LIBRARY_PATH
12098 freebsd
* | dragonfly
*)
12099 # DragonFly does not have aout. When/if they implement a new
12100 # versioning mechanism, adjust this.
12101 if test -x /usr
/bin
/objformat
; then
12102 objformat
=`/usr/bin/objformat`
12105 freebsd
[23].
*) objformat
=aout
;;
12106 *) objformat
=elf
;;
12109 # Handle Gentoo/FreeBSD as it was Linux
12110 case $host_vendor in
12112 version_type
=linux
;;
12114 version_type
=freebsd
-$objformat ;;
12117 case $version_type in
12119 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12120 soname_spec
='$libname$release$shared_ext$major'
12125 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12130 soname_spec
='${libname}${release}${shared_ext}$major'
12135 shlibpath_var
=LD_LIBRARY_PATH
12138 shlibpath_overrides_runpath
=yes
12140 freebsd3.
[01]* | freebsdelf3.
[01]*)
12141 shlibpath_overrides_runpath
=yes
12142 hardcode_into_libs
=yes
12144 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12145 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12146 shlibpath_overrides_runpath
=no
12147 hardcode_into_libs
=yes
12149 *) # from 4.6 on, and DragonFly
12150 shlibpath_overrides_runpath
=yes
12151 hardcode_into_libs
=yes
12157 version_type
=linux
# correct to gnu/linux during the next big refactor
12160 dynamic_linker
="$host_os runtime_loader"
12161 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12162 soname_spec
='$libname$release$shared_ext$major'
12163 shlibpath_var
=LIBRARY_PATH
12164 shlibpath_overrides_runpath
=no
12165 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12166 hardcode_into_libs
=yes
12169 hpux9
* | hpux10
* | hpux11
*)
12170 # Give a soname corresponding to the major version so that dld.sl refuses to
12171 # link against other versions.
12178 hardcode_into_libs
=yes
12179 dynamic_linker
="$host_os dld.so"
12180 shlibpath_var
=LD_LIBRARY_PATH
12181 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12182 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12183 soname_spec
='$libname$release$shared_ext$major'
12184 if test 32 = "$HPUX_IA64_MODE"; then
12185 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12186 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12188 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12189 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12194 hardcode_into_libs
=yes
12195 dynamic_linker
="$host_os dld.sl"
12196 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12197 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12198 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12199 soname_spec
='$libname$release$shared_ext$major'
12200 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12201 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12205 dynamic_linker
="$host_os dld.sl"
12206 shlibpath_var
=SHLIB_PATH
12207 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12208 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12209 soname_spec
='$libname$release$shared_ext$major'
12212 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12213 postinstall_cmds
='chmod 555 $lib'
12214 # or fails outright, so override atomically:
12215 install_override_mode
=555
12219 version_type
=linux
# correct to gnu/linux during the next big refactor
12222 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12223 soname_spec
='$libname$release$shared_ext$major'
12224 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12225 shlibpath_var
=LD_LIBRARY_PATH
12226 shlibpath_overrides_runpath
=no
12227 hardcode_into_libs
=yes
12230 irix5
* | irix6
* | nonstopux
*)
12232 nonstopux
*) version_type
=nonstopux
;;
12234 if test yes = "$lt_cv_prog_gnu_ld"; then
12235 version_type
=linux
# correct to gnu/linux during the next big refactor
12242 soname_spec
='$libname$release$shared_ext$major'
12243 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12245 irix5
* | nonstopux
*)
12246 libsuff
= shlibsuff
=
12249 case $LD in # libtool.m4 will add one of these switches to LD
12250 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12251 libsuff
= shlibsuff
= libmagic
=32-bit;;
12252 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12253 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12254 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12255 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12256 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12260 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12261 shlibpath_overrides_runpath
=no
12262 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12263 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12264 hardcode_into_libs
=yes
12267 # No shared lib support for Linux oldld, aout, or coff.
12268 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12273 version_type
=none
# Android doesn't support versioned libraries.
12276 library_names_spec
='$libname$release$shared_ext'
12277 soname_spec
='$libname$release$shared_ext'
12279 shlibpath_var
=LD_LIBRARY_PATH
12280 shlibpath_overrides_runpath
=yes
12282 # This implies no fast_install, which is unacceptable.
12283 # Some rework will be needed to allow for fast_install
12284 # before this can be enabled.
12285 hardcode_into_libs
=yes
12287 dynamic_linker
='Android linker'
12288 # Don't embed -rpath directories since the linker doesn't support them.
12289 hardcode_libdir_flag_spec
='-L$libdir'
12292 # This must be glibc/ELF.
12293 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12294 version_type
=linux
# correct to gnu/linux during the next big refactor
12297 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12298 soname_spec
='$libname$release$shared_ext$major'
12299 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12300 shlibpath_var
=LD_LIBRARY_PATH
12301 shlibpath_overrides_runpath
=no
12303 # Some binutils ld are patched to set DT_RUNPATH
12304 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12305 $as_echo_n "(cached) " >&6
12307 lt_cv_shlibpath_overrides_runpath
=no
12308 save_LDFLAGS
=$LDFLAGS
12309 save_libdir
=$libdir
12310 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12311 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12323 if ac_fn_c_try_link
"$LINENO"; then :
12324 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
12325 lt_cv_shlibpath_overrides_runpath
=yes
12328 rm -f core conftest.err conftest.
$ac_objext \
12329 conftest
$ac_exeext conftest.
$ac_ext
12330 LDFLAGS
=$save_LDFLAGS
12331 libdir
=$save_libdir
12335 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12337 # This implies no fast_install, which is unacceptable.
12338 # Some rework will be needed to allow for fast_install
12339 # before this can be enabled.
12340 hardcode_into_libs
=yes
12342 # Ideally, we could use ldconfig to report *all* directores which are
12343 # searched for libraries, however this is still not possible. Aside from not
12344 # being certain /sbin/ldconfig is available, command
12345 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12346 # even though it is searched at run-time. Try to do the best guess by
12347 # appending ld.so.conf contents (and includes) to the search path.
12348 if test -f /etc
/ld.so.conf
; then
12349 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' ' '`
12350 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12353 # We used to test for /lib/ld.so.1 and disable shared libraries on
12354 # powerpc, because MkLinux only supported shared libraries with the
12355 # GNU dynamic linker. Since this was broken with cross compilers,
12356 # most powerpc-linux boxes support dynamic linking these days and
12357 # people can always --disable-shared, the test was removed, and we
12358 # assume the GNU/Linux dynamic linker is in use.
12359 dynamic_linker
='GNU/Linux ld.so'
12366 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12367 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12368 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12369 dynamic_linker
='NetBSD (a.out) ld.so'
12371 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12372 soname_spec
='$libname$release$shared_ext$major'
12373 dynamic_linker
='NetBSD ld.elf_so'
12375 shlibpath_var
=LD_LIBRARY_PATH
12376 shlibpath_overrides_runpath
=yes
12377 hardcode_into_libs
=yes
12381 version_type
=linux
# correct to gnu/linux during the next big refactor
12382 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12383 shlibpath_var
=LD_LIBRARY_PATH
12384 shlibpath_overrides_runpath
=yes
12391 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12392 soname_spec
='$libname$release$shared_ext$major'
12393 shlibpath_var
=LD_LIBRARY_PATH
12394 shlibpath_overrides_runpath
=no
12395 hardcode_into_libs
=yes
12396 dynamic_linker
='ldqnx.so'
12399 openbsd
* | bitrig
*)
12401 sys_lib_dlsearch_path_spec
=/usr
/lib
12403 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12408 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12409 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12410 shlibpath_var
=LD_LIBRARY_PATH
12411 shlibpath_overrides_runpath
=yes
12415 libname_spec
='$name'
12416 version_type
=windows
12420 # OS/2 can only load a DLL with a base name of 8 characters or less.
12421 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12422 v=$($ECHO $release$versuffix | tr -d .-);
12423 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12424 $ECHO $n$v`$shared_ext'
12425 library_names_spec
='${libname}_dll.$libext'
12426 dynamic_linker
='OS/2 ld.exe'
12427 shlibpath_var
=BEGINLIBPATH
12428 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12429 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12430 postinstall_cmds
='base_file=`basename \$file`~
12431 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12432 dldir=$destdir/`dirname \$dlpath`~
12433 test -d \$dldir || mkdir -p \$dldir~
12434 $install_prog $dir/$dlname \$dldir/$dlname~
12435 chmod a+x \$dldir/$dlname~
12436 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12437 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12439 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12440 dlpath=$dir/\$dldll~
12444 osf3
* | osf4
* | osf5
*)
12448 soname_spec
='$libname$release$shared_ext$major'
12449 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12450 shlibpath_var
=LD_LIBRARY_PATH
12451 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12452 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12460 version_type
=linux
# correct to gnu/linux during the next big refactor
12463 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12464 soname_spec
='$libname$release$shared_ext$major'
12465 shlibpath_var
=LD_LIBRARY_PATH
12466 shlibpath_overrides_runpath
=yes
12467 hardcode_into_libs
=yes
12468 # ldd complains unless libraries are executable
12469 postinstall_cmds
='chmod +x $lib'
12474 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12475 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12476 shlibpath_var
=LD_LIBRARY_PATH
12477 shlibpath_overrides_runpath
=yes
12478 if test yes = "$with_gnu_ld"; then
12485 version_type
=linux
# correct to gnu/linux during the next big refactor
12486 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12487 soname_spec
='$libname$release$shared_ext$major'
12488 shlibpath_var
=LD_LIBRARY_PATH
12489 case $host_vendor in
12491 shlibpath_overrides_runpath
=no
12493 runpath_var
=LD_RUN_PATH
12501 shlibpath_overrides_runpath
=no
12502 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12508 if test -d /usr
/nec
; then
12509 version_type
=linux
# correct to gnu/linux during the next big refactor
12510 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12511 soname_spec
='$libname$shared_ext.$major'
12512 shlibpath_var
=LD_LIBRARY_PATH
12516 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12520 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12521 soname_spec
='$libname$release$shared_ext$major'
12522 shlibpath_var
=LD_LIBRARY_PATH
12523 shlibpath_overrides_runpath
=yes
12524 hardcode_into_libs
=yes
12525 if test yes = "$with_gnu_ld"; then
12526 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12528 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12531 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12535 sys_lib_dlsearch_path_spec
='/usr/lib'
12539 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12540 version_type
=linux
# correct to gnu/linux during the next big refactor
12543 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12544 shlibpath_var
=LD_LIBRARY_PATH
12545 shlibpath_overrides_runpath
=no
12546 hardcode_into_libs
=yes
12550 version_type
=linux
# correct to gnu/linux during the next big refactor
12551 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12552 soname_spec
='$libname$release$shared_ext$major'
12553 shlibpath_var
=LD_LIBRARY_PATH
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12561 $as_echo "$dynamic_linker" >&6; }
12562 test no
= "$dynamic_linker" && can_build_shared
=no
12564 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12565 if test yes = "$GCC"; then
12566 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12569 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12570 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12573 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12574 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12577 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12578 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12580 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12581 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12583 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12584 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12683 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12685 if test -n "$hardcode_libdir_flag_spec" ||
12686 test -n "$runpath_var" ||
12687 test yes = "$hardcode_automatic"; then
12689 # We can hardcode non-existent directories.
12690 if test no
!= "$hardcode_direct" &&
12691 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12692 # have to relink, otherwise we might link with an installed library
12693 # when we should be linking with a yet-to-be-installed one
12694 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12695 test no
!= "$hardcode_minus_L"; then
12696 # Linking always hardcodes the temporary library directory.
12697 hardcode_action
=relink
12699 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12700 hardcode_action
=immediate
12703 # We cannot hardcode anything, or else we can only hardcode existing
12705 hardcode_action
=unsupported
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12708 $as_echo "$hardcode_action" >&6; }
12710 if test relink
= "$hardcode_action" ||
12711 test yes = "$inherit_rpath"; then
12712 # Fast installation is not supported
12713 enable_fast_install
=no
12714 elif test yes = "$shlibpath_overrides_runpath" ||
12715 test no
= "$enable_shared"; then
12716 # Fast installation is not necessary
12717 enable_fast_install
=needless
12725 if test yes != "$enable_dlopen"; then
12726 enable_dlopen
=unknown
12727 enable_dlopen_self
=unknown
12728 enable_dlopen_self_static
=unknown
12735 lt_cv_dlopen
=load_add_on
12737 lt_cv_dlopen_self
=yes
12740 mingw
* | pw32
* | cegcc
*)
12741 lt_cv_dlopen
=LoadLibrary
12746 lt_cv_dlopen
=dlopen
12751 # if libdl is installed we need to link against it
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12753 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12754 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12755 $as_echo_n "(cached) " >&6
12757 ac_check_lib_save_LIBS
=$LIBS
12759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12762 /* Override any GCC internal prototype to avoid an error.
12763 Use char because int might match the return type of a GCC
12764 builtin and then its argument prototype would still apply. */
12777 if ac_fn_c_try_link
"$LINENO"; then :
12778 ac_cv_lib_dl_dlopen
=yes
12780 ac_cv_lib_dl_dlopen
=no
12782 rm -f core conftest.err conftest.
$ac_objext \
12783 conftest
$ac_exeext conftest.
$ac_ext
12784 LIBS
=$ac_check_lib_save_LIBS
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12787 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12788 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12789 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12794 lt_cv_dlopen_self
=yes
12801 # Don't try to run any link tests for TPF. We know it's impossible
12802 # because TPF is a cross-compiler, and we know how we open DSOs.
12803 lt_cv_dlopen
=dlopen
12805 lt_cv_dlopen_self
=no
12809 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12810 if test "x$ac_cv_func_shl_load" = xyes
; then :
12811 lt_cv_dlopen
=shl_load
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12814 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12815 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12816 $as_echo_n "(cached) " >&6
12818 ac_check_lib_save_LIBS
=$LIBS
12820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12821 /* end confdefs.h. */
12823 /* Override any GCC internal prototype to avoid an error.
12824 Use char because int might match the return type of a GCC
12825 builtin and then its argument prototype would still apply. */
12833 return shl_load ();
12838 if ac_fn_c_try_link
"$LINENO"; then :
12839 ac_cv_lib_dld_shl_load
=yes
12841 ac_cv_lib_dld_shl_load
=no
12843 rm -f core conftest.err conftest.
$ac_objext \
12844 conftest
$ac_exeext conftest.
$ac_ext
12845 LIBS
=$ac_check_lib_save_LIBS
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12848 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12849 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12850 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12852 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12853 if test "x$ac_cv_func_dlopen" = xyes
; then :
12854 lt_cv_dlopen
=dlopen
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12857 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12858 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12859 $as_echo_n "(cached) " >&6
12861 ac_check_lib_save_LIBS
=$LIBS
12863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 /* Override any GCC internal prototype to avoid an error.
12867 Use char because int might match the return type of a GCC
12868 builtin and then its argument prototype would still apply. */
12881 if ac_fn_c_try_link
"$LINENO"; then :
12882 ac_cv_lib_dl_dlopen
=yes
12884 ac_cv_lib_dl_dlopen
=no
12886 rm -f core conftest.err conftest.
$ac_objext \
12887 conftest
$ac_exeext conftest.
$ac_ext
12888 LIBS
=$ac_check_lib_save_LIBS
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12891 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12892 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12893 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12896 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12897 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12898 $as_echo_n "(cached) " >&6
12900 ac_check_lib_save_LIBS
=$LIBS
12901 LIBS
="-lsvld $LIBS"
12902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12905 /* Override any GCC internal prototype to avoid an error.
12906 Use char because int might match the return type of a GCC
12907 builtin and then its argument prototype would still apply. */
12920 if ac_fn_c_try_link
"$LINENO"; then :
12921 ac_cv_lib_svld_dlopen
=yes
12923 ac_cv_lib_svld_dlopen
=no
12925 rm -f core conftest.err conftest.
$ac_objext \
12926 conftest
$ac_exeext conftest.
$ac_ext
12927 LIBS
=$ac_check_lib_save_LIBS
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12930 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12931 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12932 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12935 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12936 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12937 $as_echo_n "(cached) " >&6
12939 ac_check_lib_save_LIBS
=$LIBS
12941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12954 return dld_link ();
12959 if ac_fn_c_try_link
"$LINENO"; then :
12960 ac_cv_lib_dld_dld_link
=yes
12962 ac_cv_lib_dld_dld_link
=no
12964 rm -f core conftest.err conftest.
$ac_objext \
12965 conftest
$ac_exeext conftest.
$ac_ext
12966 LIBS
=$ac_check_lib_save_LIBS
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12969 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12970 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12971 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12992 if test no
= "$lt_cv_dlopen"; then
12998 case $lt_cv_dlopen in
13000 save_CPPFLAGS
=$CPPFLAGS
13001 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13003 save_LDFLAGS
=$LDFLAGS
13004 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13007 LIBS
="$lt_cv_dlopen_libs $LIBS"
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13010 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13011 if ${lt_cv_dlopen_self+:} false
; then :
13012 $as_echo_n "(cached) " >&6
13014 if test yes = "$cross_compiling"; then :
13015 lt_cv_dlopen_self
=cross
13017 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13018 lt_status
=$lt_dlunknown
13019 cat > conftest.
$ac_ext <<_LT_EOF
13020 #line $LINENO "configure"
13021 #include "confdefs.h"
13030 # define LT_DLGLOBAL RTLD_GLOBAL
13033 # define LT_DLGLOBAL DL_GLOBAL
13035 # define LT_DLGLOBAL 0
13039 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13040 find out it does not work in some platform. */
13041 #ifndef LT_DLLAZY_OR_NOW
13043 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13046 # define LT_DLLAZY_OR_NOW DL_LAZY
13049 # define LT_DLLAZY_OR_NOW RTLD_NOW
13052 # define LT_DLLAZY_OR_NOW DL_NOW
13054 # define LT_DLLAZY_OR_NOW 0
13061 /* When -fvisibility=hidden is used, assume the code has been annotated
13062 correspondingly for the symbols needed. */
13063 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13064 int fnord () __attribute__((visibility("default")));
13067 int fnord () { return 42; }
13070 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13071 int status = $lt_dlunknown;
13075 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13078 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13079 else puts (dlerror ());
13081 /* dlclose (self); */
13089 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13090 (eval $ac_link) 2>&5
13092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13093 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13094 (.
/conftest
; exit; ) >&5 2>/dev
/null
13096 case x
$lt_status in
13097 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13098 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13099 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13102 # compilation failed
13103 lt_cv_dlopen_self
=no
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13111 $as_echo "$lt_cv_dlopen_self" >&6; }
13113 if test yes = "$lt_cv_dlopen_self"; then
13114 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13116 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13117 if ${lt_cv_dlopen_self_static+:} false
; then :
13118 $as_echo_n "(cached) " >&6
13120 if test yes = "$cross_compiling"; then :
13121 lt_cv_dlopen_self_static
=cross
13123 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13124 lt_status
=$lt_dlunknown
13125 cat > conftest.
$ac_ext <<_LT_EOF
13126 #line $LINENO "configure"
13127 #include "confdefs.h"
13136 # define LT_DLGLOBAL RTLD_GLOBAL
13139 # define LT_DLGLOBAL DL_GLOBAL
13141 # define LT_DLGLOBAL 0
13145 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13146 find out it does not work in some platform. */
13147 #ifndef LT_DLLAZY_OR_NOW
13149 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13152 # define LT_DLLAZY_OR_NOW DL_LAZY
13155 # define LT_DLLAZY_OR_NOW RTLD_NOW
13158 # define LT_DLLAZY_OR_NOW DL_NOW
13160 # define LT_DLLAZY_OR_NOW 0
13167 /* When -fvisibility=hidden is used, assume the code has been annotated
13168 correspondingly for the symbols needed. */
13169 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13170 int fnord () __attribute__((visibility("default")));
13173 int fnord () { return 42; }
13176 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13177 int status = $lt_dlunknown;
13181 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13184 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13185 else puts (dlerror ());
13187 /* dlclose (self); */
13195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13196 (eval $ac_link) 2>&5
13198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13199 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13200 (.
/conftest
; exit; ) >&5 2>/dev
/null
13202 case x
$lt_status in
13203 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13204 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13205 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13208 # compilation failed
13209 lt_cv_dlopen_self_static
=no
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13217 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13220 CPPFLAGS
=$save_CPPFLAGS
13221 LDFLAGS
=$save_LDFLAGS
13226 case $lt_cv_dlopen_self in
13227 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13228 *) enable_dlopen_self
=unknown
;;
13231 case $lt_cv_dlopen_self_static in
13232 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13233 *) enable_dlopen_self_static
=unknown
;;
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13256 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13257 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13258 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13259 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13261 $as_echo "yes" >&6; }
13263 # FIXME - insert some real tests, host_os isn't really good enough
13266 if test -n "$STRIP"; then
13267 striplib
="$STRIP -x"
13268 old_striplib
="$STRIP -S"
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13270 $as_echo "yes" >&6; }
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13273 $as_echo "no" >&6; }
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13278 $as_echo "no" >&6; }
13294 # Report what library types will actually be built
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13296 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13298 $as_echo "$can_build_shared" >&6; }
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13301 $as_echo_n "checking whether to build shared libraries... " >&6; }
13302 test no
= "$can_build_shared" && enable_shared
=no
13304 # On AIX, shared libraries and static libraries use the same namespace, and
13305 # are all built from PIC.
13308 test yes = "$enable_shared" && enable_static
=no
13309 if test -n "$RANLIB"; then
13310 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13311 postinstall_cmds
='$RANLIB $lib'
13316 if test ia64
!= "$host_cpu"; then
13317 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13318 yes,aix
,yes) ;; # shared object as lib.so file only
13319 yes,svr4
,*) ;; # shared object as lib.so archive member only
13320 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13326 $as_echo "$enable_shared" >&6; }
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13329 $as_echo_n "checking whether to build static libraries... " >&6; }
13330 # Make sure either enable_shared or enable_static is yes.
13331 test yes = "$enable_shared" || enable_static
=yes
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13333 $as_echo "$enable_static" >&6; }
13340 ac_cpp
='$CPP $CPPFLAGS'
13341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13361 ac_config_commands
="$ac_config_commands libtool"
13366 # Only expand once:
13370 LIBTOOL
="$LIBTOOL --silent"
13375 cat >>confdefs.h
<<_ACEOF
13380 cat >>confdefs.h
<<_ACEOF
13387 cat >>confdefs.h
<<_ACEOF
13392 cat >>confdefs.h
<<_ACEOF
13396 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
13397 if test "x$ac_cv_header_windows_h" = xyes
; then :
13400 as_fn_error $?
"** MinGW and no windows.h. I give up." "$LINENO" 5
13404 ac_fn_c_check_header_mongrel
"$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
13405 if test "x$ac_cv_header_winsock2_h" = xyes
; then :
13408 as_fn_error $?
"** MinGW and no winsock2.h. I give up." "$LINENO" 5
13413 cat >>confdefs.h
<<_ACEOF
13414 #define HAVE_WINSOCK2_H 1
13418 cat >>confdefs.h
<<_ACEOF
13419 #define HAVE_WINSOCK_H 1
13422 LIBS
="$LIBS -lws2_32 -liphlpapi"
13426 CPPFLAGS
="$CFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=500"
13429 CPPFLAGS
="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2"
13435 if test "$is_mingw" = "yes"; then
13445 # backwards support for IRC_CFLAGS
13446 CFLAGS
="$IRC_CFLAGS $CFLAGS -Wall"
13448 if test "$libexecdir" = '${exec_prefix}/libexec' &&
13449 test "$localstatedir" = '${prefix}/var'; then
13450 libexecdir
='${bindir}'
13451 localstatedir
='${prefix}'
13454 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13455 if test "x$ac_cv_type_pid_t" = xyes
; then :
13459 cat >>confdefs.h
<<_ACEOF
13465 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13466 if test "x$ac_cv_type_size_t" = xyes
; then :
13470 cat >>confdefs.h
<<_ACEOF
13471 #define size_t unsigned int
13476 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13477 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13481 cat >>confdefs.h
<<_ACEOF
13482 #define ssize_t int
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
13488 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
13489 if ${ac_cv_type_uid_t+:} false
; then :
13490 $as_echo_n "(cached) " >&6
13492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13493 /* end confdefs.h. */
13494 #include <sys/types.h>
13497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13498 $EGREP "uid_t" >/dev
/null
2>&1; then :
13499 ac_cv_type_uid_t
=yes
13501 ac_cv_type_uid_t
=no
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
13507 $as_echo "$ac_cv_type_uid_t" >&6; }
13508 if test $ac_cv_type_uid_t = no
; then
13510 $as_echo "#define uid_t int" >>confdefs.h
13513 $as_echo "#define gid_t int" >>confdefs.h
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13520 $as_echo_n "checking for ANSI C header files... " >&6; }
13521 if ${ac_cv_header_stdc+:} false
; then :
13522 $as_echo_n "(cached) " >&6
13524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13526 #include <stdlib.h>
13527 #include <stdarg.h>
13528 #include <string.h>
13539 if ac_fn_c_try_compile
"$LINENO"; then :
13540 ac_cv_header_stdc
=yes
13542 ac_cv_header_stdc
=no
13544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13546 if test $ac_cv_header_stdc = yes; then
13547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13549 /* end confdefs.h. */
13550 #include <string.h>
13553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13554 $EGREP "memchr" >/dev
/null
2>&1; then :
13557 ac_cv_header_stdc
=no
13563 if test $ac_cv_header_stdc = yes; then
13564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13567 #include <stdlib.h>
13570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13571 $EGREP "free" >/dev
/null
2>&1; then :
13574 ac_cv_header_stdc
=no
13580 if test $ac_cv_header_stdc = yes; then
13581 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13582 if test "$cross_compiling" = yes; then :
13585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13588 #include <stdlib.h>
13589 #if ((' ' & 0x0FF) == 0x020)
13590 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13591 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13593 # define ISLOWER(c) \
13594 (('a' <= (c) && (c) <= 'i') \
13595 || ('j' <= (c) && (c) <= 'r') \
13596 || ('s' <= (c) && (c) <= 'z'))
13597 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13600 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13605 for (i = 0; i < 256; i++)
13606 if (XOR (islower (i), ISLOWER (i))
13607 || toupper (i) != TOUPPER (i))
13612 if ac_fn_c_try_run
"$LINENO"; then :
13615 ac_cv_header_stdc
=no
13617 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13618 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13624 $as_echo "$ac_cv_header_stdc" >&6; }
13625 if test $ac_cv_header_stdc = yes; then
13627 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13632 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
13634 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13635 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13636 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13637 cat >>confdefs.h
<<_ACEOF
13638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
13646 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
13647 if ${ac_cv_header_time+:} false
; then :
13648 $as_echo_n "(cached) " >&6
13650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13652 #include <sys/types.h>
13653 #include <sys/time.h>
13659 if ((struct tm *) 0)
13665 if ac_fn_c_try_compile
"$LINENO"; then :
13666 ac_cv_header_time
=yes
13668 ac_cv_header_time
=no
13670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
13673 $as_echo "$ac_cv_header_time" >&6; }
13674 if test $ac_cv_header_time = yes; then
13676 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13683 $as_echo_n "checking for library containing socket... " >&6; }
13684 if ${ac_cv_search_socket+:} false
; then :
13685 $as_echo_n "(cached) " >&6
13687 ac_func_search_save_LIBS
=$LIBS
13688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13691 /* Override any GCC internal prototype to avoid an error.
13692 Use char because int might match the return type of a GCC
13693 builtin and then its argument prototype would still apply. */
13706 for ac_lib
in '' socket
; do
13707 if test -z "$ac_lib"; then
13708 ac_res
="none required"
13711 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13713 if ac_fn_c_try_link
"$LINENO"; then :
13714 ac_cv_search_socket
=$ac_res
13716 rm -f core conftest.err conftest.
$ac_objext \
13718 if ${ac_cv_search_socket+:} false
; then :
13722 if ${ac_cv_search_socket+:} false
; then :
13725 ac_cv_search_socket
=no
13727 rm conftest.
$ac_ext
13728 LIBS
=$ac_func_search_save_LIBS
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13731 $as_echo "$ac_cv_search_socket" >&6; }
13732 ac_res
=$ac_cv_search_socket
13733 if test "$ac_res" != no
; then :
13734 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13740 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
13741 #ifdef HAVE_SYS_TYPES_H
13742 #include <sys/types.h>
13744 #ifdef HAVE_SYS_SOCKET_H
13745 #include <sys/socket.h>
13747 #ifdef HAVE_WINSOCK2_H
13748 #include <winsock2.h>
13752 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
13754 $as_echo "#define SOCKADDR_IN_HAS_LEN 1" >>confdefs.h
13759 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
13760 #include <sys/socket.h>
13762 if test "x$ac_cv_type_socklen_t" = xyes
; then :
13763 rb_cv_socklen_t
=socklen_t
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
13767 $as_echo_n "checking for socklen_t equivalent... " >&6; }
13768 if ${rb_cv_socklen_t+:} false
; then :
13769 $as_echo_n "(cached) " >&6
13772 # Systems have either "struct sockaddr *" or
13773 # "void *" as the second argument to getpeername
13775 for arg2
in "struct sockaddr" void
; do
13776 for t
in int size_t unsigned long
"unsigned long"; do
13777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13780 #ifdef HAVE_SYS_TYPES_H
13781 #include <sys/types.h>
13783 #ifdef HAVE_SYS_SOCKET_H
13784 #include <sys/socket.h>
13786 #ifdef HAVE_WINSOCK2_H
13787 #include <winsock2.h>
13789 int getpeername (int, $arg2 *, $t *);
13796 getpeername(0,0,&len);
13802 if ac_fn_c_try_compile
"$LINENO"; then :
13804 rb_cv_socklen_t
="$t"
13808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13812 if test "x$rb_cv_socklen_t" = x
; then
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find a type to use in place of socklen_t using int" >&5
13814 $as_echo "$as_me: WARNING: Cannot find a type to use in place of socklen_t using int" >&2;}
13815 rb_cv_socklen_t
=int
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_socklen_t" >&5
13821 $as_echo "$rb_cv_socklen_t" >&6; }
13825 rb_socklen_t
=$rb_cv_socklen_t
13831 # Check whether --enable-ipv6 was given.
13832 if test "${enable_ipv6+set}" = set; then :
13833 enableval
=$enable_ipv6; ipv6
=$enableval
13839 if test x
$ipv6 != xyes
; then
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INET6 protocol support" >&5
13846 $as_echo_n "checking for INET6 protocol support... " >&6; }
13847 if ${rb_cv_proto_inet6+:} false
; then :
13848 $as_echo_n "(cached) " >&6
13851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13854 #include <sys/types.h>
13855 #include <sys/socket.h>
13858 #error Missing PF_INET6
13861 #error Mlssing AF_INET6
13865 if ac_fn_c_try_cpp
"$LINENO"; then :
13867 rb_cv_proto_inet6
=yes
13871 rb_cv_proto_inet6
=no
13874 rm -f conftest.err conftest.i conftest.
$ac_ext
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_proto_inet6" >&5
13878 $as_echo "$rb_cv_proto_inet6" >&6; }
13880 if test "X$rb_cv_proto_inet6" = "Xyes"; then :
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: PF_INET6 not found" >&5
13885 $as_echo "$as_me: Disabling IPv6 support: PF_INET6 not found" >&6;}
13891 if test "X$have_v6" = "Xyes"; then
13893 rb_have_sockaddr_in6
=
13894 ac_fn_c_check_type
"$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
13895 #include <sys/types.h>
13896 #include <sys/socket.h>
13897 #include <netinet/in.h>
13900 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes
; then :
13902 cat >>confdefs.h
<<_ACEOF
13903 #define HAVE_STRUCT_SOCKADDR_IN6 1
13907 rb_have_sockaddr_in6
=yes
13911 rb_have_sockaddr_in6
=no
13916 if test "X$rb_have_sockaddr_in6" = "Xyes"; then :
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: struct sockaddr_in6 not found" >&5
13921 $as_echo "$as_me: Disabling IPv6 support: struct sockaddr_in6 not found" >&6;}
13930 ac_fn_c_check_type
"$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
13931 #include <sys/types.h>
13932 #include <sys/socket.h>
13935 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
; then :
13937 cat >>confdefs.h
<<_ACEOF
13938 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
13942 rb_have_sockaddr_storage
=yes
13948 ac_fn_c_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
13949 if test "x$ac_cv_header_stdarg_h" = xyes
; then :
13952 as_fn_error $?
"** stdarg.h could not be found - librb will not compile without it **" "$LINENO" 5
13957 ac_fn_c_check_type
"$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#include <sys/types.h>
13958 #include <sys/socket.h>
13960 if test "x$ac_cv_type_sa_family_t" = xyes
; then :
13964 $as_echo "#define sa_family_t u_int16_t" >>confdefs.h
13970 for ac_func
in snprintf vsnprintf 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
13972 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13973 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13974 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13975 cat >>confdefs.h
<<_ACEOF
13976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
13984 $as_echo_n "checking for library containing nanosleep... " >&6; }
13985 if ${ac_cv_search_nanosleep+:} false
; then :
13986 $as_echo_n "(cached) " >&6
13988 ac_func_search_save_LIBS
=$LIBS
13989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
14002 return nanosleep ();
14007 for ac_lib
in '' rt posix4
; do
14008 if test -z "$ac_lib"; then
14009 ac_res
="none required"
14012 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14014 if ac_fn_c_try_link
"$LINENO"; then :
14015 ac_cv_search_nanosleep
=$ac_res
14017 rm -f core conftest.err conftest.
$ac_objext \
14019 if ${ac_cv_search_nanosleep+:} false
; then :
14023 if ${ac_cv_search_nanosleep+:} false
; then :
14026 ac_cv_search_nanosleep
=no
14028 rm conftest.
$ac_ext
14029 LIBS
=$ac_func_search_save_LIBS
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14032 $as_echo "$ac_cv_search_nanosleep" >&6; }
14033 ac_res
=$ac_cv_search_nanosleep
14034 if test "$ac_res" != no
; then :
14035 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14037 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5
14042 $as_echo_n "checking for library containing timer_create... " >&6; }
14043 if ${ac_cv_search_timer_create+:} false
; then :
14044 $as_echo_n "(cached) " >&6
14046 ac_func_search_save_LIBS
=$LIBS
14047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 /* Override any GCC internal prototype to avoid an error.
14051 Use char because int might match the return type of a GCC
14052 builtin and then its argument prototype would still apply. */
14056 char timer_create ();
14060 return timer_create ();
14065 for ac_lib
in '' rt
; do
14066 if test -z "$ac_lib"; then
14067 ac_res
="none required"
14070 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14072 if ac_fn_c_try_link
"$LINENO"; then :
14073 ac_cv_search_timer_create
=$ac_res
14075 rm -f core conftest.err conftest.
$ac_objext \
14077 if ${ac_cv_search_timer_create+:} false
; then :
14081 if ${ac_cv_search_timer_create+:} false
; then :
14084 ac_cv_search_timer_create
=no
14086 rm conftest.
$ac_ext
14087 LIBS
=$ac_func_search_save_LIBS
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5
14090 $as_echo "$ac_cv_search_timer_create" >&6; }
14091 ac_res
=$ac_cv_search_timer_create
14092 if test "$ac_res" != no
; then :
14093 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14095 $as_echo "#define HAVE_TIMER_CREATE 1" >>confdefs.h
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timer_create(CLOCK_REALTIME)" >&5
14100 $as_echo_n "checking for a working timer_create(CLOCK_REALTIME)... " >&6; }
14101 if ${rb__cv_timer_create_works+:} false
; then :
14102 $as_echo_n "(cached) " >&6
14104 if test "$cross_compiling" = yes; then :
14105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14107 as_fn_error $?
"cannot run test program while cross compiling
14108 See \`config.log' for more details" "$LINENO" 5; }
14110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14116 #ifdef HAVE_SIGNAL_H
14117 #include <signal.h>
14119 #ifdef HAVE_UNISTD_H
14120 #include <unistd.h>
14122 int main(int argc, char *argv[])
14124 #if HAVE_TIMER_CREATE
14125 struct sigevent ev;
14127 ev.sigev_notify = SIGEV_SIGNAL;
14128 ev.sigev_signo = SIGVTALRM;
14129 if (timer_create(CLOCK_REALTIME, &ev, &timer) != 0) {
14139 if ac_fn_c_try_run
"$LINENO"; then :
14140 rb__cv_timer_create_works
=yes
14142 rb__cv_timer_create_works
=no
14144 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14145 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timer_create_works" >&5
14151 $as_echo "$rb__cv_timer_create_works" >&6; }
14152 case $rb__cv_timer_create_works in
14154 $as_echo "#define USE_TIMER_CREATE 1" >>confdefs.h
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timerfd_create(CLOCK_REALTIME)" >&5
14159 $as_echo_n "checking for a working timerfd_create(CLOCK_REALTIME)... " >&6; }
14160 if ${rb__cv_timerfd_create_works+:} false
; then :
14161 $as_echo_n "(cached) " >&6
14163 if test "$cross_compiling" = yes; then :
14164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14166 as_fn_error $?
"cannot run test program while cross compiling
14167 See \`config.log' for more details" "$LINENO" 5; }
14169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14175 #ifdef HAVE_SIGNAL_H
14176 #include <signal.h>
14178 #ifdef HAVE_UNISTD_H
14179 #include <unistd.h>
14181 #ifdef HAVE_SYS_TIMERFD_H
14182 #include <sys/timerfd.h>
14184 int main(int argc, char *argv[])
14186 #if defined(HAVE_TIMERFD_CREATE) && defined(HAVE_SYS_TIMERFD_H)
14187 if (timerfd_create(CLOCK_REALTIME, 0) < 0) {
14197 if ac_fn_c_try_run
"$LINENO"; then :
14198 rb__cv_timerfd_create_works
=yes
14200 rb__cv_timerfd_create_works
=no
14202 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14203 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timerfd_create_works" >&5
14209 $as_echo "$rb__cv_timerfd_create_works" >&6; }
14210 case $rb__cv_timerfd_create_works in
14212 $as_echo "#define USE_TIMERFD_CREATE 1" >>confdefs.h
14217 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14218 # for constant arguments. Useless!
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14220 $as_echo_n "checking for working alloca.h... " >&6; }
14221 if ${ac_cv_working_alloca_h+:} false
; then :
14222 $as_echo_n "(cached) " >&6
14224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14226 #include <alloca.h>
14230 char *p = (char *) alloca (2 * sizeof (int));
14236 if ac_fn_c_try_link
"$LINENO"; then :
14237 ac_cv_working_alloca_h
=yes
14239 ac_cv_working_alloca_h
=no
14241 rm -f core conftest.err conftest.
$ac_objext \
14242 conftest
$ac_exeext conftest.
$ac_ext
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14245 $as_echo "$ac_cv_working_alloca_h" >&6; }
14246 if test $ac_cv_working_alloca_h = yes; then
14248 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14253 $as_echo_n "checking for alloca... " >&6; }
14254 if ${ac_cv_func_alloca_works+:} false
; then :
14255 $as_echo_n "(cached) " >&6
14257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 # define alloca __builtin_alloca
14263 # include <malloc.h>
14264 # define alloca _alloca
14266 # ifdef HAVE_ALLOCA_H
14267 # include <alloca.h>
14272 # ifndef alloca /* predefined by HP cc +Olibcalls */
14273 void *alloca (size_t);
14283 char *p = (char *) alloca (1);
14289 if ac_fn_c_try_link
"$LINENO"; then :
14290 ac_cv_func_alloca_works
=yes
14292 ac_cv_func_alloca_works
=no
14294 rm -f core conftest.err conftest.
$ac_objext \
14295 conftest
$ac_exeext conftest.
$ac_ext
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14298 $as_echo "$ac_cv_func_alloca_works" >&6; }
14300 if test $ac_cv_func_alloca_works = yes; then
14302 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14305 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14306 # that cause trouble. Some versions do not even contain alloca or
14307 # contain a buggy version. If you still want to use their alloca,
14308 # use ar to extract alloca.o from them instead of compiling alloca.c.
14310 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
14312 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14316 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14317 if ${ac_cv_os_cray+:} false
; then :
14318 $as_echo_n "(cached) " >&6
14320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14322 #if defined CRAY && ! defined CRAY2
14329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14330 $EGREP "webecray" >/dev
/null
2>&1; then :
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14339 $as_echo "$ac_cv_os_cray" >&6; }
14340 if test $ac_cv_os_cray = yes; then
14341 for ac_func
in _getb67 GETB67 getb67
; do
14342 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14343 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14344 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14346 cat >>confdefs.h
<<_ACEOF
14347 #define CRAY_STACKSEG_END $ac_func
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14357 $as_echo_n "checking stack direction for C alloca... " >&6; }
14358 if ${ac_cv_c_stack_direction+:} false
; then :
14359 $as_echo_n "(cached) " >&6
14361 if test "$cross_compiling" = yes; then :
14362 ac_cv_c_stack_direction
=0
14364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14366 $ac_includes_default
14368 find_stack_direction (int *addr, int depth)
14370 int dir, dummy = 0;
14373 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
14374 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
14375 return dir + dummy;
14379 main (int argc, char **argv)
14381 return find_stack_direction (0, argc + !argv + 20) < 0;
14384 if ac_fn_c_try_run
"$LINENO"; then :
14385 ac_cv_c_stack_direction
=1
14387 ac_cv_c_stack_direction
=-1
14389 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14390 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14395 $as_echo "$ac_cv_c_stack_direction" >&6; }
14396 cat >>confdefs.h
<<_ACEOF
14397 #define STACK_DIRECTION $ac_cv_c_stack_direction
14403 for ac_header
in vfork.h
14405 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14406 if test "x$ac_cv_header_vfork_h" = xyes
; then :
14407 cat >>confdefs.h
<<_ACEOF
14408 #define HAVE_VFORK_H 1
14415 for ac_func
in fork vfork
14417 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14418 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14419 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14420 cat >>confdefs.h
<<_ACEOF
14421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14427 if test "x$ac_cv_func_fork" = xyes
; then
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14429 $as_echo_n "checking for working fork... " >&6; }
14430 if ${ac_cv_func_fork_works+:} false
; then :
14431 $as_echo_n "(cached) " >&6
14433 if test "$cross_compiling" = yes; then :
14434 ac_cv_func_fork_works
=cross
14436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14438 $ac_includes_default
14443 /* By Ruediger Kuhlmann. */
14444 return fork () < 0;
14450 if ac_fn_c_try_run
"$LINENO"; then :
14451 ac_cv_func_fork_works
=yes
14453 ac_cv_func_fork_works
=no
14455 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14456 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
14461 $as_echo "$ac_cv_func_fork_works" >&6; }
14464 ac_cv_func_fork_works
=$ac_cv_func_fork
14466 if test "x$ac_cv_func_fork_works" = xcross
; then
14468 *-*-amigaos* | *-*-msdosdjgpp*)
14469 # Override, as these systems have only a dummy fork() stub
14470 ac_cv_func_fork_works
=no
14473 ac_cv_func_fork_works
=yes
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
14477 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
14479 ac_cv_func_vfork_works
=$ac_cv_func_vfork
14480 if test "x$ac_cv_func_vfork" = xyes
; then
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14482 $as_echo_n "checking for working vfork... " >&6; }
14483 if ${ac_cv_func_vfork_works+:} false
; then :
14484 $as_echo_n "(cached) " >&6
14486 if test "$cross_compiling" = yes; then :
14487 ac_cv_func_vfork_works
=cross
14489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14491 /* Thanks to Paul Eggert for this test. */
14492 $ac_includes_default
14493 #include <sys/wait.h>
14494 #ifdef HAVE_VFORK_H
14495 # include <vfork.h>
14497 /* On some sparc systems, changes by the child to local and incoming
14498 argument registers are propagated back to the parent. The compiler
14499 is told about this with #include <vfork.h>, but some compilers
14500 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
14501 static variable whose address is put into a register that is
14502 clobbered by the vfork. */
14505 sparc_address_test (int arg)
14507 sparc_address_test (arg) int arg;
14510 static pid_t child;
14528 pid_t parent = getpid ();
14531 sparc_address_test (0);
14536 /* Here is another test for sparc vfork register problems. This
14537 test uses lots of local variables, at least as many local
14538 variables as main has allocated so far including compiler
14539 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
14540 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
14541 reuse the register of parent for one of the local variables,
14542 since it will think that parent can't possibly be used any more
14543 in this routine. Assigning to the local variable will thus
14544 munge parent in the parent process. */
14546 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
14547 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
14548 /* Convince the compiler that p..p7 are live; otherwise, it might
14549 use the same hardware register for all 8 local variables. */
14550 if (p != p1 || p != p2 || p != p3 || p != p4
14551 || p != p5 || p != p6 || p != p7)
14554 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
14555 from child file descriptors. If the child closes a descriptor
14556 before it execs or exits, this munges the parent's descriptor
14557 as well. Test for this by closing stdout in the child. */
14558 _exit(close(fileno(stdout)) != 0);
14563 while (wait(&status) != child)
14566 /* Was there some problem with vforking? */
14569 /* Did the child fail? (This shouldn't happen.) */
14572 /* Did the vfork/compiler bug occur? */
14573 || parent != getpid()
14575 /* Did the file descriptor bug occur? */
14576 || fstat(fileno(stdout), &st) != 0
14581 if ac_fn_c_try_run
"$LINENO"; then :
14582 ac_cv_func_vfork_works
=yes
14584 ac_cv_func_vfork_works
=no
14586 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14587 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
14592 $as_echo "$ac_cv_func_vfork_works" >&6; }
14595 if test "x$ac_cv_func_fork_works" = xcross
; then
14596 ac_cv_func_vfork_works
=$ac_cv_func_vfork
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
14598 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
14601 if test "x$ac_cv_func_vfork_works" = xyes
; then
14603 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
14607 $as_echo "#define vfork fork" >>confdefs.h
14610 if test "x$ac_cv_func_fork_works" = xyes
; then
14612 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
14619 for ac_header
in $ac_header_list
14621 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14622 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14624 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14625 cat >>confdefs.h
<<_ACEOF
14626 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14640 for ac_func
in getpagesize
14642 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
14643 if test "x$ac_cv_func_getpagesize" = xyes
; then :
14644 cat >>confdefs.h
<<_ACEOF
14645 #define HAVE_GETPAGESIZE 1
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14652 $as_echo_n "checking for working mmap... " >&6; }
14653 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
14654 $as_echo_n "(cached) " >&6
14656 if test "$cross_compiling" = yes; then :
14657 ac_cv_func_mmap_fixed_mapped
=no
14659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14660 /* end confdefs.h. */
14661 $ac_includes_default
14662 /* malloc might have been renamed as rpl_malloc. */
14665 /* Thanks to Mike Haertel and Jim Avera for this test.
14666 Here is a matrix of mmap possibilities:
14667 mmap private not fixed
14668 mmap private fixed at somewhere currently unmapped
14669 mmap private fixed at somewhere already mapped
14670 mmap shared not fixed
14671 mmap shared fixed at somewhere currently unmapped
14672 mmap shared fixed at somewhere already mapped
14673 For private mappings, we should verify that changes cannot be read()
14674 back from the file, nor mmap's back from the file at a different
14675 address. (There have been systems where private was not correctly
14676 implemented like the infamous i386 svr4.0, and systems where the
14677 VM page cache was not coherent with the file system buffer cache
14678 like early versions of FreeBSD and possibly contemporary NetBSD.)
14679 For shared mappings, we should conversely verify that changes get
14680 propagated back to all the places they're supposed to be.
14682 Grep wants private fixed already mapped.
14683 The main things grep needs to know about mmap are:
14684 * does it exist and is it safe to write into the mmap'd area
14685 * how to use it (BSD variants) */
14688 #include <sys/mman.h>
14690 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14694 /* This mess was copied from the GNU getpagesize.h. */
14695 #ifndef HAVE_GETPAGESIZE
14696 # ifdef _SC_PAGESIZE
14697 # define getpagesize() sysconf(_SC_PAGESIZE)
14698 # else /* no _SC_PAGESIZE */
14699 # ifdef HAVE_SYS_PARAM_H
14700 # include <sys/param.h>
14701 # ifdef EXEC_PAGESIZE
14702 # define getpagesize() EXEC_PAGESIZE
14703 # else /* no EXEC_PAGESIZE */
14705 # define getpagesize() NBPG * CLSIZE
14708 # endif /* no CLSIZE */
14709 # else /* no NBPG */
14711 # define getpagesize() NBPC
14712 # else /* no NBPC */
14714 # define getpagesize() PAGESIZE
14715 # endif /* PAGESIZE */
14716 # endif /* no NBPC */
14717 # endif /* no NBPG */
14718 # endif /* no EXEC_PAGESIZE */
14719 # else /* no HAVE_SYS_PARAM_H */
14720 # define getpagesize() 8192 /* punt totally */
14721 # endif /* no HAVE_SYS_PARAM_H */
14722 # endif /* no _SC_PAGESIZE */
14724 #endif /* no HAVE_GETPAGESIZE */
14729 char *data, *data2, *data3;
14730 const char *cdata2;
14734 pagesize = getpagesize ();
14736 /* First, make a file with some known garbage in it. */
14737 data = (char *) malloc (pagesize);
14740 for (i = 0; i < pagesize; ++i)
14741 *(data + i) = rand ();
14743 fd = creat ("conftest.mmap", 0600);
14746 if (write (fd, data, pagesize) != pagesize)
14750 /* Next, check that the tail of a page is zero-filled. File must have
14751 non-zero length, otherwise we risk SIGBUS for entire page. */
14752 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
14756 if (write (fd2, cdata2, 1) != 1)
14758 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
14759 if (data2 == MAP_FAILED)
14761 for (i = 0; i < pagesize; ++i)
14765 if (munmap (data2, pagesize))
14768 /* Next, try to mmap the file at a fixed address which already has
14769 something else allocated at it. If we can, also make sure that
14770 we see the same garbage. */
14771 fd = open ("conftest.mmap", O_RDWR);
14774 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14775 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14777 for (i = 0; i < pagesize; ++i)
14778 if (*(data + i) != *(data2 + i))
14781 /* Finally, make sure that changes to the mapped area do not
14782 percolate back to the file as seen by read(). (This is a bug on
14783 some variants of i386 svr4.0.) */
14784 for (i = 0; i < pagesize; ++i)
14785 *(data2 + i) = *(data2 + i) + 1;
14786 data3 = (char *) malloc (pagesize);
14789 if (read (fd, data3, pagesize) != pagesize)
14791 for (i = 0; i < pagesize; ++i)
14792 if (*(data + i) != *(data3 + i))
14798 if ac_fn_c_try_run
"$LINENO"; then :
14799 ac_cv_func_mmap_fixed_mapped
=yes
14801 ac_cv_func_mmap_fixed_mapped
=no
14803 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14804 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14809 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14810 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14812 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
14815 rm -f conftest.mmap conftest.txt
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/poll" >&5
14819 $as_echo_n "checking for /dev/poll... " >&6; }
14820 if test -c "/dev/poll"; then
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14822 $as_echo "yes" >&6; }
14824 $as_echo "#define HAVE_DEVPOLL 1" >>confdefs.h
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14828 $as_echo "no" >&6; }
14832 if test "$is_mingw" = "yes"; then
14834 $as_echo "#define HAVE_WIN32 1" >>confdefs.h
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
14840 $as_echo_n "checking for OpenSSL... " >&6; }
14841 # Check whether --enable-openssl was given.
14842 if test "${enable_openssl+set}" = set; then :
14843 enableval
=$enable_openssl; cf_enable_openssl
=$enableval
14845 cf_enable_openssl
="auto"
14849 if test "$cf_enable_openssl" != "no" ; then
14850 cf_openssl_basedir
=""
14851 if test "$cf_enable_openssl" != "auto" &&
14852 test "$cf_enable_openssl" != "yes" ; then
14853 cf_openssl_basedir
="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
14855 for dirs in /usr
/local
/ssl
/usr
/pkg
/usr
/local \
14856 /usr
/local
/openssl
; do
14857 if test -f "${dirs}/include/openssl/opensslv.h" ; then
14858 cf_openssl_basedir
="${dirs}"
14864 if test ! -z "$cf_openssl_basedir"; then
14865 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
14866 SSL_CFLAGS
="-I${cf_openssl_basedir}/include"
14867 SSL_LIBS
="-L${cf_openssl_basedir}/lib"
14869 cf_openssl_basedir
=""
14872 if test -f "/usr/include/openssl/opensslv.h" ; then
14873 cf_openssl_basedir
="/usr"
14877 if test ! -z "$cf_openssl_basedir"; then
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14879 $as_echo "$cf_openssl_basedir" >&6; }
14880 cf_enable_openssl
="yes"
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Specify a correct path?" >&5
14883 $as_echo "not found. Specify a correct path?" >&6; }
14884 cf_enable_openssl
="no"
14886 unset cf_openssl_basedir
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14889 $as_echo "disabled" >&6; }
14892 save_CPPFLAGS
="$CPPFLAGS"
14893 CPPFLAGS
="$CPPFLAGS $SSL_CFLAGS"
14895 LIBS
="$LIBS $SSL_LIBS"
14896 if test "$cf_enable_openssl" != no
; then
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14898 $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14899 if test "$cross_compiling" = yes; then :
14900 cf_enable_openssl
=no
14902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h. */
14904 #include <openssl/opensslv.h>
14905 #include <stdlib.h>
14909 if (OPENSSL_VERSION_NUMBER >= 0x00907000)
14910 exit(0); else exit(1);
14915 if ac_fn_c_try_run
"$LINENO"; then :
14916 cf_enable_openssl
=yes
14918 cf_enable_openssl
=no
14920 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14921 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14925 if test "$cf_enable_openssl" != no
; then
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14927 $as_echo "found" >&6; }
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14930 $as_echo "no - OpenSSL support disabled" >&6; }
14936 if test "$cf_enable_openssl" != no
; then
14937 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_status in -lcrypto" >&5
14939 $as_echo_n "checking for RAND_status in -lcrypto... " >&6; }
14940 if ${ac_cv_lib_crypto_RAND_status+:} false
; then :
14941 $as_echo_n "(cached) " >&6
14943 ac_check_lib_save_LIBS
=$LIBS
14944 LIBS
="-lcrypto $LIBS"
14945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14948 /* Override any GCC internal prototype to avoid an error.
14949 Use char because int might match the return type of a GCC
14950 builtin and then its argument prototype would still apply. */
14954 char RAND_status ();
14958 return RAND_status ();
14963 if ac_fn_c_try_link
"$LINENO"; then :
14964 ac_cv_lib_crypto_RAND_status
=yes
14966 ac_cv_lib_crypto_RAND_status
=no
14968 rm -f core conftest.err conftest.
$ac_objext \
14969 conftest
$ac_exeext conftest.
$ac_ext
14970 LIBS
=$ac_check_lib_save_LIBS
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_status" >&5
14973 $as_echo "$ac_cv_lib_crypto_RAND_status" >&6; }
14974 if test "x$ac_cv_lib_crypto_RAND_status" = xyes
; then :
14975 cf_enable_openssl
=yes
14977 cf_enable_openssl
=no
14982 if test "$cf_enable_openssl" != no
; then
14983 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_read in -lssl" >&5
14985 $as_echo_n "checking for SSL_read in -lssl... " >&6; }
14986 if ${ac_cv_lib_ssl_SSL_read+:} false
; then :
14987 $as_echo_n "(cached) " >&6
14989 ac_check_lib_save_LIBS
=$LIBS
14990 LIBS
="-lssl -lcrypto $LIBS"
14991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14994 /* Override any GCC internal prototype to avoid an error.
14995 Use char because int might match the return type of a GCC
14996 builtin and then its argument prototype would still apply. */
15004 return SSL_read ();
15009 if ac_fn_c_try_link
"$LINENO"; then :
15010 ac_cv_lib_ssl_SSL_read
=yes
15012 ac_cv_lib_ssl_SSL_read
=no
15014 rm -f core conftest.err conftest.
$ac_objext \
15015 conftest
$ac_exeext conftest.
$ac_ext
15016 LIBS
=$ac_check_lib_save_LIBS
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_read" >&5
15019 $as_echo "$ac_cv_lib_ssl_SSL_read" >&6; }
15020 if test "x$ac_cv_lib_ssl_SSL_read" = xyes
; then :
15021 SSL_LIBS
="$SSL_LIBS -lssl -lcrypto"
15023 cf_enable_openssl
=no
15029 # Check whether --enable-mbedtls was given.
15030 if test "${enable_mbedtls+set}" = set; then :
15031 enableval
=$enable_mbedtls; cf_enable_mbedtls
=$enableval
15033 cf_enable_mbedtls
="auto"
15037 if test "$cf_enable_mbedtls" != no
; then
15038 save_CPPFLAGS
="$CPPFLAGS"
15040 LIBS
="$LIBS $MBEDTLS_LIBS"
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbedtls_ssl_init in -lmbedtls" >&5
15042 $as_echo_n "checking for mbedtls_ssl_init in -lmbedtls... " >&6; }
15043 if ${ac_cv_lib_mbedtls_mbedtls_ssl_init+:} false
; then :
15044 $as_echo_n "(cached) " >&6
15046 ac_check_lib_save_LIBS
=$LIBS
15047 LIBS
="-lmbedtls -lmbedcrypto -lmbedx509 $LIBS"
15048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15051 /* Override any GCC internal prototype to avoid an error.
15052 Use char because int might match the return type of a GCC
15053 builtin and then its argument prototype would still apply. */
15057 char mbedtls_ssl_init ();
15061 return mbedtls_ssl_init ();
15066 if ac_fn_c_try_link
"$LINENO"; then :
15067 ac_cv_lib_mbedtls_mbedtls_ssl_init
=yes
15069 ac_cv_lib_mbedtls_mbedtls_ssl_init
=no
15071 rm -f core conftest.err conftest.
$ac_objext \
15072 conftest
$ac_exeext conftest.
$ac_ext
15073 LIBS
=$ac_check_lib_save_LIBS
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_ssl_init" >&5
15076 $as_echo "$ac_cv_lib_mbedtls_mbedtls_ssl_init" >&6; }
15077 if test "x$ac_cv_lib_mbedtls_mbedtls_ssl_init" = xyes
; then :
15079 MBEDTLS_LIBS
="$MBEDTLS_LIBS -lmbedtls -lmbedcrypto -lmbedx509"
15080 cf_enable_mbedtls
=yes
15083 cf_enable_mbedtls
=no
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS" >&5
15089 $as_echo_n "checking for GnuTLS... " >&6; }
15090 # Check whether --enable-gnutls was given.
15091 if test "${enable_gnutls+set}" = set; then :
15092 enableval
=$enable_gnutls; cf_enable_gnutls
=$enableval
15094 cf_enable_gnutls
="auto"
15098 if test "$cf_enable_gnutls" != no
; then
15106 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15107 if test -n "$ac_tool_prefix"; then
15108 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15109 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15111 $as_echo_n "checking for $ac_word... " >&6; }
15112 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15113 $as_echo_n "(cached) " >&6
15115 case $PKG_CONFIG in
15117 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15121 for as_dir
in $PATH
15124 test -z "$as_dir" && as_dir
=.
15125 for ac_exec_ext
in '' $ac_executable_extensions; do
15126 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15127 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15138 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15139 if test -n "$PKG_CONFIG"; then
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15141 $as_echo "$PKG_CONFIG" >&6; }
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15144 $as_echo "no" >&6; }
15149 if test -z "$ac_cv_path_PKG_CONFIG"; then
15150 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15151 # Extract the first word of "pkg-config", so it can be a program name with args.
15152 set dummy pkg
-config; ac_word
=$2
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15154 $as_echo_n "checking for $ac_word... " >&6; }
15155 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15156 $as_echo_n "(cached) " >&6
15158 case $ac_pt_PKG_CONFIG in
15160 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15164 for as_dir
in $PATH
15167 test -z "$as_dir" && as_dir
=.
15168 for ac_exec_ext
in '' $ac_executable_extensions; do
15169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15170 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15181 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15182 if test -n "$ac_pt_PKG_CONFIG"; then
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15184 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15187 $as_echo "no" >&6; }
15190 if test "x$ac_pt_PKG_CONFIG" = x
; then
15193 case $cross_compiling:$ac_tool_warned in
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15197 ac_tool_warned
=yes ;;
15199 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15202 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15206 if test -n "$PKG_CONFIG"; then
15207 _pkg_min_version
=0.9.0
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15209 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15210 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15212 $as_echo "yes" >&6; }
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15215 $as_echo "no" >&6; }
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
15222 $as_echo_n "checking for GNUTLS... " >&6; }
15224 if test -n "$GNUTLS_CFLAGS"; then
15225 pkg_cv_GNUTLS_CFLAGS
="$GNUTLS_CFLAGS"
15226 elif test -n "$PKG_CONFIG"; then
15227 if test -n "$PKG_CONFIG" && \
15228 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls\""; } >&5
15229 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
15231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15232 test $ac_status = 0; }; then
15233 pkg_cv_GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags "gnutls" 2>/dev/null`
15234 test "x$?" != "x0" && pkg_failed
=yes
15241 if test -n "$GNUTLS_LIBS"; then
15242 pkg_cv_GNUTLS_LIBS
="$GNUTLS_LIBS"
15243 elif test -n "$PKG_CONFIG"; then
15244 if test -n "$PKG_CONFIG" && \
15245 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls\""; } >&5
15246 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
15248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15249 test $ac_status = 0; }; then
15250 pkg_cv_GNUTLS_LIBS
=`$PKG_CONFIG --libs "gnutls" 2>/dev/null`
15251 test "x$?" != "x0" && pkg_failed
=yes
15261 if test $pkg_failed = yes; then
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15263 $as_echo "no" >&6; }
15265 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15266 _pkg_short_errors_supported
=yes
15268 _pkg_short_errors_supported
=no
15270 if test $_pkg_short_errors_supported = yes; then
15271 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls" 2>&1`
15273 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "gnutls" 2>&1`
15275 # Put the nasty error message in config.log where it belongs
15276 echo "$GNUTLS_PKG_ERRORS" >&5
15278 cf_enable_gnutls
="no"
15279 elif test $pkg_failed = untried
; then
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15281 $as_echo "no" >&6; }
15282 cf_enable_gnutls
="no"
15284 GNUTLS_CFLAGS
=$pkg_cv_GNUTLS_CFLAGS
15285 GNUTLS_LIBS
=$pkg_cv_GNUTLS_LIBS
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15287 $as_echo "yes" >&6; }
15289 cf_enable_gnutls
="yes"
15294 if test "$cf_enable_openssl" = "auto" -a "$cf_enable_mbedtls" = "yes"; then
15295 cf_enable_openssl
="no"
15298 if test "$cf_enable_gnutls" = "auto" -a "$cf_enable_openssl" = "yes" -a "$cf_enable_mbedtls" = "yes"; then
15299 cf_enable_gnutls
="no"
15302 if test x
"$cf_enable_openssl" != xno
; then
15304 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
15311 elif test x
"$cf_enable_mbedtls" != xno
; then
15313 $as_echo "#define HAVE_MBEDTLS 1" >>confdefs.h
15320 elif test x
"$cf_enable_gnutls" != xno
; then
15322 $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
15334 CPPFLAGS
="$save_CPPFLAGS"
15342 # Check whether --enable-assert was given.
15343 if test "${enable_assert+set}" = set; then :
15344 enableval
=$enable_assert; assert
=$enableval
15350 if test "$assert" = no
; then
15352 $as_echo "#define NDEBUG 1" >>confdefs.h
15354 elif test "$assert" = soft
; then
15356 $as_echo "#define SOFT_ASSERT 1" >>confdefs.h
15359 $as_echo "#define NDEBUG 1" >>confdefs.h
15361 elif test "$assert" = yes; then
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to do a profile build" >&5
15366 $as_echo_n "checking if you want to do a profile build... " >&6; }
15367 # Check whether --enable-profile was given.
15368 if test "${enable_profile+set}" = set; then :
15369 enableval
=$enable_profile; profile
=$enableval
15375 if test "$profile" = yes; then
15376 if test "$ac_cv_c_compiler_gnu" = yes; then
15377 CFLAGS
="$CFLAGS -pg -static"
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, adding -pg -static" >&5
15379 $as_echo "yes, adding -pg -static" >&6; }
15381 $as_echo "#define RATBOX_PROFILE 1" >>confdefs.h
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, profile builds only work with gcc" >&5
15385 $as_echo "no, profile builds only work with gcc" >&6; }
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15389 $as_echo "no" >&6; }
15392 # Check whether --enable-warnings was given.
15393 if test "${enable_warnings+set}" = set; then :
15394 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"
15409 if test "$prefix" = "NONE"; then
15411 cat >>confdefs.h
<<_ACEOF
15412 #define RB_PREFIX "$ac_default_prefix"
15419 prefix
=`echo $prefix | sed 's/\/$//'`
15421 cat >>confdefs.h
<<_ACEOF
15422 #define RB_PREFIX "$prefix"
15430 ac_config_commands
="$ac_config_commands include/librb-config.h"
15434 ac_config_files
="$ac_config_files src/Makefile Makefile librb.pc"
15437 cat >confcache
<<\_ACEOF
15438 # This file is a shell script that caches the results of configure
15439 # tests run on this system so they can be shared between configure
15440 # scripts and configure runs, see configure's option --config-cache.
15441 # It is not useful on other systems. If it contains results you don't
15442 # want to keep, you may remove or edit it.
15444 # config.status only pays attention to the cache file if you give it
15445 # the --recheck option to rerun configure.
15447 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15448 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15449 # following values.
15453 # The following way of writing the cache mishandles newlines in values,
15454 # but we know of no workaround that is simple, portable, and efficient.
15455 # So, we kill variables containing newlines.
15456 # Ultrix sh set writes to stderr and can't be redirected directly,
15457 # and sets the high bit in the cache file unless we assign to the vars.
15459 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15460 eval ac_val
=\$
$ac_var
15464 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15465 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15468 _
| IFS
| as_nl
) ;; #(
15469 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
15470 *) { eval $ac_var=; unset $ac_var;} ;;
15476 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15477 *${as_nl}ac_space
=\
*)
15478 # `set' does not quote correctly, so add quotes: double-quote
15479 # substitution turns \\\\ into \\, and sed turns \\ into \.
15482 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15485 # `set' quotes correctly as required by POSIX, so do not add quotes.
15486 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15495 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15497 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15499 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15500 if test -w "$cache_file"; then
15501 if test "x$cache_file" != "x/dev/null"; then
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15503 $as_echo "$as_me: updating cache $cache_file" >&6;}
15504 if test ! -f "$cache_file" || test -h "$cache_file"; then
15505 cat confcache
>"$cache_file"
15507 case $cache_file in #(
15509 mv -f confcache
"$cache_file"$$
&&
15510 mv -f "$cache_file"$$
"$cache_file" ;; #(
15512 mv -f confcache
"$cache_file" ;;
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15518 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15523 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15524 # Let make expand exec_prefix.
15525 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15527 DEFS
=-DHAVE_CONFIG_H
15531 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15532 # 1. Remove the extension, and $U if already installed.
15533 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15534 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15535 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15536 # will be set to the directory where LIBOBJS objects are built.
15537 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15538 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15540 LIBOBJS
=$ac_libobjs
15542 LTLIBOBJS
=$ac_ltlibobjs
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15546 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15547 if test -n "$am_sleep_pid"; then
15548 # Hide warnings about reused PIDs.
15549 wait $am_sleep_pid 2>/dev
/null
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15552 $as_echo "done" >&6; }
15553 if test -n "$EXEEXT"; then
15555 am__EXEEXT_FALSE
='#'
15557 am__EXEEXT_TRUE
='#'
15561 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15562 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15565 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15566 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15569 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15570 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15574 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
15575 as_fn_error $?
"conditional \"MINGW\" was never defined.
15576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15579 : "${CONFIG_STATUS=./config.status}"
15581 ac_clean_files_save
=$ac_clean_files
15582 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15584 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15586 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15588 # Generated by $as_me.
15589 # Run this file to recreate the current configuration.
15590 # Compiler output produced by configure, useful for debugging
15591 # configure, is in config.log if it exists.
15594 ac_cs_recheck=false
15597 SHELL=\${CONFIG_SHELL-$SHELL}
15600 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
15601 ## -------------------- ##
15602 ## M4sh Initialization. ##
15603 ## -------------------- ##
15605 # Be more Bourne compatible
15606 DUALCASE
=1; export DUALCASE
# for MKS sh
15607 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15610 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15611 # is contrary to our usage. Disable this feature.
15612 alias -g '${1+"$@"}'='"$@"'
15613 setopt NO_GLOB_SUBST
15615 case `(set -o) 2>/dev/null` in #(
15627 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15628 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15629 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15631 # Prefer a ksh shell builtin over an external printf program on Solaris,
15632 # but without wasting forks for bash or zsh.
15633 if test -z "$BASH_VERSION$ZSH_VERSION" \
15634 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15635 as_echo='print
-r --'
15636 as_echo_n='print
-rn --'
15637 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15638 as_echo='printf %s
\n'
15639 as_echo_n='printf %s
'
15641 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15642 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15643 as_echo_n='/usr
/ucb
/echo -n'
15645 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15646 as_echo_n_body='eval
15650 expr "X$arg" : "X\\(.*\\)$as_nl";
15651 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15653 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15655 export as_echo_n_body
15656 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15658 export as_echo_body
15659 as_echo='sh
-c $as_echo_body as_echo
'
15662 # The user is always right.
15663 if test "${PATH_SEPARATOR+set}" != set; then
15665 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15666 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15673 # We need space, tab and new line, in precisely that order. Quoting is
15674 # there to prevent editors from complaining about space-tab.
15675 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15676 # splitting by setting IFS to empty value.)
15679 # Find who we are. Look in the path if we contain no directory separator.
15682 *[\\/]* ) as_myself=$0 ;;
15683 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15684 for as_dir in $PATH
15687 test -z "$as_dir" && as_dir=.
15688 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15694 # We did not find ourselves, most probably we were run as `sh COMMAND'
15695 # in which case we are not to be found in the path.
15696 if test "x$as_myself" = x
; then
15699 if test ! -f "$as_myself"; then
15700 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15704 # Unset variables that we do not need and which cause bugs (e.g. in
15705 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15706 # suppresses any "Segmentation fault" message there. '((' could
15707 # trigger a bug in pdksh 5.2.14.
15708 for as_var
in BASH_ENV ENV MAIL MAILPATH
15709 do eval test x\
${$as_var+set} = xset \
15710 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
15723 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15726 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15727 # ----------------------------------------
15728 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15729 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15730 # script with STATUS, using 1 if that was 0.
15733 as_status
=$1; test $as_status -eq 0 && as_status
=1
15735 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15736 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15738 $as_echo "$as_me: error: $2" >&2
15739 as_fn_exit
$as_status
15743 # as_fn_set_status STATUS
15744 # -----------------------
15745 # Set $? to STATUS, without forking.
15746 as_fn_set_status
()
15749 } # as_fn_set_status
15751 # as_fn_exit STATUS
15752 # -----------------
15753 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15757 as_fn_set_status
$1
15763 # Portably unset VAR.
15766 { eval $1=; unset $1;}
15768 as_unset
=as_fn_unset
15769 # as_fn_append VAR VALUE
15770 # ----------------------
15771 # Append the text in VALUE to the end of the definition contained in VAR. Take
15772 # advantage of any shell optimizations that allow amortized linear growth over
15773 # repeated appends, instead of the typical quadratic growth present in naive
15775 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15776 eval 'as_fn_append ()
15787 # as_fn_arith ARG...
15788 # ------------------
15789 # Perform arithmetic evaluation on the ARGs, and store the result in the
15790 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15791 # must be portable across $(()) and expr.
15792 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15793 eval 'as_fn_arith ()
15800 as_val
=`expr "$@" || test $? -eq 1`
15805 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15806 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15812 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15813 as_basename
=basename
15818 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15824 as_me
=`$as_basename -- "$0" ||
15825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15826 X"$0" : 'X\(//\)$' \| \
15827 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15829 sed '/^.*\/\([^/][^/]*\)\/*$/{
15843 # Avoid depending upon Character Ranges.
15844 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15845 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15846 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15847 as_cr_digits
='0123456789'
15848 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15850 ECHO_C
= ECHO_N
= ECHO_T
=
15851 case `echo -n x` in #(((((
15853 case `echo 'xy\c'` in
15854 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15856 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15863 rm -f conf$$ conf$$.exe conf$$.
file
15864 if test -d conf$$.dir
; then
15865 rm -f conf$$.dir
/conf$$.
file
15868 mkdir conf$$.dir
2>/dev
/null
15870 if (echo >conf$$.
file) 2>/dev
/null
; then
15871 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15873 # ... but there are two gotchas:
15874 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15875 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15876 # In both cases, we have to default to `cp -pR'.
15877 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
15879 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15887 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15888 rmdir conf$$.dir
2>/dev
/null
15893 # Create "$as_dir" as a directory, including parents if necessary.
15898 -*) as_dir
=.
/$as_dir;;
15900 test -d "$as_dir" || eval $as_mkdir_p || {
15904 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15905 *) as_qdir
=$as_dir;;
15907 as_dirs
="'$as_qdir' $as_dirs"
15908 as_dir
=`$as_dirname -- "$as_dir" ||
15909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15910 X"$as_dir" : 'X\(//\)[^/]' \| \
15911 X"$as_dir" : 'X\(//\)$' \| \
15912 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15913 $as_echo X"$as_dir" |
15914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15918 /^X\(\/\/\)[^/].*/{
15931 test -d "$as_dir" && break
15933 test -z "$as_dirs" || eval "mkdir $as_dirs"
15934 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15938 if mkdir -p .
2>/dev
/null
; then
15939 as_mkdir_p
='mkdir -p "$as_dir"'
15941 test -d .
/-p && rmdir .
/-p
15946 # as_fn_executable_p FILE
15947 # -----------------------
15948 # Test if FILE is an executable regular file.
15949 as_fn_executable_p
()
15951 test -f "$1" && test -x "$1"
15952 } # as_fn_executable_p
15953 as_test_x
='test -x'
15954 as_executable_p
=as_fn_executable_p
15956 # Sed expression to map a string onto a valid CPP name.
15957 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15959 # Sed expression to map a string onto a valid variable name.
15960 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15964 ## ----------------------------------- ##
15965 ## Main body of $CONFIG_STATUS script. ##
15966 ## ----------------------------------- ##
15968 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15970 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15971 # Save the log message, to keep $0 and so on meaningful, and to
15972 # report actual input values of CONFIG_FILES etc. instead of their
15973 # values after options handling.
15975 This file was extended by librb $as_me devel, which was
15976 generated by GNU Autoconf 2.69. Invocation command line was
15978 CONFIG_FILES = $CONFIG_FILES
15979 CONFIG_HEADERS = $CONFIG_HEADERS
15980 CONFIG_LINKS = $CONFIG_LINKS
15981 CONFIG_COMMANDS = $CONFIG_COMMANDS
15984 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15989 case $ac_config_files in *"
15990 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15993 case $ac_config_headers in *"
15994 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15999 # Files that config.status was made for.
16000 config_files="$ac_config_files"
16001 config_headers="$ac_config_headers"
16002 config_commands="$ac_config_commands"
16006 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16008 \`$as_me' instantiates files and other configuration actions
16009 from templates according to the current configuration. Unless the files
16010 and actions are specified as TAGs, all are instantiated by default.
16012 Usage: $0 [OPTION]... [TAG]...
16014 -h, --help print this help, then exit
16015 -V, --version print version number and configuration settings, then exit
16016 --config print configuration, then exit
16017 -q, --quiet, --silent
16018 do not print progress messages
16019 -d, --debug don't remove temporary files
16020 --recheck update $as_me by reconfiguring in the same conditions
16021 --file=FILE[:TEMPLATE]
16022 instantiate the configuration file FILE
16023 --header=FILE[:TEMPLATE]
16024 instantiate the configuration header FILE
16026 Configuration files:
16029 Configuration headers:
16032 Configuration commands:
16035 Report bugs to the package provider."
16038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16039 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16041 librb config.status devel
16042 configured by $0, generated by GNU Autoconf 2.69,
16043 with options \\"\$ac_cs_config\\"
16045 Copyright (C) 2012 Free Software Foundation, Inc.
16046 This config.status script is free software; the Free Software Foundation
16047 gives unlimited permission to copy, distribute and modify it."
16054 test -n "\$AWK" || AWK=awk
16057 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16058 # The default lists apply if the user does not specify any file.
16064 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16065 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16069 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16081 # Handling of the options.
16082 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16084 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16085 $as_echo "$ac_cs_version"; exit ;;
16086 --config | --confi | --conf | --con | --co | --c )
16087 $as_echo "$ac_cs_config"; exit ;;
16088 --debug | --debu | --deb | --de | --d | -d )
16090 --file | --fil | --fi | --f )
16093 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16094 '') as_fn_error $?
"missing file argument" ;;
16096 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16097 ac_need_defaults
=false
;;
16098 --header | --heade | --head | --hea )
16101 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16103 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16104 ac_need_defaults
=false
;;
16106 # Conflict between --help and --header
16107 as_fn_error $?
"ambiguous option: \`$1'
16108 Try \`$0 --help' for more information.";;
16109 --help | --hel | -h )
16110 $as_echo "$ac_cs_usage"; exit ;;
16111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16112 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16115 # This is an error.
16116 -*) as_fn_error $?
"unrecognized option: \`$1'
16117 Try \`$0 --help' for more information." ;;
16119 *) as_fn_append ac_config_targets
" $1"
16120 ac_need_defaults
=false
;;
16126 ac_configure_extra_args
=
16128 if $ac_cs_silent; then
16130 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16135 if \$ac_cs_recheck; then
16136 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16138 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16139 CONFIG_SHELL='$SHELL'
16140 export CONFIG_SHELL
16145 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16149 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16150 ## Running $as_me. ##
16156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16160 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16163 # The HP-UX ksh and POSIX shell print the target directory to stdout
16164 # if CDPATH is set.
16165 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16167 sed_quote_subst='$sed_quote_subst'
16168 double_quote_subst='$double_quote_subst'
16169 delay_variable_subst='$delay_variable_subst'
16170 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16171 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16172 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16173 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16174 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16175 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16176 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16177 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16178 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16179 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16180 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16181 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16182 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16183 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16184 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16185 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16186 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16187 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16188 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16189 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16190 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16191 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16192 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16193 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16194 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16195 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16196 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16197 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16198 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16199 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16200 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16201 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16202 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16203 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16204 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16205 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16206 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16207 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16208 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16209 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16210 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16211 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16212 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16213 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16214 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16215 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16216 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16217 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16218 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16219 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16220 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16221 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16222 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16223 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16224 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16225 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16226 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16227 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16228 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"`'
16229 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16230 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16231 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16232 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16233 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16234 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16235 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16236 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16237 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16238 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16239 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16240 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16241 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16242 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16243 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16244 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16245 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16246 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16247 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16248 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16249 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16250 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16251 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16252 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16253 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16254 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16255 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16256 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16257 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16258 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16259 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16260 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16261 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16262 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16263 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16264 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16265 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16266 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16267 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16268 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16269 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16270 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16271 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16272 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16273 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16274 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16275 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16276 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16277 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16278 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16279 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16280 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16281 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16282 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16283 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16284 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16285 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16286 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16287 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16288 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16289 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16290 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16291 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16292 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16293 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16294 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16295 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16296 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16297 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16298 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16299 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16300 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16301 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16302 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16303 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16304 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16307 LTCFLAGS='$LTCFLAGS'
16308 compiler='$compiler_DEFAULT'
16310 # A function that is used when there is no print builtin or printf.
16311 func_fallback_echo ()
16313 eval 'cat <<_LTECHO_EOF
16318 # Quote evaled strings.
16333 deplibs_check_method \
16338 sharedlib_from_linklib_cmd \
16341 archiver_list_spec \
16347 lt_cv_sys_global_symbol_pipe \
16348 lt_cv_sys_global_symbol_to_cdecl \
16349 lt_cv_sys_global_symbol_to_import \
16350 lt_cv_sys_global_symbol_to_c_name_address \
16351 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16352 lt_cv_nm_interface \
16353 nm_file_list_spec \
16354 lt_cv_truncate_bin \
16355 lt_prog_compiler_no_builtin_flag \
16356 lt_prog_compiler_pic \
16357 lt_prog_compiler_wl \
16358 lt_prog_compiler_static \
16359 lt_cv_prog_compiler_c_o \
16368 export_dynamic_flag_spec \
16369 whole_archive_flag_spec \
16370 compiler_needs_object \
16372 allow_undefined_flag \
16373 no_undefined_flag \
16374 hardcode_libdir_flag_spec \
16375 hardcode_libdir_separator \
16379 variables_saved_for_relink \
16381 library_names_spec \
16383 install_override_mode \
16387 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16388 *[\\\\\\\`\\"\\\$]*)
16389 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16392 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16397 # Double-quote double-evaled strings.
16398 for var in reload_cmds \
16399 old_postinstall_cmds \
16400 old_postuninstall_cmds \
16402 extract_expsyms_cmds \
16403 old_archive_from_new_cmds \
16404 old_archive_from_expsyms_cmds \
16406 archive_expsym_cmds \
16408 module_expsym_cmds \
16409 export_symbols_cmds \
16413 postuninstall_cmds \
16415 sys_lib_search_path_spec \
16416 configure_time_dlsearch_path \
16417 configure_time_lt_sys_library_path; do
16418 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16419 *[\\\\\\\`\\"\\\$]*)
16420 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16423 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16428 ac_aux_dir='$ac_aux_dir'
16430 # See if we are running on zsh, and set the options that allow our
16431 # commands through without removal of \ escapes INIT.
16432 if test -n "\${ZSH_VERSION+set}"; then
16433 setopt NO_GLOB_SUBST
16445 if test x$ac_cv_header_stdc = xyes; then
16448 if test x$ac_cv_header_stdlib_h = xyes; then
16449 rb_header_stdlib_h=yes
16451 if test x$ac_cv_header_string_h = xyes; then
16452 rb_header_string_h=yes
16454 if test x$ac_cv_header_memory_h = xyes; then
16455 rb_header_memory_h=yes
16457 if test "x${ac_cv_working_alloca_h+set}" = xset ; then
16458 rb_alloca_h="$ac_cv_working_alloca_h"
16460 rb_alloc_h="$ac_cv_header_alloca_h"
16462 if test x$ac_cv_member_struct_sockaddr_sa_len = xyes; then
16463 rb_sockaddr_sa_len=yes
16465 if test x$ac_cv_header_sys_socket_h = xyes; then
16466 rb_sys_socket_h=yes
16468 if test x$ac_cv_header_sys_types_h = xyes; then
16471 if test x$ac_cv_header_sys_stat_h = xyes; then
16474 if test x$ac_cv_header_sys_time_h = xyes; then
16477 if test x$ac_cv_header_time = xyes; then
16481 if test x$ac_cv_header_stdint_h = xyes; then
16484 if test x$ac_cv_header_inttypes_h = xyes; then
16487 if test x$ac_cv_header_netinet_in_h = xyes; then
16488 rb_netinet_in_h=yes
16491 if test x$ac_cv_header_crypt_h = xyes; then
16494 if test x$ac_cv_header_errno_h = xyes; then
16497 if test x$ac_cv_header_unistd_h = xyes; then
16500 if test x$ac_cv_header_windows_h = xyes; then
16503 if test x$ac_cv_header_winsock2_h = xyes; then
16507 rb_socklen_t=$rb_socklen_t
16509 if test "x$rb_have_sockaddr_storage" = "xyes"; then
16510 rb_sockaddr_storage="yes"
16512 rb_sockaddr_storage="no"
16515 rb_have_ipv6="$have_v6"
16527 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16529 # Handling of arguments.
16530 for ac_config_target
in $ac_config_targets
16532 case $ac_config_target in
16533 "include/librb_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/librb_config.h" ;;
16534 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16535 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16536 "include/librb-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/librb-config.h" ;;
16537 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16538 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16539 "librb.pc") CONFIG_FILES
="$CONFIG_FILES librb.pc" ;;
16541 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16546 # If the user did not use the arguments to specify the items to instantiate,
16547 # then the envvar interface is used. Set only those that are not.
16548 # We use the long form for the default assignment because of an extremely
16549 # bizarre bug on SunOS 4.1.3.
16550 if $ac_need_defaults; then
16551 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16552 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16553 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16556 # Have a temporary directory for convenience. Make it in the build tree
16557 # simply because there is no reason against having it here, and in addition,
16558 # creating and moving files from /tmp can sometimes cause problems.
16559 # Hook for its removal unless debugging.
16560 # Note that there is a small window in which the directory will not be cleaned:
16561 # after its creation but before its name has been assigned to `$tmp'.
16565 trap 'exit_status=$?
16566 : "${ac_tmp:=$tmp}"
16567 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16569 trap 'as_fn_exit 1' 1 2 13 15
16571 # Create a (secure) tmp directory for tmp files.
16574 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16578 tmp
=.
/conf$$
-$RANDOM
16579 (umask 077 && mkdir "$tmp")
16580 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16583 # Set up the scripts for CONFIG_FILES section.
16584 # No need to generate them if there are no CONFIG_FILES.
16585 # This happens for instance with `./config.status config.h'.
16586 if test -n "$CONFIG_FILES"; then
16589 ac_cr
=`echo X | tr X '\015'`
16590 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16591 # But we know of no other shell where ac_cr would be empty at this
16592 # point, so we can use a bashism as a fallback.
16593 if test "x$ac_cr" = x
; then
16594 eval ac_cr
=\$
\'\\r
\'
16596 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16597 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16600 ac_cs_awk_cr
=$ac_cr
16603 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16608 echo "cat >conf$$subs.awk <<_ACEOF" &&
16609 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16611 } >conf$$subs.sh ||
16612 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16613 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16615 for ac_last_try in false false false false false :; do
16616 . ./conf$$subs.sh ||
16617 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16619 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16620 if test $ac_delim_n = $ac_delim_num; then
16622 elif $ac_last_try; then
16623 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16625 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16628 rm -f conf$$subs.sh
16630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16631 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16635 s/^/S["/; s
/!.
*/"]=/
16645 s/\(.\{148\}\)..*/\1/
16647 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16652 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16659 s/\(.\{148\}\)..*/\1/
16661 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16665 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16670 ' <conf$$subs.awk | sed '
16675 ' >>$CONFIG_STATUS || ac_write_fail=1
16676 rm -f conf$$subs.awk
16677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16679 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16680 for (key in S) S_is_set[key] = 1
16686 nfields = split(line, field, "@
")
16688 len = length(field[1])
16689 for (i = 2; i < nfields; i++) {
16691 keylen = length(key)
16692 if (S_is_set[key]) {
16694 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16695 len += length(value) + length(field[++i])
16706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16707 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16708 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16711 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16712 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16715 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16716 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16717 # trailing colons and then remove the whole line if VPATH becomes empty
16718 # (actually we leave an empty line to preserve line numbers).
16719 if test "x
$srcdir" = x.; then
16720 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16739 fi # test -n "$CONFIG_FILES"
16741 # Set up the scripts for CONFIG_HEADERS section.
16742 # No need to generate them if there are no CONFIG_HEADERS.
16743 # This happens for instance with `./config.status Makefile'.
16744 if test -n "$CONFIG_HEADERS"; then
16745 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16749 # Transform confdefs.h into an awk script `defines.awk', embedded as
16750 # here-document in config.status, that substitutes the proper values into
16751 # config.h.in to produce config.h.
16753 # Create a delimiter string that does not exist in confdefs.h, to ease
16754 # handling of long lines.
16756 for ac_last_try in false false :; do
16757 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16758 if test -z "$ac_tt"; then
16760 elif $ac_last_try; then
16761 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16763 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16767 # For the awk script, D is an array of macro values keyed by name,
16768 # likewise P contains macro parameters if any. Preserve backslash
16769 # newline sequences.
16771 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16773 s/.\{148\}/&'"$ac_delim"'/g
16776 s/^[ ]*#[ ]*define[ ][ ]*/ /
16783 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16785 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16789 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16790 D["\
1"]=" \
3\\\\\\n
"\\/p
16792 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16797 s/.\{148\}/&'"$ac_delim"'/g
16802 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16805 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16807 ' <confdefs.h | sed '
16808 s/'"$ac_delim"'/"\\\
16809 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16812 for (key in D) D_is_set[key] = 1
16815 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16817 split(line, arg, " ")
16818 if (arg[1] == "#") {
16822 defundef
= substr
(arg
[1], 2)
16825 split(mac1
, mac2
, "(") #)
16827 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16828 if (D_is_set
[macro
]) {
16829 # Preserve the white space surrounding the "#".
16830 print prefix
"define", macro P
[macro
] D
[macro
]
16833 # Replace #undef with comments. This is necessary, for example,
16834 # in the case of _POSIX_SOURCE, which is predefined and required
16835 # on some systems where configure will not decide to define it.
16836 if (defundef
== "undef") {
16837 print
"/*", prefix defundef
, macro
, "*/"
16845 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16846 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16847 fi # test -n "$CONFIG_HEADERS"
16850 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16855 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16857 case $ac_mode$ac_tag in
16859 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16860 :[FH
]-) ac_tag
=-:-;;
16861 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16878 -) ac_f
="$ac_tmp/stdin";;
16879 *) # Look for the file first in the build tree, then in the source tree
16880 # (if the path is not absolute). The absolute path cannot be DOS-style,
16881 # because $ac_f cannot contain `:'.
16885 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16887 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16889 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16890 as_fn_append ac_file_inputs
" '$ac_f'"
16893 # Let's still pretend it is `configure' which instantiates (i.e., don't
16894 # use $as_me), people would be surprised to read:
16895 # /* config.h. Generated by config.status. */
16896 configure_input
='Generated from '`
16897 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16899 if test x
"$ac_file" != x
-; then
16900 configure_input
="$ac_file. $configure_input"
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16902 $as_echo "$as_me: creating $ac_file" >&6;}
16904 # Neutralize special characters interpreted by sed in replacement strings.
16905 case $configure_input in #(
16906 *\
&* | *\
|* | *\\* )
16907 ac_sed_conf_input
=`$as_echo "$configure_input" |
16908 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16909 *) ac_sed_conf_input
=$configure_input;;
16913 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16914 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16919 ac_dir
=`$as_dirname -- "$ac_file" ||
16920 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16921 X"$ac_file" : 'X\(//\)[^/]' \| \
16922 X"$ac_file" : 'X\(//\)$' \| \
16923 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16924 $as_echo X"$ac_file" |
16925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16929 /^X\(\/\/\)[^/].*/{
16942 as_dir
="$ac_dir"; as_fn_mkdir_p
16946 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16948 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16949 # A ".." for each directory in $ac_dir_suffix.
16950 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16951 case $ac_top_builddir_sub in
16952 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16953 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16956 ac_abs_top_builddir
=$ac_pwd
16957 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16958 # for backward compatibility:
16959 ac_top_builddir
=$ac_top_build_prefix
16962 .
) # We are building in place.
16964 ac_top_srcdir
=$ac_top_builddir_sub
16965 ac_abs_top_srcdir
=$ac_pwd ;;
16966 [\\/]* | ?
:[\\/]* ) # Absolute name.
16967 ac_srcdir
=$srcdir$ac_dir_suffix;
16968 ac_top_srcdir
=$srcdir
16969 ac_abs_top_srcdir
=$srcdir ;;
16970 *) # Relative name.
16971 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16972 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16973 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16975 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16985 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16986 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16988 ac_MKDIR_P
=$MKDIR_P
16990 [\\/$
]* | ?
:[\\/]* ) ;;
16991 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16995 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16996 # If the template does not know about datarootdir, expand it.
16997 # FIXME: This hack should be removed a few years after 2.60.
16998 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17009 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17010 *datarootdir
*) ac_datarootdir_seen
=yes;;
17011 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17013 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17016 ac_datarootdir_hack='
17017 s&@datadir@&$datadir&g
17018 s&@docdir@&$docdir&g
17019 s&@infodir@&$infodir&g
17020 s&@localedir@&$localedir&g
17021 s&@mandir@&$mandir&g
17022 s&\\\${datarootdir}&$datarootdir&g' ;;
17026 # Neutralize VPATH when `$srcdir' = `.'.
17027 # Shell code in configure.ac might set extrasub.
17028 # FIXME: do we really want to maintain this feature?
17029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17030 ac_sed_extra="$ac_vpsub
17033 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17035 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
17036 s
|@configure_input@
|$ac_sed_conf_input|;t t
17037 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17038 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17039 s
&@srcdir@
&$ac_srcdir&;t t
17040 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17041 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17042 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17043 s
&@builddir@
&$ac_builddir&;t t
17044 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17045 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17046 s
&@INSTALL@
&$ac_INSTALL&;t t
17047 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17048 $ac_datarootdir_hack
17050 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17051 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17053 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17054 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17055 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17056 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17058 which seems to be undefined. Please make sure it is defined" >&5
17059 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17060 which seems to be undefined. Please make sure it is defined" >&2;}
17062 rm -f "$ac_tmp/stdin"
17064 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17065 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17067 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17073 if test x"$ac_file" != x-; then
17075 $as_echo "/* $configure_input */" \
17076 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17077 } >"$ac_tmp/config.h" \
17078 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17079 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17081 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17084 mv "$ac_tmp/config.h" "$ac_file" \
17085 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17088 $as_echo "/* $configure_input */" \
17089 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17090 || as_fn_error $? "could not create -" "$LINENO" 5
17092 # Compute "$ac_file"'s index
in $config_headers.
17095 for _am_header
in $config_headers :; do
17096 case $_am_header in
17097 $_am_arg | $_am_arg:* )
17100 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17103 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17104 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17105 X"$_am_arg" : 'X\(//\)[^/]' \| \
17106 X"$_am_arg" : 'X\(//\)$' \| \
17107 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17108 $as_echo X"$_am_arg" |
17109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17113 /^X\(\/\/\)[^/].*/{
17125 s/.*/./; q'`/stamp
-h$_am_stamp_count
17128 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17129 $as_echo "$as_me: executing $ac_file commands" >&6;}
17134 case $ac_file$ac_mode in
17135 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
17136 # Older Autoconf quotes --file arguments for eval, but not when files
17137 # are listed without --file. Let's play safe and only enable the eval
17138 # if we detect the quoting.
17139 case $CONFIG_FILES in
17140 *\'*) eval set x
"$CONFIG_FILES" ;;
17141 *) set x
$CONFIG_FILES ;;
17146 # Strip MF so we end up with the name of the file.
17147 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17148 # Check whether this is an Automake generated Makefile or not.
17149 # We used to match only the files named 'Makefile.in', but
17150 # some people rename them; so instead we look at the file content.
17151 # Grep'ing the first line is not enough: some people post-process
17152 # each Makefile.in and add a new line on top of each file to say so.
17153 # Grep'ing the whole file is not good either: AIX grep has a line
17154 # limit of 2048, but all sed's we know have understand at least 4000.
17155 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
17156 dirpart
=`$as_dirname -- "$mf" ||
17157 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17158 X"$mf" : 'X\(//\)[^/]' \| \
17159 X"$mf" : 'X\(//\)$' \| \
17160 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17166 /^X\(\/\/\)[^/].*/{
17182 # Extract the definition of DEPDIR, am__include, and am__quote
17183 # from the Makefile without running 'make'.
17184 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17185 test -z "$DEPDIR" && continue
17186 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17187 test -z "$am__include" && continue
17188 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17189 # Find all dependency output files, they are included files with
17190 # $(DEPDIR) in their names. We invoke sed twice because it is the
17191 # simplest approach to changing $(DEPDIR) to its actual value in the
17193 for file in `sed -n "
17194 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17195 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17196 # Make sure the directory exists.
17197 test -f "$dirpart/$file" && continue
17198 fdir
=`$as_dirname -- "$file" ||
17199 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17200 X"$file" : 'X\(//\)[^/]' \| \
17201 X"$file" : 'X\(//\)$' \| \
17202 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17203 $as_echo X"$file" |
17204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17208 /^X\(\/\/\)[^/].*/{
17221 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17222 # echo "creating $dirpart/$file"
17223 echo '# dummy' > "$dirpart/$file"
17230 # See if we are running on zsh, and set the options that allow our
17231 # commands through without removal of \ escapes.
17232 if test -n "${ZSH_VERSION+set}"; then
17233 setopt NO_GLOB_SUBST
17237 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17240 cat <<_LT_EOF >> "$cfgfile"
17242 # Generated automatically by $as_me ($PACKAGE) $VERSION
17243 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17244 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17246 # Provide generalized library-building support services.
17247 # Written by Gordon Matzigkeit, 1996
17249 # Copyright (C) 2014 Free Software Foundation, Inc.
17250 # This is free software; see the source for copying conditions. There is NO
17251 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17253 # GNU Libtool is free software; you can redistribute it and/or modify
17254 # it under the terms of the GNU General Public License as published by
17255 # the Free Software Foundation; either version 2 of of the License, or
17256 # (at your option) any later version.
17258 # As a special exception to the GNU General Public License, if you
17259 # distribute this file as part of a program or library that is built
17260 # using GNU Libtool, you may include this file under the same
17261 # distribution terms that you use for the rest of that program.
17263 # GNU Libtool is distributed in the hope that it will be useful, but
17264 # WITHOUT ANY WARRANTY; without even the implied warranty of
17265 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17266 # GNU General Public License for more details.
17268 # You should have received a copy of the GNU General Public License
17269 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17272 # The names of the tagged configurations supported by this script.
17275 # Configured defaults for sys_lib_dlsearch_path munging.
17276 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17278 # ### BEGIN LIBTOOL CONFIG
17280 # Whether or not to build static libraries.
17281 build_old_libs=$enable_static
17283 # Whether or not to build shared libraries.
17284 build_libtool_libs=$enable_shared
17286 # Which release of libtool.m4 was used?
17287 macro_version=$macro_version
17288 macro_revision=$macro_revision
17290 # What type of objects to build.
17293 # Whether or not to optimize for fast installation.
17294 fast_install=$enable_fast_install
17296 # Shared archive member basename,for filename based shared library versioning on AIX.
17297 shared_archive_member_spec=$shared_archive_member_spec
17299 # Shell to use when invoking shell scripts.
17302 # An echo program that protects backslashes.
17305 # The PATH separator for the build system.
17306 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17309 host_alias=$host_alias
17313 # The build system.
17314 build_alias=$build_alias
17318 # A sed program that does not truncate output.
17321 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17322 Xsed="\$SED -e 1s/^X//"
17324 # A grep program that handles long lines.
17330 # A literal string matcher.
17333 # A BSD- or MS-compatible name lister.
17336 # Whether we need soft or hard links.
17339 # What is the maximum length of a command?
17340 max_cmd_len=$max_cmd_len
17342 # Object file suffix (normally "o").
17345 # Executable file suffix (normally "").
17348 # whether the shell understands "unset".
17351 # turn spaces into newlines.
17354 # turn newlines into spaces.
17357 # convert \$build file names to \$host format.
17358 to_host_file_cmd=$lt_cv_to_host_file_cmd
17360 # convert \$build files to toolchain format.
17361 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17363 # An object symbol dumper.
17364 OBJDUMP=$lt_OBJDUMP
17366 # Method to check whether dependent libraries are shared objects.
17367 deplibs_check_method=$lt_deplibs_check_method
17369 # Command to use when deplibs_check_method = "file_magic".
17370 file_magic_cmd=$lt_file_magic_cmd
17372 # How to find potential files when deplibs_check_method = "file_magic".
17373 file_magic_glob=$lt_file_magic_glob
17375 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17376 want_nocaseglob=$lt_want_nocaseglob
17378 # DLL creation program.
17379 DLLTOOL=$lt_DLLTOOL
17381 # Command to associate shared and link libraries.
17382 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17387 # Flags to create an archive.
17388 AR_FLAGS=$lt_AR_FLAGS
17390 # How to feed a file listing to the archiver.
17391 archiver_list_spec=$lt_archiver_list_spec
17393 # A symbol stripping program.
17396 # Commands used to install an old-style archive.
17398 old_postinstall_cmds=$lt_old_postinstall_cmds
17399 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17401 # Whether to use a lock for old archive extraction.
17402 lock_old_archive_extraction=$lock_old_archive_extraction
17407 # LTCC compiler flags.
17408 LTCFLAGS=$lt_CFLAGS
17410 # Take the output of nm and produce a listing of raw symbols and C names.
17411 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17413 # Transform the output of nm in a proper C declaration.
17414 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17416 # Transform the output of nm into a list of symbols to manually relocate.
17417 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17419 # Transform the output of nm in a C name address pair.
17420 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17422 # Transform the output of nm in a C name address pair when lib prefix is needed.
17423 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17425 # The name lister interface.
17426 nm_interface=$lt_lt_cv_nm_interface
17428 # Specify filename containing input files for \$NM.
17429 nm_file_list_spec=$lt_nm_file_list_spec
17431 # The root where to search for dependent libraries,and where our libraries should be installed.
17432 lt_sysroot=$lt_sysroot
17434 # Command to truncate a binary pipe.
17435 lt_truncate_bin=$lt_lt_cv_truncate_bin
17437 # The name of the directory that contains temporary libtool files.
17440 # Used to examine libraries when file_magic_cmd begins with "file".
17441 MAGIC_CMD=$MAGIC_CMD
17443 # Must we lock files when doing compilation?
17444 need_locks=$lt_need_locks
17447 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17449 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17450 DSYMUTIL=$lt_DSYMUTIL
17452 # Tool to change global to local symbols on Mac OS X.
17455 # Tool to manipulate fat objects and archives on Mac OS X.
17458 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17461 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17462 OTOOL64=$lt_OTOOL64
17464 # Old archive suffix (normally "a").
17467 # Shared library suffix (normally ".so").
17468 shrext_cmds=$lt_shrext_cmds
17470 # The commands to extract the exported symbol list from a shared archive.
17471 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17473 # Variables whose values should be saved in libtool wrapper scripts and
17474 # restored at link time.
17475 variables_saved_for_relink=$lt_variables_saved_for_relink
17477 # Do we need the "lib" prefix for modules?
17478 need_lib_prefix=$need_lib_prefix
17480 # Do we need a version for libraries?
17481 need_version=$need_version
17483 # Library versioning type.
17484 version_type=$version_type
17486 # Shared library runtime path variable.
17487 runpath_var=$runpath_var
17489 # Shared library path variable.
17490 shlibpath_var=$shlibpath_var
17492 # Is shlibpath searched before the hard-coded library search path?
17493 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17495 # Format of library name prefix.
17496 libname_spec=$lt_libname_spec
17498 # List of archive names. First name is the real one, the rest are links.
17499 # The last name is the one that the linker finds with -lNAME
17500 library_names_spec=$lt_library_names_spec
17502 # The coded name of the library, if different from the real name.
17503 soname_spec=$lt_soname_spec
17505 # Permission mode override for installation of shared libraries.
17506 install_override_mode=$lt_install_override_mode
17508 # Command to use after installation of a shared archive.
17509 postinstall_cmds=$lt_postinstall_cmds
17511 # Command to use after uninstallation of a shared archive.
17512 postuninstall_cmds=$lt_postuninstall_cmds
17514 # Commands used to finish a libtool library installation in a directory.
17515 finish_cmds=$lt_finish_cmds
17517 # As "finish_cmds", except a single script fragment to be evaled but
17519 finish_eval=$lt_finish_eval
17521 # Whether we should hardcode library paths into libraries.
17522 hardcode_into_libs=$hardcode_into_libs
17524 # Compile-time system search path for libraries.
17525 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17527 # Detected run-time system search path for libraries.
17528 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17530 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17531 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17533 # Whether dlopen is supported.
17534 dlopen_support=$enable_dlopen
17536 # Whether dlopen of programs is supported.
17537 dlopen_self=$enable_dlopen_self
17539 # Whether dlopen of statically linked programs is supported.
17540 dlopen_self_static=$enable_dlopen_self_static
17542 # Commands to strip libraries.
17543 old_striplib=$lt_old_striplib
17544 striplib=$lt_striplib
17547 # The linker used to build libraries.
17550 # How to create reloadable object files.
17551 reload_flag=$lt_reload_flag
17552 reload_cmds=$lt_reload_cmds
17554 # Commands used to build an old-style archive.
17555 old_archive_cmds=$lt_old_archive_cmds
17557 # A language specific compiler.
17560 # Is the compiler the GNU compiler?
17563 # Compiler flag to turn off builtin functions.
17564 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17566 # Additional compiler flags for building library objects.
17567 pic_flag=$lt_lt_prog_compiler_pic
17569 # How to pass a linker flag through the compiler.
17570 wl=$lt_lt_prog_compiler_wl
17572 # Compiler flag to prevent dynamic linking.
17573 link_static_flag=$lt_lt_prog_compiler_static
17575 # Does compiler simultaneously support -c and -o options?
17576 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17578 # Whether or not to add -lc for building shared libraries.
17579 build_libtool_need_lc=$archive_cmds_need_lc
17581 # Whether or not to disallow shared libs when runtime libs are static.
17582 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17584 # Compiler flag to allow reflexive dlopens.
17585 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17587 # Compiler flag to generate shared objects directly from archives.
17588 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17590 # Whether the compiler copes with passing no objects directly.
17591 compiler_needs_object=$lt_compiler_needs_object
17593 # Create an old-style archive from a shared archive.
17594 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17596 # Create a temporary old-style archive to link instead of a shared archive.
17597 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17599 # Commands used to build a shared archive.
17600 archive_cmds=$lt_archive_cmds
17601 archive_expsym_cmds=$lt_archive_expsym_cmds
17603 # Commands used to build a loadable module if different from building
17604 # a shared archive.
17605 module_cmds=$lt_module_cmds
17606 module_expsym_cmds=$lt_module_expsym_cmds
17608 # Whether we are building with GNU ld or not.
17609 with_gnu_ld=$lt_with_gnu_ld
17611 # Flag that allows shared libraries with undefined symbols to be built.
17612 allow_undefined_flag=$lt_allow_undefined_flag
17614 # Flag that enforces no undefined symbols.
17615 no_undefined_flag=$lt_no_undefined_flag
17617 # Flag to hardcode \$libdir into a binary during linking.
17618 # This must work even if \$libdir does not exist
17619 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17621 # Whether we need a single "-rpath" flag with a separated argument.
17622 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17624 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17625 # DIR into the resulting binary.
17626 hardcode_direct=$hardcode_direct
17628 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17629 # DIR into the resulting binary and the resulting library dependency is
17630 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
17631 # library is relocated.
17632 hardcode_direct_absolute=$hardcode_direct_absolute
17634 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17635 # into the resulting binary.
17636 hardcode_minus_L=$hardcode_minus_L
17638 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17639 # into the resulting binary.
17640 hardcode_shlibpath_var=$hardcode_shlibpath_var
17642 # Set to "yes" if building a shared library automatically hardcodes DIR
17643 # into the library and all subsequent libraries and executables linked
17645 hardcode_automatic=$hardcode_automatic
17647 # Set to yes if linker adds runtime paths of dependent libraries
17648 # to runtime path list.
17649 inherit_rpath=$inherit_rpath
17651 # Whether libtool must link a program against all its dependency libraries.
17652 link_all_deplibs=$link_all_deplibs
17654 # Set to "yes" if exported symbols are required.
17655 always_export_symbols=$always_export_symbols
17657 # The commands to list exported symbols.
17658 export_symbols_cmds=$lt_export_symbols_cmds
17660 # Symbols that should not be listed in the preloaded symbols.
17661 exclude_expsyms=$lt_exclude_expsyms
17663 # Symbols that must always be exported.
17664 include_expsyms=$lt_include_expsyms
17666 # Commands necessary for linking programs (against libraries) with templates.
17667 prelink_cmds=$lt_prelink_cmds
17669 # Commands necessary for finishing linking programs.
17670 postlink_cmds=$lt_postlink_cmds
17672 # Specify filename containing input files.
17673 file_list_spec=$lt_file_list_spec
17675 # How to hardcode a shared library path into an executable.
17676 hardcode_action=$hardcode_action
17678 # ### END LIBTOOL CONFIG
17682 cat <<'_LT_EOF' >> "$cfgfile"
17684 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17686 # func_munge_path_list VARIABLE PATH
17687 # -----------------------------------
17688 # VARIABLE is name of variable containing _space_ separated list of
17689 # directories to be munged by the contents of PATH, which is string
17692 # string "DIR[ DIR]" will be prepended to VARIABLE
17694 # string "DIR[ DIR]" will be appended to VARIABLE
17695 # "DIRP[:DIRP]::[DIRA:]DIRA"
17696 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17697 # "DIRA[ DIRA]" will be appended to VARIABLE
17699 # VARIABLE will be replaced by "DIR[ DIR]"
17700 func_munge_path_list ()
17706 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17709 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17712 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17713 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17716 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17722 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17723 func_cc_basename ()
17725 for cc_temp in $*""; do
17727 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17728 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17733 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17737 # ### END FUNCTIONS SHARED WITH CONFIGURE
17743 cat <<\_LT_EOF
>> "$cfgfile"
17744 # AIX sometimes has problems with the GCC collect2 program. For some
17745 # reason, if we set the COLLECT_NAMES environment variable, the problems
17746 # vanish in a puff of smoke.
17747 if test set != "${COLLECT_NAMES+set}"; then
17749 export COLLECT_NAMES
17756 ltmain
=$ac_aux_dir/ltmain.sh
17759 # We use sed instead of cat because bash on DJGPP gets confused if
17760 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17761 # text mode, it properly converts lines to CR/LF. This bash problem
17762 # is reportedly fixed, but why not run on old versions too?
17763 sed '$q' "$ltmain" >> "$cfgfile" \
17764 || (rm -f "$cfgfile"; exit 1)
17766 mv -f "$cfgfile" "$ofile" ||
17767 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17771 "include/librb-config.h":C
)
17772 outfile
=include
/librb
-config.h.tmp
17773 cat > $outfile <<\_______EOF
17775 * librb
-config.h
: librb config
file. Please modify configure.ac
17778 #ifndef __LIBRB_CONFIG_H
17779 #define __LIBRB_CONFIG_H
17783 if test "x$rb_have_ipv6" = "xyes"; then
17784 echo "#define RB_IPV6 1" >> $outfile
17787 if test "x$rb_windows_h" = "xyes"; then
17788 echo '#define WIN32_LEAN_AND_MEAN 1' >> $outfile
17789 echo '#include <windows.h>' >> $outfile
17790 echo '#include <winsock2.h>' >> $outfile
17791 echo '#include <iphlpapi.h>' >> $outfile
17794 if test "x$rb_alloca_h" = "xyes"; then
17795 echo '#define RB_HAVE_ALLOCA_H 1' >> $outfile
17798 if test "x$rb_header_stdc" = "xyes"; then
17799 echo '#include <stdlib.h>' >> $outfile
17800 echo '#include <stddef.h>' >> $outfile
17801 elif test "x$rb_header_stdlib" = "xyes"; then
17802 echo '#include <stdlib.h>' >> $outfile
17805 if test "x$rb_header_string_h" = "xyes"; then
17806 echo '#include <string.h>' >> $outfile
17809 if test "x$rb_stdint_h" = "xyes"; then
17810 echo '#include <stdint.h>' >> $outfile
17813 if test "x$rb_inttypes_h" = "xyes"; then
17814 echo '#include <inttypes.h>' >> $outfile
17817 if test "x$rb_sys_types_h" = "xyes"; then
17818 echo '#include <sys/types.h>' >> $outfile
17820 if test "x$rb_sys_time_h" = "xyes"; then
17821 echo '#include <sys/time.h>' >> $outfile
17823 if test "x$rb_sys_stat_h" = "xyes"; then
17824 echo '#include <sys/stat.h>' >> $outfile
17826 if test "x$rb_time_h" = "xyes"; then
17827 echo '#include <time.h>' >> $outfile
17830 if test "x$rb_sys_socket_h" = "xyes"; then
17831 echo '#include <sys/socket.h>' >> $outfile
17834 if test "x$rb_netinet_in_h" = "xyes"; then
17835 echo '#include <netinet/in.h>' >> $outfile
17838 if test "x$rb_arpa_inet_h" = "xyes"; then
17839 echo '#include <arpa/inet.h>' >> $outfile
17842 if test "x$rb_unistd_h" = "xyes"; then
17843 echo '#include <unistd.h>' >> $outfile
17846 if test "x$rb_crypt_h" = "xyes"; then
17847 echo '#include <crypt.h>' >> $outfile
17850 if test "x$rb_errno_h" = "xyes"; then
17851 echo '#include <errno.h>' >> $outfile
17854 echo "typedef $rb_socklen_t rb_socklen_t;" >> $outfile
17857 if test "x$rb_sockaddr_sa_len" = "xyes"; then
17858 echo '#define RB_SOCKADDR_HAS_SA_LEN 1' >> $outfile
17861 if test "x$rb_sockaddr_storage" = "xyes"; then
17862 echo '#define rb_sockaddr_storage sockaddr_storage' >> $outfile
17864 echo 'struct rb_sockaddr_storage { uint8_t _padding[128]; };' >> $outfile
17867 cat >> $outfile <<\_______EOF
17868 #endif /* __LIBRB_CONFIG_H */
17871 if cmp -s $outfile include
/librb
-config.h
; then
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: include/librb-config.h is unchanged" >&5
17873 $as_echo "$as_me: include/librb-config.h is unchanged" >&6;}
17874 ${rb_rm} -f $outfile
17876 ${rb_mv} $outfile include
/librb
-config.h
17887 ac_clean_files
=$ac_clean_files_save
17889 test $ac_write_fail = 0 ||
17890 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17893 # configure is writing to config.log, and then calls config.status.
17894 # config.status does its own redirection, appending to config.log.
17895 # Unfortunately, on DOS this fails, as config.log is still kept open
17896 # by configure, so config.status won't be able to write to it; its
17897 # output is simply discarded. So we exec the FD to /dev/null,
17898 # effectively closing config.log, so it can be properly (re)opened and
17899 # appended to by config.status. When coming back to configure, we
17900 # need to make the FD available again.
17901 if test "$no_create" != yes; then
17903 ac_config_status_args
=
17904 test "$silent" = yes &&
17905 ac_config_status_args
="$ac_config_status_args --quiet"
17907 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17909 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17910 # would make configure fail if this is the last instruction.
17911 $ac_cs_success || as_fn_exit
1
17913 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17915 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17921 echo "Compiling $PACKAGE_NAME $PACKAGE_VERSION"
17924 echo "Installing into: $prefix"
17926 echo "IPv6 support ................... $have_v6"
17927 echo "Assert debugging ............... $assert"
17928 echo "SSL Type........................ $SSL_TYPE"