2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for charybdis 3.6.0-dev.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir -p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
566 lt_ltdl_dir
='extra/libltdl'
568 lt_dlopen_dir
="$lt_ltdl_dir"
571 test -n "$DJDIR" || exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
592 PACKAGE_NAME
='charybdis'
593 PACKAGE_TARNAME
='charybdis'
594 PACKAGE_VERSION
='3.6.0-dev'
595 PACKAGE_STRING
='charybdis 3.6.0-dev'
599 ac_default_prefix
=$HOME/ircd
600 # Factoring default headers for most tests.
601 ac_includes_default
="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 enable_option_checking
=no
637 ac_subst_vars
='ltdl_LTLIBOBJS
699 CONVENIENCE_LTDL_FALSE
700 CONVENIENCE_LTDL_TRUE
704 sys_symbol_underscore
774 INSTALL_STRIP_PROGRAM
816 program_transform_name
829 enable_option_checking
831 enable_dependency_tracking
871 ac_precious_vars
='build_alias
887 ac_subdirs_all
='extra/libltdl
890 # Initialize some variables set by options.
892 ac_init_version
=false
893 ac_unrecognized_opts
=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name
=s
,x
,x
,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir
='${exec_prefix}/bin'
919 sbindir
='${exec_prefix}/sbin'
920 libexecdir
='${exec_prefix}/libexec'
921 datarootdir
='${prefix}/share'
922 datadir
='${datarootdir}'
923 sysconfdir
='${prefix}/etc'
924 sharedstatedir
='${prefix}/com'
925 localstatedir
='${prefix}/var'
926 includedir
='${prefix}/include'
927 oldincludedir
='/usr/include'
928 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
929 infodir
='${datarootdir}/info'
934 libdir
='${exec_prefix}/lib'
935 localedir
='${datarootdir}/locale'
936 mandir
='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\
$ac_option
950 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955 # Accept the important Cygnus configure options, so we can diagnose typos.
957 case $ac_dashdash$ac_option in
961 -bindir | --bindir | --bindi | --bind | --bin | --bi)
963 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
966 -build | --build | --buil | --bui | --bu)
967 ac_prev
=build_alias
;;
968 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
969 build_alias
=$ac_optarg ;;
971 -cache-file | --cache-file | --cache-fil | --cache-fi \
972 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
973 ac_prev
=cache_file
;;
974 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
975 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
976 cache_file
=$ac_optarg ;;
979 cache_file
=config.cache
;;
981 -datadir | --datadir | --datadi | --datad)
983 -datadir=* | --datadir=* | --datadi=* | --datad=*)
984 datadir
=$ac_optarg ;;
986 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
987 | --dataroo | --dataro | --datar)
988 ac_prev
=datarootdir
;;
989 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
990 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
991 datarootdir
=$ac_optarg ;;
993 -disable-* | --disable-*)
994 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
997 as_fn_error $?
"invalid feature name: $ac_useropt"
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=no
;;
1009 -docdir | --docdir | --docdi | --doc | --do)
1011 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1012 docdir
=$ac_optarg ;;
1014 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1016 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1017 dvidir
=$ac_optarg ;;
1019 -enable-* | --enable-*)
1020 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error $?
"invalid feature name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_
$ac_useropt"
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval enable_
$ac_useropt=\
$ac_optarg ;;
1035 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1036 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1037 | --exec | --exe | --ex)
1038 ac_prev
=exec_prefix
;;
1039 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1040 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1041 | --exec=* | --exe=* | --ex=*)
1042 exec_prefix
=$ac_optarg ;;
1044 -gas | --gas | --ga | --g)
1045 # Obsolete; use --with-gas.
1048 -help | --help | --hel | --he | -h)
1049 ac_init_help
=long
;;
1050 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1051 ac_init_help
=recursive
;;
1052 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1053 ac_init_help
=short
;;
1055 -host | --host | --hos | --ho)
1056 ac_prev
=host_alias
;;
1057 -host=* | --host=* | --hos=* | --ho=*)
1058 host_alias
=$ac_optarg ;;
1060 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1062 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1064 htmldir
=$ac_optarg ;;
1066 -includedir | --includedir | --includedi | --included | --include \
1067 | --includ | --inclu | --incl | --inc)
1068 ac_prev
=includedir
;;
1069 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1070 | --includ=* | --inclu=* | --incl=* | --inc=*)
1071 includedir
=$ac_optarg ;;
1073 -infodir | --infodir | --infodi | --infod | --info | --inf)
1075 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1076 infodir
=$ac_optarg ;;
1078 -libdir | --libdir | --libdi | --libd)
1080 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1081 libdir
=$ac_optarg ;;
1083 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1084 | --libexe | --libex | --libe)
1085 ac_prev
=libexecdir
;;
1086 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1087 | --libexe=* | --libex=* | --libe=*)
1088 libexecdir
=$ac_optarg ;;
1090 -localedir | --localedir | --localedi | --localed | --locale)
1091 ac_prev
=localedir
;;
1092 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1093 localedir
=$ac_optarg ;;
1095 -localstatedir | --localstatedir | --localstatedi | --localstated \
1096 | --localstate | --localstat | --localsta | --localst | --locals)
1097 ac_prev
=localstatedir
;;
1098 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1099 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1100 localstatedir
=$ac_optarg ;;
1102 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1104 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1105 mandir
=$ac_optarg ;;
1107 -nfp | --nfp | --nf)
1108 # Obsolete; use --without-fp.
1111 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1112 | --no-cr | --no-c | -n)
1115 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1116 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1119 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1120 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1121 | --oldin | --oldi | --old | --ol | --o)
1122 ac_prev
=oldincludedir
;;
1123 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1124 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1125 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1126 oldincludedir
=$ac_optarg ;;
1128 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1130 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1131 prefix
=$ac_optarg ;;
1133 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1134 | --program-pre | --program-pr | --program-p)
1135 ac_prev
=program_prefix
;;
1136 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1137 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1138 program_prefix
=$ac_optarg ;;
1140 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1141 | --program-suf | --program-su | --program-s)
1142 ac_prev
=program_suffix
;;
1143 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1144 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1145 program_suffix
=$ac_optarg ;;
1147 -program-transform-name | --program-transform-name \
1148 | --program-transform-nam | --program-transform-na \
1149 | --program-transform-n | --program-transform- \
1150 | --program-transform | --program-transfor \
1151 | --program-transfo | --program-transf \
1152 | --program-trans | --program-tran \
1153 | --progr-tra | --program-tr | --program-t)
1154 ac_prev
=program_transform_name
;;
1155 -program-transform-name=* | --program-transform-name=* \
1156 | --program-transform-nam=* | --program-transform-na=* \
1157 | --program-transform-n=* | --program-transform-=* \
1158 | --program-transform=* | --program-transfor=* \
1159 | --program-transfo=* | --program-transf=* \
1160 | --program-trans=* | --program-tran=* \
1161 | --progr-tra=* | --program-tr=* | --program-t=*)
1162 program_transform_name
=$ac_optarg ;;
1164 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1166 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1167 pdfdir
=$ac_optarg ;;
1169 -psdir | --psdir | --psdi | --psd | --ps)
1171 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1174 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1175 | -silent | --silent | --silen | --sile | --sil)
1178 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1180 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1182 sbindir
=$ac_optarg ;;
1184 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1185 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1186 | --sharedst | --shareds | --shared | --share | --shar \
1188 ac_prev
=sharedstatedir
;;
1189 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1190 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1191 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1193 sharedstatedir
=$ac_optarg ;;
1195 -site | --site | --sit)
1197 -site=* | --site=* | --sit=*)
1200 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1202 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1203 srcdir
=$ac_optarg ;;
1205 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1206 | --syscon | --sysco | --sysc | --sys | --sy)
1207 ac_prev
=sysconfdir
;;
1208 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1209 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1210 sysconfdir
=$ac_optarg ;;
1212 -target | --target | --targe | --targ | --tar | --ta | --t)
1213 ac_prev
=target_alias
;;
1214 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1215 target_alias
=$ac_optarg ;;
1217 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1220 -version | --version | --versio | --versi | --vers | -V)
1221 ac_init_version
=: ;;
1224 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1225 # Reject names that are not valid shell variable names.
1226 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1227 as_fn_error $?
"invalid package name: $ac_useropt"
1228 ac_useropt_orig
=$ac_useropt
1229 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230 case $ac_user_opts in
1234 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1235 ac_unrecognized_sep
=', ';;
1237 eval with_
$ac_useropt=\
$ac_optarg ;;
1239 -without-* | --without-*)
1240 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1243 as_fn_error $?
"invalid package name: $ac_useropt"
1244 ac_useropt_orig
=$ac_useropt
1245 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246 case $ac_user_opts in
1250 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1251 ac_unrecognized_sep
=', ';;
1253 eval with_
$ac_useropt=no
;;
1256 # Obsolete; use --with-x.
1259 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1260 | --x-incl | --x-inc | --x-in | --x-i)
1261 ac_prev
=x_includes
;;
1262 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1263 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1264 x_includes
=$ac_optarg ;;
1266 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1267 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1268 ac_prev
=x_libraries
;;
1269 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1270 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1271 x_libraries
=$ac_optarg ;;
1273 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1274 Try \`$0 --help' for more information"
1278 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1279 # Reject names that are not valid shell variable names.
1280 case $ac_envvar in #(
1281 '' | [0-9]* | *[!_$as_cr_alnum]* )
1282 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1284 eval $ac_envvar=\
$ac_optarg
1285 export $ac_envvar ;;
1288 # FIXME: should be removed in autoconf 3.0.
1289 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1291 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1298 if test -n "$ac_prev"; then
1299 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1300 as_fn_error $?
"missing argument to $ac_option"
1303 if test -n "$ac_unrecognized_opts"; then
1304 case $enable_option_checking in
1306 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1307 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311 # Check all directory arguments for consistency.
1312 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313 datadir sysconfdir sharedstatedir localstatedir includedir \
1314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315 libdir localedir mandir
1317 eval ac_val
=\$
$ac_var
1318 # Remove trailing slashes.
1321 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1322 eval $ac_var=\
$ac_val;;
1324 # Be sure to have absolute directory names.
1326 [\\/$
]* | ?
:[\\/]* ) continue;;
1327 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1329 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1332 # There might be people who depend on the old broken behavior: `$host'
1333 # used to hold the argument of --host etc.
1334 # FIXME: To remove some day.
1337 target
=$target_alias
1339 # FIXME: To remove some day.
1340 if test "x$host_alias" != x
; then
1341 if test "x$build_alias" = x
; then
1342 cross_compiling
=maybe
1343 elif test "x$build_alias" != "x$host_alias"; then
1349 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1351 test "$silent" = yes && exec 6>/dev
/null
1354 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1355 ac_ls_di
=`ls -di .` &&
1356 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1357 as_fn_error $?
"working directory cannot be determined"
1358 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1359 as_fn_error $?
"pwd does not report name of working directory"
1362 # Find the source files, if location was not specified.
1363 if test -z "$srcdir"; then
1364 ac_srcdir_defaulted
=yes
1365 # Try the directory containing this script, then the parent directory.
1366 ac_confdir
=`$as_dirname -- "$as_myself" ||
1367 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1368 X"$as_myself" : 'X\(//\)[^/]' \| \
1369 X"$as_myself" : 'X\(//\)$' \| \
1370 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1371 $as_echo X"$as_myself" |
1372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1394 ac_srcdir_defaulted
=no
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1397 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1398 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1400 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1402 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1404 # When building in place, set srcdir=.
1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
1408 # Remove unnecessary trailing slashes from srcdir.
1409 # Double slashes in file names in object file debugging info
1410 # mess up M-x gdb in Emacs.
1412 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414 for ac_var
in $ac_precious_vars; do
1415 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1416 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1417 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1418 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1422 # Report the --help message.
1424 if test "$ac_init_help" = "long"; then
1425 # Omit some internal or obsolete options to make the list less imposing.
1426 # This message is too long to be a string in the A/UX 3.1 sh.
1428 \`configure' configures charybdis 3.6.0-dev to adapt to many kinds of systems.
1430 Usage: $0 [OPTION]... [VAR=VALUE]...
1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433 VAR=VALUE. See below for descriptions of some of the useful variables.
1435 Defaults for the options are specified in brackets.
1438 -h, --help display this help and exit
1439 --help=short display options specific to this package
1440 --help=recursive display the short help of all the included packages
1441 -V, --version display version information and exit
1442 -q, --quiet, --silent do not print \`checking ...' messages
1443 --cache-file=FILE cache test results in FILE [disabled]
1444 -C, --config-cache alias for \`--cache-file=config.cache'
1445 -n, --no-create do not create output files
1446 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1448 Installation directories:
1449 --prefix=PREFIX install architecture-independent files in PREFIX
1450 [$ac_default_prefix]
1451 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1454 By default, \`make install' will install all the files in
1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457 for instance \`--prefix=\$HOME'.
1459 For better control, use the options below.
1461 Fine tuning of the installation directories:
1462 --bindir=DIR user executables [EPREFIX/bin]
1463 --sbindir=DIR system admin executables [EPREFIX/sbin]
1464 --libexecdir=DIR program executables [EPREFIX/libexec]
1465 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1466 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1467 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1468 --libdir=DIR object code libraries [EPREFIX/lib]
1469 --includedir=DIR C header files [PREFIX/include]
1470 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1471 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1472 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1473 --infodir=DIR info documentation [DATAROOTDIR/info]
1474 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1475 --mandir=DIR man documentation [DATAROOTDIR/man]
1476 --docdir=DIR documentation root [DATAROOTDIR/doc/charybdis]
1477 --htmldir=DIR html documentation [DOCDIR]
1478 --dvidir=DIR dvi documentation [DOCDIR]
1479 --pdfdir=DIR pdf documentation [DOCDIR]
1480 --psdir=DIR ps documentation [DOCDIR]
1486 --program-prefix=PREFIX prepend PREFIX to installed program names
1487 --program-suffix=SUFFIX append SUFFIX to installed program names
1488 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1491 --build=BUILD configure
for building on BUILD
[guessed
]
1492 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short
| recursive
) echo "Configuration of charybdis 3.6.0-dev:";;
1503 --disable-option-checking ignore unrecognized
--enable/--with options
1504 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1505 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1506 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1507 --disable-silent-rules verbose build output
(undo
: "make V=0")
1508 --enable-dependency-tracking
1509 do not reject slow dependency extractors
1510 --disable-dependency-tracking
1511 speeds up one
-time build
1512 --enable-static[=PKGS
] build static libraries
[default
=no
]
1513 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1514 --enable-fast-install[=PKGS
]
1515 optimize
for fast installation
[default
=yes]
1516 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1517 --enable-ltdl-install install libltdl
1518 --enable-fhs-paths Use
more FHS
-like pathnames
(for packagers
).
1519 --enable-ipv6 Enable IPv6 support
1520 --enable-openssl=DIR Enable OpenSSL support
(DIR optional
).
1521 --disable-openssl Disable OpenSSL support.
1522 --disable-zlib Disable ziplinks support
1523 --enable-ports Force solaris I
/O ports subsystem usage.
1524 --enable-poll Force poll
() usage.
1525 --enable-select Force
select() usage.
1526 --enable-kqueue Force kqueue
() usage.
1527 --enable-epoll Force sys_epoll usage
(Linux only
).
1528 --enable-assert Enable assert
(). Choose between soft
(warnings
) and
1529 hard
(aborts the daemon
)
1530 --enable-iodebug Enable IO Debugging hooks
1531 --enable-profile Enable profiling
1532 --disable-balloc Disable the block allocator.
1533 --enable-small-net Enable small network support.
1534 --enable-warnings Enable all sorts of warnings
for debugging.
1537 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1538 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1539 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1541 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1542 --with-sysroot=DIR Search
for dependent libraries within DIR
1543 (or the compiler
's sysroot if not specified).
1544 --with-included-ltdl use the GNU ltdl sources included here
1545 --with-ltdl-include=DIR use the ltdl headers installed in DIR
1546 --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1547 --with-zlib-path=DIR Path to libz.so for ziplinks support.
1548 --with-shared-sqlite Use shared sqlite
1549 --with-confdir=DIR Directory to install config files [deprecated, use
1550 --sysconfdir instead].
1551 --with-logdir=DIR Directory where to write logfiles.
1552 --with-helpdir=DIR Directory to install help files.
1553 --with-moduledir=DIR Directory to install modules.
1554 --with-rundir=DIR Directory in which to store pidfile.
1555 --with-program-prefix= If set, programs installed into PATH will be
1556 installed with names prefixed by this prefix.
1557 --with-custom-branding=NAME
1558 Custom branding name.
1559 --with-custom-version=NAME
1560 Custom version branding.
1561 --with-nicklen=LENGTH Set the upper-bound nick length to LENGTH (default
1563 --with-topiclen=NUMBER Set the max topic length to NUMBER (default 390, max
1566 Some influential environment variables:
1567 CC C compiler command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1570 nonstandard directory <lib dir>
1571 LIBS libraries to pass to the linker, e.g. -l<library>
1572 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1573 you have headers in a nonstandard directory <include dir>
1575 YACC The `Yet Another Compiler Compiler' implementation to use.
1576 Defaults to the first program found out of
: `bison -y', `byacc
',
1578 YFLAGS The list of arguments that will be passed by default to
$YACC.
1579 This
script will default YFLAGS to the empty string to avoid a
1580 default value of
`-d' given by some make applications.
1581 PKG_CONFIG path to pkg-config utility
1583 directories to add to pkg-config's search path
1585 path overriding pkg-config's built-in search path
1587 C compiler flags for SQLITE, overriding pkg-config
1588 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1590 Use these variables to override the choices made by `configure
' or to help
1591 it to find libraries and programs with nonstandard names/locations.
1593 Report bugs to the package provider.
1598 if test "$ac_init_help" = "recursive"; then
1599 # If there are subdirs, report their specific --help.
1600 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1601 test -d "$ac_dir" ||
1602 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1609 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1610 # A ".." for each directory in $ac_dir_suffix.
1611 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1612 case $ac_top_builddir_sub in
1613 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1617 ac_abs_top_builddir=$ac_pwd
1618 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1619 # for backward compatibility:
1620 ac_top_builddir=$ac_top_build_prefix
1623 .) # We are building in place.
1625 ac_top_srcdir=$ac_top_builddir_sub
1626 ac_abs_top_srcdir=$ac_pwd ;;
1627 [\\/]* | ?:[\\/]* ) # Absolute name.
1628 ac_srcdir=$srcdir$ac_dir_suffix;
1629 ac_top_srcdir=$srcdir
1630 ac_abs_top_srcdir=$srcdir ;;
1632 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1633 ac_top_srcdir=$ac_top_build_prefix$srcdir
1634 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1636 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1638 cd "$ac_dir" || { ac_status=$?; continue; }
1639 # Check for guested configure.
1640 if test -f "$ac_srcdir/configure.gnu"; then
1642 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1643 elif test -f "$ac_srcdir/configure"; then
1645 $SHELL "$ac_srcdir/configure" --help=recursive
1647 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1649 cd "$ac_pwd" || { ac_status=$?; break; }
1653 test -n "$ac_init_help" && exit $ac_status
1654 if $ac_init_version; then
1656 charybdis configure 3.6.0-dev
1657 generated by GNU Autoconf 2.69
1659 Copyright (C) 2012 Free Software Foundation, Inc.
1660 This configure script is free software; the Free Software Foundation
1661 gives unlimited permission to copy, distribute and modify it.
1666 ## ------------------------ ##
1667 ## Autoconf initialization. ##
1668 ## ------------------------ ##
1670 # ac_fn_c_try_compile LINENO
1671 # --------------------------
1672 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1673 ac_fn_c_try_compile ()
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 rm -f conftest.$ac_objext
1677 if { { ac_try="$ac_compile"
1679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_compile") 2>conftest.err
1686 if test -s conftest.err; then
1687 grep -v '^
*+' conftest.err >conftest.er1
1688 cat conftest.er1 >&5
1689 mv -f conftest.er1 conftest.err
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && {
1693 test -z "$ac_c_werror_flag" ||
1694 test ! -s conftest.err
1695 } && test -s conftest.$ac_objext; then :
1698 $as_echo "$as_me: failed program was:" >&5
1699 sed 's
/^
/| /' conftest.$ac_ext >&5
1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704 as_fn_set_status $ac_retval
1706 } # ac_fn_c_try_compile
1708 # ac_fn_c_try_link LINENO
1709 # -----------------------
1710 # Try to link conftest.$ac_ext, and return whether this succeeded.
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 rm -f conftest.$ac_objext conftest$ac_exeext
1715 if { { ac_try="$ac_link"
1717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718 *) ac_try_echo=$ac_try;;
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_link") 2>conftest.err
1724 if test -s conftest.err; then
1725 grep -v '^
*+' conftest.err >conftest.er1
1726 cat conftest.er1 >&5
1727 mv -f conftest.er1 conftest.err
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && {
1731 test -z "$ac_c_werror_flag" ||
1732 test ! -s conftest.err
1733 } && test -s conftest$ac_exeext && {
1734 test "$cross_compiling" = yes ||
1735 test -x conftest$ac_exeext
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's
/^
/| /' conftest.$ac_ext >&5
1744 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1745 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1746 # interfere with the next link command; also delete a directory that is
1747 # left behind by Apple's compiler. We
do this before executing the actions.
1748 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status
$ac_retval
1752 } # ac_fn_c_try_link
1754 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1755 # -------------------------------------------------------
1756 # Tests whether HEADER exists and can be compiled using the include files in
1757 # INCLUDES, setting the cache variable VAR accordingly.
1758 ac_fn_c_check_header_compile
()
1760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if eval \
${$3+:} false
; then :
1764 $as_echo_n "(cached) " >&6
1766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1771 if ac_fn_c_try_compile
"$LINENO"; then :
1776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 } # ac_fn_c_check_header_compile
1785 # ac_fn_c_try_cpp LINENO
1786 # ----------------------
1787 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1790 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1791 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1793 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1800 if test -s conftest.err; then
1801 grep -v '^ *+' conftest.err >conftest.er1
1802 cat conftest.er1 >&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } > conftest.i && {
1807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1808 test ! -s conftest.err
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.$ac_ext >&5
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 as_fn_set_status $ac_retval
1822 # ac_fn_c_try_run LINENO
1823 # ----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1825 # that executables *can* be run.
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 if { { ac_try="$ac_link"
1831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1832 *) ac_try_echo
=$ac_try;;
1834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>&5
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1840 { { case "(($ac_try" in
1841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_try") 2>&5
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; }; }; then :
1852 $as_echo "$as_me: program exited with status $ac_status" >&5
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1856 ac_retval=$ac_status
1858 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860 as_fn_set_status $ac_retval
1864 # ac_fn_c_check_func LINENO FUNC VAR
1865 # ----------------------------------
1866 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1867 ac_fn_c_check_func ()
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if eval \${$3+:} false; then :
1873 $as_echo_n "(cached) " >&6
1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1877 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1879 #define $2 innocuous_$2
1881 /* System header to define __stub macros and hopefully few prototypes,
1882 which can conflict with char $2 (); below.
1883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1884 <limits.h> exists even on freestanding compilers. */
1887 # include <limits.h>
1889 # include <assert.h>
1894 /* Override any GCC internal prototype to avoid an error.
1895 Use char because int might match the return type of a GCC
1896 builtin and then its argument prototype would still apply. */
1901 /* The GNU C library defines this for functions which it implements
1902 to always fail with ENOSYS. Some functions are actually named
1903 something starting with __ and the normal name is an alias. */
1904 #if defined __stub_$2 || defined __stub___$2
1916 if ac_fn_c_try_link "$LINENO"; then :
1921 rm -f core conftest.err conftest.$ac_objext \
1922 conftest$ac_exeext conftest.$ac_ext
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926 $as_echo "$ac_res" >&6; }
1927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929 } # ac_fn_c_check_func
1931 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1932 # ---------------------------------------------
1933 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1935 ac_fn_c_check_decl ()
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 as_decl_name=`echo $2|sed 's/ *(.*//'`
1939 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1941 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1942 if eval \${$3+:} false; then :
1943 $as_echo_n "(cached) " >&6
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1951 #ifndef $as_decl_name
1953 (void) $as_decl_use;
1955 (void) $as_decl_name;
1963 if ac_fn_c_try_compile "$LINENO"; then :
1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975 } # ac_fn_c_check_decl
1977 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1978 # -------------------------------------------
1979 # Tests whether TYPE exists after having included INCLUDES, setting cache
1980 # variable VAR accordingly.
1981 ac_fn_c_check_type ()
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if eval \${$3+:} false; then :
1987 $as_echo_n "(cached) " >&6
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
2002 if ac_fn_c_try_compile "$LINENO"; then :
2003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h. */
2015 if ac_fn_c_try_compile "$LINENO"; then :
2020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2026 $as_echo "$ac_res" >&6; }
2027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 } # ac_fn_c_check_type
2031 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2032 # -------------------------------------------------------
2033 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2034 # the include files in INCLUDES and setting the cache variable VAR
2036 ac_fn_c_check_header_mongrel ()
2038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039 if eval \${$3+:} false; then :
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2041 $as_echo_n "checking for $2... " >&6; }
2042 if eval \${$3+:} false; then :
2043 $as_echo_n "(cached) " >&6
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 $as_echo "$ac_res" >&6; }
2049 # Is the header compilable?
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2051 $as_echo_n "checking $2 usability... " >&6; }
2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2057 if ac_fn_c_try_compile "$LINENO"; then :
2058 ac_header_compiler=yes
2060 ac_header_compiler=no
2062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2064 $as_echo "$ac_header_compiler" >&6; }
2066 # Is the header present?
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2068 $as_echo_n "checking $2 presence... " >&6; }
2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2073 if ac_fn_c_try_cpp "$LINENO"; then :
2074 ac_header_preproc=yes
2076 ac_header_preproc=no
2078 rm -f conftest.err conftest.i conftest.$ac_ext
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2080 $as_echo "$ac_header_preproc" >&6; }
2082 # So? What about this header?
2083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2086 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2088 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2092 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2094 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2096 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2098 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2104 $as_echo_n "checking for $2... " >&6; }
2105 if eval \${$3+:} false; then :
2106 $as_echo_n "(cached) " >&6
2108 eval "$3=\$ac_header_compiler"
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2116 } # ac_fn_c_check_header_mongrel
2118 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2119 # --------------------------------------------
2120 # Tries to find the compile-time value of EXPR in a program that includes
2121 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2123 ac_fn_c_compute_int ()
2125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2126 if test "$cross_compiling" = yes; then
2127 # Depending upon the size, compute the lo and hi bounds.
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2134 static int test_array [1 - 2 * !(($2) >= 0)];
2136 return test_array [0];
2142 if ac_fn_c_try_compile "$LINENO"; then :
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2151 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2153 return test_array [0];
2159 if ac_fn_c_try_compile "$LINENO"; then :
2160 ac_hi=$ac_mid; break
2162 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2163 if test $ac_lo -le $ac_mid; then
2167 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2173 /* end confdefs.h. */
2178 static int test_array [1 - 2 * !(($2) < 0)];
2180 return test_array [0];
2186 if ac_fn_c_try_compile "$LINENO"; then :
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h. */
2195 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2197 return test_array [0];
2203 if ac_fn_c_try_compile "$LINENO"; then :
2204 ac_lo=$ac_mid; break
2206 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2207 if test $ac_mid -le $ac_hi; then
2211 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2221 # Binary search between lo and hi bounds.
2222 while test "x$ac_lo" != "x$ac_hi"; do
2223 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2230 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2232 return test_array [0];
2238 if ac_fn_c_try_compile "$LINENO"; then :
2241 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2251 /* end confdefs.h. */
2253 static long int longval () { return $2; }
2254 static unsigned long int ulongval () { return $2; }
2261 FILE *f = fopen ("conftest.val", "w");
2266 long int i = longval ();
2269 fprintf (f, "%ld", i);
2273 unsigned long int i = ulongval ();
2276 fprintf (f, "%lu", i);
2278 /* Do not output a trailing newline, as this causes \r\n confusion
2279 on some platforms. */
2280 return ferror (f) || fclose (f) != 0;
2286 if ac_fn_c_try_run "$LINENO"; then :
2287 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2292 conftest.$ac_objext conftest.beam conftest.$ac_ext
2296 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2297 as_fn_set_status $ac_retval
2299 } # ac_fn_c_compute_int
2300 cat >config.log <<_ACEOF
2301 This file contains any messages produced by compilers while
2302 running configure, to aid debugging if configure makes a mistake.
2304 It was created by charybdis $as_me 3.6.0-dev, which was
2305 generated by GNU Autoconf 2.69. Invocation command line was
2317 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2318 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2319 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2320 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2321 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2323 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2324 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2326 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2327 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2328 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2329 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2330 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2331 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2332 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340 test -z "$as_dir" && as_dir=.
2341 $as_echo "PATH: $as_dir"
2357 # Keep a trace of the command line.
2358 # Strip out --no-create and --no-recursion so they do not pile up.
2359 # Strip out --silent because we don't want to record it for future runs.
2360 # Also quote any args containing shell meta-characters.
2361 # Make two passes to allow for proper duplicate-argument suppression.
2365 ac_must_keep_next=false
2371 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2372 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2373 | -silent | --silent | --silen | --sile | --sil)
2376 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2379 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2381 as_fn_append ac_configure_args1 " '$ac_arg'"
2382 if test $ac_must_keep_next = true; then
2383 ac_must_keep_next=false # Got value, back to normal.
2386 *=* | --config-cache | -C | -disable-* | --disable-* \
2387 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2388 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2389 | -with-* | --with-* | -without-* | --without-* | --x)
2390 case "$ac_configure_args0 " in
2391 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2394 -* ) ac_must_keep_next=true ;;
2397 as_fn_append ac_configure_args " '$ac_arg'"
2402 { ac_configure_args0=; unset ac_configure_args0;}
2403 { ac_configure_args1=; unset ac_configure_args1;}
2405 # When interrupted or exit'd, cleanup temporary files, and complete
2406 # config.log. We remove comments because anyway the quotes in there
2407 # would cause problems or look ugly.
2408 # WARNING: Use '\'' to represent an apostrophe within the trap.
2409 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2410 trap 'exit_status=$?
2411 # Save into config.log some information that might help in debugging.
2415 $as_echo "## ---------------- ##
2416 ## Cache variables. ##
2417 ## ---------------- ##"
2419 # The following way of writing the cache mishandles newlines in values,
2421 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2422 eval ac_val=\$$ac_var
2426 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2427 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2430 _ | IFS | as_nl) ;; #(
2431 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2432 *) { eval $ac_var=; unset $ac_var;} ;;
2437 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2438 *${as_nl}ac_space=\ *)
2440 "s/'\''/'\''\\\\'\'''\''/g;
2441 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2444 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2451 $as_echo "## ----------------- ##
2452 ## Output variables. ##
2453 ## ----------------- ##"
2455 for ac_var in $ac_subst_vars
2457 eval ac_val=\$$ac_var
2459 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2461 $as_echo "$ac_var='\''$ac_val'\''"
2465 if test -n "$ac_subst_files"; then
2466 $as_echo "## ------------------- ##
2467 ## File substitutions. ##
2468 ## ------------------- ##"
2470 for ac_var in $ac_subst_files
2472 eval ac_val=\$$ac_var
2474 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2476 $as_echo "$ac_var='\''$ac_val'\''"
2481 if test -s confdefs.h; then
2482 $as_echo "## ----------- ##
2489 test "$ac_signal" != 0 &&
2490 $as_echo "$as_me: caught signal $ac_signal"
2491 $as_echo "$as_me: exit $exit_status"
2493 rm -f core *.core core.conftest.* &&
2494 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2497 for ac_signal in 1 2 13 15; do
2498 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2502 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2503 rm -f -r conftest* confdefs.h
2505 $as_echo "/* confdefs.h */" > confdefs.h
2507 # Predefined preprocessor variables.
2509 cat >>confdefs.h <<_ACEOF
2510 #define PACKAGE_NAME "$PACKAGE_NAME"
2513 cat >>confdefs.h <<_ACEOF
2514 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2517 cat >>confdefs.h <<_ACEOF
2518 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2521 cat >>confdefs.h <<_ACEOF
2522 #define PACKAGE_STRING "$PACKAGE_STRING"
2525 cat >>confdefs.h <<_ACEOF
2526 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2529 cat >>confdefs.h <<_ACEOF
2530 #define PACKAGE_URL "$PACKAGE_URL"
2534 # Let the site file select an alternate cache file if it wants to.
2535 # Prefer an explicitly selected file to automatically selected ones.
2538 if test -n "$CONFIG_SITE"; then
2539 # We do not want a PATH search for config.site.
2540 case $CONFIG_SITE in #((
2541 -*) ac_site_file1=./$CONFIG_SITE;;
2542 */*) ac_site_file1=$CONFIG_SITE;;
2543 *) ac_site_file1=./$CONFIG_SITE;;
2545 elif test "x$prefix" != xNONE; then
2546 ac_site_file1=$prefix/share/config.site
2547 ac_site_file2=$prefix/etc/config.site
2549 ac_site_file1=$ac_default_prefix/share/config.site
2550 ac_site_file2=$ac_default_prefix/etc/config.site
2552 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2554 test "x$ac_site_file" = xNONE && continue
2555 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2557 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2558 sed 's/^/| /' "$ac_site_file" >&5
2560 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2562 as_fn_error $? "failed to load site
script $ac_site_file
2563 See \
`config.log' for more details" "$LINENO" 5; }
2567 if test -r "$cache_file"; then
2568 # Some versions of bash will fail to source /dev/null (special files
2569 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2570 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2572 $as_echo "$as_me: loading cache $cache_file" >&6;}
2574 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2575 *) . "./$cache_file";;
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2580 $as_echo "$as_me: creating cache $cache_file" >&6;}
2584 # Check that the precious variables saved in the cache have kept the same
2586 ac_cache_corrupted=false
2587 for ac_var in $ac_precious_vars; do
2588 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2589 eval ac_new_set=\$ac_env_${ac_var}_set
2590 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2591 eval ac_new_val=\$ac_env_${ac_var}_value
2592 case $ac_old_set,$ac_new_set in
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2595 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2596 ac_cache_corrupted=: ;;
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2599 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2600 ac_cache_corrupted=: ;;
2603 if test "x$ac_old_val" != "x$ac_new_val"; then
2604 # differences in whitespace do not lead to failure.
2605 ac_old_val_w=`echo x
$ac_old_val`
2606 ac_new_val_w=`echo x
$ac_new_val`
2607 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2609 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2610 ac_cache_corrupted=:
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2613 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2614 eval $ac_var=\$ac_old_val
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2617 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2619 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2622 # Pass precious variables to config.status.
2623 if test "$ac_new_set" = set; then
2625 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2626 *) ac_arg=$ac_var=$ac_new_val ;;
2628 case " $ac_configure_args " in
2629 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2630 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2634 if $ac_cache_corrupted; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2638 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2639 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2641 ## -------------------- ##
2642 ## Main body of script. ##
2643 ## -------------------- ##
2646 ac_cpp='$CPP $CPPFLAGS'
2647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2655 ac_config_headers="$ac_config_headers include/setup.h"
2659 for ac_dir in libltdl/config "$srcdir"/libltdl/config; do
2660 if test -f "$ac_dir/install-sh"; then
2662 ac_install_sh="$ac_aux_dir/install-sh -c"
2664 elif test -f "$ac_dir/install.sh"; then
2666 ac_install_sh="$ac_aux_dir/install.sh -c"
2668 elif test -f "$ac_dir/shtool"; then
2670 ac_install_sh="$ac_aux_dir/shtool install -c"
2674 if test -z "$ac_aux_dir"; then
2675 as_fn_error $? "cannot find install-sh, install.sh, or shtool in libltdl/config \"$srcdir\"/libltdl/config" "$LINENO" 5
2678 # These three variables are undocumented and unsupported,
2679 # and are intended to be withdrawn in a future Autoconf release.
2680 # They can cause serious problems if a builder's source tree is in a directory
2681 # whose full name contains unusual characters.
2682 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2683 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2684 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2688 am__api_version='1.15'
2690 # Find a good install program. We prefer a C program (faster),
2691 # so one script is as good as another. But avoid the broken or
2692 # incompatible versions:
2693 # SysV /etc/install, /usr/sbin/install
2694 # SunOS /usr/etc/install
2695 # IRIX /sbin/install
2697 # AmigaOS /C/install, which installs bootblocks on floppy discs
2698 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2699 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2700 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2701 # OS/2's system install, which has a completely different semantic
2702 # ./install, which can be erroneously created by make from ./install.sh.
2703 # Reject install programs that cannot install multiple files.
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2705 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2706 if test -z "$INSTALL"; then
2707 if ${ac_cv_path_install+:} false; then :
2708 $as_echo_n "(cached) " >&6
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir=.
2715 # Account for people who put trailing slashes in PATH elements.
2716 case $as_dir/ in #((
2717 ./ | .// | /[cC]/* | \
2718 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2719 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2722 # OSF1 and SCO ODT 3.0 have their own names for install.
2723 # Don't use installbsd from OSF since it installs stuff as root
2725 for ac_prog in ginstall scoinst install; do
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2728 if test $ac_prog = install &&
2729 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2730 # AIX install. It has an incompatible calling convention.
2732 elif test $ac_prog = install &&
2733 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2734 # program-specific install script used by HP pwplus--don't use.
2737 rm -rf conftest.one conftest.two conftest.dir
2738 echo one > conftest.one
2739 echo two > conftest.two
2741 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2742 test -s conftest.one && test -s conftest.two &&
2743 test -s conftest.dir/conftest.one &&
2744 test -s conftest.dir/conftest.two
2746 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2759 rm -rf conftest.one conftest.two conftest.dir
2762 if test "${ac_cv_path_install+set}" = set; then
2763 INSTALL=$ac_cv_path_install
2765 # As a last resort, use the slow shell script. Don't cache a
2766 # value for INSTALL within a source directory, because that will
2767 # break other packages using the cache if that directory is
2768 # removed, or if the value is a relative name.
2769 INSTALL=$ac_install_sh
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2773 $as_echo "$INSTALL" >&6; }
2775 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2776 # It thinks the first close brace ends the variable substitution.
2777 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2779 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2781 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2784 $as_echo_n "checking whether build environment is sane... " >&6; }
2785 # Reject unsafe characters in $srcdir or the absolute working directory
2786 # name. Accept space and tab only in the latter.
2790 *[\\\"\#\$\&\'\`$am_lf]*)
2791 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2794 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2795 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2798 # Do 'set' in a subshell so we don't clobber the current shell's
2799 # arguments. Must try -L first in case configure is actually a
2800 # symlink; some systems play weird games with the mod time of symlinks
2801 # (eg FreeBSD returns the mod time of the symlink's containing
2805 for am_try in 1 2; do
2806 echo "timestamp, slept: $am_has_slept" > conftest.file
2807 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2808 if test "$*" = "X"; then
2810 set X `ls -t "$srcdir/configure" conftest.
file`
2812 if test "$*" != "X $srcdir/configure conftest.file" \
2813 && test "$*" != "X conftest.file $srcdir/configure"; then
2815 # If neither matched, then we have a broken ls. This can happen
2816 # if, for instance, CONFIG_SHELL is bash and it inherits a
2817 # broken ls alias from the environment. This has actually
2818 # happened. Such a system could not be considered "sane".
2819 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2820 alias in your environment" "$LINENO" 5
2822 if test "$2" = conftest.file || test $am_try -eq 2; then
2829 test "$2" = conftest.file
2835 as_fn_error $? "newly created file is older than distributed files!
2836 Check your system clock" "$LINENO" 5
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2839 $as_echo "yes" >&6; }
2840 # If we didn't sleep, we still need to ensure time stamps of config.status and
2841 # generated files are strictly newer.
2843 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2850 test "$program_prefix" != NONE &&
2851 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2852 # Use a double $ so make ignores it.
2853 test "$program_suffix" != NONE &&
2854 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2855 # Double any \ or $.
2856 # By default was `s
,x
,x
', remove it if useless.
2857 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2858 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2860 # Expand $ac_aux_dir to an absolute path.
2861 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2863 if test x"${MISSING+set}" != xset; then
2866 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2868 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2871 # Use eval to expand $SHELL
2872 if eval "$MISSING --is-lightweight"; then
2873 am_missing_run="$MISSING "
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2877 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2880 if test x"${install_sh+set}" != xset; then
2883 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2885 install_sh="\${SHELL} $am_aux_dir/install-sh"
2889 # Installed binaries are usually stripped using 'strip
' when the user
2890 # run "make install-strip". However 'strip
' might not be the right
2891 # tool to use in cross-compilation environments, therefore Automake
2892 # will honor the 'STRIP
' environment variable to overrule this program.
2893 if test "$cross_compiling" != no; then
2894 if test -n "$ac_tool_prefix"; then
2895 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2896 set dummy ${ac_tool_prefix}strip; ac_word=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if ${ac_cv_prog_STRIP+:} false; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$STRIP"; then
2903 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2912 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 STRIP=$ac_cv_prog_STRIP
2923 if test -n "$STRIP"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2925 $as_echo "$STRIP" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2933 if test -z "$ac_cv_prog_STRIP"; then
2935 # Extract the first word of "strip", so it can be a program name with args.
2936 set dummy strip; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$ac_ct_STRIP"; then
2943 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir=.
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2952 ac_cv_prog_ac_ct_STRIP="strip"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2963 if test -n "$ac_ct_STRIP"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2965 $as_echo "$ac_ct_STRIP" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2971 if test "x$ac_ct_STRIP" = x; then
2974 case $cross_compiling:$ac_tool_warned in
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2978 ac_tool_warned=yes ;;
2983 STRIP="$ac_cv_prog_STRIP"
2987 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2990 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2991 if test -z "$MKDIR_P"; then
2992 if ${ac_cv_path_mkdir+:} false; then :
2993 $as_echo_n "(cached) " >&6
2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2999 test -z "$as_dir" && as_dir=.
3000 for ac_prog in mkdir gmkdir; do
3001 for ac_exec_ext in '' $ac_executable_extensions; do
3002 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3003 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3004 'mkdir (GNU coreutils
) '* | \
3005 'mkdir (coreutils
) '* | \
3006 'mkdir (fileutils
) '4.1*)
3007 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3017 test -d ./--version && rmdir ./--version
3018 if test "${ac_cv_path_mkdir+set}" = set; then
3019 MKDIR_P="$ac_cv_path_mkdir -p"
3021 # As a last resort, use the slow shell script. Don't cache a
3022 # value for MKDIR_P within a source directory, because that will
3023 # break other packages using the cache if that directory is
3024 # removed, or if the value is a relative name.
3025 MKDIR_P
="$ac_install_sh -d"
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3029 $as_echo "$MKDIR_P" >&6; }
3031 for ac_prog
in gawk mawk nawk
awk
3033 # Extract the first word of "$ac_prog", so it can be a program name with args.
3034 set dummy
$ac_prog; ac_word
=$2
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if ${ac_cv_prog_AWK+:} false
; then :
3038 $as_echo_n "(cached) " >&6
3040 if test -n "$AWK"; then
3041 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 for ac_exec_ext
in '' $ac_executable_extensions; do
3049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_AWK
="$ac_prog"
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 if test -n "$AWK"; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3063 $as_echo "$AWK" >&6; }
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 $as_echo "no" >&6; }
3070 test -n "$AWK" && break
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3074 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3076 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3077 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3078 $as_echo_n "(cached) " >&6
3080 cat >conftest.
make <<\_ACEOF
3083 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3085 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3086 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3088 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3090 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3094 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3096 $as_echo "yes" >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3101 SET_MAKE
="MAKE=${MAKE-make}"
3104 rm -rf .tst
2>/dev
/null
3105 mkdir .tst
2>/dev
/null
3106 if test -d .tst
; then
3111 rmdir .tst
2>/dev
/null
3113 # Check whether --enable-silent-rules was given.
3114 if test "${enable_silent_rules+set}" = set; then :
3115 enableval
=$enable_silent_rules;
3118 case $enable_silent_rules in # (((
3119 yes) AM_DEFAULT_VERBOSITY
=0;;
3120 no
) AM_DEFAULT_VERBOSITY
=1;;
3121 *) AM_DEFAULT_VERBOSITY
=1;;
3123 am_make
=${MAKE-make}
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3125 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3126 if ${am_cv_make_support_nested_variables+:} false
; then :
3127 $as_echo_n "(cached) " >&6
3129 if $as_echo 'TRUE=$(BAR$(V))
3135 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3136 am_cv_make_support_nested_variables
=yes
3138 am_cv_make_support_nested_variables
=no
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3142 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3143 if test $am_cv_make_support_nested_variables = yes; then
3145 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3147 AM_V
=$AM_DEFAULT_VERBOSITY
3148 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3152 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3153 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3154 # is not polluted with repeated "-I."
3155 am__isrc
=' -I$(srcdir)'
3156 # test to see if srcdir already configured
3157 if test -f $srcdir/config.status
; then
3158 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3162 # test whether we have cygpath
3163 if test -z "$CYGPATH_W"; then
3164 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3165 CYGPATH_W
='cygpath -w'
3172 # Define the identity of the package.
3177 cat >>confdefs.h
<<_ACEOF
3178 #define PACKAGE "$PACKAGE"
3182 cat >>confdefs.h
<<_ACEOF
3183 #define VERSION "$VERSION"
3186 # Some tools Automake needs.
3188 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3191 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3194 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3197 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3200 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3202 # For better backward compatibility. To be removed once Automake 1.9.x
3203 # dies out for good. For more background, see:
3204 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3205 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3206 mkdir_p
='$(MKDIR_P)'
3208 # We need awk for the "check" target (and possibly the TAP driver). The
3209 # system "awk" is bad on some platforms.
3210 # Always define AMTAR for backward compatibility. Yes, it's still used
3211 # in the wild :-( We should find a proper way to deprecate it ...
3215 # We'll loop over all known methods to create a tar archive until one works.
3216 _am_tools
='gnutar pax cpio none'
3218 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3225 # POSIX will say in a future version that running "rm -f" with no argument
3226 # is OK; and we want to be able to make that assumption in our Makefile
3227 # recipes. So use an aggressive probe to check that the usage we want is
3228 # actually supported "in the wild" to an acceptable degree.
3229 # See automake bug#10828.
3230 # To make any issue more visible, cause the running configure to be aborted
3231 # by default if the 'rm' program in use doesn't match our expectations; the
3232 # user can still override this though.
3233 if rm -f && rm -fr && rm -rf; then : OK
; else
3237 Your 'rm' program seems unable to run without file operands specified
3238 on the command line, even when the '-f' option is present. This is contrary
3239 to the behaviour of most rm programs out there, and not conforming with
3240 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3242 Please tell bug-automake@gnu.org about your system, including the value
3243 of your $PATH and any error possibly output before this message. This
3244 can help us improve future automake versions.
3247 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3248 echo 'Configuration will proceed anyway, since you have set the' >&2
3249 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3253 Aborting the configuration process, to ensure you take notice of the issue.
3255 You can download and install GNU coreutils to get an 'rm' implementation
3256 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3258 If you want to complete the configuration process using your problematic
3259 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3260 to "yes", and re-run configure.
3263 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3267 # Check whether --enable-silent-rules was given.
3268 if test "${enable_silent_rules+set}" = set; then :
3269 enableval
=$enable_silent_rules;
3272 case $enable_silent_rules in # (((
3273 yes) AM_DEFAULT_VERBOSITY
=0;;
3274 no
) AM_DEFAULT_VERBOSITY
=1;;
3275 *) AM_DEFAULT_VERBOSITY
=0;;
3277 am_make
=${MAKE-make}
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3279 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3280 if ${am_cv_make_support_nested_variables+:} false
; then :
3281 $as_echo_n "(cached) " >&6
3283 if $as_echo 'TRUE=$(BAR$(V))
3289 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3290 am_cv_make_support_nested_variables
=yes
3292 am_cv_make_support_nested_variables
=no
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3296 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3297 if test $am_cv_make_support_nested_variables = yes; then
3299 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3301 AM_V
=$AM_DEFAULT_VERBOSITY
3302 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3306 DEPDIR="${am__leading_dot}deps"
3308 ac_config_commands="$ac_config_commands depfiles"
3311 am_make=${MAKE-make}
3312 cat > confinc << 'END'
3314 @echo this is the am__doit target
3317 # If we don't
find an include directive
, just comment out the code.
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3319 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3323 # First try GNU make style include.
3324 echo "include confinc" > confmf
3325 # Ignore all kinds of additional output from 'make'.
3326 case `$am_make -s -f confmf 2> /dev/null` in #(
3327 *the\ am__doit\ target
*)
3333 # Now try BSD make style include.
3334 if test "$am__include" = "#"; then
3335 echo '.include "confinc"' > confmf
3336 case `$am_make -s -f confmf 2> /dev/null` in #(
3337 *the\ am__doit\ target
*)
3338 am__include
=.include
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3347 $as_echo "$_am_result" >&6; }
3348 rm -f confinc confmf
3350 # Check whether --enable-dependency-tracking was given.
3351 if test "${enable_dependency_tracking+set}" = set; then :
3352 enableval
=$enable_dependency_tracking;
3355 if test "x$enable_dependency_tracking" != xno
; then
3356 am_depcomp
="$ac_aux_dir/depcomp"
3360 if test "x$enable_dependency_tracking" != xno; then
3370 ac_cpp
='$CPP $CPPFLAGS'
3371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3374 if test -n "$ac_tool_prefix"; then
3375 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3376 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3378 $as_echo_n "checking for $ac_word... " >&6; }
3379 if ${ac_cv_prog_CC+:} false
; then :
3380 $as_echo_n "(cached) " >&6
3382 if test -n "$CC"; then
3383 ac_cv_prog_CC
="$CC" # Let the user override the test.
3385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir
=.
3390 for ac_exec_ext
in '' $ac_executable_extensions; do
3391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3392 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 if test -n "$CC"; then
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3405 $as_echo "$CC" >&6; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3408 $as_echo "no" >&6; }
3413 if test -z "$ac_cv_prog_CC"; then
3415 # Extract the first word of "gcc", so it can be a program name with args.
3416 set dummy gcc
; ac_word
=$2
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3418 $as_echo_n "checking for $ac_word... " >&6; }
3419 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3420 $as_echo_n "(cached) " >&6
3422 if test -n "$ac_ct_CC"; then
3423 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3429 test -z "$as_dir" && as_dir
=.
3430 for ac_exec_ext
in '' $ac_executable_extensions; do
3431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3432 ac_cv_prog_ac_ct_CC
="gcc"
3433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3443 if test -n "$ac_ct_CC"; then
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3445 $as_echo "$ac_ct_CC" >&6; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448 $as_echo "no" >&6; }
3451 if test "x$ac_ct_CC" = x
; then
3454 case $cross_compiling:$ac_tool_warned in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3458 ac_tool_warned
=yes ;;
3466 if test -z "$CC"; then
3467 if test -n "$ac_tool_prefix"; then
3468 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3469 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3471 $as_echo_n "checking for $ac_word... " >&6; }
3472 if ${ac_cv_prog_CC+:} false
; then :
3473 $as_echo_n "(cached) " >&6
3475 if test -n "$CC"; then
3476 ac_cv_prog_CC
="$CC" # Let the user override the test.
3478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3482 test -z "$as_dir" && as_dir
=.
3483 for ac_exec_ext
in '' $ac_executable_extensions; do
3484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3485 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 if test -n "$CC"; then
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3498 $as_echo "$CC" >&6; }
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 $as_echo "no" >&6; }
3507 if test -z "$CC"; then
3508 # Extract the first word of "cc", so it can be a program name with args.
3509 set dummy cc
; ac_word
=$2
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3511 $as_echo_n "checking for $ac_word... " >&6; }
3512 if ${ac_cv_prog_CC+:} false
; then :
3513 $as_echo_n "(cached) " >&6
3515 if test -n "$CC"; then
3516 ac_cv_prog_CC
="$CC" # Let the user override the test.
3519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3523 test -z "$as_dir" && as_dir
=.
3524 for ac_exec_ext
in '' $ac_executable_extensions; do
3525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3526 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3527 ac_prog_rejected
=yes
3531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 if test $ac_prog_rejected = yes; then
3539 # We found a bogon in the path, so make sure we never use it.
3540 set dummy
$ac_cv_prog_CC
3542 if test $# != 0; then
3543 # We chose a different compiler from the bogus one.
3544 # However, it has the same basename, so the bogon will be chosen
3545 # first if we set CC to just the basename; use the full file name.
3547 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3553 if test -n "$CC"; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3555 $as_echo "$CC" >&6; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3563 if test -z "$CC"; then
3564 if test -n "$ac_tool_prefix"; then
3565 for ac_prog
in cl.exe
3567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3568 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3570 $as_echo_n "checking for $ac_word... " >&6; }
3571 if ${ac_cv_prog_CC+:} false
; then :
3572 $as_echo_n "(cached) " >&6
3574 if test -n "$CC"; then
3575 ac_cv_prog_CC
="$CC" # Let the user override the test.
3577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir
=.
3582 for ac_exec_ext
in '' $ac_executable_extensions; do
3583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3584 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 if test -n "$CC"; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3597 $as_echo "$CC" >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3604 test -n "$CC" && break
3607 if test -z "$CC"; then
3609 for ac_prog
in cl.exe
3611 # Extract the first word of "$ac_prog", so it can be a program name with args.
3612 set dummy
$ac_prog; ac_word
=$2
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3614 $as_echo_n "checking for $ac_word... " >&6; }
3615 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3616 $as_echo_n "(cached) " >&6
3618 if test -n "$ac_ct_CC"; then
3619 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3625 test -z "$as_dir" && as_dir
=.
3626 for ac_exec_ext
in '' $ac_executable_extensions; do
3627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3628 ac_cv_prog_ac_ct_CC
="$ac_prog"
3629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3639 if test -n "$ac_ct_CC"; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3641 $as_echo "$ac_ct_CC" >&6; }
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3644 $as_echo "no" >&6; }
3648 test -n "$ac_ct_CC" && break
3651 if test "x$ac_ct_CC" = x
; then
3654 case $cross_compiling:$ac_tool_warned in
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3658 ac_tool_warned
=yes ;;
3667 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3669 as_fn_error $?
"no acceptable C compiler found in \$PATH
3670 See \`config.log' for more details" "$LINENO" 5; }
3672 # Provide some information about the compiler.
3673 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3676 for ac_option
in --version -v -V -qversion; do
3677 { { ac_try
="$ac_compiler $ac_option >&5"
3679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3683 $as_echo "$ac_try_echo"; } >&5
3684 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3686 if test -s conftest.err; then
3688 ... rest of stderr output deleted ...
3689 10q' conftest.err >conftest.er1
3690 cat conftest.er1 >&5
3692 rm -f conftest.er1 conftest.err
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3708 ac_clean_files_save=$ac_clean_files
3709 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3710 # Try to create an executable without -o first, disregard a.out.
3711 # It will help us diagnose broken compilers, and finding out an intuition
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3714 $as_echo_n "checking whether the C compiler works... " >&6; }
3715 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3717 # The possible output files:
3718 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3721 for ac_file in $ac_files
3724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3725 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3730 if { { ac_try="$ac_link_default"
3732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3733 *) ac_try_echo
=$ac_try;;
3735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3736 $as_echo "$ac_try_echo"; } >&5
3737 (eval "$ac_link_default") 2>&5
3739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740 test $ac_status = 0; }; then :
3741 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3742 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3743 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3744 # so that the user can short-circuit this test for compilers unknown to
3746 for ac_file
in $ac_files ''
3748 test -f "$ac_file" || continue
3750 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3753 # We found the default executable, but exeext='' is most
3757 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3759 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3761 # We set ac_cv_exeext here because the later test for it is not
3762 # safe: cross compilers may not add the suffix if given an `-o'
3763 # argument, so we may need to know it at that point already.
3764 # Even if this section looks crufty: it has the advantage of
3771 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3776 if test -z "$ac_file"; then :
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3779 $as_echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.
$ac_ext >&5
3782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784 as_fn_error
77 "C compiler cannot create executables
3785 See \`config.log' for more details" "$LINENO" 5; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3788 $as_echo "yes" >&6; }
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3791 $as_echo_n "checking for C compiler default output file name... " >&6; }
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3793 $as_echo "$ac_file" >&6; }
3794 ac_exeext
=$ac_cv_exeext
3796 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3797 ac_clean_files
=$ac_clean_files_save
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3799 $as_echo_n "checking for suffix of executables... " >&6; }
3800 if { { ac_try
="$ac_link"
3802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3803 *) ac_try_echo=$ac_try;;
3805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3806 $as_echo "$ac_try_echo"; } >&5
3807 (eval "$ac_link") 2>&5
3809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3810 test $ac_status = 0; }; then :
3811 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3812 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3813 # work properly (i.e., refer to `conftest.exe'), while it won't with
3815 for ac_file
in conftest.exe conftest conftest.
*; do
3816 test -f "$ac_file" || continue
3818 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3819 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3828 See \`config.log' for more details" "$LINENO" 5; }
3830 rm -f conftest conftest
$ac_cv_exeext
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3832 $as_echo "$ac_cv_exeext" >&6; }
3834 rm -f conftest.
$ac_ext
3835 EXEEXT
=$ac_cv_exeext
3837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3843 FILE *f = fopen ("conftest.out", "w");
3844 return ferror (f) || fclose (f) != 0;
3850 ac_clean_files
="$ac_clean_files conftest.out"
3851 # Check that the compiler produces executables we can run. If not, either
3852 # the compiler is broken, or we cross compile.
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3854 $as_echo_n "checking whether we are cross compiling... " >&6; }
3855 if test "$cross_compiling" != yes; then
3856 { { ac_try
="$ac_link"
3858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3862 $as_echo "$ac_try_echo"; } >&5
3863 (eval "$ac_link") 2>&5
3865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3866 test $ac_status = 0; }
3867 if { ac_try='./conftest$ac_cv_exeext'
3868 { { case "(($ac_try" in
3869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3870 *) ac_try_echo
=$ac_try;;
3872 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3873 $as_echo "$ac_try_echo"; } >&5
3874 (eval "$ac_try") 2>&5
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }; }; then
3880 if test "$cross_compiling" = maybe
; then
3883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885 as_fn_error $?
"cannot run C compiled programs.
3886 If you meant to cross compile, use \`--host'.
3887 See \`config.log' for more details" "$LINENO" 5; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3892 $as_echo "$cross_compiling" >&6; }
3894 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3895 ac_clean_files
=$ac_clean_files_save
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3897 $as_echo_n "checking for suffix of object files... " >&6; }
3898 if ${ac_cv_objext+:} false
; then :
3899 $as_echo_n "(cached) " >&6
3901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3912 rm -f conftest.o conftest.obj
3913 if { { ac_try
="$ac_compile"
3915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_compile") 2>&5
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }; then :
3924 for ac_file in conftest.o conftest.obj conftest.*; do
3925 test -f "$ac_file" || continue;
3927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3928 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3933 $as_echo "$as_me: failed program was:" >&5
3934 sed 's/^/| /' conftest.$ac_ext >&5
3936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3938 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3939 See \
`config.log' for more details" "$LINENO" 5; }
3941 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3944 $as_echo "$ac_cv_objext" >&6; }
3945 OBJEXT=$ac_cv_objext
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3948 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3949 if ${ac_cv_c_compiler_gnu+:} false; then :
3950 $as_echo_n "(cached) " >&6
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3966 if ac_fn_c_try_compile "$LINENO"; then :
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3976 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3977 if test $ac_compiler_gnu = yes; then
3982 ac_test_CFLAGS=${CFLAGS+set}
3983 ac_save_CFLAGS=$CFLAGS
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3985 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3986 if ${ac_cv_prog_cc_g+:} false; then :
3987 $as_echo_n "(cached) " >&6
3989 ac_save_c_werror_flag=$ac_c_werror_flag
3990 ac_c_werror_flag=yes
3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
4004 if ac_fn_c_try_compile "$LINENO"; then :
4008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4009 /* end confdefs.h. */
4019 if ac_fn_c_try_compile "$LINENO"; then :
4022 ac_c_werror_flag=$ac_save_c_werror_flag
4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4035 if ac_fn_c_try_compile "$LINENO"; then :
4038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 ac_c_werror_flag=$ac_save_c_werror_flag
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4046 $as_echo "$ac_cv_prog_cc_g" >&6; }
4047 if test "$ac_test_CFLAGS" = set; then
4048 CFLAGS=$ac_save_CFLAGS
4049 elif test $ac_cv_prog_cc_g = yes; then
4050 if test "$GCC" = yes; then
4056 if test "$GCC" = yes; then
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4063 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4064 if ${ac_cv_prog_cc_c89+:} false; then :
4065 $as_echo_n "(cached) " >&6
4067 ac_cv_prog_cc_c89=no
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4074 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4075 struct buf { int x; };
4076 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4077 static char *e (p, i)
4083 static char *f (char * (*g) (char **, int), char **p, ...)
4088 s = g (p, va_arg (v,int));
4093 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4094 function prototypes and stuff, but not '\xHH' hex character constants.
4095 These don't provoke an error unfortunately, instead are silently treated
4096 as 'x'. The following induces an error, until -std is added to get
4097 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4098 array size at least. It's necessary to write '\x00'==0 to get something
4099 that's true only with -std. */
4100 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4102 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4103 inside strings and character constants. */
4105 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4107 int test (int i, double x);
4108 struct s1 {int (*f) (int a);};
4109 struct s2 {int (*f) (double a);};
4110 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4116 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4121 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4122 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4124 CC="$ac_save_CC $ac_arg"
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 ac_cv_prog_cc_c89=$ac_arg
4128 rm -f core conftest.err conftest.$ac_objext
4129 test "x$ac_cv_prog_cc_c89" != "xno" && break
4131 rm -f conftest.$ac_ext
4136 case "x$ac_cv_prog_cc_c89" in
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4139 $as_echo "none needed" >&6; } ;;
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4142 $as_echo "unsupported" >&6; } ;;
4144 CC="$CC $ac_cv_prog_cc_c89"
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4146 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4148 if test "x$ac_cv_prog_cc_c89" != xno; then :
4153 ac_cpp='$CPP $CPPFLAGS'
4154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4159 ac_cpp='$CPP $CPPFLAGS'
4160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4164 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4165 if ${am_cv_prog_cc_c_o+:} false; then :
4166 $as_echo_n "(cached) " >&6
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4179 # Make sure it works both with $CC and with simple cc.
4180 # Following AC_PROG_CC_C_O, we do the test twice because some
4181 # compilers refuse to overwrite an existing .o file with -o,
4182 # though they will create one.
4183 am_cv_prog_cc_c_o=yes
4185 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4186 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); } \
4190 && test -f conftest2.$ac_objext; then
4193 am_cv_prog_cc_c_o=no
4197 rm -f core conftest*
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4201 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4202 if test "$am_cv_prog_cc_c_o" != yes; then
4203 # Losing compiler, so override with the script.
4204 # FIXME: It is wrong to rewrite CC.
4205 # But if we don't then we get into trouble of one sort or another.
4206 # A longer-term fix would be to have automake use am__CC in this case,
4207 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4208 CC="$am_aux_dir/compile $CC"
4211 ac_cpp='$CPP $CPPFLAGS'
4212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4217 depcc="$CC" am_compiler_list=
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4220 $as_echo_n "checking dependency style of $depcc... " >&6; }
4221 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4222 $as_echo_n "(cached) " >&6
4224 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4225 # We make a subdir and do the tests there. Otherwise we can end up
4226 # making bogus files that we don't know about and never remove. For
4227 # instance it was reported that on HP-UX the gcc test will end up
4228 # making a dummy file named 'D' -- because '-MD' means "put the output
4232 # Copy depcomp to subdir because otherwise we won't find it if we're
4233 # using a relative directory.
4234 cp "$am_depcomp" conftest.dir
4236 # We will build objects and dependencies in a subdirectory because
4237 # it helps to detect inapplicable dependency modes. For instance
4238 # both Tru64's cc and ICC support -MD to output dependencies as a
4239 # side effect of compilation, but ICC will put the dependencies in
4240 # the current directory while Tru64 will put them in the object
4244 am_cv_CC_dependencies_compiler_type=none
4245 if test "$am_compiler_list" = ""; then
4246 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4249 case " $depcc " in #(
4250 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4253 for depmode in $am_compiler_list; do
4254 # Setup a source with many dependencies, because some compilers
4255 # like to wrap large dependency lists on column 80 (with \), and
4256 # we should not choose a depcomp mode which is confused by this.
4258 # We need to recreate these files for each test, as the compiler may
4259 # overwrite some of them when testing with obscure command lines.
4260 # This happens at least with the AIX C compiler.
4262 for i in 1 2 3 4 5 6; do
4263 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4264 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4265 # Solaris 10 /bin/sh.
4266 echo '/* dummy */' > sub/conftst$i.h
4268 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4270 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4271 # mode. It turns out that the SunPro C++ compiler does not properly
4272 # handle '-M -o', and we need to detect this. Also, some Intel
4273 # versions had trouble with output in subdirs.
4274 am__obj=sub/conftest.${OBJEXT-o}
4275 am__minus_obj="-o $am__obj"
4278 # This depmode causes a compiler race in universal mode.
4279 test "$am__universal" = false || continue
4282 # After this tag, mechanisms are not by side-effect, so they'll
4283 # only be used when explicitly requested.
4284 if test "x$enable_dependency_tracking" = xyes; then
4290 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4291 # This compiler won't grok '-c -o', but also, the minuso test has
4292 # not run yet. These depmodes are late enough in the game, and
4293 # so weak that their functioning should not be impacted.
4294 am__obj=conftest.${OBJEXT-o}
4299 if depmode=$depmode \
4300 source=sub/conftest.c object=$am__obj \
4301 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4302 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4303 >/dev/null 2>conftest.err &&
4304 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4305 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4306 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4307 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4308 # icc doesn't choke on unknown options, it will just issue warnings
4309 # or remarks (even with -Werror). So we grep stderr for any message
4310 # that says an option was ignored or not supported.
4311 # When given -MP, icc 7.0 and 7.1 complain thusly:
4312 # icc: Command line warning: ignoring option '-M'; no argument required
4313 # The diagnosis changed in icc 8.0:
4314 # icc: Command line remark: option '-MP' not supported
4315 if (grep 'ignoring option' conftest.err ||
4316 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4317 am_cv_CC_dependencies_compiler_type=$depmode
4326 am_cv_CC_dependencies_compiler_type=none
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4331 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4332 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4335 test "x$enable_dependency_tracking" != xno \
4336 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4338 am__fastdepCC_FALSE='#'
4340 am__fastdepCC_TRUE='#'
4341 am__fastdepCC_FALSE=
4346 if test -n "$ac_tool_prefix"; then
4347 for ac_prog in ar lib "link -lib"
4349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4350 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_AR+:} false; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$AR"; then
4357 ac_cv_prog_AR="$AR" # Let the user override the test.
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 if test -n "$AR"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4379 $as_echo "$AR" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 test -n "$AR" && break
4389 if test -z "$AR"; then
4391 for ac_prog in ar lib "link -lib"
4393 # Extract the first word of "$ac_prog", so it can be a program name with args.
4394 set dummy $ac_prog; ac_word=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4398 $as_echo_n "(cached) " >&6
4400 if test -n "$ac_ct_AR"; then
4401 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 test -z "$as_dir" && as_dir=.
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4410 ac_cv_prog_ac_ct_AR="$ac_prog"
4411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4421 if test -n "$ac_ct_AR"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4423 $as_echo "$ac_ct_AR" >&6; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4430 test -n "$ac_ct_AR" && break
4433 if test "x$ac_ct_AR" = x; then
4436 case $cross_compiling:$ac_tool_warned in
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4440 ac_tool_warned=yes ;;
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4449 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4450 if ${am_cv_ar_interface+:} false; then :
4451 $as_echo_n "(cached) " >&6
4454 ac_cpp='$CPP $CPPFLAGS'
4455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4459 am_cv_ar_interface=ar
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4462 int some_variable = 0;
4464 if ac_fn_c_try_compile "$LINENO"; then :
4465 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4466 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4467 (eval $am_ar_try) 2>&5
4469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4470 test $ac_status = 0; }
4471 if test "$ac_status" -eq 0; then
4472 am_cv_ar_interface=ar
4474 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4475 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4476 (eval $am_ar_try) 2>&5
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; }
4480 if test "$ac_status" -eq 0; then
4481 am_cv_ar_interface=lib
4483 am_cv_ar_interface=unknown
4486 rm -f conftest.lib libconftest.a
4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491 ac_cpp='$CPP $CPPFLAGS'
4492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4498 $as_echo "$am_cv_ar_interface" >&6; }
4500 case $am_cv_ar_interface in
4504 # Microsoft lib, so override with the ar-lib wrapper script.
4505 # FIXME: It is wrong to rewrite AR.
4506 # But if we don't then we get into trouble of one sort or another.
4507 # A longer-term fix would be to have automake use am__AR in this case,
4508 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4510 AR="$am_aux_dir/ar-lib $AR"
4513 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4521 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4526 macro_version='2.4.2'
4527 macro_revision='1.3337'
4541 ltmain="$ac_aux_dir/ltmain.sh"
4543 # Make sure we can run config.sub.
4544 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4545 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4548 $as_echo_n "checking build system type... " >&6; }
4549 if ${ac_cv_build+:} false; then :
4550 $as_echo_n "(cached) " >&6
4552 ac_build_alias=$build_alias
4553 test "x$ac_build_alias" = x &&
4554 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4555 test "x$ac_build_alias" = x &&
4556 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4557 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4558 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4562 $as_echo "$ac_cv_build" >&6; }
4563 case $ac_cv_build in
4565 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4568 ac_save_IFS=$IFS; IFS='-'
4574 # Remember, the first character of IFS is used to create $*,
4575 # except with old shells:
4578 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4582 $as_echo_n "checking host system type... " >&6; }
4583 if ${ac_cv_host+:} false; then :
4584 $as_echo_n "(cached) " >&6
4586 if test "x$host_alias" = x; then
4587 ac_cv_host=$ac_cv_build
4589 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4590 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4595 $as_echo "$ac_cv_host" >&6; }
4598 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4601 ac_save_IFS=$IFS; IFS='-'
4607 # Remember, the first character of IFS is used to create $*,
4608 # except with old shells:
4611 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4614 # Backslashify metacharacters that are still active within
4615 # double-quoted strings.
4616 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4618 # Same as above, but do not quote variable references.
4619 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4621 # Sed substitution to delay expansion of an escaped shell variable in a
4622 # double_quote_subst'ed string.
4623 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4625 # Sed substitution to delay expansion of an escaped single quote.
4626 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4628 # Sed substitution to avoid accidental globbing in evaled expressions
4629 no_glob_subst='s/\*/\\\*/g'
4631 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4632 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4633 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4636 $as_echo_n "checking how to print
strings...
" >&6; }
4637 # Test print first, because it will be a builtin if present.
4638 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4639 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4641 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4644 # Use this function as a fallback that always works.
4645 func_fallback_echo ()
4647 eval 'cat <<_LTECHO_EOF
4651 ECHO='func_fallback_echo'
4654 # func_echo_all arg...
4655 # Invoke $ECHO with all args, space-separated.
4662 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4663 $as_echo "printf" >&6; } ;;
4664 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4665 $as_echo "print
-r" >&6; } ;;
4666 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4667 $as_echo "cat" >&6; } ;;
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4684 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4685 if ${ac_cv_path_SED+:} false; then :
4686 $as_echo_n "(cached
) " >&6
4688 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4689 for ac_i in 1 2 3 4 5 6 7; do
4690 ac_script="$ac_script$as_nl$ac_script"
4692 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4693 { ac_script=; unset ac_script;}
4694 if test -z "$SED"; then
4695 ac_path_SED_found=false
4696 # Loop through the user's path and test for each of PROGNAME-LIST
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 test -z "$as_dir" && as_dir=.
4702 for ac_prog in sed gsed; do
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4705 as_fn_executable_p "$ac_path_SED" || continue
4706 # Check for GNU ac_path_SED and select it if it is found.
4707 # Check for GNU $ac_path_SED
4708 case `"$ac_path_SED" --version 2>&1` in
4710 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4713 $as_echo_n 0123456789 >"conftest.
in"
4716 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4717 mv "conftest.tmp
" "conftest.
in"
4718 cp "conftest.
in" "conftest.
nl"
4719 $as_echo '' >> "conftest.
nl"
4720 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4721 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4722 as_fn_arith $ac_count + 1 && ac_count=$as_val
4723 if test $ac_count -gt ${ac_path_SED_max-0}; then
4724 # Best one so far, save it but keep looking for a better one
4725 ac_cv_path_SED="$ac_path_SED"
4726 ac_path_SED_max=$ac_count
4728 # 10*(2^10) chars as input seems more than enough
4729 test $ac_count -gt 10 && break
4731 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4734 $ac_path_SED_found && break 3
4739 if test -z "$ac_cv_path_SED"; then
4740 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4748 $as_echo "$ac_cv_path_SED" >&6; }
4749 SED="$ac_cv_path_SED"
4752 test -z "$SED" && SED=sed
4753 Xsed="$SED -e 1s
/^X
//"
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4766 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4767 if ${ac_cv_path_GREP+:} false; then :
4768 $as_echo_n "(cached
) " >&6
4770 if test -z "$GREP"; then
4771 ac_path_GREP_found=false
4772 # Loop through the user's path and test for each of PROGNAME-LIST
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4777 test -z "$as_dir" && as_dir=.
4778 for ac_prog in grep ggrep; do
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4781 as_fn_executable_p "$ac_path_GREP" || continue
4782 # Check for GNU ac_path_GREP and select it if it is found.
4783 # Check for GNU $ac_path_GREP
4784 case `"$ac_path_GREP" --version 2>&1` in
4786 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4789 $as_echo_n 0123456789 >"conftest.
in"
4792 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4793 mv "conftest.tmp
" "conftest.
in"
4794 cp "conftest.
in" "conftest.
nl"
4795 $as_echo 'GREP' >> "conftest.
nl"
4796 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4797 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4798 as_fn_arith $ac_count + 1 && ac_count=$as_val
4799 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4800 # Best one so far, save it but keep looking for a better one
4801 ac_cv_path_GREP="$ac_path_GREP"
4802 ac_path_GREP_max=$ac_count
4804 # 10*(2^10) chars as input seems more than enough
4805 test $ac_count -gt 10 && break
4807 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4810 $ac_path_GREP_found && break 3
4815 if test -z "$ac_cv_path_GREP"; then
4816 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4819 ac_cv_path_GREP=$GREP
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4824 $as_echo "$ac_cv_path_GREP" >&6; }
4825 GREP="$ac_cv_path_GREP"
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4829 $as_echo_n "checking
for egrep...
" >&6; }
4830 if ${ac_cv_path_EGREP+:} false; then :
4831 $as_echo_n "(cached
) " >&6
4833 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4834 then ac_cv_path_EGREP="$GREP -E"
4836 if test -z "$EGREP"; then
4837 ac_path_EGREP_found=false
4838 # Loop through the user's path and test for each of PROGNAME-LIST
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4843 test -z "$as_dir" && as_dir=.
4844 for ac_prog in egrep; do
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4847 as_fn_executable_p "$ac_path_EGREP" || continue
4848 # Check for GNU ac_path_EGREP and select it if it is found.
4849 # Check for GNU $ac_path_EGREP
4850 case `"$ac_path_EGREP" --version 2>&1` in
4852 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4855 $as_echo_n 0123456789 >"conftest.
in"
4858 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4859 mv "conftest.tmp
" "conftest.
in"
4860 cp "conftest.
in" "conftest.
nl"
4861 $as_echo 'EGREP' >> "conftest.
nl"
4862 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4863 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4864 as_fn_arith $ac_count + 1 && ac_count=$as_val
4865 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4866 # Best one so far, save it but keep looking for a better one
4867 ac_cv_path_EGREP="$ac_path_EGREP"
4868 ac_path_EGREP_max=$ac_count
4870 # 10*(2^10) chars as input seems more than enough
4871 test $ac_count -gt 10 && break
4873 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4876 $ac_path_EGREP_found && break 3
4881 if test -z "$ac_cv_path_EGREP"; then
4882 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4885 ac_cv_path_EGREP=$EGREP
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4891 $as_echo "$ac_cv_path_EGREP" >&6; }
4892 EGREP="$ac_cv_path_EGREP"
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4896 $as_echo_n "checking
for fgrep...
" >&6; }
4897 if ${ac_cv_path_FGREP+:} false; then :
4898 $as_echo_n "(cached
) " >&6
4900 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4901 then ac_cv_path_FGREP="$GREP -F"
4903 if test -z "$FGREP"; then
4904 ac_path_FGREP_found=false
4905 # Loop through the user's path and test for each of PROGNAME-LIST
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4910 test -z "$as_dir" && as_dir=.
4911 for ac_prog in fgrep; do
4912 for ac_exec_ext in '' $ac_executable_extensions; do
4913 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4914 as_fn_executable_p "$ac_path_FGREP" || continue
4915 # Check for GNU ac_path_FGREP and select it if it is found.
4916 # Check for GNU $ac_path_FGREP
4917 case `"$ac_path_FGREP" --version 2>&1` in
4919 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4922 $as_echo_n 0123456789 >"conftest.
in"
4925 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4926 mv "conftest.tmp
" "conftest.
in"
4927 cp "conftest.
in" "conftest.
nl"
4928 $as_echo 'FGREP' >> "conftest.
nl"
4929 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4930 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4931 as_fn_arith $ac_count + 1 && ac_count=$as_val
4932 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4933 # Best one so far, save it but keep looking for a better one
4934 ac_cv_path_FGREP="$ac_path_FGREP"
4935 ac_path_FGREP_max=$ac_count
4937 # 10*(2^10) chars as input seems more than enough
4938 test $ac_count -gt 10 && break
4940 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4943 $ac_path_FGREP_found && break 3
4948 if test -z "$ac_cv_path_FGREP"; then
4949 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4952 ac_cv_path_FGREP=$FGREP
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4958 $as_echo "$ac_cv_path_FGREP" >&6; }
4959 FGREP="$ac_cv_path_FGREP"
4962 test -z "$GREP" && GREP=grep
4982 # Check whether --with-gnu-ld was given.
4983 if test "${with_gnu_ld+set}" = set; then :
4984 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4990 if test "$GCC" = yes; then
4991 # Check if gcc -print-prog-name=ld gives a path.
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4993 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4996 # gcc leaves a trailing carriage return which upsets mingw
4997 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4999 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5002 # Accept absolute paths.
5004 re_direlt='/[^/][^/]*/\.\./'
5005 # Canonicalize the pathname of ld
5006 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5007 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5008 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5010 test -z "$LD" && LD="$ac_prog"
5013 # If it fails, then pretend we aren't using GCC.
5017 # If it is relative, then search for the first ld in PATH.
5021 elif test "$with_gnu_ld" = yes; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5023 $as_echo_n "checking
for GNU ld...
" >&6; }
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5026 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5028 if ${lt_cv_path_LD+:} false; then :
5029 $as_echo_n "(cached
) " >&6
5031 if test -z "$LD"; then
5032 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5033 for ac_dir in $PATH; do
5035 test -z "$ac_dir" && ac_dir=.
5036 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5037 lt_cv_path_LD="$ac_dir/$ac_prog"
5038 # Check to see if the program is GNU ld. I'd rather use --version,
5039 # but apparently some variants of GNU ld only accept -v.
5040 # Break only if it was the GNU/non-GNU ld that we prefer.
5041 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5042 *GNU* | *'with BFD'*)
5043 test "$with_gnu_ld" != no && break
5046 test "$with_gnu_ld" != yes && break
5053 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5058 if test -n "$LD"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5060 $as_echo "$LD" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5063 $as_echo "no
" >&6; }
5065 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5067 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5068 if ${lt_cv_prog_gnu_ld+:} false; then :
5069 $as_echo_n "(cached
) " >&6
5071 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5072 case `$LD -v 2>&1 </dev/null` in
5073 *GNU* | *'with BFD'*)
5074 lt_cv_prog_gnu_ld=yes
5077 lt_cv_prog_gnu_ld=no
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5082 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5083 with_gnu_ld=$lt_cv_prog_gnu_ld
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5094 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5095 if ${lt_cv_path_NM+:} false; then :
5096 $as_echo_n "(cached
) " >&6
5098 if test -n "$NM"; then
5099 # Let the user override the test.
5102 lt_nm_to_check="${ac_tool_prefix}nm
"
5103 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5104 lt_nm_to_check="$lt_nm_to_check nm
"
5106 for lt_tmp_nm in $lt_nm_to_check; do
5107 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5108 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5110 test -z "$ac_dir" && ac_dir=.
5111 tmp_nm="$ac_dir/$lt_tmp_nm"
5112 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5113 # Check to see if the nm accepts a BSD-compat flag.
5114 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5115 # nm: unknown option "B
" ignored
5116 # Tru64's nm complains that /dev/null is an invalid object file
5117 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5118 */dev/null* | *'Invalid file or object type'*)
5119 lt_cv_path_NM="$tmp_nm -B"
5123 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5125 lt_cv_path_NM="$tmp_nm -p"
5129 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5130 continue # so that we can try to find one that supports BSD flags
5139 : ${lt_cv_path_NM=no}
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5143 $as_echo "$lt_cv_path_NM" >&6; }
5144 if test "$lt_cv_path_NM" != "no
"; then
5147 # Didn't find any BSD compatible name lister, look for dumpbin.
5148 if test -n "$DUMPBIN"; then :
5149 # Let the user override the test.
5151 if test -n "$ac_tool_prefix"; then
5152 for ac_prog in dumpbin "link
-dump"
5154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5157 $as_echo_n "checking
for $ac_word...
" >&6; }
5158 if ${ac_cv_prog_DUMPBIN+:} false; then :
5159 $as_echo_n "(cached
) " >&6
5161 if test -n "$DUMPBIN"; then
5162 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5181 DUMPBIN=$ac_cv_prog_DUMPBIN
5182 if test -n "$DUMPBIN"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5184 $as_echo "$DUMPBIN" >&6; }
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5187 $as_echo "no
" >&6; }
5191 test -n "$DUMPBIN" && break
5194 if test -z "$DUMPBIN"; then
5195 ac_ct_DUMPBIN=$DUMPBIN
5196 for ac_prog in dumpbin "link
-dump"
5198 # Extract the first word of "$ac_prog", so it can be a program name with args.
5199 set dummy $ac_prog; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5201 $as_echo_n "checking
for $ac_word...
" >&6; }
5202 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5203 $as_echo_n "(cached
) " >&6
5205 if test -n "$ac_ct_DUMPBIN"; then
5206 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5225 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5226 if test -n "$ac_ct_DUMPBIN"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5228 $as_echo "$ac_ct_DUMPBIN" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5231 $as_echo "no
" >&6; }
5235 test -n "$ac_ct_DUMPBIN" && break
5238 if test "x
$ac_ct_DUMPBIN" = x; then
5241 case $cross_compiling:$ac_tool_warned in
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5244 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5245 ac_tool_warned=yes ;;
5247 DUMPBIN=$ac_ct_DUMPBIN
5251 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5253 DUMPBIN="$DUMPBIN -symbols"
5261 if test "$DUMPBIN" != ":"; then
5265 test -z "$NM" && NM=nm
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5273 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5274 if ${lt_cv_nm_interface+:} false; then :
5275 $as_echo_n "(cached
) " >&6
5277 lt_cv_nm_interface="BSD nm
"
5278 echo "int some_variable
= 0;" > conftest.$ac_ext
5279 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5280 (eval "$ac_compile" 2>conftest.err)
5281 cat conftest.err >&5
5282 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5283 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5284 cat conftest.err >&5
5285 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5286 cat conftest.out >&5
5287 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5288 lt_cv_nm_interface="MS dumpbin
"
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5293 $as_echo "$lt_cv_nm_interface" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5296 $as_echo_n "checking whether
ln -s works...
" >&6; }
5298 if test "$LN_S" = "ln -s"; then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5300 $as_echo "yes" >&6; }
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5303 $as_echo "no
, using
$LN_S" >&6; }
5306 # find the maximum length of command line arguments
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5308 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5309 if ${lt_cv_sys_max_cmd_len+:} false; then :
5310 $as_echo_n "(cached
) " >&6
5317 # On DJGPP, this test can blow up pretty badly due to problems in libc
5318 # (any single argument exceeding 2000 bytes causes a buffer overrun
5319 # during glob expansion). Even if it were fixed, the result of this
5320 # check would be larger than it should be.
5321 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5325 # Under GNU Hurd, this test is not required because there is
5326 # no limit to the length of command line arguments.
5327 # Libtool will interpret -1 as no limit whatsoever
5328 lt_cv_sys_max_cmd_len=-1;
5331 cygwin* | mingw* | cegcc*)
5332 # On Win9x/ME, this test blows up -- it succeeds, but takes
5333 # about 5 minutes as the teststring grows exponentially.
5334 # Worse, since 9x/ME are not pre-emptively multitasking,
5335 # you end up with a "frozen
" computer, even though with patience
5336 # the test eventually succeeds (with a max line length of 256k).
5337 # Instead, let's just punt: use the minimum linelength reported by
5338 # all of the supported platforms: 8192 (on NT/2K/XP).
5339 lt_cv_sys_max_cmd_len=8192;
5343 # On MiNT this can take a long time and run out of memory.
5344 lt_cv_sys_max_cmd_len=8192;
5348 # On AmigaOS with pdksh, this test takes hours, literally.
5349 # So we just punt and use a minimum line length of 8192.
5350 lt_cv_sys_max_cmd_len=8192;
5353 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5354 # This has been around since 386BSD, at least. Likely further.
5355 if test -x /sbin/sysctl; then
5356 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5357 elif test -x /usr/sbin/sysctl; then
5358 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5360 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5362 # And add a safety zone
5363 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5364 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5368 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5369 lt_cv_sys_max_cmd_len=196608
5373 # The test takes a long time on OS/2.
5374 lt_cv_sys_max_cmd_len=8192
5378 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5379 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5380 # nice to cause kernel panics so lets avoid the loop below.
5381 # First set a reasonable default.
5382 lt_cv_sys_max_cmd_len=16384
5384 if test -x /sbin/sysconfig; then
5385 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5386 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5391 lt_cv_sys_max_cmd_len=102400
5393 sysv5* | sco5v6* | sysv4.2uw2*)
5394 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5395 if test -n "$kargmax"; then
5396 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5398 lt_cv_sys_max_cmd_len=32768
5402 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5403 if test -n "$lt_cv_sys_max_cmd_len" && \
5404 test undefined != "$lt_cv_sys_max_cmd_len"; then
5405 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5406 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5408 # Make teststring a little bigger before we do anything with it.
5409 # a 1K string should be a reasonable start.
5410 for i in 1 2 3 4 5 6 7 8 ; do
5411 teststring=$teststring$teststring
5413 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5414 # If test is not a shell built-in, we'll probably end up computing a
5415 # maximum length that is only half of the actual maximum length, but
5417 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5418 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5419 test $i != 17 # 1/2 MB should be enough
5422 teststring=$teststring$teststring
5424 # Only check the string length outside the loop.
5425 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5427 # Add a significant safety factor because C++ compilers can tack on
5428 # massive amounts of additional arguments before passing them to the
5429 # linker. It appears as though 1/2 is a usable value.
5430 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5437 if test -n $lt_cv_sys_max_cmd_len ; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5439 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5442 $as_echo "none
" >&6; }
5444 max_cmd_len=$lt_cv_sys_max_cmd_len
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5456 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5457 # Try some XSI features
5460 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5462 && eval 'test $(( 1 + 1 )) -eq 2 \
5463 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5466 $as_echo "$xsi_shell" >&6; }
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5470 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5472 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5474 && lt_shell_append=yes
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5476 $as_echo "$lt_shell_append" >&6; }
5479 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5489 # test EBCDIC or ASCII
5490 case `echo X|tr X '\101'` in
5491 A) # ASCII based system
5492 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5493 lt_SP2NL='tr \040 \012'
5494 lt_NL2SP='tr \015\012 \040\040'
5496 *) # EBCDIC based system
5497 lt_SP2NL='tr \100 \n'
5498 lt_NL2SP='tr \r\n \100\100'
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5511 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5512 if ${lt_cv_to_host_file_cmd+:} false; then :
5513 $as_echo_n "(cached
) " >&6
5518 *-*-mingw* ) # actually msys
5519 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5522 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5524 * ) # otherwise, assume *nix
5525 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5531 *-*-mingw* ) # actually msys
5532 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5535 lt_cv_to_host_file_cmd=func_convert_file_noop
5537 * ) # otherwise, assume *nix
5538 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5542 * ) # unhandled hosts (and "normal
" native builds)
5543 lt_cv_to_host_file_cmd=func_convert_file_noop
5549 to_host_file_cmd=$lt_cv_to_host_file_cmd
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5551 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5558 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5559 if ${lt_cv_to_tool_file_cmd+:} false; then :
5560 $as_echo_n "(cached
) " >&6
5562 #assume ordinary cross tools, or native build.
5563 lt_cv_to_tool_file_cmd=func_convert_file_noop
5567 *-*-mingw* ) # actually msys
5568 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5576 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5578 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5585 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5586 if ${lt_cv_ld_reload_flag+:} false; then :
5587 $as_echo_n "(cached
) " >&6
5589 lt_cv_ld_reload_flag='-r'
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5592 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5593 reload_flag=$lt_cv_ld_reload_flag
5594 case $reload_flag in
5596 *) reload_flag=" $reload_flag" ;;
5598 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5600 cygwin* | mingw* | pw32* | cegcc*)
5601 if test "$GCC" != yes; then
5606 if test "$GCC" = yes; then
5607 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5609 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5622 if test -n "$ac_tool_prefix"; then
5623 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5624 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5626 $as_echo_n "checking
for $ac_word...
" >&6; }
5627 if ${ac_cv_prog_OBJDUMP+:} false; then :
5628 $as_echo_n "(cached
) " >&6
5630 if test -n "$OBJDUMP"; then
5631 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5650 OBJDUMP=$ac_cv_prog_OBJDUMP
5651 if test -n "$OBJDUMP"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5653 $as_echo "$OBJDUMP" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5656 $as_echo "no
" >&6; }
5661 if test -z "$ac_cv_prog_OBJDUMP"; then
5662 ac_ct_OBJDUMP=$OBJDUMP
5663 # Extract the first word of "objdump
", so it can be a program name with args.
5664 set dummy objdump; ac_word=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5666 $as_echo_n "checking
for $ac_word...
" >&6; }
5667 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5668 $as_echo_n "(cached
) " >&6
5670 if test -n "$ac_ct_OBJDUMP"; then
5671 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5690 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5691 if test -n "$ac_ct_OBJDUMP"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5693 $as_echo "$ac_ct_OBJDUMP" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5696 $as_echo "no
" >&6; }
5699 if test "x
$ac_ct_OBJDUMP" = x; then
5702 case $cross_compiling:$ac_tool_warned in
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5705 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5706 ac_tool_warned=yes ;;
5708 OBJDUMP=$ac_ct_OBJDUMP
5711 OBJDUMP="$ac_cv_prog_OBJDUMP"
5714 test -z "$OBJDUMP" && OBJDUMP=objdump
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5725 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5726 if ${lt_cv_deplibs_check_method+:} false; then :
5727 $as_echo_n "(cached
) " >&6
5729 lt_cv_file_magic_cmd='$MAGIC_CMD'
5730 lt_cv_file_magic_test_file=
5731 lt_cv_deplibs_check_method='unknown'
5732 # Need to set the preceding variable on all platforms that support
5733 # interlibrary dependencies.
5734 # 'none' -- dependencies not supported.
5735 # `unknown' -- same as none, but documents that we really don't know.
5736 # 'pass_all' -- all dependencies passed with no checks.
5737 # 'test_compile' -- check by making test program.
5738 # 'file_magic [[regex]]' -- check by looking for files in library path
5739 # which responds to the $file_magic_cmd with a given extended regex.
5740 # If you have `file' or equivalent on your system and you're not sure
5741 # whether `pass_all' will *always* work, you probably want this one.
5745 lt_cv_deplibs_check_method=pass_all
5749 lt_cv_deplibs_check_method=pass_all
5753 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5754 lt_cv_file_magic_cmd='/usr/bin/file -L'
5755 lt_cv_file_magic_test_file=/shlib/libc.so
5759 # func_win32_libid is a shell function defined in ltmain.sh
5760 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5761 lt_cv_file_magic_cmd='func_win32_libid'
5765 # Base MSYS/MinGW do not provide the 'file' command needed by
5766 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5767 # unless we find 'file', for example because we are cross-compiling.
5768 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5769 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5770 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5771 lt_cv_file_magic_cmd='func_win32_libid'
5773 # Keep this pattern in sync with the one in func_win32_libid.
5774 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5775 lt_cv_file_magic_cmd='$OBJDUMP -f'
5780 # use the weaker test based on 'objdump'. See mingw*.
5781 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5782 lt_cv_file_magic_cmd='$OBJDUMP -f'
5785 darwin* | rhapsody*)
5786 lt_cv_deplibs_check_method=pass_all
5789 freebsd* | dragonfly*)
5790 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5793 # Not sure whether the presence of OpenBSD here was a mistake.
5794 # Let's accept both of them until this is cleared up.
5795 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5796 lt_cv_file_magic_cmd=/usr/bin/file
5797 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5801 lt_cv_deplibs_check_method=pass_all
5806 lt_cv_deplibs_check_method=pass_all
5809 hpux10.20* | hpux11*)
5810 lt_cv_file_magic_cmd=/usr/bin/file
5813 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5814 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5817 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]'
5818 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5821 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5822 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5828 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5829 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5832 irix5* | irix6* | nonstopux*)
5834 *-32|*"-32 ") libmagic=32-bit;;
5835 *-n32|*"-n32 ") libmagic=N32;;
5836 *-64|*"-64 ") libmagic=64-bit;;
5837 *) libmagic=never-match;;
5839 lt_cv_deplibs_check_method=pass_all
5842 # This must be glibc/ELF.
5843 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5844 lt_cv_deplibs_check_method=pass_all
5847 netbsd* | netbsdelf*-gnu)
5848 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5849 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5851 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5856 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5857 lt_cv_file_magic_cmd=/usr/bin/file
5858 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5862 lt_cv_deplibs_check_method=pass_all
5866 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5867 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5869 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5873 osf3* | osf4* | osf5*)
5874 lt_cv_deplibs_check_method=pass_all
5878 lt_cv_deplibs_check_method=pass_all
5882 lt_cv_deplibs_check_method=pass_all
5885 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5886 lt_cv_deplibs_check_method=pass_all
5890 case $host_vendor in
5892 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]'
5893 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5896 lt_cv_deplibs_check_method=pass_all
5899 lt_cv_file_magic_cmd='/bin/file'
5900 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5903 lt_cv_file_magic_cmd='/bin/file'
5904 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5905 lt_cv_file_magic_test_file=/lib/libc.so
5908 lt_cv_deplibs_check_method=pass_all
5911 lt_cv_deplibs_check_method=pass_all
5917 lt_cv_deplibs_check_method=pass_all
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5923 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5927 if test "$build" = "$host"; then
5930 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5933 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5939 file_magic_cmd=$lt_cv_file_magic_cmd
5940 deplibs_check_method=$lt_cv_deplibs_check_method
5941 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5964 if test -n "$ac_tool_prefix"; then
5965 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5966 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5968 $as_echo_n "checking
for $ac_word...
" >&6; }
5969 if ${ac_cv_prog_DLLTOOL+:} false; then :
5970 $as_echo_n "(cached
) " >&6
5972 if test -n "$DLLTOOL"; then
5973 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 test -z "$as_dir" && as_dir=.
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5992 DLLTOOL=$ac_cv_prog_DLLTOOL
5993 if test -n "$DLLTOOL"; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5995 $as_echo "$DLLTOOL" >&6; }
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5998 $as_echo "no
" >&6; }
6003 if test -z "$ac_cv_prog_DLLTOOL"; then
6004 ac_ct_DLLTOOL=$DLLTOOL
6005 # Extract the first word of "dlltool
", so it can be a program name with args.
6006 set dummy dlltool; ac_word=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6008 $as_echo_n "checking
for $ac_word...
" >&6; }
6009 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6010 $as_echo_n "(cached
) " >&6
6012 if test -n "$ac_ct_DLLTOOL"; then
6013 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6032 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6033 if test -n "$ac_ct_DLLTOOL"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6035 $as_echo "$ac_ct_DLLTOOL" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6038 $as_echo "no
" >&6; }
6041 if test "x
$ac_ct_DLLTOOL" = x; then
6044 case $cross_compiling:$ac_tool_warned in
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6047 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6048 ac_tool_warned=yes ;;
6050 DLLTOOL=$ac_ct_DLLTOOL
6053 DLLTOOL="$ac_cv_prog_DLLTOOL"
6056 test -z "$DLLTOOL" && DLLTOOL=dlltool
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6068 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6069 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6070 $as_echo_n "(cached
) " >&6
6072 lt_cv_sharedlib_from_linklib_cmd='unknown'
6075 cygwin* | mingw* | pw32* | cegcc*)
6076 # two different shell functions defined in ltmain.sh
6077 # decide which to use based on capabilities of $DLLTOOL
6078 case `$DLLTOOL --help 2>&1` in
6079 *--identify-strict*)
6080 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6083 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6088 # fallback: assume linklib IS sharedlib
6089 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6095 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6096 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6097 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6105 if test -n "$ac_tool_prefix"; then
6108 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6109 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6111 $as_echo_n "checking
for $ac_word...
" >&6; }
6112 if ${ac_cv_prog_AR+:} false; then :
6113 $as_echo_n "(cached
) " >&6
6115 if test -n "$AR"; then
6116 ac_cv_prog_AR="$AR" # Let the user override the test.
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6125 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6136 if test -n "$AR"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6138 $as_echo "$AR" >&6; }
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6141 $as_echo "no
" >&6; }
6145 test -n "$AR" && break
6148 if test -z "$AR"; then
6152 # Extract the first word of "$ac_prog", so it can be a program name with args.
6153 set dummy $ac_prog; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6155 $as_echo_n "checking
for $ac_word...
" >&6; }
6156 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6157 $as_echo_n "(cached
) " >&6
6159 if test -n "$ac_ct_AR"; then
6160 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6169 ac_cv_prog_ac_ct_AR="$ac_prog"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6179 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6180 if test -n "$ac_ct_AR"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6182 $as_echo "$ac_ct_AR" >&6; }
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6185 $as_echo "no
" >&6; }
6189 test -n "$ac_ct_AR" && break
6192 if test "x
$ac_ct_AR" = x; then
6195 case $cross_compiling:$ac_tool_warned in
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6198 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6199 ac_tool_warned=yes ;;
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6219 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6220 if ${lt_cv_ar_at_file+:} false; then :
6221 $as_echo_n "(cached
) " >&6
6224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6235 if ac_fn_c_try_compile "$LINENO"; then :
6236 echo conftest.$ac_objext > conftest.lst
6237 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6238 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6239 (eval $lt_ar_try) 2>&5
6241 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6242 test $ac_status = 0; }
6243 if test "$ac_status" -eq 0; then
6244 # Ensure the archiver fails upon bogus file names.
6245 rm -f conftest.$ac_objext libconftest.a
6246 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6247 (eval $lt_ar_try) 2>&5
6249 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6250 test $ac_status = 0; }
6251 if test "$ac_status" -ne 0; then
6255 rm -f conftest.* libconftest.a
6258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6262 $as_echo "$lt_cv_ar_at_file" >&6; }
6264 if test "x
$lt_cv_ar_at_file" = xno; then
6267 archiver_list_spec=$lt_cv_ar_at_file
6276 if test -n "$ac_tool_prefix"; then
6277 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6278 set dummy ${ac_tool_prefix}strip; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6280 $as_echo_n "checking
for $ac_word...
" >&6; }
6281 if ${ac_cv_prog_STRIP+:} false; then :
6282 $as_echo_n "(cached
) " >&6
6284 if test -n "$STRIP"; then
6285 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6294 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6304 STRIP=$ac_cv_prog_STRIP
6305 if test -n "$STRIP"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6307 $as_echo "$STRIP" >&6; }
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6310 $as_echo "no
" >&6; }
6315 if test -z "$ac_cv_prog_STRIP"; then
6317 # Extract the first word of "strip
", so it can be a program name with args.
6318 set dummy strip; ac_word=$2
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6320 $as_echo_n "checking
for $ac_word...
" >&6; }
6321 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6322 $as_echo_n "(cached
) " >&6
6324 if test -n "$ac_ct_STRIP"; then
6325 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 test -z "$as_dir" && as_dir=.
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6334 ac_cv_prog_ac_ct_STRIP="strip
"
6335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6344 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6345 if test -n "$ac_ct_STRIP"; then
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6347 $as_echo "$ac_ct_STRIP" >&6; }
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6350 $as_echo "no
" >&6; }
6353 if test "x
$ac_ct_STRIP" = x; then
6356 case $cross_compiling:$ac_tool_warned in
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6359 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6360 ac_tool_warned=yes ;;
6365 STRIP="$ac_cv_prog_STRIP"
6368 test -z "$STRIP" && STRIP=:
6375 if test -n "$ac_tool_prefix"; then
6376 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6377 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6379 $as_echo_n "checking
for $ac_word...
" >&6; }
6380 if ${ac_cv_prog_RANLIB+:} false; then :
6381 $as_echo_n "(cached
) " >&6
6383 if test -n "$RANLIB"; then
6384 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390 test -z "$as_dir" && as_dir=.
6391 for ac_exec_ext in '' $ac_executable_extensions; do
6392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6393 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6403 RANLIB=$ac_cv_prog_RANLIB
6404 if test -n "$RANLIB"; then
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6406 $as_echo "$RANLIB" >&6; }
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6409 $as_echo "no
" >&6; }
6414 if test -z "$ac_cv_prog_RANLIB"; then
6415 ac_ct_RANLIB=$RANLIB
6416 # Extract the first word of "ranlib
", so it can be a program name with args.
6417 set dummy ranlib; ac_word=$2
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6419 $as_echo_n "checking
for $ac_word...
" >&6; }
6420 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6421 $as_echo_n "(cached
) " >&6
6423 if test -n "$ac_ct_RANLIB"; then
6424 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6433 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6443 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6444 if test -n "$ac_ct_RANLIB"; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6446 $as_echo "$ac_ct_RANLIB" >&6; }
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6449 $as_echo "no
" >&6; }
6452 if test "x
$ac_ct_RANLIB" = x; then
6455 case $cross_compiling:$ac_tool_warned in
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6458 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6459 ac_tool_warned=yes ;;
6461 RANLIB=$ac_ct_RANLIB
6464 RANLIB="$ac_cv_prog_RANLIB"
6467 test -z "$RANLIB" && RANLIB=:
6474 # Determine commands to create old-style static archives.
6475 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6476 old_postinstall_cmds='chmod 644 $oldlib'
6477 old_postuninstall_cmds=
6479 if test -n "$RANLIB"; then
6482 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6485 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6488 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6493 lock_old_archive_extraction=yes ;;
6495 lock_old_archive_extraction=no ;;
6536 # If no C compiler was specified, use CC.
6539 # If no C compiler flags were specified, use CFLAGS.
6540 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6542 # Allow CC to be a program name with arguments.
6546 # Check for command to grab the raw symbol name followed by C symbol from nm.
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6548 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6549 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6550 $as_echo_n "(cached
) " >&6
6553 # These are sane defaults that work on at least a few old systems.
6554 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6556 # Character class describing NM global symbol codes.
6557 symcode='[BCDEGRST]'
6559 # Regexp to match symbols that can be accessed directly from C.
6560 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6562 # Define system-specific variables.
6567 cygwin* | mingw* | pw32* | cegcc*)
6568 symcode='[ABCDGISTW]'
6571 if test "$host_cpu" = ia64; then
6572 symcode='[ABCDEGRST]'
6576 symcode='[BCDEGRST]'
6579 symcode='[BCDEGQRST]'
6590 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6598 # If we're using GNU nm, then use its standard symbol codes.
6599 case `$NM -V 2>&1` in
6600 *GNU* | *'with BFD'*)
6601 symcode='[ABCDGIRSTW]' ;;
6604 # Transform an extracted symbol line into a proper C declaration.
6605 # Some systems (esp. on ia64) link data and code symbols differently,
6606 # so use this general approach.
6607 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6609 # Transform an extracted symbol line into symbol name and symbol address
6610 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6611 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6613 # Handle CRLF in mingw tool chain
6617 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6621 # Try without a prefix underscore, then with it.
6622 for ac_symprfx in "" "_
"; do
6624 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6625 symxfrm="\\1 $ac_symprfx\\2 \\2"
6627 # Write the raw and C identifiers.
6628 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6629 # Fake it for dumpbin and say T for any non-static function
6630 # and D for any global variable.
6631 # Also find C++ and __fastcall symbols from MSVC++,
6632 # which start with @ or ?.
6633 lt_cv_sys_global_symbol_pipe="$AWK '"\
6634 " {last_section=section; section=\$ 3};"\
6635 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6636 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6637 " \$ 0!~/External *\|/{next};"\
6638 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6639 " {if(hide[section]) next};"\
6640 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6641 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6642 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6643 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6644 " ' prfx
=^
$ac_symprfx"
6646 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6648 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6650 # Check to see that the pipe works correctly.
6654 cat > conftest.$ac_ext <<_LT_EOF
6659 void nm_test_func(void);
6660 void nm_test_func(void){}
6664 int main(){nm_test_var='a';nm_test_func();return(0);}
6667 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6668 (eval $ac_compile) 2>&5
6670 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6671 test $ac_status = 0; }; then
6672 # Now try to grab the symbols.
6674 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6675 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6677 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6678 test $ac_status = 0; } && test -s "$nlist"; then
6679 # Try sorting and uniquifying the output.
6680 if sort "$nlist" | uniq > "$nlist"T; then
6681 mv -f "$nlist"T "$nlist"
6686 # Make sure that we snagged all the symbols we need.
6687 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6688 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6689 cat <<_LT_EOF > conftest.$ac_ext
6690 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6691 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6692 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6693 relocations are performed -- see ld's documentation on pseudo-relocs. */
6694 # define LT_DLSYM_CONST
6695 #elif defined(__osf__)
6696 /* This system does not cope well with relocations in const data. */
6697 # define LT_DLSYM_CONST
6699 # define LT_DLSYM_CONST const
6707 # Now generate the symbol file.
6708 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6710 cat <<_LT_EOF >> conftest.$ac_ext
6712 /* The mapping between symbol names and symbols. */
6713 LT_DLSYM_CONST struct {
6717 lt__PROGRAM__LTX_preloaded_symbols[] =
6719 { "@PROGRAM@
", (void *) 0 },
6721 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6722 cat <<\_LT_EOF >> conftest.$ac_ext
6726 /* This works around a problem in FreeBSD linker */
6727 #ifdef FREEBSD_WORKAROUND
6728 static const void *lt_preloaded_setup() {
6729 return lt__PROGRAM__LTX_preloaded_symbols;
6737 # Now try linking the two files.
6738 mv conftest.$ac_objext conftstm.$ac_objext
6739 lt_globsym_save_LIBS=$LIBS
6740 lt_globsym_save_CFLAGS=$CFLAGS
6741 LIBS="conftstm.
$ac_objext"
6742 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6743 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6744 (eval $ac_link) 2>&5
6746 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6747 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6750 LIBS=$lt_globsym_save_LIBS
6751 CFLAGS=$lt_globsym_save_CFLAGS
6753 echo "cannot
find nm_test_func
in $nlist" >&5
6756 echo "cannot
find nm_test_var
in $nlist" >&5
6759 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6762 echo "$progname: failed program was
:" >&5
6763 cat conftest.$ac_ext >&5
6765 rm -rf conftest* conftst*
6767 # Do not use the global_symbol_pipe unless it works.
6768 if test "$pipe_works" = yes; then
6771 lt_cv_sys_global_symbol_pipe=
6777 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6778 lt_cv_sys_global_symbol_to_cdecl=
6780 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6782 $as_echo "failed
" >&6; }
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6785 $as_echo "ok
" >&6; }
6788 # Response file support.
6789 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6790 nm_file_list_spec='@'
6791 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6792 nm_file_list_spec='@'
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6822 $as_echo_n "checking
for sysroot...
" >&6; }
6824 # Check whether --with-sysroot was given.
6825 if test "${with_sysroot+set}" = set; then :
6826 withval=$with_sysroot;
6833 case ${with_sysroot} in #(
6835 if test "$GCC" = yes; then
6836 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6840 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6846 $as_echo "${with_sysroot}" >&6; }
6847 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6852 $as_echo "${lt_sysroot:-no}" >&6; }
6858 # Check whether --enable-libtool-lock was given.
6859 if test "${enable_libtool_lock+set}" = set; then :
6860 enableval=$enable_libtool_lock;
6863 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6865 # Some flags need to be propagated to the compiler or linker for good
6869 # Find out which ABI we are using.
6870 echo 'int i;' > conftest.$ac_ext
6871 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6872 (eval $ac_compile) 2>&5
6874 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6875 test $ac_status = 0; }; then
6876 case `/usr/bin/file conftest.$ac_objext` in
6888 # Find out which ABI we are using.
6889 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6890 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6891 (eval $ac_compile) 2>&5
6893 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6894 test $ac_status = 0; }; then
6895 if test "$lt_cv_prog_gnu_ld" = yes; then
6896 case `/usr/bin/file conftest.$ac_objext` in
6898 LD="${LD-ld} -melf32bsmip"
6901 LD="${LD-ld} -melf32bmipn32"
6904 LD="${LD-ld} -melf64bmip"
6908 case `/usr/bin/file conftest.$ac_objext` in
6924 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6925 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6926 # Find out which ABI we are using.
6927 echo 'int i;' > conftest.$ac_ext
6928 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6929 (eval $ac_compile) 2>&5
6931 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6932 test $ac_status = 0; }; then
6933 case `/usr/bin/file conftest.o` in
6936 x86_64-*kfreebsd*-gnu)
6937 LD="${LD-ld} -m elf_i386_fbsd
"
6940 case `/usr/bin/file conftest.o` in
6942 LD="${LD-ld} -m elf32_x86_64
"
6945 LD="${LD-ld} -m elf_i386
"
6950 LD="${LD-ld} -m elf32lppclinux
"
6953 LD="${LD-ld} -m elf32ppclinux
"
6956 LD="${LD-ld} -m elf_s390
"
6959 LD="${LD-ld} -m elf32_sparc
"
6965 x86_64-*kfreebsd*-gnu)
6966 LD="${LD-ld} -m elf_x86_64_fbsd
"
6969 LD="${LD-ld} -m elf_x86_64
"
6972 LD="${LD-ld} -m elf64lppc
"
6975 LD="${LD-ld} -m elf64ppc
"
6977 s390*-*linux*|s390*-*tpf*)
6978 LD="${LD-ld} -m elf64_s390
"
6981 LD="${LD-ld} -m elf64_sparc
"
6991 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6992 SAVE_CFLAGS="$CFLAGS"
6993 CFLAGS="$CFLAGS -belf"
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6995 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6996 if ${lt_cv_cc_needs_belf+:} false; then :
6997 $as_echo_n "(cached
) " >&6
7000 ac_cpp='$CPP $CPPFLAGS'
7001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7006 /* end confdefs.h. */
7016 if ac_fn_c_try_link "$LINENO"; then :
7017 lt_cv_cc_needs_belf=yes
7019 lt_cv_cc_needs_belf=no
7021 rm -f core conftest.err conftest.$ac_objext \
7022 conftest$ac_exeext conftest.$ac_ext
7024 ac_cpp='$CPP $CPPFLAGS'
7025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7031 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7032 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7033 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7034 CFLAGS="$SAVE_CFLAGS"
7038 # Find out which ABI we are using.
7039 echo 'int i;' > conftest.$ac_ext
7040 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7041 (eval $ac_compile) 2>&5
7043 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7044 test $ac_status = 0; }; then
7045 case `/usr/bin/file conftest.o` in
7047 case $lt_cv_prog_gnu_ld in
7051 LD="${LD-ld} -m elf_x86_64
"
7054 LD="${LD-ld} -m elf64_sparc
"
7057 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7058 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7063 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7075 need_locks="$enable_libtool_lock"
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}mt; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7081 $as_echo_n "checking
for $ac_word...
" >&6; }
7082 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7083 $as_echo_n "(cached
) " >&6
7085 if test -n "$MANIFEST_TOOL"; then
7086 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7095 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7105 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7106 if test -n "$MANIFEST_TOOL"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7108 $as_echo "$MANIFEST_TOOL" >&6; }
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7111 $as_echo "no
" >&6; }
7116 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7117 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7118 # Extract the first word of "mt
", so it can be a program name with args.
7119 set dummy mt; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7121 $as_echo_n "checking
for $ac_word...
" >&6; }
7122 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7123 $as_echo_n "(cached
) " >&6
7125 if test -n "$ac_ct_MANIFEST_TOOL"; then
7126 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7145 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7146 if test -n "$ac_ct_MANIFEST_TOOL"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7148 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7151 $as_echo "no
" >&6; }
7154 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7157 case $cross_compiling:$ac_tool_warned in
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7160 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7161 ac_tool_warned=yes ;;
7163 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7166 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7169 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7171 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7172 if ${lt_cv_path_mainfest_tool+:} false; then :
7173 $as_echo_n "(cached
) " >&6
7175 lt_cv_path_mainfest_tool=no
7176 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7177 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7178 cat conftest.err >&5
7179 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7180 lt_cv_path_mainfest_tool=yes
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7185 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7186 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7196 rhapsody* | darwin*)
7197 if test -n "$ac_tool_prefix"; then
7198 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7199 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7201 $as_echo_n "checking
for $ac_word...
" >&6; }
7202 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7203 $as_echo_n "(cached
) " >&6
7205 if test -n "$DSYMUTIL"; then
7206 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7212 test -z "$as_dir" && as_dir=.
7213 for ac_exec_ext in '' $ac_executable_extensions; do
7214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7215 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7225 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7226 if test -n "$DSYMUTIL"; then
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7228 $as_echo "$DSYMUTIL" >&6; }
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7231 $as_echo "no
" >&6; }
7236 if test -z "$ac_cv_prog_DSYMUTIL"; then
7237 ac_ct_DSYMUTIL=$DSYMUTIL
7238 # Extract the first word of "dsymutil
", so it can be a program name with args.
7239 set dummy dsymutil; ac_word=$2
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7241 $as_echo_n "checking
for $ac_word...
" >&6; }
7242 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7243 $as_echo_n "(cached
) " >&6
7245 if test -n "$ac_ct_DSYMUTIL"; then
7246 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 test -z "$as_dir" && as_dir=.
7253 for ac_exec_ext in '' $ac_executable_extensions; do
7254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7255 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7265 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7266 if test -n "$ac_ct_DSYMUTIL"; then
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7268 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7271 $as_echo "no
" >&6; }
7274 if test "x
$ac_ct_DSYMUTIL" = x; then
7277 case $cross_compiling:$ac_tool_warned in
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7280 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7281 ac_tool_warned=yes ;;
7283 DSYMUTIL=$ac_ct_DSYMUTIL
7286 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7289 if test -n "$ac_tool_prefix"; then
7290 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7291 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7293 $as_echo_n "checking
for $ac_word...
" >&6; }
7294 if ${ac_cv_prog_NMEDIT+:} false; then :
7295 $as_echo_n "(cached
) " >&6
7297 if test -n "$NMEDIT"; then
7298 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 test -z "$as_dir" && as_dir=.
7305 for ac_exec_ext in '' $ac_executable_extensions; do
7306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7307 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7317 NMEDIT=$ac_cv_prog_NMEDIT
7318 if test -n "$NMEDIT"; then
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7320 $as_echo "$NMEDIT" >&6; }
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7323 $as_echo "no
" >&6; }
7328 if test -z "$ac_cv_prog_NMEDIT"; then
7329 ac_ct_NMEDIT=$NMEDIT
7330 # Extract the first word of "nmedit
", so it can be a program name with args.
7331 set dummy nmedit; ac_word=$2
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7333 $as_echo_n "checking
for $ac_word...
" >&6; }
7334 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7335 $as_echo_n "(cached
) " >&6
7337 if test -n "$ac_ct_NMEDIT"; then
7338 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7344 test -z "$as_dir" && as_dir=.
7345 for ac_exec_ext in '' $ac_executable_extensions; do
7346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7347 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7357 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7358 if test -n "$ac_ct_NMEDIT"; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7360 $as_echo "$ac_ct_NMEDIT" >&6; }
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7363 $as_echo "no
" >&6; }
7366 if test "x
$ac_ct_NMEDIT" = x; then
7369 case $cross_compiling:$ac_tool_warned in
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7372 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7373 ac_tool_warned=yes ;;
7375 NMEDIT=$ac_ct_NMEDIT
7378 NMEDIT="$ac_cv_prog_NMEDIT"
7381 if test -n "$ac_tool_prefix"; then
7382 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7383 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7385 $as_echo_n "checking
for $ac_word...
" >&6; }
7386 if ${ac_cv_prog_LIPO+:} false; then :
7387 $as_echo_n "(cached
) " >&6
7389 if test -n "$LIPO"; then
7390 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 test -z "$as_dir" && as_dir=.
7397 for ac_exec_ext in '' $ac_executable_extensions; do
7398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7399 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7400 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7409 LIPO=$ac_cv_prog_LIPO
7410 if test -n "$LIPO"; then
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7412 $as_echo "$LIPO" >&6; }
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7415 $as_echo "no
" >&6; }
7420 if test -z "$ac_cv_prog_LIPO"; then
7422 # Extract the first word of "lipo
", so it can be a program name with args.
7423 set dummy lipo; ac_word=$2
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7425 $as_echo_n "checking
for $ac_word...
" >&6; }
7426 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7427 $as_echo_n "(cached
) " >&6
7429 if test -n "$ac_ct_LIPO"; then
7430 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7436 test -z "$as_dir" && as_dir=.
7437 for ac_exec_ext in '' $ac_executable_extensions; do
7438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7439 ac_cv_prog_ac_ct_LIPO="lipo
"
7440 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7449 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7450 if test -n "$ac_ct_LIPO"; then
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7452 $as_echo "$ac_ct_LIPO" >&6; }
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7455 $as_echo "no
" >&6; }
7458 if test "x
$ac_ct_LIPO" = x; then
7461 case $cross_compiling:$ac_tool_warned in
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7464 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7465 ac_tool_warned=yes ;;
7470 LIPO="$ac_cv_prog_LIPO"
7473 if test -n "$ac_tool_prefix"; then
7474 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7475 set dummy ${ac_tool_prefix}otool; ac_word=$2
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7477 $as_echo_n "checking
for $ac_word...
" >&6; }
7478 if ${ac_cv_prog_OTOOL+:} false; then :
7479 $as_echo_n "(cached
) " >&6
7481 if test -n "$OTOOL"; then
7482 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7488 test -z "$as_dir" && as_dir=.
7489 for ac_exec_ext in '' $ac_executable_extensions; do
7490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7491 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7501 OTOOL=$ac_cv_prog_OTOOL
7502 if test -n "$OTOOL"; then
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7504 $as_echo "$OTOOL" >&6; }
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7507 $as_echo "no
" >&6; }
7512 if test -z "$ac_cv_prog_OTOOL"; then
7514 # Extract the first word of "otool
", so it can be a program name with args.
7515 set dummy otool; ac_word=$2
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7517 $as_echo_n "checking
for $ac_word...
" >&6; }
7518 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7519 $as_echo_n "(cached
) " >&6
7521 if test -n "$ac_ct_OTOOL"; then
7522 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 test -z "$as_dir" && as_dir=.
7529 for ac_exec_ext in '' $ac_executable_extensions; do
7530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7531 ac_cv_prog_ac_ct_OTOOL="otool
"
7532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7541 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7542 if test -n "$ac_ct_OTOOL"; then
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7544 $as_echo "$ac_ct_OTOOL" >&6; }
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7547 $as_echo "no
" >&6; }
7550 if test "x
$ac_ct_OTOOL" = x; then
7553 case $cross_compiling:$ac_tool_warned in
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7556 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7557 ac_tool_warned=yes ;;
7562 OTOOL="$ac_cv_prog_OTOOL"
7565 if test -n "$ac_tool_prefix"; then
7566 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7567 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7569 $as_echo_n "checking
for $ac_word...
" >&6; }
7570 if ${ac_cv_prog_OTOOL64+:} false; then :
7571 $as_echo_n "(cached
) " >&6
7573 if test -n "$OTOOL64"; then
7574 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir=.
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7583 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7593 OTOOL64=$ac_cv_prog_OTOOL64
7594 if test -n "$OTOOL64"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7596 $as_echo "$OTOOL64" >&6; }
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7599 $as_echo "no
" >&6; }
7604 if test -z "$ac_cv_prog_OTOOL64"; then
7605 ac_ct_OTOOL64=$OTOOL64
7606 # Extract the first word of "otool64
", so it can be a program name with args.
7607 set dummy otool64; ac_word=$2
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7609 $as_echo_n "checking
for $ac_word...
" >&6; }
7610 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7611 $as_echo_n "(cached
) " >&6
7613 if test -n "$ac_ct_OTOOL64"; then
7614 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620 test -z "$as_dir" && as_dir=.
7621 for ac_exec_ext in '' $ac_executable_extensions; do
7622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7623 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7633 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7634 if test -n "$ac_ct_OTOOL64"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7636 $as_echo "$ac_ct_OTOOL64" >&6; }
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7639 $as_echo "no
" >&6; }
7642 if test "x
$ac_ct_OTOOL64" = x; then
7645 case $cross_compiling:$ac_tool_warned in
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7648 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7649 ac_tool_warned=yes ;;
7651 OTOOL64=$ac_ct_OTOOL64
7654 OTOOL64="$ac_cv_prog_OTOOL64"
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7684 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7685 if ${lt_cv_apple_cc_single_mod+:} false; then :
7686 $as_echo_n "(cached
) " >&6
7688 lt_cv_apple_cc_single_mod=no
7689 if test -z "${LT_MULTI_MODULE}"; then
7690 # By default we will add the -single_module flag. You can override
7691 # by either setting the environment variable LT_MULTI_MODULE
7692 # non-empty at configure time, or by adding -multi_module to the
7694 rm -rf libconftest.dylib*
7695 echo "int foo
(void
){return 1;}" > conftest.c
7696 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7697 -dynamiclib -Wl,-single_module conftest.c
" >&5
7698 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7699 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7701 # If there is a non-empty error log, and "single_module
"
7702 # appears in it, assume the flag caused a linker warning
7703 if test -s conftest.err && $GREP single_module conftest.err; then
7704 cat conftest.err >&5
7705 # Otherwise, if the output was created with a 0 exit code from
7706 # the compiler, it worked.
7707 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7708 lt_cv_apple_cc_single_mod=yes
7710 cat conftest.err >&5
7712 rm -rf libconftest.dylib*
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7717 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7720 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7721 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7722 $as_echo_n "(cached
) " >&6
7724 lt_cv_ld_exported_symbols_list=no
7725 save_LDFLAGS=$LDFLAGS
7726 echo "_main
" > conftest.sym
7727 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7729 /* end confdefs.h. */
7739 if ac_fn_c_try_link "$LINENO"; then :
7740 lt_cv_ld_exported_symbols_list=yes
7742 lt_cv_ld_exported_symbols_list=no
7744 rm -f core conftest.err conftest.$ac_objext \
7745 conftest$ac_exeext conftest.$ac_ext
7746 LDFLAGS="$save_LDFLAGS"
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7750 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7753 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7754 if ${lt_cv_ld_force_load+:} false; then :
7755 $as_echo_n "(cached
) " >&6
7757 lt_cv_ld_force_load=no
7758 cat > conftest.c << _LT_EOF
7759 int forced_loaded() { return 2;}
7761 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7762 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7763 echo "$AR cru libconftest.a conftest.o
" >&5
7764 $AR cru libconftest.a conftest.o 2>&5
7765 echo "$RANLIB libconftest.a
" >&5
7766 $RANLIB libconftest.a 2>&5
7767 cat > conftest.c << _LT_EOF
7768 int main() { return 0;}
7770 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7771 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7773 if test -s conftest.err && $GREP force_load conftest.err; then
7774 cat conftest.err >&5
7775 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7776 lt_cv_ld_force_load=yes
7778 cat conftest.err >&5
7780 rm -f conftest.err libconftest.a conftest conftest.c
7781 rm -rf conftest.dSYM
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7785 $as_echo "$lt_cv_ld_force_load" >&6; }
7787 rhapsody* | darwin1.[012])
7788 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7790 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7791 darwin*) # darwin 5.x on
7792 # if running on 10.5 or later, the deployment target defaults
7793 # to the OS version, if on x86, and 10.4, the deployment
7794 # target defaults to 10.4. Don't you love it?
7795 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7796 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7797 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7799 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7801 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7805 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7806 _lt_dar_single_mod='$single_module'
7808 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7809 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7811 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7813 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7814 _lt_dsymutil='~$DSYMUTIL $lib || :'
7822 ac_cpp='$CPP $CPPFLAGS'
7823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7827 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7828 # On Suns, sometimes $CPP names a directory.
7829 if test -n "$CPP" && test -d "$CPP"; then
7832 if test -z "$CPP"; then
7833 if ${ac_cv_prog_CPP+:} false; then :
7834 $as_echo_n "(cached
) " >&6
7836 # Double quotes because CPP needs to be expanded
7837 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7840 for ac_c_preproc_warn_flag in '' yes
7842 # Use a header file that comes with gcc, so configuring glibc
7843 # with a fresh cross-compiler works.
7844 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7845 # <limits.h> exists even on freestanding compilers.
7846 # On the NeXT, cc -E runs the code through the compiler's parser,
7847 # not just through cpp. "Syntax error
" is here to catch this case.
7848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 /* end confdefs.h. */
7851 # include <limits.h>
7853 # include <assert.h>
7857 if ac_fn_c_try_cpp "$LINENO"; then :
7860 # Broken: fails on valid input.
7863 rm -f conftest.err conftest.i conftest.$ac_ext
7865 # OK, works on sane cases. Now check whether nonexistent headers
7866 # can be detected and how.
7867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7868 /* end confdefs.h. */
7869 #include <ac_nonexistent.h>
7871 if ac_fn_c_try_cpp "$LINENO"; then :
7872 # Broken: success on invalid input.
7875 # Passes both tests.
7879 rm -f conftest.err conftest.i conftest.$ac_ext
7882 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7883 rm -f conftest.i conftest.err conftest.$ac_ext
7884 if $ac_preproc_ok; then :
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7897 $as_echo "$CPP" >&6; }
7899 for ac_c_preproc_warn_flag in '' yes
7901 # Use a header file that comes with gcc, so configuring glibc
7902 # with a fresh cross-compiler works.
7903 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7904 # <limits.h> exists even on freestanding compilers.
7905 # On the NeXT, cc -E runs the code through the compiler's parser,
7906 # not just through cpp. "Syntax error
" is here to catch this case.
7907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7908 /* end confdefs.h. */
7910 # include <limits.h>
7912 # include <assert.h>
7916 if ac_fn_c_try_cpp "$LINENO"; then :
7919 # Broken: fails on valid input.
7922 rm -f conftest.err conftest.i conftest.$ac_ext
7924 # OK, works on sane cases. Now check whether nonexistent headers
7925 # can be detected and how.
7926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7927 /* end confdefs.h. */
7928 #include <ac_nonexistent.h>
7930 if ac_fn_c_try_cpp "$LINENO"; then :
7931 # Broken: success on invalid input.
7934 # Passes both tests.
7938 rm -f conftest.err conftest.i conftest.$ac_ext
7941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7942 rm -f conftest.i conftest.err conftest.$ac_ext
7943 if $ac_preproc_ok; then :
7946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7948 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7949 See \`config.log' for more details
" "$LINENO" 5; }
7953 ac_cpp='$CPP $CPPFLAGS'
7954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7960 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7961 if ${ac_cv_header_stdc+:} false; then :
7962 $as_echo_n "(cached
) " >&6
7964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7965 /* end confdefs.h. */
7979 if ac_fn_c_try_compile "$LINENO"; then :
7980 ac_cv_header_stdc=yes
7982 ac_cv_header_stdc=no
7984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7986 if test $ac_cv_header_stdc = yes; then
7987 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h. */
7993 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7994 $EGREP "memchr
" >/dev/null 2>&1; then :
7997 ac_cv_header_stdc=no
8003 if test $ac_cv_header_stdc = yes; then
8004 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8006 /* end confdefs.h. */
8010 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8011 $EGREP "free
" >/dev/null 2>&1; then :
8014 ac_cv_header_stdc=no
8020 if test $ac_cv_header_stdc = yes; then
8021 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8022 if test "$cross_compiling" = yes; then :
8025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8026 /* end confdefs.h. */
8029 #if ((' ' & 0x0FF) == 0x020)
8030 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8031 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8033 # define ISLOWER(c) \
8034 (('a' <= (c) && (c) <= 'i') \
8035 || ('j' <= (c) && (c) <= 'r') \
8036 || ('s' <= (c) && (c) <= 'z'))
8037 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8040 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8045 for (i = 0; i < 256; i++)
8046 if (XOR (islower (i), ISLOWER (i))
8047 || toupper (i) != TOUPPER (i))
8052 if ac_fn_c_try_run "$LINENO"; then :
8055 ac_cv_header_stdc=no
8057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8058 conftest.$ac_objext conftest.beam conftest.$ac_ext
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8064 $as_echo "$ac_cv_header_stdc" >&6; }
8065 if test $ac_cv_header_stdc = yes; then
8067 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8071 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8072 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8073 inttypes.h stdint.h unistd.h
8075 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8076 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8078 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8079 cat >>confdefs.h
<<_ACEOF
8080 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8088 for ac_header
in dlfcn.h
8090 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8092 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8093 cat >>confdefs.h
<<_ACEOF
8094 #define HAVE_DLFCN_H 1
8107 # Check whether --enable-static was given.
8108 if test "${enable_static+set}" = set; then :
8109 enableval
=$enable_static; p
=${PACKAGE-default}
8111 yes) enable_static
=yes ;;
8112 no
) enable_static
=no
;;
8115 # Look at the argument we got. We use all the common list separators.
8116 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8117 for pkg
in $enableval; do
8119 if test "X$pkg" = "X$p"; then
8143 # Check whether --enable-shared was given.
8144 if test "${enable_shared+set}" = set; then :
8145 enableval
=$enable_shared; p
=${PACKAGE-default}
8147 yes) enable_shared
=yes ;;
8148 no
) enable_shared
=no
;;
8151 # Look at the argument we got. We use all the common list separators.
8152 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8153 for pkg
in $enableval; do
8155 if test "X$pkg" = "X$p"; then
8176 # Check whether --with-pic was given.
8177 if test "${with_pic+set}" = set; then :
8178 withval
=$with_pic; lt_p
=${PACKAGE-default}
8180 yes|no
) pic_mode
=$withval ;;
8183 # Look at the argument we got. We use all the common list separators.
8184 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8185 for lt_pkg
in $withval; do
8187 if test "X$lt_pkg" = "X$lt_p"; then
8199 test -z "$pic_mode" && pic_mode
=default
8207 # Check whether --enable-fast-install was given.
8208 if test "${enable_fast_install+set}" = set; then :
8209 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8211 yes) enable_fast_install
=yes ;;
8212 no
) enable_fast_install
=no
;;
8214 enable_fast_install
=no
8215 # Look at the argument we got. We use all the common list separators.
8216 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8217 for pkg
in $enableval; do
8219 if test "X$pkg" = "X$p"; then
8220 enable_fast_install
=yes
8227 enable_fast_install
=yes
8240 # This can be used to rebuild libtool when needed
8241 LIBTOOL_DEPS
="$ltmain"
8243 # Always use our own libtool.
8244 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8275 test -z "$LN_S" && LN_S
="ln -s"
8290 if test -n "${ZSH_VERSION+set}" ; then
8291 setopt NO_GLOB_SUBST
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8295 $as_echo_n "checking for objdir... " >&6; }
8296 if ${lt_cv_objdir+:} false
; then :
8297 $as_echo_n "(cached) " >&6
8299 rm -f .libs
2>/dev
/null
8300 mkdir .libs
2>/dev
/null
8301 if test -d .libs
; then
8304 # MS-DOS does not allow filenames that begin with a dot.
8307 rmdir .libs
2>/dev
/null
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8310 $as_echo "$lt_cv_objdir" >&6; }
8311 objdir
=$lt_cv_objdir
8317 cat >>confdefs.h
<<_ACEOF
8318 #define LT_OBJDIR "$lt_cv_objdir/"
8326 # AIX sometimes has problems with the GCC collect2 program. For some
8327 # reason, if we set the COLLECT_NAMES environment variable, the problems
8328 # vanish in a puff of smoke.
8329 if test "X${COLLECT_NAMES+set}" != Xset
; then
8331 export COLLECT_NAMES
8338 can_build_shared
=yes
8340 # All known linkers require a `.a' archive for static linking (except MSVC,
8341 # which needs '.lib').
8344 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8347 old_CFLAGS
="$CFLAGS"
8349 # Set sane defaults for various variables
8350 test -z "$CC" && CC
=cc
8351 test -z "$LTCC" && LTCC
=$CC
8352 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8353 test -z "$LD" && LD
=ld
8354 test -z "$ac_objext" && ac_objext
=o
8356 for cc_temp
in $compiler""; do
8358 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8359 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8364 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8367 # Only perform the check for file, if the check method requires it
8368 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8369 case $deplibs_check_method in
8371 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8373 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8374 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8375 $as_echo_n "(cached) " >&6
8379 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8382 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8383 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8384 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8385 for ac_dir
in $ac_dummy; do
8387 test -z "$ac_dir" && ac_dir
=.
8388 if test -f $ac_dir/${ac_tool_prefix}file; then
8389 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8390 if test -n "$file_magic_test_file"; then
8391 case $deplibs_check_method in
8393 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8394 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8395 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8396 $EGREP "$file_magic_regex" > /dev
/null
; then
8401 *** Warning: the command libtool uses to detect shared libraries,
8402 *** $file_magic_cmd, produces output that libtool cannot recognize.
8403 *** The result is that libtool may fail to recognize shared libraries
8404 *** as such. This will affect the creation of libtool libraries that
8405 *** depend on shared libraries, but programs linked with such libtool
8406 *** libraries will work regardless of this problem. Nevertheless, you
8407 *** may want to report the problem to your system manager and/or to
8408 *** bug-libtool@gnu.org
8418 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8423 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8424 if test -n "$MAGIC_CMD"; then
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8426 $as_echo "$MAGIC_CMD" >&6; }
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8429 $as_echo "no" >&6; }
8436 if test -z "$lt_cv_path_MAGIC_CMD"; then
8437 if test -n "$ac_tool_prefix"; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8439 $as_echo_n "checking for file... " >&6; }
8440 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8441 $as_echo_n "(cached) " >&6
8445 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8448 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8449 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8450 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8451 for ac_dir
in $ac_dummy; do
8453 test -z "$ac_dir" && ac_dir
=.
8454 if test -f $ac_dir/file; then
8455 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8456 if test -n "$file_magic_test_file"; then
8457 case $deplibs_check_method in
8459 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8460 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8461 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8462 $EGREP "$file_magic_regex" > /dev
/null
; then
8467 *** Warning: the command libtool uses to detect shared libraries,
8468 *** $file_magic_cmd, produces output that libtool cannot recognize.
8469 *** The result is that libtool may fail to recognize shared libraries
8470 *** as such. This will affect the creation of libtool libraries that
8471 *** depend on shared libraries, but programs linked with such libtool
8472 *** libraries will work regardless of this problem. Nevertheless, you
8473 *** may want to report the problem to your system manager and/or to
8474 *** bug-libtool@gnu.org
8484 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8489 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8490 if test -n "$MAGIC_CMD"; then
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8492 $as_echo "$MAGIC_CMD" >&6; }
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8495 $as_echo "no" >&6; }
8508 # Use C for the default configuration in the libtool script
8512 ac_cpp
='$CPP $CPPFLAGS'
8513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8518 # Source file extension for C test sources.
8521 # Object file extension for compiled C test sources.
8525 # Code to be used in simple compile tests
8526 lt_simple_compile_test_code
="int some_variable = 0;"
8528 # Code to be used in simple link tests
8529 lt_simple_link_test_code
='int main(){return(0);}'
8537 # If no C compiler was specified, use CC.
8540 # If no C compiler flags were specified, use CFLAGS.
8541 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8543 # Allow CC to be a program name with arguments.
8546 # Save the default compiler, since it gets overwritten when the other
8547 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8548 compiler_DEFAULT
=$CC
8550 # save warnings/boilerplate of simple test code
8551 ac_outfile
=conftest.
$ac_objext
8552 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8553 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8554 _lt_compiler_boilerplate
=`cat conftest.err`
8557 ac_outfile
=conftest.
$ac_objext
8558 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8559 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8560 _lt_linker_boilerplate
=`cat conftest.err`
8565 ## There is no encapsulation within the following macros, do not change
8566 ## the running order or otherwise move them around unless you know exactly
8567 ## what you are doing...
8568 if test -n "$compiler"; then
8570 lt_prog_compiler_no_builtin_flag
=
8572 if test "$GCC" = yes; then
8573 case $cc_basename in
8575 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8577 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8581 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8582 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8583 $as_echo_n "(cached) " >&6
8585 lt_cv_prog_compiler_rtti_exceptions
=no
8586 ac_outfile
=conftest.
$ac_objext
8587 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8588 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8589 # Insert the option either (1) after the last *FLAGS variable, or
8590 # (2) before a word containing "conftest.", or (3) at the end.
8591 # Note that $ac_compile itself does not contain backslashes and begins
8592 # with a dollar sign (not a hyphen), so the echo should work correctly.
8593 # The option is referenced via a variable to avoid confusing sed.
8594 lt_compile
=`echo "$ac_compile" | $SED \
8595 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8597 -e 's:$: $lt_compiler_flag:'`
8598 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8599 (eval "$lt_compile" 2>conftest.err
)
8601 cat conftest.err
>&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 if (exit $ac_status) && test -s "$ac_outfile"; then
8604 # The compiler can only warn and ignore the option if not recognized
8605 # So say no if there are warnings other than the usual output.
8606 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8607 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8608 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8609 lt_cv_prog_compiler_rtti_exceptions
=yes
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8616 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8618 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8619 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8631 lt_prog_compiler_wl
=
8632 lt_prog_compiler_pic
=
8633 lt_prog_compiler_static
=
8636 if test "$GCC" = yes; then
8637 lt_prog_compiler_wl
='-Wl,'
8638 lt_prog_compiler_static
='-static'
8642 # All AIX code is PIC.
8643 if test "$host_cpu" = ia64
; then
8644 # AIX 5 now supports IA64 processor
8645 lt_prog_compiler_static
='-Bstatic'
8652 # see comment about AmigaOS4 .so support
8653 lt_prog_compiler_pic
='-fPIC'
8656 # FIXME: we need at least 68020 code to build shared libraries, but
8657 # adding the `-m68020' flag to GCC prevents building anything better,
8659 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8664 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8665 # PIC is the default for these OSes.
8668 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8669 # This hack is so that the source file can tell whether it is being
8670 # built for inclusion in a dll (and should export symbols for example).
8671 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8672 # (--disable-auto-import) libraries
8673 lt_prog_compiler_pic
='-DDLL_EXPORT'
8676 darwin
* | rhapsody
*)
8677 # PIC is the default on this platform
8678 # Common symbols not allowed in MH_DYLIB files
8679 lt_prog_compiler_pic
='-fno-common'
8683 # PIC is the default for Haiku.
8684 # The "-static" flag exists, but is broken.
8685 lt_prog_compiler_static
=
8689 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8690 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8691 # sets the default TLS model and affects inlining.
8697 lt_prog_compiler_pic
='-fPIC'
8703 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8704 # Instead, we relocate shared libraries at runtime.
8708 # Just because we use GCC doesn't mean we suddenly get shared libraries
8709 # on systems that don't support them.
8710 lt_prog_compiler_can_build_shared
=no
8715 # QNX uses GNU C++, but need to define -shared option too, otherwise
8717 lt_prog_compiler_pic
='-fPIC -shared'
8721 if test -d /usr
/nec
; then
8722 lt_prog_compiler_pic
=-Kconform_pic
8727 lt_prog_compiler_pic
='-fPIC'
8731 case $cc_basename in
8732 nvcc
*) # Cuda Compiler Driver 2.2
8733 lt_prog_compiler_wl
='-Xlinker '
8734 if test -n "$lt_prog_compiler_pic"; then
8735 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8740 # PORTME Check for flag to pass linker flags through the system compiler.
8743 lt_prog_compiler_wl
='-Wl,'
8744 if test "$host_cpu" = ia64
; then
8745 # AIX 5 now supports IA64 processor
8746 lt_prog_compiler_static
='-Bstatic'
8748 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8752 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8753 # This hack is so that the source file can tell whether it is being
8754 # built for inclusion in a dll (and should export symbols for example).
8755 lt_prog_compiler_pic
='-DDLL_EXPORT'
8758 hpux9
* | hpux10
* | hpux11
*)
8759 lt_prog_compiler_wl
='-Wl,'
8760 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8767 lt_prog_compiler_pic
='+Z'
8770 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8771 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8774 irix5
* | irix6
* | nonstopux
*)
8775 lt_prog_compiler_wl
='-Wl,'
8776 # PIC (with -KPIC) is the default.
8777 lt_prog_compiler_static
='-non_shared'
8780 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8781 case $cc_basename in
8782 # old Intel for x86_64 which still supported -KPIC.
8784 lt_prog_compiler_wl
='-Wl,'
8785 lt_prog_compiler_pic
='-KPIC'
8786 lt_prog_compiler_static
='-static'
8788 # icc used to be incompatible with GCC.
8789 # ICC 10 doesn't accept -KPIC any more.
8791 lt_prog_compiler_wl
='-Wl,'
8792 lt_prog_compiler_pic
='-fPIC'
8793 lt_prog_compiler_static
='-static'
8795 # Lahey Fortran 8.1.
8797 lt_prog_compiler_wl
='-Wl,'
8798 lt_prog_compiler_pic
='--shared'
8799 lt_prog_compiler_static
='--static'
8802 # NAG Fortran compiler
8803 lt_prog_compiler_wl
='-Wl,-Wl,,'
8804 lt_prog_compiler_pic
='-PIC'
8805 lt_prog_compiler_static
='-Bstatic'
8807 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8808 # Portland Group compilers (*not* the Pentium gcc compiler,
8809 # which looks to be a dead project)
8810 lt_prog_compiler_wl
='-Wl,'
8811 lt_prog_compiler_pic
='-fpic'
8812 lt_prog_compiler_static
='-Bstatic'
8815 lt_prog_compiler_wl
='-Wl,'
8816 # All Alpha code is PIC.
8817 lt_prog_compiler_static
='-non_shared'
8819 xl
* | bgxl
* | bgf
* | mpixl
*)
8820 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8821 lt_prog_compiler_wl
='-Wl,'
8822 lt_prog_compiler_pic
='-qpic'
8823 lt_prog_compiler_static
='-qstaticlink'
8826 case `$CC -V 2>&1 | sed 5q` in
8827 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
8828 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8829 lt_prog_compiler_pic
='-KPIC'
8830 lt_prog_compiler_static
='-Bstatic'
8831 lt_prog_compiler_wl
=''
8833 *Sun\ F
* | *Sun
*Fortran
*)
8834 lt_prog_compiler_pic
='-KPIC'
8835 lt_prog_compiler_static
='-Bstatic'
8836 lt_prog_compiler_wl
='-Qoption ld '
8840 lt_prog_compiler_pic
='-KPIC'
8841 lt_prog_compiler_static
='-Bstatic'
8842 lt_prog_compiler_wl
='-Wl,'
8844 *Intel
*\
[CF
]*Compiler
*)
8845 lt_prog_compiler_wl
='-Wl,'
8846 lt_prog_compiler_pic
='-fPIC'
8847 lt_prog_compiler_static
='-static'
8850 lt_prog_compiler_wl
='-Wl,'
8851 lt_prog_compiler_pic
='-fpic'
8852 lt_prog_compiler_static
='-Bstatic'
8860 lt_prog_compiler_pic
='-KPIC'
8861 lt_prog_compiler_static
='-Bstatic'
8865 # QNX uses GNU C++, but need to define -shared option too, otherwise
8867 lt_prog_compiler_pic
='-fPIC -shared'
8870 osf3
* | osf4
* | osf5
*)
8871 lt_prog_compiler_wl
='-Wl,'
8872 # All OSF/1 code is PIC.
8873 lt_prog_compiler_static
='-non_shared'
8877 lt_prog_compiler_static
='-non_shared'
8881 lt_prog_compiler_pic
='-KPIC'
8882 lt_prog_compiler_static
='-Bstatic'
8883 case $cc_basename in
8884 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8885 lt_prog_compiler_wl
='-Qoption ld ';;
8887 lt_prog_compiler_wl
='-Wl,';;
8892 lt_prog_compiler_wl
='-Qoption ld '
8893 lt_prog_compiler_pic
='-PIC'
8894 lt_prog_compiler_static
='-Bstatic'
8897 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8898 lt_prog_compiler_wl
='-Wl,'
8899 lt_prog_compiler_pic
='-KPIC'
8900 lt_prog_compiler_static
='-Bstatic'
8904 if test -d /usr
/nec
;then
8905 lt_prog_compiler_pic
='-Kconform_pic'
8906 lt_prog_compiler_static
='-Bstatic'
8910 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8911 lt_prog_compiler_wl
='-Wl,'
8912 lt_prog_compiler_pic
='-KPIC'
8913 lt_prog_compiler_static
='-Bstatic'
8917 lt_prog_compiler_wl
='-Wl,'
8918 lt_prog_compiler_can_build_shared
=no
8922 lt_prog_compiler_pic
='-pic'
8923 lt_prog_compiler_static
='-Bstatic'
8927 lt_prog_compiler_can_build_shared
=no
8933 # For platforms which do not support PIC, -DPIC is meaningless:
8935 lt_prog_compiler_pic
=
8938 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8943 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8944 if ${lt_cv_prog_compiler_pic+:} false
; then :
8945 $as_echo_n "(cached) " >&6
8947 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8950 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8951 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8954 # Check to make sure the PIC flag actually works.
8956 if test -n "$lt_prog_compiler_pic"; then
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8958 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8959 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8960 $as_echo_n "(cached) " >&6
8962 lt_cv_prog_compiler_pic_works
=no
8963 ac_outfile
=conftest.
$ac_objext
8964 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8965 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8966 # Insert the option either (1) after the last *FLAGS variable, or
8967 # (2) before a word containing "conftest.", or (3) at the end.
8968 # Note that $ac_compile itself does not contain backslashes and begins
8969 # with a dollar sign (not a hyphen), so the echo should work correctly.
8970 # The option is referenced via a variable to avoid confusing sed.
8971 lt_compile
=`echo "$ac_compile" | $SED \
8972 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8973 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8974 -e 's:$: $lt_compiler_flag:'`
8975 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8976 (eval "$lt_compile" 2>conftest.err
)
8978 cat conftest.err
>&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 if (exit $ac_status) && test -s "$ac_outfile"; then
8981 # The compiler can only warn and ignore the option if not recognized
8982 # So say no if there are warnings other than the usual output.
8983 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8984 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8985 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8986 lt_cv_prog_compiler_pic_works
=yes
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8993 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8995 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8996 case $lt_prog_compiler_pic in
8998 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9001 lt_prog_compiler_pic
=
9002 lt_prog_compiler_can_build_shared
=no
9018 # Check to make sure the static flag actually works.
9020 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9022 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9023 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9024 $as_echo_n "(cached) " >&6
9026 lt_cv_prog_compiler_static_works
=no
9027 save_LDFLAGS
="$LDFLAGS"
9028 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9029 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9030 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9031 # The linker can only warn and ignore the option if not recognized
9032 # So say no if there are warnings
9033 if test -s conftest.err
; then
9034 # Append any errors to the config.log.
9035 cat conftest.err
1>&5
9036 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9037 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9038 if diff conftest.exp conftest.er2
>/dev
/null
; then
9039 lt_cv_prog_compiler_static_works
=yes
9042 lt_cv_prog_compiler_static_works
=yes
9046 LDFLAGS
="$save_LDFLAGS"
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9050 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9052 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9055 lt_prog_compiler_static
=
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9066 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9067 $as_echo_n "(cached) " >&6
9069 lt_cv_prog_compiler_c_o
=no
9070 $RM -r conftest
2>/dev
/null
9074 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9076 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9077 # Insert the option either (1) after the last *FLAGS variable, or
9078 # (2) before a word containing "conftest.", or (3) at the end.
9079 # Note that $ac_compile itself does not contain backslashes and begins
9080 # with a dollar sign (not a hyphen), so the echo should work correctly.
9081 lt_compile
=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>out
/conftest.err
)
9088 cat out
/conftest.err
>&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9092 # The compiler can only warn and ignore the option if not recognized
9093 # So say no if there are warnings
9094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9095 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9096 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9097 lt_cv_prog_compiler_c_o
=yes
9102 # SGI C++ compiler will create directory out/ii_files/ for
9103 # template instantiation
9104 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9105 $RM out
/* && rmdir out
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9112 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9120 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9121 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9122 $as_echo_n "(cached) " >&6
9124 lt_cv_prog_compiler_c_o
=no
9125 $RM -r conftest
2>/dev
/null
9129 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9131 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9132 # Insert the option either (1) after the last *FLAGS variable, or
9133 # (2) before a word containing "conftest.", or (3) at the end.
9134 # Note that $ac_compile itself does not contain backslashes and begins
9135 # with a dollar sign (not a hyphen), so the echo should work correctly.
9136 lt_compile
=`echo "$ac_compile" | $SED \
9137 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9138 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9139 -e 's:$: $lt_compiler_flag:'`
9140 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9141 (eval "$lt_compile" 2>out
/conftest.err
)
9143 cat out
/conftest.err
>&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9147 # The compiler can only warn and ignore the option if not recognized
9148 # So say no if there are warnings
9149 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9150 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9151 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9152 lt_cv_prog_compiler_c_o
=yes
9157 # SGI C++ compiler will create directory out/ii_files/ for
9158 # template instantiation
9159 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9160 $RM out
/* && rmdir out
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9167 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9172 hard_links
="nottested"
9173 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9174 # do not overwrite the value of need_locks provided by the user
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9176 $as_echo_n "checking if we can lock with hard links... " >&6; }
9179 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9181 ln conftest.a conftest.b
2>&5 || hard_links
=no
9182 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9184 $as_echo "$hard_links" >&6; }
9185 if test "$hard_links" = no
; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9187 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9200 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9203 allow_undefined_flag
=
9204 always_export_symbols
=no
9206 archive_expsym_cmds
=
9207 compiler_needs_object
=no
9208 enable_shared_with_static_runtimes
=no
9209 export_dynamic_flag_spec
=
9210 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9211 hardcode_automatic
=no
9213 hardcode_direct_absolute
=no
9214 hardcode_libdir_flag_spec
=
9215 hardcode_libdir_separator
=
9217 hardcode_shlibpath_var
=unsupported
9219 link_all_deplibs
=unknown
9222 old_archive_from_new_cmds
=
9223 old_archive_from_expsyms_cmds
=
9224 thread_safe_flag_spec
=
9225 whole_archive_flag_spec
=
9226 # include_expsyms should be a list of space-separated symbols to be *always*
9227 # included in the symbol list
9229 # exclude_expsyms can be an extended regexp of symbols to exclude
9230 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9231 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9232 # as well as any symbol that contains `d'.
9233 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9234 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9235 # platforms (ab)use it in PIC code, but their linkers get confused if
9236 # the symbol is explicitly referenced. Since portable code cannot
9237 # rely on this symbol name, it's probably fine to never include it in
9238 # preloaded symbol tables.
9239 # Exclude shared library initialization/finalization symbols.
9240 extract_expsyms_cmds
=
9243 cygwin
* | mingw
* | pw32
* | cegcc
*)
9244 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9245 # When not using gcc, we currently assume that we are using
9246 # Microsoft Visual C++.
9247 if test "$GCC" != yes; then
9252 # we just hope/assume this is gcc and not c89 (= MSVC++)
9258 linux
* | k
*bsd
*-gnu | gnu
*)
9265 # On some targets, GNU ld is compatible enough with the native linker
9266 # that we're better off using the native interface for both.
9267 lt_use_gnu_ld_interface
=no
9268 if test "$with_gnu_ld" = yes; then
9271 # The AIX port of GNU ld has always aspired to compatibility
9272 # with the native linker. However, as the warning in the GNU ld
9273 # block says, versions before 2.19.5* couldn't really create working
9274 # shared libraries, regardless of the interface used.
9275 case `$LD -v 2>&1` in
9276 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9277 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9278 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9280 lt_use_gnu_ld_interface
=yes
9285 lt_use_gnu_ld_interface
=yes
9290 if test "$lt_use_gnu_ld_interface" = yes; then
9291 # If archive_cmds runs LD, not CC, wlarc should be empty
9294 # Set some defaults for GNU ld with shared library support. These
9295 # are reset later if shared libraries are not supported. Putting them
9296 # here allows them to be overridden if necessary.
9297 runpath_var
=LD_RUN_PATH
9298 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9299 export_dynamic_flag_spec
='${wl}--export-dynamic'
9300 # ancient GNU ld didn't support --whole-archive et. al.
9301 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9302 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9304 whole_archive_flag_spec
=
9306 supports_anon_versioning
=no
9307 case `$LD -v 2>&1` in
9308 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9309 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9310 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9311 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9312 *\
2.11.
*) ;; # other 2.11 versions
9313 *) supports_anon_versioning
=yes ;;
9316 # See if GNU ld supports shared libraries.
9319 # On AIX/PPC, the GNU linker is very broken
9320 if test "$host_cpu" != ia64
; then
9324 *** Warning: the GNU linker, at least up to release 2.19, is reported
9325 *** to be unable to reliably create shared libraries on AIX.
9326 *** Therefore, libtool is disabling shared libraries support. If you
9327 *** really care for shared libraries, you may want to install binutils
9328 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9329 *** You will then need to restart the configuration process.
9338 # see comment about AmigaOS4 .so support
9339 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9340 archive_expsym_cmds
=''
9343 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)'
9344 hardcode_libdir_flag_spec
='-L$libdir'
9345 hardcode_minus_L
=yes
9351 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9352 allow_undefined_flag
=unsupported
9353 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9354 # support --undefined. This deserves some investigation. FIXME
9355 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9361 cygwin
* | mingw
* | pw32
* | cegcc
*)
9362 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9363 # as there is no search path for DLLs.
9364 hardcode_libdir_flag_spec
='-L$libdir'
9365 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9366 allow_undefined_flag
=unsupported
9367 always_export_symbols
=no
9368 enable_shared_with_static_runtimes
=yes
9369 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'
9370 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9372 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9373 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9374 # If the export-symbols file already is a .def file (1st line
9375 # is EXPORTS), use it as is; otherwise, prepend...
9376 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9377 cp $export_symbols $output_objdir/$soname.def;
9379 echo EXPORTS > $output_objdir/$soname.def;
9380 cat $export_symbols >> $output_objdir/$soname.def;
9382 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9389 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9390 link_all_deplibs
=yes
9395 hardcode_shlibpath_var
=no
9396 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9397 export_dynamic_flag_spec
='${wl}-E'
9398 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9399 # Instead, shared libraries are loaded at an image base (0x10000000 by
9400 # default) and relocated if they conflict, which is a slow very memory
9401 # consuming and fragmenting process. To avoid this, we pick a random,
9402 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9403 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9404 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9405 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'
9408 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9410 if test "$host_os" = linux
-dietlibc; then
9411 case $cc_basename in
9412 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9415 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9416 && test "$tmp_diet" = no
9418 tmp_addflag
=' $pic_flag'
9419 tmp_sharedflag
='-shared'
9420 case $cc_basename,$host_cpu in
9421 pgcc
*) # Portland Group C compiler
9422 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'
9423 tmp_addflag
=' $pic_flag'
9425 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9426 # Portland Group f77 and f90 compilers
9427 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'
9428 tmp_addflag
=' $pic_flag -Mnomain' ;;
9429 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9430 tmp_addflag
=' -i_dynamic' ;;
9431 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9432 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9433 ifc
* | ifort
*) # Intel Fortran compiler
9434 tmp_addflag
=' -nofor_main' ;;
9435 lf95
*) # Lahey Fortran 8.1
9436 whole_archive_flag_spec
=
9437 tmp_sharedflag
='--shared' ;;
9438 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9439 tmp_sharedflag
='-qmkshrobj'
9441 nvcc
*) # Cuda Compiler Driver 2.2
9442 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'
9443 compiler_needs_object
=yes
9446 case `$CC -V 2>&1 | sed 5q` in
9447 *Sun\ C
*) # Sun C 5.9
9448 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'
9449 compiler_needs_object
=yes
9450 tmp_sharedflag
='-G' ;;
9451 *Sun\ F
*) # Sun Fortran 8.3
9452 tmp_sharedflag
='-G' ;;
9454 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9456 if test "x$supports_anon_versioning" = xyes
; then
9457 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9458 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9459 echo "local: *; };" >> $output_objdir/$libname.ver~
9460 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9463 case $cc_basename in
9464 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9465 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9466 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9467 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9468 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9469 if test "x$supports_anon_versioning" = xyes
; then
9470 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9471 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9472 echo "local: *; };" >> $output_objdir/$libname.ver~
9473 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9482 netbsd
* | netbsdelf
*-gnu)
9483 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9484 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9487 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9488 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9493 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9497 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9498 *** create shared libraries on Solaris systems. Therefore, libtool
9499 *** is disabling shared libraries support. We urge you to upgrade GNU
9500 *** binutils to release 2.9.1 or newer. Another option is to modify
9501 *** your PATH or compiler configuration so that the native linker is
9502 *** used, and then restart.
9505 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9506 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9507 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9513 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9514 case `$LD -v 2>&1` in
9515 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9519 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9520 *** reliably create shared libraries on SCO systems. Therefore, libtool
9521 *** is disabling shared libraries support. We urge you to upgrade GNU
9522 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9523 *** your PATH or compiler configuration so that the native linker is
9524 *** used, and then restart.
9529 # For security reasons, it is highly recommended that you always
9530 # use absolute paths for naming shared libraries, and exclude the
9531 # DT_RUNPATH tag from executables and libraries. But doing so
9532 # requires that you compile everything twice, which is a pain.
9533 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9534 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9535 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9536 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9545 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9548 hardcode_shlibpath_var
=no
9552 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9553 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9554 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9561 if test "$ld_shlibs" = no
; then
9563 hardcode_libdir_flag_spec
=
9564 export_dynamic_flag_spec
=
9565 whole_archive_flag_spec
=
9568 # PORTME fill in a description of your system's linker (not GNU ld)
9571 allow_undefined_flag
=unsupported
9572 always_export_symbols
=yes
9573 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'
9574 # Note: this linker hardcodes the directories in LIBPATH if there
9575 # are no directories specified by -L.
9576 hardcode_minus_L
=yes
9577 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9578 # Neither direct hardcoding nor static linking is supported with a
9580 hardcode_direct
=unsupported
9585 if test "$host_cpu" = ia64
; then
9586 # On IA64, the linker does run time linking by default, so we don't
9587 # have to do anything special.
9588 aix_use_runtimelinking
=no
9589 exp_sym_flag
='-Bexport'
9592 # If we're using GNU nm, then we don't want the "-C" option.
9593 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9594 # Also, AIX nm treats weak defined symbols like other global
9595 # defined symbols, whereas GNU nm marks them as "W".
9596 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
9597 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9599 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9601 aix_use_runtimelinking
=no
9603 # Test if we are trying to use run time linking or normal
9604 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9605 # need to do runtime linking.
9606 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9607 for ld_flag
in $LDFLAGS; do
9608 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9609 aix_use_runtimelinking
=yes
9616 exp_sym_flag
='-bexport'
9617 no_entry_flag
='-bnoentry'
9620 # When large executables or shared objects are built, AIX ld can
9621 # have problems creating the table of contents. If linking a library
9622 # or program results in "error TOC overflow" add -mminimal-toc to
9623 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9624 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9628 hardcode_direct_absolute
=yes
9629 hardcode_libdir_separator
=':'
9630 link_all_deplibs
=yes
9631 file_list_spec
='${wl}-f,'
9633 if test "$GCC" = yes; then
9634 case $host_os in aix4.
[012]|aix4.
[012].
*)
9635 # We only want to do this on AIX 4.2 and lower, the check
9636 # below for broken collect2 doesn't work under 4.3+
9637 collect2name
=`${CC} -print-prog-name=collect2`
9638 if test -f "$collect2name" &&
9639 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
9641 # We have reworked collect2
9644 # We have old collect2
9645 hardcode_direct
=unsupported
9646 # It fails to find uninstalled libraries when the uninstalled
9647 # path is not listed in the libpath. Setting hardcode_minus_L
9648 # to unsupported forces relinking
9649 hardcode_minus_L
=yes
9650 hardcode_libdir_flag_spec
='-L$libdir'
9651 hardcode_libdir_separator
=
9655 shared_flag
='-shared'
9656 if test "$aix_use_runtimelinking" = yes; then
9657 shared_flag
="$shared_flag "'${wl}-G'
9662 if test "$host_cpu" = ia64
; then
9663 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9664 # chokes on -Wl,-G. The following line is correct:
9667 if test "$aix_use_runtimelinking" = yes; then
9668 shared_flag
='${wl}-G'
9670 shared_flag
='${wl}-bM:SRE'
9675 export_dynamic_flag_spec
='${wl}-bexpall'
9676 # It seems that -bexpall does not export symbols beginning with
9677 # underscore (_), so it is better to generate a list of symbols to export.
9678 always_export_symbols
=yes
9679 if test "$aix_use_runtimelinking" = yes; then
9680 # Warning - without using the other runtime loading flags (-brtl),
9681 # -berok will link without error, but may produce a broken library.
9682 allow_undefined_flag
='-berok'
9683 # Determine the default libpath from the value encoded in an
9685 if test "${lt_cv_aix_libpath+set}" = set; then
9686 aix_libpath
=$lt_cv_aix_libpath
9688 if ${lt_cv_aix_libpath_+:} false
; then :
9689 $as_echo_n "(cached) " >&6
9691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9702 if ac_fn_c_try_link
"$LINENO"; then :
9704 lt_aix_libpath_sed
='
9705 /Import File Strings/,/^$/ {
9707 s/^0 *\([^ ]*\) *$/\1/
9711 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9712 # Check for a 64-bit object if we didn't find anything.
9713 if test -z "$lt_cv_aix_libpath_"; then
9714 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9717 rm -f core conftest.err conftest.
$ac_objext \
9718 conftest
$ac_exeext conftest.
$ac_ext
9719 if test -z "$lt_cv_aix_libpath_"; then
9720 lt_cv_aix_libpath_
="/usr/lib:/lib"
9725 aix_libpath
=$lt_cv_aix_libpath_
9728 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9729 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9731 if test "$host_cpu" = ia64
; then
9732 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9733 allow_undefined_flag
="-z nodefs"
9734 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"
9736 # Determine the default libpath from the value encoded in an
9738 if test "${lt_cv_aix_libpath+set}" = set; then
9739 aix_libpath
=$lt_cv_aix_libpath
9741 if ${lt_cv_aix_libpath_+:} false
; then :
9742 $as_echo_n "(cached) " >&6
9744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9755 if ac_fn_c_try_link
"$LINENO"; then :
9757 lt_aix_libpath_sed
='
9758 /Import File Strings/,/^$/ {
9760 s/^0 *\([^ ]*\) *$/\1/
9764 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9765 # Check for a 64-bit object if we didn't find anything.
9766 if test -z "$lt_cv_aix_libpath_"; then
9767 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9770 rm -f core conftest.err conftest.
$ac_objext \
9771 conftest
$ac_exeext conftest.
$ac_ext
9772 if test -z "$lt_cv_aix_libpath_"; then
9773 lt_cv_aix_libpath_
="/usr/lib:/lib"
9778 aix_libpath
=$lt_cv_aix_libpath_
9781 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9782 # Warning - without using the other run time loading flags,
9783 # -berok will link without error, but may produce a broken library.
9784 no_undefined_flag
=' ${wl}-bernotok'
9785 allow_undefined_flag
=' ${wl}-berok'
9786 if test "$with_gnu_ld" = yes; then
9787 # We only use this code for GNU lds that support --whole-archive.
9788 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9790 # Exported symbols can be pulled into shared objects from archives
9791 whole_archive_flag_spec
='$convenience'
9793 archive_cmds_need_lc
=yes
9794 # This is similar to how AIX traditionally builds its shared libraries.
9795 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9803 # see comment about AmigaOS4 .so support
9804 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9805 archive_expsym_cmds
=''
9808 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)'
9809 hardcode_libdir_flag_spec
='-L$libdir'
9810 hardcode_minus_L
=yes
9816 export_dynamic_flag_spec
=-rdynamic
9819 cygwin
* | mingw
* | pw32
* | cegcc
*)
9820 # When not using gcc, we currently assume that we are using
9821 # Microsoft Visual C++.
9822 # hardcode_libdir_flag_spec is actually meaningless, as there is
9823 # no search path for DLLs.
9824 case $cc_basename in
9827 hardcode_libdir_flag_spec
=' '
9828 allow_undefined_flag
=unsupported
9829 always_export_symbols
=yes
9831 # Tell ltmain to make .lib files, not .a files.
9833 # Tell ltmain to make .dll files, not .so files.
9835 # FIXME: Setting linknames here is a bad hack.
9836 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9837 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9838 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9840 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9842 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9844 # The linker will not automatically build a static lib if we build a DLL.
9845 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9846 enable_shared_with_static_runtimes
=yes
9847 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9848 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9850 old_postinstall_cmds
='chmod 644 $oldlib'
9851 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9852 lt_tool_outputfile="@TOOL_OUTPUT@"~
9853 case $lt_outputfile in
9856 lt_outputfile="$lt_outputfile.exe"
9857 lt_tool_outputfile="$lt_tool_outputfile.exe"
9860 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9861 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9862 $RM "$lt_outputfile.manifest";
9866 # Assume MSVC wrapper
9867 hardcode_libdir_flag_spec
=' '
9868 allow_undefined_flag
=unsupported
9869 # Tell ltmain to make .lib files, not .a files.
9871 # Tell ltmain to make .dll files, not .so files.
9873 # FIXME: Setting linknames here is a bad hack.
9874 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9875 # The linker will automatically build a .lib file if we build a DLL.
9876 old_archive_from_new_cmds
='true'
9877 # FIXME: Should let the user specify the lib program.
9878 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9879 enable_shared_with_static_runtimes
=yes
9884 darwin
* | rhapsody
*)
9887 archive_cmds_need_lc
=no
9889 hardcode_automatic
=yes
9890 hardcode_shlibpath_var
=unsupported
9891 if test "$lt_cv_ld_force_load" = "yes"; then
9892 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\"`'
9895 whole_archive_flag_spec
=''
9897 link_all_deplibs
=yes
9898 allow_undefined_flag
="$_lt_dar_allow_undefined"
9899 case $cc_basename in
9900 ifort
*) _lt_dar_can_shared
=yes ;;
9901 *) _lt_dar_can_shared
=$GCC ;;
9903 if test "$_lt_dar_can_shared" = "yes"; then
9904 output_verbose_link_cmd
=func_echo_all
9905 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9906 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9907 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}"
9908 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}"
9917 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9918 hardcode_libdir_flag_spec
='-L$libdir'
9919 hardcode_shlibpath_var
=no
9922 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9923 # support. Future versions do this automatically, but an explicit c++rt0.o
9924 # does not break anything, and helps significantly (at the cost of a little
9927 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9928 hardcode_libdir_flag_spec
='-R$libdir'
9930 hardcode_shlibpath_var
=no
9933 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9935 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9937 hardcode_minus_L
=yes
9938 hardcode_shlibpath_var
=no
9941 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9942 freebsd
* | dragonfly
*)
9943 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9944 hardcode_libdir_flag_spec
='-R$libdir'
9946 hardcode_shlibpath_var
=no
9950 if test "$GCC" = yes; then
9951 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9953 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9955 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9956 hardcode_libdir_separator
=:
9959 # hardcode_minus_L: Not really in the search PATH,
9960 # but as the default location of the library.
9961 hardcode_minus_L
=yes
9962 export_dynamic_flag_spec
='${wl}-E'
9966 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9967 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9969 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9971 if test "$with_gnu_ld" = no
; then
9972 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9973 hardcode_libdir_separator
=:
9975 hardcode_direct_absolute
=yes
9976 export_dynamic_flag_spec
='${wl}-E'
9977 # hardcode_minus_L: Not really in the search PATH,
9978 # but as the default location of the library.
9979 hardcode_minus_L
=yes
9984 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9987 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9990 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9999 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10002 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10006 # Older versions of the 11.00 compiler do not understand -b yet
10007 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10009 $as_echo_n "checking if $CC understands -b... " >&6; }
10010 if ${lt_cv_prog_compiler__b+:} false
; then :
10011 $as_echo_n "(cached) " >&6
10013 lt_cv_prog_compiler__b
=no
10014 save_LDFLAGS
="$LDFLAGS"
10015 LDFLAGS
="$LDFLAGS -b"
10016 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10017 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10018 # The linker can only warn and ignore the option if not recognized
10019 # So say no if there are warnings
10020 if test -s conftest.err
; then
10021 # Append any errors to the config.log.
10022 cat conftest.err
1>&5
10023 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10024 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10025 if diff conftest.exp conftest.er2
>/dev
/null
; then
10026 lt_cv_prog_compiler__b
=yes
10029 lt_cv_prog_compiler__b
=yes
10033 LDFLAGS
="$save_LDFLAGS"
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10037 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10039 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10040 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10042 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10048 if test "$with_gnu_ld" = no
; then
10049 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10050 hardcode_libdir_separator
=:
10055 hardcode_shlibpath_var
=no
10058 hardcode_direct
=yes
10059 hardcode_direct_absolute
=yes
10060 export_dynamic_flag_spec
='${wl}-E'
10062 # hardcode_minus_L: Not really in the search PATH,
10063 # but as the default location of the library.
10064 hardcode_minus_L
=yes
10070 irix5
* | irix6
* | nonstopux
*)
10071 if test "$GCC" = yes; then
10072 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'
10073 # Try to use the -exported_symbol ld option, if it does not
10074 # work, assume that -exports_file does not work either and
10075 # implicitly export all symbols.
10076 # This should be the same for all languages, so no per-tag cache variable.
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10078 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10079 if ${lt_cv_irix_exported_symbol+:} false
; then :
10080 $as_echo_n "(cached) " >&6
10082 save_LDFLAGS
="$LDFLAGS"
10083 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10086 int foo (void) { return 0; }
10088 if ac_fn_c_try_link
"$LINENO"; then :
10089 lt_cv_irix_exported_symbol
=yes
10091 lt_cv_irix_exported_symbol
=no
10093 rm -f core conftest.err conftest.
$ac_objext \
10094 conftest
$ac_exeext conftest.
$ac_ext
10095 LDFLAGS
="$save_LDFLAGS"
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10098 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10099 if test "$lt_cv_irix_exported_symbol" = yes; then
10100 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'
10103 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'
10104 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'
10106 archive_cmds_need_lc
='no'
10107 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10108 hardcode_libdir_separator
=:
10110 link_all_deplibs
=yes
10113 netbsd
* | netbsdelf
*-gnu)
10114 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10115 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10117 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10119 hardcode_libdir_flag_spec
='-R$libdir'
10120 hardcode_direct
=yes
10121 hardcode_shlibpath_var
=no
10125 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10126 hardcode_direct
=yes
10127 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10128 hardcode_libdir_separator
=:
10129 hardcode_shlibpath_var
=no
10136 if test -f /usr
/libexec
/ld.so
; then
10137 hardcode_direct
=yes
10138 hardcode_shlibpath_var
=no
10139 hardcode_direct_absolute
=yes
10140 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10141 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10143 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10144 export_dynamic_flag_spec
='${wl}-E'
10147 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10148 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_libdir_flag_spec
='-R$libdir'
10152 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10153 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10163 hardcode_libdir_flag_spec
='-L$libdir'
10164 hardcode_minus_L
=yes
10165 allow_undefined_flag
=unsupported
10166 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10167 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10171 if test "$GCC" = yes; then
10172 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10173 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'
10175 allow_undefined_flag
=' -expect_unresolved \*'
10176 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'
10178 archive_cmds_need_lc
='no'
10179 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10180 hardcode_libdir_separator
=:
10183 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10184 if test "$GCC" = yes; then
10185 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10186 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'
10187 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10189 allow_undefined_flag
=' -expect_unresolved \*'
10190 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'
10191 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~
10192 $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'
10194 # Both c and cxx compiler support -rpath directly
10195 hardcode_libdir_flag_spec
='-rpath $libdir'
10197 archive_cmds_need_lc
='no'
10198 hardcode_libdir_separator
=:
10202 no_undefined_flag
=' -z defs'
10203 if test "$GCC" = yes; then
10205 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10207 $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'
10209 case `$CC -V 2>&1` in
10212 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10213 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10214 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10218 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10219 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10220 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10224 hardcode_libdir_flag_spec
='-R$libdir'
10225 hardcode_shlibpath_var
=no
10227 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10229 # The compiler driver will combine and reorder linker options,
10230 # but understands `-z linker_flag'. GCC discards it without `$wl',
10231 # but is careful enough not to reorder.
10232 # Supported since Solaris 2.6 (maybe 2.5.1?)
10233 if test "$GCC" = yes; then
10234 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10236 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10240 link_all_deplibs
=yes
10244 if test "x$host_vendor" = xsequent
; then
10245 # Use $CC to link under sequent, because it throws in some extra .o
10246 # files that make .init and .fini sections work.
10247 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10249 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10251 hardcode_libdir_flag_spec
='-L$libdir'
10252 hardcode_direct
=yes
10253 hardcode_minus_L
=yes
10254 hardcode_shlibpath_var
=no
10258 case $host_vendor in
10260 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10261 hardcode_direct
=yes # is this really true???
10264 ## LD is ld it makes a PLAMLIB
10265 ## CC just makes a GrossModule.
10266 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10267 reload_cmds
='$CC -r -o $output$reload_objs'
10271 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10272 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10275 runpath_var
='LD_RUN_PATH'
10276 hardcode_shlibpath_var
=no
10280 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10281 hardcode_shlibpath_var
=no
10282 export_dynamic_flag_spec
='-Bexport'
10286 if test -d /usr
/nec
; then
10287 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10288 hardcode_shlibpath_var
=no
10289 runpath_var
=LD_RUN_PATH
10290 hardcode_runpath_var
=yes
10295 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10296 no_undefined_flag
='${wl}-z,text'
10297 archive_cmds_need_lc
=no
10298 hardcode_shlibpath_var
=no
10299 runpath_var
='LD_RUN_PATH'
10301 if test "$GCC" = yes; then
10302 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10303 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10305 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10306 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10310 sysv5
* | sco3.2v5
* | sco5v6
*)
10311 # Note: We can NOT use -z defs as we might desire, because we do not
10312 # link with -lc, and that would cause any symbols used from libc to
10313 # always be unresolved, which means just about no library would
10314 # ever link correctly. If we're not using GNU ld we use -z text
10315 # though, which does catch some bad symbols but isn't as heavy-handed
10317 no_undefined_flag
='${wl}-z,text'
10318 allow_undefined_flag
='${wl}-z,nodefs'
10319 archive_cmds_need_lc
=no
10320 hardcode_shlibpath_var
=no
10321 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10322 hardcode_libdir_separator
=':'
10323 link_all_deplibs
=yes
10324 export_dynamic_flag_spec
='${wl}-Bexport'
10325 runpath_var
='LD_RUN_PATH'
10327 if test "$GCC" = yes; then
10328 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10329 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10331 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10332 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10337 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10338 hardcode_libdir_flag_spec
='-L$libdir'
10339 hardcode_shlibpath_var
=no
10347 if test x
$host_vendor = xsni
; then
10349 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10350 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10357 $as_echo "$ld_shlibs" >&6; }
10358 test "$ld_shlibs" = no
&& can_build_shared
=no
10360 with_gnu_ld
=$with_gnu_ld
10377 # Do we need to explicitly link libc?
10379 case "x$archive_cmds_need_lc" in
10381 # Assume -lc should be added
10382 archive_cmds_need_lc
=yes
10384 if test "$enable_shared" = yes && test "$GCC" = yes; then
10385 case $archive_cmds in
10387 # FIXME: we may have to deal with multi-command sequences.
10390 # Test whether the compiler implicitly links with -lc since on some
10391 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10392 # to ld, don't add -lc before -lgcc.
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10394 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10395 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10396 $as_echo_n "(cached) " >&6
10399 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10402 (eval $ac_compile) 2>&5
10404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10405 test $ac_status = 0; } 2>conftest.err
; then
10408 libobjs
=conftest.
$ac_objext
10410 wl
=$lt_prog_compiler_wl
10411 pic_flag
=$lt_prog_compiler_pic
10417 lt_save_allow_undefined_flag
=$allow_undefined_flag
10418 allow_undefined_flag
=
10419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10420 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10423 test $ac_status = 0; }
10425 lt_cv_archive_cmds_need_lc
=no
10427 lt_cv_archive_cmds_need_lc
=yes
10429 allow_undefined_flag
=$lt_save_allow_undefined_flag
10431 cat conftest.err
1>&5
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10437 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10438 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10597 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10599 if test "$GCC" = yes; then
10601 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10602 *) lt_awk_arg
="/^libraries:/" ;;
10605 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10606 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10608 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10609 case $lt_search_path_spec in
10611 # if the path contains ";" then we assume it to be the separator
10612 # otherwise default to the standard path separator (i.e. ":") - it is
10613 # assumed that no part of a normal pathname contains ";" but that should
10614 # okay in the real world where ";" in dirpaths is itself problematic.
10615 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10618 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10621 # Ok, now we have the path, separated by spaces, we can step through it
10622 # and add multilib dir if necessary.
10623 lt_tmp_lt_search_path_spec
=
10624 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10625 for lt_sys_path
in $lt_search_path_spec; do
10626 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10627 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10629 test -d "$lt_sys_path" && \
10630 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10633 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10634 BEGIN {RS=" "; FS="/|\n";} {
10637 for (lt_i = NF; lt_i > 0; lt_i--) {
10638 if ($lt_i != "" && $lt_i != ".") {
10639 if ($lt_i == "..") {
10642 if (lt_count == 0) {
10643 lt_foo="/" $lt_i lt_foo;
10650 if (lt_foo != "") { lt_freq[lt_foo]++; }
10651 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10653 # AWK program above erroneously prepends '/' to C:/dos/paths
10656 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10657 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10659 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10661 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10663 library_names_spec
=
10664 libname_spec
='lib$name'
10668 postuninstall_cmds
=
10672 shlibpath_overrides_runpath
=unknown
10674 dynamic_linker
="$host_os ld.so"
10675 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10676 need_lib_prefix
=unknown
10677 hardcode_into_libs
=no
10679 # when you set need_version to no, make sure it does not cause -set_version
10680 # flags to be left without arguments
10681 need_version
=unknown
10685 version_type
=linux
# correct to gnu/linux during the next big refactor
10686 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10687 shlibpath_var
=LIBPATH
10689 # AIX 3 has no versioning support, so we append a major version to the name.
10690 soname_spec
='${libname}${release}${shared_ext}$major'
10694 version_type
=linux
# correct to gnu/linux during the next big refactor
10697 hardcode_into_libs
=yes
10698 if test "$host_cpu" = ia64
; then
10699 # AIX 5 supports IA64
10700 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10701 shlibpath_var
=LD_LIBRARY_PATH
10703 # With GCC up to 2.95.x, collect2 would create an import file
10704 # for dependence libraries. The import file would start with
10705 # the line `#! .'. This would cause the generated library to
10706 # depend on `.', always an invalid library. This was fixed in
10707 # development snapshots of GCC prior to 3.0.
10709 aix4
| aix4.
[01] | aix4.
[01].
*)
10710 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10712 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
10715 can_build_shared
=no
10719 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10720 # soname into executable. Probably we can add versioning support to
10721 # collect2, so additional links can be useful in future.
10722 if test "$aix_use_runtimelinking" = yes; then
10723 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10724 # instead of lib<name>.a to let people know that these are not
10725 # typical AIX shared libraries.
10726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10728 # We preserve .a as extension for shared libraries through AIX4.2
10729 # and later when we are not doing run time linking.
10730 library_names_spec
='${libname}${release}.a $libname.a'
10731 soname_spec
='${libname}${release}${shared_ext}$major'
10733 shlibpath_var
=LIBPATH
10740 # Since July 2007 AmigaOS4 officially supports .so libraries.
10741 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 library_names_spec
='$libname.ixlibrary $libname.a'
10746 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10747 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10753 library_names_spec
='${libname}${shared_ext}'
10754 dynamic_linker
="$host_os ld.so"
10755 shlibpath_var
=LIBRARY_PATH
10759 version_type
=linux
# correct to gnu/linux during the next big refactor
10761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 soname_spec
='${libname}${release}${shared_ext}$major'
10763 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10764 shlibpath_var
=LD_LIBRARY_PATH
10765 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10766 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10767 # the default ld.so.conf also contains /usr/contrib/lib and
10768 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10769 # libtool to hard-code these into programs
10772 cygwin
* | mingw
* | pw32
* | cegcc
*)
10773 version_type
=windows
10778 case $GCC,$cc_basename in
10781 library_names_spec
='$libname.dll.a'
10782 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10783 postinstall_cmds
='base_file=`basename \${file}`~
10784 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10785 dldir=$destdir/`dirname \$dlpath`~
10786 test -d \$dldir || mkdir -p \$dldir~
10787 $install_prog $dir/$dlname \$dldir/$dlname~
10788 chmod a+x \$dldir/$dlname~
10789 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10790 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10792 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10793 dlpath=$dir/\$dldll~
10795 shlibpath_overrides_runpath
=yes
10799 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10800 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10802 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10805 # MinGW DLLs use traditional 'lib' prefix
10806 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10809 # pw32 DLLs use 'pw' prefix rather than 'lib'
10810 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10813 dynamic_linker
='Win32 ld.exe'
10818 libname_spec
='$name'
10819 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10820 library_names_spec
='${libname}.dll.lib'
10824 sys_lib_search_path_spec
=
10827 for lt_path
in $LIB
10830 # Let DOS variable expansion print the short 8.3 style file name.
10831 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10832 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10835 # Convert to MSYS style.
10836 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10839 # Convert to unix form, then to dos form, then back to unix form
10840 # but this time dos style (no spaces!) so that the unix form looks
10841 # like /cygdrive/c/PROGRA~1:/cygdr...
10842 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10843 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10844 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10847 sys_lib_search_path_spec
="$LIB"
10848 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
10849 # It is most probably a Windows format PATH.
10850 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10852 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10854 # FIXME: find the short name or the path components, as spaces are
10855 # common. (e.g. "Program Files" -> "PROGRA~1")
10859 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10860 postinstall_cmds
='base_file=`basename \${file}`~
10861 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10862 dldir=$destdir/`dirname \$dlpath`~
10863 test -d \$dldir || mkdir -p \$dldir~
10864 $install_prog $dir/$dlname \$dldir/$dlname'
10865 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10866 dlpath=$dir/\$dldll~
10868 shlibpath_overrides_runpath
=yes
10869 dynamic_linker
='Win32 link.exe'
10873 # Assume MSVC wrapper
10874 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10875 dynamic_linker
='Win32 ld.exe'
10878 # FIXME: first we should search . and the directory the executable is in
10882 darwin
* | rhapsody
*)
10883 dynamic_linker
="$host_os dyld"
10884 version_type
=darwin
10887 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10888 soname_spec
='${libname}${release}${major}$shared_ext'
10889 shlibpath_overrides_runpath
=yes
10890 shlibpath_var
=DYLD_LIBRARY_PATH
10891 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10893 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10894 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10898 version_type
=linux
# correct to gnu/linux during the next big refactor
10901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10902 soname_spec
='${libname}${release}${shared_ext}$major'
10903 shlibpath_var
=LD_LIBRARY_PATH
10906 freebsd
* | dragonfly
*)
10907 # DragonFly does not have aout. When/if they implement a new
10908 # versioning mechanism, adjust this.
10909 if test -x /usr
/bin
/objformat
; then
10910 objformat
=`/usr/bin/objformat`
10913 freebsd
[23].
*) objformat
=aout
;;
10914 *) objformat
=elf
;;
10917 version_type
=freebsd
-$objformat
10918 case $version_type in
10920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10925 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10929 shlibpath_var
=LD_LIBRARY_PATH
10932 shlibpath_overrides_runpath
=yes
10934 freebsd3.
[01]* | freebsdelf3.
[01]*)
10935 shlibpath_overrides_runpath
=yes
10936 hardcode_into_libs
=yes
10938 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10939 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10940 shlibpath_overrides_runpath
=no
10941 hardcode_into_libs
=yes
10943 *) # from 4.6 on, and DragonFly
10944 shlibpath_overrides_runpath
=yes
10945 hardcode_into_libs
=yes
10951 version_type
=linux
# correct to gnu/linux during the next big refactor
10954 dynamic_linker
="$host_os runtime_loader"
10955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10956 soname_spec
='${libname}${release}${shared_ext}$major'
10957 shlibpath_var
=LIBRARY_PATH
10958 shlibpath_overrides_runpath
=yes
10959 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10960 hardcode_into_libs
=yes
10963 hpux9
* | hpux10
* | hpux11
*)
10964 # Give a soname corresponding to the major version so that dld.sl refuses to
10965 # link against other versions.
10972 hardcode_into_libs
=yes
10973 dynamic_linker
="$host_os dld.so"
10974 shlibpath_var
=LD_LIBRARY_PATH
10975 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977 soname_spec
='${libname}${release}${shared_ext}$major'
10978 if test "X$HPUX_IA64_MODE" = X32
; then
10979 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10981 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10983 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10987 hardcode_into_libs
=yes
10988 dynamic_linker
="$host_os dld.sl"
10989 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10990 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992 soname_spec
='${libname}${release}${shared_ext}$major'
10993 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10994 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10998 dynamic_linker
="$host_os dld.sl"
10999 shlibpath_var
=SHLIB_PATH
11000 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11002 soname_spec
='${libname}${release}${shared_ext}$major'
11005 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11006 postinstall_cmds
='chmod 555 $lib'
11007 # or fails outright, so override atomically:
11008 install_override_mode
=555
11012 version_type
=linux
# correct to gnu/linux during the next big refactor
11015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11016 soname_spec
='${libname}${release}${shared_ext}$major'
11017 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11018 shlibpath_var
=LD_LIBRARY_PATH
11019 shlibpath_overrides_runpath
=no
11020 hardcode_into_libs
=yes
11023 irix5
* | irix6
* | nonstopux
*)
11025 nonstopux
*) version_type
=nonstopux
;;
11027 if test "$lt_cv_prog_gnu_ld" = yes; then
11028 version_type
=linux
# correct to gnu/linux during the next big refactor
11035 soname_spec
='${libname}${release}${shared_ext}$major'
11036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11038 irix5
* | nonstopux
*)
11039 libsuff
= shlibsuff
=
11042 case $LD in # libtool.m4 will add one of these switches to LD
11043 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11044 libsuff
= shlibsuff
= libmagic
=32-bit;;
11045 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11046 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11047 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11048 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11049 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11053 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11054 shlibpath_overrides_runpath
=no
11055 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11056 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11057 hardcode_into_libs
=yes
11060 # No shared lib support for Linux oldld, aout, or coff.
11061 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11065 # This must be glibc/ELF.
11066 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11067 version_type
=linux
# correct to gnu/linux during the next big refactor
11070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071 soname_spec
='${libname}${release}${shared_ext}$major'
11072 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11073 shlibpath_var
=LD_LIBRARY_PATH
11074 shlibpath_overrides_runpath
=no
11076 # Some binutils ld are patched to set DT_RUNPATH
11077 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11078 $as_echo_n "(cached) " >&6
11080 lt_cv_shlibpath_overrides_runpath
=no
11081 save_LDFLAGS
=$LDFLAGS
11082 save_libdir
=$libdir
11083 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11084 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11096 if ac_fn_c_try_link
"$LINENO"; then :
11097 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11098 lt_cv_shlibpath_overrides_runpath
=yes
11101 rm -f core conftest.err conftest.
$ac_objext \
11102 conftest
$ac_exeext conftest.
$ac_ext
11103 LDFLAGS
=$save_LDFLAGS
11104 libdir
=$save_libdir
11108 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11110 # This implies no fast_install, which is unacceptable.
11111 # Some rework will be needed to allow for fast_install
11112 # before this can be enabled.
11113 hardcode_into_libs
=yes
11115 # Append ld.so.conf contents to the search path
11116 if test -f /etc
/ld.so.conf
; then
11117 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' ' '`
11118 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11121 # We used to test for /lib/ld.so.1 and disable shared libraries on
11122 # powerpc, because MkLinux only supported shared libraries with the
11123 # GNU dynamic linker. Since this was broken with cross compilers,
11124 # most powerpc-linux boxes support dynamic linking these days and
11125 # people can always --disable-shared, the test was removed, and we
11126 # assume the GNU/Linux dynamic linker is in use.
11127 dynamic_linker
='GNU/Linux ld.so'
11134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11135 soname_spec
='${libname}${release}${shared_ext}$major'
11136 shlibpath_var
=LD_LIBRARY_PATH
11137 shlibpath_overrides_runpath
=no
11138 hardcode_into_libs
=yes
11139 dynamic_linker
='NetBSD ld.elf_so'
11146 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11148 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11149 dynamic_linker
='NetBSD (a.out) ld.so'
11151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11152 soname_spec
='${libname}${release}${shared_ext}$major'
11153 dynamic_linker
='NetBSD ld.elf_so'
11155 shlibpath_var
=LD_LIBRARY_PATH
11156 shlibpath_overrides_runpath
=yes
11157 hardcode_into_libs
=yes
11161 version_type
=linux
# correct to gnu/linux during the next big refactor
11162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163 shlibpath_var
=LD_LIBRARY_PATH
11164 shlibpath_overrides_runpath
=yes
11171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11172 soname_spec
='${libname}${release}${shared_ext}$major'
11173 shlibpath_var
=LD_LIBRARY_PATH
11174 shlibpath_overrides_runpath
=no
11175 hardcode_into_libs
=yes
11176 dynamic_linker
='ldqnx.so'
11181 sys_lib_dlsearch_path_spec
="/usr/lib"
11183 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11185 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11186 *) need_version
=no
;;
11188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11189 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11190 shlibpath_var
=LD_LIBRARY_PATH
11191 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11193 openbsd2.
[89] | openbsd2.
[89].
*)
11194 shlibpath_overrides_runpath
=no
11197 shlibpath_overrides_runpath
=yes
11201 shlibpath_overrides_runpath
=yes
11206 libname_spec
='$name'
11209 library_names_spec
='$libname${shared_ext} $libname.a'
11210 dynamic_linker
='OS/2 ld.exe'
11211 shlibpath_var
=LIBPATH
11214 osf3
* | osf4
* | osf5
*)
11218 soname_spec
='${libname}${release}${shared_ext}$major'
11219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11220 shlibpath_var
=LD_LIBRARY_PATH
11221 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11222 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11230 version_type
=linux
# correct to gnu/linux during the next big refactor
11233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11234 soname_spec
='${libname}${release}${shared_ext}$major'
11235 shlibpath_var
=LD_LIBRARY_PATH
11236 shlibpath_overrides_runpath
=yes
11237 hardcode_into_libs
=yes
11238 # ldd complains unless libraries are executable
11239 postinstall_cmds
='chmod +x $lib'
11244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11245 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11246 shlibpath_var
=LD_LIBRARY_PATH
11247 shlibpath_overrides_runpath
=yes
11248 if test "$with_gnu_ld" = yes; then
11255 version_type
=linux
# correct to gnu/linux during the next big refactor
11256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11257 soname_spec
='${libname}${release}${shared_ext}$major'
11258 shlibpath_var
=LD_LIBRARY_PATH
11259 case $host_vendor in
11261 shlibpath_overrides_runpath
=no
11263 runpath_var
=LD_RUN_PATH
11271 shlibpath_overrides_runpath
=no
11272 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11278 if test -d /usr
/nec
;then
11279 version_type
=linux
# correct to gnu/linux during the next big refactor
11280 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11281 soname_spec
='$libname${shared_ext}.$major'
11282 shlibpath_var
=LD_LIBRARY_PATH
11286 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11287 version_type
=freebsd
-elf
11290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11291 soname_spec
='${libname}${release}${shared_ext}$major'
11292 shlibpath_var
=LD_LIBRARY_PATH
11293 shlibpath_overrides_runpath
=yes
11294 hardcode_into_libs
=yes
11295 if test "$with_gnu_ld" = yes; then
11296 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11298 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11301 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11305 sys_lib_dlsearch_path_spec
='/usr/lib'
11309 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11310 version_type
=linux
# correct to gnu/linux during the next big refactor
11313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314 shlibpath_var
=LD_LIBRARY_PATH
11315 shlibpath_overrides_runpath
=no
11316 hardcode_into_libs
=yes
11320 version_type
=linux
# correct to gnu/linux during the next big refactor
11321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11322 soname_spec
='${libname}${release}${shared_ext}$major'
11323 shlibpath_var
=LD_LIBRARY_PATH
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11331 $as_echo "$dynamic_linker" >&6; }
11332 test "$dynamic_linker" = no
&& can_build_shared
=no
11334 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11335 if test "$GCC" = yes; then
11336 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11339 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11340 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11342 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11343 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11438 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11440 if test -n "$hardcode_libdir_flag_spec" ||
11441 test -n "$runpath_var" ||
11442 test "X$hardcode_automatic" = "Xyes" ; then
11444 # We can hardcode non-existent directories.
11445 if test "$hardcode_direct" != no
&&
11446 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11447 # have to relink, otherwise we might link with an installed library
11448 # when we should be linking with a yet-to-be-installed one
11449 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11450 test "$hardcode_minus_L" != no
; then
11451 # Linking always hardcodes the temporary library directory.
11452 hardcode_action
=relink
11454 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11455 hardcode_action
=immediate
11458 # We cannot hardcode anything, or else we can only hardcode existing
11460 hardcode_action
=unsupported
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11463 $as_echo "$hardcode_action" >&6; }
11465 if test "$hardcode_action" = relink
||
11466 test "$inherit_rpath" = yes; then
11467 # Fast installation is not supported
11468 enable_fast_install
=no
11469 elif test "$shlibpath_overrides_runpath" = yes ||
11470 test "$enable_shared" = no
; then
11471 # Fast installation is not necessary
11472 enable_fast_install
=needless
11480 if test "x$enable_dlopen" != xyes
; then
11481 enable_dlopen
=unknown
11482 enable_dlopen_self
=unknown
11483 enable_dlopen_self_static
=unknown
11490 lt_cv_dlopen
="load_add_on"
11492 lt_cv_dlopen_self
=yes
11495 mingw
* | pw32
* | cegcc
*)
11496 lt_cv_dlopen
="LoadLibrary"
11501 lt_cv_dlopen
="dlopen"
11506 # if libdl is installed we need to link against it
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11508 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11509 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11510 $as_echo_n "(cached) " >&6
11512 ac_check_lib_save_LIBS
=$LIBS
11514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11517 /* Override any GCC internal prototype to avoid an error.
11518 Use char because int might match the return type of a GCC
11519 builtin and then its argument prototype would still apply. */
11532 if ac_fn_c_try_link
"$LINENO"; then :
11533 ac_cv_lib_dl_dlopen
=yes
11535 ac_cv_lib_dl_dlopen
=no
11537 rm -f core conftest.err conftest.
$ac_objext \
11538 conftest
$ac_exeext conftest.
$ac_ext
11539 LIBS
=$ac_check_lib_save_LIBS
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11542 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11543 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11544 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11547 lt_cv_dlopen
="dyld"
11549 lt_cv_dlopen_self
=yes
11556 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11557 if test "x$ac_cv_func_shl_load" = xyes
; then :
11558 lt_cv_dlopen
="shl_load"
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11561 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11562 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11563 $as_echo_n "(cached) " >&6
11565 ac_check_lib_save_LIBS
=$LIBS
11567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11570 /* Override any GCC internal prototype to avoid an error.
11571 Use char because int might match the return type of a GCC
11572 builtin and then its argument prototype would still apply. */
11580 return shl_load ();
11585 if ac_fn_c_try_link
"$LINENO"; then :
11586 ac_cv_lib_dld_shl_load
=yes
11588 ac_cv_lib_dld_shl_load
=no
11590 rm -f core conftest.err conftest.
$ac_objext \
11591 conftest
$ac_exeext conftest.
$ac_ext
11592 LIBS
=$ac_check_lib_save_LIBS
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11595 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11596 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11597 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11599 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11600 if test "x$ac_cv_func_dlopen" = xyes
; then :
11601 lt_cv_dlopen
="dlopen"
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11604 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11605 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11606 $as_echo_n "(cached) " >&6
11608 ac_check_lib_save_LIBS
=$LIBS
11610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11613 /* Override any GCC internal prototype to avoid an error.
11614 Use char because int might match the return type of a GCC
11615 builtin and then its argument prototype would still apply. */
11628 if ac_fn_c_try_link
"$LINENO"; then :
11629 ac_cv_lib_dl_dlopen
=yes
11631 ac_cv_lib_dl_dlopen
=no
11633 rm -f core conftest.err conftest.
$ac_objext \
11634 conftest
$ac_exeext conftest.
$ac_ext
11635 LIBS
=$ac_check_lib_save_LIBS
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11638 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11639 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11640 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11643 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11644 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11645 $as_echo_n "(cached) " >&6
11647 ac_check_lib_save_LIBS
=$LIBS
11648 LIBS
="-lsvld $LIBS"
11649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11650 /* end confdefs.h. */
11652 /* Override any GCC internal prototype to avoid an error.
11653 Use char because int might match the return type of a GCC
11654 builtin and then its argument prototype would still apply. */
11667 if ac_fn_c_try_link
"$LINENO"; then :
11668 ac_cv_lib_svld_dlopen
=yes
11670 ac_cv_lib_svld_dlopen
=no
11672 rm -f core conftest.err conftest.
$ac_objext \
11673 conftest
$ac_exeext conftest.
$ac_ext
11674 LIBS
=$ac_check_lib_save_LIBS
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11677 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11678 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11679 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11682 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11683 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11684 $as_echo_n "(cached) " >&6
11686 ac_check_lib_save_LIBS
=$LIBS
11688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11701 return dld_link ();
11706 if ac_fn_c_try_link
"$LINENO"; then :
11707 ac_cv_lib_dld_dld_link
=yes
11709 ac_cv_lib_dld_dld_link
=no
11711 rm -f core conftest.err conftest.
$ac_objext \
11712 conftest
$ac_exeext conftest.
$ac_ext
11713 LIBS
=$ac_check_lib_save_LIBS
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11716 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11717 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11718 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11739 if test "x$lt_cv_dlopen" != xno
; then
11745 case $lt_cv_dlopen in
11747 save_CPPFLAGS
="$CPPFLAGS"
11748 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11750 save_LDFLAGS
="$LDFLAGS"
11751 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11754 LIBS
="$lt_cv_dlopen_libs $LIBS"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11757 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11758 if ${lt_cv_dlopen_self+:} false
; then :
11759 $as_echo_n "(cached) " >&6
11761 if test "$cross_compiling" = yes; then :
11762 lt_cv_dlopen_self
=cross
11764 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11765 lt_status
=$lt_dlunknown
11766 cat > conftest.
$ac_ext <<_LT_EOF
11767 #line $LINENO "configure"
11768 #include "confdefs.h"
11777 # define LT_DLGLOBAL RTLD_GLOBAL
11780 # define LT_DLGLOBAL DL_GLOBAL
11782 # define LT_DLGLOBAL 0
11786 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11787 find out it does not work in some platform. */
11788 #ifndef LT_DLLAZY_OR_NOW
11790 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11793 # define LT_DLLAZY_OR_NOW DL_LAZY
11796 # define LT_DLLAZY_OR_NOW RTLD_NOW
11799 # define LT_DLLAZY_OR_NOW DL_NOW
11801 # define LT_DLLAZY_OR_NOW 0
11808 /* When -fvisbility=hidden is used, assume the code has been annotated
11809 correspondingly for the symbols needed. */
11810 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11811 int fnord () __attribute__((visibility("default")));
11814 int fnord () { return 42; }
11817 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11818 int status = $lt_dlunknown;
11822 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11825 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11826 else puts (dlerror ());
11828 /* dlclose (self); */
11836 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11837 (eval $ac_link) 2>&5
11839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11840 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11841 (.
/conftest
; exit; ) >&5 2>/dev
/null
11843 case x
$lt_status in
11844 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11845 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11846 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11849 # compilation failed
11850 lt_cv_dlopen_self
=no
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11858 $as_echo "$lt_cv_dlopen_self" >&6; }
11860 if test "x$lt_cv_dlopen_self" = xyes
; then
11861 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11863 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11864 if ${lt_cv_dlopen_self_static+:} false
; then :
11865 $as_echo_n "(cached) " >&6
11867 if test "$cross_compiling" = yes; then :
11868 lt_cv_dlopen_self_static
=cross
11870 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11871 lt_status
=$lt_dlunknown
11872 cat > conftest.
$ac_ext <<_LT_EOF
11873 #line $LINENO "configure"
11874 #include "confdefs.h"
11883 # define LT_DLGLOBAL RTLD_GLOBAL
11886 # define LT_DLGLOBAL DL_GLOBAL
11888 # define LT_DLGLOBAL 0
11892 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11893 find out it does not work in some platform. */
11894 #ifndef LT_DLLAZY_OR_NOW
11896 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11899 # define LT_DLLAZY_OR_NOW DL_LAZY
11902 # define LT_DLLAZY_OR_NOW RTLD_NOW
11905 # define LT_DLLAZY_OR_NOW DL_NOW
11907 # define LT_DLLAZY_OR_NOW 0
11914 /* When -fvisbility=hidden is used, assume the code has been annotated
11915 correspondingly for the symbols needed. */
11916 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11917 int fnord () __attribute__((visibility("default")));
11920 int fnord () { return 42; }
11923 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11924 int status = $lt_dlunknown;
11928 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11931 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11932 else puts (dlerror ());
11934 /* dlclose (self); */
11942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11943 (eval $ac_link) 2>&5
11945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11946 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11947 (.
/conftest
; exit; ) >&5 2>/dev
/null
11949 case x
$lt_status in
11950 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11951 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11952 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11955 # compilation failed
11956 lt_cv_dlopen_self_static
=no
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11964 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11967 CPPFLAGS
="$save_CPPFLAGS"
11968 LDFLAGS
="$save_LDFLAGS"
11973 case $lt_cv_dlopen_self in
11974 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11975 *) enable_dlopen_self
=unknown
;;
11978 case $lt_cv_dlopen_self_static in
11979 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11980 *) enable_dlopen_self_static
=unknown
;;
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12003 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12004 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12005 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12006 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12008 $as_echo "yes" >&6; }
12010 # FIXME - insert some real tests, host_os isn't really good enough
12013 if test -n "$STRIP" ; then
12014 striplib
="$STRIP -x"
12015 old_striplib
="$STRIP -S"
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12017 $as_echo "yes" >&6; }
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12020 $as_echo "no" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12041 # Report which library types will actually be built
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12043 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12045 $as_echo "$can_build_shared" >&6; }
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12048 $as_echo_n "checking whether to build shared libraries... " >&6; }
12049 test "$can_build_shared" = "no" && enable_shared
=no
12051 # On AIX, shared libraries and static libraries use the same namespace, and
12052 # are all built from PIC.
12055 test "$enable_shared" = yes && enable_static
=no
12056 if test -n "$RANLIB"; then
12057 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12058 postinstall_cmds
='$RANLIB $lib'
12063 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12064 test "$enable_shared" = yes && enable_static
=no
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12069 $as_echo "$enable_shared" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12072 $as_echo_n "checking whether to build static libraries... " >&6; }
12073 # Make sure either enable_shared or enable_static is yes.
12074 test "$enable_shared" = yes || enable_static
=yes
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12076 $as_echo "$enable_static" >&6; }
12083 ac_cpp
='$CPP $CPPFLAGS'
12084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12104 ac_config_commands
="$ac_config_commands libtool"
12109 # Only expand once:
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12121 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12122 if ${libltdl_cv_shlibext+:} false
; then :
12123 $as_echo_n "(cached) " >&6
12127 eval libltdl_cv_shlibext
=$shrext_cmds
12129 eval libltdl_cv_shrext
=$shrext_cmds
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
12133 $as_echo "$libltdl_cv_shlibext" >&6; }
12134 if test -n "$libltdl_cv_shlibext"; then
12136 cat >>confdefs.h
<<_ACEOF
12137 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
12141 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12143 cat >>confdefs.h
<<_ACEOF
12144 #define LT_SHARED_EXT "$libltdl_cv_shrext"
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12150 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12151 if ${lt_cv_module_path_var+:} false
; then :
12152 $as_echo_n "(cached) " >&6
12154 lt_cv_module_path_var
="$shlibpath_var"
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12157 $as_echo "$lt_cv_module_path_var" >&6; }
12158 if test -n "$lt_cv_module_path_var"; then
12160 cat >>confdefs.h
<<_ACEOF
12161 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12167 $as_echo_n "checking for the default library search path... " >&6; }
12168 if ${lt_cv_sys_dlsearch_path+:} false
; then :
12169 $as_echo_n "(cached) " >&6
12171 lt_cv_sys_dlsearch_path
="$sys_lib_dlsearch_path_spec"
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12174 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
12175 if test -n "$lt_cv_sys_dlsearch_path"; then
12177 for dir
in $lt_cv_sys_dlsearch_path; do
12178 if test -z "$sys_dlsearch_path"; then
12179 sys_dlsearch_path
="$dir"
12181 sys_dlsearch_path
="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12185 cat >>confdefs.h
<<_ACEOF
12186 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
12196 ac_cpp
='$CPP $CPPFLAGS'
12197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12204 $as_echo_n "checking for library containing dlopen... " >&6; }
12205 if ${ac_cv_search_dlopen+:} false
; then :
12206 $as_echo_n "(cached) " >&6
12208 ac_func_search_save_LIBS
=$LIBS
12209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12227 for ac_lib
in '' dl
; do
12228 if test -z "$ac_lib"; then
12229 ac_res
="none required"
12232 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12234 if ac_fn_c_try_link
"$LINENO"; then :
12235 ac_cv_search_dlopen
=$ac_res
12237 rm -f core conftest.err conftest.
$ac_objext \
12239 if ${ac_cv_search_dlopen+:} false
; then :
12243 if ${ac_cv_search_dlopen+:} false
; then :
12246 ac_cv_search_dlopen
=no
12248 rm conftest.
$ac_ext
12249 LIBS
=$ac_func_search_save_LIBS
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12252 $as_echo "$ac_cv_search_dlopen" >&6; }
12253 ac_res
=$ac_cv_search_dlopen
12254 if test "$ac_res" != no
; then :
12255 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12257 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12259 if test "$ac_cv_search_dlopen" != "none required" ; then
12260 LIBADD_DLOPEN
="-ldl"
12262 libltdl_cv_lib_dl_dlopen
="yes"
12263 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 # include <dlfcn.h>
12279 if ac_fn_c_try_link
"$LINENO"; then :
12281 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12283 libltdl_cv_func_dlopen
="yes"
12284 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12287 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12288 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12289 $as_echo_n "(cached) " >&6
12291 ac_check_lib_save_LIBS
=$LIBS
12292 LIBS
="-lsvld $LIBS"
12293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12311 if ac_fn_c_try_link
"$LINENO"; then :
12312 ac_cv_lib_svld_dlopen
=yes
12314 ac_cv_lib_svld_dlopen
=no
12316 rm -f core conftest.err conftest.
$ac_objext \
12317 conftest
$ac_exeext conftest.
$ac_ext
12318 LIBS
=$ac_check_lib_save_LIBS
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12321 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12322 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12324 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12326 LIBADD_DLOPEN
="-lsvld" libltdl_cv_func_dlopen
="yes"
12327 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12331 rm -f core conftest.err conftest.
$ac_objext \
12332 conftest
$ac_exeext conftest.
$ac_ext
12335 if test x
"$libltdl_cv_func_dlopen" = xyes
|| test x
"$libltdl_cv_lib_dl_dlopen" = xyes
12337 lt_save_LIBS
="$LIBS"
12338 LIBS
="$LIBS $LIBADD_DLOPEN"
12339 for ac_func
in dlerror
12341 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
12342 if test "x$ac_cv_func_dlerror" = xyes
; then :
12343 cat >>confdefs.h
<<_ACEOF
12344 #define HAVE_DLERROR 1
12350 LIBS
="$lt_save_LIBS"
12355 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12356 if test "x$ac_cv_func_shl_load" = xyes
; then :
12358 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12360 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12363 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12364 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12365 $as_echo_n "(cached) " >&6
12367 ac_check_lib_save_LIBS
=$LIBS
12369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12372 /* Override any GCC internal prototype to avoid an error.
12373 Use char because int might match the return type of a GCC
12374 builtin and then its argument prototype would still apply. */
12382 return shl_load ();
12387 if ac_fn_c_try_link
"$LINENO"; then :
12388 ac_cv_lib_dld_shl_load
=yes
12390 ac_cv_lib_dld_shl_load
=no
12392 rm -f core conftest.err conftest.
$ac_objext \
12393 conftest
$ac_exeext conftest.
$ac_ext
12394 LIBS
=$ac_check_lib_save_LIBS
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12397 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12398 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12400 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12402 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12403 LIBADD_SHL_LOAD
="-ldld"
12412 # We only want this for pre-Mac OS X 10.4.
12413 ac_fn_c_check_func
"$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12414 if test "x$ac_cv_func__dyld_func_lookup" = xyes
; then :
12416 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12418 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12423 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12425 cygwin
* | mingw
* | os2
* | pw32
*)
12426 ac_fn_c_check_decl
"$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12428 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
; then :
12434 cat >>confdefs.h
<<_ACEOF
12435 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
12438 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12443 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12444 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12445 $as_echo_n "(cached) " >&6
12447 ac_check_lib_save_LIBS
=$LIBS
12449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12452 /* Override any GCC internal prototype to avoid an error.
12453 Use char because int might match the return type of a GCC
12454 builtin and then its argument prototype would still apply. */
12462 return dld_link ();
12467 if ac_fn_c_try_link
"$LINENO"; then :
12468 ac_cv_lib_dld_dld_link
=yes
12470 ac_cv_lib_dld_dld_link
=no
12472 rm -f core conftest.err conftest.
$ac_objext \
12473 conftest
$ac_exeext conftest.
$ac_ext
12474 LIBS
=$ac_check_lib_save_LIBS
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12477 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12478 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12480 $as_echo "#define HAVE_DLD 1" >>confdefs.h
12482 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12489 if test -n "$LT_DLLOADERS"
12491 for lt_loader
in $LT_DLLOADERS; do
12492 LT_DLPREOPEN
="$LT_DLPREOPEN-dlpreopen $lt_loader "
12495 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
12500 LIBADD_DL
="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12504 ac_cpp
='$CPP $CPPFLAGS'
12505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12511 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12512 if ${lt_cv_sys_symbol_underscore+:} false
; then :
12513 $as_echo_n "(cached) " >&6
12515 lt_cv_sys_symbol_underscore
=no
12516 cat > conftest.
$ac_ext <<_LT_EOF
12517 void nm_test_func(){}
12518 int main(){nm_test_func;return 0;}
12520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12521 (eval $ac_compile) 2>&5
12523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12524 test $ac_status = 0; }; then
12525 # Now try to grab the symbols.
12526 ac_nlist
=conftest.nm
12527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
12528 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
12530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12531 test $ac_status = 0; } && test -s "$ac_nlist"; then
12532 # See whether the symbols have a leading underscore.
12533 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
12534 lt_cv_sys_symbol_underscore
=yes
12536 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
12539 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12543 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12546 echo "configure: failed program was:" >&5
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12553 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12554 sys_symbol_underscore
=$lt_cv_sys_symbol_underscore
12557 if test x
"$lt_cv_sys_symbol_underscore" = xyes
; then
12558 if test x
"$libltdl_cv_func_dlopen" = xyes
||
12559 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12561 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12562 if ${libltdl_cv_need_uscore+:} false
; then :
12563 $as_echo_n "(cached) " >&6
12565 libltdl_cv_need_uscore
=unknown
12567 LIBS
="$LIBS $LIBADD_DLOPEN"
12568 if test "$cross_compiling" = yes; then :
12569 libltdl_cv_need_uscore
=cross
12571 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12572 lt_status
=$lt_dlunknown
12573 cat > conftest.
$ac_ext <<_LT_EOF
12574 #line $LINENO "configure"
12575 #include "confdefs.h"
12584 # define LT_DLGLOBAL RTLD_GLOBAL
12587 # define LT_DLGLOBAL DL_GLOBAL
12589 # define LT_DLGLOBAL 0
12593 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12594 find out it does not work in some platform. */
12595 #ifndef LT_DLLAZY_OR_NOW
12597 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12600 # define LT_DLLAZY_OR_NOW DL_LAZY
12603 # define LT_DLLAZY_OR_NOW RTLD_NOW
12606 # define LT_DLLAZY_OR_NOW DL_NOW
12608 # define LT_DLLAZY_OR_NOW 0
12615 /* When -fvisbility=hidden is used, assume the code has been annotated
12616 correspondingly for the symbols needed. */
12617 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12618 int fnord () __attribute__((visibility("default")));
12621 int fnord () { return 42; }
12624 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12625 int status = $lt_dlunknown;
12629 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12632 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12633 else puts (dlerror ());
12635 /* dlclose (self); */
12643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12644 (eval $ac_link) 2>&5
12646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12647 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12648 (.
/conftest
; exit; ) >&5 2>/dev
/null
12650 case x
$lt_status in
12651 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
12652 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
12653 x
$lt_dlunknown|x
*) ;;
12656 # compilation failed
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
12666 $as_echo "$libltdl_cv_need_uscore" >&6; }
12670 if test x
"$libltdl_cv_need_uscore" = xyes
; then
12672 $as_echo "#define NEED_USCORE 1" >>confdefs.h
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12677 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12678 if ${lt_cv_sys_dlopen_deplibs+:} false
; then :
12679 $as_echo_n "(cached) " >&6
12681 # PORTME does your system automatically load deplibs for dlopen?
12682 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12683 # For now, we just catch OSes we know something about -- in the
12684 # future, we'll try test this programmatically.
12685 lt_cv_sys_dlopen_deplibs
=unknown
12687 aix3
*|aix4.1.
*|aix4.2.
*)
12688 # Unknown whether this is true for these versions of AIX, but
12689 # we want this `case' here to explicitly catch those versions.
12690 lt_cv_sys_dlopen_deplibs
=unknown
12693 lt_cv_sys_dlopen_deplibs
=yes
12698 lt_cv_sys_dlopen_deplibs
=no
12703 # Assuming the user has installed a libdl from somewhere, this is true
12704 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12705 lt_cv_sys_dlopen_deplibs
=yes
12707 freebsd
* | dragonfly
*)
12708 lt_cv_sys_dlopen_deplibs
=yes
12710 gnu
* | linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12711 # GNU and its variants, using gnu ld.so (Glibc)
12712 lt_cv_sys_dlopen_deplibs
=yes
12715 lt_cv_sys_dlopen_deplibs
=yes
12718 lt_cv_sys_dlopen_deplibs
=yes
12720 irix
[12345]*|irix6.
[01]*)
12721 # Catch all versions of IRIX before 6.2, and indicate that we don't
12722 # know how it worked for any of those versions.
12723 lt_cv_sys_dlopen_deplibs
=unknown
12726 # The case above catches anything before 6.2, and it's known that
12727 # at 6.2 and later dlopen does load deplibs.
12728 lt_cv_sys_dlopen_deplibs
=yes
12730 netbsd
* | netbsdelf
*-gnu)
12731 lt_cv_sys_dlopen_deplibs
=yes
12734 lt_cv_sys_dlopen_deplibs
=yes
12737 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12738 # it did *not* use an RPATH in a shared library to find objects the
12739 # library depends on, so we explicitly say `no'.
12740 lt_cv_sys_dlopen_deplibs
=no
12742 osf5.0
|osf5.0a
|osf5.1
)
12743 # dlopen *does* load deplibs and with the right loader patch applied
12744 # it even uses RPATH in a shared library to search for shared objects
12745 # that the library depends on, but there's no easy way to know if that
12746 # patch is installed. Since this is the case, all we can really
12747 # say is unknown -- it depends on the patch being installed. If
12748 # it is, this changes to `yes'. Without it, it would be `no'.
12749 lt_cv_sys_dlopen_deplibs
=unknown
12752 # the two cases above should catch all versions of osf <= 5.1. Read
12753 # the comments above for what we know about them.
12754 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12755 # is used to find them so we can finally say `yes'.
12756 lt_cv_sys_dlopen_deplibs
=yes
12759 lt_cv_sys_dlopen_deplibs
=yes
12762 lt_cv_sys_dlopen_deplibs
=yes
12764 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12765 libltdl_cv_sys_dlopen_deplibs
=yes
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12771 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12772 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12774 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12780 for ac_header
in argz.h
12782 ac_fn_c_check_header_compile
"$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12784 if test "x$ac_cv_header_argz_h" = xyes
; then :
12785 cat >>confdefs.h
<<_ACEOF
12786 #define HAVE_ARGZ_H 1
12794 ac_fn_c_check_type
"$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
12798 if test "x$ac_cv_type_error_t" = xyes
; then :
12800 cat >>confdefs.h
<<_ACEOF
12801 #define HAVE_ERROR_T 1
12807 $as_echo "#define error_t int" >>confdefs.h
12810 $as_echo "#define __error_t_defined 1" >>confdefs.h
12816 for ac_func
in argz_add argz_append argz_count argz_create_sep argz_insert \
12817 argz_next argz_stringify
12819 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12820 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12821 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12822 cat >>confdefs.h
<<_ACEOF
12823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12829 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
12835 if test -z "$ARGZ_H"; then :
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12837 $as_echo_n "checking if argz actually works... " >&6; }
12838 if ${lt_cv_sys_argz_works+:} false
; then :
12839 $as_echo_n "(cached) " >&6
12841 case $host_os in #(
12843 lt_cv_sys_argz_works
=no
12844 if test "$cross_compiling" != no
; then
12845 lt_cv_sys_argz_works
="guessing no"
12847 lt_sed_extract_leading_digits
='s/^\([0-9\.]*\).*/\1/'
12850 set x
`uname -r | sed -e "$lt_sed_extract_leading_digits"`
12855 if test "$lt_os_major" -gt 1 \
12856 || { test "$lt_os_major" -eq 1 \
12857 && { test "$lt_os_minor" -gt 5 \
12858 || { test "$lt_os_minor" -eq 5 \
12859 && test "$lt_os_micro" -gt 24; }; }; }; then
12860 lt_cv_sys_argz_works
=yes
12864 *) lt_cv_sys_argz_works
=yes ;;
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12868 $as_echo "$lt_cv_sys_argz_works" >&6; }
12869 if test "$lt_cv_sys_argz_works" = yes; then :
12871 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12877 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12885 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12886 if ${libltdl_cv_preloaded_symbols+:} false
; then :
12887 $as_echo_n "(cached) " >&6
12889 if test -n "$lt_cv_sys_global_symbol_pipe"; then
12890 libltdl_cv_preloaded_symbols
=yes
12892 libltdl_cv_preloaded_symbols
=no
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
12897 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12898 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
12900 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
12919 # Check whether --with-included_ltdl was given.
12920 if test "${with_included_ltdl+set}" = set; then :
12921 withval
=$with_included_ltdl;
12925 if test "x$with_included_ltdl" != xyes
; then
12926 # We are not being forced to use the included libltdl sources, so
12927 # decide whether there is a useful installed version we can use.
12928 ac_fn_c_check_header_compile
"$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12931 if test "x$ac_cv_header_ltdl_h" = xyes
; then :
12932 ac_fn_c_check_decl
"$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12935 if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
; then :
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12937 $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12938 if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false
; then :
12939 $as_echo_n "(cached) " >&6
12941 ac_check_lib_save_LIBS
=$LIBS
12942 LIBS
="-lltdl $LIBS"
12943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12952 char lt_dladvise_preload ();
12956 return lt_dladvise_preload ();
12961 if ac_fn_c_try_link
"$LINENO"; then :
12962 ac_cv_lib_ltdl_lt_dladvise_preload
=yes
12964 ac_cv_lib_ltdl_lt_dladvise_preload
=no
12966 rm -f core conftest.err conftest.
$ac_objext \
12967 conftest
$ac_exeext conftest.
$ac_ext
12968 LIBS
=$ac_check_lib_save_LIBS
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12971 $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12972 if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
; then :
12973 with_included_ltdl
=no
12975 with_included_ltdl
=yes
12979 with_included_ltdl
=yes
12983 with_included_ltdl
=yes
12992 # Check whether --with-ltdl_include was given.
12993 if test "${with_ltdl_include+set}" = set; then :
12994 withval
=$with_ltdl_include;
12998 if test -n "$with_ltdl_include"; then
12999 if test -f "$with_ltdl_include/ltdl.h"; then :
13001 as_fn_error $?
"invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13004 with_ltdl_include
=no
13008 # Check whether --with-ltdl_lib was given.
13009 if test "${with_ltdl_lib+set}" = set; then :
13010 withval
=$with_ltdl_lib;
13014 if test -n "$with_ltdl_lib"; then
13015 if test -f "$with_ltdl_lib/libltdl.la"; then :
13017 as_fn_error $?
"invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13023 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13025 case $enable_ltdl_convenience in
13026 no
) as_fn_error $?
"this package needs a convenience libltdl" "$LINENO" 5 ;;
13027 "") enable_ltdl_convenience
=yes
13028 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
13030 LIBLTDL
='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13032 LTDLINCL
='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13038 # For backwards non-gettext consistent compatibility...
13039 INCLTDL
="$LTDLINCL"
13044 # If the included ltdl is not to be used, then use the
13045 # preinstalled libltdl we found.
13047 $as_echo "#define HAVE_LTDL 1" >>confdefs.h
13054 as_fn_error $?
"\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13056 *) with_included_ltdl
=no
13057 LIBLTDL
="-L$with_ltdl_lib -lltdl"
13059 LTDLINCL
="-I$with_ltdl_include"
13062 INCLTDL
="$LTDLINCL"
13064 # Report our decision...
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
13066 $as_echo_n "checking where to find libltdl headers... " >&6; }
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
13068 $as_echo "$LTDLINCL" >&6; }
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
13070 $as_echo_n "checking where to find libltdl library... " >&6; }
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
13072 $as_echo "$LIBLTDL" >&6; }
13076 # Check whether --enable-ltdl-install was given.
13077 if test "${enable_ltdl_install+set}" = set; then :
13078 enableval
=$enable_ltdl_install;
13082 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13084 *) enable_ltdl_convenience
=yes ;;
13087 if test x
"${enable_ltdl_install-no}" != xno
; then
13089 INSTALL_LTDL_FALSE
='#'
13091 INSTALL_LTDL_TRUE
='#'
13092 INSTALL_LTDL_FALSE
=
13095 if test x
"${enable_ltdl_convenience-no}" != xno
; then
13096 CONVENIENCE_LTDL_TRUE
=
13097 CONVENIENCE_LTDL_FALSE
='#'
13099 CONVENIENCE_LTDL_TRUE
='#'
13100 CONVENIENCE_LTDL_FALSE
=
13105 subdirs
="$subdirs extra/libltdl"
13110 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
13111 # the user used. This is so that ltdl.h can pick up the parent projects
13112 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
13113 # definitions required by ltdl.c.
13114 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
13118 for ac_header
in unistd.h dl.h sys
/dl.h dld.h mach
-o/dyld.h dirent.h
13120 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13121 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13123 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13124 cat >>confdefs.h
<<_ACEOF
13125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13133 for ac_func
in closedir opendir readdir
13135 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13136 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13137 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13138 cat >>confdefs.h
<<_ACEOF
13139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13145 _LT_LIBOBJS
="$_LT_LIBOBJS lt__dirent.$ac_objext"
13150 for ac_func
in strlcat strlcpy
13152 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13153 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13154 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13155 cat >>confdefs.h
<<_ACEOF
13156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13162 _LT_LIBOBJS
="$_LT_LIBOBJS lt__strl.$ac_objext"
13169 cat >>confdefs.h
<<_ACEOF
13170 #define LT_LIBEXT "$libext"
13175 eval "lt_libprefix=\"$libname_spec\""
13177 cat >>confdefs.h
<<_ACEOF
13178 #define LT_LIBPREFIX "$lt_libprefix"
13183 eval "LTDLOPEN=\"$libname_spec\""
13192 # Only expand once:
13196 build_ltdl
=$with_included_ltdl
13197 if test x
"$build_ltdl" = x
"yes"; then
13199 BUILD_LTDL_FALSE
='#'
13201 BUILD_LTDL_TRUE
='#'
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13207 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13208 if ${ac_cv_prog_cc_c99+:} false
; then :
13209 $as_echo_n "(cached) " >&6
13211 ac_cv_prog_cc_c99
=no
13213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13215 #include <stdarg.h>
13216 #include <stdbool.h>
13217 #include <stdlib.h>
13221 // Check varargs macros. These examples are taken from C99 6.10.3.5.
13222 #define debug(...) fprintf (stderr, __VA_ARGS__)
13223 #define showlist(...) puts (#__VA_ARGS__)
13224 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13226 test_varargs_macros (void)
13231 debug ("X = %d\n", x);
13232 showlist (The first, second, and third items.);
13233 report (x>y, "x is %d but y is %d", x, y);
13236 // Check long long types.
13237 #define BIG64 18446744073709551615ull
13238 #define BIG32 4294967295ul
13239 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13241 your preprocessor is broken;
13245 your preprocessor is broken;
13247 static long long int bignum = -9223372036854775807LL;
13248 static unsigned long long int ubignum = BIG64;
13250 struct incomplete_array
13256 struct named_init {
13258 const wchar_t *name;
13262 typedef const char *ccp;
13265 test_restrict (ccp restrict text)
13267 // See if C++-style comments work.
13268 // Iterate through items via the restricted pointer.
13269 // Also check for declarations in for loops.
13270 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13275 // Check varargs and va_copy.
13277 test_varargs (const char *format, ...)
13280 va_start (args, format);
13282 va_copy (args_copy, args);
13292 case 's': // string
13293 str = va_arg (args_copy, const char *);
13296 number = va_arg (args_copy, int);
13299 fnumber = va_arg (args_copy, double);
13305 va_end (args_copy);
13314 _Bool success = false;
13317 if (test_restrict ("String literal") == 0)
13319 char *restrict newvar = "Another string";
13322 test_varargs ("s, d' f .", "string", 65, 34.234);
13323 test_varargs_macros ();
13325 // Check flexible array members.
13326 struct incomplete_array *ia =
13327 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13329 for (int i = 0; i < ia->datasize; ++i)
13330 ia->data[i] = i * 1.234;
13332 // Check named initializers.
13333 struct named_init ni = {
13335 .name = L"Test wide string",
13336 .average = 543.34343,
13341 int dynamic_array[ni.number];
13342 dynamic_array[ni.number - 1] = 543;
13344 // work around unused variable warnings
13345 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13346 || dynamic_array[ni.number - 1] != 543);
13352 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
13354 CC
="$ac_save_CC $ac_arg"
13355 if ac_fn_c_try_compile
"$LINENO"; then :
13356 ac_cv_prog_cc_c99
=$ac_arg
13358 rm -f core conftest.err conftest.
$ac_objext
13359 test "x$ac_cv_prog_cc_c99" != "xno" && break
13361 rm -f conftest.
$ac_ext
13366 case "x$ac_cv_prog_cc_c99" in
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13369 $as_echo "none needed" >&6; } ;;
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13372 $as_echo "unsupported" >&6; } ;;
13374 CC
="$CC $ac_cv_prog_cc_c99"
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13376 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13378 if test "x$ac_cv_prog_cc_c99" != xno
; then :
13385 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
13386 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
13393 if test "$MINIX" = yes; then
13395 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
13398 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
13401 $as_echo "#define _MINIX 1" >>confdefs.h
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
13407 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
13408 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
13409 $as_echo_n "(cached) " >&6
13411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13414 # define __EXTENSIONS__ 1
13415 $ac_includes_default
13424 if ac_fn_c_try_compile
"$LINENO"; then :
13425 ac_cv_safe_to_define___extensions__
=yes
13427 ac_cv_safe_to_define___extensions__
=no
13429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
13432 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
13433 test $ac_cv_safe_to_define___extensions__ = yes &&
13434 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
13436 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
13438 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
13440 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
13442 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
13447 OLD_CFLAGS
="$CFLAGS"
13449 ac_cpp
='$CPP $CPPFLAGS'
13450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13453 if test -n "$ac_tool_prefix"; then
13454 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13455 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13457 $as_echo_n "checking for $ac_word... " >&6; }
13458 if ${ac_cv_prog_CC+:} false
; then :
13459 $as_echo_n "(cached) " >&6
13461 if test -n "$CC"; then
13462 ac_cv_prog_CC
="$CC" # Let the user override the test.
13464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13465 for as_dir
in $PATH
13468 test -z "$as_dir" && as_dir
=.
13469 for ac_exec_ext
in '' $ac_executable_extensions; do
13470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13471 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13482 if test -n "$CC"; then
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13484 $as_echo "$CC" >&6; }
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13487 $as_echo "no" >&6; }
13492 if test -z "$ac_cv_prog_CC"; then
13494 # Extract the first word of "gcc", so it can be a program name with args.
13495 set dummy gcc
; ac_word
=$2
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13497 $as_echo_n "checking for $ac_word... " >&6; }
13498 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
13499 $as_echo_n "(cached) " >&6
13501 if test -n "$ac_ct_CC"; then
13502 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13505 for as_dir
in $PATH
13508 test -z "$as_dir" && as_dir
=.
13509 for ac_exec_ext
in '' $ac_executable_extensions; do
13510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13511 ac_cv_prog_ac_ct_CC
="gcc"
13512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13521 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13522 if test -n "$ac_ct_CC"; then
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13524 $as_echo "$ac_ct_CC" >&6; }
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13527 $as_echo "no" >&6; }
13530 if test "x$ac_ct_CC" = x
; then
13533 case $cross_compiling:$ac_tool_warned in
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13537 ac_tool_warned
=yes ;;
13542 CC
="$ac_cv_prog_CC"
13545 if test -z "$CC"; then
13546 if test -n "$ac_tool_prefix"; then
13547 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13548 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13550 $as_echo_n "checking for $ac_word... " >&6; }
13551 if ${ac_cv_prog_CC+:} false
; then :
13552 $as_echo_n "(cached) " >&6
13554 if test -n "$CC"; then
13555 ac_cv_prog_CC
="$CC" # Let the user override the test.
13557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13558 for as_dir
in $PATH
13561 test -z "$as_dir" && as_dir
=.
13562 for ac_exec_ext
in '' $ac_executable_extensions; do
13563 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13564 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13575 if test -n "$CC"; then
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13577 $as_echo "$CC" >&6; }
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13580 $as_echo "no" >&6; }
13586 if test -z "$CC"; then
13587 # Extract the first word of "cc", so it can be a program name with args.
13588 set dummy cc
; ac_word
=$2
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13590 $as_echo_n "checking for $ac_word... " >&6; }
13591 if ${ac_cv_prog_CC+:} false
; then :
13592 $as_echo_n "(cached) " >&6
13594 if test -n "$CC"; then
13595 ac_cv_prog_CC
="$CC" # Let the user override the test.
13597 ac_prog_rejected
=no
13598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13599 for as_dir
in $PATH
13602 test -z "$as_dir" && as_dir
=.
13603 for ac_exec_ext
in '' $ac_executable_extensions; do
13604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13605 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13606 ac_prog_rejected
=yes
13610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13617 if test $ac_prog_rejected = yes; then
13618 # We found a bogon in the path, so make sure we never use it.
13619 set dummy
$ac_cv_prog_CC
13621 if test $# != 0; then
13622 # We chose a different compiler from the bogus one.
13623 # However, it has the same basename, so the bogon will be chosen
13624 # first if we set CC to just the basename; use the full file name.
13626 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
13632 if test -n "$CC"; then
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13634 $as_echo "$CC" >&6; }
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13637 $as_echo "no" >&6; }
13642 if test -z "$CC"; then
13643 if test -n "$ac_tool_prefix"; then
13644 for ac_prog
in cl.exe
13646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13647 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13649 $as_echo_n "checking for $ac_word... " >&6; }
13650 if ${ac_cv_prog_CC+:} false
; then :
13651 $as_echo_n "(cached) " >&6
13653 if test -n "$CC"; then
13654 ac_cv_prog_CC
="$CC" # Let the user override the test.
13656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13657 for as_dir
in $PATH
13660 test -z "$as_dir" && as_dir
=.
13661 for ac_exec_ext
in '' $ac_executable_extensions; do
13662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13663 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13674 if test -n "$CC"; then
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13676 $as_echo "$CC" >&6; }
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13679 $as_echo "no" >&6; }
13683 test -n "$CC" && break
13686 if test -z "$CC"; then
13688 for ac_prog
in cl.exe
13690 # Extract the first word of "$ac_prog", so it can be a program name with args.
13691 set dummy
$ac_prog; ac_word
=$2
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13693 $as_echo_n "checking for $ac_word... " >&6; }
13694 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
13695 $as_echo_n "(cached) " >&6
13697 if test -n "$ac_ct_CC"; then
13698 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13701 for as_dir
in $PATH
13704 test -z "$as_dir" && as_dir
=.
13705 for ac_exec_ext
in '' $ac_executable_extensions; do
13706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13707 ac_cv_prog_ac_ct_CC
="$ac_prog"
13708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13717 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13718 if test -n "$ac_ct_CC"; then
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13720 $as_echo "$ac_ct_CC" >&6; }
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13723 $as_echo "no" >&6; }
13727 test -n "$ac_ct_CC" && break
13730 if test "x$ac_ct_CC" = x
; then
13733 case $cross_compiling:$ac_tool_warned in
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13737 ac_tool_warned
=yes ;;
13746 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13748 as_fn_error $?
"no acceptable C compiler found in \$PATH
13749 See \`config.log' for more details" "$LINENO" 5; }
13751 # Provide some information about the compiler.
13752 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13755 for ac_option
in --version -v -V -qversion; do
13756 { { ac_try
="$ac_compiler $ac_option >&5"
13757 case "(($ac_try" in
13758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13759 *) ac_try_echo=$ac_try;;
13761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13762 $as_echo "$ac_try_echo"; } >&5
13763 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13765 if test -s conftest.err; then
13767 ... rest of stderr output deleted ...
13768 10q' conftest.err >conftest.er1
13769 cat conftest.er1 >&5
13771 rm -f conftest.er1 conftest.err
13772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13773 test $ac_status = 0; }
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13777 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13778 if ${ac_cv_c_compiler_gnu+:} false; then :
13779 $as_echo_n "(cached) " >&6
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13795 if ac_fn_c_try_compile "$LINENO"; then :
13796 ac_compiler_gnu=yes
13800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13801 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13805 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13806 if test $ac_compiler_gnu = yes; then
13811 ac_test_CFLAGS=${CFLAGS+set}
13812 ac_save_CFLAGS=$CFLAGS
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13814 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13815 if ${ac_cv_prog_cc_g+:} false; then :
13816 $as_echo_n "(cached) " >&6
13818 ac_save_c_werror_flag=$ac_c_werror_flag
13819 ac_c_werror_flag=yes
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13833 if ac_fn_c_try_compile "$LINENO"; then :
13834 ac_cv_prog_cc_g=yes
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13848 if ac_fn_c_try_compile "$LINENO"; then :
13851 ac_c_werror_flag=$ac_save_c_werror_flag
13853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13864 if ac_fn_c_try_compile "$LINENO"; then :
13865 ac_cv_prog_cc_g=yes
13867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13872 ac_c_werror_flag=$ac_save_c_werror_flag
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13875 $as_echo "$ac_cv_prog_cc_g" >&6; }
13876 if test "$ac_test_CFLAGS" = set; then
13877 CFLAGS=$ac_save_CFLAGS
13878 elif test $ac_cv_prog_cc_g = yes; then
13879 if test "$GCC" = yes; then
13885 if test "$GCC" = yes; then
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13892 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13893 if ${ac_cv_prog_cc_c89+:} false; then :
13894 $as_echo_n "(cached) " >&6
13896 ac_cv_prog_cc_c89=no
13898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13900 #include <stdarg.h>
13903 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13904 struct buf { int x; };
13905 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13906 static char *e (p, i)
13912 static char *f (char * (*g) (char **, int), char **p, ...)
13917 s = g (p, va_arg (v,int));
13922 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13923 function prototypes and stuff, but not '\xHH' hex character constants.
13924 These don't provoke an error unfortunately, instead are silently treated
13925 as 'x'. The following induces an error, until -std is added to get
13926 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13927 array size at least. It's necessary to write '\x00'==0 to get something
13928 that's true only with -std. */
13929 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13931 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13932 inside strings and character constants. */
13934 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13936 int test (int i, double x);
13937 struct s1 {int (*f) (int a);};
13938 struct s2 {int (*f) (double a);};
13939 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13945 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13950 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13951 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13953 CC="$ac_save_CC $ac_arg"
13954 if ac_fn_c_try_compile "$LINENO"; then :
13955 ac_cv_prog_cc_c89=$ac_arg
13957 rm -f core conftest.err conftest.$ac_objext
13958 test "x$ac_cv_prog_cc_c89" != "xno" && break
13960 rm -f conftest.$ac_ext
13965 case "x$ac_cv_prog_cc_c89" in
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13968 $as_echo "none needed" >&6; } ;;
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13971 $as_echo "unsupported" >&6; } ;;
13973 CC="$CC $ac_cv_prog_cc_c89"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13975 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13977 if test "x$ac_cv_prog_cc_c89" != xno; then :
13982 ac_cpp='$CPP $CPPFLAGS'
13983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13988 ac_cpp='$CPP $CPPFLAGS'
13989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13993 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13994 if ${am_cv_prog_cc_c_o+:} false; then :
13995 $as_echo_n "(cached) " >&6
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
14008 # Make sure it works both with $CC and with simple cc.
14009 # Following AC_PROG_CC_C_O, we do the test twice because some
14010 # compilers refuse to overwrite an existing .o file with -o,
14011 # though they will create one.
14012 am_cv_prog_cc_c_o=yes
14013 for am_i in 1 2; do
14014 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
14015 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } \
14019 && test -f conftest2.$ac_objext; then
14022 am_cv_prog_cc_c_o=no
14026 rm -f core conftest*
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
14030 $as_echo "$am_cv_prog_cc_c_o" >&6; }
14031 if test "$am_cv_prog_cc_c_o" != yes; then
14032 # Losing compiler, so override with the script.
14033 # FIXME: It is wrong to rewrite CC.
14034 # But if we don't then we get into trouble of one sort or another.
14035 # A longer-term fix would be to have automake use am__CC in this case,
14036 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
14037 CC="$am_aux_dir/compile $CC"
14040 ac_cpp='$CPP $CPPFLAGS'
14041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14046 depcc="$CC" am_compiler_list=
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14049 $as_echo_n "checking dependency style of $depcc... " >&6; }
14050 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14051 $as_echo_n "(cached) " >&6
14053 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14054 # We make a subdir and do the tests there. Otherwise we can end up
14055 # making bogus files that we don't know about and never remove. For
14056 # instance it was reported that on HP-UX the gcc test will end up
14057 # making a dummy file named 'D' -- because '-MD' means "put the output
14059 rm -rf conftest.dir
14061 # Copy depcomp to subdir because otherwise we won't find it if we're
14062 # using a relative directory.
14063 cp "$am_depcomp" conftest.dir
14065 # We will build objects and dependencies in a subdirectory because
14066 # it helps to detect inapplicable dependency modes. For instance
14067 # both Tru64's cc and ICC support -MD to output dependencies as a
14068 # side effect of compilation, but ICC will put the dependencies in
14069 # the current directory while Tru64 will put them in the object
14073 am_cv_CC_dependencies_compiler_type=none
14074 if test "$am_compiler_list" = ""; then
14075 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
14077 am__universal=false
14078 case " $depcc " in #(
14079 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14082 for depmode in $am_compiler_list; do
14083 # Setup a source with many dependencies, because some compilers
14084 # like to wrap large dependency lists on column 80 (with \), and
14085 # we should not choose a depcomp mode which is confused by this.
14087 # We need to recreate these files for each test, as the compiler may
14088 # overwrite some of them when testing with obscure command lines.
14089 # This happens at least with the AIX C compiler.
14091 for i in 1 2 3 4 5 6; do
14092 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14093 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14094 # Solaris 10 /bin/sh.
14095 echo '/* dummy */' > sub/conftst$i.h
14097 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14099 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14100 # mode. It turns out that the SunPro C++ compiler does not properly
14101 # handle '-M -o', and we need to detect this. Also, some Intel
14102 # versions had trouble with output in subdirs.
14103 am__obj=sub/conftest.${OBJEXT-o}
14104 am__minus_obj="-o $am__obj"
14107 # This depmode causes a compiler race in universal mode.
14108 test "$am__universal" = false || continue
14111 # After this tag, mechanisms are not by side-effect, so they'll
14112 # only be used when explicitly requested.
14113 if test "x$enable_dependency_tracking" = xyes; then
14119 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14120 # This compiler won't grok '-c -o', but also, the minuso test has
14121 # not run yet. These depmodes are late enough in the game, and
14122 # so weak that their functioning should not be impacted.
14123 am__obj=conftest.${OBJEXT-o}
14128 if depmode=$depmode \
14129 source=sub/conftest.c object=$am__obj \
14130 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14131 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14132 >/dev/null 2>conftest.err &&
14133 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14134 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14135 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14136 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14137 # icc doesn't choke on unknown options, it will just issue warnings
14138 # or remarks (even with -Werror). So we grep stderr for any message
14139 # that says an option was ignored or not supported.
14140 # When given -MP, icc 7.0 and 7.1 complain thusly:
14141 # icc: Command line warning: ignoring option '-M'; no argument required
14142 # The diagnosis changed in icc 8.0:
14143 # icc: Command line remark: option '-MP' not supported
14144 if (grep 'ignoring option' conftest.err ||
14145 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14146 am_cv_CC_dependencies_compiler_type=$depmode
14153 rm -rf conftest.dir
14155 am_cv_CC_dependencies_compiler_type=none
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14160 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14161 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14164 test "x$enable_dependency_tracking" != xno \
14165 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14166 am__fastdepCC_TRUE=
14167 am__fastdepCC_FALSE='#'
14169 am__fastdepCC_TRUE='#'
14170 am__fastdepCC_FALSE=
14175 ac_cpp='$CPP $CPPFLAGS'
14176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14181 CFLAGS="$OLD_CFLAGS"
14183 subdirs="$subdirs libratbox"
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking uname -s for Solaris, AIX, HPUX or Darwin" >&5
14188 $as_echo_n "checking uname -s for Solaris, AIX, HPUX or Darwin... " >&6; }
14193 if test "$HPUX" != yes -a "$ac_cv_c_compiler_gnu" = no; then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming old HPUX with its own cc" >&5
14195 $as_echo "assuming old HPUX with its own cc" >&6; }
14196 IRC_CFLAGS="$IRC_CFLAGS +e"
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: already using newer HPUX" >&5
14200 $as_echo "already using newer HPUX" >&6; }
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SunOS or Solaris" >&5
14205 $as_echo "SunOS or Solaris" >&6; }
14207 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: AIX - Sorry you poor bastard..really we are" >&5
14213 $as_echo "AIX - Sorry you poor bastard..really we are" >&6; }
14214 IRC_CFLAGS="$IRC_CFLAGS -Wl,-brtl -Wl,-G"
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
14218 $as_echo "Darwin" >&6; }
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14223 $as_echo "no" >&6; }
14227 if test "$ac_cv_c_compiler_gnu" = yes; then
14228 IRC_CFLAGS="$IRC_CFLAGS -O0 -Wall -std=gnu99"
14231 if test "$ac_cv_prog_cc_g" = yes; then
14232 if test "$Tru" = yes; then
14233 IRC_CFLAGS="$IRC_CFLAGS -g3"
14235 IRC_CFLAGS="$IRC_CFLAGS -g"
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports the SVR4 SGS interfaces" >&5
14240 $as_echo_n "checking if $CC supports the SVR4 SGS interfaces... " >&6; }
14241 if test "$SGS" = "yes"; then
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14243 $as_echo "yes" >&6; }
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14246 $as_echo "no" >&6; }
14249 # Extract the first word of "mkdep", so it can be a program name with args.
14250 set dummy mkdep; ac_word=$2
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14252 $as_echo_n "checking for $ac_word... " >&6; }
14253 if ${ac_cv_path_MKDEP+:} false; then :
14254 $as_echo_n "(cached) " >&6
14258 ac_cv_path_MKDEP="$MKDEP" # Let the user override the test with a path.
14261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14262 for as_dir in $PATH
14265 test -z "$as_dir" && as_dir=.
14266 for ac_exec_ext in '' $ac_executable_extensions; do
14267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14268 ac_cv_path_MKDEP="$as_dir/$ac_word$ac_exec_ext"
14269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14279 MKDEP=$ac_cv_path_MKDEP
14280 if test -n "$MKDEP"; then
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDEP" >&5
14282 $as_echo "$MKDEP" >&6; }
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14285 $as_echo "no" >&6; }
14289 # Extract the first word of "makedepend", so it can be a program name with args.
14290 set dummy makedepend; ac_word=$2
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14292 $as_echo_n "checking for $ac_word... " >&6; }
14293 if ${ac_cv_path_MAKEDEPEND+:} false; then :
14294 $as_echo_n "(cached) " >&6
14296 case $MAKEDEPEND in
14298 ac_cv_path_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test with a path.
14301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14302 for as_dir in $PATH
14305 test -z "$as_dir" && as_dir=.
14306 for ac_exec_ext in '' $ac_executable_extensions; do
14307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14308 ac_cv_path_MAKEDEPEND="$as_dir/$ac_word$ac_exec_ext"
14309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14319 MAKEDEPEND=$ac_cv_path_MAKEDEPEND
14320 if test -n "$MAKEDEPEND"; then
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEDEPEND" >&5
14322 $as_echo "$MAKEDEPEND" >&6; }
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325 $as_echo "no" >&6; }
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to generate dependency info" >&5
14331 $as_echo_n "checking how to generate dependency info... " >&6; }
14335 if test "$ac_cv_c_compiler_gnu" = yes; then
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc -MM" >&5
14337 $as_echo "gcc -MM" >&6; }
14339 elif test ! -z "$MKDEP"; then
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mkdep" >&5
14341 $as_echo "mkdep" >&6; }
14343 if test -z "$Tru"; then
14346 STDOUT=" 2> /dev/null"
14348 elif test "$SunWorkShop" = yes; then
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC -xM" >&5
14350 $as_echo "$CC -xM" >&6; }
14352 STDOUT="> .depend 2> /dev/null"
14353 elif test ! -z "$MAKEDEPEND"; then
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: makedepend" >&5
14355 $as_echo "makedepend" >&6; }
14356 MKDEP="$MAKEDEPEND -f-"
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: nothing suitable.. forget it!" >&5
14359 $as_echo "nothing suitable.. forget it!" >&6; }
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
14367 $as_echo_n "checking for /dev/null... " >&6; }
14368 if test -c /dev/null ; then
14370 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14373 $as_echo "yes" >&6; }
14376 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
14379 $as_echo "no - using devnull.log" >&6; }
14382 if test ! -z "$CFLAGS"; then
14383 IRC_CFLAGS="$IRC_CFLAGS $CFLAGS"
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
14387 $as_echo_n "checking for library containing strerror... " >&6; }
14388 if ${ac_cv_search_strerror+:} false; then :
14389 $as_echo_n "(cached) " >&6
14391 ac_func_search_save_LIBS=$LIBS
14392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14393 /* end confdefs.h. */
14395 /* Override any GCC internal prototype to avoid an error.
14396 Use char because int might match the return type of a GCC
14397 builtin and then its argument prototype would still apply. */
14405 return strerror ();
14410 for ac_lib in '' cposix; do
14411 if test -z "$ac_lib"; then
14412 ac_res="none required"
14415 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14417 if ac_fn_c_try_link "$LINENO"; then :
14418 ac_cv_search_strerror=$ac_res
14420 rm -f core conftest.err conftest.$ac_objext \
14422 if ${ac_cv_search_strerror+:} false; then :
14426 if ${ac_cv_search_strerror+:} false; then :
14429 ac_cv_search_strerror=no
14431 rm conftest.$ac_ext
14432 LIBS=$ac_func_search_save_LIBS
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
14435 $as_echo "$ac_cv_search_strerror" >&6; }
14436 ac_res=$ac_cv_search_strerror
14437 if test "$ac_res" != no; then :
14438 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14443 $as_echo_n "checking for inline... " >&6; }
14444 if ${ac_cv_c_inline+:} false; then :
14445 $as_echo_n "(cached) " >&6
14448 for ac_kw in inline __inline__ __inline; do
14449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14450 /* end confdefs.h. */
14451 #ifndef __cplusplus
14453 static $ac_kw foo_t static_foo () {return 0; }
14454 $ac_kw foo_t foo () {return 0; }
14458 if ac_fn_c_try_compile "$LINENO"; then :
14459 ac_cv_c_inline=$ac_kw
14461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14462 test "$ac_cv_c_inline" != no && break
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14467 $as_echo "$ac_cv_c_inline" >&6; }
14469 case $ac_cv_c_inline in
14472 case $ac_cv_c_inline in
14474 *) ac_val=$ac_cv_c_inline;;
14476 cat >>confdefs.h <<_ACEOF
14477 #ifndef __cplusplus
14478 #define inline $ac_val
14484 if test $ac_cv_c_compiler_gnu = yes; then
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
14486 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
14487 if ${ac_cv_prog_gcc_traditional+:} false; then :
14488 $as_echo_n "(cached) " >&6
14490 ac_pattern="Autoconf.*'x'"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14497 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
14498 ac_cv_prog_gcc_traditional=yes
14500 ac_cv_prog_gcc_traditional=no
14505 if test $ac_cv_prog_gcc_traditional = no; then
14506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14507 /* end confdefs.h. */
14508 #include <termio.h>
14511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14512 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
14513 ac_cv_prog_gcc_traditional=yes
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
14520 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
14521 if test $ac_cv_prog_gcc_traditional = yes; then
14522 CC="$CC -traditional"
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
14527 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
14529 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
14530 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
14531 $as_echo_n "(cached) " >&6
14533 cat >conftest.make <<\_ACEOF
14536 @echo '@@@%%%=$(MAKE)=@@@%%%'
14538 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14539 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
14540 *@@@%%%=?*=@@@%%%*)
14541 eval ac_cv_prog_make_${ac_make}_set=yes;;
14543 eval ac_cv_prog_make_${ac_make}_set=no;;
14545 rm -f conftest.make
14547 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14549 $as_echo "yes" >&6; }
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14553 $as_echo "no" >&6; }
14554 SET_MAKE="MAKE=${MAKE-make}"
14558 # Extract the first word of "rm", so it can be a program name with args.
14559 set dummy rm; ac_word=$2
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14561 $as_echo_n "checking for $ac_word... " >&6; }
14562 if ${ac_cv_path_RM+:} false; then :
14563 $as_echo_n "(cached) " >&6
14567 ac_cv_path_RM="$RM" # Let the user override the test with a path.
14570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14571 for as_dir in $PATH
14574 test -z "$as_dir" && as_dir=.
14575 for ac_exec_ext in '' $ac_executable_extensions; do
14576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14577 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
14578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14589 if test -n "$RM"; then
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
14591 $as_echo "$RM" >&6; }
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14594 $as_echo "no" >&6; }
14598 # Extract the first word of "cp", so it can be a program name with args.
14599 set dummy cp; ac_word=$2
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14601 $as_echo_n "checking for $ac_word... " >&6; }
14602 if ${ac_cv_path_CP+:} false; then :
14603 $as_echo_n "(cached) " >&6
14607 ac_cv_path_CP="$CP" # Let the user override the test with a path.
14610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14611 for as_dir in $PATH
14614 test -z "$as_dir" && as_dir=.
14615 for ac_exec_ext in '' $ac_executable_extensions; do
14616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14617 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
14618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14629 if test -n "$CP"; then
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
14631 $as_echo "$CP" >&6; }
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14634 $as_echo "no" >&6; }
14638 # Extract the first word of "mv", so it can be a program name with args.
14639 set dummy mv; ac_word=$2
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14641 $as_echo_n "checking for $ac_word... " >&6; }
14642 if ${ac_cv_path_MV+:} false; then :
14643 $as_echo_n "(cached) " >&6
14647 ac_cv_path_MV="$MV" # Let the user override the test with a path.
14650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14651 for as_dir in $PATH
14654 test -z "$as_dir" && as_dir=.
14655 for ac_exec_ext in '' $ac_executable_extensions; do
14656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14657 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
14658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14669 if test -n "$MV"; then
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
14671 $as_echo "$MV" >&6; }
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14674 $as_echo "no" >&6; }
14678 # Extract the first word of "ln", so it can be a program name with args.
14679 set dummy ln; ac_word=$2
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14681 $as_echo_n "checking for $ac_word... " >&6; }
14682 if ${ac_cv_path_LN+:} false; then :
14683 $as_echo_n "(cached) " >&6
14687 ac_cv_path_LN="$LN" # Let the user override the test with a path.
14690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14691 for as_dir in $PATH
14694 test -z "$as_dir" && as_dir=.
14695 for ac_exec_ext in '' $ac_executable_extensions; do
14696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14697 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
14698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14709 if test -n "$LN"; then
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
14711 $as_echo "$LN" >&6; }
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14714 $as_echo "no" >&6; }
14718 # Extract the first word of "sed", so it can be a program name with args.
14719 set dummy sed; ac_word=$2
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14721 $as_echo_n "checking for $ac_word... " >&6; }
14722 if ${ac_cv_path_SED+:} false; then :
14723 $as_echo_n "(cached) " >&6
14727 ac_cv_path_SED="$SED" # Let the user override the test with a path.
14730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14731 for as_dir in $PATH
14734 test -z "$as_dir" && as_dir=.
14735 for ac_exec_ext in '' $ac_executable_extensions; do
14736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14737 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
14738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14748 SED=$ac_cv_path_SED
14749 if test -n "$SED"; then
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
14751 $as_echo "$SED" >&6; }
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14754 $as_echo "no" >&6; }
14758 # Extract the first word of "ar", so it can be a program name with args.
14759 set dummy ar; ac_word=$2
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14761 $as_echo_n "checking for $ac_word... " >&6; }
14762 if ${ac_cv_path_AR+:} false; then :
14763 $as_echo_n "(cached) " >&6
14767 ac_cv_path_AR="$AR" # Let the user override the test with a path.
14770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14771 for as_dir in $PATH
14774 test -z "$as_dir" && as_dir=.
14775 for ac_exec_ext in '' $ac_executable_extensions; do
14776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14777 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
14778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14789 if test -n "$AR"; then
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
14791 $as_echo "$AR" >&6; }
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14794 $as_echo "no" >&6; }
14798 # Extract the first word of "ld", so it can be a program name with args.
14799 set dummy ld; ac_word=$2
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14801 $as_echo_n "checking for $ac_word... " >&6; }
14802 if ${ac_cv_path_LD+:} false; then :
14803 $as_echo_n "(cached) " >&6
14807 ac_cv_path_LD="$LD" # Let the user override the test with a path.
14810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14811 for as_dir in $PATH
14814 test -z "$as_dir" && as_dir=.
14815 for ac_exec_ext in '' $ac_executable_extensions; do
14816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14817 ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext"
14818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14829 if test -n "$LD"; then
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14831 $as_echo "$LD" >&6; }
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14834 $as_echo "no" >&6; }
14838 # Extract the first word of "ranlib", so it can be a program name with args.
14839 set dummy ranlib; ac_word=$2
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14841 $as_echo_n "checking for $ac_word... " >&6; }
14842 if ${ac_cv_path_RANLIB+:} false; then :
14843 $as_echo_n "(cached) " >&6
14847 ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a path.
14850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14851 for as_dir in $PATH
14854 test -z "$as_dir" && as_dir=.
14855 for ac_exec_ext in '' $ac_executable_extensions; do
14856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14857 ac_cv_path_RANLIB="$as_dir/$ac_word$ac_exec_ext"
14858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14868 RANLIB=$ac_cv_path_RANLIB
14869 if test -n "$RANLIB"; then
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
14871 $as_echo "$RANLIB" >&6; }
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14874 $as_echo "no" >&6; }
14878 # Extract the first word of "touch", so it can be a program name with args.
14879 set dummy touch; ac_word=$2
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14881 $as_echo_n "checking for $ac_word... " >&6; }
14882 if ${ac_cv_path_TOUCH+:} false; then :
14883 $as_echo_n "(cached) " >&6
14887 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
14890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14891 for as_dir in $PATH
14894 test -z "$as_dir" && as_dir=.
14895 for ac_exec_ext in '' $ac_executable_extensions; do
14896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14897 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
14898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14908 TOUCH=$ac_cv_path_TOUCH
14909 if test -n "$TOUCH"; then
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
14911 $as_echo "$TOUCH" >&6; }
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14914 $as_echo "no" >&6; }
14919 for ac_prog in 'bison -y' byacc
14921 # Extract the first word of "$ac_prog", so it can be a program name with args.
14922 set dummy $ac_prog; ac_word=$2
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14924 $as_echo_n "checking for $ac_word... " >&6; }
14925 if ${ac_cv_prog_YACC+:} false; then :
14926 $as_echo_n "(cached) " >&6
14928 if test -n "$YACC"; then
14929 ac_cv_prog_YACC="$YACC" # Let the user override the test.
14931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14932 for as_dir in $PATH
14935 test -z "$as_dir" && as_dir=.
14936 for ac_exec_ext in '' $ac_executable_extensions; do
14937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14938 ac_cv_prog_YACC="$ac_prog"
14939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14948 YACC=$ac_cv_prog_YACC
14949 if test -n "$YACC"; then
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
14951 $as_echo "$YACC" >&6; }
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14954 $as_echo "no" >&6; }
14958 test -n "$YACC" && break
14960 test -n "$YACC" || YACC="yacc"
14963 if test "$YACC" = "yacc" -a -z "`which $YACC 2>/dev
/null
`"; then
14964 as_fn_error $? "could not locate a suitable parser generator; install bison, yacc, or byacc" "$LINENO" 5
14967 for ac_prog in flex lex
14969 # Extract the first word of "$ac_prog", so it can be a program name with args.
14970 set dummy $ac_prog; ac_word=$2
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14972 $as_echo_n "checking for $ac_word... " >&6; }
14973 if ${ac_cv_prog_LEX+:} false; then :
14974 $as_echo_n "(cached) " >&6
14976 if test -n "$LEX"; then
14977 ac_cv_prog_LEX="$LEX" # Let the user override the test.
14979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14980 for as_dir in $PATH
14983 test -z "$as_dir" && as_dir=.
14984 for ac_exec_ext in '' $ac_executable_extensions; do
14985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14986 ac_cv_prog_LEX="$ac_prog"
14987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14996 LEX=$ac_cv_prog_LEX
14997 if test -n "$LEX"; then
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
14999 $as_echo "$LEX" >&6; }
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15002 $as_echo "no" >&6; }
15006 test -n "$LEX" && break
15008 test -n "$LEX" || LEX=":"
15010 if test "x$LEX" != "x:"; then
15011 cat >conftest.l <<_ACEOF
15017 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
15018 yyless ((input () != 0)); }
15019 f { unput (yytext[0]); }
15020 . { BEGIN INITIAL; }
15022 #ifdef YYTEXT_POINTER
15023 extern char *yytext;
15028 return ! yylex () + ! yywrap ();
15031 { { ac_try="$LEX conftest.l"
15032 case "(($ac_try" in
15033 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15034 *) ac_try_echo
=$ac_try;;
15036 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15037 $as_echo "$ac_try_echo"; } >&5
15038 (eval "$LEX conftest.l") 2>&5
15040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15041 test $ac_status = 0; }
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
15043 $as_echo_n "checking lex output file root... " >&6; }
15044 if ${ac_cv_prog_lex_root+:} false
; then :
15045 $as_echo_n "(cached) " >&6
15048 if test -f lex.yy.c
; then
15049 ac_cv_prog_lex_root
=lex.yy
15050 elif test -f lexyy.c
; then
15051 ac_cv_prog_lex_root
=lexyy
15053 as_fn_error $?
"cannot find output from $LEX; giving up" "$LINENO" 5
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
15057 $as_echo "$ac_cv_prog_lex_root" >&6; }
15058 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
15060 if test -z "${LEXLIB+set}"; then
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
15062 $as_echo_n "checking lex library... " >&6; }
15063 if ${ac_cv_lib_lex+:} false
; then :
15064 $as_echo_n "(cached) " >&6
15068 ac_cv_lib_lex
='none needed'
15069 for ac_lib
in '' -lfl -ll; do
15070 LIBS
="$ac_lib $ac_save_LIBS"
15071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15073 `cat $LEX_OUTPUT_ROOT.c`
15075 if ac_fn_c_try_link
"$LINENO"; then :
15076 ac_cv_lib_lex
=$ac_lib
15078 rm -f core conftest.err conftest.
$ac_objext \
15079 conftest
$ac_exeext conftest.
$ac_ext
15080 test "$ac_cv_lib_lex" != 'none needed' && break
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
15086 $as_echo "$ac_cv_lib_lex" >&6; }
15087 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
15092 $as_echo_n "checking whether yytext is a pointer... " >&6; }
15093 if ${ac_cv_prog_lex_yytext_pointer+:} false
; then :
15094 $as_echo_n "(cached) " >&6
15096 # POSIX says lex can declare yytext either as a pointer or an array; the
15097 # default is implementation-dependent. Figure out which it is, since
15098 # not all implementations provide the %pointer and %array declarations.
15099 ac_cv_prog_lex_yytext_pointer
=no
15101 LIBS
="$LEXLIB $ac_save_LIBS"
15102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15105 #define YYTEXT_POINTER 1
15106 `cat $LEX_OUTPUT_ROOT.c`
15108 if ac_fn_c_try_link
"$LINENO"; then :
15109 ac_cv_prog_lex_yytext_pointer
=yes
15111 rm -f core conftest.err conftest.
$ac_objext \
15112 conftest
$ac_exeext conftest.
$ac_ext
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
15117 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
15118 if test $ac_cv_prog_lex_yytext_pointer = yes; then
15120 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
15123 rm -f conftest.l
$LEX_OUTPUT_ROOT.c
15127 if test "$LEX" = ":"; then
15128 as_fn_error $?
"could not locate a suitable lexical generator, install flex or lex." "$LINENO" 5
15131 # Check whether --enable-fhs-paths was given.
15132 if test "${enable_fhs_paths+set}" = set; then :
15133 enableval
=$enable_fhs_paths;
15135 if test "$libexecdir" = '${exec_prefix}/libexec' && \
15136 test "$localstatedir" = '${prefix}/var' && \
15137 test "$libdir" = '${exec_prefix}/lib'; then :
15138 enable_fhs_paths
=no
15140 enable_fhs_paths
=yes
15145 if test "x$enable_fhs_paths" = "xyes"; then :
15146 pkglibexecdir
='${libexecdir}/${PACKAGE_TARNAME}'
15147 rundir
=${rundir-'${prefix}/run'}
15148 pkgrundir
='${rundir}/${PACKAGE_TARNAME}'
15149 pkglocalstatedir
='${localstatedir}/${PACKAGE_TARNAME}'
15151 libexecdir
='${bindir}'
15152 pkglibexecdir
='${libexecdir}'
15153 rundir
='${sysconfdir}'
15154 pkgrundir
='${rundir}'
15155 localstatedir
='${prefix}'
15156 pkglocalstatedir
='${sysconfdir}'
15158 pkglibdir
='${libdir}/${PACKAGE_TARNAME}'
15164 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
15165 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15166 last_ac_define_dir
=`eval echo $pkglocalstatedir`
15167 ac_define_dir
=`eval echo $last_ac_define_dir`
15168 ac_define_dir_counter
=0
15169 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
15170 last_ac_define_dir
="$ac_define_dir"
15171 ac_define_dir
=`eval echo $last_ac_define_dir`
15172 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
15173 if test "x$ac_define_dir_counter" = x128
; then :
15174 as_fn_error $?
"detected recusive directory expansion when expanding PKGLOCALSTATEDIR=$pkglocalstatedir: $ac_define_dir" "$LINENO" 5
15178 PKGLOCALSTATEDIR
="$ac_define_dir"
15181 cat >>confdefs.h
<<_ACEOF
15182 #define PKGLOCALSTATEDIR "$ac_define_dir"
15188 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
15189 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15190 last_ac_define_dir
=`eval echo $pkglibexecdir`
15191 ac_define_dir
=`eval echo $last_ac_define_dir`
15192 ac_define_dir_counter
=0
15193 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
15194 last_ac_define_dir
="$ac_define_dir"
15195 ac_define_dir
=`eval echo $last_ac_define_dir`
15196 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
15197 if test "x$ac_define_dir_counter" = x128
; then :
15198 as_fn_error $?
"detected recusive directory expansion when expanding PKGLIBEXECDIR=$pkglibexecdir: $ac_define_dir" "$LINENO" 5
15202 PKGLIBEXECDIR
="$ac_define_dir"
15205 cat >>confdefs.h
<<_ACEOF
15206 #define PKGLIBEXECDIR "$ac_define_dir"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15212 $as_echo_n "checking for ANSI C header files... " >&6; }
15213 if ${ac_cv_header_stdc+:} false
; then :
15214 $as_echo_n "(cached) " >&6
15216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15218 #include <stdlib.h>
15219 #include <stdarg.h>
15220 #include <string.h>
15231 if ac_fn_c_try_compile
"$LINENO"; then :
15232 ac_cv_header_stdc
=yes
15234 ac_cv_header_stdc
=no
15236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15238 if test $ac_cv_header_stdc = yes; then
15239 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15242 #include <string.h>
15245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15246 $EGREP "memchr" >/dev
/null
2>&1; then :
15249 ac_cv_header_stdc
=no
15255 if test $ac_cv_header_stdc = yes; then
15256 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15258 /* end confdefs.h. */
15259 #include <stdlib.h>
15262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15263 $EGREP "free" >/dev
/null
2>&1; then :
15266 ac_cv_header_stdc
=no
15272 if test $ac_cv_header_stdc = yes; then
15273 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15274 if test "$cross_compiling" = yes; then :
15277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15280 #include <stdlib.h>
15281 #if ((' ' & 0x0FF) == 0x020)
15282 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15283 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15285 # define ISLOWER(c) \
15286 (('a' <= (c) && (c) <= 'i') \
15287 || ('j' <= (c) && (c) <= 'r') \
15288 || ('s' <= (c) && (c) <= 'z'))
15289 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15292 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15297 for (i = 0; i < 256; i++)
15298 if (XOR (islower (i), ISLOWER (i))
15299 || toupper (i) != TOUPPER (i))
15304 if ac_fn_c_try_run
"$LINENO"; then :
15307 ac_cv_header_stdc
=no
15309 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15310 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15316 $as_echo "$ac_cv_header_stdc" >&6; }
15317 if test $ac_cv_header_stdc = yes; then
15319 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15324 for ac_header
in crypt.h sys
/resource.h sys
/param.h errno.h sys
/syslog.h stddef.h sys
/wait.h
wait.h sys
/epoll.h sys
/uio.h machine
/endian.h
15326 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15327 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15328 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15329 cat >>confdefs.h
<<_ACEOF
15330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15340 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15341 if ${ac_cv_c_const+:} false
; then :
15342 $as_echo_n "(cached) " >&6
15344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15351 #ifndef __cplusplus
15352 /* Ultrix mips cc rejects this sort of thing. */
15353 typedef int charset[2];
15354 const charset cs = { 0, 0 };
15355 /* SunOS 4.1.1 cc rejects this. */
15356 char const *const *pcpcc;
15358 /* NEC SVR4.0.2 mips cc rejects this. */
15359 struct point {int x, y;};
15360 static struct point const zero = {0,0};
15361 /* AIX XL C 1.02.0.0 rejects this.
15362 It does not let you subtract one const X* pointer from another in
15363 an arm of an if-expression whose if-part is not a constant
15365 const char *g = "string";
15366 pcpcc = &g + (g ? g-g : 0);
15367 /* HPUX 7.0 cc rejects these. */
15369 ppc = (char**) pcpcc;
15370 pcpcc = (char const *const *) ppc;
15371 { /* SCO 3.2v4 cc rejects this sort of thing. */
15374 char const *s = 0 ? (char *) 0 : (char const *) 0;
15379 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15380 int x[] = {25, 17};
15381 const int *foo = &x[0];
15384 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15385 typedef const int *iptr;
15389 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
15390 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15391 struct s { int j; const int *ap[3]; } bx;
15392 struct s *b = &bx; b->j = 5;
15394 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15395 const int foo = 10;
15396 if (!foo) return 0;
15398 return !cs[0] && !zero.x;
15405 if ac_fn_c_try_compile
"$LINENO"; then :
15410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15413 $as_echo "$ac_cv_c_const" >&6; }
15414 if test $ac_cv_c_const = no
; then
15416 $as_echo "#define const /**/" >>confdefs.h
15420 if test "$ac_cv_header_machine_endian_h" = "no" ; then
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15422 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15423 if ${ac_cv_c_bigendian+:} false
; then :
15424 $as_echo_n "(cached) " >&6
15426 ac_cv_c_bigendian
=unknown
15427 # See if we're dealing with a universal compiler.
15428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h. */
15430 #ifndef __APPLE_CC__
15431 not a universal capable compiler
15436 if ac_fn_c_try_compile
"$LINENO"; then :
15438 # Check for potential -arch flags. It is not universal unless
15439 # there are at least two -arch flags with different values.
15442 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15443 if test -n "$ac_prev"; then
15445 i?
86 | x86_64
| ppc
| ppc64
)
15446 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15449 ac_cv_c_bigendian
=universal
15455 elif test "x$ac_word" = "x-arch"; then
15460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15461 if test $ac_cv_c_bigendian = unknown
; then
15462 # See if sys/param.h defines the BYTE_ORDER macro.
15463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h. */
15465 #include <sys/types.h>
15466 #include <sys/param.h>
15471 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15472 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15474 bogus endian macros
15481 if ac_fn_c_try_compile
"$LINENO"; then :
15482 # It does; now see whether it defined to BIG_ENDIAN or not.
15483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15484 /* end confdefs.h. */
15485 #include <sys/types.h>
15486 #include <sys/param.h>
15491 #if BYTE_ORDER != BIG_ENDIAN
15499 if ac_fn_c_try_compile
"$LINENO"; then :
15500 ac_cv_c_bigendian
=yes
15502 ac_cv_c_bigendian
=no
15504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15508 if test $ac_cv_c_bigendian = unknown
; then
15509 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15512 #include <limits.h>
15517 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15518 bogus endian macros
15525 if ac_fn_c_try_compile
"$LINENO"; then :
15526 # It does; now see whether it defined to _BIG_ENDIAN or not.
15527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15528 /* end confdefs.h. */
15529 #include <limits.h>
15534 #ifndef _BIG_ENDIAN
15542 if ac_fn_c_try_compile
"$LINENO"; then :
15543 ac_cv_c_bigendian
=yes
15545 ac_cv_c_bigendian
=no
15547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15551 if test $ac_cv_c_bigendian = unknown
; then
15552 # Compile a test program.
15553 if test "$cross_compiling" = yes; then :
15554 # Try to guess by grepping values from an object file.
15555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15557 short int ascii_mm[] =
15558 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15559 short int ascii_ii[] =
15560 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15561 int use_ascii (int i) {
15562 return ascii_mm[i] + ascii_ii[i];
15564 short int ebcdic_ii[] =
15565 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15566 short int ebcdic_mm[] =
15567 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15568 int use_ebcdic (int i) {
15569 return ebcdic_mm[i] + ebcdic_ii[i];
15576 return use_ascii (foo) == use_ebcdic (foo);
15581 if ac_fn_c_try_compile
"$LINENO"; then :
15582 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15583 ac_cv_c_bigendian
=yes
15585 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15586 if test "$ac_cv_c_bigendian" = unknown
; then
15587 ac_cv_c_bigendian
=no
15589 # finding both strings is unlikely to happen, but who knows?
15590 ac_cv_c_bigendian
=unknown
15594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15598 $ac_includes_default
15603 /* Are we little or big endian? From Harbison&Steele. */
15607 char c[sizeof (long int)];
15610 return u.c[sizeof (long int) - 1] == 1;
15616 if ac_fn_c_try_run
"$LINENO"; then :
15617 ac_cv_c_bigendian
=no
15619 ac_cv_c_bigendian
=yes
15621 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15622 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15628 $as_echo "$ac_cv_c_bigendian" >&6; }
15629 case $ac_cv_c_bigendian in #(
15631 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15637 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15641 as_fn_error $?
"unknown endianness
15642 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15646 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15647 if test "x$ac_cv_type_pid_t" = xyes
; then :
15651 cat >>confdefs.h
<<_ACEOF
15657 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15658 if test "x$ac_cv_type_size_t" = xyes
; then :
15662 cat >>confdefs.h
<<_ACEOF
15663 #define size_t unsigned int
15668 # The cast to long int works around a bug in the HP C Compiler
15669 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15670 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15671 # This bug is HP SR number 8606223364.
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15673 $as_echo_n "checking size of short... " >&6; }
15674 if ${ac_cv_sizeof_short+:} false
; then :
15675 $as_echo_n "(cached) " >&6
15677 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15680 if test "$ac_cv_type_short" = yes; then
15681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15683 as_fn_error
77 "cannot compute sizeof (short)
15684 See \`config.log' for more details" "$LINENO" 5; }
15686 ac_cv_sizeof_short
=0
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15692 $as_echo "$ac_cv_sizeof_short" >&6; }
15696 cat >>confdefs.h
<<_ACEOF
15697 #define SIZEOF_SHORT $ac_cv_sizeof_short
15701 # The cast to long int works around a bug in the HP C Compiler
15702 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15703 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15704 # This bug is HP SR number 8606223364.
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15706 $as_echo_n "checking size of int... " >&6; }
15707 if ${ac_cv_sizeof_int+:} false
; then :
15708 $as_echo_n "(cached) " >&6
15710 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15713 if test "$ac_cv_type_int" = yes; then
15714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15716 as_fn_error
77 "cannot compute sizeof (int)
15717 See \`config.log' for more details" "$LINENO" 5; }
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15725 $as_echo "$ac_cv_sizeof_int" >&6; }
15729 cat >>confdefs.h
<<_ACEOF
15730 #define SIZEOF_INT $ac_cv_sizeof_int
15734 # The cast to long int works around a bug in the HP C Compiler
15735 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15736 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15737 # This bug is HP SR number 8606223364.
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15739 $as_echo_n "checking size of long... " >&6; }
15740 if ${ac_cv_sizeof_long+:} false
; then :
15741 $as_echo_n "(cached) " >&6
15743 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15746 if test "$ac_cv_type_long" = yes; then
15747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15749 as_fn_error
77 "cannot compute sizeof (long)
15750 See \`config.log' for more details" "$LINENO" 5; }
15752 ac_cv_sizeof_long
=0
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15758 $as_echo "$ac_cv_sizeof_long" >&6; }
15762 cat >>confdefs.h
<<_ACEOF
15763 #define SIZEOF_LONG $ac_cv_sizeof_long
15767 # The cast to long int works around a bug in the HP C Compiler
15768 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15769 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15770 # This bug is HP SR number 8606223364.
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
15772 $as_echo_n "checking size of long long... " >&6; }
15773 if ${ac_cv_sizeof_long_long+:} false
; then :
15774 $as_echo_n "(cached) " >&6
15776 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
15779 if test "$ac_cv_type_long_long" = yes; then
15780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15782 as_fn_error
77 "cannot compute sizeof (long long)
15783 See \`config.log' for more details" "$LINENO" 5; }
15785 ac_cv_sizeof_long_long
=0
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
15791 $as_echo "$ac_cv_sizeof_long_long" >&6; }
15795 cat >>confdefs.h
<<_ACEOF
15796 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
15803 $as_echo_n "checking for library containing socket... " >&6; }
15804 if ${ac_cv_search_socket+:} false
; then :
15805 $as_echo_n "(cached) " >&6
15807 ac_func_search_save_LIBS
=$LIBS
15808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15811 /* Override any GCC internal prototype to avoid an error.
15812 Use char because int might match the return type of a GCC
15813 builtin and then its argument prototype would still apply. */
15826 for ac_lib
in '' socket
; do
15827 if test -z "$ac_lib"; then
15828 ac_res
="none required"
15831 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15833 if ac_fn_c_try_link
"$LINENO"; then :
15834 ac_cv_search_socket
=$ac_res
15836 rm -f core conftest.err conftest.
$ac_objext \
15838 if ${ac_cv_search_socket+:} false
; then :
15842 if ${ac_cv_search_socket+:} false
; then :
15845 ac_cv_search_socket
=no
15847 rm conftest.
$ac_ext
15848 LIBS
=$ac_func_search_save_LIBS
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
15851 $as_echo "$ac_cv_search_socket" >&6; }
15852 ac_res
=$ac_cv_search_socket
15853 if test "$ac_res" != no
; then :
15854 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15857 as_fn_error $?
"You have no socket()! Aborting." "$LINENO" 5
15861 if test x
"$SUN" = xyes
; then
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
15863 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
15864 if ${ac_cv_search_inet_ntoa+:} false
; then :
15865 $as_echo_n "(cached) " >&6
15867 ac_func_search_save_LIBS
=$LIBS
15868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15871 /* Override any GCC internal prototype to avoid an error.
15872 Use char because int might match the return type of a GCC
15873 builtin and then its argument prototype would still apply. */
15881 return inet_ntoa ();
15886 for ac_lib
in '' nsl
; do
15887 if test -z "$ac_lib"; then
15888 ac_res
="none required"
15891 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15893 if ac_fn_c_try_link
"$LINENO"; then :
15894 ac_cv_search_inet_ntoa
=$ac_res
15896 rm -f core conftest.err conftest.
$ac_objext \
15898 if ${ac_cv_search_inet_ntoa+:} false
; then :
15902 if ${ac_cv_search_inet_ntoa+:} false
; then :
15905 ac_cv_search_inet_ntoa
=no
15907 rm conftest.
$ac_ext
15908 LIBS
=$ac_func_search_save_LIBS
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
15911 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
15912 ac_res
=$ac_cv_search_inet_ntoa
15913 if test "$ac_res" != no
; then :
15914 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15917 as_fn_error $?
"libnsl not found! Aborting." "$LINENO" 5
15922 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
15923 #include <sys/socket.h>
15925 if test "x$ac_cv_type_socklen_t" = xyes
; then :
15929 $as_echo "#define socklen_t unsigned int" >>confdefs.h
15934 # Check whether --enable-ipv6 was given.
15935 if test "${enable_ipv6+set}" = set; then :
15936 enableval
=$enable_ipv6; ipv6
=$enableval
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
15943 $as_echo_n "checking for library containing crypt... " >&6; }
15944 if ${ac_cv_search_crypt+:} false
; then :
15945 $as_echo_n "(cached) " >&6
15947 ac_func_search_save_LIBS
=$LIBS
15948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15951 /* Override any GCC internal prototype to avoid an error.
15952 Use char because int might match the return type of a GCC
15953 builtin and then its argument prototype would still apply. */
15966 for ac_lib
in '' crypt descrypt
; do
15967 if test -z "$ac_lib"; then
15968 ac_res
="none required"
15971 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15973 if ac_fn_c_try_link
"$LINENO"; then :
15974 ac_cv_search_crypt
=$ac_res
15976 rm -f core conftest.err conftest.
$ac_objext \
15978 if ${ac_cv_search_crypt+:} false
; then :
15982 if ${ac_cv_search_crypt+:} false
; then :
15985 ac_cv_search_crypt
=no
15987 rm conftest.
$ac_ext
15988 LIBS
=$ac_func_search_save_LIBS
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
15991 $as_echo "$ac_cv_search_crypt" >&6; }
15992 ac_res
=$ac_cv_search_crypt
15993 if test "$ac_res" != no
; then :
15994 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15999 CRYPT_LIB
=$ac_cv_search_crypt
16001 if test "$CRYPT_LIB" = "none required"; then
16003 elif test "$CRYPT_LIB" = no
; then
16009 if test "$ac_cv_header_sys_wait_h" = yes -o "$ac_cv_header_wait_h" = yes; then
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
16018 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
16019 if ${gcc_cv_header_string+:} false
; then :
16020 $as_echo_n "(cached) " >&6
16023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16025 #include <string.h>
16026 #include <strings.h>
16028 if ac_fn_c_try_compile
"$LINENO"; then :
16029 gcc_cv_header_string
=yes
16031 gcc_cv_header_string
=no
16033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
16037 $as_echo "$gcc_cv_header_string" >&6; }
16039 if test "$gcc_cv_header_string" = "yes"; then
16041 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16046 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16047 if ${ac_cv_c_bigendian+:} false
; then :
16048 $as_echo_n "(cached) " >&6
16050 ac_cv_c_bigendian
=unknown
16051 # See if we're dealing with a universal compiler.
16052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16053 /* end confdefs.h. */
16054 #ifndef __APPLE_CC__
16055 not a universal capable compiler
16060 if ac_fn_c_try_compile
"$LINENO"; then :
16062 # Check for potential -arch flags. It is not universal unless
16063 # there are at least two -arch flags with different values.
16066 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16067 if test -n "$ac_prev"; then
16069 i?
86 | x86_64
| ppc
| ppc64
)
16070 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16073 ac_cv_c_bigendian
=universal
16079 elif test "x$ac_word" = "x-arch"; then
16084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16085 if test $ac_cv_c_bigendian = unknown
; then
16086 # See if sys/param.h defines the BYTE_ORDER macro.
16087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16089 #include <sys/types.h>
16090 #include <sys/param.h>
16095 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16096 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16098 bogus endian macros
16105 if ac_fn_c_try_compile
"$LINENO"; then :
16106 # It does; now see whether it defined to BIG_ENDIAN or not.
16107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16108 /* end confdefs.h. */
16109 #include <sys/types.h>
16110 #include <sys/param.h>
16115 #if BYTE_ORDER != BIG_ENDIAN
16123 if ac_fn_c_try_compile
"$LINENO"; then :
16124 ac_cv_c_bigendian
=yes
16126 ac_cv_c_bigendian
=no
16128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16132 if test $ac_cv_c_bigendian = unknown
; then
16133 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16136 #include <limits.h>
16141 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16142 bogus endian macros
16149 if ac_fn_c_try_compile
"$LINENO"; then :
16150 # It does; now see whether it defined to _BIG_ENDIAN or not.
16151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16153 #include <limits.h>
16158 #ifndef _BIG_ENDIAN
16166 if ac_fn_c_try_compile
"$LINENO"; then :
16167 ac_cv_c_bigendian
=yes
16169 ac_cv_c_bigendian
=no
16171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16175 if test $ac_cv_c_bigendian = unknown
; then
16176 # Compile a test program.
16177 if test "$cross_compiling" = yes; then :
16178 # Try to guess by grepping values from an object file.
16179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16180 /* end confdefs.h. */
16181 short int ascii_mm[] =
16182 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16183 short int ascii_ii[] =
16184 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16185 int use_ascii (int i) {
16186 return ascii_mm[i] + ascii_ii[i];
16188 short int ebcdic_ii[] =
16189 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16190 short int ebcdic_mm[] =
16191 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16192 int use_ebcdic (int i) {
16193 return ebcdic_mm[i] + ebcdic_ii[i];
16200 return use_ascii (foo) == use_ebcdic (foo);
16205 if ac_fn_c_try_compile
"$LINENO"; then :
16206 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
16207 ac_cv_c_bigendian
=yes
16209 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
16210 if test "$ac_cv_c_bigendian" = unknown
; then
16211 ac_cv_c_bigendian
=no
16213 # finding both strings is unlikely to happen, but who knows?
16214 ac_cv_c_bigendian
=unknown
16218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16222 $ac_includes_default
16227 /* Are we little or big endian? From Harbison&Steele. */
16231 char c[sizeof (long int)];
16234 return u.c[sizeof (long int) - 1] == 1;
16240 if ac_fn_c_try_run
"$LINENO"; then :
16241 ac_cv_c_bigendian
=no
16243 ac_cv_c_bigendian
=yes
16245 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16246 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16252 $as_echo "$ac_cv_c_bigendian" >&6; }
16253 case $ac_cv_c_bigendian in #(
16255 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16261 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16265 as_fn_error $?
"unknown endianness
16266 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16270 ac_fn_c_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
16271 if test "x$ac_cv_header_stdarg_h" = xyes
; then :
16274 as_fn_error $?
"** stdarg.h could not be found - charybdis will not compile without it **" "$LINENO" 5
16280 if test "$ac_cv_c_compiler_gnu" = yes; then
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlcpy" >&5
16283 $as_echo_n "checking for strlcpy... " >&6; }
16284 save_CFLAGS
=$CFLAGS
16285 CFLAGS
="$CFLAGS -Wimplicit -Werror"
16287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16288 /* end confdefs.h. */
16289 #include <string.h>
16290 #include <stdlib.h>
16294 char *a = malloc(6);
16295 strlcpy(a, "hello", 6);
16301 if ac_fn_c_try_link
"$LINENO"; then :
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16303 $as_echo "yes" >&6; }
16305 $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16309 $as_echo "no" >&6; }
16312 rm -f core conftest.err conftest.
$ac_objext \
16313 conftest
$ac_exeext conftest.
$ac_ext
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlcat" >&5
16316 $as_echo_n "checking for strlcat... " >&6; }
16317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16318 /* end confdefs.h. */
16319 #include <string.h>
16320 #include <stdlib.h>
16324 char *a = malloc(6);
16326 strlcat(a, "hello", 6);
16332 if ac_fn_c_try_link
"$LINENO"; then :
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16334 $as_echo "yes" >&6; }
16336 $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16340 $as_echo "no" >&6; }
16343 rm -f core conftest.err conftest.
$ac_objext \
16344 conftest
$ac_exeext conftest.
$ac_ext
16346 CFLAGS
=$save_CFLAGS
16351 for ac_func
in strlcat strlcpy
16353 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16354 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16355 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16356 cat >>confdefs.h
<<_ACEOF
16357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16366 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
16367 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16371 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
16372 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16375 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system has no u_int32_t or uint32_t, default to unsigned long int" >&5
16381 $as_echo "$as_me: WARNING: system has no u_int32_t or uint32_t, default to unsigned long int" >&2;}
16383 $as_echo "#define u_int32_t unsigned long int" >>confdefs.h
16392 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
16393 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
16397 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
16398 if test "x$ac_cv_type_uint16_t" = xyes
; then :
16401 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system has no u_int16_t or uint16_t, default to unsigned short int" >&5
16407 $as_echo "$as_me: WARNING: system has no u_int16_t or uint16_t, default to unsigned short int" >&2;}
16409 $as_echo "#define u_int16_t unsigned short int" >>confdefs.h
16418 ac_fn_c_check_type
"$LINENO" "in_port_t" "ac_cv_type_in_port_t" "#include <sys/types.h>
16419 #include <netinet/in.h>
16421 if test "x$ac_cv_type_in_port_t" = xyes
; then :
16425 $as_echo "#define in_port_t u_int16_t" >>confdefs.h
16430 ac_fn_c_check_type
"$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#include <sys/types.h>
16431 #include <sys/socket.h>
16433 if test "x$ac_cv_type_sa_family_t" = xyes
; then :
16437 $as_echo "#define sa_family_t u_int16_t" >>confdefs.h
16442 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16443 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16445 cat >>confdefs.h
<<_ACEOF
16446 #define HAVE_UINTPTR_T 1
16453 for ac_func
in socketpair vsnprintf mmap gettimeofday strdup strndup
16455 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16456 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16457 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16458 cat >>confdefs.h
<<_ACEOF
16459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16466 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16467 # for constant arguments. Useless!
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16469 $as_echo_n "checking for working alloca.h... " >&6; }
16470 if ${ac_cv_working_alloca_h+:} false
; then :
16471 $as_echo_n "(cached) " >&6
16473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16475 #include <alloca.h>
16479 char *p = (char *) alloca (2 * sizeof (int));
16485 if ac_fn_c_try_link
"$LINENO"; then :
16486 ac_cv_working_alloca_h
=yes
16488 ac_cv_working_alloca_h
=no
16490 rm -f core conftest.err conftest.
$ac_objext \
16491 conftest
$ac_exeext conftest.
$ac_ext
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16494 $as_echo "$ac_cv_working_alloca_h" >&6; }
16495 if test $ac_cv_working_alloca_h = yes; then
16497 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16502 $as_echo_n "checking for alloca... " >&6; }
16503 if ${ac_cv_func_alloca_works+:} false
; then :
16504 $as_echo_n "(cached) " >&6
16506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16507 /* end confdefs.h. */
16509 # define alloca __builtin_alloca
16512 # include <malloc.h>
16513 # define alloca _alloca
16515 # ifdef HAVE_ALLOCA_H
16516 # include <alloca.h>
16521 # ifndef alloca /* predefined by HP cc +Olibcalls */
16522 void *alloca (size_t);
16532 char *p = (char *) alloca (1);
16538 if ac_fn_c_try_link
"$LINENO"; then :
16539 ac_cv_func_alloca_works
=yes
16541 ac_cv_func_alloca_works
=no
16543 rm -f core conftest.err conftest.
$ac_objext \
16544 conftest
$ac_exeext conftest.
$ac_ext
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16547 $as_echo "$ac_cv_func_alloca_works" >&6; }
16549 if test $ac_cv_func_alloca_works = yes; then
16551 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16554 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16555 # that cause trouble. Some versions do not even contain alloca or
16556 # contain a buggy version. If you still want to use their alloca,
16557 # use ar to extract alloca.o from them instead of compiling alloca.c.
16559 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
16561 $as_echo "#define C_ALLOCA 1" >>confdefs.h
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16565 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16566 if ${ac_cv_os_cray+:} false
; then :
16567 $as_echo_n "(cached) " >&6
16569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16571 #if defined CRAY && ! defined CRAY2
16578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16579 $EGREP "webecray" >/dev
/null
2>&1; then :
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16588 $as_echo "$ac_cv_os_cray" >&6; }
16589 if test $ac_cv_os_cray = yes; then
16590 for ac_func
in _getb67 GETB67 getb67
; do
16591 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16592 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16593 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16595 cat >>confdefs.h
<<_ACEOF
16596 #define CRAY_STACKSEG_END $ac_func
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16606 $as_echo_n "checking stack direction for C alloca... " >&6; }
16607 if ${ac_cv_c_stack_direction+:} false
; then :
16608 $as_echo_n "(cached) " >&6
16610 if test "$cross_compiling" = yes; then :
16611 ac_cv_c_stack_direction
=0
16613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16615 $ac_includes_default
16617 find_stack_direction (int *addr, int depth)
16619 int dir, dummy = 0;
16622 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
16623 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
16624 return dir + dummy;
16628 main (int argc, char **argv)
16630 return find_stack_direction (0, argc + !argv + 20) < 0;
16633 if ac_fn_c_try_run
"$LINENO"; then :
16634 ac_cv_c_stack_direction
=1
16636 ac_cv_c_stack_direction
=-1
16638 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16639 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16644 $as_echo "$ac_cv_c_stack_direction" >&6; }
16645 cat >>confdefs.h
<<_ACEOF
16646 #define STACK_DIRECTION $ac_cv_c_stack_direction
16654 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
16655 if test "x$ac_cv_func_nanosleep" = xyes
; then :
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
16659 $as_echo_n "checking for nanosleep in -lrt... " >&6; }
16660 if ${ac_cv_lib_rt_nanosleep+:} false
; then :
16661 $as_echo_n "(cached) " >&6
16663 ac_check_lib_save_LIBS
=$LIBS
16665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16668 /* Override any GCC internal prototype to avoid an error.
16669 Use char because int might match the return type of a GCC
16670 builtin and then its argument prototype would still apply. */
16678 return nanosleep ();
16683 if ac_fn_c_try_link
"$LINENO"; then :
16684 ac_cv_lib_rt_nanosleep
=yes
16686 ac_cv_lib_rt_nanosleep
=no
16688 rm -f core conftest.err conftest.
$ac_objext \
16689 conftest
$ac_exeext conftest.
$ac_ext
16690 LIBS
=$ac_check_lib_save_LIBS
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
16693 $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
16694 if test "x$ac_cv_lib_rt_nanosleep" = xyes
; then :
16695 LIBS
="${LIBS} -lrt"
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
16698 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
16699 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
16700 $as_echo_n "(cached) " >&6
16702 ac_check_lib_save_LIBS
=$LIBS
16703 LIBS
="-lposix4 $LIBS"
16704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16707 /* Override any GCC internal prototype to avoid an error.
16708 Use char because int might match the return type of a GCC
16709 builtin and then its argument prototype would still apply. */
16717 return nanosleep ();
16722 if ac_fn_c_try_link
"$LINENO"; then :
16723 ac_cv_lib_posix4_nanosleep
=yes
16725 ac_cv_lib_posix4_nanosleep
=no
16727 rm -f core conftest.err conftest.
$ac_objext \
16728 conftest
$ac_exeext conftest.
$ac_ext
16729 LIBS
=$ac_check_lib_save_LIBS
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
16732 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
16733 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
16734 LIBS
="${LIBS} -lposix4"
16742 if test x
$ac_cv_func_nanosleep = xno
&& test x
$ac_cv_lib_posix4_nanosleep = xno
&& test x
$ac_cv_lib_rt_nanosleep = xno
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"nanosleep not found..using select for delay\"" >&5
16745 $as_echo "\"nanosleep not found..using select for delay\"" >&6; }
16748 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
16753 $as_echo_n "checking for OpenSSL... " >&6; }
16754 # Check whether --enable-openssl was given.
16755 if test "${enable_openssl+set}" = set; then :
16756 enableval
=$enable_openssl; cf_enable_openssl
=$enableval
16758 cf_enable_openssl
="auto"
16762 if test "$cf_enable_openssl" != "no" ; then
16763 cf_openssl_basedir
=""
16764 if test "$cf_enable_openssl" != "auto" &&
16765 test "$cf_enable_openssl" != "yes" ; then
16766 cf_openssl_basedir
="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
16768 for dirs in /usr
/local
/ssl
/usr
/pkg
/usr
/local \
16769 /usr
/local
/openssl
; do
16770 if test -f "${dirs}/include/openssl/opensslv.h" ; then
16771 cf_openssl_basedir
="${dirs}"
16777 if test ! -z "$cf_openssl_basedir"; then
16778 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
16779 SSL_INCLUDES
="-I${cf_openssl_basedir}/include"
16780 SSL_LIBS
="-L${cf_openssl_basedir}/lib"
16782 cf_openssl_basedir
=""
16785 if test -f "/usr/include/openssl/opensslv.h" ; then
16786 cf_openssl_basedir
="/usr"
16790 if test ! -z "$cf_openssl_basedir"; then
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
16792 $as_echo "$cf_openssl_basedir" >&6; }
16793 cf_enable_openssl
="yes"
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Specify a correct path?" >&5
16796 $as_echo "not found. Specify a correct path?" >&6; }
16797 cf_enable_openssl
="no"
16799 unset cf_openssl_basedir
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16802 $as_echo "disabled" >&6; }
16805 save_CPPFLAGS
="$CPPFLAGS"
16806 CPPFLAGS
="$CPPFLAGS $SSL_INCLUDES"
16808 LIBS
="$LIBS $SSL_LIBS"
16809 if test "$cf_enable_openssl" != no
; then
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.6 or above" >&5
16811 $as_echo_n "checking for OpenSSL 0.9.6 or above... " >&6; }
16812 if test "$cross_compiling" = yes; then :
16813 cf_openssl_version_ok
=no
16815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 #include <openssl/opensslv.h>
16818 #include <stdlib.h>
16822 if ( OPENSSL_VERSION_NUMBER >= 0x00906000)
16823 exit(0); else exit(1);
16828 if ac_fn_c_try_run
"$LINENO"; then :
16829 cf_openssl_version_ok
=yes
16831 cf_openssl_version_ok
=no
16833 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16834 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16838 if test "$cf_openssl_version_ok" = yes; then
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16840 $as_echo "found" >&6; }
16845 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16847 $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
16848 if ${ac_cv_lib_crypto_RSA_free+:} false
; then :
16849 $as_echo_n "(cached) " >&6
16851 ac_check_lib_save_LIBS
=$LIBS
16852 LIBS
="-lcrypto $LIBS"
16853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16856 /* Override any GCC internal prototype to avoid an error.
16857 Use char because int might match the return type of a GCC
16858 builtin and then its argument prototype would still apply. */
16866 return RSA_free ();
16871 if ac_fn_c_try_link
"$LINENO"; then :
16872 ac_cv_lib_crypto_RSA_free
=yes
16874 ac_cv_lib_crypto_RSA_free
=no
16876 rm -f core conftest.err conftest.
$ac_objext \
16877 conftest
$ac_exeext conftest.
$ac_ext
16878 LIBS
=$ac_check_lib_save_LIBS
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
16881 $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
16882 if test "x$ac_cv_lib_crypto_RSA_free" = xyes
; then :
16883 cat >>confdefs.h
<<_ACEOF
16884 #define HAVE_LIBCRYPTO 1
16887 LIBS
="-lcrypto $LIBS"
16891 SSL_LIBS
="$SSL_LIBS -lcrypto"
16892 SSL_SRCS_ENABLE
='$(SSL_SRCS)'
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
16895 $as_echo "no - OpenSSL support disabled" >&6; }
16899 CPPFLAGS
="$save_CPPFLAGS"
16906 # Check whether --with-zlib-path was given.
16907 if test "${with_zlib_path+set}" = set; then :
16908 withval
=$with_zlib_path; LIBS
="$LIBS -L$withval"
16912 # Check whether --enable-zlib was given.
16913 if test "${enable_zlib+set}" = set; then :
16914 enableval
=$enable_zlib; zlib
=$enableval
16920 if test "$zlib" = yes; then
16922 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16923 if test "x$ac_cv_header_zlib_h" = xyes
; then :
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
16926 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
16927 if ${ac_cv_lib_z_zlibVersion+:} false
; then :
16928 $as_echo_n "(cached) " >&6
16930 ac_check_lib_save_LIBS
=$LIBS
16932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16935 /* Override any GCC internal prototype to avoid an error.
16936 Use char because int might match the return type of a GCC
16937 builtin and then its argument prototype would still apply. */
16941 char zlibVersion ();
16945 return zlibVersion ();
16950 if ac_fn_c_try_link
"$LINENO"; then :
16951 ac_cv_lib_z_zlibVersion
=yes
16953 ac_cv_lib_z_zlibVersion
=no
16955 rm -f core conftest.err conftest.
$ac_objext \
16956 conftest
$ac_exeext conftest.
$ac_ext
16957 LIBS
=$ac_check_lib_save_LIBS
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
16960 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
16961 if test "x$ac_cv_lib_z_zlibVersion" = xyes
; then :
16966 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
16983 # Check whether --with-shared-sqlite was given.
16984 if test "${with_shared_sqlite+set}" = set; then :
16985 withval
=$with_shared_sqlite; shared_sqlite
=$withval
16991 if test "$shared_sqlite" = yes; then
16999 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17000 if test -n "$ac_tool_prefix"; then
17001 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17002 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17004 $as_echo_n "checking for $ac_word... " >&6; }
17005 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
17006 $as_echo_n "(cached) " >&6
17008 case $PKG_CONFIG in
17010 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17014 for as_dir
in $PATH
17017 test -z "$as_dir" && as_dir
=.
17018 for ac_exec_ext
in '' $ac_executable_extensions; do
17019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17020 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17031 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17032 if test -n "$PKG_CONFIG"; then
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17034 $as_echo "$PKG_CONFIG" >&6; }
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17037 $as_echo "no" >&6; }
17042 if test -z "$ac_cv_path_PKG_CONFIG"; then
17043 ac_pt_PKG_CONFIG
=$PKG_CONFIG
17044 # Extract the first word of "pkg-config", so it can be a program name with args.
17045 set dummy pkg
-config; ac_word
=$2
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17047 $as_echo_n "checking for $ac_word... " >&6; }
17048 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
17049 $as_echo_n "(cached) " >&6
17051 case $ac_pt_PKG_CONFIG in
17053 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17057 for as_dir
in $PATH
17060 test -z "$as_dir" && as_dir
=.
17061 for ac_exec_ext
in '' $ac_executable_extensions; do
17062 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17063 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17074 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
17075 if test -n "$ac_pt_PKG_CONFIG"; then
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17077 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17080 $as_echo "no" >&6; }
17083 if test "x$ac_pt_PKG_CONFIG" = x
; then
17086 case $cross_compiling:$ac_tool_warned in
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17090 ac_tool_warned
=yes ;;
17092 PKG_CONFIG
=$ac_pt_PKG_CONFIG
17095 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
17099 if test -n "$PKG_CONFIG"; then
17100 _pkg_min_version
=0.9.0
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17102 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17103 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17105 $as_echo "yes" >&6; }
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17108 $as_echo "no" >&6; }
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
17115 $as_echo_n "checking for SQLITE... " >&6; }
17117 if test -n "$SQLITE_CFLAGS"; then
17118 pkg_cv_SQLITE_CFLAGS
="$SQLITE_CFLAGS"
17119 elif test -n "$PKG_CONFIG"; then
17120 if test -n "$PKG_CONFIG" && \
17121 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
17122 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
17124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17125 test $ac_status = 0; }; then
17126 pkg_cv_SQLITE_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
17127 test "x$?" != "x0" && pkg_failed
=yes
17134 if test -n "$SQLITE_LIBS"; then
17135 pkg_cv_SQLITE_LIBS
="$SQLITE_LIBS"
17136 elif test -n "$PKG_CONFIG"; then
17137 if test -n "$PKG_CONFIG" && \
17138 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
17139 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
17141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17142 test $ac_status = 0; }; then
17143 pkg_cv_SQLITE_LIBS
=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
17144 test "x$?" != "x0" && pkg_failed
=yes
17154 if test $pkg_failed = yes; then
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17156 $as_echo "no" >&6; }
17158 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17159 _pkg_short_errors_supported
=yes
17161 _pkg_short_errors_supported
=no
17163 if test $_pkg_short_errors_supported = yes; then
17164 SQLITE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
17166 SQLITE_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
17168 # Put the nasty error message in config.log where it belongs
17169 echo "$SQLITE_PKG_ERRORS" >&5
17172 elif test $pkg_failed = untried
; then
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17174 $as_echo "no" >&6; }
17177 SQLITE_CFLAGS
=$pkg_cv_SQLITE_CFLAGS
17178 SQLITE_LIBS
=$pkg_cv_SQLITE_LIBS
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17180 $as_echo "yes" >&6; }
17187 if test "$shared_sqlite" = no
; then
17188 SQLITE_OBJ
='sqlite3.$(OBJEXT)'
17191 SQLITE_LD
="$SQLITE_LIBS"
17193 SQLITE_INCLUDES
="$SQLITE_CFLAGS"
17198 # Check whether --enable-ports was given.
17199 if test "${enable_ports+set}" = set; then :
17200 enableval
=$enable_ports; if test $enableval = yes; then
17201 SELECT_TYPE_EXPLICIT
="ports"
17209 # Check whether --enable-poll was given.
17210 if test "${enable_poll+set}" = set; then :
17211 enableval
=$enable_poll; if test $enableval = yes; then
17212 SELECT_TYPE_EXPLICIT
="poll"
17220 # Check whether --enable-select was given.
17221 if test "${enable_select+set}" = set; then :
17222 enableval
=$enable_select; if test $enableval = yes; then
17223 SELECT_TYPE_EXPLICIT
="select"
17231 # Check whether --enable-kqueue was given.
17232 if test "${enable_kqueue+set}" = set; then :
17233 enableval
=$enable_kqueue; if test $enableval = yes; then
17234 SELECT_TYPE_EXPLICIT
="kqueue"
17242 # Check whether --enable-epoll was given.
17243 if test "${enable_epoll+set}" = set; then :
17244 enableval
=$enable_epoll; if test $enableval = yes; then
17245 SELECT_TYPE_EXPLICIT
="epoll"
17246 for ac_func
in epoll_ctl
17248 ac_fn_c_check_func
"$LINENO" "epoll_ctl" "ac_cv_func_epoll_ctl"
17249 if test "x$ac_cv_func_epoll_ctl" = xyes
; then :
17250 cat >>confdefs.h
<<_ACEOF
17251 #define HAVE_EPOLL_CTL 1
17268 # Check whether --with-confdir was given.
17269 if test "${with_confdir+set}" = set; then :
17270 withval
=$with_confdir; sysconfdir
=`echo $withval | sed 's/\/$//'`
17272 confdir
='${sysconfdir}'
17276 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
17277 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17278 last_ac_define_dir
=`eval echo $sysconfdir`
17279 ac_define_dir
=`eval echo $last_ac_define_dir`
17280 ac_define_dir_counter
=0
17281 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
17282 last_ac_define_dir
="$ac_define_dir"
17283 ac_define_dir
=`eval echo $last_ac_define_dir`
17284 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
17285 if test "x$ac_define_dir_counter" = x128
; then :
17286 as_fn_error $?
"detected recusive directory expansion when expanding ETC_DIR=$sysconfdir: $ac_define_dir" "$LINENO" 5
17290 ETC_DIR
="$ac_define_dir"
17293 cat >>confdefs.h
<<_ACEOF
17294 #define ETC_DIR "$ac_define_dir"
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify logdir" >&5
17301 $as_echo_n "checking whether to modify logdir... " >&6; }
17303 # Check whether --with-logdir was given.
17304 if test "${with_logdir+set}" = set; then :
17305 withval
=$with_logdir; logdir
=`echo $withval | sed 's/\/$//'`
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17307 $as_echo "yes" >&6; }
17309 if test "x$enable_fhs_paths" = "xyes"; then :
17310 logdir
='${localstatedir}/log/${PACKAGE_TARNAME}'
17312 logdir
='${prefix}/logs'
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17315 $as_echo "no" >&6; }
17319 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
17320 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17321 last_ac_define_dir
=`eval echo $logdir`
17322 ac_define_dir
=`eval echo $last_ac_define_dir`
17323 ac_define_dir_counter
=0
17324 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
17325 last_ac_define_dir
="$ac_define_dir"
17326 ac_define_dir
=`eval echo $last_ac_define_dir`
17327 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
17328 if test "x$ac_define_dir_counter" = x128
; then :
17329 as_fn_error $?
"detected recusive directory expansion when expanding LOG_DIR=$logdir: $ac_define_dir" "$LINENO" 5
17333 LOG_DIR
="$ac_define_dir"
17336 cat >>confdefs.h
<<_ACEOF
17337 #define LOG_DIR "$ac_define_dir"
17344 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
17345 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
17346 eval echo \""$logdir"\"
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify helpdir" >&5
17353 $as_echo_n "checking whether to modify helpdir... " >&6; }
17355 # Check whether --with-helpdir was given.
17356 if test "${with_helpdir+set}" = set; then :
17357 withval
=$with_helpdir; helpdir
=`echo $withval | sed 's/\/$//'`
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17359 $as_echo "yes" >&6; }
17361 if test "x$enable_fhs_paths" = "xyes"; then :
17362 helpdir
='${datadir}/${PACKAGE_TARNAME}/help'
17364 helpdir
='${prefix}/help'
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17367 $as_echo "no" >&6; }
17371 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
17372 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17373 last_ac_define_dir
=`eval echo $helpdir`
17374 ac_define_dir
=`eval echo $last_ac_define_dir`
17375 ac_define_dir_counter
=0
17376 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
17377 last_ac_define_dir
="$ac_define_dir"
17378 ac_define_dir
=`eval echo $last_ac_define_dir`
17379 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
17380 if test "x$ac_define_dir_counter" = x128
; then :
17381 as_fn_error $?
"detected recusive directory expansion when expanding HELP_DIR=$helpdir: $ac_define_dir" "$LINENO" 5
17385 HELP_DIR
="$ac_define_dir"
17388 cat >>confdefs.h
<<_ACEOF
17389 #define HELP_DIR "$ac_define_dir"
17396 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
17397 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
17398 eval echo \""$helpdir"\"
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify moduledir" >&5
17405 $as_echo_n "checking whether to modify moduledir... " >&6; }
17407 # Check whether --with-moduledir was given.
17408 if test "${with_moduledir+set}" = set; then :
17409 withval
=$with_moduledir; moduledir
=`echo $withval | sed 's/\/$//'`
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17411 $as_echo "yes" >&6; }
17413 if test "x$enable_fhs_paths" = "xyes"; then :
17414 moduledir
='${pkglibdir}/modules'
17416 moduledir
='${prefix}/modules'
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17419 $as_echo "no" >&6; }
17424 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
17425 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17426 last_ac_define_dir
=`eval echo $moduledir`
17427 ac_define_dir
=`eval echo $last_ac_define_dir`
17428 ac_define_dir_counter
=0
17429 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
17430 last_ac_define_dir
="$ac_define_dir"
17431 ac_define_dir
=`eval echo $last_ac_define_dir`
17432 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
17433 if test "x$ac_define_dir_counter" = x128
; then :
17434 as_fn_error $?
"detected recusive directory expansion when expanding MODULE_DIR=$moduledir: $ac_define_dir" "$LINENO" 5
17438 MODULE_DIR
="$ac_define_dir"
17441 cat >>confdefs.h
<<_ACEOF
17442 #define MODULE_DIR "$ac_define_dir"
17449 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
17450 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
17451 eval echo \""$moduledir"\"
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether or modify rundir" >&5
17458 $as_echo_n "checking whether or modify rundir... " >&6; }
17460 # Check whether --with-rundir was given.
17461 if test "${with_rundir+set}" = set; then :
17462 withval
=$with_rundir; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17463 $as_echo "yes" >&6; }
17464 rundir
=`echo $withval | sed 's/\/$//'`
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17467 $as_echo "no" >&6; }
17468 if test "x$enable_fhs_paths" = "xyes"; then :
17469 rundir
='${prefix}/run'
17471 rundir
='${sysconfdir}'
17477 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
17478 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17479 last_ac_define_dir
=`eval echo $pkgrundir`
17480 ac_define_dir
=`eval echo $last_ac_define_dir`
17481 ac_define_dir_counter
=0
17482 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
17483 last_ac_define_dir
="$ac_define_dir"
17484 ac_define_dir
=`eval echo $last_ac_define_dir`
17485 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
17486 if test "x$ac_define_dir_counter" = x128
; then :
17487 as_fn_error $?
"detected recusive directory expansion when expanding PKGRUNDIR=$pkgrundir: $ac_define_dir" "$LINENO" 5
17491 PKGRUNDIR
="$ac_define_dir"
17494 cat >>confdefs.h
<<_ACEOF
17495 #define PKGRUNDIR "$ac_define_dir"
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program prefix" >&5
17501 $as_echo_n "checking for program prefix... " >&6; }
17503 # Check whether --with-program-prefix was given.
17504 if test "${with_program_prefix+set}" = set; then :
17505 withval
=$with_program_prefix; test "x$with_program_prefix" = "xno" && with_program_prefix
=
17507 with_program_prefix
=
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$with_program_prefix\"" >&5
17511 $as_echo "\"$with_program_prefix\"" >&6; }
17512 PROGRAM_PREFIX
="$with_program_prefix"
17515 cat >>confdefs.h
<<_ACEOF
17516 #define PROGRAM_PREFIX "$with_program_prefix"
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether custom branding is requested" >&5
17522 $as_echo_n "checking whether custom branding is requested... " >&6; }
17524 # Check whether --with-custom-branding was given.
17525 if test "${with_custom_branding+set}" = set; then :
17526 withval
=$with_custom_branding; BRANDING_NAME
=$withval
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17528 $as_echo "yes" >&6; }
17530 BRANDING_NAME
=$PACKAGE_NAME
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17532 $as_echo "no" >&6; }
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a custom version is requested" >&5
17538 $as_echo_n "checking whether a custom version is requested... " >&6; }
17540 # Check whether --with-custom-version was given.
17541 if test "${with_custom_version+set}" = set; then :
17542 withval
=$with_custom_version; BRANDING_VERSION
=$withval
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17544 $as_echo "yes" >&6; }
17546 BRANDING_VERSION
=$PACKAGE_VERSION
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17548 $as_echo "no" >&6; }
17554 cat >>confdefs.h
<<_ACEOF
17555 #define BRANDING_NAME "$BRANDING_NAME"
17559 cat >>confdefs.h
<<_ACEOF
17560 #define BRANDING_VERSION "$BRANDING_VERSION"
17564 if test "x$BRANDING_NAME" != "x$PACKAGE_NAME"; then
17566 $as_echo "#define CUSTOM_BRANDING 1" >>confdefs.h
17570 if test ! -z "$SELECT_TYPE_EXPLICIT"; then
17571 SELECT_TYPE
="$SELECT_TYPE_EXPLICIT";
17572 echo "Forcing $SELECT_TYPE to be enabled"
17575 if test ! "x$use_ports" = "xno"; then
17576 for ac_func
in port_getn
17578 ac_fn_c_check_func
"$LINENO" "port_getn" "ac_cv_func_port_getn"
17579 if test "x$ac_cv_func_port_getn" = xyes
; then :
17580 cat >>confdefs.h
<<_ACEOF
17581 #define HAVE_PORT_GETN 1
17589 if test "x$haveports" = "xyes" ; then
17590 SELECT_TYPE
="ports"
17594 if test ! "x$use_select" = "xno"; then
17595 for ac_func
in select
17597 ac_fn_c_check_func
"$LINENO" "select" "ac_cv_func_select"
17598 if test "x$ac_cv_func_select" = xyes
; then :
17599 cat >>confdefs.h
<<_ACEOF
17600 #define HAVE_SELECT 1
17608 if test "x$haveselect" = "xyes" ; then
17609 SELECT_TYPE
="select"
17613 if test ! "x$use_poll" = "xno"; then
17614 for ac_func
in poll
17616 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
17617 if test "x$ac_cv_func_poll" = xyes
; then :
17618 cat >>confdefs.h
<<_ACEOF
17619 #define HAVE_POLL 1
17627 if test "x$havepoll" = "xyes" ; then
17632 if test ! "x$use_kqueue" = "xno"; then
17633 for ac_func
in kevent
17635 ac_fn_c_check_func
"$LINENO" "kevent" "ac_cv_func_kevent"
17636 if test "x$ac_cv_func_kevent" = xyes
; then :
17637 cat >>confdefs.h
<<_ACEOF
17638 #define HAVE_KEVENT 1
17646 if test "x$havekqueue" = "xyes" ; then
17647 SELECT_TYPE
="kqueue"
17651 if test ! "x$use_epoll" = "xno"; then
17652 for ac_func
in epoll_ctl
17654 ac_fn_c_check_func
"$LINENO" "epoll_ctl" "ac_cv_func_epoll_ctl"
17655 if test "x$ac_cv_func_epoll_ctl" = xyes
; then :
17656 cat >>confdefs.h
<<_ACEOF
17657 #define HAVE_EPOLL_CTL 1
17665 if test "x$ac_cv_header_sys_epoll_h" = "xyes"; then
17666 if test "x$haveepoll" = "xyes" ; then
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll support in kernel" >&5
17668 $as_echo_n "checking for epoll support in kernel... " >&6; }
17669 if test "$cross_compiling" = yes; then :
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17671 $as_echo "no" >&6; }
17673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17675 #include <stdint.h>
17676 #include <sys/param.h>
17677 #include <sys/types.h>
17678 #include <sys/epoll.h>
17679 #include <sys/syscall.h>
17680 #include <unistd.h>
17683 main(int argc, char **argv)
17687 epfd = epoll_create(256);
17688 return (epfd == -1 ? 1 : 0);
17691 if ac_fn_c_try_run
"$LINENO"; then :
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17693 $as_echo "yes" >&6; }
17695 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
17697 SELECT_TYPE
="epoll"
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17700 $as_echo "no" >&6; }
17702 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17703 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17709 haveepollsyscall
=no
17711 if test "x$ac_cv_header_sys_epoll_h" = "xyes"; then
17712 if test "x$haveepoll" = "xno" ; then
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll system call" >&5
17714 $as_echo_n "checking for epoll system call... " >&6; }
17715 if test "$cross_compiling" = yes; then :
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17717 $as_echo "no" >&6; }
17719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 #include <stdint.h>
17722 #include <sys/param.h>
17723 #include <sys/types.h>
17724 #include <sys/epoll.h>
17725 #include <sys/syscall.h>
17726 #include <unistd.h>
17729 epoll_create(int size)
17731 return (syscall(__NR_epoll_create, size));
17735 main(int argc, char **argv)
17739 epfd = epoll_create(256);
17740 exit (epfd == -1 ? 1 : 0);
17743 if ac_fn_c_try_run
"$LINENO"; then :
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17745 $as_echo "yes" >&6; }
17747 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
17749 SELECT_TYPE
="epoll"
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17752 $as_echo "no" >&6; }
17754 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17755 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17765 if test -z "$SELECT_TYPE"; then
17766 as_fn_error $?
"Unable to find a usable IO interface" "$LINENO" 5
17769 echo "Using $SELECT_TYPE for select loop."
17772 cat >>confdefs.h
<<_ACEOF
17773 #define SELECT_TYPE "$SELECT_TYPE"
17780 # Check whether --enable-assert was given.
17781 if test "${enable_assert+set}" = set; then :
17782 enableval
=$enable_assert; assert
=$enableval
17788 if test "$assert" = no
; then
17790 $as_echo "#define NDEBUG 1" >>confdefs.h
17792 elif test "$assert" = soft
; then
17794 $as_echo "#define SOFT_ASSERT 1" >>confdefs.h
17797 $as_echo "#define NDEBUG 1" >>confdefs.h
17799 elif test "$assert" = yes; then
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want IO Debugging hooks" >&5
17804 $as_echo_n "checking if you want IO Debugging hooks... " >&6; }
17805 # Check whether --enable-iodebug was given.
17806 if test "${enable_iodebug+set}" = set; then :
17807 enableval
=$enable_iodebug; iodebug
=$enableval
17813 if test "$iodebug" = yes; then
17815 $as_echo "#define USE_IODEBUG_HOOKS 1" >>confdefs.h
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17818 $as_echo "yes" >&6; }
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17821 $as_echo "no" >&6; }
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to do a profile build" >&5
17826 $as_echo_n "checking if you want to do a profile build... " >&6; }
17827 # Check whether --enable-profile was given.
17828 if test "${enable_profile+set}" = set; then :
17829 enableval
=$enable_profile; profile
=$enableval
17835 if test "$profile" = yes; then
17836 if test "$ac_cv_c_compiler_gnu" = yes; then
17837 IRC_CFLAGS
="$IRC_CFLAGS -pg"
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, adding -pg" >&5
17839 $as_echo "yes, adding -pg" >&6; }
17841 $as_echo "#define CHARYBDIS_PROFILE 1" >>confdefs.h
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, profile builds only work with gcc" >&5
17845 $as_echo "no, profile builds only work with gcc" >&6; }
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17849 $as_echo "no" >&6; }
17852 # Check whether --enable-balloc was given.
17853 if test "${enable_balloc+set}" = set; then :
17854 enableval
=$enable_balloc; balloc
=$enableval
17860 if test "$balloc" = no
; then
17862 $as_echo "#define NOBALLOC 1" >>confdefs.h
17866 # Check whether --enable-small-net was given.
17867 if test "${enable_small_net+set}" = set; then :
17868 enableval
=$enable_small_net; small_net
=$enableval
17874 if test "$small_net" = yes; then
17876 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
17879 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
17882 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
17885 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
17888 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
17891 $as_echo "#define PCLIENT_HEAP_SIZE 32" >>confdefs.h
17894 $as_echo "#define USER_HEAP_SIZE 128" >>confdefs.h
17897 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
17900 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
17903 $as_echo "#define LINEBUF_HEAP_SIZE 128" >>confdefs.h
17906 $as_echo "#define MEMBER_HEAP_SIZE 256" >>confdefs.h
17909 $as_echo "#define ND_HEAP_SIZE 128" >>confdefs.h
17912 $as_echo "#define CONFITEM_HEAP_SIZE 128" >>confdefs.h
17915 $as_echo "#define MONITOR_HEAP_SIZE 128" >>confdefs.h
17918 $as_echo "#define FD_HEAP_SIZE 128" >>confdefs.h
17921 $as_echo "#define AWAY_HEAP_SIZE 128" >>confdefs.h
17925 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
17928 $as_echo "#define CHANNEL_HEAP_SIZE 8192" >>confdefs.h
17931 $as_echo "#define BAN_HEAP_SIZE 4096" >>confdefs.h
17934 $as_echo "#define CLIENT_HEAP_SIZE 8192" >>confdefs.h
17937 $as_echo "#define LCLIENT_HEAP_SIZE 1024" >>confdefs.h
17940 $as_echo "#define PCLIENT_HEAP_SIZE 256" >>confdefs.h
17943 $as_echo "#define USER_HEAP_SIZE 8192" >>confdefs.h
17946 $as_echo "#define DNODE_HEAP_SIZE 8192" >>confdefs.h
17949 $as_echo "#define TOPIC_HEAP_SIZE 4096" >>confdefs.h
17952 $as_echo "#define LINEBUF_HEAP_SIZE 2048" >>confdefs.h
17955 $as_echo "#define MEMBER_HEAP_SIZE 32768" >>confdefs.h
17958 $as_echo "#define ND_HEAP_SIZE 512" >>confdefs.h
17961 $as_echo "#define CONFITEM_HEAP_SIZE 256" >>confdefs.h
17964 $as_echo "#define MONITOR_HEAP_SIZE 1024" >>confdefs.h
17967 $as_echo "#define FD_HEAP_SIZE 1024" >>confdefs.h
17970 $as_echo "#define AWAY_HEAP_SIZE 512" >>confdefs.h
17975 # Check whether --with-nicklen was given.
17976 if test "${with_nicklen+set}" = set; then :
17977 withval
=$with_nicklen;
17978 if ! expr "$withval" + 0 >/dev
/null
2>&1; then
17979 as_fn_error $?
"NICKLEN must be a numeric value" "$LINENO" 5
17981 if test $withval -gt 50; then
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NICKLEN has a hard limit of 50. Setting NICKLEN=50" >&5
17984 $as_echo "$as_me: WARNING: NICKLEN has a hard limit of 50. Setting NICKLEN=50" >&2;}
17985 elif test $withval -lt 9; then
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NICKLEN has a lower limit of 9. Setting NICKLEN=9" >&5
17988 $as_echo "$as_me: WARNING: NICKLEN has a lower limit of 9. Setting NICKLEN=9" >&2;}
17999 # Check whether --with-topiclen was given.
18000 if test "${with_topiclen+set}" = set; then :
18001 withval
=$with_topiclen;
18002 if test $withval -ge 390; then
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&5
18005 $as_echo "$as_me: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&2;}
18016 cat >>confdefs.h
<<_ACEOF
18017 #define TOPICLEN ${TOPICLEN}
18021 cat >>confdefs.h
<<_ACEOF
18022 #define NICKLEN (${NICKLEN}+1)
18026 shared_modules
="yes"
18027 if test "$shared_modules" = yes; then
18028 if test "$CC" = tcc
-a "$TenDRA" = "no"; then
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling shared modules: Tiny C Compiler can't create PIC" >&5
18030 $as_echo "$as_me: WARNING: disabling shared modules: Tiny C Compiler can't create PIC" >&2;}
18031 shared_modules
="no"
18035 if test "$shared_modules" = yes; then
18036 DYNLINK_C
=dynlink.c
18037 for ac_header
in dlfcn.h
18039 ac_fn_c_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
18040 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
18041 cat >>confdefs.h
<<_ACEOF
18042 #define HAVE_DLFCN_H 1
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shl_load" >&5
18050 $as_echo_n "checking for library containing shl_load... " >&6; }
18051 if ${ac_cv_search_shl_load+:} false
; then :
18052 $as_echo_n "(cached) " >&6
18054 ac_func_search_save_LIBS
=$LIBS
18055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18056 /* end confdefs.h. */
18058 /* Override any GCC internal prototype to avoid an error.
18059 Use char because int might match the return type of a GCC
18060 builtin and then its argument prototype would still apply. */
18068 return shl_load ();
18073 for ac_lib
in '' dld
; do
18074 if test -z "$ac_lib"; then
18075 ac_res
="none required"
18078 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18080 if ac_fn_c_try_link
"$LINENO"; then :
18081 ac_cv_search_shl_load
=$ac_res
18083 rm -f core conftest.err conftest.
$ac_objext \
18085 if ${ac_cv_search_shl_load+:} false
; then :
18089 if ${ac_cv_search_shl_load+:} false
; then :
18092 ac_cv_search_shl_load
=no
18094 rm conftest.
$ac_ext
18095 LIBS
=$ac_func_search_save_LIBS
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shl_load" >&5
18098 $as_echo "$ac_cv_search_shl_load" >&6; }
18099 ac_res
=$ac_cv_search_shl_load
18100 if test "$ac_res" != no
; then :
18101 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18104 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
18107 MOD_TARGET
=hpux_shared
18108 SEDOBJ
="s/\.o/.sl/g"
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18113 $as_echo_n "checking for library containing dlopen... " >&6; }
18114 if ${ac_cv_search_dlopen+:} false
; then :
18115 $as_echo_n "(cached) " >&6
18117 ac_func_search_save_LIBS
=$LIBS
18118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h. */
18121 /* Override any GCC internal prototype to avoid an error.
18122 Use char because int might match the return type of a GCC
18123 builtin and then its argument prototype would still apply. */
18136 for ac_lib
in '' dl c_r
; do
18137 if test -z "$ac_lib"; then
18138 ac_res
="none required"
18141 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18143 if ac_fn_c_try_link
"$LINENO"; then :
18144 ac_cv_search_dlopen
=$ac_res
18146 rm -f core conftest.err conftest.
$ac_objext \
18148 if ${ac_cv_search_dlopen+:} false
; then :
18152 if ${ac_cv_search_dlopen+:} false
; then :
18155 ac_cv_search_dlopen
=no
18157 rm conftest.
$ac_ext
18158 LIBS
=$ac_func_search_save_LIBS
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18161 $as_echo "$ac_cv_search_dlopen" >&6; }
18162 ac_res
=$ac_cv_search_dlopen
18163 if test "$ac_res" != no
; then :
18164 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18167 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
18170 MOD_TARGET
=shared_modules
18171 SEDOBJ
="s/\.o/.so/g"
18172 if test "$AppleGCC" = yes; then
18173 for ac_header
in mach
-o/dyld.h
18175 ac_fn_c_check_header_mongrel
"$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default"
18176 if test "x$ac_cv_header_mach_o_dyld_h" = xyes
; then :
18177 cat >>confdefs.h
<<_ACEOF
18178 #define HAVE_MACH_O_DYLD_H 1
18186 ac_fn_c_check_func
"$LINENO" "dlsym" "ac_cv_func_dlsym"
18187 if test "x$ac_cv_func_dlsym" = xyes
; then :
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dlsym is not available, shared modules disabled" >&5
18192 $as_echo "$as_me: WARNING: dlsym is not available, shared modules disabled" >&2;}
18197 for ac_func
in dlfunc
18199 ac_fn_c_check_func
"$LINENO" "dlfunc" "ac_cv_func_dlfunc"
18200 if test "x$ac_cv_func_dlfunc" = xyes
; then :
18201 cat >>confdefs.h
<<_ACEOF
18202 #define HAVE_DLFUNC 1
18221 cat >>confdefs.h
<<_ACEOF
18222 #define SHARED_SUFFIX "$SUFFIX"
18226 if test "$shared_modules" = yes; then
18227 # The GNU linker requires the -export-dynamic option to make
18228 # all symbols visible in the dynamic symbol table.
18229 hold_ldflags
=$LDFLAGS
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ld -export-dynamic flag" >&5
18231 $as_echo_n "checking for the ld -export-dynamic flag... " >&6; }
18232 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic -Werror"
18233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18234 /* end confdefs.h. */
18244 if ac_fn_c_try_link
"$LINENO"; then :
18249 rm -f core conftest.err conftest.
$ac_objext \
18250 conftest
$ac_exeext conftest.
$ac_ext
18251 LDFLAGS
=$hold_ldflags
18253 if expr "`uname -s`" : ^IRIX
>/dev
/null
2>&1; then
18254 found
="no, IRIX ld uses -B,dynamic"
18255 LDFLAGS
="${LDFLAGS} -Wl,-B,dynamic"
18258 if expr "`uname -s`" : ^AIX
>/dev
/null
2>&1; then
18259 found
="no, AIX ld uses -G -brtl"
18260 LDFLAGS
="${LDFLAGS} -Wl,-G,-brtl"
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
18264 $as_echo "$found" >&6; }
18266 if test "$found" = yes; then
18267 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to produce PIC" >&5
18271 $as_echo_n "checking for compiler option to produce PIC... " >&6; }
18272 if test "$SGS" = "yes"; then
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SVR4 SGS interfaces: -KPIC -DPIC -G" >&5
18274 $as_echo "SVR4 SGS interfaces: -KPIC -DPIC -G" >&6; }
18275 PICFLAGS
="-KPIC -DPIC -G"
18278 if test "$AppleGCC" = "yes"; then
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress" >&5
18280 $as_echo "Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress" >&6; }
18281 PICFLAGS
="-fno-common -bundle -flat_namespace -undefined suppress"
18283 if test "$HPUX" = "yes" -a "$CC" != gcc
; then
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP-UX cc: +z -r -q -n" >&5
18285 $as_echo "HP-UX cc: +z -r -q -n" >&6; }
18286 PICFLAGS
="+z -r -q -n -c"
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if +ESfic is required on this platform" >&5
18288 $as_echo_n "checking if +ESfic is required on this platform... " >&6; }
18290 if expr "`$CC +ESfic 2>&1`" : ".*neither supported.*" >/dev
/null
; then
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18292 $as_echo "no" >&6; }
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18295 $as_echo "yes" >&6; }
18296 PICFLAGS
="$PICFLAGS +ESfic"
18299 LDFLAGS
="${LDFLAGS} -Wl,-E"
18301 if test "$Tru" = yes -a "$CC" != gcc
; then
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Tru64: -shared -expect_unresolved '*'" >&5
18303 $as_echo "Tru64: -shared -expect_unresolved '*'" >&6; }
18304 PICFLAGS
="-shared -expect_unresolved '*' "
18305 LDFLAGS
="-call_shared"
18307 if test -z "$PICFLAGS"; then
18308 if test "$ac_cv_c_compiler_gnu" = "yes"; then
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc: -fPIC -DPIC -shared" >&5
18310 $as_echo "gcc: -fPIC -DPIC -shared" >&6; }
18311 PICFLAGS
="-fPIC -DPIC -shared"
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18314 $as_echo "no" >&6; }
18320 # rpath, for finding libratbox.so at run time
18321 hold_ldflags
=$LDFLAGS
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ld -rpath flag" >&5
18323 $as_echo_n "checking for the ld -rpath flag... " >&6; }
18324 LDFLAGS
="${LDFLAGS} -Wl,-rpath=${libdir}"
18325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18336 if ac_fn_c_try_link
"$LINENO"; then :
18341 rm -f core conftest.err conftest.
$ac_objext \
18342 conftest
$ac_exeext conftest.
$ac_ext
18343 LDFLAGS
=$hold_ldflags
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
18345 $as_echo "$found" >&6; }
18346 if test "$found" = yes; then
18347 LDFLAGS
="${LDFLAGS} -Wl,-rpath=\${libdir}"
18350 # This must be down here, or it will mess up checks like the ones
18351 # for -Wl,-export-dynamic
18354 # Check whether --enable-warnings was given.
18355 if test "${enable_warnings+set}" = set; then :
18356 enableval
=$enable_warnings;
18357 IRC_CFLAGS
="$IRC_CFLAGS -O0"
18358 CFLAGS
="$IRC_CFLAGS"
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wall" >&5
18362 $as_echo_n "checking GCC flag(s) -Wall... " >&6; }
18363 if test "${GCC-no}" = yes
18365 if ${charybdis_cv_c_gcc_w_all+:} false
; then :
18366 $as_echo_n "(cached) " >&6
18369 oldcflags
="${CFLAGS-}"
18370 CFLAGS
="${CFLAGS-} ${CWARNS} -Wall -Werror"
18371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18372 /* end confdefs.h. */
18374 #include <string.h>
18382 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18388 if ac_fn_c_try_compile
"$LINENO"; then :
18389 charybdis_cv_c_gcc_w_all
=yes
18391 charybdis_cv_c_gcc_w_all
=no
18393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18394 CFLAGS
="${oldcflags}"
18397 if test "x$charybdis_cv_c_gcc_w_all" = xyes
; then
18398 CWARNS
="${CWARNS}-Wall "
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18400 $as_echo "ok" >&6; }
18402 charybdis_cv_c_gcc_w_all
=''
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18404 $as_echo "no" >&6; }
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18408 $as_echo "no" >&6; }
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wpointer-arith" >&5
18413 $as_echo_n "checking GCC flag(s) -Wpointer-arith... " >&6; }
18414 if test "${GCC-no}" = yes
18416 if ${charybdis_cv_c_gcc_w_pointer_arith+:} false
; then :
18417 $as_echo_n "(cached) " >&6
18420 oldcflags
="${CFLAGS-}"
18421 CFLAGS
="${CFLAGS-} ${CWARNS} -Wpointer-arith -Werror"
18422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18425 #include <string.h>
18433 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18439 if ac_fn_c_try_compile
"$LINENO"; then :
18440 charybdis_cv_c_gcc_w_pointer_arith
=yes
18442 charybdis_cv_c_gcc_w_pointer_arith
=no
18444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18445 CFLAGS
="${oldcflags}"
18448 if test "x$charybdis_cv_c_gcc_w_pointer_arith" = xyes
; then
18449 CWARNS
="${CWARNS}-Wpointer-arith "
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18451 $as_echo "ok" >&6; }
18453 charybdis_cv_c_gcc_w_pointer_arith
=''
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18455 $as_echo "no" >&6; }
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18459 $as_echo "no" >&6; }
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wimplicit -Wnested-externs" >&5
18464 $as_echo_n "checking GCC flag(s) -Wimplicit -Wnested-externs... " >&6; }
18465 if test "${GCC-no}" = yes
18467 if ${charybdis_cv_c_gcc_w_implicit+:} false
; then :
18468 $as_echo_n "(cached) " >&6
18471 oldcflags
="${CFLAGS-}"
18472 CFLAGS
="${CFLAGS-} ${CWARNS} -Wimplicit -Wnested-externs -Werror"
18473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18476 #include <string.h>
18484 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18490 if ac_fn_c_try_compile
"$LINENO"; then :
18491 charybdis_cv_c_gcc_w_implicit
=yes
18493 charybdis_cv_c_gcc_w_implicit
=no
18495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18496 CFLAGS
="${oldcflags}"
18499 if test "x$charybdis_cv_c_gcc_w_implicit" = xyes
; then
18500 CWARNS
="${CWARNS}-Wimplicit -Wnested-externs "
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18502 $as_echo "ok" >&6; }
18504 charybdis_cv_c_gcc_w_implicit
=''
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18506 $as_echo "no" >&6; }
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18510 $as_echo "no" >&6; }
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wcast-align" >&5
18515 $as_echo_n "checking GCC flag(s) -Wcast-align... " >&6; }
18516 if test "${GCC-no}" = yes
18518 if ${charybdis_cv_c_gcc_w_cast_align+:} false
; then :
18519 $as_echo_n "(cached) " >&6
18522 oldcflags
="${CFLAGS-}"
18523 CFLAGS
="${CFLAGS-} ${CWARNS} -Wcast-align -Werror"
18524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18525 /* end confdefs.h. */
18527 #include <string.h>
18535 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18541 if ac_fn_c_try_compile
"$LINENO"; then :
18542 charybdis_cv_c_gcc_w_cast_align
=yes
18544 charybdis_cv_c_gcc_w_cast_align
=no
18546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18547 CFLAGS
="${oldcflags}"
18550 if test "x$charybdis_cv_c_gcc_w_cast_align" = xyes
; then
18551 CWARNS
="${CWARNS}-Wcast-align "
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18553 $as_echo "ok" >&6; }
18555 charybdis_cv_c_gcc_w_cast_align
=''
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18557 $as_echo "no" >&6; }
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18561 $as_echo "no" >&6; }
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wcast-qual" >&5
18566 $as_echo_n "checking GCC flag(s) -Wcast-qual... " >&6; }
18567 if test "${GCC-no}" = yes
18569 if ${charybdis_cv_c_gcc_w_cast_qual+:} false
; then :
18570 $as_echo_n "(cached) " >&6
18573 oldcflags
="${CFLAGS-}"
18574 CFLAGS
="${CFLAGS-} ${CWARNS} -Wcast-qual -Werror"
18575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18578 #include <string.h>
18586 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18592 if ac_fn_c_try_compile
"$LINENO"; then :
18593 charybdis_cv_c_gcc_w_cast_qual
=yes
18595 charybdis_cv_c_gcc_w_cast_qual
=no
18597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18598 CFLAGS
="${oldcflags}"
18601 if test "x$charybdis_cv_c_gcc_w_cast_qual" = xyes
; then
18602 CWARNS
="${CWARNS}-Wcast-qual "
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18604 $as_echo "ok" >&6; }
18606 charybdis_cv_c_gcc_w_cast_qual
=''
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18608 $as_echo "no" >&6; }
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18612 $as_echo "no" >&6; }
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wwrite-strings" >&5
18617 $as_echo_n "checking GCC flag(s) -Wwrite-strings... " >&6; }
18618 if test "${GCC-no}" = yes
18620 if ${charybdis_cv_c_gcc_w_write_strings+:} false
; then :
18621 $as_echo_n "(cached) " >&6
18624 oldcflags
="${CFLAGS-}"
18625 CFLAGS
="${CFLAGS-} ${CWARNS} -Wwrite-strings -Werror"
18626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18627 /* end confdefs.h. */
18629 #include <string.h>
18637 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18643 if ac_fn_c_try_compile
"$LINENO"; then :
18644 charybdis_cv_c_gcc_w_write_strings
=yes
18646 charybdis_cv_c_gcc_w_write_strings
=no
18648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18649 CFLAGS
="${oldcflags}"
18652 if test "x$charybdis_cv_c_gcc_w_write_strings" = xyes
; then
18653 CWARNS
="${CWARNS}-Wwrite-strings "
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18655 $as_echo "ok" >&6; }
18657 charybdis_cv_c_gcc_w_write_strings
=''
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18659 $as_echo "no" >&6; }
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18663 $as_echo "no" >&6; }
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Werror-implicit-function-declaration" >&5
18668 $as_echo_n "checking GCC flag(s) -Werror-implicit-function-declaration... " >&6; }
18669 if test "${GCC-no}" = yes
18671 if ${charybdis_cv_c_gcc_w_error_implicit_function_declaration+:} false
; then :
18672 $as_echo_n "(cached) " >&6
18675 oldcflags
="${CFLAGS-}"
18676 CFLAGS
="${CFLAGS-} ${CWARNS} -Werror-implicit-function-declaration -Werror"
18677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18680 #include <string.h>
18688 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18694 if ac_fn_c_try_compile
"$LINENO"; then :
18695 charybdis_cv_c_gcc_w_error_implicit_function_declaration
=yes
18697 charybdis_cv_c_gcc_w_error_implicit_function_declaration
=no
18699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18700 CFLAGS
="${oldcflags}"
18703 if test "x$charybdis_cv_c_gcc_w_error_implicit_function_declaration" = xyes
; then
18704 CWARNS
="${CWARNS}-Werror-implicit-function-declaration "
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18706 $as_echo "ok" >&6; }
18708 charybdis_cv_c_gcc_w_error_implicit_function_declaration
=''
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18710 $as_echo "no" >&6; }
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18714 $as_echo "no" >&6; }
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations" >&5
18719 $as_echo_n "checking GCC flag(s) -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations... " >&6; }
18720 if test "${GCC-no}" = yes
18722 if ${charybdis_cv_c_gcc_prototypes+:} false
; then :
18723 $as_echo_n "(cached) " >&6
18726 oldcflags
="${CFLAGS-}"
18727 CFLAGS
="${CFLAGS-} ${CWARNS} -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Werror"
18728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18731 #include <string.h>
18739 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18745 if ac_fn_c_try_compile
"$LINENO"; then :
18746 charybdis_cv_c_gcc_prototypes
=yes
18748 charybdis_cv_c_gcc_prototypes
=no
18750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18751 CFLAGS
="${oldcflags}"
18754 if test "x$charybdis_cv_c_gcc_prototypes" = xyes
; then
18755 CWARNS
="${CWARNS}-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations "
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18757 $as_echo "ok" >&6; }
18759 charybdis_cv_c_gcc_prototypes
=''
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18761 $as_echo "no" >&6; }
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18765 $as_echo "no" >&6; }
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wparenthesis" >&5
18770 $as_echo_n "checking GCC flag(s) -Wparenthesis... " >&6; }
18771 if test "${GCC-no}" = yes
18773 if ${charybdis_cv_c_gcc_parenthesis+:} false
; then :
18774 $as_echo_n "(cached) " >&6
18777 oldcflags
="${CFLAGS-}"
18778 CFLAGS
="${CFLAGS-} ${CWARNS} -Wparenthesis -Werror"
18779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18782 #include <string.h>
18790 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18796 if ac_fn_c_try_compile
"$LINENO"; then :
18797 charybdis_cv_c_gcc_parenthesis
=yes
18799 charybdis_cv_c_gcc_parenthesis
=no
18801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18802 CFLAGS
="${oldcflags}"
18805 if test "x$charybdis_cv_c_gcc_parenthesis" = xyes
; then
18806 CWARNS
="${CWARNS}-Wparenthesis "
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18808 $as_echo "ok" >&6; }
18810 charybdis_cv_c_gcc_parenthesis
=''
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18812 $as_echo "no" >&6; }
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18816 $as_echo "no" >&6; }
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -W -Wno-unused" >&5
18821 $as_echo_n "checking GCC flag(s) -W -Wno-unused... " >&6; }
18822 if test "${GCC-no}" = yes
18824 if ${charybdis_cv_c_gcc_w+:} false
; then :
18825 $as_echo_n "(cached) " >&6
18828 oldcflags
="${CFLAGS-}"
18829 CFLAGS
="${CFLAGS-} ${CWARNS} -W -Wno-unused -Werror"
18830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18833 #include <string.h>
18841 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18847 if ac_fn_c_try_compile
"$LINENO"; then :
18848 charybdis_cv_c_gcc_w
=yes
18850 charybdis_cv_c_gcc_w
=no
18852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18853 CFLAGS
="${oldcflags}"
18856 if test "x$charybdis_cv_c_gcc_w" = xyes
; then
18857 CWARNS
="${CWARNS}-W -Wno-unused "
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18859 $as_echo "ok" >&6; }
18861 charybdis_cv_c_gcc_w
=''
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18863 $as_echo "no" >&6; }
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18867 $as_echo "no" >&6; }
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wextra" >&5
18872 $as_echo_n "checking GCC flag(s) -Wextra... " >&6; }
18873 if test "${GCC-no}" = yes
18875 if ${charybdis_cv_c_gcc_w_extra+:} false
; then :
18876 $as_echo_n "(cached) " >&6
18879 oldcflags
="${CFLAGS-}"
18880 CFLAGS
="${CFLAGS-} ${CWARNS} -Wextra -Werror"
18881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18882 /* end confdefs.h. */
18884 #include <string.h>
18892 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18898 if ac_fn_c_try_compile
"$LINENO"; then :
18899 charybdis_cv_c_gcc_w_extra
=yes
18901 charybdis_cv_c_gcc_w_extra
=no
18903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18904 CFLAGS
="${oldcflags}"
18907 if test "x$charybdis_cv_c_gcc_w_extra" = xyes
; then
18908 CWARNS
="${CWARNS}-Wextra "
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18910 $as_echo "ok" >&6; }
18912 charybdis_cv_c_gcc_w_extra
=''
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18914 $as_echo "no" >&6; }
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18918 $as_echo "no" >&6; }
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wshadow" >&5
18923 $as_echo_n "checking GCC flag(s) -Wshadow... " >&6; }
18924 if test "${GCC-no}" = yes
18926 if ${charybdis_cv_c_gcc_w_shadow+:} false
; then :
18927 $as_echo_n "(cached) " >&6
18930 oldcflags
="${CFLAGS-}"
18931 CFLAGS
="${CFLAGS-} ${CWARNS} -Wshadow -Werror"
18932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18935 #include <string.h>
18943 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18949 if ac_fn_c_try_compile
"$LINENO"; then :
18950 charybdis_cv_c_gcc_w_shadow
=yes
18952 charybdis_cv_c_gcc_w_shadow
=no
18954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18955 CFLAGS
="${oldcflags}"
18958 if test "x$charybdis_cv_c_gcc_w_shadow" = xyes
; then
18959 CWARNS
="${CWARNS}-Wshadow "
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18961 $as_echo "ok" >&6; }
18963 charybdis_cv_c_gcc_w_shadow
=''
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18965 $as_echo "no" >&6; }
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18969 $as_echo "no" >&6; }
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wmissing-noreturn" >&5
18974 $as_echo_n "checking GCC flag(s) -Wmissing-noreturn... " >&6; }
18975 if test "${GCC-no}" = yes
18977 if ${charybdis_cv_c_gcc_w_missing_noreturn+:} false
; then :
18978 $as_echo_n "(cached) " >&6
18981 oldcflags
="${CFLAGS-}"
18982 CFLAGS
="${CFLAGS-} ${CWARNS} -Wmissing-noreturn -Werror"
18983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18984 /* end confdefs.h. */
18986 #include <string.h>
18994 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
19000 if ac_fn_c_try_compile
"$LINENO"; then :
19001 charybdis_cv_c_gcc_w_missing_noreturn
=yes
19003 charybdis_cv_c_gcc_w_missing_noreturn
=no
19005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19006 CFLAGS
="${oldcflags}"
19009 if test "x$charybdis_cv_c_gcc_w_missing_noreturn" = xyes
; then
19010 CWARNS
="${CWARNS}-Wmissing-noreturn "
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19012 $as_echo "ok" >&6; }
19014 charybdis_cv_c_gcc_w_missing_noreturn
=''
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19016 $as_echo "no" >&6; }
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19020 $as_echo "no" >&6; }
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wundef" >&5
19025 $as_echo_n "checking GCC flag(s) -Wundef... " >&6; }
19026 if test "${GCC-no}" = yes
19028 if ${charybdis_cv_c_gcc_w_undef+:} false
; then :
19029 $as_echo_n "(cached) " >&6
19032 oldcflags
="${CFLAGS-}"
19033 CFLAGS
="${CFLAGS-} ${CWARNS} -Wundef -Werror"
19034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19037 #include <string.h>
19045 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
19051 if ac_fn_c_try_compile
"$LINENO"; then :
19052 charybdis_cv_c_gcc_w_undef
=yes
19054 charybdis_cv_c_gcc_w_undef
=no
19056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19057 CFLAGS
="${oldcflags}"
19060 if test "x$charybdis_cv_c_gcc_w_undef" = xyes
; then
19061 CWARNS
="${CWARNS}-Wundef "
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19063 $as_echo "ok" >&6; }
19065 charybdis_cv_c_gcc_w_undef
=''
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19067 $as_echo "no" >&6; }
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19071 $as_echo "no" >&6; }
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wpacked" >&5
19076 $as_echo_n "checking GCC flag(s) -Wpacked... " >&6; }
19077 if test "${GCC-no}" = yes
19079 if ${charybdis_cv_c_gcc_w_packed+:} false
; then :
19080 $as_echo_n "(cached) " >&6
19083 oldcflags
="${CFLAGS-}"
19084 CFLAGS
="${CFLAGS-} ${CWARNS} -Wpacked -Werror"
19085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19088 #include <string.h>
19096 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
19102 if ac_fn_c_try_compile
"$LINENO"; then :
19103 charybdis_cv_c_gcc_w_packed
=yes
19105 charybdis_cv_c_gcc_w_packed
=no
19107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19108 CFLAGS
="${oldcflags}"
19111 if test "x$charybdis_cv_c_gcc_w_packed" = xyes
; then
19112 CWARNS
="${CWARNS}-Wpacked "
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19114 $as_echo "ok" >&6; }
19116 charybdis_cv_c_gcc_w_packed
=''
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19118 $as_echo "no" >&6; }
19121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19122 $as_echo "no" >&6; }
19126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wnested-externs" >&5
19127 $as_echo_n "checking GCC flag(s) -Wnested-externs... " >&6; }
19128 if test "${GCC-no}" = yes
19130 if ${charybdis_cv_c_gcc_w_nested_externs+:} false
; then :
19131 $as_echo_n "(cached) " >&6
19134 oldcflags
="${CFLAGS-}"
19135 CFLAGS
="${CFLAGS-} ${CWARNS} -Wnested-externs -Werror"
19136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19137 /* end confdefs.h. */
19139 #include <string.h>
19147 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
19153 if ac_fn_c_try_compile
"$LINENO"; then :
19154 charybdis_cv_c_gcc_w_nested_externs
=yes
19156 charybdis_cv_c_gcc_w_nested_externs
=no
19158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19159 CFLAGS
="${oldcflags}"
19162 if test "x$charybdis_cv_c_gcc_w_nested_externs" = xyes
; then
19163 CWARNS
="${CWARNS}-Wnested-externs "
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19165 $as_echo "ok" >&6; }
19167 charybdis_cv_c_gcc_w_nested_externs
=''
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19169 $as_echo "no" >&6; }
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19173 $as_echo "no" >&6; }
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wunused-function -Wunused-label -Wunused-value -Wunused-variable" >&5
19178 $as_echo_n "checking GCC flag(s) -Wunused-function -Wunused-label -Wunused-value -Wunused-variable... " >&6; }
19179 if test "${GCC-no}" = yes
19181 if ${charybdis_cv_c_gcc_w_unused+:} false
; then :
19182 $as_echo_n "(cached) " >&6
19185 oldcflags
="${CFLAGS-}"
19186 CFLAGS
="${CFLAGS-} ${CWARNS} -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Werror"
19187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19188 /* end confdefs.h. */
19190 #include <string.h>
19198 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
19204 if ac_fn_c_try_compile
"$LINENO"; then :
19205 charybdis_cv_c_gcc_w_unused
=yes
19207 charybdis_cv_c_gcc_w_unused
=no
19209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19210 CFLAGS
="${oldcflags}"
19213 if test "x$charybdis_cv_c_gcc_w_unused" = xyes
; then
19214 CWARNS
="${CWARNS}-Wunused-function -Wunused-label -Wunused-value -Wunused-variable "
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19216 $as_echo "ok" >&6; }
19218 charybdis_cv_c_gcc_w_unused
=''
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19220 $as_echo "no" >&6; }
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19224 $as_echo "no" >&6; }
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wredundant-decls" >&5
19229 $as_echo_n "checking GCC flag(s) -Wredundant-decls... " >&6; }
19230 if test "${GCC-no}" = yes
19232 if ${charybdis_cv_c_gcc_w_redundant_decls+:} false
; then :
19233 $as_echo_n "(cached) " >&6
19236 oldcflags
="${CFLAGS-}"
19237 CFLAGS
="${CFLAGS-} ${CWARNS} -Wredundant-decls -Werror"
19238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19241 #include <string.h>
19249 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
19255 if ac_fn_c_try_compile
"$LINENO"; then :
19256 charybdis_cv_c_gcc_w_redundant_decls
=yes
19258 charybdis_cv_c_gcc_w_redundant_decls
=no
19260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19261 CFLAGS
="${oldcflags}"
19264 if test "x$charybdis_cv_c_gcc_w_redundant_decls" = xyes
; then
19265 CWARNS
="${CWARNS}-Wredundant-decls "
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19267 $as_echo "ok" >&6; }
19269 charybdis_cv_c_gcc_w_redundant_decls
=''
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19271 $as_echo "no" >&6; }
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19275 $as_echo "no" >&6; }
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wfloat-equal" >&5
19280 $as_echo_n "checking GCC flag(s) -Wfloat-equal... " >&6; }
19281 if test "${GCC-no}" = yes
19283 if ${charybdis_cv_c_gcc_w_float_equal+:} false
; then :
19284 $as_echo_n "(cached) " >&6
19287 oldcflags
="${CFLAGS-}"
19288 CFLAGS
="${CFLAGS-} ${CWARNS} -Wfloat-equal -Werror"
19289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19292 #include <string.h>
19300 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
19306 if ac_fn_c_try_compile
"$LINENO"; then :
19307 charybdis_cv_c_gcc_w_float_equal
=yes
19309 charybdis_cv_c_gcc_w_float_equal
=no
19311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19312 CFLAGS
="${oldcflags}"
19315 if test "x$charybdis_cv_c_gcc_w_float_equal" = xyes
; then
19316 CWARNS
="${CWARNS}-Wfloat-equal "
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19318 $as_echo "ok" >&6; }
19320 charybdis_cv_c_gcc_w_float_equal
=''
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19322 $as_echo "no" >&6; }
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19326 $as_echo "no" >&6; }
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wformat -Wformat-y2k -Wno-format-security" >&5
19331 $as_echo_n "checking GCC flag(s) -Wformat -Wformat-y2k -Wno-format-security... " >&6; }
19332 if test "${GCC-no}" = yes
19334 if ${charybdis_cv_c_gcc_w_format+:} false
; then :
19335 $as_echo_n "(cached) " >&6
19338 oldcflags
="${CFLAGS-}"
19339 CFLAGS
="${CFLAGS-} ${CWARNS} -Wformat -Wformat-y2k -Wno-format-security -Werror"
19340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19341 /* end confdefs.h. */
19343 #include <string.h>
19351 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
19357 if ac_fn_c_try_compile
"$LINENO"; then :
19358 charybdis_cv_c_gcc_w_format
=yes
19360 charybdis_cv_c_gcc_w_format
=no
19362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19363 CFLAGS
="${oldcflags}"
19366 if test "x$charybdis_cv_c_gcc_w_format" = xyes
; then
19367 CWARNS
="${CWARNS}-Wformat -Wformat-y2k -Wno-format-security "
19368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19369 $as_echo "ok" >&6; }
19371 charybdis_cv_c_gcc_w_format
=''
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19373 $as_echo "no" >&6; }
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19377 $as_echo "no" >&6; }
19381 IRC_CFLAGS
="$CFLAGS"
19386 if test "$shared_modules" = no
; then
19388 MOD_TARGET
="libmodules.a"
19389 MODULES_LIBS
="../modules/libmodules.a"
19392 $as_echo "#define STATIC_MODULES 1" >>confdefs.h
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shared module support has been disabled!" >&5
19395 $as_echo "$as_me: WARNING: shared module support has been disabled!" >&2;}
19398 if test "$shared_modules" = yes; then
19400 ac_fn_c_check_func
"$LINENO" "nlist" "ac_cv_func_nlist"
19401 if test "x$ac_cv_func_nlist" = xyes
; then :
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nlist in -ldl" >&5
19405 $as_echo_n "checking for nlist in -ldl... " >&6; }
19406 if ${ac_cv_lib_dl_nlist+:} false
; then :
19407 $as_echo_n "(cached) " >&6
19409 ac_check_lib_save_LIBS
=$LIBS
19411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19414 /* Override any GCC internal prototype to avoid an error.
19415 Use char because int might match the return type of a GCC
19416 builtin and then its argument prototype would still apply. */
19429 if ac_fn_c_try_link
"$LINENO"; then :
19430 ac_cv_lib_dl_nlist
=yes
19432 ac_cv_lib_dl_nlist
=no
19434 rm -f core conftest.err conftest.
$ac_objext \
19435 conftest
$ac_exeext conftest.
$ac_ext
19436 LIBS
=$ac_check_lib_save_LIBS
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_nlist" >&5
19439 $as_echo "$ac_cv_lib_dl_nlist" >&6; }
19440 if test "x$ac_cv_lib_dl_nlist" = xyes
; then :
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nlist in -lelf" >&5
19444 $as_echo_n "checking for nlist in -lelf... " >&6; }
19445 if ${ac_cv_lib_elf_nlist+:} false
; then :
19446 $as_echo_n "(cached) " >&6
19448 ac_check_lib_save_LIBS
=$LIBS
19450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19453 /* Override any GCC internal prototype to avoid an error.
19454 Use char because int might match the return type of a GCC
19455 builtin and then its argument prototype would still apply. */
19468 if ac_fn_c_try_link
"$LINENO"; then :
19469 ac_cv_lib_elf_nlist
=yes
19471 ac_cv_lib_elf_nlist
=no
19473 rm -f core conftest.err conftest.
$ac_objext \
19474 conftest
$ac_exeext conftest.
$ac_ext
19475 LIBS
=$ac_check_lib_save_LIBS
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_nlist" >&5
19478 $as_echo "$ac_cv_lib_elf_nlist" >&6; }
19479 if test "x$ac_cv_lib_elf_nlist" = xyes
; then :
19490 ac_fn_c_check_header_mongrel
"$LINENO" "libelf/nlist.h" "ac_cv_header_libelf_nlist_h" "$ac_includes_default"
19491 if test "x$ac_cv_header_libelf_nlist_h" = xyes
; then :
19492 nlist_h
="libelf/nlist.h"
19496 ac_fn_c_check_header_mongrel
"$LINENO" "elf/nlist.h" "ac_cv_header_elf_nlist_h" "$ac_includes_default"
19497 if test "x$ac_cv_header_elf_nlist_h" = xyes
; then :
19498 nlist_h
="elf/nlist.h"
19502 ac_fn_c_check_header_mongrel
"$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
19503 if test "x$ac_cv_header_nlist_h" = xyes
; then :
19508 if test x
"$nlist_h" = "x"; then
19510 cat >>confdefs.h
<<_ACEOF
19511 #define SYMBOL_PREFIX ""
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra underscores prepended to symbol names" >&5
19516 $as_echo_n "checking for extra underscores prepended to symbol names... " >&6; }
19517 if ${symbol_underscores+:} false
; then :
19518 $as_echo_n "(cached) " >&6
19521 cat << EOF > conftest.c
19522 #include <$nlist_h>
19524 #include <stdlib.h>
19525 void _modinit(void);
19526 int main(int argc, char *argv[]) {
19528 struct nlist nl[5];
19530 /* fill the names in this way, so it'll work almost everywhere */
19531 nl[0].n_name = "_modinit";
19532 nl[1].n_name = "__modinit";
19533 nl[2].n_name = "___modinit";
19534 nl[3].n_name = "____modinit";
19535 nl[0].n_value = nl[1].n_value = nl[2].n_value = nl[3].n_value = nl[4].n_name = NULL;
19537 if(argc < 2 || (nlist(argv[1], nl)) == -1) exit(-1);
19538 for(i = 0; i < 4; i++) {
19539 if(nl[i].n_value != NULL)
19542 for(j = 0; j < i; j++)
19549 void _modinit(void) { return; }
19551 $CC $CPPFLAGS $IRC_CFLAGS -o conftest conftest.c
$nlist_lib >/dev
/null
2>&1
19552 symbol_underscores
=`./conftest conftest`
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $symbol_underscores" >&5
19554 $as_echo "$symbol_underscores" >&6; }
19555 $RM -f conftest conftest.c
19560 cat >>confdefs.h
<<_ACEOF
19561 #define SYMBOL_PREFIX "${symbol_underscores}"
19567 IRC_CFLAGS
="$IRC_CFLAGS $CWARNS"
19582 if test "$prefix" = "NONE"; then
19584 cat >>confdefs.h
<<_ACEOF
19585 #define IRCD_PREFIX "$ac_default_prefix"
19592 prefix
=`echo $prefix | sed 's/\/$//'`
19594 cat >>confdefs.h
<<_ACEOF
19595 #define IRCD_PREFIX "$prefix"
19601 ac_config_files
="$ac_config_files Makefile bandb/Makefile ssld/Makefile extensions/Makefile src/Makefile modules/Makefile tools/Makefile tools/genssl doc/Makefile help/Makefile"
19603 ac_config_commands
="$ac_config_commands tools/genssl_chmod"
19606 cat >confcache
<<\_ACEOF
19607 # This file is a shell script that caches the results of configure
19608 # tests run on this system so they can be shared between configure
19609 # scripts and configure runs, see configure's option --config-cache.
19610 # It is not useful on other systems. If it contains results you don't
19611 # want to keep, you may remove or edit it.
19613 # config.status only pays attention to the cache file if you give it
19614 # the --recheck option to rerun configure.
19616 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19617 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19618 # following values.
19622 # The following way of writing the cache mishandles newlines in values,
19623 # but we know of no workaround that is simple, portable, and efficient.
19624 # So, we kill variables containing newlines.
19625 # Ultrix sh set writes to stderr and can't be redirected directly,
19626 # and sets the high bit in the cache file unless we assign to the vars.
19628 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19629 eval ac_val
=\$
$ac_var
19633 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19634 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19637 _
| IFS
| as_nl
) ;; #(
19638 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
19639 *) { eval $ac_var=; unset $ac_var;} ;;
19645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19646 *${as_nl}ac_space
=\
*)
19647 # `set' does not quote correctly, so add quotes: double-quote
19648 # substitution turns \\\\ into \\, and sed turns \\ into \.
19651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19654 # `set' quotes correctly as required by POSIX, so do not add quotes.
19655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19668 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19669 if test -w "$cache_file"; then
19670 if test "x$cache_file" != "x/dev/null"; then
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19672 $as_echo "$as_me: updating cache $cache_file" >&6;}
19673 if test ! -f "$cache_file" || test -h "$cache_file"; then
19674 cat confcache
>"$cache_file"
19676 case $cache_file in #(
19678 mv -f confcache
"$cache_file"$$
&&
19679 mv -f "$cache_file"$$
"$cache_file" ;; #(
19681 mv -f confcache
"$cache_file" ;;
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19687 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19692 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19693 # Let make expand exec_prefix.
19694 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19696 DEFS
=-DHAVE_CONFIG_H
19701 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19702 # 1. Remove the extension, and $U if already installed.
19703 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19704 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19705 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19706 # will be set to the directory where LIBOBJS objects are built.
19707 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19708 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19710 LIBOBJS
=$ac_libobjs
19712 LTLIBOBJS
=$ac_ltlibobjs
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19716 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19717 if test -n "$am_sleep_pid"; then
19718 # Hide warnings about reused PIDs.
19719 wait $am_sleep_pid 2>/dev
/null
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19722 $as_echo "done" >&6; }
19723 if test -n "$EXEEXT"; then
19725 am__EXEEXT_FALSE
='#'
19727 am__EXEEXT_TRUE
='#'
19731 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19732 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19735 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19736 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19739 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
19740 as_fn_error $?
"conditional \"INSTALL_LTDL\" was never defined.
19741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19743 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
19744 as_fn_error $?
"conditional \"CONVENIENCE_LTDL\" was never defined.
19745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19747 LT_CONFIG_H
=include
/setup.h
19751 if test -n "$_LT_LIBOBJS"; then
19752 # Remove the extension.
19753 _lt_sed_drop_objext
='s/\.o$//;s/\.obj$//'
19754 for i
in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
19755 _ltdl_libobjs
="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
19756 _ltdl_ltlibobjs
="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
19759 ltdl_LIBOBJS
=$_ltdl_libobjs
19761 ltdl_LTLIBOBJS
=$_ltdl_ltlibobjs
19764 if test -z "${BUILD_LTDL_TRUE}" && test -z "${BUILD_LTDL_FALSE}"; then
19765 as_fn_error $?
"conditional \"BUILD_LTDL\" was never defined.
19766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19768 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19769 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19775 : "${CONFIG_STATUS=./config.status}"
19777 ac_clean_files_save
=$ac_clean_files
19778 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19780 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19782 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19784 # Generated by $as_me.
19785 # Run this file to recreate the current configuration.
19786 # Compiler output produced by configure, useful for debugging
19787 # configure, is in config.log if it exists.
19790 ac_cs_recheck=false
19793 SHELL=\${CONFIG_SHELL-$SHELL}
19796 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
19797 ## -------------------- ##
19798 ## M4sh Initialization. ##
19799 ## -------------------- ##
19801 # Be more Bourne compatible
19802 DUALCASE
=1; export DUALCASE
# for MKS sh
19803 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19806 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19807 # is contrary to our usage. Disable this feature.
19808 alias -g '${1+"$@"}'='"$@"'
19809 setopt NO_GLOB_SUBST
19811 case `(set -o) 2>/dev/null` in #(
19823 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19824 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19825 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19826 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19827 # Prefer a ksh shell builtin over an external printf program on Solaris,
19828 # but without wasting forks for bash or zsh.
19829 if test -z "$BASH_VERSION$ZSH_VERSION" \
19830 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19831 as_echo='print
-r --'
19832 as_echo_n='print
-rn --'
19833 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19834 as_echo='printf %s
\n'
19835 as_echo_n='printf %s
'
19837 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19838 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19839 as_echo_n='/usr
/ucb
/echo -n'
19841 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19842 as_echo_n_body='eval
19846 expr "X$arg" : "X\\(.*\\)$as_nl";
19847 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19849 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19851 export as_echo_n_body
19852 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19854 export as_echo_body
19855 as_echo='sh
-c $as_echo_body as_echo
'
19858 # The user is always right.
19859 if test "${PATH_SEPARATOR+set}" != set; then
19861 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19862 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19869 # We need space, tab and new line, in precisely that order. Quoting is
19870 # there to prevent editors from complaining about space-tab.
19871 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19872 # splitting by setting IFS to empty value.)
19875 # Find who we are. Look in the path if we contain no directory separator.
19878 *[\\/]* ) as_myself=$0 ;;
19879 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19880 for as_dir in $PATH
19883 test -z "$as_dir" && as_dir=.
19884 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19890 # We did not find ourselves, most probably we were run as `sh COMMAND'
19891 # in which case we are not to be found in the path.
19892 if test "x$as_myself" = x
; then
19895 if test ! -f "$as_myself"; then
19896 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19900 # Unset variables that we do not need and which cause bugs (e.g. in
19901 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19902 # suppresses any "Segmentation fault" message there. '((' could
19903 # trigger a bug in pdksh 5.2.14.
19904 for as_var
in BASH_ENV ENV MAIL MAILPATH
19905 do eval test x\
${$as_var+set} = xset \
19906 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
19919 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19922 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19923 # ----------------------------------------
19924 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19925 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19926 # script with STATUS, using 1 if that was 0.
19929 as_status
=$1; test $as_status -eq 0 && as_status
=1
19931 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19932 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19934 $as_echo "$as_me: error: $2" >&2
19935 as_fn_exit
$as_status
19939 # as_fn_set_status STATUS
19940 # -----------------------
19941 # Set $? to STATUS, without forking.
19942 as_fn_set_status
()
19945 } # as_fn_set_status
19947 # as_fn_exit STATUS
19948 # -----------------
19949 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19953 as_fn_set_status
$1
19959 # Portably unset VAR.
19962 { eval $1=; unset $1;}
19964 as_unset
=as_fn_unset
19965 # as_fn_append VAR VALUE
19966 # ----------------------
19967 # Append the text in VALUE to the end of the definition contained in VAR. Take
19968 # advantage of any shell optimizations that allow amortized linear growth over
19969 # repeated appends, instead of the typical quadratic growth present in naive
19971 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19972 eval 'as_fn_append ()
19983 # as_fn_arith ARG...
19984 # ------------------
19985 # Perform arithmetic evaluation on the ARGs, and store the result in the
19986 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19987 # must be portable across $(()) and expr.
19988 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19989 eval 'as_fn_arith ()
19996 as_val
=`expr "$@" || test $? -eq 1`
20001 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20002 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20008 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20009 as_basename
=basename
20014 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20020 as_me
=`$as_basename -- "$0" ||
20021 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20022 X"$0" : 'X\(//\)$' \| \
20023 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20025 sed '/^.*\/\([^/][^/]*\)\/*$/{
20039 # Avoid depending upon Character Ranges.
20040 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20041 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20042 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20043 as_cr_digits
='0123456789'
20044 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20046 ECHO_C
= ECHO_N
= ECHO_T
=
20047 case `echo -n x` in #(((((
20049 case `echo 'xy\c'` in
20050 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20052 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20059 rm -f conf$$ conf$$.exe conf$$.
file
20060 if test -d conf$$.dir
; then
20061 rm -f conf$$.dir
/conf$$.
file
20064 mkdir conf$$.dir
2>/dev
/null
20066 if (echo >conf$$.
file) 2>/dev
/null
; then
20067 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20069 # ... but there are two gotchas:
20070 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20071 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20072 # In both cases, we have to default to `cp -pR'.
20073 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20075 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20083 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20084 rmdir conf$$.dir
2>/dev
/null
20089 # Create "$as_dir" as a directory, including parents if necessary.
20094 -*) as_dir
=.
/$as_dir;;
20096 test -d "$as_dir" || eval $as_mkdir_p || {
20100 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20101 *) as_qdir
=$as_dir;;
20103 as_dirs
="'$as_qdir' $as_dirs"
20104 as_dir
=`$as_dirname -- "$as_dir" ||
20105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20106 X"$as_dir" : 'X\(//\)[^/]' \| \
20107 X"$as_dir" : 'X\(//\)$' \| \
20108 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20109 $as_echo X"$as_dir" |
20110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20114 /^X\(\/\/\)[^/].*/{
20127 test -d "$as_dir" && break
20129 test -z "$as_dirs" || eval "mkdir $as_dirs"
20130 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20134 if mkdir -p .
2>/dev
/null
; then
20135 as_mkdir_p
='mkdir -p "$as_dir"'
20137 test -d .
/-p && rmdir .
/-p
20142 # as_fn_executable_p FILE
20143 # -----------------------
20144 # Test if FILE is an executable regular file.
20145 as_fn_executable_p
()
20147 test -f "$1" && test -x "$1"
20148 } # as_fn_executable_p
20149 as_test_x
='test -x'
20150 as_executable_p
=as_fn_executable_p
20152 # Sed expression to map a string onto a valid CPP name.
20153 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20155 # Sed expression to map a string onto a valid variable name.
20156 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20160 ## ----------------------------------- ##
20161 ## Main body of $CONFIG_STATUS script. ##
20162 ## ----------------------------------- ##
20164 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20166 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20167 # Save the log message, to keep $0 and so on meaningful, and to
20168 # report actual input values of CONFIG_FILES etc. instead of their
20169 # values after options handling.
20171 This file was extended by charybdis $as_me 3.6.0-dev, which was
20172 generated by GNU Autoconf 2.69. Invocation command line was
20174 CONFIG_FILES = $CONFIG_FILES
20175 CONFIG_HEADERS = $CONFIG_HEADERS
20176 CONFIG_LINKS = $CONFIG_LINKS
20177 CONFIG_COMMANDS = $CONFIG_COMMANDS
20180 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20185 case $ac_config_files in *"
20186 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20189 case $ac_config_headers in *"
20190 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20195 # Files that config.status was made for.
20196 config_files="$ac_config_files"
20197 config_headers="$ac_config_headers"
20198 config_commands="$ac_config_commands"
20202 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20204 \`$as_me' instantiates files and other configuration actions
20205 from templates according to the current configuration. Unless the files
20206 and actions are specified as TAGs, all are instantiated by default.
20208 Usage: $0 [OPTION]... [TAG]...
20210 -h, --help print this help, then exit
20211 -V, --version print version number and configuration settings, then exit
20212 --config print configuration, then exit
20213 -q, --quiet, --silent
20214 do not print progress messages
20215 -d, --debug don't remove temporary files
20216 --recheck update $as_me by reconfiguring in the same conditions
20217 --file=FILE[:TEMPLATE]
20218 instantiate the configuration file FILE
20219 --header=FILE[:TEMPLATE]
20220 instantiate the configuration header FILE
20222 Configuration files:
20225 Configuration headers:
20228 Configuration commands:
20231 Report bugs to the package provider."
20234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20235 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20237 charybdis config.status 3.6.0-dev
20238 configured by $0, generated by GNU Autoconf 2.69,
20239 with options \\"\$ac_cs_config\\"
20241 Copyright (C) 2012 Free Software Foundation, Inc.
20242 This config.status script is free software; the Free Software Foundation
20243 gives unlimited permission to copy, distribute and modify it."
20250 test -n "\$AWK" || AWK=awk
20253 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20254 # The default lists apply if the user does not specify any file.
20260 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20261 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20265 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20277 # Handling of the options.
20278 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20280 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20281 $as_echo "$ac_cs_version"; exit ;;
20282 --config | --confi | --conf | --con | --co | --c )
20283 $as_echo "$ac_cs_config"; exit ;;
20284 --debug | --debu | --deb | --de | --d | -d )
20286 --file | --fil | --fi | --f )
20289 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20290 '') as_fn_error $?
"missing file argument" ;;
20292 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20293 ac_need_defaults
=false
;;
20294 --header | --heade | --head | --hea )
20297 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20299 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20300 ac_need_defaults
=false
;;
20302 # Conflict between --help and --header
20303 as_fn_error $?
"ambiguous option: \`$1'
20304 Try \`$0 --help' for more information.";;
20305 --help | --hel | -h )
20306 $as_echo "$ac_cs_usage"; exit ;;
20307 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20308 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20311 # This is an error.
20312 -*) as_fn_error $?
"unrecognized option: \`$1'
20313 Try \`$0 --help' for more information." ;;
20315 *) as_fn_append ac_config_targets
" $1"
20316 ac_need_defaults
=false
;;
20322 ac_configure_extra_args
=
20324 if $ac_cs_silent; then
20326 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20331 if \$ac_cs_recheck; then
20332 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20334 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20335 CONFIG_SHELL='$SHELL'
20336 export CONFIG_SHELL
20341 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20345 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20346 ## Running $as_me. ##
20352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20356 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20359 # The HP-UX ksh and POSIX shell print the target directory to stdout
20360 # if CDPATH is set.
20361 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20363 sed_quote_subst='$sed_quote_subst'
20364 double_quote_subst='$double_quote_subst'
20365 delay_variable_subst='$delay_variable_subst'
20366 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20367 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20368 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20369 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20370 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20371 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20372 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20373 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20374 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20375 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20376 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20377 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20378 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20379 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20380 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20381 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20382 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20383 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20384 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20385 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20386 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20387 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20388 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20389 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20390 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20391 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20392 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20393 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20394 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20395 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20396 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20397 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20398 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20399 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20400 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20401 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20402 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20403 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20404 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20405 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20406 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20407 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20408 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20409 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20410 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20411 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20412 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20413 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20414 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20415 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20416 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20417 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20418 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20419 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20420 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20421 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20422 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"`'
20423 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20424 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20425 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20426 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20427 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20428 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20429 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20430 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20431 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20432 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20433 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20434 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20435 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20436 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20437 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20438 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20439 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20440 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20441 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20442 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20443 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20444 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20445 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20446 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20447 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20448 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20449 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20450 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20451 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20452 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20453 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20454 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20455 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20456 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20457 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20458 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20459 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20460 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20461 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20462 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20463 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20464 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20465 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20466 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20467 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20468 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20469 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20470 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20471 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20472 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20473 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20474 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20475 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20476 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20477 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20478 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20479 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20480 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20481 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20482 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20483 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20484 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20485 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20486 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20487 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20488 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20489 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20490 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20491 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20492 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20493 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20494 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20495 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20498 LTCFLAGS='$LTCFLAGS'
20499 compiler='$compiler_DEFAULT'
20501 # A function that is used when there is no print builtin or printf.
20502 func_fallback_echo ()
20504 eval 'cat <<_LTECHO_EOF
20509 # Quote evaled strings.
20524 deplibs_check_method \
20529 sharedlib_from_linklib_cmd \
20532 archiver_list_spec \
20538 lt_cv_sys_global_symbol_pipe \
20539 lt_cv_sys_global_symbol_to_cdecl \
20540 lt_cv_sys_global_symbol_to_c_name_address \
20541 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20542 nm_file_list_spec \
20543 lt_prog_compiler_no_builtin_flag \
20544 lt_prog_compiler_pic \
20545 lt_prog_compiler_wl \
20546 lt_prog_compiler_static \
20547 lt_cv_prog_compiler_c_o \
20556 export_dynamic_flag_spec \
20557 whole_archive_flag_spec \
20558 compiler_needs_object \
20560 allow_undefined_flag \
20561 no_undefined_flag \
20562 hardcode_libdir_flag_spec \
20563 hardcode_libdir_separator \
20567 variables_saved_for_relink \
20569 library_names_spec \
20571 install_override_mode \
20575 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20576 *[\\\\\\\`\\"\\\$]*)
20577 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20580 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20585 # Double-quote double-evaled strings.
20586 for var in reload_cmds \
20587 old_postinstall_cmds \
20588 old_postuninstall_cmds \
20590 extract_expsyms_cmds \
20591 old_archive_from_new_cmds \
20592 old_archive_from_expsyms_cmds \
20594 archive_expsym_cmds \
20596 module_expsym_cmds \
20597 export_symbols_cmds \
20601 postuninstall_cmds \
20603 sys_lib_search_path_spec \
20604 sys_lib_dlsearch_path_spec; do
20605 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20606 *[\\\\\\\`\\"\\\$]*)
20607 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20610 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20615 ac_aux_dir='$ac_aux_dir'
20616 xsi_shell='$xsi_shell'
20617 lt_shell_append='$lt_shell_append'
20619 # See if we are running on zsh, and set the options which allow our
20620 # commands through without removal of \ escapes INIT.
20621 if test -n "\${ZSH_VERSION+set}" ; then
20622 setopt NO_GLOB_SUBST
20628 TIMESTAMP='$TIMESTAMP'
20637 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20639 # Handling of arguments.
20640 for ac_config_target
in $ac_config_targets
20642 case $ac_config_target in
20643 "include/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/setup.h" ;;
20644 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20645 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20646 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20647 "bandb/Makefile") CONFIG_FILES
="$CONFIG_FILES bandb/Makefile" ;;
20648 "ssld/Makefile") CONFIG_FILES
="$CONFIG_FILES ssld/Makefile" ;;
20649 "extensions/Makefile") CONFIG_FILES
="$CONFIG_FILES extensions/Makefile" ;;
20650 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20651 "modules/Makefile") CONFIG_FILES
="$CONFIG_FILES modules/Makefile" ;;
20652 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20653 "tools/genssl") CONFIG_FILES
="$CONFIG_FILES tools/genssl" ;;
20654 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20655 "help/Makefile") CONFIG_FILES
="$CONFIG_FILES help/Makefile" ;;
20656 "tools/genssl_chmod") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/genssl_chmod" ;;
20658 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20663 # If the user did not use the arguments to specify the items to instantiate,
20664 # then the envvar interface is used. Set only those that are not.
20665 # We use the long form for the default assignment because of an extremely
20666 # bizarre bug on SunOS 4.1.3.
20667 if $ac_need_defaults; then
20668 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20669 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20670 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20673 # Have a temporary directory for convenience. Make it in the build tree
20674 # simply because there is no reason against having it here, and in addition,
20675 # creating and moving files from /tmp can sometimes cause problems.
20676 # Hook for its removal unless debugging.
20677 # Note that there is a small window in which the directory will not be cleaned:
20678 # after its creation but before its name has been assigned to `$tmp'.
20682 trap 'exit_status=$?
20683 : "${ac_tmp:=$tmp}"
20684 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20686 trap 'as_fn_exit 1' 1 2 13 15
20688 # Create a (secure) tmp directory for tmp files.
20691 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20695 tmp
=.
/conf$$
-$RANDOM
20696 (umask 077 && mkdir "$tmp")
20697 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20700 # Set up the scripts for CONFIG_FILES section.
20701 # No need to generate them if there are no CONFIG_FILES.
20702 # This happens for instance with `./config.status config.h'.
20703 if test -n "$CONFIG_FILES"; then
20706 ac_cr
=`echo X | tr X '\015'`
20707 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20708 # But we know of no other shell where ac_cr would be empty at this
20709 # point, so we can use a bashism as a fallback.
20710 if test "x$ac_cr" = x
; then
20711 eval ac_cr
=\$
\'\\r
\'
20713 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20714 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20717 ac_cs_awk_cr
=$ac_cr
20720 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20725 echo "cat >conf$$subs.awk <<_ACEOF" &&
20726 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20728 } >conf$$subs.sh ||
20729 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20730 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20732 for ac_last_try in false false false false false :; do
20733 . ./conf$$subs.sh ||
20734 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20736 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20737 if test $ac_delim_n = $ac_delim_num; then
20739 elif $ac_last_try; then
20740 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20742 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20745 rm -f conf$$subs.sh
20747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20748 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20752 s/^/S["/; s
/!.
*/"]=/
20762 s/\(.\{148\}\)..*/\1/
20764 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20769 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20776 s/\(.\{148\}\)..*/\1/
20778 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20782 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20787 ' <conf$$subs.awk | sed '
20792 ' >>$CONFIG_STATUS || ac_write_fail=1
20793 rm -f conf$$subs.awk
20794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20796 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20797 for (key in S) S_is_set[key] = 1
20803 nfields = split(line, field, "@
")
20805 len = length(field[1])
20806 for (i = 2; i < nfields; i++) {
20808 keylen = length(key)
20809 if (S_is_set[key]) {
20811 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20812 len += length(value) + length(field[++i])
20823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20824 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20825 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20828 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20829 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20832 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20833 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20834 # trailing colons and then remove the whole line if VPATH becomes empty
20835 # (actually we leave an empty line to preserve line numbers).
20836 if test "x
$srcdir" = x.; then
20837 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20856 fi # test -n "$CONFIG_FILES"
20858 # Set up the scripts for CONFIG_HEADERS section.
20859 # No need to generate them if there are no CONFIG_HEADERS.
20860 # This happens for instance with `./config.status Makefile'.
20861 if test -n "$CONFIG_HEADERS"; then
20862 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20866 # Transform confdefs.h into an awk script `defines.awk', embedded as
20867 # here-document in config.status, that substitutes the proper values into
20868 # config.h.in to produce config.h.
20870 # Create a delimiter string that does not exist in confdefs.h, to ease
20871 # handling of long lines.
20873 for ac_last_try in false false :; do
20874 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20875 if test -z "$ac_tt"; then
20877 elif $ac_last_try; then
20878 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20880 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20884 # For the awk script, D is an array of macro values keyed by name,
20885 # likewise P contains macro parameters if any. Preserve backslash
20886 # newline sequences.
20888 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20890 s/.\{148\}/&'"$ac_delim"'/g
20893 s/^[ ]*#[ ]*define[ ][ ]*/ /
20900 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20902 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20906 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20907 D["\
1"]=" \
3\\\\\\n
"\\/p
20909 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20914 s/.\{148\}/&'"$ac_delim"'/g
20919 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20922 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20924 ' <confdefs.h | sed '
20925 s/'"$ac_delim"'/"\\\
20926 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20929 for (key in D) D_is_set[key] = 1
20932 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20934 split(line, arg, " ")
20935 if (arg[1] == "#") {
20939 defundef
= substr
(arg
[1], 2)
20942 split(mac1
, mac2
, "(") #)
20944 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20945 if (D_is_set
[macro
]) {
20946 # Preserve the white space surrounding the "#".
20947 print prefix
"define", macro P
[macro
] D
[macro
]
20950 # Replace #undef with comments. This is necessary, for example,
20951 # in the case of _POSIX_SOURCE, which is predefined and required
20952 # on some systems where configure will not decide to define it.
20953 if (defundef
== "undef") {
20954 print
"/*", prefix defundef
, macro
, "*/"
20962 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20963 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20964 fi # test -n "$CONFIG_HEADERS"
20967 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20972 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20974 case $ac_mode$ac_tag in
20976 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20977 :[FH
]-) ac_tag
=-:-;;
20978 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20995 -) ac_f
="$ac_tmp/stdin";;
20996 *) # Look for the file first in the build tree, then in the source tree
20997 # (if the path is not absolute). The absolute path cannot be DOS-style,
20998 # because $ac_f cannot contain `:'.
21002 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21004 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21006 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21007 as_fn_append ac_file_inputs
" '$ac_f'"
21010 # Let's still pretend it is `configure' which instantiates (i.e., don't
21011 # use $as_me), people would be surprised to read:
21012 # /* config.h. Generated by config.status. */
21013 configure_input
='Generated from '`
21014 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21016 if test x
"$ac_file" != x
-; then
21017 configure_input
="$ac_file. $configure_input"
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21019 $as_echo "$as_me: creating $ac_file" >&6;}
21021 # Neutralize special characters interpreted by sed in replacement strings.
21022 case $configure_input in #(
21023 *\
&* | *\
|* | *\\* )
21024 ac_sed_conf_input
=`$as_echo "$configure_input" |
21025 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21026 *) ac_sed_conf_input
=$configure_input;;
21030 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21031 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21036 ac_dir
=`$as_dirname -- "$ac_file" ||
21037 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21038 X"$ac_file" : 'X\(//\)[^/]' \| \
21039 X"$ac_file" : 'X\(//\)$' \| \
21040 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21041 $as_echo X"$ac_file" |
21042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21046 /^X\(\/\/\)[^/].*/{
21059 as_dir
="$ac_dir"; as_fn_mkdir_p
21063 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21065 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21066 # A ".." for each directory in $ac_dir_suffix.
21067 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21068 case $ac_top_builddir_sub in
21069 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21070 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21073 ac_abs_top_builddir
=$ac_pwd
21074 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21075 # for backward compatibility:
21076 ac_top_builddir
=$ac_top_build_prefix
21079 .
) # We are building in place.
21081 ac_top_srcdir
=$ac_top_builddir_sub
21082 ac_abs_top_srcdir
=$ac_pwd ;;
21083 [\\/]* | ?
:[\\/]* ) # Absolute name.
21084 ac_srcdir
=$srcdir$ac_dir_suffix;
21085 ac_top_srcdir
=$srcdir
21086 ac_abs_top_srcdir
=$srcdir ;;
21087 *) # Relative name.
21088 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21089 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21090 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21092 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21102 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21103 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21105 ac_MKDIR_P
=$MKDIR_P
21107 [\\/$
]* | ?
:[\\/]* ) ;;
21108 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21112 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21113 # If the template does not know about datarootdir, expand it.
21114 # FIXME: This hack should be removed a few years after 2.60.
21115 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21126 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21127 *datarootdir
*) ac_datarootdir_seen
=yes;;
21128 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
21129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21130 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21133 ac_datarootdir_hack='
21134 s&@datadir@&$datadir&g
21135 s&@docdir@&$docdir&g
21136 s&@infodir@&$infodir&g
21137 s&@localedir@&$localedir&g
21138 s&@mandir@&$mandir&g
21139 s&\\\${datarootdir}&$datarootdir&g' ;;
21143 # Neutralize VPATH when `$srcdir' = `.'.
21144 # Shell code in configure.ac might set extrasub.
21145 # FIXME: do we really want to maintain this feature?
21146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21147 ac_sed_extra="$ac_vpsub
21150 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21152 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21153 s
|@configure_input@
|$ac_sed_conf_input|;t t
21154 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21155 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21156 s
&@srcdir@
&$ac_srcdir&;t t
21157 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21158 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21159 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21160 s
&@builddir@
&$ac_builddir&;t t
21161 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21162 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21163 s
&@INSTALL@
&$ac_INSTALL&;t t
21164 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21165 $ac_datarootdir_hack
21167 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21168 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21170 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21171 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21172 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21173 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21175 which seems to be undefined. Please make sure it is defined" >&5
21176 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21177 which seems to be undefined. Please make sure it is defined" >&2;}
21179 rm -f "$ac_tmp/stdin"
21181 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21182 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21184 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21190 if test x"$ac_file" != x-; then
21192 $as_echo "/* $configure_input */" \
21193 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21194 } >"$ac_tmp/config.h" \
21195 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21196 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21198 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21201 mv "$ac_tmp/config.h" "$ac_file" \
21202 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21205 $as_echo "/* $configure_input */" \
21206 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21207 || as_fn_error $? "could not create -" "$LINENO" 5
21209 # Compute "$ac_file"'s index
in $config_headers.
21212 for _am_header
in $config_headers :; do
21213 case $_am_header in
21214 $_am_arg | $_am_arg:* )
21217 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21220 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21221 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21222 X"$_am_arg" : 'X\(//\)[^/]' \| \
21223 X"$_am_arg" : 'X\(//\)$' \| \
21224 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21225 $as_echo X"$_am_arg" |
21226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21230 /^X\(\/\/\)[^/].*/{
21242 s/.*/./; q'`/stamp
-h$_am_stamp_count
21245 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21246 $as_echo "$as_me: executing $ac_file commands" >&6;}
21251 case $ac_file$ac_mode in
21252 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
21253 # Older Autoconf quotes --file arguments for eval, but not when files
21254 # are listed without --file. Let's play safe and only enable the eval
21255 # if we detect the quoting.
21256 case $CONFIG_FILES in
21257 *\'*) eval set x
"$CONFIG_FILES" ;;
21258 *) set x
$CONFIG_FILES ;;
21263 # Strip MF so we end up with the name of the file.
21264 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21265 # Check whether this is an Automake generated Makefile or not.
21266 # We used to match only the files named 'Makefile.in', but
21267 # some people rename them; so instead we look at the file content.
21268 # Grep'ing the first line is not enough: some people post-process
21269 # each Makefile.in and add a new line on top of each file to say so.
21270 # Grep'ing the whole file is not good either: AIX grep has a line
21271 # limit of 2048, but all sed's we know have understand at least 4000.
21272 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
21273 dirpart
=`$as_dirname -- "$mf" ||
21274 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21275 X"$mf" : 'X\(//\)[^/]' \| \
21276 X"$mf" : 'X\(//\)$' \| \
21277 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21283 /^X\(\/\/\)[^/].*/{
21299 # Extract the definition of DEPDIR, am__include, and am__quote
21300 # from the Makefile without running 'make'.
21301 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21302 test -z "$DEPDIR" && continue
21303 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21304 test -z "$am__include" && continue
21305 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21306 # Find all dependency output files, they are included files with
21307 # $(DEPDIR) in their names. We invoke sed twice because it is the
21308 # simplest approach to changing $(DEPDIR) to its actual value in the
21310 for file in `sed -n "
21311 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21312 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21313 # Make sure the directory exists.
21314 test -f "$dirpart/$file" && continue
21315 fdir
=`$as_dirname -- "$file" ||
21316 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21317 X"$file" : 'X\(//\)[^/]' \| \
21318 X"$file" : 'X\(//\)$' \| \
21319 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21320 $as_echo X"$file" |
21321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21325 /^X\(\/\/\)[^/].*/{
21338 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21339 # echo "creating $dirpart/$file"
21340 echo '# dummy' > "$dirpart/$file"
21347 # See if we are running on zsh, and set the options which allow our
21348 # commands through without removal of \ escapes.
21349 if test -n "${ZSH_VERSION+set}" ; then
21350 setopt NO_GLOB_SUBST
21353 cfgfile
="${ofile}T"
21354 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21357 cat <<_LT_EOF >> "$cfgfile"
21360 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21361 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21362 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21363 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21365 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21366 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21368 # Written by Gordon Matzigkeit, 1996
21370 # This file is part of GNU Libtool.
21372 # GNU Libtool is free software; you can redistribute it and/or
21373 # modify it under the terms of the GNU General Public License as
21374 # published by the Free Software Foundation; either version 2 of
21375 # the License, or (at your option) any later version.
21377 # As a special exception to the GNU General Public License,
21378 # if you distribute this file as part of a program or library that
21379 # is built using GNU Libtool, you may include this file under the
21380 # same distribution terms that you use for the rest of that program.
21382 # GNU Libtool is distributed in the hope that it will be useful,
21383 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21384 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21385 # GNU General Public License for more details.
21387 # You should have received a copy of the GNU General Public License
21388 # along with GNU Libtool; see the file COPYING. If not, a copy
21389 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21390 # obtained by writing to the Free Software Foundation, Inc.,
21391 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21394 # The names of the tagged configurations supported by this script.
21397 # ### BEGIN LIBTOOL CONFIG
21399 # Which release of libtool.m4 was used?
21400 macro_version=$macro_version
21401 macro_revision=$macro_revision
21403 # Whether or not to build static libraries.
21404 build_old_libs=$enable_static
21406 # Whether or not to build shared libraries.
21407 build_libtool_libs=$enable_shared
21409 # What type of objects to build.
21412 # Whether or not to optimize for fast installation.
21413 fast_install=$enable_fast_install
21415 # Shell to use when invoking shell scripts.
21418 # An echo program that protects backslashes.
21421 # The PATH separator for the build system.
21422 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21425 host_alias=$host_alias
21429 # The build system.
21430 build_alias=$build_alias
21434 # A sed program that does not truncate output.
21437 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21438 Xsed="\$SED -e 1s/^X//"
21440 # A grep program that handles long lines.
21446 # A literal string matcher.
21449 # A BSD- or MS-compatible name lister.
21452 # Whether we need soft or hard links.
21455 # What is the maximum length of a command?
21456 max_cmd_len=$max_cmd_len
21458 # Object file suffix (normally "o").
21461 # Executable file suffix (normally "").
21464 # whether the shell understands "unset".
21467 # turn spaces into newlines.
21470 # turn newlines into spaces.
21473 # convert \$build file names to \$host format.
21474 to_host_file_cmd=$lt_cv_to_host_file_cmd
21476 # convert \$build files to toolchain format.
21477 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21479 # An object symbol dumper.
21480 OBJDUMP=$lt_OBJDUMP
21482 # Method to check whether dependent libraries are shared objects.
21483 deplibs_check_method=$lt_deplibs_check_method
21485 # Command to use when deplibs_check_method = "file_magic".
21486 file_magic_cmd=$lt_file_magic_cmd
21488 # How to find potential files when deplibs_check_method = "file_magic".
21489 file_magic_glob=$lt_file_magic_glob
21491 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21492 want_nocaseglob=$lt_want_nocaseglob
21494 # DLL creation program.
21495 DLLTOOL=$lt_DLLTOOL
21497 # Command to associate shared and link libraries.
21498 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21503 # Flags to create an archive.
21504 AR_FLAGS=$lt_AR_FLAGS
21506 # How to feed a file listing to the archiver.
21507 archiver_list_spec=$lt_archiver_list_spec
21509 # A symbol stripping program.
21512 # Commands used to install an old-style archive.
21514 old_postinstall_cmds=$lt_old_postinstall_cmds
21515 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21517 # Whether to use a lock for old archive extraction.
21518 lock_old_archive_extraction=$lock_old_archive_extraction
21523 # LTCC compiler flags.
21524 LTCFLAGS=$lt_CFLAGS
21526 # Take the output of nm and produce a listing of raw symbols and C names.
21527 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21529 # Transform the output of nm in a proper C declaration.
21530 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21532 # Transform the output of nm in a C name address pair.
21533 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21535 # Transform the output of nm in a C name address pair when lib prefix is needed.
21536 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21538 # Specify filename containing input files for \$NM.
21539 nm_file_list_spec=$lt_nm_file_list_spec
21541 # The root where to search for dependent libraries,and in which our libraries should be installed.
21542 lt_sysroot=$lt_sysroot
21544 # The name of the directory that contains temporary libtool files.
21547 # Used to examine libraries when file_magic_cmd begins with "file".
21548 MAGIC_CMD=$MAGIC_CMD
21550 # Must we lock files when doing compilation?
21551 need_locks=$lt_need_locks
21554 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21556 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21557 DSYMUTIL=$lt_DSYMUTIL
21559 # Tool to change global to local symbols on Mac OS X.
21562 # Tool to manipulate fat objects and archives on Mac OS X.
21565 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21568 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21569 OTOOL64=$lt_OTOOL64
21571 # Old archive suffix (normally "a").
21574 # Shared library suffix (normally ".so").
21575 shrext_cmds=$lt_shrext_cmds
21577 # The commands to extract the exported symbol list from a shared archive.
21578 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21580 # Variables whose values should be saved in libtool wrapper scripts and
21581 # restored at link time.
21582 variables_saved_for_relink=$lt_variables_saved_for_relink
21584 # Do we need the "lib" prefix for modules?
21585 need_lib_prefix=$need_lib_prefix
21587 # Do we need a version for libraries?
21588 need_version=$need_version
21590 # Library versioning type.
21591 version_type=$version_type
21593 # Shared library runtime path variable.
21594 runpath_var=$runpath_var
21596 # Shared library path variable.
21597 shlibpath_var=$shlibpath_var
21599 # Is shlibpath searched before the hard-coded library search path?
21600 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21602 # Format of library name prefix.
21603 libname_spec=$lt_libname_spec
21605 # List of archive names. First name is the real one, the rest are links.
21606 # The last name is the one that the linker finds with -lNAME
21607 library_names_spec=$lt_library_names_spec
21609 # The coded name of the library, if different from the real name.
21610 soname_spec=$lt_soname_spec
21612 # Permission mode override for installation of shared libraries.
21613 install_override_mode=$lt_install_override_mode
21615 # Command to use after installation of a shared archive.
21616 postinstall_cmds=$lt_postinstall_cmds
21618 # Command to use after uninstallation of a shared archive.
21619 postuninstall_cmds=$lt_postuninstall_cmds
21621 # Commands used to finish a libtool library installation in a directory.
21622 finish_cmds=$lt_finish_cmds
21624 # As "finish_cmds", except a single script fragment to be evaled but
21626 finish_eval=$lt_finish_eval
21628 # Whether we should hardcode library paths into libraries.
21629 hardcode_into_libs=$hardcode_into_libs
21631 # Compile-time system search path for libraries.
21632 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21634 # Run-time system search path for libraries.
21635 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21637 # Whether dlopen is supported.
21638 dlopen_support=$enable_dlopen
21640 # Whether dlopen of programs is supported.
21641 dlopen_self=$enable_dlopen_self
21643 # Whether dlopen of statically linked programs is supported.
21644 dlopen_self_static=$enable_dlopen_self_static
21646 # Commands to strip libraries.
21647 old_striplib=$lt_old_striplib
21648 striplib=$lt_striplib
21651 # The linker used to build libraries.
21654 # How to create reloadable object files.
21655 reload_flag=$lt_reload_flag
21656 reload_cmds=$lt_reload_cmds
21658 # Commands used to build an old-style archive.
21659 old_archive_cmds=$lt_old_archive_cmds
21661 # A language specific compiler.
21664 # Is the compiler the GNU compiler?
21667 # Compiler flag to turn off builtin functions.
21668 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21670 # Additional compiler flags for building library objects.
21671 pic_flag=$lt_lt_prog_compiler_pic
21673 # How to pass a linker flag through the compiler.
21674 wl=$lt_lt_prog_compiler_wl
21676 # Compiler flag to prevent dynamic linking.
21677 link_static_flag=$lt_lt_prog_compiler_static
21679 # Does compiler simultaneously support -c and -o options?
21680 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21682 # Whether or not to add -lc for building shared libraries.
21683 build_libtool_need_lc=$archive_cmds_need_lc
21685 # Whether or not to disallow shared libs when runtime libs are static.
21686 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21688 # Compiler flag to allow reflexive dlopens.
21689 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21691 # Compiler flag to generate shared objects directly from archives.
21692 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21694 # Whether the compiler copes with passing no objects directly.
21695 compiler_needs_object=$lt_compiler_needs_object
21697 # Create an old-style archive from a shared archive.
21698 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21700 # Create a temporary old-style archive to link instead of a shared archive.
21701 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21703 # Commands used to build a shared archive.
21704 archive_cmds=$lt_archive_cmds
21705 archive_expsym_cmds=$lt_archive_expsym_cmds
21707 # Commands used to build a loadable module if different from building
21708 # a shared archive.
21709 module_cmds=$lt_module_cmds
21710 module_expsym_cmds=$lt_module_expsym_cmds
21712 # Whether we are building with GNU ld or not.
21713 with_gnu_ld=$lt_with_gnu_ld
21715 # Flag that allows shared libraries with undefined symbols to be built.
21716 allow_undefined_flag=$lt_allow_undefined_flag
21718 # Flag that enforces no undefined symbols.
21719 no_undefined_flag=$lt_no_undefined_flag
21721 # Flag to hardcode \$libdir into a binary during linking.
21722 # This must work even if \$libdir does not exist
21723 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21725 # Whether we need a single "-rpath" flag with a separated argument.
21726 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21728 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21729 # DIR into the resulting binary.
21730 hardcode_direct=$hardcode_direct
21732 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21733 # DIR into the resulting binary and the resulting library dependency is
21734 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21735 # library is relocated.
21736 hardcode_direct_absolute=$hardcode_direct_absolute
21738 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21739 # into the resulting binary.
21740 hardcode_minus_L=$hardcode_minus_L
21742 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21743 # into the resulting binary.
21744 hardcode_shlibpath_var=$hardcode_shlibpath_var
21746 # Set to "yes" if building a shared library automatically hardcodes DIR
21747 # into the library and all subsequent libraries and executables linked
21749 hardcode_automatic=$hardcode_automatic
21751 # Set to yes if linker adds runtime paths of dependent libraries
21752 # to runtime path list.
21753 inherit_rpath=$inherit_rpath
21755 # Whether libtool must link a program against all its dependency libraries.
21756 link_all_deplibs=$link_all_deplibs
21758 # Set to "yes" if exported symbols are required.
21759 always_export_symbols=$always_export_symbols
21761 # The commands to list exported symbols.
21762 export_symbols_cmds=$lt_export_symbols_cmds
21764 # Symbols that should not be listed in the preloaded symbols.
21765 exclude_expsyms=$lt_exclude_expsyms
21767 # Symbols that must always be exported.
21768 include_expsyms=$lt_include_expsyms
21770 # Commands necessary for linking programs (against libraries) with templates.
21771 prelink_cmds=$lt_prelink_cmds
21773 # Commands necessary for finishing linking programs.
21774 postlink_cmds=$lt_postlink_cmds
21776 # Specify filename containing input files.
21777 file_list_spec=$lt_file_list_spec
21779 # How to hardcode a shared library path into an executable.
21780 hardcode_action=$hardcode_action
21782 # ### END LIBTOOL CONFIG
21788 cat <<\_LT_EOF
>> "$cfgfile"
21789 # AIX sometimes has problems with the GCC collect2 program. For some
21790 # reason, if we set the COLLECT_NAMES environment variable, the problems
21791 # vanish in a puff of smoke.
21792 if test "X${COLLECT_NAMES+set}" != Xset
; then
21794 export COLLECT_NAMES
21801 ltmain
="$ac_aux_dir/ltmain.sh"
21804 # We use sed instead of cat because bash on DJGPP gets confused if
21805 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21806 # text mode, it properly converts lines to CR/LF. This bash problem
21807 # is reportedly fixed, but why not run on old versions too?
21808 sed '$q' "$ltmain" >> "$cfgfile" \
21809 || (rm -f "$cfgfile"; exit 1)
21811 if test x
"$xsi_shell" = xyes
; then
21812 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21816 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21817 \ * ) func_dirname_result="${3}" ;;\
21819 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21820 && mv -f "$cfgfile.tmp" "$cfgfile" \
21821 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21822 test 0 -eq $?
|| _lt_function_replace_fail
=:
21825 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21828 \ func_basename_result="${1##*/}"\
21829 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21830 && mv -f "$cfgfile.tmp" "$cfgfile" \
21831 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21832 test 0 -eq $?
|| _lt_function_replace_fail
=:
21835 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21836 func_dirname_and_basename ()\
21839 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21840 \ * ) func_dirname_result="${3}" ;;\
21842 \ func_basename_result="${1##*/}"\
21843 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21844 && mv -f "$cfgfile.tmp" "$cfgfile" \
21845 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21846 test 0 -eq $?
|| _lt_function_replace_fail
=:
21849 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21852 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21853 \ # positional parameters, so assign one to ordinary parameter first.\
21854 \ func_stripname_result=${3}\
21855 \ func_stripname_result=${func_stripname_result#"${1}"}\
21856 \ func_stripname_result=${func_stripname_result%"${2}"}\
21857 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21858 && mv -f "$cfgfile.tmp" "$cfgfile" \
21859 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21860 test 0 -eq $?
|| _lt_function_replace_fail
=:
21863 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21864 func_split_long_opt ()\
21866 \ func_split_long_opt_name=${1%%=*}\
21867 \ func_split_long_opt_arg=${1#*=}\
21868 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21869 && mv -f "$cfgfile.tmp" "$cfgfile" \
21870 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21871 test 0 -eq $?
|| _lt_function_replace_fail
=:
21874 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21875 func_split_short_opt ()\
21877 \ func_split_short_opt_arg=${1#??}\
21878 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21879 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21880 && mv -f "$cfgfile.tmp" "$cfgfile" \
21881 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21882 test 0 -eq $?
|| _lt_function_replace_fail
=:
21885 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21889 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21890 \ *) func_lo2o_result=${1} ;;\
21892 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21893 && mv -f "$cfgfile.tmp" "$cfgfile" \
21894 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21895 test 0 -eq $?
|| _lt_function_replace_fail
=:
21898 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21901 func_xform_result=${1%.*}.lo\
21902 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21903 && mv -f "$cfgfile.tmp" "$cfgfile" \
21904 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21905 test 0 -eq $?
|| _lt_function_replace_fail
=:
21908 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21911 func_arith_result=$(( $* ))\
21912 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21913 && mv -f "$cfgfile.tmp" "$cfgfile" \
21914 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21915 test 0 -eq $?
|| _lt_function_replace_fail
=:
21918 sed -e '/^func_len ()$/,/^} # func_len /c\
21921 func_len_result=${#1}\
21922 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21923 && mv -f "$cfgfile.tmp" "$cfgfile" \
21924 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21925 test 0 -eq $?
|| _lt_function_replace_fail
=:
21929 if test x
"$lt_shell_append" = xyes
; then
21930 sed -e '/^func_append ()$/,/^} # func_append /c\
21933 eval "${1}+=\\${2}"\
21934 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21935 && mv -f "$cfgfile.tmp" "$cfgfile" \
21936 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21937 test 0 -eq $?
|| _lt_function_replace_fail
=:
21940 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21941 func_append_quoted ()\
21943 \ func_quote_for_eval "${2}"\
21944 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21945 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21946 && mv -f "$cfgfile.tmp" "$cfgfile" \
21947 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21948 test 0 -eq $?
|| _lt_function_replace_fail
=:
21951 # Save a `func_append' function call where possible by direct use of '+='
21952 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21953 && mv -f "$cfgfile.tmp" "$cfgfile" \
21954 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21955 test 0 -eq $?
|| _lt_function_replace_fail
=:
21957 # Save a `func_append' function call even when '+=' is not available
21958 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21959 && mv -f "$cfgfile.tmp" "$cfgfile" \
21960 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21961 test 0 -eq $?
|| _lt_function_replace_fail
=:
21964 if test x
"$_lt_function_replace_fail" = x
":"; then
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21966 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21970 mv -f "$cfgfile" "$ofile" ||
21971 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21975 "tools/genssl_chmod":C
) chmod 755 tools
/genssl
;;
21983 ac_clean_files
=$ac_clean_files_save
21985 test $ac_write_fail = 0 ||
21986 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21989 # configure is writing to config.log, and then calls config.status.
21990 # config.status does its own redirection, appending to config.log.
21991 # Unfortunately, on DOS this fails, as config.log is still kept open
21992 # by configure, so config.status won't be able to write to it; its
21993 # output is simply discarded. So we exec the FD to /dev/null,
21994 # effectively closing config.log, so it can be properly (re)opened and
21995 # appended to by config.status. When coming back to configure, we
21996 # need to make the FD available again.
21997 if test "$no_create" != yes; then
21999 ac_config_status_args
=
22000 test "$silent" = yes &&
22001 ac_config_status_args
="$ac_config_status_args --quiet"
22003 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22005 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22006 # would make configure fail if this is the last instruction.
22007 $ac_cs_success || as_fn_exit
1
22011 # CONFIG_SUBDIRS section.
22013 if test "$no_recursion" != yes; then
22015 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22016 # so they do not pile up.
22017 ac_sub_configure_args
=
22019 eval "set x $ac_configure_args"
22023 if test -n "$ac_prev"; then
22028 -cache-file | --cache-file | --cache-fil | --cache-fi \
22029 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22030 ac_prev
=cache_file
;;
22031 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22032 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
22035 --config-cache | -C)
22037 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22039 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22041 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
22043 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
22045 --disable-option-checking)
22049 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22051 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
22055 # Always prepend --prefix to ensure using the same prefix
22056 # in subdir configurations.
22057 ac_arg
="--prefix=$prefix"
22059 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22061 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
22064 if test "$silent" = yes; then
22065 ac_sub_configure_args
="--silent $ac_sub_configure_args"
22068 # Always prepend --disable-option-checking to silence warnings, since
22069 # different subdirs can have different --enable and --with options.
22070 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
22073 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
22075 # Do not complain, so a configure script can configure whichever
22076 # parts of a large source tree are present.
22077 test -d "$srcdir/$ac_dir" || continue
22079 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22080 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22081 $as_echo "$ac_msg" >&6
22082 as_dir
="$ac_dir"; as_fn_mkdir_p
22086 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22088 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22089 # A ".." for each directory in $ac_dir_suffix.
22090 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22091 case $ac_top_builddir_sub in
22092 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22093 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22096 ac_abs_top_builddir
=$ac_pwd
22097 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22098 # for backward compatibility:
22099 ac_top_builddir
=$ac_top_build_prefix
22102 .
) # We are building in place.
22104 ac_top_srcdir
=$ac_top_builddir_sub
22105 ac_abs_top_srcdir
=$ac_pwd ;;
22106 [\\/]* | ?
:[\\/]* ) # Absolute name.
22107 ac_srcdir
=$srcdir$ac_dir_suffix;
22108 ac_top_srcdir
=$srcdir
22109 ac_abs_top_srcdir
=$srcdir ;;
22110 *) # Relative name.
22111 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22112 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22113 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22115 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22120 # Check for guested configure; otherwise get Cygnus style configure.
22121 if test -f "$ac_srcdir/configure.gnu"; then
22122 ac_sub_configure
=$ac_srcdir/configure.gnu
22123 elif test -f "$ac_srcdir/configure"; then
22124 ac_sub_configure
=$ac_srcdir/configure
22125 elif test -f "$ac_srcdir/configure.in"; then
22126 # This should be Cygnus configure.
22127 ac_sub_configure
=$ac_aux_dir/configure
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22130 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22134 # The recursion is here.
22135 if test -n "$ac_sub_configure"; then
22136 # Make the cache file name correct relative to the subdirectory.
22137 case $cache_file in
22138 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
22139 *) # Relative name.
22140 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22144 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22145 # The eval makes quoting arguments work.
22146 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22147 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22148 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22154 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22156 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22160 if test "$cf_openssl_version_ok" = yes; then
22166 if test "$shared_modules" = yes; then
22173 Configuration of ${BRANDING_NAME}-${BRANDING_VERSION}:
22174 Install directory : $prefix
22178 Socket Engine : $SELECT_TYPE
22179 Small network : $small_net
22180 Block allocator : $balloc
22182 Nickname length : $NICKLEN
22183 Topic length : $TOPICLEN
22185 Use (g)make to compile $BRANDING_NAME, then (g)make install to install it.