2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libratbox 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.
590 PACKAGE_NAME
='libratbox'
591 PACKAGE_TARNAME
='libratbox'
592 PACKAGE_VERSION
='devel'
593 PACKAGE_STRING
='libratbox devel'
597 ac_default_prefix
=/usr
/local
/libratbox
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 libratbox 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/libratbox]
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 libratbox 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 libratbox 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 libratbox $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/libratbox_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 $?
"ircd-ratbox 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 version_type
=freebsd
-$objformat
12110 case $version_type in
12112 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12113 soname_spec
='$libname$release$shared_ext$major'
12118 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12122 shlibpath_var
=LD_LIBRARY_PATH
12125 shlibpath_overrides_runpath
=yes
12127 freebsd3.
[01]* | freebsdelf3.
[01]*)
12128 shlibpath_overrides_runpath
=yes
12129 hardcode_into_libs
=yes
12131 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12132 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12133 shlibpath_overrides_runpath
=no
12134 hardcode_into_libs
=yes
12136 *) # from 4.6 on, and DragonFly
12137 shlibpath_overrides_runpath
=yes
12138 hardcode_into_libs
=yes
12144 version_type
=linux
# correct to gnu/linux during the next big refactor
12147 dynamic_linker
="$host_os runtime_loader"
12148 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12149 soname_spec
='$libname$release$shared_ext$major'
12150 shlibpath_var
=LIBRARY_PATH
12151 shlibpath_overrides_runpath
=no
12152 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12153 hardcode_into_libs
=yes
12156 hpux9
* | hpux10
* | hpux11
*)
12157 # Give a soname corresponding to the major version so that dld.sl refuses to
12158 # link against other versions.
12165 hardcode_into_libs
=yes
12166 dynamic_linker
="$host_os dld.so"
12167 shlibpath_var
=LD_LIBRARY_PATH
12168 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12169 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12170 soname_spec
='$libname$release$shared_ext$major'
12171 if test 32 = "$HPUX_IA64_MODE"; then
12172 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12173 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12175 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12176 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12181 hardcode_into_libs
=yes
12182 dynamic_linker
="$host_os dld.sl"
12183 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12184 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12185 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12186 soname_spec
='$libname$release$shared_ext$major'
12187 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12188 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12192 dynamic_linker
="$host_os dld.sl"
12193 shlibpath_var
=SHLIB_PATH
12194 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12195 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12196 soname_spec
='$libname$release$shared_ext$major'
12199 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12200 postinstall_cmds
='chmod 555 $lib'
12201 # or fails outright, so override atomically:
12202 install_override_mode
=555
12206 version_type
=linux
# correct to gnu/linux during the next big refactor
12209 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12210 soname_spec
='$libname$release$shared_ext$major'
12211 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12212 shlibpath_var
=LD_LIBRARY_PATH
12213 shlibpath_overrides_runpath
=no
12214 hardcode_into_libs
=yes
12217 irix5
* | irix6
* | nonstopux
*)
12219 nonstopux
*) version_type
=nonstopux
;;
12221 if test yes = "$lt_cv_prog_gnu_ld"; then
12222 version_type
=linux
# correct to gnu/linux during the next big refactor
12229 soname_spec
='$libname$release$shared_ext$major'
12230 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12232 irix5
* | nonstopux
*)
12233 libsuff
= shlibsuff
=
12236 case $LD in # libtool.m4 will add one of these switches to LD
12237 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12238 libsuff
= shlibsuff
= libmagic
=32-bit;;
12239 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12240 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12241 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12242 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12243 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12247 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12248 shlibpath_overrides_runpath
=no
12249 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12250 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12251 hardcode_into_libs
=yes
12254 # No shared lib support for Linux oldld, aout, or coff.
12255 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12260 version_type
=none
# Android doesn't support versioned libraries.
12263 library_names_spec
='$libname$release$shared_ext'
12264 soname_spec
='$libname$release$shared_ext'
12266 shlibpath_var
=LD_LIBRARY_PATH
12267 shlibpath_overrides_runpath
=yes
12269 # This implies no fast_install, which is unacceptable.
12270 # Some rework will be needed to allow for fast_install
12271 # before this can be enabled.
12272 hardcode_into_libs
=yes
12274 dynamic_linker
='Android linker'
12275 # Don't embed -rpath directories since the linker doesn't support them.
12276 hardcode_libdir_flag_spec
='-L$libdir'
12279 # This must be glibc/ELF.
12280 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12281 version_type
=linux
# correct to gnu/linux during the next big refactor
12284 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12285 soname_spec
='$libname$release$shared_ext$major'
12286 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12287 shlibpath_var
=LD_LIBRARY_PATH
12288 shlibpath_overrides_runpath
=no
12290 # Some binutils ld are patched to set DT_RUNPATH
12291 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12292 $as_echo_n "(cached) " >&6
12294 lt_cv_shlibpath_overrides_runpath
=no
12295 save_LDFLAGS
=$LDFLAGS
12296 save_libdir
=$libdir
12297 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12298 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12310 if ac_fn_c_try_link
"$LINENO"; then :
12311 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
12312 lt_cv_shlibpath_overrides_runpath
=yes
12315 rm -f core conftest.err conftest.
$ac_objext \
12316 conftest
$ac_exeext conftest.
$ac_ext
12317 LDFLAGS
=$save_LDFLAGS
12318 libdir
=$save_libdir
12322 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12324 # This implies no fast_install, which is unacceptable.
12325 # Some rework will be needed to allow for fast_install
12326 # before this can be enabled.
12327 hardcode_into_libs
=yes
12329 # Ideally, we could use ldconfig to report *all* directores which are
12330 # searched for libraries, however this is still not possible. Aside from not
12331 # being certain /sbin/ldconfig is available, command
12332 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12333 # even though it is searched at run-time. Try to do the best guess by
12334 # appending ld.so.conf contents (and includes) to the search path.
12335 if test -f /etc
/ld.so.conf
; then
12336 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' ' '`
12337 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12340 # We used to test for /lib/ld.so.1 and disable shared libraries on
12341 # powerpc, because MkLinux only supported shared libraries with the
12342 # GNU dynamic linker. Since this was broken with cross compilers,
12343 # most powerpc-linux boxes support dynamic linking these days and
12344 # people can always --disable-shared, the test was removed, and we
12345 # assume the GNU/Linux dynamic linker is in use.
12346 dynamic_linker
='GNU/Linux ld.so'
12353 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12354 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12355 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12356 dynamic_linker
='NetBSD (a.out) ld.so'
12358 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12359 soname_spec
='$libname$release$shared_ext$major'
12360 dynamic_linker
='NetBSD ld.elf_so'
12362 shlibpath_var
=LD_LIBRARY_PATH
12363 shlibpath_overrides_runpath
=yes
12364 hardcode_into_libs
=yes
12368 version_type
=linux
# correct to gnu/linux during the next big refactor
12369 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12370 shlibpath_var
=LD_LIBRARY_PATH
12371 shlibpath_overrides_runpath
=yes
12378 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12379 soname_spec
='$libname$release$shared_ext$major'
12380 shlibpath_var
=LD_LIBRARY_PATH
12381 shlibpath_overrides_runpath
=no
12382 hardcode_into_libs
=yes
12383 dynamic_linker
='ldqnx.so'
12386 openbsd
* | bitrig
*)
12388 sys_lib_dlsearch_path_spec
=/usr
/lib
12390 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12395 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12396 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12397 shlibpath_var
=LD_LIBRARY_PATH
12398 shlibpath_overrides_runpath
=yes
12402 libname_spec
='$name'
12403 version_type
=windows
12407 # OS/2 can only load a DLL with a base name of 8 characters or less.
12408 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12409 v=$($ECHO $release$versuffix | tr -d .-);
12410 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12411 $ECHO $n$v`$shared_ext'
12412 library_names_spec
='${libname}_dll.$libext'
12413 dynamic_linker
='OS/2 ld.exe'
12414 shlibpath_var
=BEGINLIBPATH
12415 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12416 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12417 postinstall_cmds
='base_file=`basename \$file`~
12418 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12419 dldir=$destdir/`dirname \$dlpath`~
12420 test -d \$dldir || mkdir -p \$dldir~
12421 $install_prog $dir/$dlname \$dldir/$dlname~
12422 chmod a+x \$dldir/$dlname~
12423 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12424 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12426 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12427 dlpath=$dir/\$dldll~
12431 osf3
* | osf4
* | osf5
*)
12435 soname_spec
='$libname$release$shared_ext$major'
12436 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12437 shlibpath_var
=LD_LIBRARY_PATH
12438 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12439 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12447 version_type
=linux
# correct to gnu/linux during the next big refactor
12450 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12451 soname_spec
='$libname$release$shared_ext$major'
12452 shlibpath_var
=LD_LIBRARY_PATH
12453 shlibpath_overrides_runpath
=yes
12454 hardcode_into_libs
=yes
12455 # ldd complains unless libraries are executable
12456 postinstall_cmds
='chmod +x $lib'
12461 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12462 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12463 shlibpath_var
=LD_LIBRARY_PATH
12464 shlibpath_overrides_runpath
=yes
12465 if test yes = "$with_gnu_ld"; then
12472 version_type
=linux
# correct to gnu/linux during the next big refactor
12473 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12474 soname_spec
='$libname$release$shared_ext$major'
12475 shlibpath_var
=LD_LIBRARY_PATH
12476 case $host_vendor in
12478 shlibpath_overrides_runpath
=no
12480 runpath_var
=LD_RUN_PATH
12488 shlibpath_overrides_runpath
=no
12489 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12495 if test -d /usr
/nec
; then
12496 version_type
=linux
# correct to gnu/linux during the next big refactor
12497 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12498 soname_spec
='$libname$shared_ext.$major'
12499 shlibpath_var
=LD_LIBRARY_PATH
12503 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12507 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12508 soname_spec
='$libname$release$shared_ext$major'
12509 shlibpath_var
=LD_LIBRARY_PATH
12510 shlibpath_overrides_runpath
=yes
12511 hardcode_into_libs
=yes
12512 if test yes = "$with_gnu_ld"; then
12513 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12515 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12518 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12522 sys_lib_dlsearch_path_spec
='/usr/lib'
12526 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12527 version_type
=linux
# correct to gnu/linux during the next big refactor
12530 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12531 shlibpath_var
=LD_LIBRARY_PATH
12532 shlibpath_overrides_runpath
=no
12533 hardcode_into_libs
=yes
12537 version_type
=linux
# correct to gnu/linux during the next big refactor
12538 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12539 soname_spec
='$libname$release$shared_ext$major'
12540 shlibpath_var
=LD_LIBRARY_PATH
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12548 $as_echo "$dynamic_linker" >&6; }
12549 test no
= "$dynamic_linker" && can_build_shared
=no
12551 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12552 if test yes = "$GCC"; then
12553 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12556 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12557 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12560 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12561 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12564 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12565 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12567 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12568 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12570 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12571 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12670 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12672 if test -n "$hardcode_libdir_flag_spec" ||
12673 test -n "$runpath_var" ||
12674 test yes = "$hardcode_automatic"; then
12676 # We can hardcode non-existent directories.
12677 if test no
!= "$hardcode_direct" &&
12678 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12679 # have to relink, otherwise we might link with an installed library
12680 # when we should be linking with a yet-to-be-installed one
12681 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12682 test no
!= "$hardcode_minus_L"; then
12683 # Linking always hardcodes the temporary library directory.
12684 hardcode_action
=relink
12686 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12687 hardcode_action
=immediate
12690 # We cannot hardcode anything, or else we can only hardcode existing
12692 hardcode_action
=unsupported
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12695 $as_echo "$hardcode_action" >&6; }
12697 if test relink
= "$hardcode_action" ||
12698 test yes = "$inherit_rpath"; then
12699 # Fast installation is not supported
12700 enable_fast_install
=no
12701 elif test yes = "$shlibpath_overrides_runpath" ||
12702 test no
= "$enable_shared"; then
12703 # Fast installation is not necessary
12704 enable_fast_install
=needless
12712 if test yes != "$enable_dlopen"; then
12713 enable_dlopen
=unknown
12714 enable_dlopen_self
=unknown
12715 enable_dlopen_self_static
=unknown
12722 lt_cv_dlopen
=load_add_on
12724 lt_cv_dlopen_self
=yes
12727 mingw
* | pw32
* | cegcc
*)
12728 lt_cv_dlopen
=LoadLibrary
12733 lt_cv_dlopen
=dlopen
12738 # if libdl is installed we need to link against it
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12740 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12741 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12742 $as_echo_n "(cached) " >&6
12744 ac_check_lib_save_LIBS
=$LIBS
12746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12747 /* end confdefs.h. */
12749 /* Override any GCC internal prototype to avoid an error.
12750 Use char because int might match the return type of a GCC
12751 builtin and then its argument prototype would still apply. */
12764 if ac_fn_c_try_link
"$LINENO"; then :
12765 ac_cv_lib_dl_dlopen
=yes
12767 ac_cv_lib_dl_dlopen
=no
12769 rm -f core conftest.err conftest.
$ac_objext \
12770 conftest
$ac_exeext conftest.
$ac_ext
12771 LIBS
=$ac_check_lib_save_LIBS
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12774 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12775 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12776 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12781 lt_cv_dlopen_self
=yes
12788 # Don't try to run any link tests for TPF. We know it's impossible
12789 # because TPF is a cross-compiler, and we know how we open DSOs.
12790 lt_cv_dlopen
=dlopen
12792 lt_cv_dlopen_self
=no
12796 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12797 if test "x$ac_cv_func_shl_load" = xyes
; then :
12798 lt_cv_dlopen
=shl_load
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12801 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12802 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12803 $as_echo_n "(cached) " >&6
12805 ac_check_lib_save_LIBS
=$LIBS
12807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12820 return shl_load ();
12825 if ac_fn_c_try_link
"$LINENO"; then :
12826 ac_cv_lib_dld_shl_load
=yes
12828 ac_cv_lib_dld_shl_load
=no
12830 rm -f core conftest.err conftest.
$ac_objext \
12831 conftest
$ac_exeext conftest.
$ac_ext
12832 LIBS
=$ac_check_lib_save_LIBS
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12835 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12836 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12837 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12839 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12840 if test "x$ac_cv_func_dlopen" = xyes
; then :
12841 lt_cv_dlopen
=dlopen
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12844 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12845 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12846 $as_echo_n "(cached) " >&6
12848 ac_check_lib_save_LIBS
=$LIBS
12850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12868 if ac_fn_c_try_link
"$LINENO"; then :
12869 ac_cv_lib_dl_dlopen
=yes
12871 ac_cv_lib_dl_dlopen
=no
12873 rm -f core conftest.err conftest.
$ac_objext \
12874 conftest
$ac_exeext conftest.
$ac_ext
12875 LIBS
=$ac_check_lib_save_LIBS
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12878 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12879 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12880 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12883 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12884 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12885 $as_echo_n "(cached) " >&6
12887 ac_check_lib_save_LIBS
=$LIBS
12888 LIBS
="-lsvld $LIBS"
12889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 /* Override any GCC internal prototype to avoid an error.
12893 Use char because int might match the return type of a GCC
12894 builtin and then its argument prototype would still apply. */
12907 if ac_fn_c_try_link
"$LINENO"; then :
12908 ac_cv_lib_svld_dlopen
=yes
12910 ac_cv_lib_svld_dlopen
=no
12912 rm -f core conftest.err conftest.
$ac_objext \
12913 conftest
$ac_exeext conftest.
$ac_ext
12914 LIBS
=$ac_check_lib_save_LIBS
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12917 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12918 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12919 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12922 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12923 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12924 $as_echo_n "(cached) " >&6
12926 ac_check_lib_save_LIBS
=$LIBS
12928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12931 /* Override any GCC internal prototype to avoid an error.
12932 Use char because int might match the return type of a GCC
12933 builtin and then its argument prototype would still apply. */
12941 return dld_link ();
12946 if ac_fn_c_try_link
"$LINENO"; then :
12947 ac_cv_lib_dld_dld_link
=yes
12949 ac_cv_lib_dld_dld_link
=no
12951 rm -f core conftest.err conftest.
$ac_objext \
12952 conftest
$ac_exeext conftest.
$ac_ext
12953 LIBS
=$ac_check_lib_save_LIBS
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12956 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12957 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12958 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12979 if test no
= "$lt_cv_dlopen"; then
12985 case $lt_cv_dlopen in
12987 save_CPPFLAGS
=$CPPFLAGS
12988 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12990 save_LDFLAGS
=$LDFLAGS
12991 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12994 LIBS
="$lt_cv_dlopen_libs $LIBS"
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12997 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12998 if ${lt_cv_dlopen_self+:} false
; then :
12999 $as_echo_n "(cached) " >&6
13001 if test yes = "$cross_compiling"; then :
13002 lt_cv_dlopen_self
=cross
13004 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13005 lt_status
=$lt_dlunknown
13006 cat > conftest.
$ac_ext <<_LT_EOF
13007 #line $LINENO "configure"
13008 #include "confdefs.h"
13017 # define LT_DLGLOBAL RTLD_GLOBAL
13020 # define LT_DLGLOBAL DL_GLOBAL
13022 # define LT_DLGLOBAL 0
13026 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13027 find out it does not work in some platform. */
13028 #ifndef LT_DLLAZY_OR_NOW
13030 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13033 # define LT_DLLAZY_OR_NOW DL_LAZY
13036 # define LT_DLLAZY_OR_NOW RTLD_NOW
13039 # define LT_DLLAZY_OR_NOW DL_NOW
13041 # define LT_DLLAZY_OR_NOW 0
13048 /* When -fvisibility=hidden is used, assume the code has been annotated
13049 correspondingly for the symbols needed. */
13050 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13051 int fnord () __attribute__((visibility("default")));
13054 int fnord () { return 42; }
13057 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13058 int status = $lt_dlunknown;
13062 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13065 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13066 else puts (dlerror ());
13068 /* dlclose (self); */
13076 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13077 (eval $ac_link) 2>&5
13079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13080 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13081 (.
/conftest
; exit; ) >&5 2>/dev
/null
13083 case x
$lt_status in
13084 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13085 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13086 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13089 # compilation failed
13090 lt_cv_dlopen_self
=no
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13098 $as_echo "$lt_cv_dlopen_self" >&6; }
13100 if test yes = "$lt_cv_dlopen_self"; then
13101 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13103 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13104 if ${lt_cv_dlopen_self_static+:} false
; then :
13105 $as_echo_n "(cached) " >&6
13107 if test yes = "$cross_compiling"; then :
13108 lt_cv_dlopen_self_static
=cross
13110 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13111 lt_status
=$lt_dlunknown
13112 cat > conftest.
$ac_ext <<_LT_EOF
13113 #line $LINENO "configure"
13114 #include "confdefs.h"
13123 # define LT_DLGLOBAL RTLD_GLOBAL
13126 # define LT_DLGLOBAL DL_GLOBAL
13128 # define LT_DLGLOBAL 0
13132 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13133 find out it does not work in some platform. */
13134 #ifndef LT_DLLAZY_OR_NOW
13136 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13139 # define LT_DLLAZY_OR_NOW DL_LAZY
13142 # define LT_DLLAZY_OR_NOW RTLD_NOW
13145 # define LT_DLLAZY_OR_NOW DL_NOW
13147 # define LT_DLLAZY_OR_NOW 0
13154 /* When -fvisibility=hidden is used, assume the code has been annotated
13155 correspondingly for the symbols needed. */
13156 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13157 int fnord () __attribute__((visibility("default")));
13160 int fnord () { return 42; }
13163 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13164 int status = $lt_dlunknown;
13168 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13171 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13172 else puts (dlerror ());
13174 /* dlclose (self); */
13182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13183 (eval $ac_link) 2>&5
13185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13186 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13187 (.
/conftest
; exit; ) >&5 2>/dev
/null
13189 case x
$lt_status in
13190 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13191 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13192 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13195 # compilation failed
13196 lt_cv_dlopen_self_static
=no
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13204 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13207 CPPFLAGS
=$save_CPPFLAGS
13208 LDFLAGS
=$save_LDFLAGS
13213 case $lt_cv_dlopen_self in
13214 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13215 *) enable_dlopen_self
=unknown
;;
13218 case $lt_cv_dlopen_self_static in
13219 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13220 *) enable_dlopen_self_static
=unknown
;;
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13243 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13244 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13245 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13246 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13248 $as_echo "yes" >&6; }
13250 # FIXME - insert some real tests, host_os isn't really good enough
13253 if test -n "$STRIP"; then
13254 striplib
="$STRIP -x"
13255 old_striplib
="$STRIP -S"
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13257 $as_echo "yes" >&6; }
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13260 $as_echo "no" >&6; }
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13265 $as_echo "no" >&6; }
13281 # Report what library types will actually be built
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13283 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13285 $as_echo "$can_build_shared" >&6; }
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13288 $as_echo_n "checking whether to build shared libraries... " >&6; }
13289 test no
= "$can_build_shared" && enable_shared
=no
13291 # On AIX, shared libraries and static libraries use the same namespace, and
13292 # are all built from PIC.
13295 test yes = "$enable_shared" && enable_static
=no
13296 if test -n "$RANLIB"; then
13297 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13298 postinstall_cmds
='$RANLIB $lib'
13303 if test ia64
!= "$host_cpu"; then
13304 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13305 yes,aix
,yes) ;; # shared object as lib.so file only
13306 yes,svr4
,*) ;; # shared object as lib.so archive member only
13307 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13313 $as_echo "$enable_shared" >&6; }
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13316 $as_echo_n "checking whether to build static libraries... " >&6; }
13317 # Make sure either enable_shared or enable_static is yes.
13318 test yes = "$enable_shared" || enable_static
=yes
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13320 $as_echo "$enable_static" >&6; }
13327 ac_cpp
='$CPP $CPPFLAGS'
13328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13348 ac_config_commands
="$ac_config_commands libtool"
13353 # Only expand once:
13357 LIBTOOL
="$LIBTOOL --silent"
13362 cat >>confdefs.h
<<_ACEOF
13367 cat >>confdefs.h
<<_ACEOF
13374 cat >>confdefs.h
<<_ACEOF
13379 cat >>confdefs.h
<<_ACEOF
13383 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
13384 if test "x$ac_cv_header_windows_h" = xyes
; then :
13387 as_fn_error $?
"** MinGW and no windows.h. I give up." "$LINENO" 5
13391 ac_fn_c_check_header_mongrel
"$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
13392 if test "x$ac_cv_header_winsock2_h" = xyes
; then :
13395 as_fn_error $?
"** MinGW and no winsock2.h. I give up." "$LINENO" 5
13400 cat >>confdefs.h
<<_ACEOF
13401 #define HAVE_WINSOCK2_H 1
13405 cat >>confdefs.h
<<_ACEOF
13406 #define HAVE_WINSOCK_H 1
13409 LIBS
="$LIBS -lws2_32 -liphlpapi"
13413 CPPFLAGS
="$CFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=500"
13416 CPPFLAGS
="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2"
13422 if test "$is_mingw" = "yes"; then
13432 # backwards support for IRC_CFLAGS
13433 CFLAGS
="$IRC_CFLAGS $CFLAGS -Wall"
13435 if test "$libexecdir" = '${exec_prefix}/libexec' &&
13436 test "$localstatedir" = '${prefix}/var'; then
13437 libexecdir
='${bindir}'
13438 localstatedir
='${prefix}'
13441 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13442 if test "x$ac_cv_type_pid_t" = xyes
; then :
13446 cat >>confdefs.h
<<_ACEOF
13452 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13453 if test "x$ac_cv_type_size_t" = xyes
; then :
13457 cat >>confdefs.h
<<_ACEOF
13458 #define size_t unsigned int
13463 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13464 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13468 cat >>confdefs.h
<<_ACEOF
13469 #define ssize_t int
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
13475 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
13476 if ${ac_cv_type_uid_t+:} false
; then :
13477 $as_echo_n "(cached) " >&6
13479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13481 #include <sys/types.h>
13484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13485 $EGREP "uid_t" >/dev
/null
2>&1; then :
13486 ac_cv_type_uid_t
=yes
13488 ac_cv_type_uid_t
=no
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
13494 $as_echo "$ac_cv_type_uid_t" >&6; }
13495 if test $ac_cv_type_uid_t = no
; then
13497 $as_echo "#define uid_t int" >>confdefs.h
13500 $as_echo "#define gid_t int" >>confdefs.h
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13507 $as_echo_n "checking for ANSI C header files... " >&6; }
13508 if ${ac_cv_header_stdc+:} false
; then :
13509 $as_echo_n "(cached) " >&6
13511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13512 /* end confdefs.h. */
13513 #include <stdlib.h>
13514 #include <stdarg.h>
13515 #include <string.h>
13526 if ac_fn_c_try_compile
"$LINENO"; then :
13527 ac_cv_header_stdc
=yes
13529 ac_cv_header_stdc
=no
13531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13533 if test $ac_cv_header_stdc = yes; then
13534 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13537 #include <string.h>
13540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13541 $EGREP "memchr" >/dev
/null
2>&1; then :
13544 ac_cv_header_stdc
=no
13550 if test $ac_cv_header_stdc = yes; then
13551 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13554 #include <stdlib.h>
13557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13558 $EGREP "free" >/dev
/null
2>&1; then :
13561 ac_cv_header_stdc
=no
13567 if test $ac_cv_header_stdc = yes; then
13568 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13569 if test "$cross_compiling" = yes; then :
13572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13575 #include <stdlib.h>
13576 #if ((' ' & 0x0FF) == 0x020)
13577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13580 # define ISLOWER(c) \
13581 (('a' <= (c) && (c) <= 'i') \
13582 || ('j' <= (c) && (c) <= 'r') \
13583 || ('s' <= (c) && (c) <= 'z'))
13584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13592 for (i = 0; i < 256; i++)
13593 if (XOR (islower (i), ISLOWER (i))
13594 || toupper (i) != TOUPPER (i))
13599 if ac_fn_c_try_run
"$LINENO"; then :
13602 ac_cv_header_stdc
=no
13604 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13605 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13611 $as_echo "$ac_cv_header_stdc" >&6; }
13612 if test $ac_cv_header_stdc = yes; then
13614 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13619 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
13621 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13622 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13623 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13624 cat >>confdefs.h
<<_ACEOF
13625 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
13633 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
13634 if ${ac_cv_header_time+:} false
; then :
13635 $as_echo_n "(cached) " >&6
13637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13638 /* end confdefs.h. */
13639 #include <sys/types.h>
13640 #include <sys/time.h>
13646 if ((struct tm *) 0)
13652 if ac_fn_c_try_compile
"$LINENO"; then :
13653 ac_cv_header_time
=yes
13655 ac_cv_header_time
=no
13657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
13660 $as_echo "$ac_cv_header_time" >&6; }
13661 if test $ac_cv_header_time = yes; then
13663 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13670 $as_echo_n "checking for library containing socket... " >&6; }
13671 if ${ac_cv_search_socket+:} false
; then :
13672 $as_echo_n "(cached) " >&6
13674 ac_func_search_save_LIBS
=$LIBS
13675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13676 /* end confdefs.h. */
13678 /* Override any GCC internal prototype to avoid an error.
13679 Use char because int might match the return type of a GCC
13680 builtin and then its argument prototype would still apply. */
13693 for ac_lib
in '' socket
; do
13694 if test -z "$ac_lib"; then
13695 ac_res
="none required"
13698 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13700 if ac_fn_c_try_link
"$LINENO"; then :
13701 ac_cv_search_socket
=$ac_res
13703 rm -f core conftest.err conftest.
$ac_objext \
13705 if ${ac_cv_search_socket+:} false
; then :
13709 if ${ac_cv_search_socket+:} false
; then :
13712 ac_cv_search_socket
=no
13714 rm conftest.
$ac_ext
13715 LIBS
=$ac_func_search_save_LIBS
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13718 $as_echo "$ac_cv_search_socket" >&6; }
13719 ac_res
=$ac_cv_search_socket
13720 if test "$ac_res" != no
; then :
13721 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13727 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
13728 #ifdef HAVE_SYS_TYPES_H
13729 #include <sys/types.h>
13731 #ifdef HAVE_SYS_SOCKET_H
13732 #include <sys/socket.h>
13734 #ifdef HAVE_WINSOCK2_H
13735 #include <winsock2.h>
13739 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
13741 $as_echo "#define SOCKADDR_IN_HAS_LEN 1" >>confdefs.h
13746 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
13747 #include <sys/socket.h>
13749 if test "x$ac_cv_type_socklen_t" = xyes
; then :
13750 rb_cv_socklen_t
=socklen_t
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
13754 $as_echo_n "checking for socklen_t equivalent... " >&6; }
13755 if ${rb_cv_socklen_t+:} false
; then :
13756 $as_echo_n "(cached) " >&6
13759 # Systems have either "struct sockaddr *" or
13760 # "void *" as the second argument to getpeername
13762 for arg2
in "struct sockaddr" void
; do
13763 for t
in int size_t unsigned long
"unsigned long"; do
13764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13767 #ifdef HAVE_SYS_TYPES_H
13768 #include <sys/types.h>
13770 #ifdef HAVE_SYS_SOCKET_H
13771 #include <sys/socket.h>
13773 #ifdef HAVE_WINSOCK2_H
13774 #include <winsock2.h>
13776 int getpeername (int, $arg2 *, $t *);
13783 getpeername(0,0,&len);
13789 if ac_fn_c_try_compile
"$LINENO"; then :
13791 rb_cv_socklen_t
="$t"
13795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13799 if test "x$rb_cv_socklen_t" = x
; then
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find a type to use in place of socklen_t using int" >&5
13801 $as_echo "$as_me: WARNING: Cannot find a type to use in place of socklen_t using int" >&2;}
13802 rb_cv_socklen_t
=int
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_socklen_t" >&5
13808 $as_echo "$rb_cv_socklen_t" >&6; }
13812 rb_socklen_t
=$rb_cv_socklen_t
13818 # Check whether --enable-ipv6 was given.
13819 if test "${enable_ipv6+set}" = set; then :
13820 enableval
=$enable_ipv6; ipv6
=$enableval
13826 if test x
$ipv6 != xyes
; then
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INET6 protocol support" >&5
13833 $as_echo_n "checking for INET6 protocol support... " >&6; }
13834 if ${rb_cv_proto_inet6+:} false
; then :
13835 $as_echo_n "(cached) " >&6
13838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13841 #include <sys/types.h>
13842 #include <sys/socket.h>
13845 #error Missing PF_INET6
13848 #error Mlssing AF_INET6
13852 if ac_fn_c_try_cpp
"$LINENO"; then :
13854 rb_cv_proto_inet6
=yes
13858 rb_cv_proto_inet6
=no
13861 rm -f conftest.err conftest.i conftest.
$ac_ext
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_proto_inet6" >&5
13865 $as_echo "$rb_cv_proto_inet6" >&6; }
13867 if test "X$rb_cv_proto_inet6" = "Xyes"; then :
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: PF_INET6 not found" >&5
13872 $as_echo "$as_me: Disabling IPv6 support: PF_INET6 not found" >&6;}
13878 if test "X$have_v6" = "Xyes"; then
13880 rb_have_sockaddr_in6
=
13881 ac_fn_c_check_type
"$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
13882 #include <sys/types.h>
13883 #include <sys/socket.h>
13884 #include <netinet/in.h>
13887 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes
; then :
13889 cat >>confdefs.h
<<_ACEOF
13890 #define HAVE_STRUCT_SOCKADDR_IN6 1
13894 rb_have_sockaddr_in6
=yes
13898 rb_have_sockaddr_in6
=no
13903 if test "X$rb_have_sockaddr_in6" = "Xyes"; then :
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: struct sockaddr_in6 not found" >&5
13908 $as_echo "$as_me: Disabling IPv6 support: struct sockaddr_in6 not found" >&6;}
13917 ac_fn_c_check_type
"$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
13918 #include <sys/types.h>
13919 #include <sys/socket.h>
13922 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
; then :
13924 cat >>confdefs.h
<<_ACEOF
13925 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
13929 rb_have_sockaddr_storage
=yes
13935 ac_fn_c_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
13936 if test "x$ac_cv_header_stdarg_h" = xyes
; then :
13939 as_fn_error $?
"** stdarg.h could not be found - libratbox will not compile without it **" "$LINENO" 5
13944 ac_fn_c_check_type
"$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#include <sys/types.h>
13945 #include <sys/socket.h>
13947 if test "x$ac_cv_type_sa_family_t" = xyes
; then :
13951 $as_echo "#define sa_family_t u_int16_t" >>confdefs.h
13957 for ac_func
in socketpair gettimeofday writev sendmsg gmtime_r strtok_r
usleep posix_spawn strlcpy strlcat strnlen fstat signalfd
select poll kevent port_create epoll_ctl arc4random getrusage timerfd_create
13959 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13960 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13961 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13962 cat >>confdefs.h
<<_ACEOF
13963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
13971 $as_echo_n "checking for library containing nanosleep... " >&6; }
13972 if ${ac_cv_search_nanosleep+:} false
; then :
13973 $as_echo_n "(cached) " >&6
13975 ac_func_search_save_LIBS
=$LIBS
13976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13979 /* Override any GCC internal prototype to avoid an error.
13980 Use char because int might match the return type of a GCC
13981 builtin and then its argument prototype would still apply. */
13989 return nanosleep ();
13994 for ac_lib
in '' rt posix4
; do
13995 if test -z "$ac_lib"; then
13996 ac_res
="none required"
13999 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14001 if ac_fn_c_try_link
"$LINENO"; then :
14002 ac_cv_search_nanosleep
=$ac_res
14004 rm -f core conftest.err conftest.
$ac_objext \
14006 if ${ac_cv_search_nanosleep+:} false
; then :
14010 if ${ac_cv_search_nanosleep+:} false
; then :
14013 ac_cv_search_nanosleep
=no
14015 rm conftest.
$ac_ext
14016 LIBS
=$ac_func_search_save_LIBS
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14019 $as_echo "$ac_cv_search_nanosleep" >&6; }
14020 ac_res
=$ac_cv_search_nanosleep
14021 if test "$ac_res" != no
; then :
14022 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14024 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5
14029 $as_echo_n "checking for library containing timer_create... " >&6; }
14030 if ${ac_cv_search_timer_create+:} false
; then :
14031 $as_echo_n "(cached) " >&6
14033 ac_func_search_save_LIBS
=$LIBS
14034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14037 /* Override any GCC internal prototype to avoid an error.
14038 Use char because int might match the return type of a GCC
14039 builtin and then its argument prototype would still apply. */
14043 char timer_create ();
14047 return timer_create ();
14052 for ac_lib
in '' rt
; do
14053 if test -z "$ac_lib"; then
14054 ac_res
="none required"
14057 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14059 if ac_fn_c_try_link
"$LINENO"; then :
14060 ac_cv_search_timer_create
=$ac_res
14062 rm -f core conftest.err conftest.
$ac_objext \
14064 if ${ac_cv_search_timer_create+:} false
; then :
14068 if ${ac_cv_search_timer_create+:} false
; then :
14071 ac_cv_search_timer_create
=no
14073 rm conftest.
$ac_ext
14074 LIBS
=$ac_func_search_save_LIBS
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5
14077 $as_echo "$ac_cv_search_timer_create" >&6; }
14078 ac_res
=$ac_cv_search_timer_create
14079 if test "$ac_res" != no
; then :
14080 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14082 $as_echo "#define HAVE_TIMER_CREATE 1" >>confdefs.h
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timer_create(CLOCK_REALTIME)" >&5
14087 $as_echo_n "checking for a working timer_create(CLOCK_REALTIME)... " >&6; }
14088 if ${rb__cv_timer_create_works+:} false
; then :
14089 $as_echo_n "(cached) " >&6
14091 if test "$cross_compiling" = yes; then :
14092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14094 as_fn_error $?
"cannot run test program while cross compiling
14095 See \`config.log' for more details" "$LINENO" 5; }
14097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14103 #ifdef HAVE_SIGNAL_H
14104 #include <signal.h>
14106 #ifdef HAVE_UNISTD_H
14107 #include <unistd.h>
14109 int main(int argc, char *argv[])
14111 #if HAVE_TIMER_CREATE
14112 struct sigevent ev;
14114 ev.sigev_notify = SIGEV_SIGNAL;
14115 ev.sigev_signo = SIGVTALRM;
14116 if (timer_create(CLOCK_REALTIME, &ev, &timer) != 0) {
14126 if ac_fn_c_try_run
"$LINENO"; then :
14127 rb__cv_timer_create_works
=yes
14129 rb__cv_timer_create_works
=no
14131 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14132 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timer_create_works" >&5
14138 $as_echo "$rb__cv_timer_create_works" >&6; }
14139 case $rb__cv_timer_create_works in
14141 $as_echo "#define USE_TIMER_CREATE 1" >>confdefs.h
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timerfd_create(CLOCK_REALTIME)" >&5
14146 $as_echo_n "checking for a working timerfd_create(CLOCK_REALTIME)... " >&6; }
14147 if ${rb__cv_timerfd_create_works+:} false
; then :
14148 $as_echo_n "(cached) " >&6
14150 if test "$cross_compiling" = yes; then :
14151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14153 as_fn_error $?
"cannot run test program while cross compiling
14154 See \`config.log' for more details" "$LINENO" 5; }
14156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14162 #ifdef HAVE_SIGNAL_H
14163 #include <signal.h>
14165 #ifdef HAVE_UNISTD_H
14166 #include <unistd.h>
14168 #ifdef HAVE_SYS_TIMERFD_H
14169 #include <sys/timerfd.h>
14171 int main(int argc, char *argv[])
14173 #if defined(HAVE_TIMERFD_CREATE) && defined(HAVE_SYS_TIMERFD_H)
14174 if (timerfd_create(CLOCK_REALTIME, 0) < 0) {
14184 if ac_fn_c_try_run
"$LINENO"; then :
14185 rb__cv_timerfd_create_works
=yes
14187 rb__cv_timerfd_create_works
=no
14189 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14190 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timerfd_create_works" >&5
14196 $as_echo "$rb__cv_timerfd_create_works" >&6; }
14197 case $rb__cv_timerfd_create_works in
14199 $as_echo "#define USE_TIMERFD_CREATE 1" >>confdefs.h
14204 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14205 # for constant arguments. Useless!
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14207 $as_echo_n "checking for working alloca.h... " >&6; }
14208 if ${ac_cv_working_alloca_h+:} false
; then :
14209 $as_echo_n "(cached) " >&6
14211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14213 #include <alloca.h>
14217 char *p = (char *) alloca (2 * sizeof (int));
14223 if ac_fn_c_try_link
"$LINENO"; then :
14224 ac_cv_working_alloca_h
=yes
14226 ac_cv_working_alloca_h
=no
14228 rm -f core conftest.err conftest.
$ac_objext \
14229 conftest
$ac_exeext conftest.
$ac_ext
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14232 $as_echo "$ac_cv_working_alloca_h" >&6; }
14233 if test $ac_cv_working_alloca_h = yes; then
14235 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14240 $as_echo_n "checking for alloca... " >&6; }
14241 if ${ac_cv_func_alloca_works+:} false
; then :
14242 $as_echo_n "(cached) " >&6
14244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14247 # define alloca __builtin_alloca
14250 # include <malloc.h>
14251 # define alloca _alloca
14253 # ifdef HAVE_ALLOCA_H
14254 # include <alloca.h>
14259 # ifndef alloca /* predefined by HP cc +Olibcalls */
14260 void *alloca (size_t);
14270 char *p = (char *) alloca (1);
14276 if ac_fn_c_try_link
"$LINENO"; then :
14277 ac_cv_func_alloca_works
=yes
14279 ac_cv_func_alloca_works
=no
14281 rm -f core conftest.err conftest.
$ac_objext \
14282 conftest
$ac_exeext conftest.
$ac_ext
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14285 $as_echo "$ac_cv_func_alloca_works" >&6; }
14287 if test $ac_cv_func_alloca_works = yes; then
14289 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14292 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14293 # that cause trouble. Some versions do not even contain alloca or
14294 # contain a buggy version. If you still want to use their alloca,
14295 # use ar to extract alloca.o from them instead of compiling alloca.c.
14297 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
14299 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14303 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14304 if ${ac_cv_os_cray+:} false
; then :
14305 $as_echo_n "(cached) " >&6
14307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 #if defined CRAY && ! defined CRAY2
14316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14317 $EGREP "webecray" >/dev
/null
2>&1; then :
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14326 $as_echo "$ac_cv_os_cray" >&6; }
14327 if test $ac_cv_os_cray = yes; then
14328 for ac_func
in _getb67 GETB67 getb67
; do
14329 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14330 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14331 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14333 cat >>confdefs.h
<<_ACEOF
14334 #define CRAY_STACKSEG_END $ac_func
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14344 $as_echo_n "checking stack direction for C alloca... " >&6; }
14345 if ${ac_cv_c_stack_direction+:} false
; then :
14346 $as_echo_n "(cached) " >&6
14348 if test "$cross_compiling" = yes; then :
14349 ac_cv_c_stack_direction
=0
14351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14353 $ac_includes_default
14355 find_stack_direction (int *addr, int depth)
14357 int dir, dummy = 0;
14360 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
14361 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
14362 return dir + dummy;
14366 main (int argc, char **argv)
14368 return find_stack_direction (0, argc + !argv + 20) < 0;
14371 if ac_fn_c_try_run
"$LINENO"; then :
14372 ac_cv_c_stack_direction
=1
14374 ac_cv_c_stack_direction
=-1
14376 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14377 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14382 $as_echo "$ac_cv_c_stack_direction" >&6; }
14383 cat >>confdefs.h
<<_ACEOF
14384 #define STACK_DIRECTION $ac_cv_c_stack_direction
14390 for ac_header
in vfork.h
14392 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14393 if test "x$ac_cv_header_vfork_h" = xyes
; then :
14394 cat >>confdefs.h
<<_ACEOF
14395 #define HAVE_VFORK_H 1
14402 for ac_func
in fork vfork
14404 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14405 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14406 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14407 cat >>confdefs.h
<<_ACEOF
14408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14414 if test "x$ac_cv_func_fork" = xyes
; then
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14416 $as_echo_n "checking for working fork... " >&6; }
14417 if ${ac_cv_func_fork_works+:} false
; then :
14418 $as_echo_n "(cached) " >&6
14420 if test "$cross_compiling" = yes; then :
14421 ac_cv_func_fork_works
=cross
14423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14425 $ac_includes_default
14430 /* By Ruediger Kuhlmann. */
14431 return fork () < 0;
14437 if ac_fn_c_try_run
"$LINENO"; then :
14438 ac_cv_func_fork_works
=yes
14440 ac_cv_func_fork_works
=no
14442 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14443 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
14448 $as_echo "$ac_cv_func_fork_works" >&6; }
14451 ac_cv_func_fork_works
=$ac_cv_func_fork
14453 if test "x$ac_cv_func_fork_works" = xcross
; then
14455 *-*-amigaos* | *-*-msdosdjgpp*)
14456 # Override, as these systems have only a dummy fork() stub
14457 ac_cv_func_fork_works
=no
14460 ac_cv_func_fork_works
=yes
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
14464 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
14466 ac_cv_func_vfork_works
=$ac_cv_func_vfork
14467 if test "x$ac_cv_func_vfork" = xyes
; then
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14469 $as_echo_n "checking for working vfork... " >&6; }
14470 if ${ac_cv_func_vfork_works+:} false
; then :
14471 $as_echo_n "(cached) " >&6
14473 if test "$cross_compiling" = yes; then :
14474 ac_cv_func_vfork_works
=cross
14476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14478 /* Thanks to Paul Eggert for this test. */
14479 $ac_includes_default
14480 #include <sys/wait.h>
14481 #ifdef HAVE_VFORK_H
14482 # include <vfork.h>
14484 /* On some sparc systems, changes by the child to local and incoming
14485 argument registers are propagated back to the parent. The compiler
14486 is told about this with #include <vfork.h>, but some compilers
14487 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
14488 static variable whose address is put into a register that is
14489 clobbered by the vfork. */
14492 sparc_address_test (int arg)
14494 sparc_address_test (arg) int arg;
14497 static pid_t child;
14515 pid_t parent = getpid ();
14518 sparc_address_test (0);
14523 /* Here is another test for sparc vfork register problems. This
14524 test uses lots of local variables, at least as many local
14525 variables as main has allocated so far including compiler
14526 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
14527 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
14528 reuse the register of parent for one of the local variables,
14529 since it will think that parent can't possibly be used any more
14530 in this routine. Assigning to the local variable will thus
14531 munge parent in the parent process. */
14533 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
14534 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
14535 /* Convince the compiler that p..p7 are live; otherwise, it might
14536 use the same hardware register for all 8 local variables. */
14537 if (p != p1 || p != p2 || p != p3 || p != p4
14538 || p != p5 || p != p6 || p != p7)
14541 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
14542 from child file descriptors. If the child closes a descriptor
14543 before it execs or exits, this munges the parent's descriptor
14544 as well. Test for this by closing stdout in the child. */
14545 _exit(close(fileno(stdout)) != 0);
14550 while (wait(&status) != child)
14553 /* Was there some problem with vforking? */
14556 /* Did the child fail? (This shouldn't happen.) */
14559 /* Did the vfork/compiler bug occur? */
14560 || parent != getpid()
14562 /* Did the file descriptor bug occur? */
14563 || fstat(fileno(stdout), &st) != 0
14568 if ac_fn_c_try_run
"$LINENO"; then :
14569 ac_cv_func_vfork_works
=yes
14571 ac_cv_func_vfork_works
=no
14573 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14574 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
14579 $as_echo "$ac_cv_func_vfork_works" >&6; }
14582 if test "x$ac_cv_func_fork_works" = xcross
; then
14583 ac_cv_func_vfork_works
=$ac_cv_func_vfork
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
14585 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
14588 if test "x$ac_cv_func_vfork_works" = xyes
; then
14590 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
14594 $as_echo "#define vfork fork" >>confdefs.h
14597 if test "x$ac_cv_func_fork_works" = xyes
; then
14599 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
14606 for ac_header
in $ac_header_list
14608 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14609 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14611 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14612 cat >>confdefs.h
<<_ACEOF
14613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14627 for ac_func
in getpagesize
14629 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
14630 if test "x$ac_cv_func_getpagesize" = xyes
; then :
14631 cat >>confdefs.h
<<_ACEOF
14632 #define HAVE_GETPAGESIZE 1
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14639 $as_echo_n "checking for working mmap... " >&6; }
14640 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
14641 $as_echo_n "(cached) " >&6
14643 if test "$cross_compiling" = yes; then :
14644 ac_cv_func_mmap_fixed_mapped
=no
14646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14648 $ac_includes_default
14649 /* malloc might have been renamed as rpl_malloc. */
14652 /* Thanks to Mike Haertel and Jim Avera for this test.
14653 Here is a matrix of mmap possibilities:
14654 mmap private not fixed
14655 mmap private fixed at somewhere currently unmapped
14656 mmap private fixed at somewhere already mapped
14657 mmap shared not fixed
14658 mmap shared fixed at somewhere currently unmapped
14659 mmap shared fixed at somewhere already mapped
14660 For private mappings, we should verify that changes cannot be read()
14661 back from the file, nor mmap's back from the file at a different
14662 address. (There have been systems where private was not correctly
14663 implemented like the infamous i386 svr4.0, and systems where the
14664 VM page cache was not coherent with the file system buffer cache
14665 like early versions of FreeBSD and possibly contemporary NetBSD.)
14666 For shared mappings, we should conversely verify that changes get
14667 propagated back to all the places they're supposed to be.
14669 Grep wants private fixed already mapped.
14670 The main things grep needs to know about mmap are:
14671 * does it exist and is it safe to write into the mmap'd area
14672 * how to use it (BSD variants) */
14675 #include <sys/mman.h>
14677 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14681 /* This mess was copied from the GNU getpagesize.h. */
14682 #ifndef HAVE_GETPAGESIZE
14683 # ifdef _SC_PAGESIZE
14684 # define getpagesize() sysconf(_SC_PAGESIZE)
14685 # else /* no _SC_PAGESIZE */
14686 # ifdef HAVE_SYS_PARAM_H
14687 # include <sys/param.h>
14688 # ifdef EXEC_PAGESIZE
14689 # define getpagesize() EXEC_PAGESIZE
14690 # else /* no EXEC_PAGESIZE */
14692 # define getpagesize() NBPG * CLSIZE
14695 # endif /* no CLSIZE */
14696 # else /* no NBPG */
14698 # define getpagesize() NBPC
14699 # else /* no NBPC */
14701 # define getpagesize() PAGESIZE
14702 # endif /* PAGESIZE */
14703 # endif /* no NBPC */
14704 # endif /* no NBPG */
14705 # endif /* no EXEC_PAGESIZE */
14706 # else /* no HAVE_SYS_PARAM_H */
14707 # define getpagesize() 8192 /* punt totally */
14708 # endif /* no HAVE_SYS_PARAM_H */
14709 # endif /* no _SC_PAGESIZE */
14711 #endif /* no HAVE_GETPAGESIZE */
14716 char *data, *data2, *data3;
14717 const char *cdata2;
14721 pagesize = getpagesize ();
14723 /* First, make a file with some known garbage in it. */
14724 data = (char *) malloc (pagesize);
14727 for (i = 0; i < pagesize; ++i)
14728 *(data + i) = rand ();
14730 fd = creat ("conftest.mmap", 0600);
14733 if (write (fd, data, pagesize) != pagesize)
14737 /* Next, check that the tail of a page is zero-filled. File must have
14738 non-zero length, otherwise we risk SIGBUS for entire page. */
14739 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
14743 if (write (fd2, cdata2, 1) != 1)
14745 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
14746 if (data2 == MAP_FAILED)
14748 for (i = 0; i < pagesize; ++i)
14752 if (munmap (data2, pagesize))
14755 /* Next, try to mmap the file at a fixed address which already has
14756 something else allocated at it. If we can, also make sure that
14757 we see the same garbage. */
14758 fd = open ("conftest.mmap", O_RDWR);
14761 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14762 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14764 for (i = 0; i < pagesize; ++i)
14765 if (*(data + i) != *(data2 + i))
14768 /* Finally, make sure that changes to the mapped area do not
14769 percolate back to the file as seen by read(). (This is a bug on
14770 some variants of i386 svr4.0.) */
14771 for (i = 0; i < pagesize; ++i)
14772 *(data2 + i) = *(data2 + i) + 1;
14773 data3 = (char *) malloc (pagesize);
14776 if (read (fd, data3, pagesize) != pagesize)
14778 for (i = 0; i < pagesize; ++i)
14779 if (*(data + i) != *(data3 + i))
14785 if ac_fn_c_try_run
"$LINENO"; then :
14786 ac_cv_func_mmap_fixed_mapped
=yes
14788 ac_cv_func_mmap_fixed_mapped
=no
14790 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14791 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14796 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14797 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14799 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
14802 rm -f conftest.mmap conftest.txt
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/poll" >&5
14806 $as_echo_n "checking for /dev/poll... " >&6; }
14807 if test -c "/dev/poll"; then
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14809 $as_echo "yes" >&6; }
14811 $as_echo "#define HAVE_DEVPOLL 1" >>confdefs.h
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14815 $as_echo "no" >&6; }
14819 if test "$is_mingw" = "yes"; then
14821 $as_echo "#define HAVE_WIN32 1" >>confdefs.h
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
14827 $as_echo_n "checking for OpenSSL... " >&6; }
14828 # Check whether --enable-openssl was given.
14829 if test "${enable_openssl+set}" = set; then :
14830 enableval
=$enable_openssl; cf_enable_openssl
=$enableval
14832 cf_enable_openssl
="auto"
14836 if test "$cf_enable_openssl" != "no" ; then
14837 cf_openssl_basedir
=""
14838 if test "$cf_enable_openssl" != "auto" &&
14839 test "$cf_enable_openssl" != "yes" ; then
14840 cf_openssl_basedir
="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
14842 for dirs in /usr
/local
/ssl
/usr
/pkg
/usr
/local \
14843 /usr
/local
/openssl
; do
14844 if test -f "${dirs}/include/openssl/opensslv.h" ; then
14845 cf_openssl_basedir
="${dirs}"
14851 if test ! -z "$cf_openssl_basedir"; then
14852 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
14853 SSL_CFLAGS
="-I${cf_openssl_basedir}/include"
14854 SSL_LIBS
="-L${cf_openssl_basedir}/lib"
14856 cf_openssl_basedir
=""
14859 if test -f "/usr/include/openssl/opensslv.h" ; then
14860 cf_openssl_basedir
="/usr"
14864 if test ! -z "$cf_openssl_basedir"; then
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14866 $as_echo "$cf_openssl_basedir" >&6; }
14867 cf_enable_openssl
="yes"
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Specify a correct path?" >&5
14870 $as_echo "not found. Specify a correct path?" >&6; }
14871 cf_enable_openssl
="no"
14873 unset cf_openssl_basedir
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14876 $as_echo "disabled" >&6; }
14879 save_CPPFLAGS
="$CPPFLAGS"
14880 CPPFLAGS
="$CPPFLAGS $SSL_CFLAGS"
14882 LIBS
="$LIBS $SSL_LIBS"
14883 if test "$cf_enable_openssl" != no
; then
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14885 $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14886 if test "$cross_compiling" = yes; then :
14887 cf_enable_openssl
=no
14889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14891 #include <openssl/opensslv.h>
14892 #include <stdlib.h>
14896 if (OPENSSL_VERSION_NUMBER >= 0x00907000)
14897 exit(0); else exit(1);
14902 if ac_fn_c_try_run
"$LINENO"; then :
14903 cf_enable_openssl
=yes
14905 cf_enable_openssl
=no
14907 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14908 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14912 if test "$cf_enable_openssl" != no
; then
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14914 $as_echo "found" >&6; }
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14917 $as_echo "no - OpenSSL support disabled" >&6; }
14923 if test "$cf_enable_openssl" != no
; then
14924 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_status in -lcrypto" >&5
14926 $as_echo_n "checking for RAND_status in -lcrypto... " >&6; }
14927 if ${ac_cv_lib_crypto_RAND_status+:} false
; then :
14928 $as_echo_n "(cached) " >&6
14930 ac_check_lib_save_LIBS
=$LIBS
14931 LIBS
="-lcrypto $LIBS"
14932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14935 /* Override any GCC internal prototype to avoid an error.
14936 Use char because int might match the return type of a GCC
14937 builtin and then its argument prototype would still apply. */
14941 char RAND_status ();
14945 return RAND_status ();
14950 if ac_fn_c_try_link
"$LINENO"; then :
14951 ac_cv_lib_crypto_RAND_status
=yes
14953 ac_cv_lib_crypto_RAND_status
=no
14955 rm -f core conftest.err conftest.
$ac_objext \
14956 conftest
$ac_exeext conftest.
$ac_ext
14957 LIBS
=$ac_check_lib_save_LIBS
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_status" >&5
14960 $as_echo "$ac_cv_lib_crypto_RAND_status" >&6; }
14961 if test "x$ac_cv_lib_crypto_RAND_status" = xyes
; then :
14962 cf_enable_openssl
=yes
14964 cf_enable_openssl
=no
14969 if test "$cf_enable_openssl" != no
; then
14970 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_read in -lssl" >&5
14972 $as_echo_n "checking for SSL_read in -lssl... " >&6; }
14973 if ${ac_cv_lib_ssl_SSL_read+:} false
; then :
14974 $as_echo_n "(cached) " >&6
14976 ac_check_lib_save_LIBS
=$LIBS
14977 LIBS
="-lssl -lcrypto $LIBS"
14978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14981 /* Override any GCC internal prototype to avoid an error.
14982 Use char because int might match the return type of a GCC
14983 builtin and then its argument prototype would still apply. */
14991 return SSL_read ();
14996 if ac_fn_c_try_link
"$LINENO"; then :
14997 ac_cv_lib_ssl_SSL_read
=yes
14999 ac_cv_lib_ssl_SSL_read
=no
15001 rm -f core conftest.err conftest.
$ac_objext \
15002 conftest
$ac_exeext conftest.
$ac_ext
15003 LIBS
=$ac_check_lib_save_LIBS
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_read" >&5
15006 $as_echo "$ac_cv_lib_ssl_SSL_read" >&6; }
15007 if test "x$ac_cv_lib_ssl_SSL_read" = xyes
; then :
15008 SSL_LIBS
="$SSL_LIBS -lssl -lcrypto"
15010 cf_enable_openssl
=no
15016 # Check whether --enable-mbedtls was given.
15017 if test "${enable_mbedtls+set}" = set; then :
15018 enableval
=$enable_mbedtls; cf_enable_mbedtls
=$enableval
15020 cf_enable_mbedtls
="auto"
15024 if test "$cf_enable_mbedtls" != no
; then
15025 save_CPPFLAGS
="$CPPFLAGS"
15027 LIBS
="$LIBS $MBEDTLS_LIBS"
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbedtls_ssl_init in -lmbedtls" >&5
15029 $as_echo_n "checking for mbedtls_ssl_init in -lmbedtls... " >&6; }
15030 if ${ac_cv_lib_mbedtls_mbedtls_ssl_init+:} false
; then :
15031 $as_echo_n "(cached) " >&6
15033 ac_check_lib_save_LIBS
=$LIBS
15034 LIBS
="-lmbedtls -lmbedcrypto -lmbedx509 $LIBS"
15035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15036 /* end confdefs.h. */
15038 /* Override any GCC internal prototype to avoid an error.
15039 Use char because int might match the return type of a GCC
15040 builtin and then its argument prototype would still apply. */
15044 char mbedtls_ssl_init ();
15048 return mbedtls_ssl_init ();
15053 if ac_fn_c_try_link
"$LINENO"; then :
15054 ac_cv_lib_mbedtls_mbedtls_ssl_init
=yes
15056 ac_cv_lib_mbedtls_mbedtls_ssl_init
=no
15058 rm -f core conftest.err conftest.
$ac_objext \
15059 conftest
$ac_exeext conftest.
$ac_ext
15060 LIBS
=$ac_check_lib_save_LIBS
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_ssl_init" >&5
15063 $as_echo "$ac_cv_lib_mbedtls_mbedtls_ssl_init" >&6; }
15064 if test "x$ac_cv_lib_mbedtls_mbedtls_ssl_init" = xyes
; then :
15066 MBEDTLS_LIBS
="$MBEDTLS_LIBS -lmbedtls -lmbedcrypto -lmbedx509"
15067 cf_enable_mbedtls
=yes
15070 cf_enable_mbedtls
=no
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS" >&5
15076 $as_echo_n "checking for GnuTLS... " >&6; }
15077 # Check whether --enable-gnutls was given.
15078 if test "${enable_gnutls+set}" = set; then :
15079 enableval
=$enable_gnutls; cf_enable_gnutls
=$enableval
15081 cf_enable_gnutls
="auto"
15085 if test "$cf_enable_gnutls" != no
; then
15093 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15094 if test -n "$ac_tool_prefix"; then
15095 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15096 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15098 $as_echo_n "checking for $ac_word... " >&6; }
15099 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15100 $as_echo_n "(cached) " >&6
15102 case $PKG_CONFIG in
15104 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15108 for as_dir
in $PATH
15111 test -z "$as_dir" && as_dir
=.
15112 for ac_exec_ext
in '' $ac_executable_extensions; do
15113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15114 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15125 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15126 if test -n "$PKG_CONFIG"; then
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15128 $as_echo "$PKG_CONFIG" >&6; }
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15131 $as_echo "no" >&6; }
15136 if test -z "$ac_cv_path_PKG_CONFIG"; then
15137 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15138 # Extract the first word of "pkg-config", so it can be a program name with args.
15139 set dummy pkg
-config; ac_word
=$2
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15141 $as_echo_n "checking for $ac_word... " >&6; }
15142 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15143 $as_echo_n "(cached) " >&6
15145 case $ac_pt_PKG_CONFIG in
15147 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15151 for as_dir
in $PATH
15154 test -z "$as_dir" && as_dir
=.
15155 for ac_exec_ext
in '' $ac_executable_extensions; do
15156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15157 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15168 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15169 if test -n "$ac_pt_PKG_CONFIG"; then
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15171 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15174 $as_echo "no" >&6; }
15177 if test "x$ac_pt_PKG_CONFIG" = x
; then
15180 case $cross_compiling:$ac_tool_warned in
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15184 ac_tool_warned
=yes ;;
15186 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15189 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15193 if test -n "$PKG_CONFIG"; then
15194 _pkg_min_version
=0.9.0
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15196 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15197 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15199 $as_echo "yes" >&6; }
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15202 $as_echo "no" >&6; }
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
15209 $as_echo_n "checking for GNUTLS... " >&6; }
15211 if test -n "$GNUTLS_CFLAGS"; then
15212 pkg_cv_GNUTLS_CFLAGS
="$GNUTLS_CFLAGS"
15213 elif test -n "$PKG_CONFIG"; then
15214 if test -n "$PKG_CONFIG" && \
15215 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls\""; } >&5
15216 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
15218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15219 test $ac_status = 0; }; then
15220 pkg_cv_GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags "gnutls" 2>/dev/null`
15221 test "x$?" != "x0" && pkg_failed
=yes
15228 if test -n "$GNUTLS_LIBS"; then
15229 pkg_cv_GNUTLS_LIBS
="$GNUTLS_LIBS"
15230 elif test -n "$PKG_CONFIG"; then
15231 if test -n "$PKG_CONFIG" && \
15232 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls\""; } >&5
15233 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
15235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15236 test $ac_status = 0; }; then
15237 pkg_cv_GNUTLS_LIBS
=`$PKG_CONFIG --libs "gnutls" 2>/dev/null`
15238 test "x$?" != "x0" && pkg_failed
=yes
15248 if test $pkg_failed = yes; then
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15250 $as_echo "no" >&6; }
15252 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15253 _pkg_short_errors_supported
=yes
15255 _pkg_short_errors_supported
=no
15257 if test $_pkg_short_errors_supported = yes; then
15258 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls" 2>&1`
15260 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "gnutls" 2>&1`
15262 # Put the nasty error message in config.log where it belongs
15263 echo "$GNUTLS_PKG_ERRORS" >&5
15265 cf_enable_gnutls
="no"
15266 elif test $pkg_failed = untried
; then
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15268 $as_echo "no" >&6; }
15269 cf_enable_gnutls
="no"
15271 GNUTLS_CFLAGS
=$pkg_cv_GNUTLS_CFLAGS
15272 GNUTLS_LIBS
=$pkg_cv_GNUTLS_LIBS
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15274 $as_echo "yes" >&6; }
15276 cf_enable_gnutls
="yes"
15281 if test "$cf_enable_openssl" = "auto" -a "$cf_enable_mbedtls" = "yes"; then
15282 cf_enable_openssl
="no"
15285 if test "$cf_enable_gnutls" = "auto" -a "$cf_enable_openssl" = "yes" -a "$cf_enable_mbedtls" = "yes"; then
15286 cf_enable_gnutls
="no"
15289 if test x
"$cf_enable_openssl" != xno
; then
15291 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
15298 elif test x
"$cf_enable_mbedtls" != xno
; then
15300 $as_echo "#define HAVE_MBEDTLS 1" >>confdefs.h
15307 elif test x
"$cf_enable_gnutls" != xno
; then
15309 $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
15321 CPPFLAGS
="$save_CPPFLAGS"
15329 # Check whether --enable-assert was given.
15330 if test "${enable_assert+set}" = set; then :
15331 enableval
=$enable_assert; assert
=$enableval
15337 if test "$assert" = no
; then
15339 $as_echo "#define NDEBUG 1" >>confdefs.h
15341 elif test "$assert" = soft
; then
15343 $as_echo "#define SOFT_ASSERT 1" >>confdefs.h
15346 $as_echo "#define NDEBUG 1" >>confdefs.h
15348 elif test "$assert" = yes; then
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to do a profile build" >&5
15353 $as_echo_n "checking if you want to do a profile build... " >&6; }
15354 # Check whether --enable-profile was given.
15355 if test "${enable_profile+set}" = set; then :
15356 enableval
=$enable_profile; profile
=$enableval
15362 if test "$profile" = yes; then
15363 if test "$ac_cv_c_compiler_gnu" = yes; then
15364 CFLAGS
="$CFLAGS -pg -static"
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, adding -pg -static" >&5
15366 $as_echo "yes, adding -pg -static" >&6; }
15368 $as_echo "#define RATBOX_PROFILE 1" >>confdefs.h
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, profile builds only work with gcc" >&5
15372 $as_echo "no, profile builds only work with gcc" >&6; }
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15376 $as_echo "no" >&6; }
15379 # Check whether --enable-warnings was given.
15380 if test "${enable_warnings+set}" = set; then :
15381 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"
15396 if test "$prefix" = "NONE"; then
15398 cat >>confdefs.h
<<_ACEOF
15399 #define RB_PREFIX "$ac_default_prefix"
15406 prefix
=`echo $prefix | sed 's/\/$//'`
15408 cat >>confdefs.h
<<_ACEOF
15409 #define RB_PREFIX "$prefix"
15417 ac_config_commands
="$ac_config_commands include/librb-config.h"
15421 ac_config_files
="$ac_config_files src/Makefile Makefile libratbox.pc"
15424 cat >confcache
<<\_ACEOF
15425 # This file is a shell script that caches the results of configure
15426 # tests run on this system so they can be shared between configure
15427 # scripts and configure runs, see configure's option --config-cache.
15428 # It is not useful on other systems. If it contains results you don't
15429 # want to keep, you may remove or edit it.
15431 # config.status only pays attention to the cache file if you give it
15432 # the --recheck option to rerun configure.
15434 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15435 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15436 # following values.
15440 # The following way of writing the cache mishandles newlines in values,
15441 # but we know of no workaround that is simple, portable, and efficient.
15442 # So, we kill variables containing newlines.
15443 # Ultrix sh set writes to stderr and can't be redirected directly,
15444 # and sets the high bit in the cache file unless we assign to the vars.
15446 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15447 eval ac_val
=\$
$ac_var
15451 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15455 _
| IFS
| as_nl
) ;; #(
15456 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
15457 *) { eval $ac_var=; unset $ac_var;} ;;
15463 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15464 *${as_nl}ac_space
=\
*)
15465 # `set' does not quote correctly, so add quotes: double-quote
15466 # substitution turns \\\\ into \\, and sed turns \\ into \.
15469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15472 # `set' quotes correctly as required by POSIX, so do not add quotes.
15473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15484 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15486 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15487 if test -w "$cache_file"; then
15488 if test "x$cache_file" != "x/dev/null"; then
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15490 $as_echo "$as_me: updating cache $cache_file" >&6;}
15491 if test ! -f "$cache_file" || test -h "$cache_file"; then
15492 cat confcache
>"$cache_file"
15494 case $cache_file in #(
15496 mv -f confcache
"$cache_file"$$
&&
15497 mv -f "$cache_file"$$
"$cache_file" ;; #(
15499 mv -f confcache
"$cache_file" ;;
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15505 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15510 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15511 # Let make expand exec_prefix.
15512 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15514 DEFS
=-DHAVE_CONFIG_H
15518 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15519 # 1. Remove the extension, and $U if already installed.
15520 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15521 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15522 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15523 # will be set to the directory where LIBOBJS objects are built.
15524 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15525 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15527 LIBOBJS
=$ac_libobjs
15529 LTLIBOBJS
=$ac_ltlibobjs
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15533 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15534 if test -n "$am_sleep_pid"; then
15535 # Hide warnings about reused PIDs.
15536 wait $am_sleep_pid 2>/dev
/null
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15539 $as_echo "done" >&6; }
15540 if test -n "$EXEEXT"; then
15542 am__EXEEXT_FALSE
='#'
15544 am__EXEEXT_TRUE
='#'
15548 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15549 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15552 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15553 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15556 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15557 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15561 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
15562 as_fn_error $?
"conditional \"MINGW\" was never defined.
15563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15566 : "${CONFIG_STATUS=./config.status}"
15568 ac_clean_files_save
=$ac_clean_files
15569 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15571 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15573 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15575 # Generated by $as_me.
15576 # Run this file to recreate the current configuration.
15577 # Compiler output produced by configure, useful for debugging
15578 # configure, is in config.log if it exists.
15581 ac_cs_recheck=false
15584 SHELL=\${CONFIG_SHELL-$SHELL}
15587 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
15588 ## -------------------- ##
15589 ## M4sh Initialization. ##
15590 ## -------------------- ##
15592 # Be more Bourne compatible
15593 DUALCASE
=1; export DUALCASE
# for MKS sh
15594 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15597 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15598 # is contrary to our usage. Disable this feature.
15599 alias -g '${1+"$@"}'='"$@"'
15600 setopt NO_GLOB_SUBST
15602 case `(set -o) 2>/dev/null` in #(
15614 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15615 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15616 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15617 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15618 # Prefer a ksh shell builtin over an external printf program on Solaris,
15619 # but without wasting forks for bash or zsh.
15620 if test -z "$BASH_VERSION$ZSH_VERSION" \
15621 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15622 as_echo='print
-r --'
15623 as_echo_n='print
-rn --'
15624 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15625 as_echo='printf %s
\n'
15626 as_echo_n='printf %s
'
15628 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15629 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15630 as_echo_n='/usr
/ucb
/echo -n'
15632 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15633 as_echo_n_body='eval
15637 expr "X$arg" : "X\\(.*\\)$as_nl";
15638 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15640 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15642 export as_echo_n_body
15643 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15645 export as_echo_body
15646 as_echo='sh
-c $as_echo_body as_echo
'
15649 # The user is always right.
15650 if test "${PATH_SEPARATOR+set}" != set; then
15652 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15653 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15660 # We need space, tab and new line, in precisely that order. Quoting is
15661 # there to prevent editors from complaining about space-tab.
15662 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15663 # splitting by setting IFS to empty value.)
15666 # Find who we are. Look in the path if we contain no directory separator.
15669 *[\\/]* ) as_myself=$0 ;;
15670 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15671 for as_dir in $PATH
15674 test -z "$as_dir" && as_dir=.
15675 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15681 # We did not find ourselves, most probably we were run as `sh COMMAND'
15682 # in which case we are not to be found in the path.
15683 if test "x$as_myself" = x
; then
15686 if test ! -f "$as_myself"; then
15687 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15691 # Unset variables that we do not need and which cause bugs (e.g. in
15692 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15693 # suppresses any "Segmentation fault" message there. '((' could
15694 # trigger a bug in pdksh 5.2.14.
15695 for as_var
in BASH_ENV ENV MAIL MAILPATH
15696 do eval test x\
${$as_var+set} = xset \
15697 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
15710 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15713 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15714 # ----------------------------------------
15715 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15716 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15717 # script with STATUS, using 1 if that was 0.
15720 as_status
=$1; test $as_status -eq 0 && as_status
=1
15722 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15723 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15725 $as_echo "$as_me: error: $2" >&2
15726 as_fn_exit
$as_status
15730 # as_fn_set_status STATUS
15731 # -----------------------
15732 # Set $? to STATUS, without forking.
15733 as_fn_set_status
()
15736 } # as_fn_set_status
15738 # as_fn_exit STATUS
15739 # -----------------
15740 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15744 as_fn_set_status
$1
15750 # Portably unset VAR.
15753 { eval $1=; unset $1;}
15755 as_unset
=as_fn_unset
15756 # as_fn_append VAR VALUE
15757 # ----------------------
15758 # Append the text in VALUE to the end of the definition contained in VAR. Take
15759 # advantage of any shell optimizations that allow amortized linear growth over
15760 # repeated appends, instead of the typical quadratic growth present in naive
15762 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15763 eval 'as_fn_append ()
15774 # as_fn_arith ARG...
15775 # ------------------
15776 # Perform arithmetic evaluation on the ARGs, and store the result in the
15777 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15778 # must be portable across $(()) and expr.
15779 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15780 eval 'as_fn_arith ()
15787 as_val
=`expr "$@" || test $? -eq 1`
15792 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15793 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15799 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15800 as_basename
=basename
15805 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15811 as_me
=`$as_basename -- "$0" ||
15812 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15813 X"$0" : 'X\(//\)$' \| \
15814 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15816 sed '/^.*\/\([^/][^/]*\)\/*$/{
15830 # Avoid depending upon Character Ranges.
15831 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15832 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15833 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15834 as_cr_digits
='0123456789'
15835 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15837 ECHO_C
= ECHO_N
= ECHO_T
=
15838 case `echo -n x` in #(((((
15840 case `echo 'xy\c'` in
15841 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15843 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15850 rm -f conf$$ conf$$.exe conf$$.
file
15851 if test -d conf$$.dir
; then
15852 rm -f conf$$.dir
/conf$$.
file
15855 mkdir conf$$.dir
2>/dev
/null
15857 if (echo >conf$$.
file) 2>/dev
/null
; then
15858 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15860 # ... but there are two gotchas:
15861 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15862 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15863 # In both cases, we have to default to `cp -pR'.
15864 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
15866 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15874 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15875 rmdir conf$$.dir
2>/dev
/null
15880 # Create "$as_dir" as a directory, including parents if necessary.
15885 -*) as_dir
=.
/$as_dir;;
15887 test -d "$as_dir" || eval $as_mkdir_p || {
15891 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15892 *) as_qdir
=$as_dir;;
15894 as_dirs
="'$as_qdir' $as_dirs"
15895 as_dir
=`$as_dirname -- "$as_dir" ||
15896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15897 X"$as_dir" : 'X\(//\)[^/]' \| \
15898 X"$as_dir" : 'X\(//\)$' \| \
15899 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15900 $as_echo X"$as_dir" |
15901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15905 /^X\(\/\/\)[^/].*/{
15918 test -d "$as_dir" && break
15920 test -z "$as_dirs" || eval "mkdir $as_dirs"
15921 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15925 if mkdir -p .
2>/dev
/null
; then
15926 as_mkdir_p
='mkdir -p "$as_dir"'
15928 test -d .
/-p && rmdir .
/-p
15933 # as_fn_executable_p FILE
15934 # -----------------------
15935 # Test if FILE is an executable regular file.
15936 as_fn_executable_p
()
15938 test -f "$1" && test -x "$1"
15939 } # as_fn_executable_p
15940 as_test_x
='test -x'
15941 as_executable_p
=as_fn_executable_p
15943 # Sed expression to map a string onto a valid CPP name.
15944 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15946 # Sed expression to map a string onto a valid variable name.
15947 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15951 ## ----------------------------------- ##
15952 ## Main body of $CONFIG_STATUS script. ##
15953 ## ----------------------------------- ##
15955 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15957 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15958 # Save the log message, to keep $0 and so on meaningful, and to
15959 # report actual input values of CONFIG_FILES etc. instead of their
15960 # values after options handling.
15962 This file was extended by libratbox $as_me devel, which was
15963 generated by GNU Autoconf 2.69. Invocation command line was
15965 CONFIG_FILES = $CONFIG_FILES
15966 CONFIG_HEADERS = $CONFIG_HEADERS
15967 CONFIG_LINKS = $CONFIG_LINKS
15968 CONFIG_COMMANDS = $CONFIG_COMMANDS
15971 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15976 case $ac_config_files in *"
15977 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15980 case $ac_config_headers in *"
15981 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15986 # Files that config.status was made for.
15987 config_files="$ac_config_files"
15988 config_headers="$ac_config_headers"
15989 config_commands="$ac_config_commands"
15993 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15995 \`$as_me' instantiates files and other configuration actions
15996 from templates according to the current configuration. Unless the files
15997 and actions are specified as TAGs, all are instantiated by default.
15999 Usage: $0 [OPTION]... [TAG]...
16001 -h, --help print this help, then exit
16002 -V, --version print version number and configuration settings, then exit
16003 --config print configuration, then exit
16004 -q, --quiet, --silent
16005 do not print progress messages
16006 -d, --debug don't remove temporary files
16007 --recheck update $as_me by reconfiguring in the same conditions
16008 --file=FILE[:TEMPLATE]
16009 instantiate the configuration file FILE
16010 --header=FILE[:TEMPLATE]
16011 instantiate the configuration header FILE
16013 Configuration files:
16016 Configuration headers:
16019 Configuration commands:
16022 Report bugs to the package provider."
16025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16026 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16028 libratbox config.status devel
16029 configured by $0, generated by GNU Autoconf 2.69,
16030 with options \\"\$ac_cs_config\\"
16032 Copyright (C) 2012 Free Software Foundation, Inc.
16033 This config.status script is free software; the Free Software Foundation
16034 gives unlimited permission to copy, distribute and modify it."
16041 test -n "\$AWK" || AWK=awk
16044 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16045 # The default lists apply if the user does not specify any file.
16051 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16052 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16056 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16068 # Handling of the options.
16069 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16071 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16072 $as_echo "$ac_cs_version"; exit ;;
16073 --config | --confi | --conf | --con | --co | --c )
16074 $as_echo "$ac_cs_config"; exit ;;
16075 --debug | --debu | --deb | --de | --d | -d )
16077 --file | --fil | --fi | --f )
16080 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16081 '') as_fn_error $?
"missing file argument" ;;
16083 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16084 ac_need_defaults
=false
;;
16085 --header | --heade | --head | --hea )
16088 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16090 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16091 ac_need_defaults
=false
;;
16093 # Conflict between --help and --header
16094 as_fn_error $?
"ambiguous option: \`$1'
16095 Try \`$0 --help' for more information.";;
16096 --help | --hel | -h )
16097 $as_echo "$ac_cs_usage"; exit ;;
16098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16099 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16102 # This is an error.
16103 -*) as_fn_error $?
"unrecognized option: \`$1'
16104 Try \`$0 --help' for more information." ;;
16106 *) as_fn_append ac_config_targets
" $1"
16107 ac_need_defaults
=false
;;
16113 ac_configure_extra_args
=
16115 if $ac_cs_silent; then
16117 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16122 if \$ac_cs_recheck; then
16123 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16125 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16126 CONFIG_SHELL='$SHELL'
16127 export CONFIG_SHELL
16132 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16136 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16137 ## Running $as_me. ##
16143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16147 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16150 # The HP-UX ksh and POSIX shell print the target directory to stdout
16151 # if CDPATH is set.
16152 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16154 sed_quote_subst='$sed_quote_subst'
16155 double_quote_subst='$double_quote_subst'
16156 delay_variable_subst='$delay_variable_subst'
16157 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16158 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16159 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16160 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16161 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16162 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16163 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16164 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16165 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16166 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16167 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16168 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16169 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16170 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16171 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16172 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16173 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16174 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16175 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16176 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16177 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16178 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16179 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16180 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16181 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16182 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16183 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16184 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16185 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16186 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16187 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16188 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16189 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16190 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16191 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16192 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16193 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16194 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16195 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16196 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16197 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16198 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16199 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16200 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16201 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16202 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16203 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16204 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16205 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16206 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16207 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16208 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16209 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16210 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16211 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16212 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16213 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16214 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16215 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"`'
16216 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16217 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16218 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16219 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16220 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16221 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16222 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16223 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16224 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16225 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16226 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16227 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16228 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16229 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16230 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16231 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16232 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16233 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16234 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16235 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16236 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16237 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16238 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16239 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16240 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16241 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16242 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16243 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16244 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16245 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16246 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16247 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16248 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16249 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16250 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16251 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16252 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16253 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16254 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16255 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16256 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16257 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16258 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16259 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16260 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16261 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16262 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16263 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16264 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16265 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16266 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16267 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16268 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16269 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16270 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16271 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16272 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16273 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16274 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16275 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16276 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16277 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16278 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16279 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16280 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16281 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16282 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16283 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16284 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16285 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16286 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16287 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16288 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16289 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16290 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16291 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16294 LTCFLAGS='$LTCFLAGS'
16295 compiler='$compiler_DEFAULT'
16297 # A function that is used when there is no print builtin or printf.
16298 func_fallback_echo ()
16300 eval 'cat <<_LTECHO_EOF
16305 # Quote evaled strings.
16320 deplibs_check_method \
16325 sharedlib_from_linklib_cmd \
16328 archiver_list_spec \
16334 lt_cv_sys_global_symbol_pipe \
16335 lt_cv_sys_global_symbol_to_cdecl \
16336 lt_cv_sys_global_symbol_to_import \
16337 lt_cv_sys_global_symbol_to_c_name_address \
16338 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16339 lt_cv_nm_interface \
16340 nm_file_list_spec \
16341 lt_cv_truncate_bin \
16342 lt_prog_compiler_no_builtin_flag \
16343 lt_prog_compiler_pic \
16344 lt_prog_compiler_wl \
16345 lt_prog_compiler_static \
16346 lt_cv_prog_compiler_c_o \
16355 export_dynamic_flag_spec \
16356 whole_archive_flag_spec \
16357 compiler_needs_object \
16359 allow_undefined_flag \
16360 no_undefined_flag \
16361 hardcode_libdir_flag_spec \
16362 hardcode_libdir_separator \
16366 variables_saved_for_relink \
16368 library_names_spec \
16370 install_override_mode \
16374 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16375 *[\\\\\\\`\\"\\\$]*)
16376 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16379 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16384 # Double-quote double-evaled strings.
16385 for var in reload_cmds \
16386 old_postinstall_cmds \
16387 old_postuninstall_cmds \
16389 extract_expsyms_cmds \
16390 old_archive_from_new_cmds \
16391 old_archive_from_expsyms_cmds \
16393 archive_expsym_cmds \
16395 module_expsym_cmds \
16396 export_symbols_cmds \
16400 postuninstall_cmds \
16402 sys_lib_search_path_spec \
16403 configure_time_dlsearch_path \
16404 configure_time_lt_sys_library_path; do
16405 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16406 *[\\\\\\\`\\"\\\$]*)
16407 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16410 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16415 ac_aux_dir='$ac_aux_dir'
16417 # See if we are running on zsh, and set the options that allow our
16418 # commands through without removal of \ escapes INIT.
16419 if test -n "\${ZSH_VERSION+set}"; then
16420 setopt NO_GLOB_SUBST
16432 if test x$ac_cv_header_stdc = xyes; then
16435 if test x$ac_cv_header_stdlib_h = xyes; then
16436 rb_header_stdlib_h=yes
16438 if test x$ac_cv_header_string_h = xyes; then
16439 rb_header_string_h=yes
16441 if test x$ac_cv_header_memory_h = xyes; then
16442 rb_header_memory_h=yes
16444 if test "x${ac_cv_working_alloca_h+set}" = xset ; then
16445 rb_alloca_h="$ac_cv_working_alloca_h"
16447 rb_alloc_h="$ac_cv_header_alloca_h"
16449 if test x$ac_cv_member_struct_sockaddr_sa_len = xyes; then
16450 rb_sockaddr_sa_len=yes
16452 if test x$ac_cv_header_sys_socket_h = xyes; then
16453 rb_sys_socket_h=yes
16455 if test x$ac_cv_header_sys_types_h = xyes; then
16458 if test x$ac_cv_header_sys_stat_h = xyes; then
16461 if test x$ac_cv_header_sys_time_h = xyes; then
16464 if test x$ac_cv_header_time = xyes; then
16468 if test x$ac_cv_header_stdint_h = xyes; then
16471 if test x$ac_cv_header_inttypes_h = xyes; then
16474 if test x$ac_cv_header_netinet_in_h = xyes; then
16475 rb_netinet_in_h=yes
16478 if test x$ac_cv_header_crypt_h = xyes; then
16481 if test x$ac_cv_header_errno_h = xyes; then
16484 if test x$ac_cv_header_unistd_h = xyes; then
16487 if test x$ac_cv_header_windows_h = xyes; then
16490 if test x$ac_cv_header_winsock2_h = xyes; then
16494 rb_socklen_t=$rb_socklen_t
16496 if test "x$rb_have_sockaddr_storage" = "xyes"; then
16497 rb_sockaddr_storage="yes"
16499 rb_sockaddr_storage="no"
16502 rb_have_ipv6="$have_v6"
16514 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16516 # Handling of arguments.
16517 for ac_config_target
in $ac_config_targets
16519 case $ac_config_target in
16520 "include/libratbox_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/libratbox_config.h" ;;
16521 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16522 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16523 "include/librb-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/librb-config.h" ;;
16524 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16525 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16526 "libratbox.pc") CONFIG_FILES
="$CONFIG_FILES libratbox.pc" ;;
16528 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16533 # If the user did not use the arguments to specify the items to instantiate,
16534 # then the envvar interface is used. Set only those that are not.
16535 # We use the long form for the default assignment because of an extremely
16536 # bizarre bug on SunOS 4.1.3.
16537 if $ac_need_defaults; then
16538 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16539 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16540 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16543 # Have a temporary directory for convenience. Make it in the build tree
16544 # simply because there is no reason against having it here, and in addition,
16545 # creating and moving files from /tmp can sometimes cause problems.
16546 # Hook for its removal unless debugging.
16547 # Note that there is a small window in which the directory will not be cleaned:
16548 # after its creation but before its name has been assigned to `$tmp'.
16552 trap 'exit_status=$?
16553 : "${ac_tmp:=$tmp}"
16554 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16556 trap 'as_fn_exit 1' 1 2 13 15
16558 # Create a (secure) tmp directory for tmp files.
16561 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16565 tmp
=.
/conf$$
-$RANDOM
16566 (umask 077 && mkdir "$tmp")
16567 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16570 # Set up the scripts for CONFIG_FILES section.
16571 # No need to generate them if there are no CONFIG_FILES.
16572 # This happens for instance with `./config.status config.h'.
16573 if test -n "$CONFIG_FILES"; then
16576 ac_cr
=`echo X | tr X '\015'`
16577 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16578 # But we know of no other shell where ac_cr would be empty at this
16579 # point, so we can use a bashism as a fallback.
16580 if test "x$ac_cr" = x
; then
16581 eval ac_cr
=\$
\'\\r
\'
16583 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16584 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16587 ac_cs_awk_cr
=$ac_cr
16590 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16595 echo "cat >conf$$subs.awk <<_ACEOF" &&
16596 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16598 } >conf$$subs.sh ||
16599 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16600 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16602 for ac_last_try in false false false false false :; do
16603 . ./conf$$subs.sh ||
16604 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16606 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16607 if test $ac_delim_n = $ac_delim_num; then
16609 elif $ac_last_try; then
16610 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16612 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16615 rm -f conf$$subs.sh
16617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16618 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16622 s/^/S["/; s
/!.
*/"]=/
16632 s/\(.\{148\}\)..*/\1/
16634 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16639 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16646 s/\(.\{148\}\)..*/\1/
16648 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16652 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16657 ' <conf$$subs.awk | sed '
16662 ' >>$CONFIG_STATUS || ac_write_fail=1
16663 rm -f conf$$subs.awk
16664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16666 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16667 for (key in S) S_is_set[key] = 1
16673 nfields = split(line, field, "@
")
16675 len = length(field[1])
16676 for (i = 2; i < nfields; i++) {
16678 keylen = length(key)
16679 if (S_is_set[key]) {
16681 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16682 len += length(value) + length(field[++i])
16693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16694 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16695 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16698 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16699 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16702 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16703 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16704 # trailing colons and then remove the whole line if VPATH becomes empty
16705 # (actually we leave an empty line to preserve line numbers).
16706 if test "x
$srcdir" = x.; then
16707 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16726 fi # test -n "$CONFIG_FILES"
16728 # Set up the scripts for CONFIG_HEADERS section.
16729 # No need to generate them if there are no CONFIG_HEADERS.
16730 # This happens for instance with `./config.status Makefile'.
16731 if test -n "$CONFIG_HEADERS"; then
16732 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16736 # Transform confdefs.h into an awk script `defines.awk', embedded as
16737 # here-document in config.status, that substitutes the proper values into
16738 # config.h.in to produce config.h.
16740 # Create a delimiter string that does not exist in confdefs.h, to ease
16741 # handling of long lines.
16743 for ac_last_try in false false :; do
16744 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16745 if test -z "$ac_tt"; then
16747 elif $ac_last_try; then
16748 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16750 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16754 # For the awk script, D is an array of macro values keyed by name,
16755 # likewise P contains macro parameters if any. Preserve backslash
16756 # newline sequences.
16758 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16760 s/.\{148\}/&'"$ac_delim"'/g
16763 s/^[ ]*#[ ]*define[ ][ ]*/ /
16770 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16772 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16776 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16777 D["\
1"]=" \
3\\\\\\n
"\\/p
16779 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16784 s/.\{148\}/&'"$ac_delim"'/g
16789 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16792 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16794 ' <confdefs.h | sed '
16795 s/'"$ac_delim"'/"\\\
16796 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16799 for (key in D) D_is_set[key] = 1
16802 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16804 split(line, arg, " ")
16805 if (arg[1] == "#") {
16809 defundef
= substr
(arg
[1], 2)
16812 split(mac1
, mac2
, "(") #)
16814 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16815 if (D_is_set
[macro
]) {
16816 # Preserve the white space surrounding the "#".
16817 print prefix
"define", macro P
[macro
] D
[macro
]
16820 # Replace #undef with comments. This is necessary, for example,
16821 # in the case of _POSIX_SOURCE, which is predefined and required
16822 # on some systems where configure will not decide to define it.
16823 if (defundef
== "undef") {
16824 print
"/*", prefix defundef
, macro
, "*/"
16832 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16833 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16834 fi # test -n "$CONFIG_HEADERS"
16837 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16842 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16844 case $ac_mode$ac_tag in
16846 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16847 :[FH
]-) ac_tag
=-:-;;
16848 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16865 -) ac_f
="$ac_tmp/stdin";;
16866 *) # Look for the file first in the build tree, then in the source tree
16867 # (if the path is not absolute). The absolute path cannot be DOS-style,
16868 # because $ac_f cannot contain `:'.
16872 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16874 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16876 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16877 as_fn_append ac_file_inputs
" '$ac_f'"
16880 # Let's still pretend it is `configure' which instantiates (i.e., don't
16881 # use $as_me), people would be surprised to read:
16882 # /* config.h. Generated by config.status. */
16883 configure_input
='Generated from '`
16884 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16886 if test x
"$ac_file" != x
-; then
16887 configure_input
="$ac_file. $configure_input"
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16889 $as_echo "$as_me: creating $ac_file" >&6;}
16891 # Neutralize special characters interpreted by sed in replacement strings.
16892 case $configure_input in #(
16893 *\
&* | *\
|* | *\\* )
16894 ac_sed_conf_input
=`$as_echo "$configure_input" |
16895 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16896 *) ac_sed_conf_input
=$configure_input;;
16900 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16901 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16906 ac_dir
=`$as_dirname -- "$ac_file" ||
16907 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16908 X"$ac_file" : 'X\(//\)[^/]' \| \
16909 X"$ac_file" : 'X\(//\)$' \| \
16910 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16911 $as_echo X"$ac_file" |
16912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16916 /^X\(\/\/\)[^/].*/{
16929 as_dir
="$ac_dir"; as_fn_mkdir_p
16933 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16935 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16936 # A ".." for each directory in $ac_dir_suffix.
16937 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16938 case $ac_top_builddir_sub in
16939 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16940 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16943 ac_abs_top_builddir
=$ac_pwd
16944 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16945 # for backward compatibility:
16946 ac_top_builddir
=$ac_top_build_prefix
16949 .
) # We are building in place.
16951 ac_top_srcdir
=$ac_top_builddir_sub
16952 ac_abs_top_srcdir
=$ac_pwd ;;
16953 [\\/]* | ?
:[\\/]* ) # Absolute name.
16954 ac_srcdir
=$srcdir$ac_dir_suffix;
16955 ac_top_srcdir
=$srcdir
16956 ac_abs_top_srcdir
=$srcdir ;;
16957 *) # Relative name.
16958 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16959 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16960 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16962 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16972 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16973 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16975 ac_MKDIR_P
=$MKDIR_P
16977 [\\/$
]* | ?
:[\\/]* ) ;;
16978 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16982 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16983 # If the template does not know about datarootdir, expand it.
16984 # FIXME: This hack should be removed a few years after 2.60.
16985 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16996 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16997 *datarootdir
*) ac_datarootdir_seen
=yes;;
16998 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17000 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17003 ac_datarootdir_hack='
17004 s&@datadir@&$datadir&g
17005 s&@docdir@&$docdir&g
17006 s&@infodir@&$infodir&g
17007 s&@localedir@&$localedir&g
17008 s&@mandir@&$mandir&g
17009 s&\\\${datarootdir}&$datarootdir&g' ;;
17013 # Neutralize VPATH when `$srcdir' = `.'.
17014 # Shell code in configure.ac might set extrasub.
17015 # FIXME: do we really want to maintain this feature?
17016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17017 ac_sed_extra="$ac_vpsub
17020 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17022 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
17023 s
|@configure_input@
|$ac_sed_conf_input|;t t
17024 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17025 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17026 s
&@srcdir@
&$ac_srcdir&;t t
17027 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17028 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17029 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17030 s
&@builddir@
&$ac_builddir&;t t
17031 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17032 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17033 s
&@INSTALL@
&$ac_INSTALL&;t t
17034 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17035 $ac_datarootdir_hack
17037 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17038 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17040 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17041 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17042 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17043 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17045 which seems to be undefined. Please make sure it is defined" >&5
17046 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17047 which seems to be undefined. Please make sure it is defined" >&2;}
17049 rm -f "$ac_tmp/stdin"
17051 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17052 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17054 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17060 if test x"$ac_file" != x-; then
17062 $as_echo "/* $configure_input */" \
17063 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17064 } >"$ac_tmp/config.h" \
17065 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17066 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17068 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17071 mv "$ac_tmp/config.h" "$ac_file" \
17072 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17075 $as_echo "/* $configure_input */" \
17076 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17077 || as_fn_error $? "could not create -" "$LINENO" 5
17079 # Compute "$ac_file"'s index
in $config_headers.
17082 for _am_header
in $config_headers :; do
17083 case $_am_header in
17084 $_am_arg | $_am_arg:* )
17087 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17090 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17091 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17092 X"$_am_arg" : 'X\(//\)[^/]' \| \
17093 X"$_am_arg" : 'X\(//\)$' \| \
17094 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17095 $as_echo X"$_am_arg" |
17096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17100 /^X\(\/\/\)[^/].*/{
17112 s/.*/./; q'`/stamp
-h$_am_stamp_count
17115 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17116 $as_echo "$as_me: executing $ac_file commands" >&6;}
17121 case $ac_file$ac_mode in
17122 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
17123 # Older Autoconf quotes --file arguments for eval, but not when files
17124 # are listed without --file. Let's play safe and only enable the eval
17125 # if we detect the quoting.
17126 case $CONFIG_FILES in
17127 *\'*) eval set x
"$CONFIG_FILES" ;;
17128 *) set x
$CONFIG_FILES ;;
17133 # Strip MF so we end up with the name of the file.
17134 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17135 # Check whether this is an Automake generated Makefile or not.
17136 # We used to match only the files named 'Makefile.in', but
17137 # some people rename them; so instead we look at the file content.
17138 # Grep'ing the first line is not enough: some people post-process
17139 # each Makefile.in and add a new line on top of each file to say so.
17140 # Grep'ing the whole file is not good either: AIX grep has a line
17141 # limit of 2048, but all sed's we know have understand at least 4000.
17142 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
17143 dirpart
=`$as_dirname -- "$mf" ||
17144 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17145 X"$mf" : 'X\(//\)[^/]' \| \
17146 X"$mf" : 'X\(//\)$' \| \
17147 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17153 /^X\(\/\/\)[^/].*/{
17169 # Extract the definition of DEPDIR, am__include, and am__quote
17170 # from the Makefile without running 'make'.
17171 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17172 test -z "$DEPDIR" && continue
17173 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17174 test -z "$am__include" && continue
17175 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17176 # Find all dependency output files, they are included files with
17177 # $(DEPDIR) in their names. We invoke sed twice because it is the
17178 # simplest approach to changing $(DEPDIR) to its actual value in the
17180 for file in `sed -n "
17181 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17182 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17183 # Make sure the directory exists.
17184 test -f "$dirpart/$file" && continue
17185 fdir
=`$as_dirname -- "$file" ||
17186 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17187 X"$file" : 'X\(//\)[^/]' \| \
17188 X"$file" : 'X\(//\)$' \| \
17189 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17190 $as_echo X"$file" |
17191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17195 /^X\(\/\/\)[^/].*/{
17208 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17209 # echo "creating $dirpart/$file"
17210 echo '# dummy' > "$dirpart/$file"
17217 # See if we are running on zsh, and set the options that allow our
17218 # commands through without removal of \ escapes.
17219 if test -n "${ZSH_VERSION+set}"; then
17220 setopt NO_GLOB_SUBST
17224 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17227 cat <<_LT_EOF >> "$cfgfile"
17229 # Generated automatically by $as_me ($PACKAGE) $VERSION
17230 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17231 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17233 # Provide generalized library-building support services.
17234 # Written by Gordon Matzigkeit, 1996
17236 # Copyright (C) 2014 Free Software Foundation, Inc.
17237 # This is free software; see the source for copying conditions. There is NO
17238 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17240 # GNU Libtool is free software; you can redistribute it and/or modify
17241 # it under the terms of the GNU General Public License as published by
17242 # the Free Software Foundation; either version 2 of of the License, or
17243 # (at your option) any later version.
17245 # As a special exception to the GNU General Public License, if you
17246 # distribute this file as part of a program or library that is built
17247 # using GNU Libtool, you may include this file under the same
17248 # distribution terms that you use for the rest of that program.
17250 # GNU Libtool is distributed in the hope that it will be useful, but
17251 # WITHOUT ANY WARRANTY; without even the implied warranty of
17252 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17253 # GNU General Public License for more details.
17255 # You should have received a copy of the GNU General Public License
17256 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17259 # The names of the tagged configurations supported by this script.
17262 # Configured defaults for sys_lib_dlsearch_path munging.
17263 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17265 # ### BEGIN LIBTOOL CONFIG
17267 # Whether or not to build static libraries.
17268 build_old_libs=$enable_static
17270 # Whether or not to build shared libraries.
17271 build_libtool_libs=$enable_shared
17273 # Which release of libtool.m4 was used?
17274 macro_version=$macro_version
17275 macro_revision=$macro_revision
17277 # What type of objects to build.
17280 # Whether or not to optimize for fast installation.
17281 fast_install=$enable_fast_install
17283 # Shared archive member basename,for filename based shared library versioning on AIX.
17284 shared_archive_member_spec=$shared_archive_member_spec
17286 # Shell to use when invoking shell scripts.
17289 # An echo program that protects backslashes.
17292 # The PATH separator for the build system.
17293 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17296 host_alias=$host_alias
17300 # The build system.
17301 build_alias=$build_alias
17305 # A sed program that does not truncate output.
17308 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17309 Xsed="\$SED -e 1s/^X//"
17311 # A grep program that handles long lines.
17317 # A literal string matcher.
17320 # A BSD- or MS-compatible name lister.
17323 # Whether we need soft or hard links.
17326 # What is the maximum length of a command?
17327 max_cmd_len=$max_cmd_len
17329 # Object file suffix (normally "o").
17332 # Executable file suffix (normally "").
17335 # whether the shell understands "unset".
17338 # turn spaces into newlines.
17341 # turn newlines into spaces.
17344 # convert \$build file names to \$host format.
17345 to_host_file_cmd=$lt_cv_to_host_file_cmd
17347 # convert \$build files to toolchain format.
17348 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17350 # An object symbol dumper.
17351 OBJDUMP=$lt_OBJDUMP
17353 # Method to check whether dependent libraries are shared objects.
17354 deplibs_check_method=$lt_deplibs_check_method
17356 # Command to use when deplibs_check_method = "file_magic".
17357 file_magic_cmd=$lt_file_magic_cmd
17359 # How to find potential files when deplibs_check_method = "file_magic".
17360 file_magic_glob=$lt_file_magic_glob
17362 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17363 want_nocaseglob=$lt_want_nocaseglob
17365 # DLL creation program.
17366 DLLTOOL=$lt_DLLTOOL
17368 # Command to associate shared and link libraries.
17369 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17374 # Flags to create an archive.
17375 AR_FLAGS=$lt_AR_FLAGS
17377 # How to feed a file listing to the archiver.
17378 archiver_list_spec=$lt_archiver_list_spec
17380 # A symbol stripping program.
17383 # Commands used to install an old-style archive.
17385 old_postinstall_cmds=$lt_old_postinstall_cmds
17386 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17388 # Whether to use a lock for old archive extraction.
17389 lock_old_archive_extraction=$lock_old_archive_extraction
17394 # LTCC compiler flags.
17395 LTCFLAGS=$lt_CFLAGS
17397 # Take the output of nm and produce a listing of raw symbols and C names.
17398 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17400 # Transform the output of nm in a proper C declaration.
17401 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17403 # Transform the output of nm into a list of symbols to manually relocate.
17404 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17406 # Transform the output of nm in a C name address pair.
17407 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17409 # Transform the output of nm in a C name address pair when lib prefix is needed.
17410 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17412 # The name lister interface.
17413 nm_interface=$lt_lt_cv_nm_interface
17415 # Specify filename containing input files for \$NM.
17416 nm_file_list_spec=$lt_nm_file_list_spec
17418 # The root where to search for dependent libraries,and where our libraries should be installed.
17419 lt_sysroot=$lt_sysroot
17421 # Command to truncate a binary pipe.
17422 lt_truncate_bin=$lt_lt_cv_truncate_bin
17424 # The name of the directory that contains temporary libtool files.
17427 # Used to examine libraries when file_magic_cmd begins with "file".
17428 MAGIC_CMD=$MAGIC_CMD
17430 # Must we lock files when doing compilation?
17431 need_locks=$lt_need_locks
17434 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17436 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17437 DSYMUTIL=$lt_DSYMUTIL
17439 # Tool to change global to local symbols on Mac OS X.
17442 # Tool to manipulate fat objects and archives on Mac OS X.
17445 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17448 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17449 OTOOL64=$lt_OTOOL64
17451 # Old archive suffix (normally "a").
17454 # Shared library suffix (normally ".so").
17455 shrext_cmds=$lt_shrext_cmds
17457 # The commands to extract the exported symbol list from a shared archive.
17458 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17460 # Variables whose values should be saved in libtool wrapper scripts and
17461 # restored at link time.
17462 variables_saved_for_relink=$lt_variables_saved_for_relink
17464 # Do we need the "lib" prefix for modules?
17465 need_lib_prefix=$need_lib_prefix
17467 # Do we need a version for libraries?
17468 need_version=$need_version
17470 # Library versioning type.
17471 version_type=$version_type
17473 # Shared library runtime path variable.
17474 runpath_var=$runpath_var
17476 # Shared library path variable.
17477 shlibpath_var=$shlibpath_var
17479 # Is shlibpath searched before the hard-coded library search path?
17480 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17482 # Format of library name prefix.
17483 libname_spec=$lt_libname_spec
17485 # List of archive names. First name is the real one, the rest are links.
17486 # The last name is the one that the linker finds with -lNAME
17487 library_names_spec=$lt_library_names_spec
17489 # The coded name of the library, if different from the real name.
17490 soname_spec=$lt_soname_spec
17492 # Permission mode override for installation of shared libraries.
17493 install_override_mode=$lt_install_override_mode
17495 # Command to use after installation of a shared archive.
17496 postinstall_cmds=$lt_postinstall_cmds
17498 # Command to use after uninstallation of a shared archive.
17499 postuninstall_cmds=$lt_postuninstall_cmds
17501 # Commands used to finish a libtool library installation in a directory.
17502 finish_cmds=$lt_finish_cmds
17504 # As "finish_cmds", except a single script fragment to be evaled but
17506 finish_eval=$lt_finish_eval
17508 # Whether we should hardcode library paths into libraries.
17509 hardcode_into_libs=$hardcode_into_libs
17511 # Compile-time system search path for libraries.
17512 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17514 # Detected run-time system search path for libraries.
17515 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17517 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17518 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17520 # Whether dlopen is supported.
17521 dlopen_support=$enable_dlopen
17523 # Whether dlopen of programs is supported.
17524 dlopen_self=$enable_dlopen_self
17526 # Whether dlopen of statically linked programs is supported.
17527 dlopen_self_static=$enable_dlopen_self_static
17529 # Commands to strip libraries.
17530 old_striplib=$lt_old_striplib
17531 striplib=$lt_striplib
17534 # The linker used to build libraries.
17537 # How to create reloadable object files.
17538 reload_flag=$lt_reload_flag
17539 reload_cmds=$lt_reload_cmds
17541 # Commands used to build an old-style archive.
17542 old_archive_cmds=$lt_old_archive_cmds
17544 # A language specific compiler.
17547 # Is the compiler the GNU compiler?
17550 # Compiler flag to turn off builtin functions.
17551 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17553 # Additional compiler flags for building library objects.
17554 pic_flag=$lt_lt_prog_compiler_pic
17556 # How to pass a linker flag through the compiler.
17557 wl=$lt_lt_prog_compiler_wl
17559 # Compiler flag to prevent dynamic linking.
17560 link_static_flag=$lt_lt_prog_compiler_static
17562 # Does compiler simultaneously support -c and -o options?
17563 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17565 # Whether or not to add -lc for building shared libraries.
17566 build_libtool_need_lc=$archive_cmds_need_lc
17568 # Whether or not to disallow shared libs when runtime libs are static.
17569 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17571 # Compiler flag to allow reflexive dlopens.
17572 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17574 # Compiler flag to generate shared objects directly from archives.
17575 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17577 # Whether the compiler copes with passing no objects directly.
17578 compiler_needs_object=$lt_compiler_needs_object
17580 # Create an old-style archive from a shared archive.
17581 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17583 # Create a temporary old-style archive to link instead of a shared archive.
17584 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17586 # Commands used to build a shared archive.
17587 archive_cmds=$lt_archive_cmds
17588 archive_expsym_cmds=$lt_archive_expsym_cmds
17590 # Commands used to build a loadable module if different from building
17591 # a shared archive.
17592 module_cmds=$lt_module_cmds
17593 module_expsym_cmds=$lt_module_expsym_cmds
17595 # Whether we are building with GNU ld or not.
17596 with_gnu_ld=$lt_with_gnu_ld
17598 # Flag that allows shared libraries with undefined symbols to be built.
17599 allow_undefined_flag=$lt_allow_undefined_flag
17601 # Flag that enforces no undefined symbols.
17602 no_undefined_flag=$lt_no_undefined_flag
17604 # Flag to hardcode \$libdir into a binary during linking.
17605 # This must work even if \$libdir does not exist
17606 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17608 # Whether we need a single "-rpath" flag with a separated argument.
17609 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17611 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17612 # DIR into the resulting binary.
17613 hardcode_direct=$hardcode_direct
17615 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17616 # DIR into the resulting binary and the resulting library dependency is
17617 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
17618 # library is relocated.
17619 hardcode_direct_absolute=$hardcode_direct_absolute
17621 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17622 # into the resulting binary.
17623 hardcode_minus_L=$hardcode_minus_L
17625 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17626 # into the resulting binary.
17627 hardcode_shlibpath_var=$hardcode_shlibpath_var
17629 # Set to "yes" if building a shared library automatically hardcodes DIR
17630 # into the library and all subsequent libraries and executables linked
17632 hardcode_automatic=$hardcode_automatic
17634 # Set to yes if linker adds runtime paths of dependent libraries
17635 # to runtime path list.
17636 inherit_rpath=$inherit_rpath
17638 # Whether libtool must link a program against all its dependency libraries.
17639 link_all_deplibs=$link_all_deplibs
17641 # Set to "yes" if exported symbols are required.
17642 always_export_symbols=$always_export_symbols
17644 # The commands to list exported symbols.
17645 export_symbols_cmds=$lt_export_symbols_cmds
17647 # Symbols that should not be listed in the preloaded symbols.
17648 exclude_expsyms=$lt_exclude_expsyms
17650 # Symbols that must always be exported.
17651 include_expsyms=$lt_include_expsyms
17653 # Commands necessary for linking programs (against libraries) with templates.
17654 prelink_cmds=$lt_prelink_cmds
17656 # Commands necessary for finishing linking programs.
17657 postlink_cmds=$lt_postlink_cmds
17659 # Specify filename containing input files.
17660 file_list_spec=$lt_file_list_spec
17662 # How to hardcode a shared library path into an executable.
17663 hardcode_action=$hardcode_action
17665 # ### END LIBTOOL CONFIG
17669 cat <<'_LT_EOF' >> "$cfgfile"
17671 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17673 # func_munge_path_list VARIABLE PATH
17674 # -----------------------------------
17675 # VARIABLE is name of variable containing _space_ separated list of
17676 # directories to be munged by the contents of PATH, which is string
17679 # string "DIR[ DIR]" will be prepended to VARIABLE
17681 # string "DIR[ DIR]" will be appended to VARIABLE
17682 # "DIRP[:DIRP]::[DIRA:]DIRA"
17683 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17684 # "DIRA[ DIRA]" will be appended to VARIABLE
17686 # VARIABLE will be replaced by "DIR[ DIR]"
17687 func_munge_path_list ()
17693 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17696 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17699 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17700 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17703 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17709 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17710 func_cc_basename ()
17712 for cc_temp in $*""; do
17714 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17715 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17720 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17724 # ### END FUNCTIONS SHARED WITH CONFIGURE
17730 cat <<\_LT_EOF
>> "$cfgfile"
17731 # AIX sometimes has problems with the GCC collect2 program. For some
17732 # reason, if we set the COLLECT_NAMES environment variable, the problems
17733 # vanish in a puff of smoke.
17734 if test set != "${COLLECT_NAMES+set}"; then
17736 export COLLECT_NAMES
17743 ltmain
=$ac_aux_dir/ltmain.sh
17746 # We use sed instead of cat because bash on DJGPP gets confused if
17747 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17748 # text mode, it properly converts lines to CR/LF. This bash problem
17749 # is reportedly fixed, but why not run on old versions too?
17750 sed '$q' "$ltmain" >> "$cfgfile" \
17751 || (rm -f "$cfgfile"; exit 1)
17753 mv -f "$cfgfile" "$ofile" ||
17754 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17758 "include/librb-config.h":C
)
17759 outfile
=include
/librb
-config.h.tmp
17760 cat > $outfile <<\_______EOF
17762 * librb
-config.h
: libratbox config
file. Please modify configure.ac
17765 #ifndef __LIBRB_CONFIG_H
17766 #define __LIBRB_CONFIG_H
17770 if test "x$rb_have_ipv6" = "xyes"; then
17771 echo "#define RB_IPV6 1" >> $outfile
17774 if test "x$rb_windows_h" = "xyes"; then
17775 echo '#define WIN32_LEAN_AND_MEAN 1' >> $outfile
17776 echo '#include <windows.h>' >> $outfile
17777 echo '#include <winsock2.h>' >> $outfile
17778 echo '#include <iphlpapi.h>' >> $outfile
17781 if test "x$rb_alloca_h" = "xyes"; then
17782 echo '#define RB_HAVE_ALLOCA_H 1' >> $outfile
17785 if test "x$rb_header_stdc" = "xyes"; then
17786 echo '#include <stdlib.h>' >> $outfile
17787 echo '#include <stddef.h>' >> $outfile
17788 elif test "x$rb_header_stdlib" = "xyes"; then
17789 echo '#include <stdlib.h>' >> $outfile
17792 if test "x$rb_header_string_h" = "xyes"; then
17793 echo '#include <string.h>' >> $outfile
17796 if test "x$rb_stdint_h" = "xyes"; then
17797 echo '#include <stdint.h>' >> $outfile
17800 if test "x$rb_inttypes_h" = "xyes"; then
17801 echo '#include <inttypes.h>' >> $outfile
17804 if test "x$rb_sys_types_h" = "xyes"; then
17805 echo '#include <sys/types.h>' >> $outfile
17807 if test "x$rb_sys_time_h" = "xyes"; then
17808 echo '#include <sys/time.h>' >> $outfile
17810 if test "x$rb_sys_stat_h" = "xyes"; then
17811 echo '#include <sys/stat.h>' >> $outfile
17813 if test "x$rb_time_h" = "xyes"; then
17814 echo '#include <time.h>' >> $outfile
17817 if test "x$rb_sys_socket_h" = "xyes"; then
17818 echo '#include <sys/socket.h>' >> $outfile
17821 if test "x$rb_netinet_in_h" = "xyes"; then
17822 echo '#include <netinet/in.h>' >> $outfile
17825 if test "x$rb_arpa_inet_h" = "xyes"; then
17826 echo '#include <arpa/inet.h>' >> $outfile
17829 if test "x$rb_unistd_h" = "xyes"; then
17830 echo '#include <unistd.h>' >> $outfile
17833 if test "x$rb_crypt_h" = "xyes"; then
17834 echo '#include <crypt.h>' >> $outfile
17837 if test "x$rb_errno_h" = "xyes"; then
17838 echo '#include <errno.h>' >> $outfile
17841 echo "typedef $rb_socklen_t rb_socklen_t;" >> $outfile
17844 if test "x$rb_sockaddr_sa_len" = "xyes"; then
17845 echo '#define RB_SOCKADDR_HAS_SA_LEN 1' >> $outfile
17848 if test "x$rb_sockaddr_storage" = "xyes"; then
17849 echo '#define rb_sockaddr_storage sockaddr_storage' >> $outfile
17851 echo 'struct rb_sockaddr_storage { uint8_t _padding[128]; };' >> $outfile
17854 cat >> $outfile <<\_______EOF
17855 #endif /* __LIBRB_CONFIG_H */
17858 if cmp -s $outfile include
/librb
-config.h
; then
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: include/librb-config.h is unchanged" >&5
17860 $as_echo "$as_me: include/librb-config.h is unchanged" >&6;}
17861 ${rb_rm} -f $outfile
17863 ${rb_mv} $outfile include
/librb
-config.h
17874 ac_clean_files
=$ac_clean_files_save
17876 test $ac_write_fail = 0 ||
17877 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17880 # configure is writing to config.log, and then calls config.status.
17881 # config.status does its own redirection, appending to config.log.
17882 # Unfortunately, on DOS this fails, as config.log is still kept open
17883 # by configure, so config.status won't be able to write to it; its
17884 # output is simply discarded. So we exec the FD to /dev/null,
17885 # effectively closing config.log, so it can be properly (re)opened and
17886 # appended to by config.status. When coming back to configure, we
17887 # need to make the FD available again.
17888 if test "$no_create" != yes; then
17890 ac_config_status_args
=
17891 test "$silent" = yes &&
17892 ac_config_status_args
="$ac_config_status_args --quiet"
17894 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17896 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17897 # would make configure fail if this is the last instruction.
17898 $ac_cs_success || as_fn_exit
1
17900 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17902 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17908 echo "Compiling $PACKAGE_NAME $PACKAGE_VERSION"
17911 echo "Installing into: $prefix"
17913 echo "IPv6 support ................... $have_v6"
17914 echo "Assert debugging ............... $assert"
17915 echo "SSL Type........................ $SSL_TYPE"