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
696 CONVENIENCE_LTDL_FALSE
697 CONVENIENCE_LTDL_TRUE
701 sys_symbol_underscore
771 INSTALL_STRIP_PROGRAM
813 program_transform_name
826 enable_option_checking
828 enable_dependency_tracking
868 ac_precious_vars
='build_alias
884 ac_subdirs_all
='extra/libltdl
887 # Initialize some variables set by options.
889 ac_init_version
=false
890 ac_unrecognized_opts
=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
901 program_transform_name
=s
,x
,x
,
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir
='${exec_prefix}/bin'
916 sbindir
='${exec_prefix}/sbin'
917 libexecdir
='${exec_prefix}/libexec'
918 datarootdir
='${prefix}/share'
919 datadir
='${datarootdir}'
920 sysconfdir
='${prefix}/etc'
921 sharedstatedir
='${prefix}/com'
922 localstatedir
='${prefix}/var'
923 includedir
='${prefix}/include'
924 oldincludedir
='/usr/include'
925 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir
='${datarootdir}/info'
931 libdir
='${exec_prefix}/lib'
932 localedir
='${datarootdir}/locale'
933 mandir
='${datarootdir}/man'
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\
$ac_option
947 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
958 -bindir | --bindir | --bindi | --bind | --bin | --bi)
960 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
963 -build | --build | --buil | --bui | --bu)
964 ac_prev
=build_alias
;;
965 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 build_alias
=$ac_optarg ;;
968 -cache-file | --cache-file | --cache-fil | --cache-fi \
969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970 ac_prev
=cache_file
;;
971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 cache_file
=$ac_optarg ;;
976 cache_file
=config.cache
;;
978 -datadir | --datadir | --datadi | --datad)
980 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 datadir
=$ac_optarg ;;
983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984 | --dataroo | --dataro | --datar)
985 ac_prev
=datarootdir
;;
986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 datarootdir
=$ac_optarg ;;
990 -disable-* | --disable-*)
991 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
994 as_fn_error $?
"invalid feature name: $ac_useropt"
995 ac_useropt_orig
=$ac_useropt
996 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
1001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep
=', ';;
1004 eval enable_
$ac_useropt=no
;;
1006 -docdir | --docdir | --docdi | --doc | --do)
1008 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 docdir
=$ac_optarg ;;
1011 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1013 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 dvidir
=$ac_optarg ;;
1016 -enable-* | --enable-*)
1017 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1020 as_fn_error $?
"invalid feature name: $ac_useropt"
1021 ac_useropt_orig
=$ac_useropt
1022 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_
$ac_useropt"
1027 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep
=', ';;
1030 eval enable_
$ac_useropt=\
$ac_optarg ;;
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev
=exec_prefix
;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix
=$ac_optarg ;;
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help
=long
;;
1047 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1048 ac_init_help
=recursive
;;
1049 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1050 ac_init_help
=short
;;
1052 -host | --host | --hos | --ho)
1053 ac_prev
=host_alias
;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias
=$ac_optarg ;;
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1061 htmldir
=$ac_optarg ;;
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev
=includedir
;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir
=$ac_optarg ;;
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir
=$ac_optarg ;;
1075 -libdir | --libdir | --libdi | --libd)
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir
=$ac_optarg ;;
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev
=libexecdir
;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir
=$ac_optarg ;;
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev
=localedir
;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir
=$ac_optarg ;;
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev
=localstatedir
;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir
=$ac_optarg ;;
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir
=$ac_optarg ;;
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev
=oldincludedir
;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir
=$ac_optarg ;;
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix
=$ac_optarg ;;
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev
=program_prefix
;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix
=$ac_optarg ;;
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev
=program_suffix
;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix
=$ac_optarg ;;
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev
=program_transform_name
;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name
=$ac_optarg ;;
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir
=$ac_optarg ;;
1166 -psdir | --psdir | --psdi | --psd | --ps)
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1179 sbindir
=$ac_optarg ;;
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1185 ac_prev
=sharedstatedir
;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1190 sharedstatedir
=$ac_optarg ;;
1192 -site | --site | --sit)
1194 -site=* | --site=* | --sit=*)
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir
=$ac_optarg ;;
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev
=sysconfdir
;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir
=$ac_optarg ;;
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev
=target_alias
;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias
=$ac_optarg ;;
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version
=: ;;
1221 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1224 as_fn_error $?
"invalid package name: $ac_useropt"
1225 ac_useropt_orig
=$ac_useropt
1226 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1231 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep
=', ';;
1234 eval with_
$ac_useropt=\
$ac_optarg ;;
1236 -without-* | --without-*)
1237 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 as_fn_error $?
"invalid package name: $ac_useropt"
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=no
;;
1253 # Obsolete; use --with-x.
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev
=x_includes
;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes
=$ac_optarg ;;
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev
=x_libraries
;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries
=$ac_optarg ;;
1270 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information"
1275 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' | [0-9]* | *[!_$as_cr_alnum]* )
1279 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1281 eval $ac_envvar=\
$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1295 if test -n "$ac_prev"; then
1296 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error $?
"missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1303 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308 # Check all directory arguments for consistency.
1309 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val
=\$
$ac_var
1315 # Remove trailing slashes.
1318 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\
$ac_val;;
1321 # Be sure to have absolute directory names.
1323 [\\/$
]* | ?
:[\\/]* ) continue;;
1324 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1326 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1334 target
=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x
; then
1338 if test "x$build_alias" = x
; then
1339 cross_compiling
=maybe
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1348 test "$silent" = yes && exec 6>/dev
/null
1351 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di
=`ls -di .` &&
1353 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error $?
"working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error $?
"pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted
=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir
=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted
=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1395 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 for ac_var
in $ac_precious_vars; do
1412 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1413 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1414 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1415 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures charybdis 3.6.0-dev to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking ...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/charybdis]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1488 --build=BUILD configure
for building on BUILD
[guessed
]
1489 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1493 if test -n "$ac_init_help"; then
1494 case $ac_init_help in
1495 short
| recursive
) echo "Configuration of charybdis 3.6.0-dev:";;
1500 --disable-option-checking ignore unrecognized
--enable/--with options
1501 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1502 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1503 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1504 --disable-silent-rules verbose build output
(undo
: "make V=0")
1505 --enable-dependency-tracking
1506 do not reject slow dependency extractors
1507 --disable-dependency-tracking
1508 speeds up one
-time build
1509 --enable-static[=PKGS
] build static libraries
[default
=no
]
1510 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1511 --enable-fast-install[=PKGS
]
1512 optimize
for fast installation
[default
=yes]
1513 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1514 --enable-ltdl-install install libltdl
1515 --enable-fhs-paths Use
more FHS
-like pathnames
(for packagers
).
1516 --enable-ipv6 Enable IPv6 support
1517 --enable-openssl=DIR Enable OpenSSL support
(DIR optional
).
1518 --disable-openssl Disable OpenSSL support.
1519 --disable-zlib Disable ziplinks support
1520 --enable-ports Force solaris I
/O ports subsystem usage.
1521 --enable-poll Force poll
() usage.
1522 --enable-select Force
select() usage.
1523 --enable-kqueue Force kqueue
() usage.
1524 --enable-epoll Force sys_epoll usage
(Linux only
).
1525 --enable-assert Enable assert
(). Choose between soft
(warnings
) and
1526 hard
(aborts the daemon
)
1527 --enable-iodebug Enable IO Debugging hooks
1528 --enable-profile Enable profiling
1529 --disable-balloc Disable the block allocator.
1530 --enable-small-net Enable small network support.
1531 --enable-warnings Enable all sorts of warnings
for debugging.
1534 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1535 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1536 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1538 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1539 --with-sysroot=DIR Search
for dependent libraries within DIR
1540 (or the compiler
's sysroot if not specified).
1541 --with-included-ltdl use the GNU ltdl sources included here
1542 --with-ltdl-include=DIR use the ltdl headers installed in DIR
1543 --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1544 --with-zlib-path=DIR Path to libz.so for ziplinks support.
1545 --with-shared-sqlite Use shared sqlite
1546 --with-confdir=DIR Directory to install config files [deprecated, use
1547 --sysconfdir instead].
1548 --with-logdir=DIR Directory where to write logfiles.
1549 --with-helpdir=DIR Directory to install help files.
1550 --with-moduledir=DIR Directory to install modules.
1551 --with-rundir=DIR Directory in which to store pidfile.
1552 --with-program-prefix= If set, programs installed into PATH will be
1553 installed with names prefixed by this prefix.
1554 --with-custom-branding=NAME
1555 Custom branding name.
1556 --with-custom-version=NAME
1557 Custom version branding.
1558 --with-nicklen=LENGTH Set the upper-bound nick length to LENGTH (default
1560 --with-topiclen=NUMBER Set the max topic length to NUMBER (default 390, max
1563 Some influential environment variables:
1564 CC C compiler command
1565 CFLAGS C compiler flags
1566 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1567 nonstandard directory <lib dir>
1568 LIBS libraries to pass to the linker, e.g. -l<library>
1569 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1570 you have headers in a nonstandard directory <include dir>
1572 YACC The `Yet Another Compiler Compiler' implementation to use.
1573 Defaults to the first program found out of
: `bison -y', `byacc
',
1575 YFLAGS The list of arguments that will be passed by default to
$YACC.
1576 This
script will default YFLAGS to the empty string to avoid a
1577 default value of
`-d' given by some make applications.
1578 PKG_CONFIG path to pkg-config utility
1580 directories to add to pkg-config's search path
1582 path overriding pkg-config's built-in search path
1584 C compiler flags for SQLITE, overriding pkg-config
1585 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1587 Use these variables to override the choices made by `configure
' or to help
1588 it to find libraries and programs with nonstandard names/locations.
1590 Report bugs to the package provider.
1595 if test "$ac_init_help" = "recursive"; then
1596 # If there are subdirs, report their specific --help.
1597 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1598 test -d "$ac_dir" ||
1599 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1607 # A ".." for each directory in $ac_dir_suffix.
1608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1609 case $ac_top_builddir_sub in
1610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1614 ac_abs_top_builddir=$ac_pwd
1615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1616 # for backward compatibility:
1617 ac_top_builddir=$ac_top_build_prefix
1620 .) # We are building in place.
1622 ac_top_srcdir=$ac_top_builddir_sub
1623 ac_abs_top_srcdir=$ac_pwd ;;
1624 [\\/]* | ?:[\\/]* ) # Absolute name.
1625 ac_srcdir=$srcdir$ac_dir_suffix;
1626 ac_top_srcdir=$srcdir
1627 ac_abs_top_srcdir=$srcdir ;;
1629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1630 ac_top_srcdir=$ac_top_build_prefix$srcdir
1631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1635 cd "$ac_dir" || { ac_status=$?; continue; }
1636 # Check for guested configure.
1637 if test -f "$ac_srcdir/configure.gnu"; then
1639 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1640 elif test -f "$ac_srcdir/configure"; then
1642 $SHELL "$ac_srcdir/configure" --help=recursive
1644 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1646 cd "$ac_pwd" || { ac_status=$?; break; }
1650 test -n "$ac_init_help" && exit $ac_status
1651 if $ac_init_version; then
1653 charybdis configure 3.6.0-dev
1654 generated by GNU Autoconf 2.69
1656 Copyright (C) 2012 Free Software Foundation, Inc.
1657 This configure script is free software; the Free Software Foundation
1658 gives unlimited permission to copy, distribute and modify it.
1663 ## ------------------------ ##
1664 ## Autoconf initialization. ##
1665 ## ------------------------ ##
1667 # ac_fn_c_try_compile LINENO
1668 # --------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 rm -f conftest.$ac_objext
1674 if { { ac_try="$ac_compile"
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_compile") 2>conftest.err
1683 if test -s conftest.err; then
1684 grep -v '^
*+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest.$ac_objext; then :
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's
/^
/| /' conftest.$ac_ext >&5
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 as_fn_set_status $ac_retval
1703 } # ac_fn_c_try_compile
1705 # ac_fn_c_try_link LINENO
1706 # -----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded.
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 rm -f conftest.$ac_objext conftest$ac_exeext
1712 if { { ac_try="$ac_link"
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_link") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^
*+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest$ac_exeext && {
1731 test "$cross_compiling" = yes ||
1732 test -x conftest$ac_exeext
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's
/^
/| /' conftest.$ac_ext >&5
1741 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1742 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1743 # interfere with the next link command; also delete a directory that is
1744 # left behind by Apple's compiler. We
do this before executing the actions.
1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status
$ac_retval
1749 } # ac_fn_c_try_link
1751 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1752 # -------------------------------------------------------
1753 # Tests whether HEADER exists and can be compiled using the include files in
1754 # INCLUDES, setting the cache variable VAR accordingly.
1755 ac_fn_c_check_header_compile
()
1757 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \
${$3+:} false
; then :
1761 $as_echo_n "(cached) " >&6
1763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h. */
1768 if ac_fn_c_try_compile
"$LINENO"; then :
1773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 } # ac_fn_c_check_header_compile
1782 # ac_fn_c_try_cpp LINENO
1783 # ----------------------
1784 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1787 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1788 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1791 *) ac_try_echo=$ac_try;;
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1797 if test -s conftest.err; then
1798 grep -v '^ *+' conftest.err >conftest.er1
1799 cat conftest.er1 >&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } > conftest.i && {
1804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1805 test ! -s conftest.err
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.$ac_ext >&5
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status $ac_retval
1819 # ac_fn_c_try_run LINENO
1820 # ----------------------
1821 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1822 # that executables *can* be run.
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 if { { ac_try="$ac_link"
1828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1829 *) ac_try_echo
=$ac_try;;
1831 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_link") 2>&5
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1837 { { case "(($ac_try" in
1838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_try") 2>&5
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; }; }; then :
1849 $as_echo "$as_me: program exited with status $ac_status" >&5
1850 $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.$ac_ext >&5
1853 ac_retval=$ac_status
1855 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 as_fn_set_status $ac_retval
1861 # ac_fn_c_check_func LINENO FUNC VAR
1862 # ----------------------------------
1863 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1864 ac_fn_c_check_func ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if eval \${$3+:} false; then :
1870 $as_echo_n "(cached) " >&6
1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1874 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1876 #define $2 innocuous_$2
1878 /* System header to define __stub macros and hopefully few prototypes,
1879 which can conflict with char $2 (); below.
1880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1881 <limits.h> exists even on freestanding compilers. */
1884 # include <limits.h>
1886 # include <assert.h>
1891 /* Override any GCC internal prototype to avoid an error.
1892 Use char because int might match the return type of a GCC
1893 builtin and then its argument prototype would still apply. */
1898 /* The GNU C library defines this for functions which it implements
1899 to always fail with ENOSYS. Some functions are actually named
1900 something starting with __ and the normal name is an alias. */
1901 #if defined __stub_$2 || defined __stub___$2
1913 if ac_fn_c_try_link "$LINENO"; then :
1918 rm -f core conftest.err conftest.$ac_objext \
1919 conftest$ac_exeext conftest.$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 } # ac_fn_c_check_func
1928 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1929 # ---------------------------------------------
1930 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1932 ac_fn_c_check_decl ()
1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 as_decl_name=`echo $2|sed 's/ *(.*//'`
1936 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1938 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1939 if eval \${$3+:} false; then :
1940 $as_echo_n "(cached) " >&6
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1948 #ifndef $as_decl_name
1950 (void) $as_decl_use;
1952 (void) $as_decl_name;
1960 if ac_fn_c_try_compile "$LINENO"; then :
1965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 } # ac_fn_c_check_decl
1974 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1975 # -------------------------------------------
1976 # Tests whether TYPE exists after having included INCLUDES, setting cache
1977 # variable VAR accordingly.
1978 ac_fn_c_check_type ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \${$3+:} false; then :
1984 $as_echo_n "(cached) " >&6
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1999 if ac_fn_c_try_compile "$LINENO"; then :
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2012 if ac_fn_c_try_compile "$LINENO"; then :
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026 } # ac_fn_c_check_type
2028 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2029 # -------------------------------------------------------
2030 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2031 # the include files in INCLUDES and setting the cache variable VAR
2033 ac_fn_c_check_header_mongrel ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 if eval \${$3+:} false; then :
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038 $as_echo_n "checking for $2... " >&6; }
2039 if eval \${$3+:} false; then :
2040 $as_echo_n "(cached) " >&6
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2044 $as_echo "$ac_res" >&6; }
2046 # Is the header compilable?
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2048 $as_echo_n "checking $2 usability... " >&6; }
2049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h. */
2054 if ac_fn_c_try_compile "$LINENO"; then :
2055 ac_header_compiler=yes
2057 ac_header_compiler=no
2059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2061 $as_echo "$ac_header_compiler" >&6; }
2063 # Is the header present?
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2065 $as_echo_n "checking $2 presence... " >&6; }
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2070 if ac_fn_c_try_cpp "$LINENO"; then :
2071 ac_header_preproc=yes
2073 ac_header_preproc=no
2075 rm -f conftest.err conftest.i conftest.$ac_ext
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2077 $as_echo "$ac_header_preproc" >&6; }
2079 # So? What about this header?
2080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2083 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2085 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2089 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2091 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2093 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2095 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2097 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2101 $as_echo_n "checking for $2... " >&6; }
2102 if eval \${$3+:} false; then :
2103 $as_echo_n "(cached) " >&6
2105 eval "$3=\$ac_header_compiler"
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2109 $as_echo "$ac_res" >&6; }
2111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2113 } # ac_fn_c_check_header_mongrel
2115 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2116 # --------------------------------------------
2117 # Tries to find the compile-time value of EXPR in a program that includes
2118 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2120 ac_fn_c_compute_int ()
2122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123 if test "$cross_compiling" = yes; then
2124 # Depending upon the size, compute the lo and hi bounds.
2125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126 /* end confdefs.h. */
2131 static int test_array [1 - 2 * !(($2) >= 0)];
2133 return test_array [0];
2139 if ac_fn_c_try_compile "$LINENO"; then :
2142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2148 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2150 return test_array [0];
2156 if ac_fn_c_try_compile "$LINENO"; then :
2157 ac_hi=$ac_mid; break
2159 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2160 if test $ac_lo -le $ac_mid; then
2164 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2175 static int test_array [1 - 2 * !(($2) < 0)];
2177 return test_array [0];
2183 if ac_fn_c_try_compile "$LINENO"; then :
2186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2192 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2194 return test_array [0];
2200 if ac_fn_c_try_compile "$LINENO"; then :
2201 ac_lo=$ac_mid; break
2203 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2204 if test $ac_mid -le $ac_hi; then
2208 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 # Binary search between lo and hi bounds.
2219 while test "x$ac_lo" != "x$ac_hi"; do
2220 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2227 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2229 return test_array [0];
2235 if ac_fn_c_try_compile "$LINENO"; then :
2238 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h. */
2250 static long int longval () { return $2; }
2251 static unsigned long int ulongval () { return $2; }
2258 FILE *f = fopen ("conftest.val", "w");
2263 long int i = longval ();
2266 fprintf (f, "%ld", i);
2270 unsigned long int i = ulongval ();
2273 fprintf (f, "%lu", i);
2275 /* Do not output a trailing newline, as this causes \r\n confusion
2276 on some platforms. */
2277 return ferror (f) || fclose (f) != 0;
2283 if ac_fn_c_try_run "$LINENO"; then :
2284 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2289 conftest.$ac_objext conftest.beam conftest.$ac_ext
2293 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2294 as_fn_set_status $ac_retval
2296 } # ac_fn_c_compute_int
2297 cat >config.log <<_ACEOF
2298 This file contains any messages produced by compilers while
2299 running configure, to aid debugging if configure makes a mistake.
2301 It was created by charybdis $as_me 3.6.0-dev, which was
2302 generated by GNU Autoconf 2.69. Invocation command line was
2314 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2315 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2316 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2317 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2318 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2320 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2321 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2323 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2324 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2325 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2326 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2327 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2328 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2329 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir=.
2338 $as_echo "PATH: $as_dir"
2354 # Keep a trace of the command line.
2355 # Strip out --no-create and --no-recursion so they do not pile up.
2356 # Strip out --silent because we don't want to record it for future runs.
2357 # Also quote any args containing shell meta-characters.
2358 # Make two passes to allow for proper duplicate-argument suppression.
2362 ac_must_keep_next=false
2368 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2369 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2370 | -silent | --silent | --silen | --sile | --sil)
2373 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2376 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2378 as_fn_append ac_configure_args1 " '$ac_arg'"
2379 if test $ac_must_keep_next = true; then
2380 ac_must_keep_next=false # Got value, back to normal.
2383 *=* | --config-cache | -C | -disable-* | --disable-* \
2384 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2385 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2386 | -with-* | --with-* | -without-* | --without-* | --x)
2387 case "$ac_configure_args0 " in
2388 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2391 -* ) ac_must_keep_next=true ;;
2394 as_fn_append ac_configure_args " '$ac_arg'"
2399 { ac_configure_args0=; unset ac_configure_args0;}
2400 { ac_configure_args1=; unset ac_configure_args1;}
2402 # When interrupted or exit'd, cleanup temporary files, and complete
2403 # config.log. We remove comments because anyway the quotes in there
2404 # would cause problems or look ugly.
2405 # WARNING: Use '\'' to represent an apostrophe within the trap.
2406 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2407 trap 'exit_status=$?
2408 # Save into config.log some information that might help in debugging.
2412 $as_echo "## ---------------- ##
2413 ## Cache variables. ##
2414 ## ---------------- ##"
2416 # The following way of writing the cache mishandles newlines in values,
2418 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2419 eval ac_val=\$$ac_var
2423 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2424 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2427 _ | IFS | as_nl) ;; #(
2428 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2429 *) { eval $ac_var=; unset $ac_var;} ;;
2434 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2435 *${as_nl}ac_space=\ *)
2437 "s/'\''/'\''\\\\'\'''\''/g;
2438 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2441 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2448 $as_echo "## ----------------- ##
2449 ## Output variables. ##
2450 ## ----------------- ##"
2452 for ac_var in $ac_subst_vars
2454 eval ac_val=\$$ac_var
2456 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2458 $as_echo "$ac_var='\''$ac_val'\''"
2462 if test -n "$ac_subst_files"; then
2463 $as_echo "## ------------------- ##
2464 ## File substitutions. ##
2465 ## ------------------- ##"
2467 for ac_var in $ac_subst_files
2469 eval ac_val=\$$ac_var
2471 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2473 $as_echo "$ac_var='\''$ac_val'\''"
2478 if test -s confdefs.h; then
2479 $as_echo "## ----------- ##
2486 test "$ac_signal" != 0 &&
2487 $as_echo "$as_me: caught signal $ac_signal"
2488 $as_echo "$as_me: exit $exit_status"
2490 rm -f core *.core core.conftest.* &&
2491 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2494 for ac_signal in 1 2 13 15; do
2495 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2499 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2500 rm -f -r conftest* confdefs.h
2502 $as_echo "/* confdefs.h */" > confdefs.h
2504 # Predefined preprocessor variables.
2506 cat >>confdefs.h <<_ACEOF
2507 #define PACKAGE_NAME "$PACKAGE_NAME"
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2514 cat >>confdefs.h <<_ACEOF
2515 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2518 cat >>confdefs.h <<_ACEOF
2519 #define PACKAGE_STRING "$PACKAGE_STRING"
2522 cat >>confdefs.h <<_ACEOF
2523 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2526 cat >>confdefs.h <<_ACEOF
2527 #define PACKAGE_URL "$PACKAGE_URL"
2531 # Let the site file select an alternate cache file if it wants to.
2532 # Prefer an explicitly selected file to automatically selected ones.
2535 if test -n "$CONFIG_SITE"; then
2536 # We do not want a PATH search for config.site.
2537 case $CONFIG_SITE in #((
2538 -*) ac_site_file1=./$CONFIG_SITE;;
2539 */*) ac_site_file1=$CONFIG_SITE;;
2540 *) ac_site_file1=./$CONFIG_SITE;;
2542 elif test "x$prefix" != xNONE; then
2543 ac_site_file1=$prefix/share/config.site
2544 ac_site_file2=$prefix/etc/config.site
2546 ac_site_file1=$ac_default_prefix/share/config.site
2547 ac_site_file2=$ac_default_prefix/etc/config.site
2549 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2551 test "x$ac_site_file" = xNONE && continue
2552 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2554 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2555 sed 's/^/| /' "$ac_site_file" >&5
2557 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2559 as_fn_error $? "failed to load site
script $ac_site_file
2560 See \
`config.log' for more details" "$LINENO" 5; }
2564 if test -r "$cache_file"; then
2565 # Some versions of bash will fail to source /dev/null (special files
2566 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2567 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2569 $as_echo "$as_me: loading cache $cache_file" >&6;}
2571 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2572 *) . "./$cache_file";;
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2577 $as_echo "$as_me: creating cache $cache_file" >&6;}
2581 # Check that the precious variables saved in the cache have kept the same
2583 ac_cache_corrupted=false
2584 for ac_var in $ac_precious_vars; do
2585 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2586 eval ac_new_set=\$ac_env_${ac_var}_set
2587 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2588 eval ac_new_val=\$ac_env_${ac_var}_value
2589 case $ac_old_set,$ac_new_set in
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2592 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2593 ac_cache_corrupted=: ;;
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2596 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2597 ac_cache_corrupted=: ;;
2600 if test "x$ac_old_val" != "x$ac_new_val"; then
2601 # differences in whitespace do not lead to failure.
2602 ac_old_val_w=`echo x
$ac_old_val`
2603 ac_new_val_w=`echo x
$ac_new_val`
2604 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2606 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2607 ac_cache_corrupted=:
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2610 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2611 eval $ac_var=\$ac_old_val
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2614 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2616 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2619 # Pass precious variables to config.status.
2620 if test "$ac_new_set" = set; then
2622 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2623 *) ac_arg=$ac_var=$ac_new_val ;;
2625 case " $ac_configure_args " in
2626 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2627 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2631 if $ac_cache_corrupted; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2635 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2636 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2638 ## -------------------- ##
2639 ## Main body of script. ##
2640 ## -------------------- ##
2643 ac_cpp='$CPP $CPPFLAGS'
2644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2652 ac_config_headers="$ac_config_headers include/setup.h"
2656 for ac_dir in libltdl/config "$srcdir"/libltdl/config; do
2657 if test -f "$ac_dir/install-sh"; then
2659 ac_install_sh="$ac_aux_dir/install-sh -c"
2661 elif test -f "$ac_dir/install.sh"; then
2663 ac_install_sh="$ac_aux_dir/install.sh -c"
2665 elif test -f "$ac_dir/shtool"; then
2667 ac_install_sh="$ac_aux_dir/shtool install -c"
2671 if test -z "$ac_aux_dir"; then
2672 as_fn_error $? "cannot find install-sh, install.sh, or shtool in libltdl/config \"$srcdir\"/libltdl/config" "$LINENO" 5
2675 # These three variables are undocumented and unsupported,
2676 # and are intended to be withdrawn in a future Autoconf release.
2677 # They can cause serious problems if a builder's source tree is in a directory
2678 # whose full name contains unusual characters.
2679 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2680 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2681 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2685 am__api_version='1.15'
2687 # Find a good install program. We prefer a C program (faster),
2688 # so one script is as good as another. But avoid the broken or
2689 # incompatible versions:
2690 # SysV /etc/install, /usr/sbin/install
2691 # SunOS /usr/etc/install
2692 # IRIX /sbin/install
2694 # AmigaOS /C/install, which installs bootblocks on floppy discs
2695 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2696 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2697 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2698 # OS/2's system install, which has a completely different semantic
2699 # ./install, which can be erroneously created by make from ./install.sh.
2700 # Reject install programs that cannot install multiple files.
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2702 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2703 if test -z "$INSTALL"; then
2704 if ${ac_cv_path_install+:} false; then :
2705 $as_echo_n "(cached) " >&6
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir=.
2712 # Account for people who put trailing slashes in PATH elements.
2713 case $as_dir/ in #((
2714 ./ | .// | /[cC]/* | \
2715 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2716 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2719 # OSF1 and SCO ODT 3.0 have their own names for install.
2720 # Don't use installbsd from OSF since it installs stuff as root
2722 for ac_prog in ginstall scoinst install; do
2723 for ac_exec_ext in '' $ac_executable_extensions; do
2724 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2725 if test $ac_prog = install &&
2726 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2727 # AIX install. It has an incompatible calling convention.
2729 elif test $ac_prog = install &&
2730 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2731 # program-specific install script used by HP pwplus--don't use.
2734 rm -rf conftest.one conftest.two conftest.dir
2735 echo one > conftest.one
2736 echo two > conftest.two
2738 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2739 test -s conftest.one && test -s conftest.two &&
2740 test -s conftest.dir/conftest.one &&
2741 test -s conftest.dir/conftest.two
2743 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2756 rm -rf conftest.one conftest.two conftest.dir
2759 if test "${ac_cv_path_install+set}" = set; then
2760 INSTALL=$ac_cv_path_install
2762 # As a last resort, use the slow shell script. Don't cache a
2763 # value for INSTALL within a source directory, because that will
2764 # break other packages using the cache if that directory is
2765 # removed, or if the value is a relative name.
2766 INSTALL=$ac_install_sh
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2770 $as_echo "$INSTALL" >&6; }
2772 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2773 # It thinks the first close brace ends the variable substitution.
2774 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2776 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2778 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2781 $as_echo_n "checking whether build environment is sane... " >&6; }
2782 # Reject unsafe characters in $srcdir or the absolute working directory
2783 # name. Accept space and tab only in the latter.
2787 *[\\\"\#\$\&\'\`$am_lf]*)
2788 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2791 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2792 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2795 # Do 'set' in a subshell so we don't clobber the current shell's
2796 # arguments. Must try -L first in case configure is actually a
2797 # symlink; some systems play weird games with the mod time of symlinks
2798 # (eg FreeBSD returns the mod time of the symlink's containing
2802 for am_try in 1 2; do
2803 echo "timestamp, slept: $am_has_slept" > conftest.file
2804 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2805 if test "$*" = "X"; then
2807 set X `ls -t "$srcdir/configure" conftest.
file`
2809 if test "$*" != "X $srcdir/configure conftest.file" \
2810 && test "$*" != "X conftest.file $srcdir/configure"; then
2812 # If neither matched, then we have a broken ls. This can happen
2813 # if, for instance, CONFIG_SHELL is bash and it inherits a
2814 # broken ls alias from the environment. This has actually
2815 # happened. Such a system could not be considered "sane".
2816 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2817 alias in your environment" "$LINENO" 5
2819 if test "$2" = conftest.file || test $am_try -eq 2; then
2826 test "$2" = conftest.file
2832 as_fn_error $? "newly created file is older than distributed files!
2833 Check your system clock" "$LINENO" 5
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2836 $as_echo "yes" >&6; }
2837 # If we didn't sleep, we still need to ensure time stamps of config.status and
2838 # generated files are strictly newer.
2840 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2847 test "$program_prefix" != NONE &&
2848 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2849 # Use a double $ so make ignores it.
2850 test "$program_suffix" != NONE &&
2851 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2852 # Double any \ or $.
2853 # By default was `s
,x
,x
', remove it if useless.
2854 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2855 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2857 # Expand $ac_aux_dir to an absolute path.
2858 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2860 if test x"${MISSING+set}" != xset; then
2863 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2865 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2868 # Use eval to expand $SHELL
2869 if eval "$MISSING --is-lightweight"; then
2870 am_missing_run="$MISSING "
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2874 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2877 if test x"${install_sh+set}" != xset; then
2880 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2882 install_sh="\${SHELL} $am_aux_dir/install-sh"
2886 # Installed binaries are usually stripped using 'strip
' when the user
2887 # run "make install-strip". However 'strip
' might not be the right
2888 # tool to use in cross-compilation environments, therefore Automake
2889 # will honor the 'STRIP
' environment variable to overrule this program.
2890 if test "$cross_compiling" != no; then
2891 if test -n "$ac_tool_prefix"; then
2892 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2893 set dummy ${ac_tool_prefix}strip; ac_word=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if ${ac_cv_prog_STRIP+:} false; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$STRIP"; then
2900 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir=.
2907 for ac_exec_ext in '' $ac_executable_extensions; do
2908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2909 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 STRIP=$ac_cv_prog_STRIP
2920 if test -n "$STRIP"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2922 $as_echo "$STRIP" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2930 if test -z "$ac_cv_prog_STRIP"; then
2932 # Extract the first word of "strip", so it can be a program name with args.
2933 set dummy strip; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$ac_ct_STRIP"; then
2940 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir=.
2947 for ac_exec_ext in '' $ac_executable_extensions; do
2948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2949 ac_cv_prog_ac_ct_STRIP="strip"
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2960 if test -n "$ac_ct_STRIP"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2962 $as_echo "$ac_ct_STRIP" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2968 if test "x$ac_ct_STRIP" = x; then
2971 case $cross_compiling:$ac_tool_warned in
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2975 ac_tool_warned=yes ;;
2980 STRIP="$ac_cv_prog_STRIP"
2984 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2987 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2988 if test -z "$MKDIR_P"; then
2989 if ${ac_cv_path_mkdir+:} false; then :
2990 $as_echo_n "(cached) " >&6
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2996 test -z "$as_dir" && as_dir=.
2997 for ac_prog in mkdir gmkdir; do
2998 for ac_exec_ext in '' $ac_executable_extensions; do
2999 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3000 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3001 'mkdir (GNU coreutils
) '* | \
3002 'mkdir (coreutils
) '* | \
3003 'mkdir (fileutils
) '4.1*)
3004 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3014 test -d ./--version && rmdir ./--version
3015 if test "${ac_cv_path_mkdir+set}" = set; then
3016 MKDIR_P="$ac_cv_path_mkdir -p"
3018 # As a last resort, use the slow shell script. Don't cache a
3019 # value for MKDIR_P within a source directory, because that will
3020 # break other packages using the cache if that directory is
3021 # removed, or if the value is a relative name.
3022 MKDIR_P
="$ac_install_sh -d"
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3026 $as_echo "$MKDIR_P" >&6; }
3028 for ac_prog
in gawk mawk nawk
awk
3030 # Extract the first word of "$ac_prog", so it can be a program name with args.
3031 set dummy
$ac_prog; ac_word
=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if ${ac_cv_prog_AWK+:} false
; then :
3035 $as_echo_n "(cached) " >&6
3037 if test -n "$AWK"; then
3038 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir
=.
3045 for ac_exec_ext
in '' $ac_executable_extensions; do
3046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3047 ac_cv_prog_AWK
="$ac_prog"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 if test -n "$AWK"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3060 $as_echo "$AWK" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3067 test -n "$AWK" && break
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3071 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3073 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3074 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3075 $as_echo_n "(cached) " >&6
3077 cat >conftest.
make <<\_ACEOF
3080 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3082 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3083 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3085 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3087 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3091 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3093 $as_echo "yes" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3098 SET_MAKE
="MAKE=${MAKE-make}"
3101 rm -rf .tst
2>/dev
/null
3102 mkdir .tst
2>/dev
/null
3103 if test -d .tst
; then
3108 rmdir .tst
2>/dev
/null
3110 # Check whether --enable-silent-rules was given.
3111 if test "${enable_silent_rules+set}" = set; then :
3112 enableval
=$enable_silent_rules;
3115 case $enable_silent_rules in # (((
3116 yes) AM_DEFAULT_VERBOSITY
=0;;
3117 no
) AM_DEFAULT_VERBOSITY
=1;;
3118 *) AM_DEFAULT_VERBOSITY
=1;;
3120 am_make
=${MAKE-make}
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3122 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3123 if ${am_cv_make_support_nested_variables+:} false
; then :
3124 $as_echo_n "(cached) " >&6
3126 if $as_echo 'TRUE=$(BAR$(V))
3132 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3133 am_cv_make_support_nested_variables
=yes
3135 am_cv_make_support_nested_variables
=no
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3139 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3140 if test $am_cv_make_support_nested_variables = yes; then
3142 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3144 AM_V
=$AM_DEFAULT_VERBOSITY
3145 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3149 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3150 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3151 # is not polluted with repeated "-I."
3152 am__isrc
=' -I$(srcdir)'
3153 # test to see if srcdir already configured
3154 if test -f $srcdir/config.status
; then
3155 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3159 # test whether we have cygpath
3160 if test -z "$CYGPATH_W"; then
3161 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3162 CYGPATH_W
='cygpath -w'
3169 # Define the identity of the package.
3174 cat >>confdefs.h
<<_ACEOF
3175 #define PACKAGE "$PACKAGE"
3179 cat >>confdefs.h
<<_ACEOF
3180 #define VERSION "$VERSION"
3183 # Some tools Automake needs.
3185 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3188 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3191 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3194 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3197 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3199 # For better backward compatibility. To be removed once Automake 1.9.x
3200 # dies out for good. For more background, see:
3201 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3202 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3203 mkdir_p
='$(MKDIR_P)'
3205 # We need awk for the "check" target (and possibly the TAP driver). The
3206 # system "awk" is bad on some platforms.
3207 # Always define AMTAR for backward compatibility. Yes, it's still used
3208 # in the wild :-( We should find a proper way to deprecate it ...
3212 # We'll loop over all known methods to create a tar archive until one works.
3213 _am_tools
='gnutar pax cpio none'
3215 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3222 # POSIX will say in a future version that running "rm -f" with no argument
3223 # is OK; and we want to be able to make that assumption in our Makefile
3224 # recipes. So use an aggressive probe to check that the usage we want is
3225 # actually supported "in the wild" to an acceptable degree.
3226 # See automake bug#10828.
3227 # To make any issue more visible, cause the running configure to be aborted
3228 # by default if the 'rm' program in use doesn't match our expectations; the
3229 # user can still override this though.
3230 if rm -f && rm -fr && rm -rf; then : OK
; else
3234 Your 'rm' program seems unable to run without file operands specified
3235 on the command line, even when the '-f' option is present. This is contrary
3236 to the behaviour of most rm programs out there, and not conforming with
3237 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3239 Please tell bug-automake@gnu.org about your system, including the value
3240 of your $PATH and any error possibly output before this message. This
3241 can help us improve future automake versions.
3244 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3245 echo 'Configuration will proceed anyway, since you have set the' >&2
3246 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3250 Aborting the configuration process, to ensure you take notice of the issue.
3252 You can download and install GNU coreutils to get an 'rm' implementation
3253 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3255 If you want to complete the configuration process using your problematic
3256 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3257 to "yes", and re-run configure.
3260 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3264 # Check whether --enable-silent-rules was given.
3265 if test "${enable_silent_rules+set}" = set; then :
3266 enableval
=$enable_silent_rules;
3269 case $enable_silent_rules in # (((
3270 yes) AM_DEFAULT_VERBOSITY
=0;;
3271 no
) AM_DEFAULT_VERBOSITY
=1;;
3272 *) AM_DEFAULT_VERBOSITY
=0;;
3274 am_make
=${MAKE-make}
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3276 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3277 if ${am_cv_make_support_nested_variables+:} false
; then :
3278 $as_echo_n "(cached) " >&6
3280 if $as_echo 'TRUE=$(BAR$(V))
3286 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3287 am_cv_make_support_nested_variables
=yes
3289 am_cv_make_support_nested_variables
=no
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3293 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3294 if test $am_cv_make_support_nested_variables = yes; then
3296 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3298 AM_V
=$AM_DEFAULT_VERBOSITY
3299 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3303 DEPDIR="${am__leading_dot}deps"
3305 ac_config_commands="$ac_config_commands depfiles"
3308 am_make=${MAKE-make}
3309 cat > confinc << 'END'
3311 @echo this is the am__doit target
3314 # If we don't
find an include directive
, just comment out the code.
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3316 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3320 # First try GNU make style include.
3321 echo "include confinc" > confmf
3322 # Ignore all kinds of additional output from 'make'.
3323 case `$am_make -s -f confmf 2> /dev/null` in #(
3324 *the\ am__doit\ target
*)
3330 # Now try BSD make style include.
3331 if test "$am__include" = "#"; then
3332 echo '.include "confinc"' > confmf
3333 case `$am_make -s -f confmf 2> /dev/null` in #(
3334 *the\ am__doit\ target
*)
3335 am__include
=.include
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3344 $as_echo "$_am_result" >&6; }
3345 rm -f confinc confmf
3347 # Check whether --enable-dependency-tracking was given.
3348 if test "${enable_dependency_tracking+set}" = set; then :
3349 enableval
=$enable_dependency_tracking;
3352 if test "x$enable_dependency_tracking" != xno
; then
3353 am_depcomp
="$ac_aux_dir/depcomp"
3357 if test "x$enable_dependency_tracking" != xno; then
3367 ac_cpp
='$CPP $CPPFLAGS'
3368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3371 if test -n "$ac_tool_prefix"; then
3372 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3373 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375 $as_echo_n "checking for $ac_word... " >&6; }
3376 if ${ac_cv_prog_CC+:} false
; then :
3377 $as_echo_n "(cached) " >&6
3379 if test -n "$CC"; then
3380 ac_cv_prog_CC
="$CC" # Let the user override the test.
3382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3386 test -z "$as_dir" && as_dir
=.
3387 for ac_exec_ext
in '' $ac_executable_extensions; do
3388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3389 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 if test -n "$CC"; then
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3402 $as_echo "$CC" >&6; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405 $as_echo "no" >&6; }
3410 if test -z "$ac_cv_prog_CC"; then
3412 # Extract the first word of "gcc", so it can be a program name with args.
3413 set dummy gcc
; ac_word
=$2
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3415 $as_echo_n "checking for $ac_word... " >&6; }
3416 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3417 $as_echo_n "(cached) " >&6
3419 if test -n "$ac_ct_CC"; then
3420 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3426 test -z "$as_dir" && as_dir
=.
3427 for ac_exec_ext
in '' $ac_executable_extensions; do
3428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3429 ac_cv_prog_ac_ct_CC
="gcc"
3430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3440 if test -n "$ac_ct_CC"; then
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3442 $as_echo "$ac_ct_CC" >&6; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445 $as_echo "no" >&6; }
3448 if test "x$ac_ct_CC" = x
; then
3451 case $cross_compiling:$ac_tool_warned in
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3455 ac_tool_warned
=yes ;;
3463 if test -z "$CC"; then
3464 if test -n "$ac_tool_prefix"; then
3465 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3466 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3468 $as_echo_n "checking for $ac_word... " >&6; }
3469 if ${ac_cv_prog_CC+:} false
; then :
3470 $as_echo_n "(cached) " >&6
3472 if test -n "$CC"; then
3473 ac_cv_prog_CC
="$CC" # Let the user override the test.
3475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3479 test -z "$as_dir" && as_dir
=.
3480 for ac_exec_ext
in '' $ac_executable_extensions; do
3481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3482 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 if test -n "$CC"; then
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3495 $as_echo "$CC" >&6; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3504 if test -z "$CC"; then
3505 # Extract the first word of "cc", so it can be a program name with args.
3506 set dummy cc
; ac_word
=$2
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3508 $as_echo_n "checking for $ac_word... " >&6; }
3509 if ${ac_cv_prog_CC+:} false
; then :
3510 $as_echo_n "(cached) " >&6
3512 if test -n "$CC"; then
3513 ac_cv_prog_CC
="$CC" # Let the user override the test.
3516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3520 test -z "$as_dir" && as_dir
=.
3521 for ac_exec_ext
in '' $ac_executable_extensions; do
3522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3523 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3524 ac_prog_rejected
=yes
3528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 if test $ac_prog_rejected = yes; then
3536 # We found a bogon in the path, so make sure we never use it.
3537 set dummy
$ac_cv_prog_CC
3539 if test $# != 0; then
3540 # We chose a different compiler from the bogus one.
3541 # However, it has the same basename, so the bogon will be chosen
3542 # first if we set CC to just the basename; use the full file name.
3544 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3550 if test -n "$CC"; then
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3552 $as_echo "$CC" >&6; }
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3560 if test -z "$CC"; then
3561 if test -n "$ac_tool_prefix"; then
3562 for ac_prog
in cl.exe
3564 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3565 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if ${ac_cv_prog_CC+:} false
; then :
3569 $as_echo_n "(cached) " >&6
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC
="$CC" # Let the user override the test.
3574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3578 test -z "$as_dir" && as_dir
=.
3579 for ac_exec_ext
in '' $ac_executable_extensions; do
3580 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3581 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3601 test -n "$CC" && break
3604 if test -z "$CC"; then
3606 for ac_prog
in cl.exe
3608 # Extract the first word of "$ac_prog", so it can be a program name with args.
3609 set dummy
$ac_prog; ac_word
=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3613 $as_echo_n "(cached) " >&6
3615 if test -n "$ac_ct_CC"; then
3616 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir
=.
3623 for ac_exec_ext
in '' $ac_executable_extensions; do
3624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3625 ac_cv_prog_ac_ct_CC
="$ac_prog"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3635 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3636 if test -n "$ac_ct_CC"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3638 $as_echo "$ac_ct_CC" >&6; }
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3645 test -n "$ac_ct_CC" && break
3648 if test "x$ac_ct_CC" = x
; then
3651 case $cross_compiling:$ac_tool_warned in
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3655 ac_tool_warned
=yes ;;
3664 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3666 as_fn_error $?
"no acceptable C compiler found in \$PATH
3667 See \`config.log' for more details" "$LINENO" 5; }
3669 # Provide some information about the compiler.
3670 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3673 for ac_option
in --version -v -V -qversion; do
3674 { { ac_try
="$ac_compiler $ac_option >&5"
3676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3677 *) ac_try_echo=$ac_try;;
3679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3680 $as_echo "$ac_try_echo"; } >&5
3681 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3683 if test -s conftest.err; then
3685 ... rest of stderr output deleted ...
3686 10q' conftest.err >conftest.er1
3687 cat conftest.er1 >&5
3689 rm -f conftest.er1 conftest.err
3690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691 test $ac_status = 0; }
3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h. */
3705 ac_clean_files_save=$ac_clean_files
3706 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3707 # Try to create an executable without -o first, disregard a.out.
3708 # It will help us diagnose broken compilers, and finding out an intuition
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3711 $as_echo_n "checking whether the C compiler works... " >&6; }
3712 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3714 # The possible output files:
3715 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3718 for ac_file in $ac_files
3721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3722 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3727 if { { ac_try="$ac_link_default"
3729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3730 *) ac_try_echo
=$ac_try;;
3732 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3733 $as_echo "$ac_try_echo"; } >&5
3734 (eval "$ac_link_default") 2>&5
3736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3737 test $ac_status = 0; }; then :
3738 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3739 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3740 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3741 # so that the user can short-circuit this test for compilers unknown to
3743 for ac_file
in $ac_files ''
3745 test -f "$ac_file" || continue
3747 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3750 # We found the default executable, but exeext='' is most
3754 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3756 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3758 # We set ac_cv_exeext here because the later test for it is not
3759 # safe: cross compilers may not add the suffix if given an `-o'
3760 # argument, so we may need to know it at that point already.
3761 # Even if this section looks crufty: it has the advantage of
3768 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3773 if test -z "$ac_file"; then :
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 $as_echo "$as_me: failed program was:" >&5
3777 sed 's/^/| /' conftest.
$ac_ext >&5
3779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3781 as_fn_error
77 "C compiler cannot create executables
3782 See \`config.log' for more details" "$LINENO" 5; }
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3785 $as_echo "yes" >&6; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3788 $as_echo_n "checking for C compiler default output file name... " >&6; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3790 $as_echo "$ac_file" >&6; }
3791 ac_exeext
=$ac_cv_exeext
3793 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3794 ac_clean_files
=$ac_clean_files_save
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3796 $as_echo_n "checking for suffix of executables... " >&6; }
3797 if { { ac_try
="$ac_link"
3799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3800 *) ac_try_echo=$ac_try;;
3802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3803 $as_echo "$ac_try_echo"; } >&5
3804 (eval "$ac_link") 2>&5
3806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3807 test $ac_status = 0; }; then :
3808 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3809 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3810 # work properly (i.e., refer to `conftest.exe'), while it won't with
3812 for ac_file
in conftest.exe conftest conftest.
*; do
3813 test -f "$ac_file" || continue
3815 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3816 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3824 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3825 See \`config.log' for more details" "$LINENO" 5; }
3827 rm -f conftest conftest
$ac_cv_exeext
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3829 $as_echo "$ac_cv_exeext" >&6; }
3831 rm -f conftest.
$ac_ext
3832 EXEEXT
=$ac_cv_exeext
3834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3840 FILE *f = fopen ("conftest.out", "w");
3841 return ferror (f) || fclose (f) != 0;
3847 ac_clean_files
="$ac_clean_files conftest.out"
3848 # Check that the compiler produces executables we can run. If not, either
3849 # the compiler is broken, or we cross compile.
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3851 $as_echo_n "checking whether we are cross compiling... " >&6; }
3852 if test "$cross_compiling" != yes; then
3853 { { ac_try
="$ac_link"
3855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3859 $as_echo "$ac_try_echo"; } >&5
3860 (eval "$ac_link") 2>&5
3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3863 test $ac_status = 0; }
3864 if { ac_try='./conftest$ac_cv_exeext'
3865 { { case "(($ac_try" in
3866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3867 *) ac_try_echo
=$ac_try;;
3869 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3870 $as_echo "$ac_try_echo"; } >&5
3871 (eval "$ac_try") 2>&5
3873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874 test $ac_status = 0; }; }; then
3877 if test "$cross_compiling" = maybe
; then
3880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3882 as_fn_error $?
"cannot run C compiled programs.
3883 If you meant to cross compile, use \`--host'.
3884 See \`config.log' for more details" "$LINENO" 5; }
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3889 $as_echo "$cross_compiling" >&6; }
3891 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3892 ac_clean_files
=$ac_clean_files_save
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3894 $as_echo_n "checking for suffix of object files... " >&6; }
3895 if ${ac_cv_objext+:} false
; then :
3896 $as_echo_n "(cached) " >&6
3898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3909 rm -f conftest.o conftest.obj
3910 if { { ac_try
="$ac_compile"
3912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3913 *) ac_try_echo=$ac_try;;
3915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3916 $as_echo "$ac_try_echo"; } >&5
3917 (eval "$ac_compile") 2>&5
3919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3920 test $ac_status = 0; }; then :
3921 for ac_file in conftest.o conftest.obj conftest.*; do
3922 test -f "$ac_file" || continue;
3924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3925 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3930 $as_echo "$as_me: failed program was:" >&5
3931 sed 's/^/| /' conftest.$ac_ext >&5
3933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3935 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3936 See \
`config.log' for more details" "$LINENO" 5; }
3938 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3941 $as_echo "$ac_cv_objext" >&6; }
3942 OBJEXT=$ac_cv_objext
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3945 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3946 if ${ac_cv_c_compiler_gnu+:} false; then :
3947 $as_echo_n "(cached) " >&6
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3963 if ac_fn_c_try_compile "$LINENO"; then :
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3973 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3974 if test $ac_compiler_gnu = yes; then
3979 ac_test_CFLAGS=${CFLAGS+set}
3980 ac_save_CFLAGS=$CFLAGS
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3982 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3983 if ${ac_cv_prog_cc_g+:} false; then :
3984 $as_echo_n "(cached) " >&6
3986 ac_save_c_werror_flag=$ac_c_werror_flag
3987 ac_c_werror_flag=yes
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
4001 if ac_fn_c_try_compile "$LINENO"; then :
4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4016 if ac_fn_c_try_compile "$LINENO"; then :
4019 ac_c_werror_flag=$ac_save_c_werror_flag
4021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4032 if ac_fn_c_try_compile "$LINENO"; then :
4035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4040 ac_c_werror_flag=$ac_save_c_werror_flag
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4043 $as_echo "$ac_cv_prog_cc_g" >&6; }
4044 if test "$ac_test_CFLAGS" = set; then
4045 CFLAGS=$ac_save_CFLAGS
4046 elif test $ac_cv_prog_cc_g = yes; then
4047 if test "$GCC" = yes; then
4053 if test "$GCC" = yes; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4060 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4061 if ${ac_cv_prog_cc_c89+:} false; then :
4062 $as_echo_n "(cached) " >&6
4064 ac_cv_prog_cc_c89=no
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4071 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4072 struct buf { int x; };
4073 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4074 static char *e (p, i)
4080 static char *f (char * (*g) (char **, int), char **p, ...)
4085 s = g (p, va_arg (v,int));
4090 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4091 function prototypes and stuff, but not '\xHH' hex character constants.
4092 These don't provoke an error unfortunately, instead are silently treated
4093 as 'x'. The following induces an error, until -std is added to get
4094 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4095 array size at least. It's necessary to write '\x00'==0 to get something
4096 that's true only with -std. */
4097 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4099 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4100 inside strings and character constants. */
4102 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4104 int test (int i, double x);
4105 struct s1 {int (*f) (int a);};
4106 struct s2 {int (*f) (double a);};
4107 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4113 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4118 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4119 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4121 CC="$ac_save_CC $ac_arg"
4122 if ac_fn_c_try_compile "$LINENO"; then :
4123 ac_cv_prog_cc_c89=$ac_arg
4125 rm -f core conftest.err conftest.$ac_objext
4126 test "x$ac_cv_prog_cc_c89" != "xno" && break
4128 rm -f conftest.$ac_ext
4133 case "x$ac_cv_prog_cc_c89" in
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4136 $as_echo "none needed" >&6; } ;;
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4139 $as_echo "unsupported" >&6; } ;;
4141 CC="$CC $ac_cv_prog_cc_c89"
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4143 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4145 if test "x$ac_cv_prog_cc_c89" != xno; then :
4150 ac_cpp='$CPP $CPPFLAGS'
4151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4156 ac_cpp='$CPP $CPPFLAGS'
4157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4161 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4162 if ${am_cv_prog_cc_c_o+:} false; then :
4163 $as_echo_n "(cached) " >&6
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4176 # Make sure it works both with $CC and with simple cc.
4177 # Following AC_PROG_CC_C_O, we do the test twice because some
4178 # compilers refuse to overwrite an existing .o file with -o,
4179 # though they will create one.
4180 am_cv_prog_cc_c_o=yes
4182 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4183 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } \
4187 && test -f conftest2.$ac_objext; then
4190 am_cv_prog_cc_c_o=no
4194 rm -f core conftest*
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4198 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4199 if test "$am_cv_prog_cc_c_o" != yes; then
4200 # Losing compiler, so override with the script.
4201 # FIXME: It is wrong to rewrite CC.
4202 # But if we don't then we get into trouble of one sort or another.
4203 # A longer-term fix would be to have automake use am__CC in this case,
4204 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4205 CC="$am_aux_dir/compile $CC"
4208 ac_cpp='$CPP $CPPFLAGS'
4209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4214 depcc="$CC" am_compiler_list=
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4217 $as_echo_n "checking dependency style of $depcc... " >&6; }
4218 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4219 $as_echo_n "(cached) " >&6
4221 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4222 # We make a subdir and do the tests there. Otherwise we can end up
4223 # making bogus files that we don't know about and never remove. For
4224 # instance it was reported that on HP-UX the gcc test will end up
4225 # making a dummy file named 'D' -- because '-MD' means "put the output
4229 # Copy depcomp to subdir because otherwise we won't find it if we're
4230 # using a relative directory.
4231 cp "$am_depcomp" conftest.dir
4233 # We will build objects and dependencies in a subdirectory because
4234 # it helps to detect inapplicable dependency modes. For instance
4235 # both Tru64's cc and ICC support -MD to output dependencies as a
4236 # side effect of compilation, but ICC will put the dependencies in
4237 # the current directory while Tru64 will put them in the object
4241 am_cv_CC_dependencies_compiler_type=none
4242 if test "$am_compiler_list" = ""; then
4243 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4246 case " $depcc " in #(
4247 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4250 for depmode in $am_compiler_list; do
4251 # Setup a source with many dependencies, because some compilers
4252 # like to wrap large dependency lists on column 80 (with \), and
4253 # we should not choose a depcomp mode which is confused by this.
4255 # We need to recreate these files for each test, as the compiler may
4256 # overwrite some of them when testing with obscure command lines.
4257 # This happens at least with the AIX C compiler.
4259 for i in 1 2 3 4 5 6; do
4260 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4261 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4262 # Solaris 10 /bin/sh.
4263 echo '/* dummy */' > sub/conftst$i.h
4265 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4267 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4268 # mode. It turns out that the SunPro C++ compiler does not properly
4269 # handle '-M -o', and we need to detect this. Also, some Intel
4270 # versions had trouble with output in subdirs.
4271 am__obj=sub/conftest.${OBJEXT-o}
4272 am__minus_obj="-o $am__obj"
4275 # This depmode causes a compiler race in universal mode.
4276 test "$am__universal" = false || continue
4279 # After this tag, mechanisms are not by side-effect, so they'll
4280 # only be used when explicitly requested.
4281 if test "x$enable_dependency_tracking" = xyes; then
4287 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4288 # This compiler won't grok '-c -o', but also, the minuso test has
4289 # not run yet. These depmodes are late enough in the game, and
4290 # so weak that their functioning should not be impacted.
4291 am__obj=conftest.${OBJEXT-o}
4296 if depmode=$depmode \
4297 source=sub/conftest.c object=$am__obj \
4298 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4299 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4300 >/dev/null 2>conftest.err &&
4301 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4302 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4303 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4304 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4305 # icc doesn't choke on unknown options, it will just issue warnings
4306 # or remarks (even with -Werror). So we grep stderr for any message
4307 # that says an option was ignored or not supported.
4308 # When given -MP, icc 7.0 and 7.1 complain thusly:
4309 # icc: Command line warning: ignoring option '-M'; no argument required
4310 # The diagnosis changed in icc 8.0:
4311 # icc: Command line remark: option '-MP' not supported
4312 if (grep 'ignoring option' conftest.err ||
4313 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4314 am_cv_CC_dependencies_compiler_type=$depmode
4323 am_cv_CC_dependencies_compiler_type=none
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4328 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4329 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4332 test "x$enable_dependency_tracking" != xno \
4333 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4335 am__fastdepCC_FALSE='#'
4337 am__fastdepCC_TRUE='#'
4338 am__fastdepCC_FALSE=
4343 if test -n "$ac_tool_prefix"; then
4344 for ac_prog in ar lib "link -lib"
4346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349 $as_echo_n "checking for $ac_word... " >&6; }
4350 if ${ac_cv_prog_AR+:} false; then :
4351 $as_echo_n "(cached) " >&6
4353 if test -n "$AR"; then
4354 ac_cv_prog_AR="$AR" # Let the user override the test.
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 test -z "$as_dir" && as_dir=.
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 if test -n "$AR"; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4376 $as_echo "$AR" >&6; }
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; }
4383 test -n "$AR" && break
4386 if test -z "$AR"; then
4388 for ac_prog in ar lib "link -lib"
4390 # Extract the first word of "$ac_prog", so it can be a program name with args.
4391 set dummy $ac_prog; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4395 $as_echo_n "(cached) " >&6
4397 if test -n "$ac_ct_AR"; then
4398 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_ac_ct_AR="$ac_prog"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4418 if test -n "$ac_ct_AR"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4420 $as_echo "$ac_ct_AR" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4427 test -n "$ac_ct_AR" && break
4430 if test "x$ac_ct_AR" = x; then
4433 case $cross_compiling:$ac_tool_warned in
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4437 ac_tool_warned=yes ;;
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4446 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4447 if ${am_cv_ar_interface+:} false; then :
4448 $as_echo_n "(cached) " >&6
4451 ac_cpp='$CPP $CPPFLAGS'
4452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4456 am_cv_ar_interface=ar
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4459 int some_variable = 0;
4461 if ac_fn_c_try_compile "$LINENO"; then :
4462 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4463 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4464 (eval $am_ar_try) 2>&5
4466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4467 test $ac_status = 0; }
4468 if test "$ac_status" -eq 0; then
4469 am_cv_ar_interface=ar
4471 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4472 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4473 (eval $am_ar_try) 2>&5
4475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4476 test $ac_status = 0; }
4477 if test "$ac_status" -eq 0; then
4478 am_cv_ar_interface=lib
4480 am_cv_ar_interface=unknown
4483 rm -f conftest.lib libconftest.a
4486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4488 ac_cpp='$CPP $CPPFLAGS'
4489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4495 $as_echo "$am_cv_ar_interface" >&6; }
4497 case $am_cv_ar_interface in
4501 # Microsoft lib, so override with the ar-lib wrapper script.
4502 # FIXME: It is wrong to rewrite AR.
4503 # But if we don't then we get into trouble of one sort or another.
4504 # A longer-term fix would be to have automake use am__AR in this case,
4505 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4507 AR="$am_aux_dir/ar-lib $AR"
4510 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4518 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4523 macro_version='2.4.2'
4524 macro_revision='1.3337'
4538 ltmain="$ac_aux_dir/ltmain.sh"
4540 # Make sure we can run config.sub.
4541 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4542 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4545 $as_echo_n "checking build system type... " >&6; }
4546 if ${ac_cv_build+:} false; then :
4547 $as_echo_n "(cached) " >&6
4549 ac_build_alias=$build_alias
4550 test "x$ac_build_alias" = x &&
4551 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4552 test "x$ac_build_alias" = x &&
4553 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4554 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4555 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4559 $as_echo "$ac_cv_build" >&6; }
4560 case $ac_cv_build in
4562 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4565 ac_save_IFS=$IFS; IFS='-'
4571 # Remember, the first character of IFS is used to create $*,
4572 # except with old shells:
4575 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4579 $as_echo_n "checking host system type... " >&6; }
4580 if ${ac_cv_host+:} false; then :
4581 $as_echo_n "(cached) " >&6
4583 if test "x$host_alias" = x; then
4584 ac_cv_host=$ac_cv_build
4586 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4587 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4592 $as_echo "$ac_cv_host" >&6; }
4595 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4598 ac_save_IFS=$IFS; IFS='-'
4604 # Remember, the first character of IFS is used to create $*,
4605 # except with old shells:
4608 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4611 # Backslashify metacharacters that are still active within
4612 # double-quoted strings.
4613 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4615 # Same as above, but do not quote variable references.
4616 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4618 # Sed substitution to delay expansion of an escaped shell variable in a
4619 # double_quote_subst'ed string.
4620 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4622 # Sed substitution to delay expansion of an escaped single quote.
4623 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4625 # Sed substitution to avoid accidental globbing in evaled expressions
4626 no_glob_subst='s/\*/\\\*/g'
4628 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4629 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4630 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4633 $as_echo_n "checking how to print
strings...
" >&6; }
4634 # Test print first, because it will be a builtin if present.
4635 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4636 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4638 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4641 # Use this function as a fallback that always works.
4642 func_fallback_echo ()
4644 eval 'cat <<_LTECHO_EOF
4648 ECHO='func_fallback_echo'
4651 # func_echo_all arg...
4652 # Invoke $ECHO with all args, space-separated.
4659 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4660 $as_echo "printf" >&6; } ;;
4661 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4662 $as_echo "print
-r" >&6; } ;;
4663 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4664 $as_echo "cat" >&6; } ;;
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4681 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4682 if ${ac_cv_path_SED+:} false; then :
4683 $as_echo_n "(cached
) " >&6
4685 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4686 for ac_i in 1 2 3 4 5 6 7; do
4687 ac_script="$ac_script$as_nl$ac_script"
4689 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4690 { ac_script=; unset ac_script;}
4691 if test -z "$SED"; then
4692 ac_path_SED_found=false
4693 # Loop through the user's path and test for each of PROGNAME-LIST
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir=.
4699 for ac_prog in sed gsed; do
4700 for ac_exec_ext in '' $ac_executable_extensions; do
4701 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4702 as_fn_executable_p "$ac_path_SED" || continue
4703 # Check for GNU ac_path_SED and select it if it is found.
4704 # Check for GNU $ac_path_SED
4705 case `"$ac_path_SED" --version 2>&1` in
4707 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4710 $as_echo_n 0123456789 >"conftest.
in"
4713 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4714 mv "conftest.tmp
" "conftest.
in"
4715 cp "conftest.
in" "conftest.
nl"
4716 $as_echo '' >> "conftest.
nl"
4717 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4718 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4719 as_fn_arith $ac_count + 1 && ac_count=$as_val
4720 if test $ac_count -gt ${ac_path_SED_max-0}; then
4721 # Best one so far, save it but keep looking for a better one
4722 ac_cv_path_SED="$ac_path_SED"
4723 ac_path_SED_max=$ac_count
4725 # 10*(2^10) chars as input seems more than enough
4726 test $ac_count -gt 10 && break
4728 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4731 $ac_path_SED_found && break 3
4736 if test -z "$ac_cv_path_SED"; then
4737 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4745 $as_echo "$ac_cv_path_SED" >&6; }
4746 SED="$ac_cv_path_SED"
4749 test -z "$SED" && SED=sed
4750 Xsed="$SED -e 1s
/^X
//"
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4763 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4764 if ${ac_cv_path_GREP+:} false; then :
4765 $as_echo_n "(cached
) " >&6
4767 if test -z "$GREP"; then
4768 ac_path_GREP_found=false
4769 # Loop through the user's path and test for each of PROGNAME-LIST
4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4774 test -z "$as_dir" && as_dir=.
4775 for ac_prog in grep ggrep; do
4776 for ac_exec_ext in '' $ac_executable_extensions; do
4777 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4778 as_fn_executable_p "$ac_path_GREP" || continue
4779 # Check for GNU ac_path_GREP and select it if it is found.
4780 # Check for GNU $ac_path_GREP
4781 case `"$ac_path_GREP" --version 2>&1` in
4783 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4786 $as_echo_n 0123456789 >"conftest.
in"
4789 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4790 mv "conftest.tmp
" "conftest.
in"
4791 cp "conftest.
in" "conftest.
nl"
4792 $as_echo 'GREP' >> "conftest.
nl"
4793 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4794 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4795 as_fn_arith $ac_count + 1 && ac_count=$as_val
4796 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4797 # Best one so far, save it but keep looking for a better one
4798 ac_cv_path_GREP="$ac_path_GREP"
4799 ac_path_GREP_max=$ac_count
4801 # 10*(2^10) chars as input seems more than enough
4802 test $ac_count -gt 10 && break
4804 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4807 $ac_path_GREP_found && break 3
4812 if test -z "$ac_cv_path_GREP"; then
4813 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4816 ac_cv_path_GREP=$GREP
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4821 $as_echo "$ac_cv_path_GREP" >&6; }
4822 GREP="$ac_cv_path_GREP"
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4826 $as_echo_n "checking
for egrep...
" >&6; }
4827 if ${ac_cv_path_EGREP+:} false; then :
4828 $as_echo_n "(cached
) " >&6
4830 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4831 then ac_cv_path_EGREP="$GREP -E"
4833 if test -z "$EGREP"; then
4834 ac_path_EGREP_found=false
4835 # Loop through the user's path and test for each of PROGNAME-LIST
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4840 test -z "$as_dir" && as_dir=.
4841 for ac_prog in egrep; do
4842 for ac_exec_ext in '' $ac_executable_extensions; do
4843 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4844 as_fn_executable_p "$ac_path_EGREP" || continue
4845 # Check for GNU ac_path_EGREP and select it if it is found.
4846 # Check for GNU $ac_path_EGREP
4847 case `"$ac_path_EGREP" --version 2>&1` in
4849 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4852 $as_echo_n 0123456789 >"conftest.
in"
4855 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4856 mv "conftest.tmp
" "conftest.
in"
4857 cp "conftest.
in" "conftest.
nl"
4858 $as_echo 'EGREP' >> "conftest.
nl"
4859 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4860 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4861 as_fn_arith $ac_count + 1 && ac_count=$as_val
4862 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4863 # Best one so far, save it but keep looking for a better one
4864 ac_cv_path_EGREP="$ac_path_EGREP"
4865 ac_path_EGREP_max=$ac_count
4867 # 10*(2^10) chars as input seems more than enough
4868 test $ac_count -gt 10 && break
4870 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4873 $ac_path_EGREP_found && break 3
4878 if test -z "$ac_cv_path_EGREP"; then
4879 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4882 ac_cv_path_EGREP=$EGREP
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4888 $as_echo "$ac_cv_path_EGREP" >&6; }
4889 EGREP="$ac_cv_path_EGREP"
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4893 $as_echo_n "checking
for fgrep...
" >&6; }
4894 if ${ac_cv_path_FGREP+:} false; then :
4895 $as_echo_n "(cached
) " >&6
4897 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4898 then ac_cv_path_FGREP="$GREP -F"
4900 if test -z "$FGREP"; then
4901 ac_path_FGREP_found=false
4902 # Loop through the user's path and test for each of PROGNAME-LIST
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4907 test -z "$as_dir" && as_dir=.
4908 for ac_prog in fgrep; do
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4911 as_fn_executable_p "$ac_path_FGREP" || continue
4912 # Check for GNU ac_path_FGREP and select it if it is found.
4913 # Check for GNU $ac_path_FGREP
4914 case `"$ac_path_FGREP" --version 2>&1` in
4916 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4919 $as_echo_n 0123456789 >"conftest.
in"
4922 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4923 mv "conftest.tmp
" "conftest.
in"
4924 cp "conftest.
in" "conftest.
nl"
4925 $as_echo 'FGREP' >> "conftest.
nl"
4926 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4927 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4928 as_fn_arith $ac_count + 1 && ac_count=$as_val
4929 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4930 # Best one so far, save it but keep looking for a better one
4931 ac_cv_path_FGREP="$ac_path_FGREP"
4932 ac_path_FGREP_max=$ac_count
4934 # 10*(2^10) chars as input seems more than enough
4935 test $ac_count -gt 10 && break
4937 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4940 $ac_path_FGREP_found && break 3
4945 if test -z "$ac_cv_path_FGREP"; then
4946 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4949 ac_cv_path_FGREP=$FGREP
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4955 $as_echo "$ac_cv_path_FGREP" >&6; }
4956 FGREP="$ac_cv_path_FGREP"
4959 test -z "$GREP" && GREP=grep
4979 # Check whether --with-gnu-ld was given.
4980 if test "${with_gnu_ld+set}" = set; then :
4981 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4987 if test "$GCC" = yes; then
4988 # Check if gcc -print-prog-name=ld gives a path.
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4990 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4993 # gcc leaves a trailing carriage return which upsets mingw
4994 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4996 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4999 # Accept absolute paths.
5001 re_direlt='/[^/][^/]*/\.\./'
5002 # Canonicalize the pathname of ld
5003 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5004 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5005 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5007 test -z "$LD" && LD="$ac_prog"
5010 # If it fails, then pretend we aren't using GCC.
5014 # If it is relative, then search for the first ld in PATH.
5018 elif test "$with_gnu_ld" = yes; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5020 $as_echo_n "checking
for GNU ld...
" >&6; }
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5023 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5025 if ${lt_cv_path_LD+:} false; then :
5026 $as_echo_n "(cached
) " >&6
5028 if test -z "$LD"; then
5029 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5030 for ac_dir in $PATH; do
5032 test -z "$ac_dir" && ac_dir=.
5033 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5034 lt_cv_path_LD="$ac_dir/$ac_prog"
5035 # Check to see if the program is GNU ld. I'd rather use --version,
5036 # but apparently some variants of GNU ld only accept -v.
5037 # Break only if it was the GNU/non-GNU ld that we prefer.
5038 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5039 *GNU* | *'with BFD'*)
5040 test "$with_gnu_ld" != no && break
5043 test "$with_gnu_ld" != yes && break
5050 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5055 if test -n "$LD"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5057 $as_echo "$LD" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5060 $as_echo "no
" >&6; }
5062 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5064 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5065 if ${lt_cv_prog_gnu_ld+:} false; then :
5066 $as_echo_n "(cached
) " >&6
5068 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5069 case `$LD -v 2>&1 </dev/null` in
5070 *GNU* | *'with BFD'*)
5071 lt_cv_prog_gnu_ld=yes
5074 lt_cv_prog_gnu_ld=no
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5079 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5080 with_gnu_ld=$lt_cv_prog_gnu_ld
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5091 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5092 if ${lt_cv_path_NM+:} false; then :
5093 $as_echo_n "(cached
) " >&6
5095 if test -n "$NM"; then
5096 # Let the user override the test.
5099 lt_nm_to_check="${ac_tool_prefix}nm
"
5100 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5101 lt_nm_to_check="$lt_nm_to_check nm
"
5103 for lt_tmp_nm in $lt_nm_to_check; do
5104 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5105 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5107 test -z "$ac_dir" && ac_dir=.
5108 tmp_nm="$ac_dir/$lt_tmp_nm"
5109 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5110 # Check to see if the nm accepts a BSD-compat flag.
5111 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5112 # nm: unknown option "B
" ignored
5113 # Tru64's nm complains that /dev/null is an invalid object file
5114 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5115 */dev/null* | *'Invalid file or object type'*)
5116 lt_cv_path_NM="$tmp_nm -B"
5120 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5122 lt_cv_path_NM="$tmp_nm -p"
5126 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5127 continue # so that we can try to find one that supports BSD flags
5136 : ${lt_cv_path_NM=no}
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5140 $as_echo "$lt_cv_path_NM" >&6; }
5141 if test "$lt_cv_path_NM" != "no
"; then
5144 # Didn't find any BSD compatible name lister, look for dumpbin.
5145 if test -n "$DUMPBIN"; then :
5146 # Let the user override the test.
5148 if test -n "$ac_tool_prefix"; then
5149 for ac_prog in dumpbin "link
-dump"
5151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5154 $as_echo_n "checking
for $ac_word...
" >&6; }
5155 if ${ac_cv_prog_DUMPBIN+:} false; then :
5156 $as_echo_n "(cached
) " >&6
5158 if test -n "$DUMPBIN"; then
5159 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir=.
5166 for ac_exec_ext in '' $ac_executable_extensions; do
5167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5168 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5178 DUMPBIN=$ac_cv_prog_DUMPBIN
5179 if test -n "$DUMPBIN"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5181 $as_echo "$DUMPBIN" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5184 $as_echo "no
" >&6; }
5188 test -n "$DUMPBIN" && break
5191 if test -z "$DUMPBIN"; then
5192 ac_ct_DUMPBIN=$DUMPBIN
5193 for ac_prog in dumpbin "link
-dump"
5195 # Extract the first word of "$ac_prog", so it can be a program name with args.
5196 set dummy $ac_prog; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5198 $as_echo_n "checking
for $ac_word...
" >&6; }
5199 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5200 $as_echo_n "(cached
) " >&6
5202 if test -n "$ac_ct_DUMPBIN"; then
5203 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5212 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5222 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5223 if test -n "$ac_ct_DUMPBIN"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5225 $as_echo "$ac_ct_DUMPBIN" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5228 $as_echo "no
" >&6; }
5232 test -n "$ac_ct_DUMPBIN" && break
5235 if test "x
$ac_ct_DUMPBIN" = x; then
5238 case $cross_compiling:$ac_tool_warned in
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5241 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5242 ac_tool_warned=yes ;;
5244 DUMPBIN=$ac_ct_DUMPBIN
5248 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5250 DUMPBIN="$DUMPBIN -symbols"
5258 if test "$DUMPBIN" != ":"; then
5262 test -z "$NM" && NM=nm
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5270 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5271 if ${lt_cv_nm_interface+:} false; then :
5272 $as_echo_n "(cached
) " >&6
5274 lt_cv_nm_interface="BSD nm
"
5275 echo "int some_variable
= 0;" > conftest.$ac_ext
5276 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5277 (eval "$ac_compile" 2>conftest.err)
5278 cat conftest.err >&5
5279 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5280 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5281 cat conftest.err >&5
5282 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5283 cat conftest.out >&5
5284 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5285 lt_cv_nm_interface="MS dumpbin
"
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5290 $as_echo "$lt_cv_nm_interface" >&6; }
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5293 $as_echo_n "checking whether
ln -s works...
" >&6; }
5295 if test "$LN_S" = "ln -s"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5297 $as_echo "yes" >&6; }
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5300 $as_echo "no
, using
$LN_S" >&6; }
5303 # find the maximum length of command line arguments
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5305 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5306 if ${lt_cv_sys_max_cmd_len+:} false; then :
5307 $as_echo_n "(cached
) " >&6
5314 # On DJGPP, this test can blow up pretty badly due to problems in libc
5315 # (any single argument exceeding 2000 bytes causes a buffer overrun
5316 # during glob expansion). Even if it were fixed, the result of this
5317 # check would be larger than it should be.
5318 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5322 # Under GNU Hurd, this test is not required because there is
5323 # no limit to the length of command line arguments.
5324 # Libtool will interpret -1 as no limit whatsoever
5325 lt_cv_sys_max_cmd_len=-1;
5328 cygwin* | mingw* | cegcc*)
5329 # On Win9x/ME, this test blows up -- it succeeds, but takes
5330 # about 5 minutes as the teststring grows exponentially.
5331 # Worse, since 9x/ME are not pre-emptively multitasking,
5332 # you end up with a "frozen
" computer, even though with patience
5333 # the test eventually succeeds (with a max line length of 256k).
5334 # Instead, let's just punt: use the minimum linelength reported by
5335 # all of the supported platforms: 8192 (on NT/2K/XP).
5336 lt_cv_sys_max_cmd_len=8192;
5340 # On MiNT this can take a long time and run out of memory.
5341 lt_cv_sys_max_cmd_len=8192;
5345 # On AmigaOS with pdksh, this test takes hours, literally.
5346 # So we just punt and use a minimum line length of 8192.
5347 lt_cv_sys_max_cmd_len=8192;
5350 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5351 # This has been around since 386BSD, at least. Likely further.
5352 if test -x /sbin/sysctl; then
5353 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5354 elif test -x /usr/sbin/sysctl; then
5355 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5357 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5359 # And add a safety zone
5360 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5361 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5365 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5366 lt_cv_sys_max_cmd_len=196608
5370 # The test takes a long time on OS/2.
5371 lt_cv_sys_max_cmd_len=8192
5375 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5376 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5377 # nice to cause kernel panics so lets avoid the loop below.
5378 # First set a reasonable default.
5379 lt_cv_sys_max_cmd_len=16384
5381 if test -x /sbin/sysconfig; then
5382 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5383 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5388 lt_cv_sys_max_cmd_len=102400
5390 sysv5* | sco5v6* | sysv4.2uw2*)
5391 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5392 if test -n "$kargmax"; then
5393 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5395 lt_cv_sys_max_cmd_len=32768
5399 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5400 if test -n "$lt_cv_sys_max_cmd_len" && \
5401 test undefined != "$lt_cv_sys_max_cmd_len"; then
5402 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5403 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5405 # Make teststring a little bigger before we do anything with it.
5406 # a 1K string should be a reasonable start.
5407 for i in 1 2 3 4 5 6 7 8 ; do
5408 teststring=$teststring$teststring
5410 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5411 # If test is not a shell built-in, we'll probably end up computing a
5412 # maximum length that is only half of the actual maximum length, but
5414 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5415 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5416 test $i != 17 # 1/2 MB should be enough
5419 teststring=$teststring$teststring
5421 # Only check the string length outside the loop.
5422 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5424 # Add a significant safety factor because C++ compilers can tack on
5425 # massive amounts of additional arguments before passing them to the
5426 # linker. It appears as though 1/2 is a usable value.
5427 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5434 if test -n $lt_cv_sys_max_cmd_len ; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5436 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5439 $as_echo "none
" >&6; }
5441 max_cmd_len=$lt_cv_sys_max_cmd_len
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5453 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5454 # Try some XSI features
5457 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5459 && eval 'test $(( 1 + 1 )) -eq 2 \
5460 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5463 $as_echo "$xsi_shell" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5467 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5469 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5471 && lt_shell_append=yes
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5473 $as_echo "$lt_shell_append" >&6; }
5476 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5486 # test EBCDIC or ASCII
5487 case `echo X|tr X '\101'` in
5488 A) # ASCII based system
5489 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5490 lt_SP2NL='tr \040 \012'
5491 lt_NL2SP='tr \015\012 \040\040'
5493 *) # EBCDIC based system
5494 lt_SP2NL='tr \100 \n'
5495 lt_NL2SP='tr \r\n \100\100'
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5508 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5509 if ${lt_cv_to_host_file_cmd+:} false; then :
5510 $as_echo_n "(cached
) " >&6
5515 *-*-mingw* ) # actually msys
5516 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5519 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5521 * ) # otherwise, assume *nix
5522 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5528 *-*-mingw* ) # actually msys
5529 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5532 lt_cv_to_host_file_cmd=func_convert_file_noop
5534 * ) # otherwise, assume *nix
5535 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5539 * ) # unhandled hosts (and "normal
" native builds)
5540 lt_cv_to_host_file_cmd=func_convert_file_noop
5546 to_host_file_cmd=$lt_cv_to_host_file_cmd
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5548 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5555 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5556 if ${lt_cv_to_tool_file_cmd+:} false; then :
5557 $as_echo_n "(cached
) " >&6
5559 #assume ordinary cross tools, or native build.
5560 lt_cv_to_tool_file_cmd=func_convert_file_noop
5564 *-*-mingw* ) # actually msys
5565 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5573 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5575 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5582 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5583 if ${lt_cv_ld_reload_flag+:} false; then :
5584 $as_echo_n "(cached
) " >&6
5586 lt_cv_ld_reload_flag='-r'
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5589 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5590 reload_flag=$lt_cv_ld_reload_flag
5591 case $reload_flag in
5593 *) reload_flag=" $reload_flag" ;;
5595 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5597 cygwin* | mingw* | pw32* | cegcc*)
5598 if test "$GCC" != yes; then
5603 if test "$GCC" = yes; then
5604 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5606 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5619 if test -n "$ac_tool_prefix"; then
5620 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5621 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5623 $as_echo_n "checking
for $ac_word...
" >&6; }
5624 if ${ac_cv_prog_OBJDUMP+:} false; then :
5625 $as_echo_n "(cached
) " >&6
5627 if test -n "$OBJDUMP"; then
5628 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5637 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5647 OBJDUMP=$ac_cv_prog_OBJDUMP
5648 if test -n "$OBJDUMP"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5650 $as_echo "$OBJDUMP" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5653 $as_echo "no
" >&6; }
5658 if test -z "$ac_cv_prog_OBJDUMP"; then
5659 ac_ct_OBJDUMP=$OBJDUMP
5660 # Extract the first word of "objdump
", so it can be a program name with args.
5661 set dummy objdump; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5663 $as_echo_n "checking
for $ac_word...
" >&6; }
5664 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5665 $as_echo_n "(cached
) " >&6
5667 if test -n "$ac_ct_OBJDUMP"; then
5668 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5687 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5688 if test -n "$ac_ct_OBJDUMP"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5690 $as_echo "$ac_ct_OBJDUMP" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5693 $as_echo "no
" >&6; }
5696 if test "x
$ac_ct_OBJDUMP" = x; then
5699 case $cross_compiling:$ac_tool_warned in
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5702 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5703 ac_tool_warned=yes ;;
5705 OBJDUMP=$ac_ct_OBJDUMP
5708 OBJDUMP="$ac_cv_prog_OBJDUMP"
5711 test -z "$OBJDUMP" && OBJDUMP=objdump
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5722 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5723 if ${lt_cv_deplibs_check_method+:} false; then :
5724 $as_echo_n "(cached
) " >&6
5726 lt_cv_file_magic_cmd='$MAGIC_CMD'
5727 lt_cv_file_magic_test_file=
5728 lt_cv_deplibs_check_method='unknown'
5729 # Need to set the preceding variable on all platforms that support
5730 # interlibrary dependencies.
5731 # 'none' -- dependencies not supported.
5732 # `unknown' -- same as none, but documents that we really don't know.
5733 # 'pass_all' -- all dependencies passed with no checks.
5734 # 'test_compile' -- check by making test program.
5735 # 'file_magic [[regex]]' -- check by looking for files in library path
5736 # which responds to the $file_magic_cmd with a given extended regex.
5737 # If you have `file' or equivalent on your system and you're not sure
5738 # whether `pass_all' will *always* work, you probably want this one.
5742 lt_cv_deplibs_check_method=pass_all
5746 lt_cv_deplibs_check_method=pass_all
5750 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5751 lt_cv_file_magic_cmd='/usr/bin/file -L'
5752 lt_cv_file_magic_test_file=/shlib/libc.so
5756 # func_win32_libid is a shell function defined in ltmain.sh
5757 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5758 lt_cv_file_magic_cmd='func_win32_libid'
5762 # Base MSYS/MinGW do not provide the 'file' command needed by
5763 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5764 # unless we find 'file', for example because we are cross-compiling.
5765 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5766 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5767 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5768 lt_cv_file_magic_cmd='func_win32_libid'
5770 # Keep this pattern in sync with the one in func_win32_libid.
5771 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5772 lt_cv_file_magic_cmd='$OBJDUMP -f'
5777 # use the weaker test based on 'objdump'. See mingw*.
5778 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5779 lt_cv_file_magic_cmd='$OBJDUMP -f'
5782 darwin* | rhapsody*)
5783 lt_cv_deplibs_check_method=pass_all
5786 freebsd* | dragonfly*)
5787 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5790 # Not sure whether the presence of OpenBSD here was a mistake.
5791 # Let's accept both of them until this is cleared up.
5792 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5793 lt_cv_file_magic_cmd=/usr/bin/file
5794 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5798 lt_cv_deplibs_check_method=pass_all
5803 lt_cv_deplibs_check_method=pass_all
5806 hpux10.20* | hpux11*)
5807 lt_cv_file_magic_cmd=/usr/bin/file
5810 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5811 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5814 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]'
5815 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5818 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5819 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5825 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5826 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5829 irix5* | irix6* | nonstopux*)
5831 *-32|*"-32 ") libmagic=32-bit;;
5832 *-n32|*"-n32 ") libmagic=N32;;
5833 *-64|*"-64 ") libmagic=64-bit;;
5834 *) libmagic=never-match;;
5836 lt_cv_deplibs_check_method=pass_all
5839 # This must be glibc/ELF.
5840 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5841 lt_cv_deplibs_check_method=pass_all
5844 netbsd* | netbsdelf*-gnu)
5845 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5846 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5848 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5853 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5854 lt_cv_file_magic_cmd=/usr/bin/file
5855 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5859 lt_cv_deplibs_check_method=pass_all
5863 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5864 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5866 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5870 osf3* | osf4* | osf5*)
5871 lt_cv_deplibs_check_method=pass_all
5875 lt_cv_deplibs_check_method=pass_all
5879 lt_cv_deplibs_check_method=pass_all
5882 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5883 lt_cv_deplibs_check_method=pass_all
5887 case $host_vendor in
5889 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]'
5890 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5893 lt_cv_deplibs_check_method=pass_all
5896 lt_cv_file_magic_cmd='/bin/file'
5897 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5900 lt_cv_file_magic_cmd='/bin/file'
5901 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5902 lt_cv_file_magic_test_file=/lib/libc.so
5905 lt_cv_deplibs_check_method=pass_all
5908 lt_cv_deplibs_check_method=pass_all
5914 lt_cv_deplibs_check_method=pass_all
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5920 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5924 if test "$build" = "$host"; then
5927 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5930 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5936 file_magic_cmd=$lt_cv_file_magic_cmd
5937 deplibs_check_method=$lt_cv_deplibs_check_method
5938 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5961 if test -n "$ac_tool_prefix"; then
5962 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5963 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5965 $as_echo_n "checking
for $ac_word...
" >&6; }
5966 if ${ac_cv_prog_DLLTOOL+:} false; then :
5967 $as_echo_n "(cached
) " >&6
5969 if test -n "$DLLTOOL"; then
5970 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976 test -z "$as_dir" && as_dir=.
5977 for ac_exec_ext in '' $ac_executable_extensions; do
5978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5979 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5989 DLLTOOL=$ac_cv_prog_DLLTOOL
5990 if test -n "$DLLTOOL"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5992 $as_echo "$DLLTOOL" >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5995 $as_echo "no
" >&6; }
6000 if test -z "$ac_cv_prog_DLLTOOL"; then
6001 ac_ct_DLLTOOL=$DLLTOOL
6002 # Extract the first word of "dlltool
", so it can be a program name with args.
6003 set dummy dlltool; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6005 $as_echo_n "checking
for $ac_word...
" >&6; }
6006 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6007 $as_echo_n "(cached
) " >&6
6009 if test -n "$ac_ct_DLLTOOL"; then
6010 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6019 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6029 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6030 if test -n "$ac_ct_DLLTOOL"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6032 $as_echo "$ac_ct_DLLTOOL" >&6; }
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6035 $as_echo "no
" >&6; }
6038 if test "x
$ac_ct_DLLTOOL" = x; then
6041 case $cross_compiling:$ac_tool_warned in
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6044 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6045 ac_tool_warned=yes ;;
6047 DLLTOOL=$ac_ct_DLLTOOL
6050 DLLTOOL="$ac_cv_prog_DLLTOOL"
6053 test -z "$DLLTOOL" && DLLTOOL=dlltool
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6065 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6066 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6067 $as_echo_n "(cached
) " >&6
6069 lt_cv_sharedlib_from_linklib_cmd='unknown'
6072 cygwin* | mingw* | pw32* | cegcc*)
6073 # two different shell functions defined in ltmain.sh
6074 # decide which to use based on capabilities of $DLLTOOL
6075 case `$DLLTOOL --help 2>&1` in
6076 *--identify-strict*)
6077 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6080 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6085 # fallback: assume linklib IS sharedlib
6086 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6092 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6093 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6094 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6102 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6106 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6108 $as_echo_n "checking
for $ac_word...
" >&6; }
6109 if ${ac_cv_prog_AR+:} false; then :
6110 $as_echo_n "(cached
) " >&6
6112 if test -n "$AR"; then
6113 ac_cv_prog_AR="$AR" # Let the user override the test.
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6122 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6133 if test -n "$AR"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6135 $as_echo "$AR" >&6; }
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6138 $as_echo "no
" >&6; }
6142 test -n "$AR" && break
6145 if test -z "$AR"; then
6149 # Extract the first word of "$ac_prog", so it can be a program name with args.
6150 set dummy $ac_prog; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6152 $as_echo_n "checking
for $ac_word...
" >&6; }
6153 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6154 $as_echo_n "(cached
) " >&6
6156 if test -n "$ac_ct_AR"; then
6157 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6166 ac_cv_prog_ac_ct_AR="$ac_prog"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6176 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6177 if test -n "$ac_ct_AR"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6179 $as_echo "$ac_ct_AR" >&6; }
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6182 $as_echo "no
" >&6; }
6186 test -n "$ac_ct_AR" && break
6189 if test "x
$ac_ct_AR" = x; then
6192 case $cross_compiling:$ac_tool_warned in
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6195 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6196 ac_tool_warned=yes ;;
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6216 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6217 if ${lt_cv_ar_at_file+:} false; then :
6218 $as_echo_n "(cached
) " >&6
6221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6232 if ac_fn_c_try_compile "$LINENO"; then :
6233 echo conftest.$ac_objext > conftest.lst
6234 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6235 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6236 (eval $lt_ar_try) 2>&5
6238 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6239 test $ac_status = 0; }
6240 if test "$ac_status" -eq 0; then
6241 # Ensure the archiver fails upon bogus file names.
6242 rm -f conftest.$ac_objext libconftest.a
6243 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6244 (eval $lt_ar_try) 2>&5
6246 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6247 test $ac_status = 0; }
6248 if test "$ac_status" -ne 0; then
6252 rm -f conftest.* libconftest.a
6255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6259 $as_echo "$lt_cv_ar_at_file" >&6; }
6261 if test "x
$lt_cv_ar_at_file" = xno; then
6264 archiver_list_spec=$lt_cv_ar_at_file
6273 if test -n "$ac_tool_prefix"; then
6274 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6275 set dummy ${ac_tool_prefix}strip; ac_word=$2
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6277 $as_echo_n "checking
for $ac_word...
" >&6; }
6278 if ${ac_cv_prog_STRIP+:} false; then :
6279 $as_echo_n "(cached
) " >&6
6281 if test -n "$STRIP"; then
6282 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6301 STRIP=$ac_cv_prog_STRIP
6302 if test -n "$STRIP"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6304 $as_echo "$STRIP" >&6; }
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6307 $as_echo "no
" >&6; }
6312 if test -z "$ac_cv_prog_STRIP"; then
6314 # Extract the first word of "strip
", so it can be a program name with args.
6315 set dummy strip; ac_word=$2
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6317 $as_echo_n "checking
for $ac_word...
" >&6; }
6318 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6319 $as_echo_n "(cached
) " >&6
6321 if test -n "$ac_ct_STRIP"; then
6322 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6331 ac_cv_prog_ac_ct_STRIP="strip
"
6332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6341 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6342 if test -n "$ac_ct_STRIP"; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6344 $as_echo "$ac_ct_STRIP" >&6; }
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6347 $as_echo "no
" >&6; }
6350 if test "x
$ac_ct_STRIP" = x; then
6353 case $cross_compiling:$ac_tool_warned in
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6356 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6357 ac_tool_warned=yes ;;
6362 STRIP="$ac_cv_prog_STRIP"
6365 test -z "$STRIP" && STRIP=:
6372 if test -n "$ac_tool_prefix"; then
6373 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6374 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6376 $as_echo_n "checking
for $ac_word...
" >&6; }
6377 if ${ac_cv_prog_RANLIB+:} false; then :
6378 $as_echo_n "(cached
) " >&6
6380 if test -n "$RANLIB"; then
6381 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6390 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6391 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6400 RANLIB=$ac_cv_prog_RANLIB
6401 if test -n "$RANLIB"; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6403 $as_echo "$RANLIB" >&6; }
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6406 $as_echo "no
" >&6; }
6411 if test -z "$ac_cv_prog_RANLIB"; then
6412 ac_ct_RANLIB=$RANLIB
6413 # Extract the first word of "ranlib
", so it can be a program name with args.
6414 set dummy ranlib; ac_word=$2
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6416 $as_echo_n "checking
for $ac_word...
" >&6; }
6417 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6418 $as_echo_n "(cached
) " >&6
6420 if test -n "$ac_ct_RANLIB"; then
6421 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 test -z "$as_dir" && as_dir=.
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6430 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6440 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6441 if test -n "$ac_ct_RANLIB"; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6443 $as_echo "$ac_ct_RANLIB" >&6; }
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6446 $as_echo "no
" >&6; }
6449 if test "x
$ac_ct_RANLIB" = x; then
6452 case $cross_compiling:$ac_tool_warned in
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6455 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6456 ac_tool_warned=yes ;;
6458 RANLIB=$ac_ct_RANLIB
6461 RANLIB="$ac_cv_prog_RANLIB"
6464 test -z "$RANLIB" && RANLIB=:
6471 # Determine commands to create old-style static archives.
6472 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6473 old_postinstall_cmds='chmod 644 $oldlib'
6474 old_postuninstall_cmds=
6476 if test -n "$RANLIB"; then
6479 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6482 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6485 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6490 lock_old_archive_extraction=yes ;;
6492 lock_old_archive_extraction=no ;;
6533 # If no C compiler was specified, use CC.
6536 # If no C compiler flags were specified, use CFLAGS.
6537 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6539 # Allow CC to be a program name with arguments.
6543 # Check for command to grab the raw symbol name followed by C symbol from nm.
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6545 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6546 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6547 $as_echo_n "(cached
) " >&6
6550 # These are sane defaults that work on at least a few old systems.
6551 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6553 # Character class describing NM global symbol codes.
6554 symcode='[BCDEGRST]'
6556 # Regexp to match symbols that can be accessed directly from C.
6557 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6559 # Define system-specific variables.
6564 cygwin* | mingw* | pw32* | cegcc*)
6565 symcode='[ABCDGISTW]'
6568 if test "$host_cpu" = ia64; then
6569 symcode='[ABCDEGRST]'
6573 symcode='[BCDEGRST]'
6576 symcode='[BCDEGQRST]'
6587 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6595 # If we're using GNU nm, then use its standard symbol codes.
6596 case `$NM -V 2>&1` in
6597 *GNU* | *'with BFD'*)
6598 symcode='[ABCDGIRSTW]' ;;
6601 # Transform an extracted symbol line into a proper C declaration.
6602 # Some systems (esp. on ia64) link data and code symbols differently,
6603 # so use this general approach.
6604 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6606 # Transform an extracted symbol line into symbol name and symbol address
6607 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6608 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'"
6610 # Handle CRLF in mingw tool chain
6614 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6618 # Try without a prefix underscore, then with it.
6619 for ac_symprfx in "" "_
"; do
6621 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6622 symxfrm="\\1 $ac_symprfx\\2 \\2"
6624 # Write the raw and C identifiers.
6625 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6626 # Fake it for dumpbin and say T for any non-static function
6627 # and D for any global variable.
6628 # Also find C++ and __fastcall symbols from MSVC++,
6629 # which start with @ or ?.
6630 lt_cv_sys_global_symbol_pipe="$AWK '"\
6631 " {last_section=section; section=\$ 3};"\
6632 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6633 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6634 " \$ 0!~/External *\|/{next};"\
6635 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6636 " {if(hide[section]) next};"\
6637 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6638 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6639 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6640 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6641 " ' prfx
=^
$ac_symprfx"
6643 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6645 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6647 # Check to see that the pipe works correctly.
6651 cat > conftest.$ac_ext <<_LT_EOF
6656 void nm_test_func(void);
6657 void nm_test_func(void){}
6661 int main(){nm_test_var='a';nm_test_func();return(0);}
6664 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6665 (eval $ac_compile) 2>&5
6667 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6668 test $ac_status = 0; }; then
6669 # Now try to grab the symbols.
6671 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6672 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6674 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6675 test $ac_status = 0; } && test -s "$nlist"; then
6676 # Try sorting and uniquifying the output.
6677 if sort "$nlist" | uniq > "$nlist"T; then
6678 mv -f "$nlist"T "$nlist"
6683 # Make sure that we snagged all the symbols we need.
6684 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6685 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6686 cat <<_LT_EOF > conftest.$ac_ext
6687 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6688 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6689 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6690 relocations are performed -- see ld's documentation on pseudo-relocs. */
6691 # define LT_DLSYM_CONST
6692 #elif defined(__osf__)
6693 /* This system does not cope well with relocations in const data. */
6694 # define LT_DLSYM_CONST
6696 # define LT_DLSYM_CONST const
6704 # Now generate the symbol file.
6705 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6707 cat <<_LT_EOF >> conftest.$ac_ext
6709 /* The mapping between symbol names and symbols. */
6710 LT_DLSYM_CONST struct {
6714 lt__PROGRAM__LTX_preloaded_symbols[] =
6716 { "@PROGRAM@
", (void *) 0 },
6718 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6719 cat <<\_LT_EOF >> conftest.$ac_ext
6723 /* This works around a problem in FreeBSD linker */
6724 #ifdef FREEBSD_WORKAROUND
6725 static const void *lt_preloaded_setup() {
6726 return lt__PROGRAM__LTX_preloaded_symbols;
6734 # Now try linking the two files.
6735 mv conftest.$ac_objext conftstm.$ac_objext
6736 lt_globsym_save_LIBS=$LIBS
6737 lt_globsym_save_CFLAGS=$CFLAGS
6738 LIBS="conftstm.
$ac_objext"
6739 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6740 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6741 (eval $ac_link) 2>&5
6743 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6744 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6747 LIBS=$lt_globsym_save_LIBS
6748 CFLAGS=$lt_globsym_save_CFLAGS
6750 echo "cannot
find nm_test_func
in $nlist" >&5
6753 echo "cannot
find nm_test_var
in $nlist" >&5
6756 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6759 echo "$progname: failed program was
:" >&5
6760 cat conftest.$ac_ext >&5
6762 rm -rf conftest* conftst*
6764 # Do not use the global_symbol_pipe unless it works.
6765 if test "$pipe_works" = yes; then
6768 lt_cv_sys_global_symbol_pipe=
6774 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6775 lt_cv_sys_global_symbol_to_cdecl=
6777 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6779 $as_echo "failed
" >&6; }
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6782 $as_echo "ok
" >&6; }
6785 # Response file support.
6786 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6787 nm_file_list_spec='@'
6788 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6789 nm_file_list_spec='@'
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6819 $as_echo_n "checking
for sysroot...
" >&6; }
6821 # Check whether --with-sysroot was given.
6822 if test "${with_sysroot+set}" = set; then :
6823 withval=$with_sysroot;
6830 case ${with_sysroot} in #(
6832 if test "$GCC" = yes; then
6833 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6837 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6843 $as_echo "${with_sysroot}" >&6; }
6844 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6849 $as_echo "${lt_sysroot:-no}" >&6; }
6855 # Check whether --enable-libtool-lock was given.
6856 if test "${enable_libtool_lock+set}" = set; then :
6857 enableval=$enable_libtool_lock;
6860 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6862 # Some flags need to be propagated to the compiler or linker for good
6866 # Find out which ABI we are using.
6867 echo 'int i;' > conftest.$ac_ext
6868 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6869 (eval $ac_compile) 2>&5
6871 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6872 test $ac_status = 0; }; then
6873 case `/usr/bin/file conftest.$ac_objext` in
6885 # Find out which ABI we are using.
6886 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6887 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6888 (eval $ac_compile) 2>&5
6890 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6891 test $ac_status = 0; }; then
6892 if test "$lt_cv_prog_gnu_ld" = yes; then
6893 case `/usr/bin/file conftest.$ac_objext` in
6895 LD="${LD-ld} -melf32bsmip"
6898 LD="${LD-ld} -melf32bmipn32"
6901 LD="${LD-ld} -melf64bmip"
6905 case `/usr/bin/file conftest.$ac_objext` in
6921 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6922 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6923 # Find out which ABI we are using.
6924 echo 'int i;' > conftest.$ac_ext
6925 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 case `/usr/bin/file conftest.o` in
6933 x86_64-*kfreebsd*-gnu)
6934 LD="${LD-ld} -m elf_i386_fbsd
"
6937 case `/usr/bin/file conftest.o` in
6939 LD="${LD-ld} -m elf32_x86_64
"
6942 LD="${LD-ld} -m elf_i386
"
6947 LD="${LD-ld} -m elf32lppclinux
"
6950 LD="${LD-ld} -m elf32ppclinux
"
6953 LD="${LD-ld} -m elf_s390
"
6956 LD="${LD-ld} -m elf32_sparc
"
6962 x86_64-*kfreebsd*-gnu)
6963 LD="${LD-ld} -m elf_x86_64_fbsd
"
6966 LD="${LD-ld} -m elf_x86_64
"
6969 LD="${LD-ld} -m elf64lppc
"
6972 LD="${LD-ld} -m elf64ppc
"
6974 s390*-*linux*|s390*-*tpf*)
6975 LD="${LD-ld} -m elf64_s390
"
6978 LD="${LD-ld} -m elf64_sparc
"
6988 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6989 SAVE_CFLAGS="$CFLAGS"
6990 CFLAGS="$CFLAGS -belf"
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6992 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6993 if ${lt_cv_cc_needs_belf+:} false; then :
6994 $as_echo_n "(cached
) " >&6
6997 ac_cpp='$CPP $CPPFLAGS'
6998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7003 /* end confdefs.h. */
7013 if ac_fn_c_try_link "$LINENO"; then :
7014 lt_cv_cc_needs_belf=yes
7016 lt_cv_cc_needs_belf=no
7018 rm -f core conftest.err conftest.$ac_objext \
7019 conftest$ac_exeext conftest.$ac_ext
7021 ac_cpp='$CPP $CPPFLAGS'
7022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7028 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7029 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7030 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7031 CFLAGS="$SAVE_CFLAGS"
7035 # Find out which ABI we are using.
7036 echo 'int i;' > conftest.$ac_ext
7037 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7038 (eval $ac_compile) 2>&5
7040 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7041 test $ac_status = 0; }; then
7042 case `/usr/bin/file conftest.o` in
7044 case $lt_cv_prog_gnu_ld in
7048 LD="${LD-ld} -m elf_x86_64
"
7051 LD="${LD-ld} -m elf64_sparc
"
7054 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7055 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7060 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7072 need_locks="$enable_libtool_lock"
7074 if test -n "$ac_tool_prefix"; then
7075 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7076 set dummy ${ac_tool_prefix}mt; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7078 $as_echo_n "checking
for $ac_word...
" >&6; }
7079 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7080 $as_echo_n "(cached
) " >&6
7082 if test -n "$MANIFEST_TOOL"; then
7083 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir=.
7090 for ac_exec_ext in '' $ac_executable_extensions; do
7091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7102 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7103 if test -n "$MANIFEST_TOOL"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7105 $as_echo "$MANIFEST_TOOL" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7108 $as_echo "no
" >&6; }
7113 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7114 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7115 # Extract the first word of "mt
", so it can be a program name with args.
7116 set dummy mt; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7118 $as_echo_n "checking
for $ac_word...
" >&6; }
7119 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7120 $as_echo_n "(cached
) " >&6
7122 if test -n "$ac_ct_MANIFEST_TOOL"; then
7123 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir=.
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7142 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7143 if test -n "$ac_ct_MANIFEST_TOOL"; then
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7145 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7148 $as_echo "no
" >&6; }
7151 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7154 case $cross_compiling:$ac_tool_warned in
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7157 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7158 ac_tool_warned=yes ;;
7160 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7163 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7166 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7168 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7169 if ${lt_cv_path_mainfest_tool+:} false; then :
7170 $as_echo_n "(cached
) " >&6
7172 lt_cv_path_mainfest_tool=no
7173 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7174 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7175 cat conftest.err >&5
7176 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7177 lt_cv_path_mainfest_tool=yes
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7182 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7183 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7193 rhapsody* | darwin*)
7194 if test -n "$ac_tool_prefix"; then
7195 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7196 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7198 $as_echo_n "checking
for $ac_word...
" >&6; }
7199 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7200 $as_echo_n "(cached
) " >&6
7202 if test -n "$DSYMUTIL"; then
7203 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 test -z "$as_dir" && as_dir=.
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7212 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7222 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7223 if test -n "$DSYMUTIL"; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7225 $as_echo "$DSYMUTIL" >&6; }
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7228 $as_echo "no
" >&6; }
7233 if test -z "$ac_cv_prog_DSYMUTIL"; then
7234 ac_ct_DSYMUTIL=$DSYMUTIL
7235 # Extract the first word of "dsymutil
", so it can be a program name with args.
7236 set dummy dsymutil; ac_word=$2
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7238 $as_echo_n "checking
for $ac_word...
" >&6; }
7239 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7240 $as_echo_n "(cached
) " >&6
7242 if test -n "$ac_ct_DSYMUTIL"; then
7243 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 test -z "$as_dir" && as_dir=.
7250 for ac_exec_ext in '' $ac_executable_extensions; do
7251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7252 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7262 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7263 if test -n "$ac_ct_DSYMUTIL"; then
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7265 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7268 $as_echo "no
" >&6; }
7271 if test "x
$ac_ct_DSYMUTIL" = x; then
7274 case $cross_compiling:$ac_tool_warned in
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7277 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7278 ac_tool_warned=yes ;;
7280 DSYMUTIL=$ac_ct_DSYMUTIL
7283 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7286 if test -n "$ac_tool_prefix"; then
7287 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7288 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7290 $as_echo_n "checking
for $ac_word...
" >&6; }
7291 if ${ac_cv_prog_NMEDIT+:} false; then :
7292 $as_echo_n "(cached
) " >&6
7294 if test -n "$NMEDIT"; then
7295 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 test -z "$as_dir" && as_dir=.
7302 for ac_exec_ext in '' $ac_executable_extensions; do
7303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7304 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7314 NMEDIT=$ac_cv_prog_NMEDIT
7315 if test -n "$NMEDIT"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7317 $as_echo "$NMEDIT" >&6; }
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7320 $as_echo "no
" >&6; }
7325 if test -z "$ac_cv_prog_NMEDIT"; then
7326 ac_ct_NMEDIT=$NMEDIT
7327 # Extract the first word of "nmedit
", so it can be a program name with args.
7328 set dummy nmedit; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7330 $as_echo_n "checking
for $ac_word...
" >&6; }
7331 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7332 $as_echo_n "(cached
) " >&6
7334 if test -n "$ac_ct_NMEDIT"; then
7335 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7354 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7355 if test -n "$ac_ct_NMEDIT"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7357 $as_echo "$ac_ct_NMEDIT" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7360 $as_echo "no
" >&6; }
7363 if test "x
$ac_ct_NMEDIT" = x; then
7366 case $cross_compiling:$ac_tool_warned in
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7369 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7370 ac_tool_warned=yes ;;
7372 NMEDIT=$ac_ct_NMEDIT
7375 NMEDIT="$ac_cv_prog_NMEDIT"
7378 if test -n "$ac_tool_prefix"; then
7379 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7380 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7382 $as_echo_n "checking
for $ac_word...
" >&6; }
7383 if ${ac_cv_prog_LIPO+:} false; then :
7384 $as_echo_n "(cached
) " >&6
7386 if test -n "$LIPO"; then
7387 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7396 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7406 LIPO=$ac_cv_prog_LIPO
7407 if test -n "$LIPO"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7409 $as_echo "$LIPO" >&6; }
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7412 $as_echo "no
" >&6; }
7417 if test -z "$ac_cv_prog_LIPO"; then
7419 # Extract the first word of "lipo
", so it can be a program name with args.
7420 set dummy lipo; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7422 $as_echo_n "checking
for $ac_word...
" >&6; }
7423 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7424 $as_echo_n "(cached
) " >&6
7426 if test -n "$ac_ct_LIPO"; then
7427 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436 ac_cv_prog_ac_ct_LIPO="lipo
"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7446 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7447 if test -n "$ac_ct_LIPO"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7449 $as_echo "$ac_ct_LIPO" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7452 $as_echo "no
" >&6; }
7455 if test "x
$ac_ct_LIPO" = x; then
7458 case $cross_compiling:$ac_tool_warned in
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7461 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7462 ac_tool_warned=yes ;;
7467 LIPO="$ac_cv_prog_LIPO"
7470 if test -n "$ac_tool_prefix"; then
7471 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7472 set dummy ${ac_tool_prefix}otool; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7474 $as_echo_n "checking
for $ac_word...
" >&6; }
7475 if ${ac_cv_prog_OTOOL+:} false; then :
7476 $as_echo_n "(cached
) " >&6
7478 if test -n "$OTOOL"; then
7479 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7498 OTOOL=$ac_cv_prog_OTOOL
7499 if test -n "$OTOOL"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7501 $as_echo "$OTOOL" >&6; }
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7504 $as_echo "no
" >&6; }
7509 if test -z "$ac_cv_prog_OTOOL"; then
7511 # Extract the first word of "otool
", so it can be a program name with args.
7512 set dummy otool; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7514 $as_echo_n "checking
for $ac_word...
" >&6; }
7515 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7516 $as_echo_n "(cached
) " >&6
7518 if test -n "$ac_ct_OTOOL"; then
7519 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528 ac_cv_prog_ac_ct_OTOOL="otool
"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7538 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7539 if test -n "$ac_ct_OTOOL"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7541 $as_echo "$ac_ct_OTOOL" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7544 $as_echo "no
" >&6; }
7547 if test "x
$ac_ct_OTOOL" = x; then
7550 case $cross_compiling:$ac_tool_warned in
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7553 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7554 ac_tool_warned=yes ;;
7559 OTOOL="$ac_cv_prog_OTOOL"
7562 if test -n "$ac_tool_prefix"; then
7563 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7564 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7566 $as_echo_n "checking
for $ac_word...
" >&6; }
7567 if ${ac_cv_prog_OTOOL64+:} false; then :
7568 $as_echo_n "(cached
) " >&6
7570 if test -n "$OTOOL64"; then
7571 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7580 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7590 OTOOL64=$ac_cv_prog_OTOOL64
7591 if test -n "$OTOOL64"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7593 $as_echo "$OTOOL64" >&6; }
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7596 $as_echo "no
" >&6; }
7601 if test -z "$ac_cv_prog_OTOOL64"; then
7602 ac_ct_OTOOL64=$OTOOL64
7603 # Extract the first word of "otool64
", so it can be a program name with args.
7604 set dummy otool64; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7606 $as_echo_n "checking
for $ac_word...
" >&6; }
7607 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7608 $as_echo_n "(cached
) " >&6
7610 if test -n "$ac_ct_OTOOL64"; then
7611 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7630 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7631 if test -n "$ac_ct_OTOOL64"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7633 $as_echo "$ac_ct_OTOOL64" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7636 $as_echo "no
" >&6; }
7639 if test "x
$ac_ct_OTOOL64" = x; then
7642 case $cross_compiling:$ac_tool_warned in
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7645 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7646 ac_tool_warned=yes ;;
7648 OTOOL64=$ac_ct_OTOOL64
7651 OTOOL64="$ac_cv_prog_OTOOL64"
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7681 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7682 if ${lt_cv_apple_cc_single_mod+:} false; then :
7683 $as_echo_n "(cached
) " >&6
7685 lt_cv_apple_cc_single_mod=no
7686 if test -z "${LT_MULTI_MODULE}"; then
7687 # By default we will add the -single_module flag. You can override
7688 # by either setting the environment variable LT_MULTI_MODULE
7689 # non-empty at configure time, or by adding -multi_module to the
7691 rm -rf libconftest.dylib*
7692 echo "int foo
(void
){return 1;}" > conftest.c
7693 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7694 -dynamiclib -Wl,-single_module conftest.c
" >&5
7695 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7696 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7698 # If there is a non-empty error log, and "single_module
"
7699 # appears in it, assume the flag caused a linker warning
7700 if test -s conftest.err && $GREP single_module conftest.err; then
7701 cat conftest.err >&5
7702 # Otherwise, if the output was created with a 0 exit code from
7703 # the compiler, it worked.
7704 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7705 lt_cv_apple_cc_single_mod=yes
7707 cat conftest.err >&5
7709 rm -rf libconftest.dylib*
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7714 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7717 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7718 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7719 $as_echo_n "(cached
) " >&6
7721 lt_cv_ld_exported_symbols_list=no
7722 save_LDFLAGS=$LDFLAGS
7723 echo "_main
" > conftest.sym
7724 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7726 /* end confdefs.h. */
7736 if ac_fn_c_try_link "$LINENO"; then :
7737 lt_cv_ld_exported_symbols_list=yes
7739 lt_cv_ld_exported_symbols_list=no
7741 rm -f core conftest.err conftest.$ac_objext \
7742 conftest$ac_exeext conftest.$ac_ext
7743 LDFLAGS="$save_LDFLAGS"
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7747 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7750 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7751 if ${lt_cv_ld_force_load+:} false; then :
7752 $as_echo_n "(cached
) " >&6
7754 lt_cv_ld_force_load=no
7755 cat > conftest.c << _LT_EOF
7756 int forced_loaded() { return 2;}
7758 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7759 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7760 echo "$AR cru libconftest.a conftest.o
" >&5
7761 $AR cru libconftest.a conftest.o 2>&5
7762 echo "$RANLIB libconftest.a
" >&5
7763 $RANLIB libconftest.a 2>&5
7764 cat > conftest.c << _LT_EOF
7765 int main() { return 0;}
7767 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7768 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7770 if test -s conftest.err && $GREP force_load conftest.err; then
7771 cat conftest.err >&5
7772 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7773 lt_cv_ld_force_load=yes
7775 cat conftest.err >&5
7777 rm -f conftest.err libconftest.a conftest conftest.c
7778 rm -rf conftest.dSYM
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7782 $as_echo "$lt_cv_ld_force_load" >&6; }
7784 rhapsody* | darwin1.[012])
7785 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7787 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7788 darwin*) # darwin 5.x on
7789 # if running on 10.5 or later, the deployment target defaults
7790 # to the OS version, if on x86, and 10.4, the deployment
7791 # target defaults to 10.4. Don't you love it?
7792 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7793 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7794 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7796 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7798 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7802 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7803 _lt_dar_single_mod='$single_module'
7805 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7806 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7808 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7810 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7811 _lt_dsymutil='~$DSYMUTIL $lib || :'
7819 ac_cpp='$CPP $CPPFLAGS'
7820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7824 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7825 # On Suns, sometimes $CPP names a directory.
7826 if test -n "$CPP" && test -d "$CPP"; then
7829 if test -z "$CPP"; then
7830 if ${ac_cv_prog_CPP+:} false; then :
7831 $as_echo_n "(cached
) " >&6
7833 # Double quotes because CPP needs to be expanded
7834 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7837 for ac_c_preproc_warn_flag in '' yes
7839 # Use a header file that comes with gcc, so configuring glibc
7840 # with a fresh cross-compiler works.
7841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7842 # <limits.h> exists even on freestanding compilers.
7843 # On the NeXT, cc -E runs the code through the compiler's parser,
7844 # not just through cpp. "Syntax error
" is here to catch this case.
7845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7846 /* end confdefs.h. */
7848 # include <limits.h>
7850 # include <assert.h>
7854 if ac_fn_c_try_cpp "$LINENO"; then :
7857 # Broken: fails on valid input.
7860 rm -f conftest.err conftest.i conftest.$ac_ext
7862 # OK, works on sane cases. Now check whether nonexistent headers
7863 # can be detected and how.
7864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7866 #include <ac_nonexistent.h>
7868 if ac_fn_c_try_cpp "$LINENO"; then :
7869 # Broken: success on invalid input.
7872 # Passes both tests.
7876 rm -f conftest.err conftest.i conftest.$ac_ext
7879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7880 rm -f conftest.i conftest.err conftest.$ac_ext
7881 if $ac_preproc_ok; then :
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7894 $as_echo "$CPP" >&6; }
7896 for ac_c_preproc_warn_flag in '' yes
7898 # Use a header file that comes with gcc, so configuring glibc
7899 # with a fresh cross-compiler works.
7900 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7901 # <limits.h> exists even on freestanding compilers.
7902 # On the NeXT, cc -E runs the code through the compiler's parser,
7903 # not just through cpp. "Syntax error
" is here to catch this case.
7904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7905 /* end confdefs.h. */
7907 # include <limits.h>
7909 # include <assert.h>
7913 if ac_fn_c_try_cpp "$LINENO"; then :
7916 # Broken: fails on valid input.
7919 rm -f conftest.err conftest.i conftest.$ac_ext
7921 # OK, works on sane cases. Now check whether nonexistent headers
7922 # can be detected and how.
7923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7924 /* end confdefs.h. */
7925 #include <ac_nonexistent.h>
7927 if ac_fn_c_try_cpp "$LINENO"; then :
7928 # Broken: success on invalid input.
7931 # Passes both tests.
7935 rm -f conftest.err conftest.i conftest.$ac_ext
7938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7939 rm -f conftest.i conftest.err conftest.$ac_ext
7940 if $ac_preproc_ok; then :
7943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7945 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7946 See \`config.log' for more details
" "$LINENO" 5; }
7950 ac_cpp='$CPP $CPPFLAGS'
7951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7957 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7958 if ${ac_cv_header_stdc+:} false; then :
7959 $as_echo_n "(cached
) " >&6
7961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7962 /* end confdefs.h. */
7976 if ac_fn_c_try_compile "$LINENO"; then :
7977 ac_cv_header_stdc=yes
7979 ac_cv_header_stdc=no
7981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7983 if test $ac_cv_header_stdc = yes; then
7984 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7986 /* end confdefs.h. */
7990 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7991 $EGREP "memchr
" >/dev/null 2>&1; then :
7994 ac_cv_header_stdc=no
8000 if test $ac_cv_header_stdc = yes; then
8001 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8003 /* end confdefs.h. */
8007 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8008 $EGREP "free
" >/dev/null 2>&1; then :
8011 ac_cv_header_stdc=no
8017 if test $ac_cv_header_stdc = yes; then
8018 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8019 if test "$cross_compiling" = yes; then :
8022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8023 /* end confdefs.h. */
8026 #if ((' ' & 0x0FF) == 0x020)
8027 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8028 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8030 # define ISLOWER(c) \
8031 (('a' <= (c) && (c) <= 'i') \
8032 || ('j' <= (c) && (c) <= 'r') \
8033 || ('s' <= (c) && (c) <= 'z'))
8034 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8037 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8042 for (i = 0; i < 256; i++)
8043 if (XOR (islower (i), ISLOWER (i))
8044 || toupper (i) != TOUPPER (i))
8049 if ac_fn_c_try_run "$LINENO"; then :
8052 ac_cv_header_stdc=no
8054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8055 conftest.$ac_objext conftest.beam conftest.$ac_ext
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8061 $as_echo "$ac_cv_header_stdc" >&6; }
8062 if test $ac_cv_header_stdc = yes; then
8064 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8068 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8069 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8070 inttypes.h stdint.h unistd.h
8072 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8073 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8075 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8076 cat >>confdefs.h
<<_ACEOF
8077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8085 for ac_header
in dlfcn.h
8087 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8089 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8090 cat >>confdefs.h
<<_ACEOF
8091 #define HAVE_DLFCN_H 1
8104 # Check whether --enable-static was given.
8105 if test "${enable_static+set}" = set; then :
8106 enableval
=$enable_static; p
=${PACKAGE-default}
8108 yes) enable_static
=yes ;;
8109 no
) enable_static
=no
;;
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8114 for pkg
in $enableval; do
8116 if test "X$pkg" = "X$p"; then
8140 # Check whether --enable-shared was given.
8141 if test "${enable_shared+set}" = set; then :
8142 enableval
=$enable_shared; p
=${PACKAGE-default}
8144 yes) enable_shared
=yes ;;
8145 no
) enable_shared
=no
;;
8148 # Look at the argument we got. We use all the common list separators.
8149 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8150 for pkg
in $enableval; do
8152 if test "X$pkg" = "X$p"; then
8173 # Check whether --with-pic was given.
8174 if test "${with_pic+set}" = set; then :
8175 withval
=$with_pic; lt_p
=${PACKAGE-default}
8177 yes|no
) pic_mode
=$withval ;;
8180 # Look at the argument we got. We use all the common list separators.
8181 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8182 for lt_pkg
in $withval; do
8184 if test "X$lt_pkg" = "X$lt_p"; then
8196 test -z "$pic_mode" && pic_mode
=default
8204 # Check whether --enable-fast-install was given.
8205 if test "${enable_fast_install+set}" = set; then :
8206 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8208 yes) enable_fast_install
=yes ;;
8209 no
) enable_fast_install
=no
;;
8211 enable_fast_install
=no
8212 # Look at the argument we got. We use all the common list separators.
8213 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8214 for pkg
in $enableval; do
8216 if test "X$pkg" = "X$p"; then
8217 enable_fast_install
=yes
8224 enable_fast_install
=yes
8237 # This can be used to rebuild libtool when needed
8238 LIBTOOL_DEPS
="$ltmain"
8240 # Always use our own libtool.
8241 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8272 test -z "$LN_S" && LN_S
="ln -s"
8287 if test -n "${ZSH_VERSION+set}" ; then
8288 setopt NO_GLOB_SUBST
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8292 $as_echo_n "checking for objdir... " >&6; }
8293 if ${lt_cv_objdir+:} false
; then :
8294 $as_echo_n "(cached) " >&6
8296 rm -f .libs
2>/dev
/null
8297 mkdir .libs
2>/dev
/null
8298 if test -d .libs
; then
8301 # MS-DOS does not allow filenames that begin with a dot.
8304 rmdir .libs
2>/dev
/null
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8307 $as_echo "$lt_cv_objdir" >&6; }
8308 objdir
=$lt_cv_objdir
8314 cat >>confdefs.h
<<_ACEOF
8315 #define LT_OBJDIR "$lt_cv_objdir/"
8323 # AIX sometimes has problems with the GCC collect2 program. For some
8324 # reason, if we set the COLLECT_NAMES environment variable, the problems
8325 # vanish in a puff of smoke.
8326 if test "X${COLLECT_NAMES+set}" != Xset
; then
8328 export COLLECT_NAMES
8335 can_build_shared
=yes
8337 # All known linkers require a `.a' archive for static linking (except MSVC,
8338 # which needs '.lib').
8341 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8344 old_CFLAGS
="$CFLAGS"
8346 # Set sane defaults for various variables
8347 test -z "$CC" && CC
=cc
8348 test -z "$LTCC" && LTCC
=$CC
8349 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8350 test -z "$LD" && LD
=ld
8351 test -z "$ac_objext" && ac_objext
=o
8353 for cc_temp
in $compiler""; do
8355 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8356 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8361 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8364 # Only perform the check for file, if the check method requires it
8365 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8366 case $deplibs_check_method in
8368 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8370 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8371 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8372 $as_echo_n "(cached) " >&6
8376 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8379 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8380 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8381 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8382 for ac_dir
in $ac_dummy; do
8384 test -z "$ac_dir" && ac_dir
=.
8385 if test -f $ac_dir/${ac_tool_prefix}file; then
8386 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8387 if test -n "$file_magic_test_file"; then
8388 case $deplibs_check_method in
8390 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8391 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8392 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8393 $EGREP "$file_magic_regex" > /dev
/null
; then
8398 *** Warning: the command libtool uses to detect shared libraries,
8399 *** $file_magic_cmd, produces output that libtool cannot recognize.
8400 *** The result is that libtool may fail to recognize shared libraries
8401 *** as such. This will affect the creation of libtool libraries that
8402 *** depend on shared libraries, but programs linked with such libtool
8403 *** libraries will work regardless of this problem. Nevertheless, you
8404 *** may want to report the problem to your system manager and/or to
8405 *** bug-libtool@gnu.org
8415 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8420 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8421 if test -n "$MAGIC_CMD"; then
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8423 $as_echo "$MAGIC_CMD" >&6; }
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8426 $as_echo "no" >&6; }
8433 if test -z "$lt_cv_path_MAGIC_CMD"; then
8434 if test -n "$ac_tool_prefix"; then
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8436 $as_echo_n "checking for file... " >&6; }
8437 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8438 $as_echo_n "(cached) " >&6
8442 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8445 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8446 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8447 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8448 for ac_dir
in $ac_dummy; do
8450 test -z "$ac_dir" && ac_dir
=.
8451 if test -f $ac_dir/file; then
8452 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8453 if test -n "$file_magic_test_file"; then
8454 case $deplibs_check_method in
8456 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8457 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8458 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8459 $EGREP "$file_magic_regex" > /dev
/null
; then
8464 *** Warning: the command libtool uses to detect shared libraries,
8465 *** $file_magic_cmd, produces output that libtool cannot recognize.
8466 *** The result is that libtool may fail to recognize shared libraries
8467 *** as such. This will affect the creation of libtool libraries that
8468 *** depend on shared libraries, but programs linked with such libtool
8469 *** libraries will work regardless of this problem. Nevertheless, you
8470 *** may want to report the problem to your system manager and/or to
8471 *** bug-libtool@gnu.org
8481 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8486 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8487 if test -n "$MAGIC_CMD"; then
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8489 $as_echo "$MAGIC_CMD" >&6; }
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8492 $as_echo "no" >&6; }
8505 # Use C for the default configuration in the libtool script
8509 ac_cpp
='$CPP $CPPFLAGS'
8510 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8511 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8512 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8515 # Source file extension for C test sources.
8518 # Object file extension for compiled C test sources.
8522 # Code to be used in simple compile tests
8523 lt_simple_compile_test_code
="int some_variable = 0;"
8525 # Code to be used in simple link tests
8526 lt_simple_link_test_code
='int main(){return(0);}'
8534 # If no C compiler was specified, use CC.
8537 # If no C compiler flags were specified, use CFLAGS.
8538 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8540 # Allow CC to be a program name with arguments.
8543 # Save the default compiler, since it gets overwritten when the other
8544 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8545 compiler_DEFAULT
=$CC
8547 # save warnings/boilerplate of simple test code
8548 ac_outfile
=conftest.
$ac_objext
8549 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8550 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8551 _lt_compiler_boilerplate
=`cat conftest.err`
8554 ac_outfile
=conftest.
$ac_objext
8555 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8556 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8557 _lt_linker_boilerplate
=`cat conftest.err`
8562 ## There is no encapsulation within the following macros, do not change
8563 ## the running order or otherwise move them around unless you know exactly
8564 ## what you are doing...
8565 if test -n "$compiler"; then
8567 lt_prog_compiler_no_builtin_flag
=
8569 if test "$GCC" = yes; then
8570 case $cc_basename in
8572 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8574 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8578 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8579 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8580 $as_echo_n "(cached) " >&6
8582 lt_cv_prog_compiler_rtti_exceptions
=no
8583 ac_outfile
=conftest.
$ac_objext
8584 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8585 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8586 # Insert the option either (1) after the last *FLAGS variable, or
8587 # (2) before a word containing "conftest.", or (3) at the end.
8588 # Note that $ac_compile itself does not contain backslashes and begins
8589 # with a dollar sign (not a hyphen), so the echo should work correctly.
8590 # The option is referenced via a variable to avoid confusing sed.
8591 lt_compile
=`echo "$ac_compile" | $SED \
8592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8593 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8594 -e 's:$: $lt_compiler_flag:'`
8595 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8596 (eval "$lt_compile" 2>conftest.err
)
8598 cat conftest.err
>&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 if (exit $ac_status) && test -s "$ac_outfile"; then
8601 # The compiler can only warn and ignore the option if not recognized
8602 # So say no if there are warnings other than the usual output.
8603 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8604 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8605 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8606 lt_cv_prog_compiler_rtti_exceptions
=yes
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8613 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8615 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8616 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8628 lt_prog_compiler_wl
=
8629 lt_prog_compiler_pic
=
8630 lt_prog_compiler_static
=
8633 if test "$GCC" = yes; then
8634 lt_prog_compiler_wl
='-Wl,'
8635 lt_prog_compiler_static
='-static'
8639 # All AIX code is PIC.
8640 if test "$host_cpu" = ia64
; then
8641 # AIX 5 now supports IA64 processor
8642 lt_prog_compiler_static
='-Bstatic'
8649 # see comment about AmigaOS4 .so support
8650 lt_prog_compiler_pic
='-fPIC'
8653 # FIXME: we need at least 68020 code to build shared libraries, but
8654 # adding the `-m68020' flag to GCC prevents building anything better,
8656 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8661 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8662 # PIC is the default for these OSes.
8665 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8666 # This hack is so that the source file can tell whether it is being
8667 # built for inclusion in a dll (and should export symbols for example).
8668 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8669 # (--disable-auto-import) libraries
8670 lt_prog_compiler_pic
='-DDLL_EXPORT'
8673 darwin
* | rhapsody
*)
8674 # PIC is the default on this platform
8675 # Common symbols not allowed in MH_DYLIB files
8676 lt_prog_compiler_pic
='-fno-common'
8680 # PIC is the default for Haiku.
8681 # The "-static" flag exists, but is broken.
8682 lt_prog_compiler_static
=
8686 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8687 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8688 # sets the default TLS model and affects inlining.
8694 lt_prog_compiler_pic
='-fPIC'
8700 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8701 # Instead, we relocate shared libraries at runtime.
8705 # Just because we use GCC doesn't mean we suddenly get shared libraries
8706 # on systems that don't support them.
8707 lt_prog_compiler_can_build_shared
=no
8712 # QNX uses GNU C++, but need to define -shared option too, otherwise
8714 lt_prog_compiler_pic
='-fPIC -shared'
8718 if test -d /usr
/nec
; then
8719 lt_prog_compiler_pic
=-Kconform_pic
8724 lt_prog_compiler_pic
='-fPIC'
8728 case $cc_basename in
8729 nvcc
*) # Cuda Compiler Driver 2.2
8730 lt_prog_compiler_wl
='-Xlinker '
8731 if test -n "$lt_prog_compiler_pic"; then
8732 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8737 # PORTME Check for flag to pass linker flags through the system compiler.
8740 lt_prog_compiler_wl
='-Wl,'
8741 if test "$host_cpu" = ia64
; then
8742 # AIX 5 now supports IA64 processor
8743 lt_prog_compiler_static
='-Bstatic'
8745 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8749 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8750 # This hack is so that the source file can tell whether it is being
8751 # built for inclusion in a dll (and should export symbols for example).
8752 lt_prog_compiler_pic
='-DDLL_EXPORT'
8755 hpux9
* | hpux10
* | hpux11
*)
8756 lt_prog_compiler_wl
='-Wl,'
8757 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8764 lt_prog_compiler_pic
='+Z'
8767 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8768 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8771 irix5
* | irix6
* | nonstopux
*)
8772 lt_prog_compiler_wl
='-Wl,'
8773 # PIC (with -KPIC) is the default.
8774 lt_prog_compiler_static
='-non_shared'
8777 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8778 case $cc_basename in
8779 # old Intel for x86_64 which still supported -KPIC.
8781 lt_prog_compiler_wl
='-Wl,'
8782 lt_prog_compiler_pic
='-KPIC'
8783 lt_prog_compiler_static
='-static'
8785 # icc used to be incompatible with GCC.
8786 # ICC 10 doesn't accept -KPIC any more.
8788 lt_prog_compiler_wl
='-Wl,'
8789 lt_prog_compiler_pic
='-fPIC'
8790 lt_prog_compiler_static
='-static'
8792 # Lahey Fortran 8.1.
8794 lt_prog_compiler_wl
='-Wl,'
8795 lt_prog_compiler_pic
='--shared'
8796 lt_prog_compiler_static
='--static'
8799 # NAG Fortran compiler
8800 lt_prog_compiler_wl
='-Wl,-Wl,,'
8801 lt_prog_compiler_pic
='-PIC'
8802 lt_prog_compiler_static
='-Bstatic'
8804 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8805 # Portland Group compilers (*not* the Pentium gcc compiler,
8806 # which looks to be a dead project)
8807 lt_prog_compiler_wl
='-Wl,'
8808 lt_prog_compiler_pic
='-fpic'
8809 lt_prog_compiler_static
='-Bstatic'
8812 lt_prog_compiler_wl
='-Wl,'
8813 # All Alpha code is PIC.
8814 lt_prog_compiler_static
='-non_shared'
8816 xl
* | bgxl
* | bgf
* | mpixl
*)
8817 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8818 lt_prog_compiler_wl
='-Wl,'
8819 lt_prog_compiler_pic
='-qpic'
8820 lt_prog_compiler_static
='-qstaticlink'
8823 case `$CC -V 2>&1 | sed 5q` in
8824 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
8825 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8826 lt_prog_compiler_pic
='-KPIC'
8827 lt_prog_compiler_static
='-Bstatic'
8828 lt_prog_compiler_wl
=''
8830 *Sun\ F
* | *Sun
*Fortran
*)
8831 lt_prog_compiler_pic
='-KPIC'
8832 lt_prog_compiler_static
='-Bstatic'
8833 lt_prog_compiler_wl
='-Qoption ld '
8837 lt_prog_compiler_pic
='-KPIC'
8838 lt_prog_compiler_static
='-Bstatic'
8839 lt_prog_compiler_wl
='-Wl,'
8841 *Intel
*\
[CF
]*Compiler
*)
8842 lt_prog_compiler_wl
='-Wl,'
8843 lt_prog_compiler_pic
='-fPIC'
8844 lt_prog_compiler_static
='-static'
8847 lt_prog_compiler_wl
='-Wl,'
8848 lt_prog_compiler_pic
='-fpic'
8849 lt_prog_compiler_static
='-Bstatic'
8857 lt_prog_compiler_pic
='-KPIC'
8858 lt_prog_compiler_static
='-Bstatic'
8862 # QNX uses GNU C++, but need to define -shared option too, otherwise
8864 lt_prog_compiler_pic
='-fPIC -shared'
8867 osf3
* | osf4
* | osf5
*)
8868 lt_prog_compiler_wl
='-Wl,'
8869 # All OSF/1 code is PIC.
8870 lt_prog_compiler_static
='-non_shared'
8874 lt_prog_compiler_static
='-non_shared'
8878 lt_prog_compiler_pic
='-KPIC'
8879 lt_prog_compiler_static
='-Bstatic'
8880 case $cc_basename in
8881 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8882 lt_prog_compiler_wl
='-Qoption ld ';;
8884 lt_prog_compiler_wl
='-Wl,';;
8889 lt_prog_compiler_wl
='-Qoption ld '
8890 lt_prog_compiler_pic
='-PIC'
8891 lt_prog_compiler_static
='-Bstatic'
8894 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8895 lt_prog_compiler_wl
='-Wl,'
8896 lt_prog_compiler_pic
='-KPIC'
8897 lt_prog_compiler_static
='-Bstatic'
8901 if test -d /usr
/nec
;then
8902 lt_prog_compiler_pic
='-Kconform_pic'
8903 lt_prog_compiler_static
='-Bstatic'
8907 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8908 lt_prog_compiler_wl
='-Wl,'
8909 lt_prog_compiler_pic
='-KPIC'
8910 lt_prog_compiler_static
='-Bstatic'
8914 lt_prog_compiler_wl
='-Wl,'
8915 lt_prog_compiler_can_build_shared
=no
8919 lt_prog_compiler_pic
='-pic'
8920 lt_prog_compiler_static
='-Bstatic'
8924 lt_prog_compiler_can_build_shared
=no
8930 # For platforms which do not support PIC, -DPIC is meaningless:
8932 lt_prog_compiler_pic
=
8935 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8940 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8941 if ${lt_cv_prog_compiler_pic+:} false
; then :
8942 $as_echo_n "(cached) " >&6
8944 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8947 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8948 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8951 # Check to make sure the PIC flag actually works.
8953 if test -n "$lt_prog_compiler_pic"; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8955 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8956 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8957 $as_echo_n "(cached) " >&6
8959 lt_cv_prog_compiler_pic_works
=no
8960 ac_outfile
=conftest.
$ac_objext
8961 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8962 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8963 # Insert the option either (1) after the last *FLAGS variable, or
8964 # (2) before a word containing "conftest.", or (3) at the end.
8965 # Note that $ac_compile itself does not contain backslashes and begins
8966 # with a dollar sign (not a hyphen), so the echo should work correctly.
8967 # The option is referenced via a variable to avoid confusing sed.
8968 lt_compile
=`echo "$ac_compile" | $SED \
8969 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8970 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8971 -e 's:$: $lt_compiler_flag:'`
8972 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8973 (eval "$lt_compile" 2>conftest.err
)
8975 cat conftest.err
>&5
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 if (exit $ac_status) && test -s "$ac_outfile"; then
8978 # The compiler can only warn and ignore the option if not recognized
8979 # So say no if there are warnings other than the usual output.
8980 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8981 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8982 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8983 lt_cv_prog_compiler_pic_works
=yes
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8990 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8992 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8993 case $lt_prog_compiler_pic in
8995 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8998 lt_prog_compiler_pic
=
8999 lt_prog_compiler_can_build_shared
=no
9015 # Check to make sure the static flag actually works.
9017 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9019 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9020 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9021 $as_echo_n "(cached) " >&6
9023 lt_cv_prog_compiler_static_works
=no
9024 save_LDFLAGS
="$LDFLAGS"
9025 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9026 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9027 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9028 # The linker can only warn and ignore the option if not recognized
9029 # So say no if there are warnings
9030 if test -s conftest.err
; then
9031 # Append any errors to the config.log.
9032 cat conftest.err
1>&5
9033 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9034 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9035 if diff conftest.exp conftest.er2
>/dev
/null
; then
9036 lt_cv_prog_compiler_static_works
=yes
9039 lt_cv_prog_compiler_static_works
=yes
9043 LDFLAGS
="$save_LDFLAGS"
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9047 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9049 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9052 lt_prog_compiler_static
=
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9062 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9063 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9064 $as_echo_n "(cached) " >&6
9066 lt_cv_prog_compiler_c_o
=no
9067 $RM -r conftest
2>/dev
/null
9071 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9073 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9074 # Insert the option either (1) after the last *FLAGS variable, or
9075 # (2) before a word containing "conftest.", or (3) at the end.
9076 # Note that $ac_compile itself does not contain backslashes and begins
9077 # with a dollar sign (not a hyphen), so the echo should work correctly.
9078 lt_compile
=`echo "$ac_compile" | $SED \
9079 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9080 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9081 -e 's:$: $lt_compiler_flag:'`
9082 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9083 (eval "$lt_compile" 2>out
/conftest.err
)
9085 cat out
/conftest.err
>&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9089 # The compiler can only warn and ignore the option if not recognized
9090 # So say no if there are warnings
9091 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9092 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9093 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9094 lt_cv_prog_compiler_c_o
=yes
9099 # SGI C++ compiler will create directory out/ii_files/ for
9100 # template instantiation
9101 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9102 $RM out
/* && rmdir out
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9109 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9117 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9118 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9119 $as_echo_n "(cached) " >&6
9121 lt_cv_prog_compiler_c_o
=no
9122 $RM -r conftest
2>/dev
/null
9126 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9128 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9129 # Insert the option either (1) after the last *FLAGS variable, or
9130 # (2) before a word containing "conftest.", or (3) at the end.
9131 # Note that $ac_compile itself does not contain backslashes and begins
9132 # with a dollar sign (not a hyphen), so the echo should work correctly.
9133 lt_compile
=`echo "$ac_compile" | $SED \
9134 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9135 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9136 -e 's:$: $lt_compiler_flag:'`
9137 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9138 (eval "$lt_compile" 2>out
/conftest.err
)
9140 cat out
/conftest.err
>&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9144 # The compiler can only warn and ignore the option if not recognized
9145 # So say no if there are warnings
9146 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9147 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9148 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9149 lt_cv_prog_compiler_c_o
=yes
9154 # SGI C++ compiler will create directory out/ii_files/ for
9155 # template instantiation
9156 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9157 $RM out
/* && rmdir out
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9164 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9169 hard_links
="nottested"
9170 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9171 # do not overwrite the value of need_locks provided by the user
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9173 $as_echo_n "checking if we can lock with hard links... " >&6; }
9176 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9178 ln conftest.a conftest.b
2>&5 || hard_links
=no
9179 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9181 $as_echo "$hard_links" >&6; }
9182 if test "$hard_links" = no
; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9184 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9197 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9200 allow_undefined_flag
=
9201 always_export_symbols
=no
9203 archive_expsym_cmds
=
9204 compiler_needs_object
=no
9205 enable_shared_with_static_runtimes
=no
9206 export_dynamic_flag_spec
=
9207 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9208 hardcode_automatic
=no
9210 hardcode_direct_absolute
=no
9211 hardcode_libdir_flag_spec
=
9212 hardcode_libdir_separator
=
9214 hardcode_shlibpath_var
=unsupported
9216 link_all_deplibs
=unknown
9219 old_archive_from_new_cmds
=
9220 old_archive_from_expsyms_cmds
=
9221 thread_safe_flag_spec
=
9222 whole_archive_flag_spec
=
9223 # include_expsyms should be a list of space-separated symbols to be *always*
9224 # included in the symbol list
9226 # exclude_expsyms can be an extended regexp of symbols to exclude
9227 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9228 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9229 # as well as any symbol that contains `d'.
9230 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9231 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9232 # platforms (ab)use it in PIC code, but their linkers get confused if
9233 # the symbol is explicitly referenced. Since portable code cannot
9234 # rely on this symbol name, it's probably fine to never include it in
9235 # preloaded symbol tables.
9236 # Exclude shared library initialization/finalization symbols.
9237 extract_expsyms_cmds
=
9240 cygwin
* | mingw
* | pw32
* | cegcc
*)
9241 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9242 # When not using gcc, we currently assume that we are using
9243 # Microsoft Visual C++.
9244 if test "$GCC" != yes; then
9249 # we just hope/assume this is gcc and not c89 (= MSVC++)
9255 linux
* | k
*bsd
*-gnu | gnu
*)
9262 # On some targets, GNU ld is compatible enough with the native linker
9263 # that we're better off using the native interface for both.
9264 lt_use_gnu_ld_interface
=no
9265 if test "$with_gnu_ld" = yes; then
9268 # The AIX port of GNU ld has always aspired to compatibility
9269 # with the native linker. However, as the warning in the GNU ld
9270 # block says, versions before 2.19.5* couldn't really create working
9271 # shared libraries, regardless of the interface used.
9272 case `$LD -v 2>&1` in
9273 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9274 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9275 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9277 lt_use_gnu_ld_interface
=yes
9282 lt_use_gnu_ld_interface
=yes
9287 if test "$lt_use_gnu_ld_interface" = yes; then
9288 # If archive_cmds runs LD, not CC, wlarc should be empty
9291 # Set some defaults for GNU ld with shared library support. These
9292 # are reset later if shared libraries are not supported. Putting them
9293 # here allows them to be overridden if necessary.
9294 runpath_var
=LD_RUN_PATH
9295 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9296 export_dynamic_flag_spec
='${wl}--export-dynamic'
9297 # ancient GNU ld didn't support --whole-archive et. al.
9298 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9299 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9301 whole_archive_flag_spec
=
9303 supports_anon_versioning
=no
9304 case `$LD -v 2>&1` in
9305 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9306 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9307 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9308 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9309 *\
2.11.
*) ;; # other 2.11 versions
9310 *) supports_anon_versioning
=yes ;;
9313 # See if GNU ld supports shared libraries.
9316 # On AIX/PPC, the GNU linker is very broken
9317 if test "$host_cpu" != ia64
; then
9321 *** Warning: the GNU linker, at least up to release 2.19, is reported
9322 *** to be unable to reliably create shared libraries on AIX.
9323 *** Therefore, libtool is disabling shared libraries support. If you
9324 *** really care for shared libraries, you may want to install binutils
9325 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9326 *** You will then need to restart the configuration process.
9335 # see comment about AmigaOS4 .so support
9336 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337 archive_expsym_cmds
=''
9340 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)'
9341 hardcode_libdir_flag_spec
='-L$libdir'
9342 hardcode_minus_L
=yes
9348 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9349 allow_undefined_flag
=unsupported
9350 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9351 # support --undefined. This deserves some investigation. FIXME
9352 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9358 cygwin
* | mingw
* | pw32
* | cegcc
*)
9359 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9360 # as there is no search path for DLLs.
9361 hardcode_libdir_flag_spec
='-L$libdir'
9362 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9363 allow_undefined_flag
=unsupported
9364 always_export_symbols
=no
9365 enable_shared_with_static_runtimes
=yes
9366 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'
9367 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9369 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9370 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9371 # If the export-symbols file already is a .def file (1st line
9372 # is EXPORTS), use it as is; otherwise, prepend...
9373 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9374 cp $export_symbols $output_objdir/$soname.def;
9376 echo EXPORTS > $output_objdir/$soname.def;
9377 cat $export_symbols >> $output_objdir/$soname.def;
9379 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9386 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9387 link_all_deplibs
=yes
9392 hardcode_shlibpath_var
=no
9393 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9394 export_dynamic_flag_spec
='${wl}-E'
9395 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9396 # Instead, shared libraries are loaded at an image base (0x10000000 by
9397 # default) and relocated if they conflict, which is a slow very memory
9398 # consuming and fragmenting process. To avoid this, we pick a random,
9399 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9400 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9401 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9402 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'
9405 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9407 if test "$host_os" = linux
-dietlibc; then
9408 case $cc_basename in
9409 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9412 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9413 && test "$tmp_diet" = no
9415 tmp_addflag
=' $pic_flag'
9416 tmp_sharedflag
='-shared'
9417 case $cc_basename,$host_cpu in
9418 pgcc
*) # Portland Group C compiler
9419 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'
9420 tmp_addflag
=' $pic_flag'
9422 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9423 # Portland Group f77 and f90 compilers
9424 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'
9425 tmp_addflag
=' $pic_flag -Mnomain' ;;
9426 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9427 tmp_addflag
=' -i_dynamic' ;;
9428 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9429 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9430 ifc
* | ifort
*) # Intel Fortran compiler
9431 tmp_addflag
=' -nofor_main' ;;
9432 lf95
*) # Lahey Fortran 8.1
9433 whole_archive_flag_spec
=
9434 tmp_sharedflag
='--shared' ;;
9435 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9436 tmp_sharedflag
='-qmkshrobj'
9438 nvcc
*) # Cuda Compiler Driver 2.2
9439 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'
9440 compiler_needs_object
=yes
9443 case `$CC -V 2>&1 | sed 5q` in
9444 *Sun\ C
*) # Sun C 5.9
9445 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'
9446 compiler_needs_object
=yes
9447 tmp_sharedflag
='-G' ;;
9448 *Sun\ F
*) # Sun Fortran 8.3
9449 tmp_sharedflag
='-G' ;;
9451 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9453 if test "x$supports_anon_versioning" = xyes
; then
9454 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9455 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9456 echo "local: *; };" >> $output_objdir/$libname.ver~
9457 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9460 case $cc_basename in
9461 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9462 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9463 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9464 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9465 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9466 if test "x$supports_anon_versioning" = xyes
; then
9467 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9468 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9469 echo "local: *; };" >> $output_objdir/$libname.ver~
9470 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9479 netbsd
* | netbsdelf
*-gnu)
9480 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9481 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9484 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9485 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9490 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9494 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9495 *** create shared libraries on Solaris systems. Therefore, libtool
9496 *** is disabling shared libraries support. We urge you to upgrade GNU
9497 *** binutils to release 2.9.1 or newer. Another option is to modify
9498 *** your PATH or compiler configuration so that the native linker is
9499 *** used, and then restart.
9502 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9503 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9504 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9510 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9511 case `$LD -v 2>&1` in
9512 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9516 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9517 *** reliably create shared libraries on SCO systems. Therefore, libtool
9518 *** is disabling shared libraries support. We urge you to upgrade GNU
9519 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9520 *** your PATH or compiler configuration so that the native linker is
9521 *** used, and then restart.
9526 # For security reasons, it is highly recommended that you always
9527 # use absolute paths for naming shared libraries, and exclude the
9528 # DT_RUNPATH tag from executables and libraries. But doing so
9529 # requires that you compile everything twice, which is a pain.
9530 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9531 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9532 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9533 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9542 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9545 hardcode_shlibpath_var
=no
9549 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9550 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9551 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9558 if test "$ld_shlibs" = no
; then
9560 hardcode_libdir_flag_spec
=
9561 export_dynamic_flag_spec
=
9562 whole_archive_flag_spec
=
9565 # PORTME fill in a description of your system's linker (not GNU ld)
9568 allow_undefined_flag
=unsupported
9569 always_export_symbols
=yes
9570 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'
9571 # Note: this linker hardcodes the directories in LIBPATH if there
9572 # are no directories specified by -L.
9573 hardcode_minus_L
=yes
9574 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9575 # Neither direct hardcoding nor static linking is supported with a
9577 hardcode_direct
=unsupported
9582 if test "$host_cpu" = ia64
; then
9583 # On IA64, the linker does run time linking by default, so we don't
9584 # have to do anything special.
9585 aix_use_runtimelinking
=no
9586 exp_sym_flag
='-Bexport'
9589 # If we're using GNU nm, then we don't want the "-C" option.
9590 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9591 # Also, AIX nm treats weak defined symbols like other global
9592 # defined symbols, whereas GNU nm marks them as "W".
9593 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
9594 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'
9596 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'
9598 aix_use_runtimelinking
=no
9600 # Test if we are trying to use run time linking or normal
9601 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9602 # need to do runtime linking.
9603 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9604 for ld_flag
in $LDFLAGS; do
9605 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9606 aix_use_runtimelinking
=yes
9613 exp_sym_flag
='-bexport'
9614 no_entry_flag
='-bnoentry'
9617 # When large executables or shared objects are built, AIX ld can
9618 # have problems creating the table of contents. If linking a library
9619 # or program results in "error TOC overflow" add -mminimal-toc to
9620 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9621 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9625 hardcode_direct_absolute
=yes
9626 hardcode_libdir_separator
=':'
9627 link_all_deplibs
=yes
9628 file_list_spec
='${wl}-f,'
9630 if test "$GCC" = yes; then
9631 case $host_os in aix4.
[012]|aix4.
[012].
*)
9632 # We only want to do this on AIX 4.2 and lower, the check
9633 # below for broken collect2 doesn't work under 4.3+
9634 collect2name
=`${CC} -print-prog-name=collect2`
9635 if test -f "$collect2name" &&
9636 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
9638 # We have reworked collect2
9641 # We have old collect2
9642 hardcode_direct
=unsupported
9643 # It fails to find uninstalled libraries when the uninstalled
9644 # path is not listed in the libpath. Setting hardcode_minus_L
9645 # to unsupported forces relinking
9646 hardcode_minus_L
=yes
9647 hardcode_libdir_flag_spec
='-L$libdir'
9648 hardcode_libdir_separator
=
9652 shared_flag
='-shared'
9653 if test "$aix_use_runtimelinking" = yes; then
9654 shared_flag
="$shared_flag "'${wl}-G'
9659 if test "$host_cpu" = ia64
; then
9660 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9661 # chokes on -Wl,-G. The following line is correct:
9664 if test "$aix_use_runtimelinking" = yes; then
9665 shared_flag
='${wl}-G'
9667 shared_flag
='${wl}-bM:SRE'
9672 export_dynamic_flag_spec
='${wl}-bexpall'
9673 # It seems that -bexpall does not export symbols beginning with
9674 # underscore (_), so it is better to generate a list of symbols to export.
9675 always_export_symbols
=yes
9676 if test "$aix_use_runtimelinking" = yes; then
9677 # Warning - without using the other runtime loading flags (-brtl),
9678 # -berok will link without error, but may produce a broken library.
9679 allow_undefined_flag
='-berok'
9680 # Determine the default libpath from the value encoded in an
9682 if test "${lt_cv_aix_libpath+set}" = set; then
9683 aix_libpath
=$lt_cv_aix_libpath
9685 if ${lt_cv_aix_libpath_+:} false
; then :
9686 $as_echo_n "(cached) " >&6
9688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9689 /* end confdefs.h. */
9699 if ac_fn_c_try_link
"$LINENO"; then :
9701 lt_aix_libpath_sed
='
9702 /Import File Strings/,/^$/ {
9704 s/^0 *\([^ ]*\) *$/\1/
9708 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9709 # Check for a 64-bit object if we didn't find anything.
9710 if test -z "$lt_cv_aix_libpath_"; then
9711 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9714 rm -f core conftest.err conftest.
$ac_objext \
9715 conftest
$ac_exeext conftest.
$ac_ext
9716 if test -z "$lt_cv_aix_libpath_"; then
9717 lt_cv_aix_libpath_
="/usr/lib:/lib"
9722 aix_libpath
=$lt_cv_aix_libpath_
9725 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9726 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"
9728 if test "$host_cpu" = ia64
; then
9729 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9730 allow_undefined_flag
="-z nodefs"
9731 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"
9733 # Determine the default libpath from the value encoded in an
9735 if test "${lt_cv_aix_libpath+set}" = set; then
9736 aix_libpath
=$lt_cv_aix_libpath
9738 if ${lt_cv_aix_libpath_+:} false
; then :
9739 $as_echo_n "(cached) " >&6
9741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9742 /* end confdefs.h. */
9752 if ac_fn_c_try_link
"$LINENO"; then :
9754 lt_aix_libpath_sed
='
9755 /Import File Strings/,/^$/ {
9757 s/^0 *\([^ ]*\) *$/\1/
9761 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9762 # Check for a 64-bit object if we didn't find anything.
9763 if test -z "$lt_cv_aix_libpath_"; then
9764 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9767 rm -f core conftest.err conftest.
$ac_objext \
9768 conftest
$ac_exeext conftest.
$ac_ext
9769 if test -z "$lt_cv_aix_libpath_"; then
9770 lt_cv_aix_libpath_
="/usr/lib:/lib"
9775 aix_libpath
=$lt_cv_aix_libpath_
9778 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9779 # Warning - without using the other run time loading flags,
9780 # -berok will link without error, but may produce a broken library.
9781 no_undefined_flag
=' ${wl}-bernotok'
9782 allow_undefined_flag
=' ${wl}-berok'
9783 if test "$with_gnu_ld" = yes; then
9784 # We only use this code for GNU lds that support --whole-archive.
9785 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9787 # Exported symbols can be pulled into shared objects from archives
9788 whole_archive_flag_spec
='$convenience'
9790 archive_cmds_need_lc
=yes
9791 # This is similar to how AIX traditionally builds its shared libraries.
9792 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'
9800 # see comment about AmigaOS4 .so support
9801 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9802 archive_expsym_cmds
=''
9805 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)'
9806 hardcode_libdir_flag_spec
='-L$libdir'
9807 hardcode_minus_L
=yes
9813 export_dynamic_flag_spec
=-rdynamic
9816 cygwin
* | mingw
* | pw32
* | cegcc
*)
9817 # When not using gcc, we currently assume that we are using
9818 # Microsoft Visual C++.
9819 # hardcode_libdir_flag_spec is actually meaningless, as there is
9820 # no search path for DLLs.
9821 case $cc_basename in
9824 hardcode_libdir_flag_spec
=' '
9825 allow_undefined_flag
=unsupported
9826 always_export_symbols
=yes
9828 # Tell ltmain to make .lib files, not .a files.
9830 # Tell ltmain to make .dll files, not .so files.
9832 # FIXME: Setting linknames here is a bad hack.
9833 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9834 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9835 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9837 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9839 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9841 # The linker will not automatically build a static lib if we build a DLL.
9842 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9843 enable_shared_with_static_runtimes
=yes
9844 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9845 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9847 old_postinstall_cmds
='chmod 644 $oldlib'
9848 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9849 lt_tool_outputfile="@TOOL_OUTPUT@"~
9850 case $lt_outputfile in
9853 lt_outputfile="$lt_outputfile.exe"
9854 lt_tool_outputfile="$lt_tool_outputfile.exe"
9857 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9858 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9859 $RM "$lt_outputfile.manifest";
9863 # Assume MSVC wrapper
9864 hardcode_libdir_flag_spec
=' '
9865 allow_undefined_flag
=unsupported
9866 # Tell ltmain to make .lib files, not .a files.
9868 # Tell ltmain to make .dll files, not .so files.
9870 # FIXME: Setting linknames here is a bad hack.
9871 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9872 # The linker will automatically build a .lib file if we build a DLL.
9873 old_archive_from_new_cmds
='true'
9874 # FIXME: Should let the user specify the lib program.
9875 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9876 enable_shared_with_static_runtimes
=yes
9881 darwin
* | rhapsody
*)
9884 archive_cmds_need_lc
=no
9886 hardcode_automatic
=yes
9887 hardcode_shlibpath_var
=unsupported
9888 if test "$lt_cv_ld_force_load" = "yes"; then
9889 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\"`'
9892 whole_archive_flag_spec
=''
9894 link_all_deplibs
=yes
9895 allow_undefined_flag
="$_lt_dar_allow_undefined"
9896 case $cc_basename in
9897 ifort
*) _lt_dar_can_shared
=yes ;;
9898 *) _lt_dar_can_shared
=$GCC ;;
9900 if test "$_lt_dar_can_shared" = "yes"; then
9901 output_verbose_link_cmd
=func_echo_all
9902 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9903 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9904 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}"
9905 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}"
9914 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9915 hardcode_libdir_flag_spec
='-L$libdir'
9916 hardcode_shlibpath_var
=no
9919 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9920 # support. Future versions do this automatically, but an explicit c++rt0.o
9921 # does not break anything, and helps significantly (at the cost of a little
9924 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9925 hardcode_libdir_flag_spec
='-R$libdir'
9927 hardcode_shlibpath_var
=no
9930 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9932 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9934 hardcode_minus_L
=yes
9935 hardcode_shlibpath_var
=no
9938 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9939 freebsd
* | dragonfly
*)
9940 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9941 hardcode_libdir_flag_spec
='-R$libdir'
9943 hardcode_shlibpath_var
=no
9947 if test "$GCC" = yes; then
9948 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'
9950 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'
9952 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9953 hardcode_libdir_separator
=:
9956 # hardcode_minus_L: Not really in the search PATH,
9957 # but as the default location of the library.
9958 hardcode_minus_L
=yes
9959 export_dynamic_flag_spec
='${wl}-E'
9963 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9964 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9968 if test "$with_gnu_ld" = no
; then
9969 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9970 hardcode_libdir_separator
=:
9972 hardcode_direct_absolute
=yes
9973 export_dynamic_flag_spec
='${wl}-E'
9974 # hardcode_minus_L: Not really in the search PATH,
9975 # but as the default location of the library.
9976 hardcode_minus_L
=yes
9981 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9984 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9987 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9990 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9999 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10003 # Older versions of the 11.00 compiler do not understand -b yet
10004 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10006 $as_echo_n "checking if $CC understands -b... " >&6; }
10007 if ${lt_cv_prog_compiler__b+:} false
; then :
10008 $as_echo_n "(cached) " >&6
10010 lt_cv_prog_compiler__b
=no
10011 save_LDFLAGS
="$LDFLAGS"
10012 LDFLAGS
="$LDFLAGS -b"
10013 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10014 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10015 # The linker can only warn and ignore the option if not recognized
10016 # So say no if there are warnings
10017 if test -s conftest.err
; then
10018 # Append any errors to the config.log.
10019 cat conftest.err
1>&5
10020 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10021 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10022 if diff conftest.exp conftest.er2
>/dev
/null
; then
10023 lt_cv_prog_compiler__b
=yes
10026 lt_cv_prog_compiler__b
=yes
10030 LDFLAGS
="$save_LDFLAGS"
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10034 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10036 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10037 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10039 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10045 if test "$with_gnu_ld" = no
; then
10046 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10047 hardcode_libdir_separator
=:
10052 hardcode_shlibpath_var
=no
10055 hardcode_direct
=yes
10056 hardcode_direct_absolute
=yes
10057 export_dynamic_flag_spec
='${wl}-E'
10059 # hardcode_minus_L: Not really in the search PATH,
10060 # but as the default location of the library.
10061 hardcode_minus_L
=yes
10067 irix5
* | irix6
* | nonstopux
*)
10068 if test "$GCC" = yes; then
10069 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'
10070 # Try to use the -exported_symbol ld option, if it does not
10071 # work, assume that -exports_file does not work either and
10072 # implicitly export all symbols.
10073 # This should be the same for all languages, so no per-tag cache variable.
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10075 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10076 if ${lt_cv_irix_exported_symbol+:} false
; then :
10077 $as_echo_n "(cached) " >&6
10079 save_LDFLAGS
="$LDFLAGS"
10080 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10083 int foo (void) { return 0; }
10085 if ac_fn_c_try_link
"$LINENO"; then :
10086 lt_cv_irix_exported_symbol
=yes
10088 lt_cv_irix_exported_symbol
=no
10090 rm -f core conftest.err conftest.
$ac_objext \
10091 conftest
$ac_exeext conftest.
$ac_ext
10092 LDFLAGS
="$save_LDFLAGS"
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10095 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10096 if test "$lt_cv_irix_exported_symbol" = yes; then
10097 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'
10100 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'
10101 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'
10103 archive_cmds_need_lc
='no'
10104 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10105 hardcode_libdir_separator
=:
10107 link_all_deplibs
=yes
10110 netbsd
* | netbsdelf
*-gnu)
10111 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10112 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10114 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10116 hardcode_libdir_flag_spec
='-R$libdir'
10117 hardcode_direct
=yes
10118 hardcode_shlibpath_var
=no
10122 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10123 hardcode_direct
=yes
10124 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10125 hardcode_libdir_separator
=:
10126 hardcode_shlibpath_var
=no
10133 if test -f /usr
/libexec
/ld.so
; then
10134 hardcode_direct
=yes
10135 hardcode_shlibpath_var
=no
10136 hardcode_direct_absolute
=yes
10137 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10138 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10139 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10140 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10141 export_dynamic_flag_spec
='${wl}-E'
10144 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10145 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10146 hardcode_libdir_flag_spec
='-R$libdir'
10149 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10150 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10160 hardcode_libdir_flag_spec
='-L$libdir'
10161 hardcode_minus_L
=yes
10162 allow_undefined_flag
=unsupported
10163 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'
10164 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10168 if test "$GCC" = yes; then
10169 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10170 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'
10172 allow_undefined_flag
=' -expect_unresolved \*'
10173 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'
10175 archive_cmds_need_lc
='no'
10176 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10177 hardcode_libdir_separator
=:
10180 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10181 if test "$GCC" = yes; then
10182 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10183 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'
10184 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10186 allow_undefined_flag
=' -expect_unresolved \*'
10187 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'
10188 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~
10189 $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'
10191 # Both c and cxx compiler support -rpath directly
10192 hardcode_libdir_flag_spec
='-rpath $libdir'
10194 archive_cmds_need_lc
='no'
10195 hardcode_libdir_separator
=:
10199 no_undefined_flag
=' -z defs'
10200 if test "$GCC" = yes; then
10202 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10203 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10204 $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'
10206 case `$CC -V 2>&1` in
10209 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10210 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10211 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10215 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10216 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10217 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10221 hardcode_libdir_flag_spec
='-R$libdir'
10222 hardcode_shlibpath_var
=no
10224 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10226 # The compiler driver will combine and reorder linker options,
10227 # but understands `-z linker_flag'. GCC discards it without `$wl',
10228 # but is careful enough not to reorder.
10229 # Supported since Solaris 2.6 (maybe 2.5.1?)
10230 if test "$GCC" = yes; then
10231 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10233 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10237 link_all_deplibs
=yes
10241 if test "x$host_vendor" = xsequent
; then
10242 # Use $CC to link under sequent, because it throws in some extra .o
10243 # files that make .init and .fini sections work.
10244 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10246 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10248 hardcode_libdir_flag_spec
='-L$libdir'
10249 hardcode_direct
=yes
10250 hardcode_minus_L
=yes
10251 hardcode_shlibpath_var
=no
10255 case $host_vendor in
10257 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10258 hardcode_direct
=yes # is this really true???
10261 ## LD is ld it makes a PLAMLIB
10262 ## CC just makes a GrossModule.
10263 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10264 reload_cmds
='$CC -r -o $output$reload_objs'
10268 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10269 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10272 runpath_var
='LD_RUN_PATH'
10273 hardcode_shlibpath_var
=no
10277 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10278 hardcode_shlibpath_var
=no
10279 export_dynamic_flag_spec
='-Bexport'
10283 if test -d /usr
/nec
; then
10284 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10285 hardcode_shlibpath_var
=no
10286 runpath_var
=LD_RUN_PATH
10287 hardcode_runpath_var
=yes
10292 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10293 no_undefined_flag
='${wl}-z,text'
10294 archive_cmds_need_lc
=no
10295 hardcode_shlibpath_var
=no
10296 runpath_var
='LD_RUN_PATH'
10298 if test "$GCC" = yes; then
10299 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10300 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10302 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10303 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10307 sysv5
* | sco3.2v5
* | sco5v6
*)
10308 # Note: We can NOT use -z defs as we might desire, because we do not
10309 # link with -lc, and that would cause any symbols used from libc to
10310 # always be unresolved, which means just about no library would
10311 # ever link correctly. If we're not using GNU ld we use -z text
10312 # though, which does catch some bad symbols but isn't as heavy-handed
10314 no_undefined_flag
='${wl}-z,text'
10315 allow_undefined_flag
='${wl}-z,nodefs'
10316 archive_cmds_need_lc
=no
10317 hardcode_shlibpath_var
=no
10318 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10319 hardcode_libdir_separator
=':'
10320 link_all_deplibs
=yes
10321 export_dynamic_flag_spec
='${wl}-Bexport'
10322 runpath_var
='LD_RUN_PATH'
10324 if test "$GCC" = yes; then
10325 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10326 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10328 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10329 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10334 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10335 hardcode_libdir_flag_spec
='-L$libdir'
10336 hardcode_shlibpath_var
=no
10344 if test x
$host_vendor = xsni
; then
10346 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10347 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10354 $as_echo "$ld_shlibs" >&6; }
10355 test "$ld_shlibs" = no
&& can_build_shared
=no
10357 with_gnu_ld
=$with_gnu_ld
10374 # Do we need to explicitly link libc?
10376 case "x$archive_cmds_need_lc" in
10378 # Assume -lc should be added
10379 archive_cmds_need_lc
=yes
10381 if test "$enable_shared" = yes && test "$GCC" = yes; then
10382 case $archive_cmds in
10384 # FIXME: we may have to deal with multi-command sequences.
10387 # Test whether the compiler implicitly links with -lc since on some
10388 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10389 # to ld, don't add -lc before -lgcc.
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10391 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10392 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10393 $as_echo_n "(cached) " >&6
10396 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10399 (eval $ac_compile) 2>&5
10401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10402 test $ac_status = 0; } 2>conftest.err
; then
10405 libobjs
=conftest.
$ac_objext
10407 wl
=$lt_prog_compiler_wl
10408 pic_flag
=$lt_prog_compiler_pic
10414 lt_save_allow_undefined_flag
=$allow_undefined_flag
10415 allow_undefined_flag
=
10416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10417 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10420 test $ac_status = 0; }
10422 lt_cv_archive_cmds_need_lc
=no
10424 lt_cv_archive_cmds_need_lc
=yes
10426 allow_undefined_flag
=$lt_save_allow_undefined_flag
10428 cat conftest.err
1>&5
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10434 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10435 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10594 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10596 if test "$GCC" = yes; then
10598 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10599 *) lt_awk_arg
="/^libraries:/" ;;
10602 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10603 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10605 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10606 case $lt_search_path_spec in
10608 # if the path contains ";" then we assume it to be the separator
10609 # otherwise default to the standard path separator (i.e. ":") - it is
10610 # assumed that no part of a normal pathname contains ";" but that should
10611 # okay in the real world where ";" in dirpaths is itself problematic.
10612 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10615 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10618 # Ok, now we have the path, separated by spaces, we can step through it
10619 # and add multilib dir if necessary.
10620 lt_tmp_lt_search_path_spec
=
10621 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10622 for lt_sys_path
in $lt_search_path_spec; do
10623 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10624 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10626 test -d "$lt_sys_path" && \
10627 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10630 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10631 BEGIN {RS=" "; FS="/|\n";} {
10634 for (lt_i = NF; lt_i > 0; lt_i--) {
10635 if ($lt_i != "" && $lt_i != ".") {
10636 if ($lt_i == "..") {
10639 if (lt_count == 0) {
10640 lt_foo="/" $lt_i lt_foo;
10647 if (lt_foo != "") { lt_freq[lt_foo]++; }
10648 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10650 # AWK program above erroneously prepends '/' to C:/dos/paths
10653 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10654 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10656 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10658 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10660 library_names_spec
=
10661 libname_spec
='lib$name'
10665 postuninstall_cmds
=
10669 shlibpath_overrides_runpath
=unknown
10671 dynamic_linker
="$host_os ld.so"
10672 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10673 need_lib_prefix
=unknown
10674 hardcode_into_libs
=no
10676 # when you set need_version to no, make sure it does not cause -set_version
10677 # flags to be left without arguments
10678 need_version
=unknown
10682 version_type
=linux
# correct to gnu/linux during the next big refactor
10683 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10684 shlibpath_var
=LIBPATH
10686 # AIX 3 has no versioning support, so we append a major version to the name.
10687 soname_spec
='${libname}${release}${shared_ext}$major'
10691 version_type
=linux
# correct to gnu/linux during the next big refactor
10694 hardcode_into_libs
=yes
10695 if test "$host_cpu" = ia64
; then
10696 # AIX 5 supports IA64
10697 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10698 shlibpath_var
=LD_LIBRARY_PATH
10700 # With GCC up to 2.95.x, collect2 would create an import file
10701 # for dependence libraries. The import file would start with
10702 # the line `#! .'. This would cause the generated library to
10703 # depend on `.', always an invalid library. This was fixed in
10704 # development snapshots of GCC prior to 3.0.
10706 aix4
| aix4.
[01] | aix4.
[01].
*)
10707 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10709 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
10712 can_build_shared
=no
10716 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10717 # soname into executable. Probably we can add versioning support to
10718 # collect2, so additional links can be useful in future.
10719 if test "$aix_use_runtimelinking" = yes; then
10720 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10721 # instead of lib<name>.a to let people know that these are not
10722 # typical AIX shared libraries.
10723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10725 # We preserve .a as extension for shared libraries through AIX4.2
10726 # and later when we are not doing run time linking.
10727 library_names_spec
='${libname}${release}.a $libname.a'
10728 soname_spec
='${libname}${release}${shared_ext}$major'
10730 shlibpath_var
=LIBPATH
10737 # Since July 2007 AmigaOS4 officially supports .so libraries.
10738 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742 library_names_spec
='$libname.ixlibrary $libname.a'
10743 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10744 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'
10750 library_names_spec
='${libname}${shared_ext}'
10751 dynamic_linker
="$host_os ld.so"
10752 shlibpath_var
=LIBRARY_PATH
10756 version_type
=linux
# correct to gnu/linux during the next big refactor
10758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10759 soname_spec
='${libname}${release}${shared_ext}$major'
10760 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10761 shlibpath_var
=LD_LIBRARY_PATH
10762 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10763 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10764 # the default ld.so.conf also contains /usr/contrib/lib and
10765 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10766 # libtool to hard-code these into programs
10769 cygwin
* | mingw
* | pw32
* | cegcc
*)
10770 version_type
=windows
10775 case $GCC,$cc_basename in
10778 library_names_spec
='$libname.dll.a'
10779 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10780 postinstall_cmds
='base_file=`basename \${file}`~
10781 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10782 dldir=$destdir/`dirname \$dlpath`~
10783 test -d \$dldir || mkdir -p \$dldir~
10784 $install_prog $dir/$dlname \$dldir/$dlname~
10785 chmod a+x \$dldir/$dlname~
10786 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10787 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10789 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10790 dlpath=$dir/\$dldll~
10792 shlibpath_overrides_runpath
=yes
10796 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10797 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10799 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10802 # MinGW DLLs use traditional 'lib' prefix
10803 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10806 # pw32 DLLs use 'pw' prefix rather than 'lib'
10807 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10810 dynamic_linker
='Win32 ld.exe'
10815 libname_spec
='$name'
10816 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10817 library_names_spec
='${libname}.dll.lib'
10821 sys_lib_search_path_spec
=
10824 for lt_path
in $LIB
10827 # Let DOS variable expansion print the short 8.3 style file name.
10828 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10829 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10832 # Convert to MSYS style.
10833 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10836 # Convert to unix form, then to dos form, then back to unix form
10837 # but this time dos style (no spaces!) so that the unix form looks
10838 # like /cygdrive/c/PROGRA~1:/cygdr...
10839 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10840 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10841 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10844 sys_lib_search_path_spec
="$LIB"
10845 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
10846 # It is most probably a Windows format PATH.
10847 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10849 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10851 # FIXME: find the short name or the path components, as spaces are
10852 # common. (e.g. "Program Files" -> "PROGRA~1")
10856 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10857 postinstall_cmds
='base_file=`basename \${file}`~
10858 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10859 dldir=$destdir/`dirname \$dlpath`~
10860 test -d \$dldir || mkdir -p \$dldir~
10861 $install_prog $dir/$dlname \$dldir/$dlname'
10862 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10863 dlpath=$dir/\$dldll~
10865 shlibpath_overrides_runpath
=yes
10866 dynamic_linker
='Win32 link.exe'
10870 # Assume MSVC wrapper
10871 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10872 dynamic_linker
='Win32 ld.exe'
10875 # FIXME: first we should search . and the directory the executable is in
10879 darwin
* | rhapsody
*)
10880 dynamic_linker
="$host_os dyld"
10881 version_type
=darwin
10884 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10885 soname_spec
='${libname}${release}${major}$shared_ext'
10886 shlibpath_overrides_runpath
=yes
10887 shlibpath_var
=DYLD_LIBRARY_PATH
10888 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10890 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10891 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10895 version_type
=linux
# correct to gnu/linux during the next big refactor
10898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10899 soname_spec
='${libname}${release}${shared_ext}$major'
10900 shlibpath_var
=LD_LIBRARY_PATH
10903 freebsd
* | dragonfly
*)
10904 # DragonFly does not have aout. When/if they implement a new
10905 # versioning mechanism, adjust this.
10906 if test -x /usr
/bin
/objformat
; then
10907 objformat
=`/usr/bin/objformat`
10910 freebsd
[23].
*) objformat
=aout
;;
10911 *) objformat
=elf
;;
10914 version_type
=freebsd
-$objformat
10915 case $version_type in
10917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10922 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10926 shlibpath_var
=LD_LIBRARY_PATH
10929 shlibpath_overrides_runpath
=yes
10931 freebsd3.
[01]* | freebsdelf3.
[01]*)
10932 shlibpath_overrides_runpath
=yes
10933 hardcode_into_libs
=yes
10935 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10936 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10937 shlibpath_overrides_runpath
=no
10938 hardcode_into_libs
=yes
10940 *) # from 4.6 on, and DragonFly
10941 shlibpath_overrides_runpath
=yes
10942 hardcode_into_libs
=yes
10948 version_type
=linux
# correct to gnu/linux during the next big refactor
10951 dynamic_linker
="$host_os runtime_loader"
10952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10953 soname_spec
='${libname}${release}${shared_ext}$major'
10954 shlibpath_var
=LIBRARY_PATH
10955 shlibpath_overrides_runpath
=yes
10956 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10957 hardcode_into_libs
=yes
10960 hpux9
* | hpux10
* | hpux11
*)
10961 # Give a soname corresponding to the major version so that dld.sl refuses to
10962 # link against other versions.
10969 hardcode_into_libs
=yes
10970 dynamic_linker
="$host_os dld.so"
10971 shlibpath_var
=LD_LIBRARY_PATH
10972 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10974 soname_spec
='${libname}${release}${shared_ext}$major'
10975 if test "X$HPUX_IA64_MODE" = X32
; then
10976 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10978 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10980 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10984 hardcode_into_libs
=yes
10985 dynamic_linker
="$host_os dld.sl"
10986 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10987 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 soname_spec
='${libname}${release}${shared_ext}$major'
10990 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10991 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10995 dynamic_linker
="$host_os dld.sl"
10996 shlibpath_var
=SHLIB_PATH
10997 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10999 soname_spec
='${libname}${release}${shared_ext}$major'
11002 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11003 postinstall_cmds
='chmod 555 $lib'
11004 # or fails outright, so override atomically:
11005 install_override_mode
=555
11009 version_type
=linux
# correct to gnu/linux during the next big refactor
11012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11013 soname_spec
='${libname}${release}${shared_ext}$major'
11014 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11015 shlibpath_var
=LD_LIBRARY_PATH
11016 shlibpath_overrides_runpath
=no
11017 hardcode_into_libs
=yes
11020 irix5
* | irix6
* | nonstopux
*)
11022 nonstopux
*) version_type
=nonstopux
;;
11024 if test "$lt_cv_prog_gnu_ld" = yes; then
11025 version_type
=linux
# correct to gnu/linux during the next big refactor
11032 soname_spec
='${libname}${release}${shared_ext}$major'
11033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11035 irix5
* | nonstopux
*)
11036 libsuff
= shlibsuff
=
11039 case $LD in # libtool.m4 will add one of these switches to LD
11040 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11041 libsuff
= shlibsuff
= libmagic
=32-bit;;
11042 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11043 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11044 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11045 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11046 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11050 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11051 shlibpath_overrides_runpath
=no
11052 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11053 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11054 hardcode_into_libs
=yes
11057 # No shared lib support for Linux oldld, aout, or coff.
11058 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11062 # This must be glibc/ELF.
11063 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11064 version_type
=linux
# correct to gnu/linux during the next big refactor
11067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11068 soname_spec
='${libname}${release}${shared_ext}$major'
11069 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11070 shlibpath_var
=LD_LIBRARY_PATH
11071 shlibpath_overrides_runpath
=no
11073 # Some binutils ld are patched to set DT_RUNPATH
11074 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11075 $as_echo_n "(cached) " >&6
11077 lt_cv_shlibpath_overrides_runpath
=no
11078 save_LDFLAGS
=$LDFLAGS
11079 save_libdir
=$libdir
11080 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11081 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11093 if ac_fn_c_try_link
"$LINENO"; then :
11094 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11095 lt_cv_shlibpath_overrides_runpath
=yes
11098 rm -f core conftest.err conftest.
$ac_objext \
11099 conftest
$ac_exeext conftest.
$ac_ext
11100 LDFLAGS
=$save_LDFLAGS
11101 libdir
=$save_libdir
11105 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11107 # This implies no fast_install, which is unacceptable.
11108 # Some rework will be needed to allow for fast_install
11109 # before this can be enabled.
11110 hardcode_into_libs
=yes
11112 # Append ld.so.conf contents to the search path
11113 if test -f /etc
/ld.so.conf
; then
11114 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' ' '`
11115 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11118 # We used to test for /lib/ld.so.1 and disable shared libraries on
11119 # powerpc, because MkLinux only supported shared libraries with the
11120 # GNU dynamic linker. Since this was broken with cross compilers,
11121 # most powerpc-linux boxes support dynamic linking these days and
11122 # people can always --disable-shared, the test was removed, and we
11123 # assume the GNU/Linux dynamic linker is in use.
11124 dynamic_linker
='GNU/Linux ld.so'
11131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11132 soname_spec
='${libname}${release}${shared_ext}$major'
11133 shlibpath_var
=LD_LIBRARY_PATH
11134 shlibpath_overrides_runpath
=no
11135 hardcode_into_libs
=yes
11136 dynamic_linker
='NetBSD ld.elf_so'
11143 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11146 dynamic_linker
='NetBSD (a.out) ld.so'
11148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11149 soname_spec
='${libname}${release}${shared_ext}$major'
11150 dynamic_linker
='NetBSD ld.elf_so'
11152 shlibpath_var
=LD_LIBRARY_PATH
11153 shlibpath_overrides_runpath
=yes
11154 hardcode_into_libs
=yes
11158 version_type
=linux
# correct to gnu/linux during the next big refactor
11159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11160 shlibpath_var
=LD_LIBRARY_PATH
11161 shlibpath_overrides_runpath
=yes
11168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11169 soname_spec
='${libname}${release}${shared_ext}$major'
11170 shlibpath_var
=LD_LIBRARY_PATH
11171 shlibpath_overrides_runpath
=no
11172 hardcode_into_libs
=yes
11173 dynamic_linker
='ldqnx.so'
11178 sys_lib_dlsearch_path_spec
="/usr/lib"
11180 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11182 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11183 *) need_version
=no
;;
11185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11186 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11187 shlibpath_var
=LD_LIBRARY_PATH
11188 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11190 openbsd2.
[89] | openbsd2.
[89].
*)
11191 shlibpath_overrides_runpath
=no
11194 shlibpath_overrides_runpath
=yes
11198 shlibpath_overrides_runpath
=yes
11203 libname_spec
='$name'
11206 library_names_spec
='$libname${shared_ext} $libname.a'
11207 dynamic_linker
='OS/2 ld.exe'
11208 shlibpath_var
=LIBPATH
11211 osf3
* | osf4
* | osf5
*)
11215 soname_spec
='${libname}${release}${shared_ext}$major'
11216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11217 shlibpath_var
=LD_LIBRARY_PATH
11218 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11219 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11227 version_type
=linux
# correct to gnu/linux during the next big refactor
11230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11231 soname_spec
='${libname}${release}${shared_ext}$major'
11232 shlibpath_var
=LD_LIBRARY_PATH
11233 shlibpath_overrides_runpath
=yes
11234 hardcode_into_libs
=yes
11235 # ldd complains unless libraries are executable
11236 postinstall_cmds
='chmod +x $lib'
11241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11242 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11243 shlibpath_var
=LD_LIBRARY_PATH
11244 shlibpath_overrides_runpath
=yes
11245 if test "$with_gnu_ld" = yes; then
11252 version_type
=linux
# correct to gnu/linux during the next big refactor
11253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11254 soname_spec
='${libname}${release}${shared_ext}$major'
11255 shlibpath_var
=LD_LIBRARY_PATH
11256 case $host_vendor in
11258 shlibpath_overrides_runpath
=no
11260 runpath_var
=LD_RUN_PATH
11268 shlibpath_overrides_runpath
=no
11269 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11275 if test -d /usr
/nec
;then
11276 version_type
=linux
# correct to gnu/linux during the next big refactor
11277 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11278 soname_spec
='$libname${shared_ext}.$major'
11279 shlibpath_var
=LD_LIBRARY_PATH
11283 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11284 version_type
=freebsd
-elf
11287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11288 soname_spec
='${libname}${release}${shared_ext}$major'
11289 shlibpath_var
=LD_LIBRARY_PATH
11290 shlibpath_overrides_runpath
=yes
11291 hardcode_into_libs
=yes
11292 if test "$with_gnu_ld" = yes; then
11293 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11295 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11298 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11302 sys_lib_dlsearch_path_spec
='/usr/lib'
11306 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11307 version_type
=linux
# correct to gnu/linux during the next big refactor
11310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11311 shlibpath_var
=LD_LIBRARY_PATH
11312 shlibpath_overrides_runpath
=no
11313 hardcode_into_libs
=yes
11317 version_type
=linux
# correct to gnu/linux during the next big refactor
11318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11319 soname_spec
='${libname}${release}${shared_ext}$major'
11320 shlibpath_var
=LD_LIBRARY_PATH
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11328 $as_echo "$dynamic_linker" >&6; }
11329 test "$dynamic_linker" = no
&& can_build_shared
=no
11331 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11332 if test "$GCC" = yes; then
11333 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11336 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11337 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11339 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11340 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11435 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11437 if test -n "$hardcode_libdir_flag_spec" ||
11438 test -n "$runpath_var" ||
11439 test "X$hardcode_automatic" = "Xyes" ; then
11441 # We can hardcode non-existent directories.
11442 if test "$hardcode_direct" != no
&&
11443 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11444 # have to relink, otherwise we might link with an installed library
11445 # when we should be linking with a yet-to-be-installed one
11446 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11447 test "$hardcode_minus_L" != no
; then
11448 # Linking always hardcodes the temporary library directory.
11449 hardcode_action
=relink
11451 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11452 hardcode_action
=immediate
11455 # We cannot hardcode anything, or else we can only hardcode existing
11457 hardcode_action
=unsupported
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11460 $as_echo "$hardcode_action" >&6; }
11462 if test "$hardcode_action" = relink
||
11463 test "$inherit_rpath" = yes; then
11464 # Fast installation is not supported
11465 enable_fast_install
=no
11466 elif test "$shlibpath_overrides_runpath" = yes ||
11467 test "$enable_shared" = no
; then
11468 # Fast installation is not necessary
11469 enable_fast_install
=needless
11477 if test "x$enable_dlopen" != xyes
; then
11478 enable_dlopen
=unknown
11479 enable_dlopen_self
=unknown
11480 enable_dlopen_self_static
=unknown
11487 lt_cv_dlopen
="load_add_on"
11489 lt_cv_dlopen_self
=yes
11492 mingw
* | pw32
* | cegcc
*)
11493 lt_cv_dlopen
="LoadLibrary"
11498 lt_cv_dlopen
="dlopen"
11503 # if libdl is installed we need to link against it
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11505 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11506 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11507 $as_echo_n "(cached) " >&6
11509 ac_check_lib_save_LIBS
=$LIBS
11511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11512 /* end confdefs.h. */
11514 /* Override any GCC internal prototype to avoid an error.
11515 Use char because int might match the return type of a GCC
11516 builtin and then its argument prototype would still apply. */
11529 if ac_fn_c_try_link
"$LINENO"; then :
11530 ac_cv_lib_dl_dlopen
=yes
11532 ac_cv_lib_dl_dlopen
=no
11534 rm -f core conftest.err conftest.
$ac_objext \
11535 conftest
$ac_exeext conftest.
$ac_ext
11536 LIBS
=$ac_check_lib_save_LIBS
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11539 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11540 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11541 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11544 lt_cv_dlopen
="dyld"
11546 lt_cv_dlopen_self
=yes
11553 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11554 if test "x$ac_cv_func_shl_load" = xyes
; then :
11555 lt_cv_dlopen
="shl_load"
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11558 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11559 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11560 $as_echo_n "(cached) " >&6
11562 ac_check_lib_save_LIBS
=$LIBS
11564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11577 return shl_load ();
11582 if ac_fn_c_try_link
"$LINENO"; then :
11583 ac_cv_lib_dld_shl_load
=yes
11585 ac_cv_lib_dld_shl_load
=no
11587 rm -f core conftest.err conftest.
$ac_objext \
11588 conftest
$ac_exeext conftest.
$ac_ext
11589 LIBS
=$ac_check_lib_save_LIBS
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11592 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11593 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11594 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11596 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11597 if test "x$ac_cv_func_dlopen" = xyes
; then :
11598 lt_cv_dlopen
="dlopen"
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11601 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11602 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11603 $as_echo_n "(cached) " >&6
11605 ac_check_lib_save_LIBS
=$LIBS
11607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11625 if ac_fn_c_try_link
"$LINENO"; then :
11626 ac_cv_lib_dl_dlopen
=yes
11628 ac_cv_lib_dl_dlopen
=no
11630 rm -f core conftest.err conftest.
$ac_objext \
11631 conftest
$ac_exeext conftest.
$ac_ext
11632 LIBS
=$ac_check_lib_save_LIBS
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11635 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11636 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11637 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11640 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11641 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11642 $as_echo_n "(cached) " >&6
11644 ac_check_lib_save_LIBS
=$LIBS
11645 LIBS
="-lsvld $LIBS"
11646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11649 /* Override any GCC internal prototype to avoid an error.
11650 Use char because int might match the return type of a GCC
11651 builtin and then its argument prototype would still apply. */
11664 if ac_fn_c_try_link
"$LINENO"; then :
11665 ac_cv_lib_svld_dlopen
=yes
11667 ac_cv_lib_svld_dlopen
=no
11669 rm -f core conftest.err conftest.
$ac_objext \
11670 conftest
$ac_exeext conftest.
$ac_ext
11671 LIBS
=$ac_check_lib_save_LIBS
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11674 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11675 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11676 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11679 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11680 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11681 $as_echo_n "(cached) " >&6
11683 ac_check_lib_save_LIBS
=$LIBS
11685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11698 return dld_link ();
11703 if ac_fn_c_try_link
"$LINENO"; then :
11704 ac_cv_lib_dld_dld_link
=yes
11706 ac_cv_lib_dld_dld_link
=no
11708 rm -f core conftest.err conftest.
$ac_objext \
11709 conftest
$ac_exeext conftest.
$ac_ext
11710 LIBS
=$ac_check_lib_save_LIBS
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11713 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11714 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11715 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11736 if test "x$lt_cv_dlopen" != xno
; then
11742 case $lt_cv_dlopen in
11744 save_CPPFLAGS
="$CPPFLAGS"
11745 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11747 save_LDFLAGS
="$LDFLAGS"
11748 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11751 LIBS
="$lt_cv_dlopen_libs $LIBS"
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11754 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11755 if ${lt_cv_dlopen_self+:} false
; then :
11756 $as_echo_n "(cached) " >&6
11758 if test "$cross_compiling" = yes; then :
11759 lt_cv_dlopen_self
=cross
11761 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11762 lt_status
=$lt_dlunknown
11763 cat > conftest.
$ac_ext <<_LT_EOF
11764 #line $LINENO "configure"
11765 #include "confdefs.h"
11774 # define LT_DLGLOBAL RTLD_GLOBAL
11777 # define LT_DLGLOBAL DL_GLOBAL
11779 # define LT_DLGLOBAL 0
11783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11784 find out it does not work in some platform. */
11785 #ifndef LT_DLLAZY_OR_NOW
11787 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11790 # define LT_DLLAZY_OR_NOW DL_LAZY
11793 # define LT_DLLAZY_OR_NOW RTLD_NOW
11796 # define LT_DLLAZY_OR_NOW DL_NOW
11798 # define LT_DLLAZY_OR_NOW 0
11805 /* When -fvisbility=hidden is used, assume the code has been annotated
11806 correspondingly for the symbols needed. */
11807 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11808 int fnord () __attribute__((visibility("default")));
11811 int fnord () { return 42; }
11814 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11815 int status = $lt_dlunknown;
11819 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11822 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11823 else puts (dlerror ());
11825 /* dlclose (self); */
11833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11834 (eval $ac_link) 2>&5
11836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11837 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11838 (.
/conftest
; exit; ) >&5 2>/dev
/null
11840 case x
$lt_status in
11841 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11842 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11843 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11846 # compilation failed
11847 lt_cv_dlopen_self
=no
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11855 $as_echo "$lt_cv_dlopen_self" >&6; }
11857 if test "x$lt_cv_dlopen_self" = xyes
; then
11858 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11860 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11861 if ${lt_cv_dlopen_self_static+:} false
; then :
11862 $as_echo_n "(cached) " >&6
11864 if test "$cross_compiling" = yes; then :
11865 lt_cv_dlopen_self_static
=cross
11867 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11868 lt_status
=$lt_dlunknown
11869 cat > conftest.
$ac_ext <<_LT_EOF
11870 #line $LINENO "configure"
11871 #include "confdefs.h"
11880 # define LT_DLGLOBAL RTLD_GLOBAL
11883 # define LT_DLGLOBAL DL_GLOBAL
11885 # define LT_DLGLOBAL 0
11889 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11890 find out it does not work in some platform. */
11891 #ifndef LT_DLLAZY_OR_NOW
11893 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11896 # define LT_DLLAZY_OR_NOW DL_LAZY
11899 # define LT_DLLAZY_OR_NOW RTLD_NOW
11902 # define LT_DLLAZY_OR_NOW DL_NOW
11904 # define LT_DLLAZY_OR_NOW 0
11911 /* When -fvisbility=hidden is used, assume the code has been annotated
11912 correspondingly for the symbols needed. */
11913 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11914 int fnord () __attribute__((visibility("default")));
11917 int fnord () { return 42; }
11920 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11921 int status = $lt_dlunknown;
11925 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11928 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11929 else puts (dlerror ());
11931 /* dlclose (self); */
11939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11940 (eval $ac_link) 2>&5
11942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11943 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11944 (.
/conftest
; exit; ) >&5 2>/dev
/null
11946 case x
$lt_status in
11947 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11948 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11949 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11952 # compilation failed
11953 lt_cv_dlopen_self_static
=no
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11961 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11964 CPPFLAGS
="$save_CPPFLAGS"
11965 LDFLAGS
="$save_LDFLAGS"
11970 case $lt_cv_dlopen_self in
11971 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11972 *) enable_dlopen_self
=unknown
;;
11975 case $lt_cv_dlopen_self_static in
11976 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11977 *) enable_dlopen_self_static
=unknown
;;
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12000 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12001 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12002 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12003 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12005 $as_echo "yes" >&6; }
12007 # FIXME - insert some real tests, host_os isn't really good enough
12010 if test -n "$STRIP" ; then
12011 striplib
="$STRIP -x"
12012 old_striplib
="$STRIP -S"
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12014 $as_echo "yes" >&6; }
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12017 $as_echo "no" >&6; }
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12022 $as_echo "no" >&6; }
12038 # Report which library types will actually be built
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12040 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12042 $as_echo "$can_build_shared" >&6; }
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12045 $as_echo_n "checking whether to build shared libraries... " >&6; }
12046 test "$can_build_shared" = "no" && enable_shared
=no
12048 # On AIX, shared libraries and static libraries use the same namespace, and
12049 # are all built from PIC.
12052 test "$enable_shared" = yes && enable_static
=no
12053 if test -n "$RANLIB"; then
12054 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12055 postinstall_cmds
='$RANLIB $lib'
12060 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12061 test "$enable_shared" = yes && enable_static
=no
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12066 $as_echo "$enable_shared" >&6; }
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12069 $as_echo_n "checking whether to build static libraries... " >&6; }
12070 # Make sure either enable_shared or enable_static is yes.
12071 test "$enable_shared" = yes || enable_static
=yes
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12073 $as_echo "$enable_static" >&6; }
12080 ac_cpp
='$CPP $CPPFLAGS'
12081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12101 ac_config_commands
="$ac_config_commands libtool"
12106 # Only expand once:
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12118 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12119 if ${libltdl_cv_shlibext+:} false
; then :
12120 $as_echo_n "(cached) " >&6
12124 eval libltdl_cv_shlibext
=$shrext_cmds
12126 eval libltdl_cv_shrext
=$shrext_cmds
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
12130 $as_echo "$libltdl_cv_shlibext" >&6; }
12131 if test -n "$libltdl_cv_shlibext"; then
12133 cat >>confdefs.h
<<_ACEOF
12134 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
12138 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12140 cat >>confdefs.h
<<_ACEOF
12141 #define LT_SHARED_EXT "$libltdl_cv_shrext"
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12147 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12148 if ${lt_cv_module_path_var+:} false
; then :
12149 $as_echo_n "(cached) " >&6
12151 lt_cv_module_path_var
="$shlibpath_var"
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12154 $as_echo "$lt_cv_module_path_var" >&6; }
12155 if test -n "$lt_cv_module_path_var"; then
12157 cat >>confdefs.h
<<_ACEOF
12158 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12164 $as_echo_n "checking for the default library search path... " >&6; }
12165 if ${lt_cv_sys_dlsearch_path+:} false
; then :
12166 $as_echo_n "(cached) " >&6
12168 lt_cv_sys_dlsearch_path
="$sys_lib_dlsearch_path_spec"
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12171 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
12172 if test -n "$lt_cv_sys_dlsearch_path"; then
12174 for dir
in $lt_cv_sys_dlsearch_path; do
12175 if test -z "$sys_dlsearch_path"; then
12176 sys_dlsearch_path
="$dir"
12178 sys_dlsearch_path
="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12182 cat >>confdefs.h
<<_ACEOF
12183 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
12193 ac_cpp
='$CPP $CPPFLAGS'
12194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12201 $as_echo_n "checking for library containing dlopen... " >&6; }
12202 if ${ac_cv_search_dlopen+:} false
; then :
12203 $as_echo_n "(cached) " >&6
12205 ac_func_search_save_LIBS
=$LIBS
12206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12209 /* Override any GCC internal prototype to avoid an error.
12210 Use char because int might match the return type of a GCC
12211 builtin and then its argument prototype would still apply. */
12224 for ac_lib
in '' dl
; do
12225 if test -z "$ac_lib"; then
12226 ac_res
="none required"
12229 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12231 if ac_fn_c_try_link
"$LINENO"; then :
12232 ac_cv_search_dlopen
=$ac_res
12234 rm -f core conftest.err conftest.
$ac_objext \
12236 if ${ac_cv_search_dlopen+:} false
; then :
12240 if ${ac_cv_search_dlopen+:} false
; then :
12243 ac_cv_search_dlopen
=no
12245 rm conftest.
$ac_ext
12246 LIBS
=$ac_func_search_save_LIBS
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12249 $as_echo "$ac_cv_search_dlopen" >&6; }
12250 ac_res
=$ac_cv_search_dlopen
12251 if test "$ac_res" != no
; then :
12252 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12254 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12256 if test "$ac_cv_search_dlopen" != "none required" ; then
12257 LIBADD_DLOPEN
="-ldl"
12259 libltdl_cv_lib_dl_dlopen
="yes"
12260 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 # include <dlfcn.h>
12276 if ac_fn_c_try_link
"$LINENO"; then :
12278 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12280 libltdl_cv_func_dlopen
="yes"
12281 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12284 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12285 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12286 $as_echo_n "(cached) " >&6
12288 ac_check_lib_save_LIBS
=$LIBS
12289 LIBS
="-lsvld $LIBS"
12290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12308 if ac_fn_c_try_link
"$LINENO"; then :
12309 ac_cv_lib_svld_dlopen
=yes
12311 ac_cv_lib_svld_dlopen
=no
12313 rm -f core conftest.err conftest.
$ac_objext \
12314 conftest
$ac_exeext conftest.
$ac_ext
12315 LIBS
=$ac_check_lib_save_LIBS
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12318 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12319 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12321 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12323 LIBADD_DLOPEN
="-lsvld" libltdl_cv_func_dlopen
="yes"
12324 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12328 rm -f core conftest.err conftest.
$ac_objext \
12329 conftest
$ac_exeext conftest.
$ac_ext
12332 if test x
"$libltdl_cv_func_dlopen" = xyes
|| test x
"$libltdl_cv_lib_dl_dlopen" = xyes
12334 lt_save_LIBS
="$LIBS"
12335 LIBS
="$LIBS $LIBADD_DLOPEN"
12336 for ac_func
in dlerror
12338 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
12339 if test "x$ac_cv_func_dlerror" = xyes
; then :
12340 cat >>confdefs.h
<<_ACEOF
12341 #define HAVE_DLERROR 1
12347 LIBS
="$lt_save_LIBS"
12352 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12353 if test "x$ac_cv_func_shl_load" = xyes
; then :
12355 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12357 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12360 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12361 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12362 $as_echo_n "(cached) " >&6
12364 ac_check_lib_save_LIBS
=$LIBS
12366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12369 /* Override any GCC internal prototype to avoid an error.
12370 Use char because int might match the return type of a GCC
12371 builtin and then its argument prototype would still apply. */
12379 return shl_load ();
12384 if ac_fn_c_try_link
"$LINENO"; then :
12385 ac_cv_lib_dld_shl_load
=yes
12387 ac_cv_lib_dld_shl_load
=no
12389 rm -f core conftest.err conftest.
$ac_objext \
12390 conftest
$ac_exeext conftest.
$ac_ext
12391 LIBS
=$ac_check_lib_save_LIBS
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12394 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12395 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12397 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12399 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12400 LIBADD_SHL_LOAD
="-ldld"
12409 # We only want this for pre-Mac OS X 10.4.
12410 ac_fn_c_check_func
"$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12411 if test "x$ac_cv_func__dyld_func_lookup" = xyes
; then :
12413 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12415 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12420 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12422 cygwin
* | mingw
* | os2
* | pw32
*)
12423 ac_fn_c_check_decl
"$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12425 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
; then :
12431 cat >>confdefs.h
<<_ACEOF
12432 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
12435 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12440 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12441 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12442 $as_echo_n "(cached) " >&6
12444 ac_check_lib_save_LIBS
=$LIBS
12446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12449 /* Override any GCC internal prototype to avoid an error.
12450 Use char because int might match the return type of a GCC
12451 builtin and then its argument prototype would still apply. */
12459 return dld_link ();
12464 if ac_fn_c_try_link
"$LINENO"; then :
12465 ac_cv_lib_dld_dld_link
=yes
12467 ac_cv_lib_dld_dld_link
=no
12469 rm -f core conftest.err conftest.
$ac_objext \
12470 conftest
$ac_exeext conftest.
$ac_ext
12471 LIBS
=$ac_check_lib_save_LIBS
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12474 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12475 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12477 $as_echo "#define HAVE_DLD 1" >>confdefs.h
12479 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12486 if test -n "$LT_DLLOADERS"
12488 for lt_loader
in $LT_DLLOADERS; do
12489 LT_DLPREOPEN
="$LT_DLPREOPEN-dlpreopen $lt_loader "
12492 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
12497 LIBADD_DL
="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12501 ac_cpp
='$CPP $CPPFLAGS'
12502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12508 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12509 if ${lt_cv_sys_symbol_underscore+:} false
; then :
12510 $as_echo_n "(cached) " >&6
12512 lt_cv_sys_symbol_underscore
=no
12513 cat > conftest.
$ac_ext <<_LT_EOF
12514 void nm_test_func(){}
12515 int main(){nm_test_func;return 0;}
12517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12518 (eval $ac_compile) 2>&5
12520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12521 test $ac_status = 0; }; then
12522 # Now try to grab the symbols.
12523 ac_nlist
=conftest.nm
12524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
12525 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
12527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12528 test $ac_status = 0; } && test -s "$ac_nlist"; then
12529 # See whether the symbols have a leading underscore.
12530 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
12531 lt_cv_sys_symbol_underscore
=yes
12533 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
12536 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12540 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12543 echo "configure: failed program was:" >&5
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12550 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12551 sys_symbol_underscore
=$lt_cv_sys_symbol_underscore
12554 if test x
"$lt_cv_sys_symbol_underscore" = xyes
; then
12555 if test x
"$libltdl_cv_func_dlopen" = xyes
||
12556 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12558 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12559 if ${libltdl_cv_need_uscore+:} false
; then :
12560 $as_echo_n "(cached) " >&6
12562 libltdl_cv_need_uscore
=unknown
12564 LIBS
="$LIBS $LIBADD_DLOPEN"
12565 if test "$cross_compiling" = yes; then :
12566 libltdl_cv_need_uscore
=cross
12568 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12569 lt_status
=$lt_dlunknown
12570 cat > conftest.
$ac_ext <<_LT_EOF
12571 #line $LINENO "configure"
12572 #include "confdefs.h"
12581 # define LT_DLGLOBAL RTLD_GLOBAL
12584 # define LT_DLGLOBAL DL_GLOBAL
12586 # define LT_DLGLOBAL 0
12590 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12591 find out it does not work in some platform. */
12592 #ifndef LT_DLLAZY_OR_NOW
12594 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12597 # define LT_DLLAZY_OR_NOW DL_LAZY
12600 # define LT_DLLAZY_OR_NOW RTLD_NOW
12603 # define LT_DLLAZY_OR_NOW DL_NOW
12605 # define LT_DLLAZY_OR_NOW 0
12612 /* When -fvisbility=hidden is used, assume the code has been annotated
12613 correspondingly for the symbols needed. */
12614 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12615 int fnord () __attribute__((visibility("default")));
12618 int fnord () { return 42; }
12621 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12622 int status = $lt_dlunknown;
12626 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12629 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12630 else puts (dlerror ());
12632 /* dlclose (self); */
12640 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12641 (eval $ac_link) 2>&5
12643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12644 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12645 (.
/conftest
; exit; ) >&5 2>/dev
/null
12647 case x
$lt_status in
12648 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
12649 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
12650 x
$lt_dlunknown|x
*) ;;
12653 # compilation failed
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
12663 $as_echo "$libltdl_cv_need_uscore" >&6; }
12667 if test x
"$libltdl_cv_need_uscore" = xyes
; then
12669 $as_echo "#define NEED_USCORE 1" >>confdefs.h
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12674 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12675 if ${lt_cv_sys_dlopen_deplibs+:} false
; then :
12676 $as_echo_n "(cached) " >&6
12678 # PORTME does your system automatically load deplibs for dlopen?
12679 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12680 # For now, we just catch OSes we know something about -- in the
12681 # future, we'll try test this programmatically.
12682 lt_cv_sys_dlopen_deplibs
=unknown
12684 aix3
*|aix4.1.
*|aix4.2.
*)
12685 # Unknown whether this is true for these versions of AIX, but
12686 # we want this `case' here to explicitly catch those versions.
12687 lt_cv_sys_dlopen_deplibs
=unknown
12690 lt_cv_sys_dlopen_deplibs
=yes
12695 lt_cv_sys_dlopen_deplibs
=no
12700 # Assuming the user has installed a libdl from somewhere, this is true
12701 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12702 lt_cv_sys_dlopen_deplibs
=yes
12704 freebsd
* | dragonfly
*)
12705 lt_cv_sys_dlopen_deplibs
=yes
12707 gnu
* | linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12708 # GNU and its variants, using gnu ld.so (Glibc)
12709 lt_cv_sys_dlopen_deplibs
=yes
12712 lt_cv_sys_dlopen_deplibs
=yes
12715 lt_cv_sys_dlopen_deplibs
=yes
12717 irix
[12345]*|irix6.
[01]*)
12718 # Catch all versions of IRIX before 6.2, and indicate that we don't
12719 # know how it worked for any of those versions.
12720 lt_cv_sys_dlopen_deplibs
=unknown
12723 # The case above catches anything before 6.2, and it's known that
12724 # at 6.2 and later dlopen does load deplibs.
12725 lt_cv_sys_dlopen_deplibs
=yes
12727 netbsd
* | netbsdelf
*-gnu)
12728 lt_cv_sys_dlopen_deplibs
=yes
12731 lt_cv_sys_dlopen_deplibs
=yes
12734 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12735 # it did *not* use an RPATH in a shared library to find objects the
12736 # library depends on, so we explicitly say `no'.
12737 lt_cv_sys_dlopen_deplibs
=no
12739 osf5.0
|osf5.0a
|osf5.1
)
12740 # dlopen *does* load deplibs and with the right loader patch applied
12741 # it even uses RPATH in a shared library to search for shared objects
12742 # that the library depends on, but there's no easy way to know if that
12743 # patch is installed. Since this is the case, all we can really
12744 # say is unknown -- it depends on the patch being installed. If
12745 # it is, this changes to `yes'. Without it, it would be `no'.
12746 lt_cv_sys_dlopen_deplibs
=unknown
12749 # the two cases above should catch all versions of osf <= 5.1. Read
12750 # the comments above for what we know about them.
12751 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12752 # is used to find them so we can finally say `yes'.
12753 lt_cv_sys_dlopen_deplibs
=yes
12756 lt_cv_sys_dlopen_deplibs
=yes
12759 lt_cv_sys_dlopen_deplibs
=yes
12761 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12762 libltdl_cv_sys_dlopen_deplibs
=yes
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12768 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12769 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12771 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12777 for ac_header
in argz.h
12779 ac_fn_c_check_header_compile
"$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12781 if test "x$ac_cv_header_argz_h" = xyes
; then :
12782 cat >>confdefs.h
<<_ACEOF
12783 #define HAVE_ARGZ_H 1
12791 ac_fn_c_check_type
"$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
12795 if test "x$ac_cv_type_error_t" = xyes
; then :
12797 cat >>confdefs.h
<<_ACEOF
12798 #define HAVE_ERROR_T 1
12804 $as_echo "#define error_t int" >>confdefs.h
12807 $as_echo "#define __error_t_defined 1" >>confdefs.h
12813 for ac_func
in argz_add argz_append argz_count argz_create_sep argz_insert \
12814 argz_next argz_stringify
12816 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12817 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12818 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12819 cat >>confdefs.h
<<_ACEOF
12820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12826 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
12832 if test -z "$ARGZ_H"; then :
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12834 $as_echo_n "checking if argz actually works... " >&6; }
12835 if ${lt_cv_sys_argz_works+:} false
; then :
12836 $as_echo_n "(cached) " >&6
12838 case $host_os in #(
12840 lt_cv_sys_argz_works
=no
12841 if test "$cross_compiling" != no
; then
12842 lt_cv_sys_argz_works
="guessing no"
12844 lt_sed_extract_leading_digits
='s/^\([0-9\.]*\).*/\1/'
12847 set x
`uname -r | sed -e "$lt_sed_extract_leading_digits"`
12852 if test "$lt_os_major" -gt 1 \
12853 || { test "$lt_os_major" -eq 1 \
12854 && { test "$lt_os_minor" -gt 5 \
12855 || { test "$lt_os_minor" -eq 5 \
12856 && test "$lt_os_micro" -gt 24; }; }; }; then
12857 lt_cv_sys_argz_works
=yes
12861 *) lt_cv_sys_argz_works
=yes ;;
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12865 $as_echo "$lt_cv_sys_argz_works" >&6; }
12866 if test "$lt_cv_sys_argz_works" = yes; then :
12868 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12874 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12882 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12883 if ${libltdl_cv_preloaded_symbols+:} false
; then :
12884 $as_echo_n "(cached) " >&6
12886 if test -n "$lt_cv_sys_global_symbol_pipe"; then
12887 libltdl_cv_preloaded_symbols
=yes
12889 libltdl_cv_preloaded_symbols
=no
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
12894 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12895 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
12897 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
12916 # Check whether --with-included_ltdl was given.
12917 if test "${with_included_ltdl+set}" = set; then :
12918 withval
=$with_included_ltdl;
12922 if test "x$with_included_ltdl" != xyes
; then
12923 # We are not being forced to use the included libltdl sources, so
12924 # decide whether there is a useful installed version we can use.
12925 ac_fn_c_check_header_compile
"$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12928 if test "x$ac_cv_header_ltdl_h" = xyes
; then :
12929 ac_fn_c_check_decl
"$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12932 if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
; then :
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12934 $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12935 if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false
; then :
12936 $as_echo_n "(cached) " >&6
12938 ac_check_lib_save_LIBS
=$LIBS
12939 LIBS
="-lltdl $LIBS"
12940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12949 char lt_dladvise_preload ();
12953 return lt_dladvise_preload ();
12958 if ac_fn_c_try_link
"$LINENO"; then :
12959 ac_cv_lib_ltdl_lt_dladvise_preload
=yes
12961 ac_cv_lib_ltdl_lt_dladvise_preload
=no
12963 rm -f core conftest.err conftest.
$ac_objext \
12964 conftest
$ac_exeext conftest.
$ac_ext
12965 LIBS
=$ac_check_lib_save_LIBS
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12968 $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12969 if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
; then :
12970 with_included_ltdl
=no
12972 with_included_ltdl
=yes
12976 with_included_ltdl
=yes
12980 with_included_ltdl
=yes
12989 # Check whether --with-ltdl_include was given.
12990 if test "${with_ltdl_include+set}" = set; then :
12991 withval
=$with_ltdl_include;
12995 if test -n "$with_ltdl_include"; then
12996 if test -f "$with_ltdl_include/ltdl.h"; then :
12998 as_fn_error $?
"invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13001 with_ltdl_include
=no
13005 # Check whether --with-ltdl_lib was given.
13006 if test "${with_ltdl_lib+set}" = set; then :
13007 withval
=$with_ltdl_lib;
13011 if test -n "$with_ltdl_lib"; then
13012 if test -f "$with_ltdl_lib/libltdl.la"; then :
13014 as_fn_error $?
"invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13020 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13022 case $enable_ltdl_convenience in
13023 no
) as_fn_error $?
"this package needs a convenience libltdl" "$LINENO" 5 ;;
13024 "") enable_ltdl_convenience
=yes
13025 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
13027 LIBLTDL
='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13029 LTDLINCL
='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13035 # For backwards non-gettext consistent compatibility...
13036 INCLTDL
="$LTDLINCL"
13041 # If the included ltdl is not to be used, then use the
13042 # preinstalled libltdl we found.
13044 $as_echo "#define HAVE_LTDL 1" >>confdefs.h
13051 as_fn_error $?
"\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13053 *) with_included_ltdl
=no
13054 LIBLTDL
="-L$with_ltdl_lib -lltdl"
13056 LTDLINCL
="-I$with_ltdl_include"
13059 INCLTDL
="$LTDLINCL"
13061 # Report our decision...
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
13063 $as_echo_n "checking where to find libltdl headers... " >&6; }
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
13065 $as_echo "$LTDLINCL" >&6; }
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
13067 $as_echo_n "checking where to find libltdl library... " >&6; }
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
13069 $as_echo "$LIBLTDL" >&6; }
13073 # Check whether --enable-ltdl-install was given.
13074 if test "${enable_ltdl_install+set}" = set; then :
13075 enableval
=$enable_ltdl_install;
13079 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13081 *) enable_ltdl_convenience
=yes ;;
13084 if test x
"${enable_ltdl_install-no}" != xno
; then
13086 INSTALL_LTDL_FALSE
='#'
13088 INSTALL_LTDL_TRUE
='#'
13089 INSTALL_LTDL_FALSE
=
13092 if test x
"${enable_ltdl_convenience-no}" != xno
; then
13093 CONVENIENCE_LTDL_TRUE
=
13094 CONVENIENCE_LTDL_FALSE
='#'
13096 CONVENIENCE_LTDL_TRUE
='#'
13097 CONVENIENCE_LTDL_FALSE
=
13102 subdirs
="$subdirs extra/libltdl"
13107 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
13108 # the user used. This is so that ltdl.h can pick up the parent projects
13109 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
13110 # definitions required by ltdl.c.
13111 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
13115 for ac_header
in unistd.h dl.h sys
/dl.h dld.h mach
-o/dyld.h dirent.h
13117 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13118 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13120 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13121 cat >>confdefs.h
<<_ACEOF
13122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13130 for ac_func
in closedir opendir readdir
13132 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13133 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13134 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13135 cat >>confdefs.h
<<_ACEOF
13136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13142 _LT_LIBOBJS
="$_LT_LIBOBJS lt__dirent.$ac_objext"
13147 for ac_func
in strlcat strlcpy
13149 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13150 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13151 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13152 cat >>confdefs.h
<<_ACEOF
13153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13159 _LT_LIBOBJS
="$_LT_LIBOBJS lt__strl.$ac_objext"
13166 cat >>confdefs.h
<<_ACEOF
13167 #define LT_LIBEXT "$libext"
13172 eval "lt_libprefix=\"$libname_spec\""
13174 cat >>confdefs.h
<<_ACEOF
13175 #define LT_LIBPREFIX "$lt_libprefix"
13180 eval "LTDLOPEN=\"$libname_spec\""
13189 # Only expand once:
13193 build_ltdl
=$with_included_ltdl
13194 if test x
"$build_ltdl" = x
"yes"; then
13196 BUILD_LTDL_FALSE
='#'
13198 BUILD_LTDL_TRUE
='#'
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13204 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13205 if ${ac_cv_prog_cc_c99+:} false
; then :
13206 $as_echo_n "(cached) " >&6
13208 ac_cv_prog_cc_c99
=no
13210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13212 #include <stdarg.h>
13213 #include <stdbool.h>
13214 #include <stdlib.h>
13218 // Check varargs macros. These examples are taken from C99 6.10.3.5.
13219 #define debug(...) fprintf (stderr, __VA_ARGS__)
13220 #define showlist(...) puts (#__VA_ARGS__)
13221 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13223 test_varargs_macros (void)
13228 debug ("X = %d\n", x);
13229 showlist (The first, second, and third items.);
13230 report (x>y, "x is %d but y is %d", x, y);
13233 // Check long long types.
13234 #define BIG64 18446744073709551615ull
13235 #define BIG32 4294967295ul
13236 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13238 your preprocessor is broken;
13242 your preprocessor is broken;
13244 static long long int bignum = -9223372036854775807LL;
13245 static unsigned long long int ubignum = BIG64;
13247 struct incomplete_array
13253 struct named_init {
13255 const wchar_t *name;
13259 typedef const char *ccp;
13262 test_restrict (ccp restrict text)
13264 // See if C++-style comments work.
13265 // Iterate through items via the restricted pointer.
13266 // Also check for declarations in for loops.
13267 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13272 // Check varargs and va_copy.
13274 test_varargs (const char *format, ...)
13277 va_start (args, format);
13279 va_copy (args_copy, args);
13289 case 's': // string
13290 str = va_arg (args_copy, const char *);
13293 number = va_arg (args_copy, int);
13296 fnumber = va_arg (args_copy, double);
13302 va_end (args_copy);
13311 _Bool success = false;
13314 if (test_restrict ("String literal") == 0)
13316 char *restrict newvar = "Another string";
13319 test_varargs ("s, d' f .", "string", 65, 34.234);
13320 test_varargs_macros ();
13322 // Check flexible array members.
13323 struct incomplete_array *ia =
13324 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13326 for (int i = 0; i < ia->datasize; ++i)
13327 ia->data[i] = i * 1.234;
13329 // Check named initializers.
13330 struct named_init ni = {
13332 .name = L"Test wide string",
13333 .average = 543.34343,
13338 int dynamic_array[ni.number];
13339 dynamic_array[ni.number - 1] = 543;
13341 // work around unused variable warnings
13342 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13343 || dynamic_array[ni.number - 1] != 543);
13349 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
13351 CC
="$ac_save_CC $ac_arg"
13352 if ac_fn_c_try_compile
"$LINENO"; then :
13353 ac_cv_prog_cc_c99
=$ac_arg
13355 rm -f core conftest.err conftest.
$ac_objext
13356 test "x$ac_cv_prog_cc_c99" != "xno" && break
13358 rm -f conftest.
$ac_ext
13363 case "x$ac_cv_prog_cc_c99" in
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13366 $as_echo "none needed" >&6; } ;;
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13369 $as_echo "unsupported" >&6; } ;;
13371 CC
="$CC $ac_cv_prog_cc_c99"
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13373 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13375 if test "x$ac_cv_prog_cc_c99" != xno
; then :
13382 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
13383 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
13390 if test "$MINIX" = yes; then
13392 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
13395 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
13398 $as_echo "#define _MINIX 1" >>confdefs.h
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
13404 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
13405 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
13406 $as_echo_n "(cached) " >&6
13408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13411 # define __EXTENSIONS__ 1
13412 $ac_includes_default
13421 if ac_fn_c_try_compile
"$LINENO"; then :
13422 ac_cv_safe_to_define___extensions__
=yes
13424 ac_cv_safe_to_define___extensions__
=no
13426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
13429 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
13430 test $ac_cv_safe_to_define___extensions__ = yes &&
13431 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
13433 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
13435 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
13437 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
13439 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
13444 OLD_CFLAGS
="$CFLAGS"
13446 ac_cpp
='$CPP $CPPFLAGS'
13447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13450 if test -n "$ac_tool_prefix"; then
13451 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13452 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13454 $as_echo_n "checking for $ac_word... " >&6; }
13455 if ${ac_cv_prog_CC+:} false
; then :
13456 $as_echo_n "(cached) " >&6
13458 if test -n "$CC"; then
13459 ac_cv_prog_CC
="$CC" # Let the user override the test.
13461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13462 for as_dir
in $PATH
13465 test -z "$as_dir" && as_dir
=.
13466 for ac_exec_ext
in '' $ac_executable_extensions; do
13467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13468 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13479 if test -n "$CC"; then
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13481 $as_echo "$CC" >&6; }
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13484 $as_echo "no" >&6; }
13489 if test -z "$ac_cv_prog_CC"; then
13491 # Extract the first word of "gcc", so it can be a program name with args.
13492 set dummy gcc
; ac_word
=$2
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13494 $as_echo_n "checking for $ac_word... " >&6; }
13495 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
13496 $as_echo_n "(cached) " >&6
13498 if test -n "$ac_ct_CC"; then
13499 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13502 for as_dir
in $PATH
13505 test -z "$as_dir" && as_dir
=.
13506 for ac_exec_ext
in '' $ac_executable_extensions; do
13507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13508 ac_cv_prog_ac_ct_CC
="gcc"
13509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13518 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13519 if test -n "$ac_ct_CC"; then
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13521 $as_echo "$ac_ct_CC" >&6; }
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13524 $as_echo "no" >&6; }
13527 if test "x$ac_ct_CC" = x
; then
13530 case $cross_compiling:$ac_tool_warned in
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13534 ac_tool_warned
=yes ;;
13539 CC
="$ac_cv_prog_CC"
13542 if test -z "$CC"; then
13543 if test -n "$ac_tool_prefix"; then
13544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13545 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13547 $as_echo_n "checking for $ac_word... " >&6; }
13548 if ${ac_cv_prog_CC+:} false
; then :
13549 $as_echo_n "(cached) " >&6
13551 if test -n "$CC"; then
13552 ac_cv_prog_CC
="$CC" # Let the user override the test.
13554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13555 for as_dir
in $PATH
13558 test -z "$as_dir" && as_dir
=.
13559 for ac_exec_ext
in '' $ac_executable_extensions; do
13560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13561 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13572 if test -n "$CC"; then
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13574 $as_echo "$CC" >&6; }
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13577 $as_echo "no" >&6; }
13583 if test -z "$CC"; then
13584 # Extract the first word of "cc", so it can be a program name with args.
13585 set dummy cc
; ac_word
=$2
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13587 $as_echo_n "checking for $ac_word... " >&6; }
13588 if ${ac_cv_prog_CC+:} false
; then :
13589 $as_echo_n "(cached) " >&6
13591 if test -n "$CC"; then
13592 ac_cv_prog_CC
="$CC" # Let the user override the test.
13594 ac_prog_rejected
=no
13595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13596 for as_dir
in $PATH
13599 test -z "$as_dir" && as_dir
=.
13600 for ac_exec_ext
in '' $ac_executable_extensions; do
13601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13602 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13603 ac_prog_rejected
=yes
13607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13614 if test $ac_prog_rejected = yes; then
13615 # We found a bogon in the path, so make sure we never use it.
13616 set dummy
$ac_cv_prog_CC
13618 if test $# != 0; then
13619 # We chose a different compiler from the bogus one.
13620 # However, it has the same basename, so the bogon will be chosen
13621 # first if we set CC to just the basename; use the full file name.
13623 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
13629 if test -n "$CC"; then
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13631 $as_echo "$CC" >&6; }
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13634 $as_echo "no" >&6; }
13639 if test -z "$CC"; then
13640 if test -n "$ac_tool_prefix"; then
13641 for ac_prog
in cl.exe
13643 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13644 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13646 $as_echo_n "checking for $ac_word... " >&6; }
13647 if ${ac_cv_prog_CC+:} false
; then :
13648 $as_echo_n "(cached) " >&6
13650 if test -n "$CC"; then
13651 ac_cv_prog_CC
="$CC" # Let the user override the test.
13653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13654 for as_dir
in $PATH
13657 test -z "$as_dir" && as_dir
=.
13658 for ac_exec_ext
in '' $ac_executable_extensions; do
13659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13660 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13671 if test -n "$CC"; then
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13673 $as_echo "$CC" >&6; }
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13676 $as_echo "no" >&6; }
13680 test -n "$CC" && break
13683 if test -z "$CC"; then
13685 for ac_prog
in cl.exe
13687 # Extract the first word of "$ac_prog", so it can be a program name with args.
13688 set dummy
$ac_prog; ac_word
=$2
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13690 $as_echo_n "checking for $ac_word... " >&6; }
13691 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
13692 $as_echo_n "(cached) " >&6
13694 if test -n "$ac_ct_CC"; then
13695 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13698 for as_dir
in $PATH
13701 test -z "$as_dir" && as_dir
=.
13702 for ac_exec_ext
in '' $ac_executable_extensions; do
13703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13704 ac_cv_prog_ac_ct_CC
="$ac_prog"
13705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13714 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13715 if test -n "$ac_ct_CC"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13717 $as_echo "$ac_ct_CC" >&6; }
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13720 $as_echo "no" >&6; }
13724 test -n "$ac_ct_CC" && break
13727 if test "x$ac_ct_CC" = x
; then
13730 case $cross_compiling:$ac_tool_warned in
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13734 ac_tool_warned
=yes ;;
13743 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13745 as_fn_error $?
"no acceptable C compiler found in \$PATH
13746 See \`config.log' for more details" "$LINENO" 5; }
13748 # Provide some information about the compiler.
13749 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13752 for ac_option
in --version -v -V -qversion; do
13753 { { ac_try
="$ac_compiler $ac_option >&5"
13754 case "(($ac_try" in
13755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13756 *) ac_try_echo=$ac_try;;
13758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13759 $as_echo "$ac_try_echo"; } >&5
13760 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13762 if test -s conftest.err; then
13764 ... rest of stderr output deleted ...
13765 10q' conftest.err >conftest.er1
13766 cat conftest.er1 >&5
13768 rm -f conftest.er1 conftest.err
13769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13770 test $ac_status = 0; }
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13774 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13775 if ${ac_cv_c_compiler_gnu+:} false; then :
13776 $as_echo_n "(cached) " >&6
13778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13792 if ac_fn_c_try_compile "$LINENO"; then :
13793 ac_compiler_gnu=yes
13797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13798 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13802 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13803 if test $ac_compiler_gnu = yes; then
13808 ac_test_CFLAGS=${CFLAGS+set}
13809 ac_save_CFLAGS=$CFLAGS
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13811 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13812 if ${ac_cv_prog_cc_g+:} false; then :
13813 $as_echo_n "(cached) " >&6
13815 ac_save_c_werror_flag=$ac_c_werror_flag
13816 ac_c_werror_flag=yes
13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13830 if ac_fn_c_try_compile "$LINENO"; then :
13831 ac_cv_prog_cc_g=yes
13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13845 if ac_fn_c_try_compile "$LINENO"; then :
13848 ac_c_werror_flag=$ac_save_c_werror_flag
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13861 if ac_fn_c_try_compile "$LINENO"; then :
13862 ac_cv_prog_cc_g=yes
13864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13869 ac_c_werror_flag=$ac_save_c_werror_flag
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13872 $as_echo "$ac_cv_prog_cc_g" >&6; }
13873 if test "$ac_test_CFLAGS" = set; then
13874 CFLAGS=$ac_save_CFLAGS
13875 elif test $ac_cv_prog_cc_g = yes; then
13876 if test "$GCC" = yes; then
13882 if test "$GCC" = yes; then
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13890 if ${ac_cv_prog_cc_c89+:} false; then :
13891 $as_echo_n "(cached) " >&6
13893 ac_cv_prog_cc_c89=no
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 #include <stdarg.h>
13900 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13901 struct buf { int x; };
13902 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13903 static char *e (p, i)
13909 static char *f (char * (*g) (char **, int), char **p, ...)
13914 s = g (p, va_arg (v,int));
13919 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13920 function prototypes and stuff, but not '\xHH' hex character constants.
13921 These don't provoke an error unfortunately, instead are silently treated
13922 as 'x'. The following induces an error, until -std is added to get
13923 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13924 array size at least. It's necessary to write '\x00'==0 to get something
13925 that's true only with -std. */
13926 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13928 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13929 inside strings and character constants. */
13931 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13933 int test (int i, double x);
13934 struct s1 {int (*f) (int a);};
13935 struct s2 {int (*f) (double a);};
13936 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13942 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13947 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13948 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13950 CC="$ac_save_CC $ac_arg"
13951 if ac_fn_c_try_compile "$LINENO"; then :
13952 ac_cv_prog_cc_c89=$ac_arg
13954 rm -f core conftest.err conftest.$ac_objext
13955 test "x$ac_cv_prog_cc_c89" != "xno" && break
13957 rm -f conftest.$ac_ext
13962 case "x$ac_cv_prog_cc_c89" in
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13965 $as_echo "none needed" >&6; } ;;
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13968 $as_echo "unsupported" >&6; } ;;
13970 CC="$CC $ac_cv_prog_cc_c89"
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13972 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13974 if test "x$ac_cv_prog_cc_c89" != xno; then :
13979 ac_cpp='$CPP $CPPFLAGS'
13980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13985 ac_cpp='$CPP $CPPFLAGS'
13986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13990 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13991 if ${am_cv_prog_cc_c_o+:} false; then :
13992 $as_echo_n "(cached) " >&6
13994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
14005 # Make sure it works both with $CC and with simple cc.
14006 # Following AC_PROG_CC_C_O, we do the test twice because some
14007 # compilers refuse to overwrite an existing .o file with -o,
14008 # though they will create one.
14009 am_cv_prog_cc_c_o=yes
14010 for am_i in 1 2; do
14011 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
14012 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } \
14016 && test -f conftest2.$ac_objext; then
14019 am_cv_prog_cc_c_o=no
14023 rm -f core conftest*
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
14027 $as_echo "$am_cv_prog_cc_c_o" >&6; }
14028 if test "$am_cv_prog_cc_c_o" != yes; then
14029 # Losing compiler, so override with the script.
14030 # FIXME: It is wrong to rewrite CC.
14031 # But if we don't then we get into trouble of one sort or another.
14032 # A longer-term fix would be to have automake use am__CC in this case,
14033 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
14034 CC="$am_aux_dir/compile $CC"
14037 ac_cpp='$CPP $CPPFLAGS'
14038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14043 depcc="$CC" am_compiler_list=
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14046 $as_echo_n "checking dependency style of $depcc... " >&6; }
14047 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14048 $as_echo_n "(cached) " >&6
14050 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14051 # We make a subdir and do the tests there. Otherwise we can end up
14052 # making bogus files that we don't know about and never remove. For
14053 # instance it was reported that on HP-UX the gcc test will end up
14054 # making a dummy file named 'D' -- because '-MD' means "put the output
14056 rm -rf conftest.dir
14058 # Copy depcomp to subdir because otherwise we won't find it if we're
14059 # using a relative directory.
14060 cp "$am_depcomp" conftest.dir
14062 # We will build objects and dependencies in a subdirectory because
14063 # it helps to detect inapplicable dependency modes. For instance
14064 # both Tru64's cc and ICC support -MD to output dependencies as a
14065 # side effect of compilation, but ICC will put the dependencies in
14066 # the current directory while Tru64 will put them in the object
14070 am_cv_CC_dependencies_compiler_type=none
14071 if test "$am_compiler_list" = ""; then
14072 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
14074 am__universal=false
14075 case " $depcc " in #(
14076 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14079 for depmode in $am_compiler_list; do
14080 # Setup a source with many dependencies, because some compilers
14081 # like to wrap large dependency lists on column 80 (with \), and
14082 # we should not choose a depcomp mode which is confused by this.
14084 # We need to recreate these files for each test, as the compiler may
14085 # overwrite some of them when testing with obscure command lines.
14086 # This happens at least with the AIX C compiler.
14088 for i in 1 2 3 4 5 6; do
14089 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14090 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14091 # Solaris 10 /bin/sh.
14092 echo '/* dummy */' > sub/conftst$i.h
14094 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14096 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14097 # mode. It turns out that the SunPro C++ compiler does not properly
14098 # handle '-M -o', and we need to detect this. Also, some Intel
14099 # versions had trouble with output in subdirs.
14100 am__obj=sub/conftest.${OBJEXT-o}
14101 am__minus_obj="-o $am__obj"
14104 # This depmode causes a compiler race in universal mode.
14105 test "$am__universal" = false || continue
14108 # After this tag, mechanisms are not by side-effect, so they'll
14109 # only be used when explicitly requested.
14110 if test "x$enable_dependency_tracking" = xyes; then
14116 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14117 # This compiler won't grok '-c -o', but also, the minuso test has
14118 # not run yet. These depmodes are late enough in the game, and
14119 # so weak that their functioning should not be impacted.
14120 am__obj=conftest.${OBJEXT-o}
14125 if depmode=$depmode \
14126 source=sub/conftest.c object=$am__obj \
14127 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14128 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14129 >/dev/null 2>conftest.err &&
14130 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14131 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14132 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14133 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14134 # icc doesn't choke on unknown options, it will just issue warnings
14135 # or remarks (even with -Werror). So we grep stderr for any message
14136 # that says an option was ignored or not supported.
14137 # When given -MP, icc 7.0 and 7.1 complain thusly:
14138 # icc: Command line warning: ignoring option '-M'; no argument required
14139 # The diagnosis changed in icc 8.0:
14140 # icc: Command line remark: option '-MP' not supported
14141 if (grep 'ignoring option' conftest.err ||
14142 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14143 am_cv_CC_dependencies_compiler_type=$depmode
14150 rm -rf conftest.dir
14152 am_cv_CC_dependencies_compiler_type=none
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14157 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14158 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14161 test "x$enable_dependency_tracking" != xno \
14162 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14163 am__fastdepCC_TRUE=
14164 am__fastdepCC_FALSE='#'
14166 am__fastdepCC_TRUE='#'
14167 am__fastdepCC_FALSE=
14172 ac_cpp='$CPP $CPPFLAGS'
14173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14178 CFLAGS="$OLD_CFLAGS"
14180 subdirs="$subdirs libratbox"
14183 if test "$ac_cv_c_compiler_gnu" = yes; then
14184 IRC_CFLAGS="$IRC_CFLAGS -O0 -Wall -std=gnu99"
14187 if test "$ac_cv_prog_cc_g" = yes; then
14188 IRC_CFLAGS="$IRC_CFLAGS -g"
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
14192 $as_echo_n "checking for /dev/null... " >&6; }
14193 if test -c /dev/null ; then
14195 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14198 $as_echo "yes" >&6; }
14201 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
14204 $as_echo "no - using devnull.log" >&6; }
14207 if test ! -z "$CFLAGS"; then
14208 IRC_CFLAGS="$IRC_CFLAGS $CFLAGS"
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
14212 $as_echo_n "checking for library containing strerror... " >&6; }
14213 if ${ac_cv_search_strerror+:} false; then :
14214 $as_echo_n "(cached) " >&6
14216 ac_func_search_save_LIBS=$LIBS
14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14220 /* Override any GCC internal prototype to avoid an error.
14221 Use char because int might match the return type of a GCC
14222 builtin and then its argument prototype would still apply. */
14230 return strerror ();
14235 for ac_lib in '' cposix; do
14236 if test -z "$ac_lib"; then
14237 ac_res="none required"
14240 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14242 if ac_fn_c_try_link "$LINENO"; then :
14243 ac_cv_search_strerror=$ac_res
14245 rm -f core conftest.err conftest.$ac_objext \
14247 if ${ac_cv_search_strerror+:} false; then :
14251 if ${ac_cv_search_strerror+:} false; then :
14254 ac_cv_search_strerror=no
14256 rm conftest.$ac_ext
14257 LIBS=$ac_func_search_save_LIBS
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
14260 $as_echo "$ac_cv_search_strerror" >&6; }
14261 ac_res=$ac_cv_search_strerror
14262 if test "$ac_res" != no; then :
14263 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14268 $as_echo_n "checking for inline... " >&6; }
14269 if ${ac_cv_c_inline+:} false; then :
14270 $as_echo_n "(cached) " >&6
14273 for ac_kw in inline __inline__ __inline; do
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 #ifndef __cplusplus
14278 static $ac_kw foo_t static_foo () {return 0; }
14279 $ac_kw foo_t foo () {return 0; }
14283 if ac_fn_c_try_compile "$LINENO"; then :
14284 ac_cv_c_inline=$ac_kw
14286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14287 test "$ac_cv_c_inline" != no && break
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14292 $as_echo "$ac_cv_c_inline" >&6; }
14294 case $ac_cv_c_inline in
14297 case $ac_cv_c_inline in
14299 *) ac_val=$ac_cv_c_inline;;
14301 cat >>confdefs.h <<_ACEOF
14302 #ifndef __cplusplus
14303 #define inline $ac_val
14309 if test $ac_cv_c_compiler_gnu = yes; then
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
14311 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
14312 if ${ac_cv_prog_gcc_traditional+:} false; then :
14313 $as_echo_n "(cached) " >&6
14315 ac_pattern="Autoconf.*'x'"
14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14322 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
14323 ac_cv_prog_gcc_traditional=yes
14325 ac_cv_prog_gcc_traditional=no
14330 if test $ac_cv_prog_gcc_traditional = no; then
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14333 #include <termio.h>
14336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14337 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
14338 ac_cv_prog_gcc_traditional=yes
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
14345 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
14346 if test $ac_cv_prog_gcc_traditional = yes; then
14347 CC="$CC -traditional"
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
14352 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
14354 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
14355 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
14356 $as_echo_n "(cached) " >&6
14358 cat >conftest.make <<\_ACEOF
14361 @echo '@@@%%%=$(MAKE)=@@@%%%'
14363 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14364 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
14365 *@@@%%%=?*=@@@%%%*)
14366 eval ac_cv_prog_make_${ac_make}_set=yes;;
14368 eval ac_cv_prog_make_${ac_make}_set=no;;
14370 rm -f conftest.make
14372 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14374 $as_echo "yes" >&6; }
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14378 $as_echo "no" >&6; }
14379 SET_MAKE="MAKE=${MAKE-make}"
14383 # Extract the first word of "rm", so it can be a program name with args.
14384 set dummy rm; ac_word=$2
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14386 $as_echo_n "checking for $ac_word... " >&6; }
14387 if ${ac_cv_path_RM+:} false; then :
14388 $as_echo_n "(cached) " >&6
14392 ac_cv_path_RM="$RM" # Let the user override the test with a path.
14395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14396 for as_dir in $PATH
14399 test -z "$as_dir" && as_dir=.
14400 for ac_exec_ext in '' $ac_executable_extensions; do
14401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14402 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
14403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14414 if test -n "$RM"; then
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
14416 $as_echo "$RM" >&6; }
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14419 $as_echo "no" >&6; }
14423 # Extract the first word of "cp", so it can be a program name with args.
14424 set dummy cp; ac_word=$2
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14426 $as_echo_n "checking for $ac_word... " >&6; }
14427 if ${ac_cv_path_CP+:} false; then :
14428 $as_echo_n "(cached) " >&6
14432 ac_cv_path_CP="$CP" # Let the user override the test with a path.
14435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14436 for as_dir in $PATH
14439 test -z "$as_dir" && as_dir=.
14440 for ac_exec_ext in '' $ac_executable_extensions; do
14441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14442 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
14443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14454 if test -n "$CP"; then
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
14456 $as_echo "$CP" >&6; }
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14459 $as_echo "no" >&6; }
14463 # Extract the first word of "mv", so it can be a program name with args.
14464 set dummy mv; ac_word=$2
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14466 $as_echo_n "checking for $ac_word... " >&6; }
14467 if ${ac_cv_path_MV+:} false; then :
14468 $as_echo_n "(cached) " >&6
14472 ac_cv_path_MV="$MV" # Let the user override the test with a path.
14475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14476 for as_dir in $PATH
14479 test -z "$as_dir" && as_dir=.
14480 for ac_exec_ext in '' $ac_executable_extensions; do
14481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14482 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
14483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14494 if test -n "$MV"; then
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
14496 $as_echo "$MV" >&6; }
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14499 $as_echo "no" >&6; }
14503 # Extract the first word of "ln", so it can be a program name with args.
14504 set dummy ln; ac_word=$2
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14506 $as_echo_n "checking for $ac_word... " >&6; }
14507 if ${ac_cv_path_LN+:} false; then :
14508 $as_echo_n "(cached) " >&6
14512 ac_cv_path_LN="$LN" # Let the user override the test with a path.
14515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14516 for as_dir in $PATH
14519 test -z "$as_dir" && as_dir=.
14520 for ac_exec_ext in '' $ac_executable_extensions; do
14521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14522 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
14523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14534 if test -n "$LN"; then
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
14536 $as_echo "$LN" >&6; }
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14539 $as_echo "no" >&6; }
14543 # Extract the first word of "sed", so it can be a program name with args.
14544 set dummy sed; ac_word=$2
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14546 $as_echo_n "checking for $ac_word... " >&6; }
14547 if ${ac_cv_path_SED+:} false; then :
14548 $as_echo_n "(cached) " >&6
14552 ac_cv_path_SED="$SED" # Let the user override the test with a path.
14555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14556 for as_dir in $PATH
14559 test -z "$as_dir" && as_dir=.
14560 for ac_exec_ext in '' $ac_executable_extensions; do
14561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14562 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
14563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14573 SED=$ac_cv_path_SED
14574 if test -n "$SED"; then
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
14576 $as_echo "$SED" >&6; }
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14579 $as_echo "no" >&6; }
14583 # Extract the first word of "ar", so it can be a program name with args.
14584 set dummy ar; ac_word=$2
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14586 $as_echo_n "checking for $ac_word... " >&6; }
14587 if ${ac_cv_path_AR+:} false; then :
14588 $as_echo_n "(cached) " >&6
14592 ac_cv_path_AR="$AR" # Let the user override the test with a path.
14595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14596 for as_dir in $PATH
14599 test -z "$as_dir" && as_dir=.
14600 for ac_exec_ext in '' $ac_executable_extensions; do
14601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14602 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
14603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14614 if test -n "$AR"; then
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
14616 $as_echo "$AR" >&6; }
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14619 $as_echo "no" >&6; }
14623 # Extract the first word of "ld", so it can be a program name with args.
14624 set dummy ld; ac_word=$2
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14626 $as_echo_n "checking for $ac_word... " >&6; }
14627 if ${ac_cv_path_LD+:} false; then :
14628 $as_echo_n "(cached) " >&6
14632 ac_cv_path_LD="$LD" # Let the user override the test with a path.
14635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14636 for as_dir in $PATH
14639 test -z "$as_dir" && as_dir=.
14640 for ac_exec_ext in '' $ac_executable_extensions; do
14641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14642 ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext"
14643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14654 if test -n "$LD"; then
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14656 $as_echo "$LD" >&6; }
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14659 $as_echo "no" >&6; }
14663 # Extract the first word of "ranlib", so it can be a program name with args.
14664 set dummy ranlib; ac_word=$2
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14666 $as_echo_n "checking for $ac_word... " >&6; }
14667 if ${ac_cv_path_RANLIB+:} false; then :
14668 $as_echo_n "(cached) " >&6
14672 ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a path.
14675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14676 for as_dir in $PATH
14679 test -z "$as_dir" && as_dir=.
14680 for ac_exec_ext in '' $ac_executable_extensions; do
14681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14682 ac_cv_path_RANLIB="$as_dir/$ac_word$ac_exec_ext"
14683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14693 RANLIB=$ac_cv_path_RANLIB
14694 if test -n "$RANLIB"; then
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
14696 $as_echo "$RANLIB" >&6; }
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14699 $as_echo "no" >&6; }
14703 # Extract the first word of "touch", so it can be a program name with args.
14704 set dummy touch; ac_word=$2
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14706 $as_echo_n "checking for $ac_word... " >&6; }
14707 if ${ac_cv_path_TOUCH+:} false; then :
14708 $as_echo_n "(cached) " >&6
14712 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
14715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14716 for as_dir in $PATH
14719 test -z "$as_dir" && as_dir=.
14720 for ac_exec_ext in '' $ac_executable_extensions; do
14721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14722 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
14723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14733 TOUCH=$ac_cv_path_TOUCH
14734 if test -n "$TOUCH"; then
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
14736 $as_echo "$TOUCH" >&6; }
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14739 $as_echo "no" >&6; }
14744 for ac_prog in 'bison -y' byacc
14746 # Extract the first word of "$ac_prog", so it can be a program name with args.
14747 set dummy $ac_prog; ac_word=$2
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14749 $as_echo_n "checking for $ac_word... " >&6; }
14750 if ${ac_cv_prog_YACC+:} false; then :
14751 $as_echo_n "(cached) " >&6
14753 if test -n "$YACC"; then
14754 ac_cv_prog_YACC="$YACC" # Let the user override the test.
14756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14757 for as_dir in $PATH
14760 test -z "$as_dir" && as_dir=.
14761 for ac_exec_ext in '' $ac_executable_extensions; do
14762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14763 ac_cv_prog_YACC="$ac_prog"
14764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14773 YACC=$ac_cv_prog_YACC
14774 if test -n "$YACC"; then
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
14776 $as_echo "$YACC" >&6; }
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14779 $as_echo "no" >&6; }
14783 test -n "$YACC" && break
14785 test -n "$YACC" || YACC="yacc"
14788 if test "$YACC" = "yacc" -a -z "`which $YACC 2>/dev
/null
`"; then
14789 as_fn_error $? "could not locate a suitable parser generator; install bison, yacc, or byacc" "$LINENO" 5
14792 for ac_prog in flex lex
14794 # Extract the first word of "$ac_prog", so it can be a program name with args.
14795 set dummy $ac_prog; ac_word=$2
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14797 $as_echo_n "checking for $ac_word... " >&6; }
14798 if ${ac_cv_prog_LEX+:} false; then :
14799 $as_echo_n "(cached) " >&6
14801 if test -n "$LEX"; then
14802 ac_cv_prog_LEX="$LEX" # Let the user override the test.
14804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14805 for as_dir in $PATH
14808 test -z "$as_dir" && as_dir=.
14809 for ac_exec_ext in '' $ac_executable_extensions; do
14810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14811 ac_cv_prog_LEX="$ac_prog"
14812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14821 LEX=$ac_cv_prog_LEX
14822 if test -n "$LEX"; then
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
14824 $as_echo "$LEX" >&6; }
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14827 $as_echo "no" >&6; }
14831 test -n "$LEX" && break
14833 test -n "$LEX" || LEX=":"
14835 if test "x$LEX" != "x:"; then
14836 cat >conftest.l <<_ACEOF
14842 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
14843 yyless ((input () != 0)); }
14844 f { unput (yytext[0]); }
14845 . { BEGIN INITIAL; }
14847 #ifdef YYTEXT_POINTER
14848 extern char *yytext;
14853 return ! yylex () + ! yywrap ();
14856 { { ac_try="$LEX conftest.l"
14857 case "(($ac_try" in
14858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14859 *) ac_try_echo
=$ac_try;;
14861 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14862 $as_echo "$ac_try_echo"; } >&5
14863 (eval "$LEX conftest.l") 2>&5
14865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14866 test $ac_status = 0; }
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
14868 $as_echo_n "checking lex output file root... " >&6; }
14869 if ${ac_cv_prog_lex_root+:} false
; then :
14870 $as_echo_n "(cached) " >&6
14873 if test -f lex.yy.c
; then
14874 ac_cv_prog_lex_root
=lex.yy
14875 elif test -f lexyy.c
; then
14876 ac_cv_prog_lex_root
=lexyy
14878 as_fn_error $?
"cannot find output from $LEX; giving up" "$LINENO" 5
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
14882 $as_echo "$ac_cv_prog_lex_root" >&6; }
14883 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
14885 if test -z "${LEXLIB+set}"; then
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
14887 $as_echo_n "checking lex library... " >&6; }
14888 if ${ac_cv_lib_lex+:} false
; then :
14889 $as_echo_n "(cached) " >&6
14893 ac_cv_lib_lex
='none needed'
14894 for ac_lib
in '' -lfl -ll; do
14895 LIBS
="$ac_lib $ac_save_LIBS"
14896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14898 `cat $LEX_OUTPUT_ROOT.c`
14900 if ac_fn_c_try_link
"$LINENO"; then :
14901 ac_cv_lib_lex
=$ac_lib
14903 rm -f core conftest.err conftest.
$ac_objext \
14904 conftest
$ac_exeext conftest.
$ac_ext
14905 test "$ac_cv_lib_lex" != 'none needed' && break
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
14911 $as_echo "$ac_cv_lib_lex" >&6; }
14912 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
14917 $as_echo_n "checking whether yytext is a pointer... " >&6; }
14918 if ${ac_cv_prog_lex_yytext_pointer+:} false
; then :
14919 $as_echo_n "(cached) " >&6
14921 # POSIX says lex can declare yytext either as a pointer or an array; the
14922 # default is implementation-dependent. Figure out which it is, since
14923 # not all implementations provide the %pointer and %array declarations.
14924 ac_cv_prog_lex_yytext_pointer
=no
14926 LIBS
="$LEXLIB $ac_save_LIBS"
14927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14930 #define YYTEXT_POINTER 1
14931 `cat $LEX_OUTPUT_ROOT.c`
14933 if ac_fn_c_try_link
"$LINENO"; then :
14934 ac_cv_prog_lex_yytext_pointer
=yes
14936 rm -f core conftest.err conftest.
$ac_objext \
14937 conftest
$ac_exeext conftest.
$ac_ext
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
14942 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
14943 if test $ac_cv_prog_lex_yytext_pointer = yes; then
14945 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
14948 rm -f conftest.l
$LEX_OUTPUT_ROOT.c
14952 if test "$LEX" = ":"; then
14953 as_fn_error $?
"could not locate a suitable lexical generator, install flex or lex." "$LINENO" 5
14956 # Check whether --enable-fhs-paths was given.
14957 if test "${enable_fhs_paths+set}" = set; then :
14958 enableval
=$enable_fhs_paths;
14960 if test "$libexecdir" = '${exec_prefix}/libexec' && \
14961 test "$localstatedir" = '${prefix}/var' && \
14962 test "$libdir" = '${exec_prefix}/lib'; then :
14963 enable_fhs_paths
=no
14965 enable_fhs_paths
=yes
14970 if test "x$enable_fhs_paths" = "xyes"; then :
14971 pkglibexecdir
='${libexecdir}/${PACKAGE_TARNAME}'
14972 rundir
=${rundir-'${prefix}/run'}
14973 pkgrundir
='${rundir}/${PACKAGE_TARNAME}'
14974 pkglocalstatedir
='${localstatedir}/${PACKAGE_TARNAME}'
14976 libexecdir
='${bindir}'
14977 pkglibexecdir
='${libexecdir}'
14978 rundir
='${sysconfdir}'
14979 pkgrundir
='${rundir}'
14980 localstatedir
='${prefix}'
14981 pkglocalstatedir
='${sysconfdir}'
14983 pkglibdir
='${libdir}/${PACKAGE_TARNAME}'
14989 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
14990 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14991 last_ac_define_dir
=`eval echo $pkglocalstatedir`
14992 ac_define_dir
=`eval echo $last_ac_define_dir`
14993 ac_define_dir_counter
=0
14994 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
14995 last_ac_define_dir
="$ac_define_dir"
14996 ac_define_dir
=`eval echo $last_ac_define_dir`
14997 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
14998 if test "x$ac_define_dir_counter" = x128
; then :
14999 as_fn_error $?
"detected recusive directory expansion when expanding PKGLOCALSTATEDIR=$pkglocalstatedir: $ac_define_dir" "$LINENO" 5
15003 PKGLOCALSTATEDIR
="$ac_define_dir"
15006 cat >>confdefs.h
<<_ACEOF
15007 #define PKGLOCALSTATEDIR "$ac_define_dir"
15013 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
15014 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15015 last_ac_define_dir
=`eval echo $pkglibexecdir`
15016 ac_define_dir
=`eval echo $last_ac_define_dir`
15017 ac_define_dir_counter
=0
15018 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
15019 last_ac_define_dir
="$ac_define_dir"
15020 ac_define_dir
=`eval echo $last_ac_define_dir`
15021 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
15022 if test "x$ac_define_dir_counter" = x128
; then :
15023 as_fn_error $?
"detected recusive directory expansion when expanding PKGLIBEXECDIR=$pkglibexecdir: $ac_define_dir" "$LINENO" 5
15027 PKGLIBEXECDIR
="$ac_define_dir"
15030 cat >>confdefs.h
<<_ACEOF
15031 #define PKGLIBEXECDIR "$ac_define_dir"
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15037 $as_echo_n "checking for ANSI C header files... " >&6; }
15038 if ${ac_cv_header_stdc+:} false
; then :
15039 $as_echo_n "(cached) " >&6
15041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15043 #include <stdlib.h>
15044 #include <stdarg.h>
15045 #include <string.h>
15056 if ac_fn_c_try_compile
"$LINENO"; then :
15057 ac_cv_header_stdc
=yes
15059 ac_cv_header_stdc
=no
15061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15063 if test $ac_cv_header_stdc = yes; then
15064 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15067 #include <string.h>
15070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15071 $EGREP "memchr" >/dev
/null
2>&1; then :
15074 ac_cv_header_stdc
=no
15080 if test $ac_cv_header_stdc = yes; then
15081 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15084 #include <stdlib.h>
15087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15088 $EGREP "free" >/dev
/null
2>&1; then :
15091 ac_cv_header_stdc
=no
15097 if test $ac_cv_header_stdc = yes; then
15098 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15099 if test "$cross_compiling" = yes; then :
15102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15105 #include <stdlib.h>
15106 #if ((' ' & 0x0FF) == 0x020)
15107 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15108 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15110 # define ISLOWER(c) \
15111 (('a' <= (c) && (c) <= 'i') \
15112 || ('j' <= (c) && (c) <= 'r') \
15113 || ('s' <= (c) && (c) <= 'z'))
15114 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15117 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15122 for (i = 0; i < 256; i++)
15123 if (XOR (islower (i), ISLOWER (i))
15124 || toupper (i) != TOUPPER (i))
15129 if ac_fn_c_try_run
"$LINENO"; then :
15132 ac_cv_header_stdc
=no
15134 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15135 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15141 $as_echo "$ac_cv_header_stdc" >&6; }
15142 if test $ac_cv_header_stdc = yes; then
15144 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15149 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
15151 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15152 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15153 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15154 cat >>confdefs.h
<<_ACEOF
15155 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15165 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15166 if ${ac_cv_c_const+:} false
; then :
15167 $as_echo_n "(cached) " >&6
15169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15176 #ifndef __cplusplus
15177 /* Ultrix mips cc rejects this sort of thing. */
15178 typedef int charset[2];
15179 const charset cs = { 0, 0 };
15180 /* SunOS 4.1.1 cc rejects this. */
15181 char const *const *pcpcc;
15183 /* NEC SVR4.0.2 mips cc rejects this. */
15184 struct point {int x, y;};
15185 static struct point const zero = {0,0};
15186 /* AIX XL C 1.02.0.0 rejects this.
15187 It does not let you subtract one const X* pointer from another in
15188 an arm of an if-expression whose if-part is not a constant
15190 const char *g = "string";
15191 pcpcc = &g + (g ? g-g : 0);
15192 /* HPUX 7.0 cc rejects these. */
15194 ppc = (char**) pcpcc;
15195 pcpcc = (char const *const *) ppc;
15196 { /* SCO 3.2v4 cc rejects this sort of thing. */
15199 char const *s = 0 ? (char *) 0 : (char const *) 0;
15204 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15205 int x[] = {25, 17};
15206 const int *foo = &x[0];
15209 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15210 typedef const int *iptr;
15214 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
15215 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15216 struct s { int j; const int *ap[3]; } bx;
15217 struct s *b = &bx; b->j = 5;
15219 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15220 const int foo = 10;
15221 if (!foo) return 0;
15223 return !cs[0] && !zero.x;
15230 if ac_fn_c_try_compile
"$LINENO"; then :
15235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15238 $as_echo "$ac_cv_c_const" >&6; }
15239 if test $ac_cv_c_const = no
; then
15241 $as_echo "#define const /**/" >>confdefs.h
15245 if test "$ac_cv_header_machine_endian_h" = "no" ; then
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15247 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15248 if ${ac_cv_c_bigendian+:} false
; then :
15249 $as_echo_n "(cached) " >&6
15251 ac_cv_c_bigendian
=unknown
15252 # See if we're dealing with a universal compiler.
15253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15254 /* end confdefs.h. */
15255 #ifndef __APPLE_CC__
15256 not a universal capable compiler
15261 if ac_fn_c_try_compile
"$LINENO"; then :
15263 # Check for potential -arch flags. It is not universal unless
15264 # there are at least two -arch flags with different values.
15267 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15268 if test -n "$ac_prev"; then
15270 i?
86 | x86_64
| ppc
| ppc64
)
15271 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15274 ac_cv_c_bigendian
=universal
15280 elif test "x$ac_word" = "x-arch"; then
15285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15286 if test $ac_cv_c_bigendian = unknown
; then
15287 # See if sys/param.h defines the BYTE_ORDER macro.
15288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15289 /* end confdefs.h. */
15290 #include <sys/types.h>
15291 #include <sys/param.h>
15296 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15297 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15299 bogus endian macros
15306 if ac_fn_c_try_compile
"$LINENO"; then :
15307 # It does; now see whether it defined to BIG_ENDIAN or not.
15308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15310 #include <sys/types.h>
15311 #include <sys/param.h>
15316 #if BYTE_ORDER != BIG_ENDIAN
15324 if ac_fn_c_try_compile
"$LINENO"; then :
15325 ac_cv_c_bigendian
=yes
15327 ac_cv_c_bigendian
=no
15329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15333 if test $ac_cv_c_bigendian = unknown
; then
15334 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15337 #include <limits.h>
15342 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15343 bogus endian macros
15350 if ac_fn_c_try_compile
"$LINENO"; then :
15351 # It does; now see whether it defined to _BIG_ENDIAN or not.
15352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15353 /* end confdefs.h. */
15354 #include <limits.h>
15359 #ifndef _BIG_ENDIAN
15367 if ac_fn_c_try_compile
"$LINENO"; then :
15368 ac_cv_c_bigendian
=yes
15370 ac_cv_c_bigendian
=no
15372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15376 if test $ac_cv_c_bigendian = unknown
; then
15377 # Compile a test program.
15378 if test "$cross_compiling" = yes; then :
15379 # Try to guess by grepping values from an object file.
15380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15382 short int ascii_mm[] =
15383 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15384 short int ascii_ii[] =
15385 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15386 int use_ascii (int i) {
15387 return ascii_mm[i] + ascii_ii[i];
15389 short int ebcdic_ii[] =
15390 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15391 short int ebcdic_mm[] =
15392 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15393 int use_ebcdic (int i) {
15394 return ebcdic_mm[i] + ebcdic_ii[i];
15401 return use_ascii (foo) == use_ebcdic (foo);
15406 if ac_fn_c_try_compile
"$LINENO"; then :
15407 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15408 ac_cv_c_bigendian
=yes
15410 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15411 if test "$ac_cv_c_bigendian" = unknown
; then
15412 ac_cv_c_bigendian
=no
15414 # finding both strings is unlikely to happen, but who knows?
15415 ac_cv_c_bigendian
=unknown
15419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15422 /* end confdefs.h. */
15423 $ac_includes_default
15428 /* Are we little or big endian? From Harbison&Steele. */
15432 char c[sizeof (long int)];
15435 return u.c[sizeof (long int) - 1] == 1;
15441 if ac_fn_c_try_run
"$LINENO"; then :
15442 ac_cv_c_bigendian
=no
15444 ac_cv_c_bigendian
=yes
15446 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15447 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15453 $as_echo "$ac_cv_c_bigendian" >&6; }
15454 case $ac_cv_c_bigendian in #(
15456 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15462 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15466 as_fn_error $?
"unknown endianness
15467 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15471 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15472 if test "x$ac_cv_type_pid_t" = xyes
; then :
15476 cat >>confdefs.h
<<_ACEOF
15482 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15483 if test "x$ac_cv_type_size_t" = xyes
; then :
15487 cat >>confdefs.h
<<_ACEOF
15488 #define size_t unsigned int
15493 # The cast to long int works around a bug in the HP C Compiler
15494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15496 # This bug is HP SR number 8606223364.
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15498 $as_echo_n "checking size of short... " >&6; }
15499 if ${ac_cv_sizeof_short+:} false
; then :
15500 $as_echo_n "(cached) " >&6
15502 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15505 if test "$ac_cv_type_short" = yes; then
15506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15508 as_fn_error
77 "cannot compute sizeof (short)
15509 See \`config.log' for more details" "$LINENO" 5; }
15511 ac_cv_sizeof_short
=0
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15517 $as_echo "$ac_cv_sizeof_short" >&6; }
15521 cat >>confdefs.h
<<_ACEOF
15522 #define SIZEOF_SHORT $ac_cv_sizeof_short
15526 # The cast to long int works around a bug in the HP C Compiler
15527 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15528 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15529 # This bug is HP SR number 8606223364.
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15531 $as_echo_n "checking size of int... " >&6; }
15532 if ${ac_cv_sizeof_int+:} false
; then :
15533 $as_echo_n "(cached) " >&6
15535 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15538 if test "$ac_cv_type_int" = yes; then
15539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15541 as_fn_error
77 "cannot compute sizeof (int)
15542 See \`config.log' for more details" "$LINENO" 5; }
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15550 $as_echo "$ac_cv_sizeof_int" >&6; }
15554 cat >>confdefs.h
<<_ACEOF
15555 #define SIZEOF_INT $ac_cv_sizeof_int
15559 # The cast to long int works around a bug in the HP C Compiler
15560 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15561 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15562 # This bug is HP SR number 8606223364.
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15564 $as_echo_n "checking size of long... " >&6; }
15565 if ${ac_cv_sizeof_long+:} false
; then :
15566 $as_echo_n "(cached) " >&6
15568 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15571 if test "$ac_cv_type_long" = yes; then
15572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15574 as_fn_error
77 "cannot compute sizeof (long)
15575 See \`config.log' for more details" "$LINENO" 5; }
15577 ac_cv_sizeof_long
=0
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15583 $as_echo "$ac_cv_sizeof_long" >&6; }
15587 cat >>confdefs.h
<<_ACEOF
15588 #define SIZEOF_LONG $ac_cv_sizeof_long
15592 # The cast to long int works around a bug in the HP C Compiler
15593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15595 # This bug is HP SR number 8606223364.
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
15597 $as_echo_n "checking size of long long... " >&6; }
15598 if ${ac_cv_sizeof_long_long+:} false
; then :
15599 $as_echo_n "(cached) " >&6
15601 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
15604 if test "$ac_cv_type_long_long" = yes; then
15605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15607 as_fn_error
77 "cannot compute sizeof (long long)
15608 See \`config.log' for more details" "$LINENO" 5; }
15610 ac_cv_sizeof_long_long
=0
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
15616 $as_echo "$ac_cv_sizeof_long_long" >&6; }
15620 cat >>confdefs.h
<<_ACEOF
15621 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
15628 $as_echo_n "checking for library containing socket... " >&6; }
15629 if ${ac_cv_search_socket+:} false
; then :
15630 $as_echo_n "(cached) " >&6
15632 ac_func_search_save_LIBS
=$LIBS
15633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15651 for ac_lib
in '' socket
; do
15652 if test -z "$ac_lib"; then
15653 ac_res
="none required"
15656 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15658 if ac_fn_c_try_link
"$LINENO"; then :
15659 ac_cv_search_socket
=$ac_res
15661 rm -f core conftest.err conftest.
$ac_objext \
15663 if ${ac_cv_search_socket+:} false
; then :
15667 if ${ac_cv_search_socket+:} false
; then :
15670 ac_cv_search_socket
=no
15672 rm conftest.
$ac_ext
15673 LIBS
=$ac_func_search_save_LIBS
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
15676 $as_echo "$ac_cv_search_socket" >&6; }
15677 ac_res
=$ac_cv_search_socket
15678 if test "$ac_res" != no
; then :
15679 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15682 as_fn_error $?
"You have no socket()! Aborting." "$LINENO" 5
15686 if test x
"$SUN" = xyes
; then
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
15688 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
15689 if ${ac_cv_search_inet_ntoa+:} false
; then :
15690 $as_echo_n "(cached) " >&6
15692 ac_func_search_save_LIBS
=$LIBS
15693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15696 /* Override any GCC internal prototype to avoid an error.
15697 Use char because int might match the return type of a GCC
15698 builtin and then its argument prototype would still apply. */
15706 return inet_ntoa ();
15711 for ac_lib
in '' nsl
; do
15712 if test -z "$ac_lib"; then
15713 ac_res
="none required"
15716 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15718 if ac_fn_c_try_link
"$LINENO"; then :
15719 ac_cv_search_inet_ntoa
=$ac_res
15721 rm -f core conftest.err conftest.
$ac_objext \
15723 if ${ac_cv_search_inet_ntoa+:} false
; then :
15727 if ${ac_cv_search_inet_ntoa+:} false
; then :
15730 ac_cv_search_inet_ntoa
=no
15732 rm conftest.
$ac_ext
15733 LIBS
=$ac_func_search_save_LIBS
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
15736 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
15737 ac_res
=$ac_cv_search_inet_ntoa
15738 if test "$ac_res" != no
; then :
15739 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15742 as_fn_error $?
"libnsl not found! Aborting." "$LINENO" 5
15747 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
15748 #include <sys/socket.h>
15750 if test "x$ac_cv_type_socklen_t" = xyes
; then :
15754 $as_echo "#define socklen_t unsigned int" >>confdefs.h
15759 # Check whether --enable-ipv6 was given.
15760 if test "${enable_ipv6+set}" = set; then :
15761 enableval
=$enable_ipv6; ipv6
=$enableval
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
15768 $as_echo_n "checking for library containing crypt... " >&6; }
15769 if ${ac_cv_search_crypt+:} false
; then :
15770 $as_echo_n "(cached) " >&6
15772 ac_func_search_save_LIBS
=$LIBS
15773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15774 /* end confdefs.h. */
15776 /* Override any GCC internal prototype to avoid an error.
15777 Use char because int might match the return type of a GCC
15778 builtin and then its argument prototype would still apply. */
15791 for ac_lib
in '' crypt descrypt
; do
15792 if test -z "$ac_lib"; then
15793 ac_res
="none required"
15796 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15798 if ac_fn_c_try_link
"$LINENO"; then :
15799 ac_cv_search_crypt
=$ac_res
15801 rm -f core conftest.err conftest.
$ac_objext \
15803 if ${ac_cv_search_crypt+:} false
; then :
15807 if ${ac_cv_search_crypt+:} false
; then :
15810 ac_cv_search_crypt
=no
15812 rm conftest.
$ac_ext
15813 LIBS
=$ac_func_search_save_LIBS
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
15816 $as_echo "$ac_cv_search_crypt" >&6; }
15817 ac_res
=$ac_cv_search_crypt
15818 if test "$ac_res" != no
; then :
15819 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15824 CRYPT_LIB
=$ac_cv_search_crypt
15826 if test "$CRYPT_LIB" = "none required"; then
15828 elif test "$CRYPT_LIB" = no
; then
15834 if test "$ac_cv_header_sys_wait_h" = yes -o "$ac_cv_header_wait_h" = yes; then
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
15843 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
15844 if ${gcc_cv_header_string+:} false
; then :
15845 $as_echo_n "(cached) " >&6
15848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15849 /* end confdefs.h. */
15850 #include <string.h>
15851 #include <strings.h>
15853 if ac_fn_c_try_compile
"$LINENO"; then :
15854 gcc_cv_header_string
=yes
15856 gcc_cv_header_string
=no
15858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
15862 $as_echo "$gcc_cv_header_string" >&6; }
15864 if test "$gcc_cv_header_string" = "yes"; then
15866 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15871 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15872 if ${ac_cv_c_bigendian+:} false
; then :
15873 $as_echo_n "(cached) " >&6
15875 ac_cv_c_bigendian
=unknown
15876 # See if we're dealing with a universal compiler.
15877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15878 /* end confdefs.h. */
15879 #ifndef __APPLE_CC__
15880 not a universal capable compiler
15885 if ac_fn_c_try_compile
"$LINENO"; then :
15887 # Check for potential -arch flags. It is not universal unless
15888 # there are at least two -arch flags with different values.
15891 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15892 if test -n "$ac_prev"; then
15894 i?
86 | x86_64
| ppc
| ppc64
)
15895 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15898 ac_cv_c_bigendian
=universal
15904 elif test "x$ac_word" = "x-arch"; then
15909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15910 if test $ac_cv_c_bigendian = unknown
; then
15911 # See if sys/param.h defines the BYTE_ORDER macro.
15912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15914 #include <sys/types.h>
15915 #include <sys/param.h>
15920 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15921 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15923 bogus endian macros
15930 if ac_fn_c_try_compile
"$LINENO"; then :
15931 # It does; now see whether it defined to BIG_ENDIAN or not.
15932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15934 #include <sys/types.h>
15935 #include <sys/param.h>
15940 #if BYTE_ORDER != BIG_ENDIAN
15948 if ac_fn_c_try_compile
"$LINENO"; then :
15949 ac_cv_c_bigendian
=yes
15951 ac_cv_c_bigendian
=no
15953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15957 if test $ac_cv_c_bigendian = unknown
; then
15958 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15961 #include <limits.h>
15966 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15967 bogus endian macros
15974 if ac_fn_c_try_compile
"$LINENO"; then :
15975 # It does; now see whether it defined to _BIG_ENDIAN or not.
15976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15977 /* end confdefs.h. */
15978 #include <limits.h>
15983 #ifndef _BIG_ENDIAN
15991 if ac_fn_c_try_compile
"$LINENO"; then :
15992 ac_cv_c_bigendian
=yes
15994 ac_cv_c_bigendian
=no
15996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16000 if test $ac_cv_c_bigendian = unknown
; then
16001 # Compile a test program.
16002 if test "$cross_compiling" = yes; then :
16003 # Try to guess by grepping values from an object file.
16004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16006 short int ascii_mm[] =
16007 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16008 short int ascii_ii[] =
16009 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16010 int use_ascii (int i) {
16011 return ascii_mm[i] + ascii_ii[i];
16013 short int ebcdic_ii[] =
16014 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16015 short int ebcdic_mm[] =
16016 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16017 int use_ebcdic (int i) {
16018 return ebcdic_mm[i] + ebcdic_ii[i];
16025 return use_ascii (foo) == use_ebcdic (foo);
16030 if ac_fn_c_try_compile
"$LINENO"; then :
16031 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
16032 ac_cv_c_bigendian
=yes
16034 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
16035 if test "$ac_cv_c_bigendian" = unknown
; then
16036 ac_cv_c_bigendian
=no
16038 # finding both strings is unlikely to happen, but who knows?
16039 ac_cv_c_bigendian
=unknown
16043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16046 /* end confdefs.h. */
16047 $ac_includes_default
16052 /* Are we little or big endian? From Harbison&Steele. */
16056 char c[sizeof (long int)];
16059 return u.c[sizeof (long int) - 1] == 1;
16065 if ac_fn_c_try_run
"$LINENO"; then :
16066 ac_cv_c_bigendian
=no
16068 ac_cv_c_bigendian
=yes
16070 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16071 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16077 $as_echo "$ac_cv_c_bigendian" >&6; }
16078 case $ac_cv_c_bigendian in #(
16080 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16086 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16090 as_fn_error $?
"unknown endianness
16091 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16095 ac_fn_c_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
16096 if test "x$ac_cv_header_stdarg_h" = xyes
; then :
16099 as_fn_error $?
"** stdarg.h could not be found - charybdis will not compile without it **" "$LINENO" 5
16105 if test "$ac_cv_c_compiler_gnu" = yes; then
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlcpy" >&5
16108 $as_echo_n "checking for strlcpy... " >&6; }
16109 save_CFLAGS
=$CFLAGS
16110 CFLAGS
="$CFLAGS -Wimplicit -Werror"
16112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16113 /* end confdefs.h. */
16114 #include <string.h>
16115 #include <stdlib.h>
16119 char *a = malloc(6);
16120 strlcpy(a, "hello", 6);
16126 if ac_fn_c_try_link
"$LINENO"; then :
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16128 $as_echo "yes" >&6; }
16130 $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16134 $as_echo "no" >&6; }
16137 rm -f core conftest.err conftest.
$ac_objext \
16138 conftest
$ac_exeext conftest.
$ac_ext
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlcat" >&5
16141 $as_echo_n "checking for strlcat... " >&6; }
16142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16143 /* end confdefs.h. */
16144 #include <string.h>
16145 #include <stdlib.h>
16149 char *a = malloc(6);
16151 strlcat(a, "hello", 6);
16157 if ac_fn_c_try_link
"$LINENO"; then :
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16159 $as_echo "yes" >&6; }
16161 $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16165 $as_echo "no" >&6; }
16168 rm -f core conftest.err conftest.
$ac_objext \
16169 conftest
$ac_exeext conftest.
$ac_ext
16171 CFLAGS
=$save_CFLAGS
16176 for ac_func
in strlcat strlcpy
16178 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16179 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16180 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16181 cat >>confdefs.h
<<_ACEOF
16182 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16191 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
16192 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16196 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
16197 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16200 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system has no u_int32_t or uint32_t, default to unsigned long int" >&5
16206 $as_echo "$as_me: WARNING: system has no u_int32_t or uint32_t, default to unsigned long int" >&2;}
16208 $as_echo "#define u_int32_t unsigned long int" >>confdefs.h
16217 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
16218 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
16222 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
16223 if test "x$ac_cv_type_uint16_t" = xyes
; then :
16226 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system has no u_int16_t or uint16_t, default to unsigned short int" >&5
16232 $as_echo "$as_me: WARNING: system has no u_int16_t or uint16_t, default to unsigned short int" >&2;}
16234 $as_echo "#define u_int16_t unsigned short int" >>confdefs.h
16243 ac_fn_c_check_type
"$LINENO" "in_port_t" "ac_cv_type_in_port_t" "#include <sys/types.h>
16244 #include <netinet/in.h>
16246 if test "x$ac_cv_type_in_port_t" = xyes
; then :
16250 $as_echo "#define in_port_t u_int16_t" >>confdefs.h
16255 ac_fn_c_check_type
"$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#include <sys/types.h>
16256 #include <sys/socket.h>
16258 if test "x$ac_cv_type_sa_family_t" = xyes
; then :
16262 $as_echo "#define sa_family_t u_int16_t" >>confdefs.h
16267 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16268 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16270 cat >>confdefs.h
<<_ACEOF
16271 #define HAVE_UINTPTR_T 1
16278 for ac_func
in socketpair vsnprintf mmap gettimeofday strdup strndup
16280 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16281 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16282 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16283 cat >>confdefs.h
<<_ACEOF
16284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16291 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16292 # for constant arguments. Useless!
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16294 $as_echo_n "checking for working alloca.h... " >&6; }
16295 if ${ac_cv_working_alloca_h+:} false
; then :
16296 $as_echo_n "(cached) " >&6
16298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16299 /* end confdefs.h. */
16300 #include <alloca.h>
16304 char *p = (char *) alloca (2 * sizeof (int));
16310 if ac_fn_c_try_link
"$LINENO"; then :
16311 ac_cv_working_alloca_h
=yes
16313 ac_cv_working_alloca_h
=no
16315 rm -f core conftest.err conftest.
$ac_objext \
16316 conftest
$ac_exeext conftest.
$ac_ext
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16319 $as_echo "$ac_cv_working_alloca_h" >&6; }
16320 if test $ac_cv_working_alloca_h = yes; then
16322 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16327 $as_echo_n "checking for alloca... " >&6; }
16328 if ${ac_cv_func_alloca_works+:} false
; then :
16329 $as_echo_n "(cached) " >&6
16331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16332 /* end confdefs.h. */
16334 # define alloca __builtin_alloca
16337 # include <malloc.h>
16338 # define alloca _alloca
16340 # ifdef HAVE_ALLOCA_H
16341 # include <alloca.h>
16346 # ifndef alloca /* predefined by HP cc +Olibcalls */
16347 void *alloca (size_t);
16357 char *p = (char *) alloca (1);
16363 if ac_fn_c_try_link
"$LINENO"; then :
16364 ac_cv_func_alloca_works
=yes
16366 ac_cv_func_alloca_works
=no
16368 rm -f core conftest.err conftest.
$ac_objext \
16369 conftest
$ac_exeext conftest.
$ac_ext
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16372 $as_echo "$ac_cv_func_alloca_works" >&6; }
16374 if test $ac_cv_func_alloca_works = yes; then
16376 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16379 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16380 # that cause trouble. Some versions do not even contain alloca or
16381 # contain a buggy version. If you still want to use their alloca,
16382 # use ar to extract alloca.o from them instead of compiling alloca.c.
16384 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
16386 $as_echo "#define C_ALLOCA 1" >>confdefs.h
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16390 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16391 if ${ac_cv_os_cray+:} false
; then :
16392 $as_echo_n "(cached) " >&6
16394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16395 /* end confdefs.h. */
16396 #if defined CRAY && ! defined CRAY2
16403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16404 $EGREP "webecray" >/dev
/null
2>&1; then :
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16413 $as_echo "$ac_cv_os_cray" >&6; }
16414 if test $ac_cv_os_cray = yes; then
16415 for ac_func
in _getb67 GETB67 getb67
; do
16416 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16417 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16418 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16420 cat >>confdefs.h
<<_ACEOF
16421 #define CRAY_STACKSEG_END $ac_func
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16431 $as_echo_n "checking stack direction for C alloca... " >&6; }
16432 if ${ac_cv_c_stack_direction+:} false
; then :
16433 $as_echo_n "(cached) " >&6
16435 if test "$cross_compiling" = yes; then :
16436 ac_cv_c_stack_direction
=0
16438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16439 /* end confdefs.h. */
16440 $ac_includes_default
16442 find_stack_direction (int *addr, int depth)
16444 int dir, dummy = 0;
16447 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
16448 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
16449 return dir + dummy;
16453 main (int argc, char **argv)
16455 return find_stack_direction (0, argc + !argv + 20) < 0;
16458 if ac_fn_c_try_run
"$LINENO"; then :
16459 ac_cv_c_stack_direction
=1
16461 ac_cv_c_stack_direction
=-1
16463 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16464 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16469 $as_echo "$ac_cv_c_stack_direction" >&6; }
16470 cat >>confdefs.h
<<_ACEOF
16471 #define STACK_DIRECTION $ac_cv_c_stack_direction
16479 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
16480 if test "x$ac_cv_func_nanosleep" = xyes
; then :
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
16484 $as_echo_n "checking for nanosleep in -lrt... " >&6; }
16485 if ${ac_cv_lib_rt_nanosleep+:} false
; then :
16486 $as_echo_n "(cached) " >&6
16488 ac_check_lib_save_LIBS
=$LIBS
16490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16491 /* end confdefs.h. */
16493 /* Override any GCC internal prototype to avoid an error.
16494 Use char because int might match the return type of a GCC
16495 builtin and then its argument prototype would still apply. */
16503 return nanosleep ();
16508 if ac_fn_c_try_link
"$LINENO"; then :
16509 ac_cv_lib_rt_nanosleep
=yes
16511 ac_cv_lib_rt_nanosleep
=no
16513 rm -f core conftest.err conftest.
$ac_objext \
16514 conftest
$ac_exeext conftest.
$ac_ext
16515 LIBS
=$ac_check_lib_save_LIBS
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
16518 $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
16519 if test "x$ac_cv_lib_rt_nanosleep" = xyes
; then :
16520 LIBS
="${LIBS} -lrt"
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
16523 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
16524 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
16525 $as_echo_n "(cached) " >&6
16527 ac_check_lib_save_LIBS
=$LIBS
16528 LIBS
="-lposix4 $LIBS"
16529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16532 /* Override any GCC internal prototype to avoid an error.
16533 Use char because int might match the return type of a GCC
16534 builtin and then its argument prototype would still apply. */
16542 return nanosleep ();
16547 if ac_fn_c_try_link
"$LINENO"; then :
16548 ac_cv_lib_posix4_nanosleep
=yes
16550 ac_cv_lib_posix4_nanosleep
=no
16552 rm -f core conftest.err conftest.
$ac_objext \
16553 conftest
$ac_exeext conftest.
$ac_ext
16554 LIBS
=$ac_check_lib_save_LIBS
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
16557 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
16558 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
16559 LIBS
="${LIBS} -lposix4"
16567 if test x
$ac_cv_func_nanosleep = xno
&& test x
$ac_cv_lib_posix4_nanosleep = xno
&& test x
$ac_cv_lib_rt_nanosleep = xno
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"nanosleep not found..using select for delay\"" >&5
16570 $as_echo "\"nanosleep not found..using select for delay\"" >&6; }
16573 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
16578 $as_echo_n "checking for OpenSSL... " >&6; }
16579 # Check whether --enable-openssl was given.
16580 if test "${enable_openssl+set}" = set; then :
16581 enableval
=$enable_openssl; cf_enable_openssl
=$enableval
16583 cf_enable_openssl
="auto"
16587 if test "$cf_enable_openssl" != "no" ; then
16588 cf_openssl_basedir
=""
16589 if test "$cf_enable_openssl" != "auto" &&
16590 test "$cf_enable_openssl" != "yes" ; then
16591 cf_openssl_basedir
="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
16593 for dirs in /usr
/local
/ssl
/usr
/pkg
/usr
/local \
16594 /usr
/local
/openssl
; do
16595 if test -f "${dirs}/include/openssl/opensslv.h" ; then
16596 cf_openssl_basedir
="${dirs}"
16602 if test ! -z "$cf_openssl_basedir"; then
16603 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
16604 SSL_INCLUDES
="-I${cf_openssl_basedir}/include"
16605 SSL_LIBS
="-L${cf_openssl_basedir}/lib"
16607 cf_openssl_basedir
=""
16610 if test -f "/usr/include/openssl/opensslv.h" ; then
16611 cf_openssl_basedir
="/usr"
16615 if test ! -z "$cf_openssl_basedir"; then
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
16617 $as_echo "$cf_openssl_basedir" >&6; }
16618 cf_enable_openssl
="yes"
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Specify a correct path?" >&5
16621 $as_echo "not found. Specify a correct path?" >&6; }
16622 cf_enable_openssl
="no"
16624 unset cf_openssl_basedir
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16627 $as_echo "disabled" >&6; }
16630 save_CPPFLAGS
="$CPPFLAGS"
16631 CPPFLAGS
="$CPPFLAGS $SSL_INCLUDES"
16633 LIBS
="$LIBS $SSL_LIBS"
16634 if test "$cf_enable_openssl" != no
; then
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.6 or above" >&5
16636 $as_echo_n "checking for OpenSSL 0.9.6 or above... " >&6; }
16637 if test "$cross_compiling" = yes; then :
16638 cf_openssl_version_ok
=no
16640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16642 #include <openssl/opensslv.h>
16643 #include <stdlib.h>
16647 if ( OPENSSL_VERSION_NUMBER >= 0x00906000)
16648 exit(0); else exit(1);
16653 if ac_fn_c_try_run
"$LINENO"; then :
16654 cf_openssl_version_ok
=yes
16656 cf_openssl_version_ok
=no
16658 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16659 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16663 if test "$cf_openssl_version_ok" = yes; then
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16665 $as_echo "found" >&6; }
16670 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16672 $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
16673 if ${ac_cv_lib_crypto_RSA_free+:} false
; then :
16674 $as_echo_n "(cached) " >&6
16676 ac_check_lib_save_LIBS
=$LIBS
16677 LIBS
="-lcrypto $LIBS"
16678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16681 /* Override any GCC internal prototype to avoid an error.
16682 Use char because int might match the return type of a GCC
16683 builtin and then its argument prototype would still apply. */
16691 return RSA_free ();
16696 if ac_fn_c_try_link
"$LINENO"; then :
16697 ac_cv_lib_crypto_RSA_free
=yes
16699 ac_cv_lib_crypto_RSA_free
=no
16701 rm -f core conftest.err conftest.
$ac_objext \
16702 conftest
$ac_exeext conftest.
$ac_ext
16703 LIBS
=$ac_check_lib_save_LIBS
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
16706 $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
16707 if test "x$ac_cv_lib_crypto_RSA_free" = xyes
; then :
16708 cat >>confdefs.h
<<_ACEOF
16709 #define HAVE_LIBCRYPTO 1
16712 LIBS
="-lcrypto $LIBS"
16716 SSL_LIBS
="$SSL_LIBS -lcrypto"
16717 SSL_SRCS_ENABLE
='$(SSL_SRCS)'
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
16720 $as_echo "no - OpenSSL support disabled" >&6; }
16724 CPPFLAGS
="$save_CPPFLAGS"
16731 # Check whether --with-zlib-path was given.
16732 if test "${with_zlib_path+set}" = set; then :
16733 withval
=$with_zlib_path; LIBS
="$LIBS -L$withval"
16737 # Check whether --enable-zlib was given.
16738 if test "${enable_zlib+set}" = set; then :
16739 enableval
=$enable_zlib; zlib
=$enableval
16745 if test "$zlib" = yes; then
16747 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16748 if test "x$ac_cv_header_zlib_h" = xyes
; then :
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
16751 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
16752 if ${ac_cv_lib_z_zlibVersion+:} false
; then :
16753 $as_echo_n "(cached) " >&6
16755 ac_check_lib_save_LIBS
=$LIBS
16757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16760 /* Override any GCC internal prototype to avoid an error.
16761 Use char because int might match the return type of a GCC
16762 builtin and then its argument prototype would still apply. */
16766 char zlibVersion ();
16770 return zlibVersion ();
16775 if ac_fn_c_try_link
"$LINENO"; then :
16776 ac_cv_lib_z_zlibVersion
=yes
16778 ac_cv_lib_z_zlibVersion
=no
16780 rm -f core conftest.err conftest.
$ac_objext \
16781 conftest
$ac_exeext conftest.
$ac_ext
16782 LIBS
=$ac_check_lib_save_LIBS
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
16785 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
16786 if test "x$ac_cv_lib_z_zlibVersion" = xyes
; then :
16791 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
16808 # Check whether --with-shared-sqlite was given.
16809 if test "${with_shared_sqlite+set}" = set; then :
16810 withval
=$with_shared_sqlite; shared_sqlite
=$withval
16816 if test "$shared_sqlite" = yes; then
16824 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16825 if test -n "$ac_tool_prefix"; then
16826 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16827 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16829 $as_echo_n "checking for $ac_word... " >&6; }
16830 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16831 $as_echo_n "(cached) " >&6
16833 case $PKG_CONFIG in
16835 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16839 for as_dir
in $PATH
16842 test -z "$as_dir" && as_dir
=.
16843 for ac_exec_ext
in '' $ac_executable_extensions; do
16844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16845 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16856 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16857 if test -n "$PKG_CONFIG"; then
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16859 $as_echo "$PKG_CONFIG" >&6; }
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16862 $as_echo "no" >&6; }
16867 if test -z "$ac_cv_path_PKG_CONFIG"; then
16868 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16869 # Extract the first word of "pkg-config", so it can be a program name with args.
16870 set dummy pkg
-config; ac_word
=$2
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16872 $as_echo_n "checking for $ac_word... " >&6; }
16873 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16874 $as_echo_n "(cached) " >&6
16876 case $ac_pt_PKG_CONFIG in
16878 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16882 for as_dir
in $PATH
16885 test -z "$as_dir" && as_dir
=.
16886 for ac_exec_ext
in '' $ac_executable_extensions; do
16887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16888 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16899 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16900 if test -n "$ac_pt_PKG_CONFIG"; then
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16902 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16905 $as_echo "no" >&6; }
16908 if test "x$ac_pt_PKG_CONFIG" = x
; then
16911 case $cross_compiling:$ac_tool_warned in
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16915 ac_tool_warned
=yes ;;
16917 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16920 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16924 if test -n "$PKG_CONFIG"; then
16925 _pkg_min_version
=0.9.0
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16927 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16928 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16930 $as_echo "yes" >&6; }
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16933 $as_echo "no" >&6; }
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
16940 $as_echo_n "checking for SQLITE... " >&6; }
16942 if test -n "$SQLITE_CFLAGS"; then
16943 pkg_cv_SQLITE_CFLAGS
="$SQLITE_CFLAGS"
16944 elif test -n "$PKG_CONFIG"; then
16945 if test -n "$PKG_CONFIG" && \
16946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
16947 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
16949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16950 test $ac_status = 0; }; then
16951 pkg_cv_SQLITE_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
16952 test "x$?" != "x0" && pkg_failed
=yes
16959 if test -n "$SQLITE_LIBS"; then
16960 pkg_cv_SQLITE_LIBS
="$SQLITE_LIBS"
16961 elif test -n "$PKG_CONFIG"; then
16962 if test -n "$PKG_CONFIG" && \
16963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
16964 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
16966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16967 test $ac_status = 0; }; then
16968 pkg_cv_SQLITE_LIBS
=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
16969 test "x$?" != "x0" && pkg_failed
=yes
16979 if test $pkg_failed = yes; then
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16981 $as_echo "no" >&6; }
16983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16984 _pkg_short_errors_supported
=yes
16986 _pkg_short_errors_supported
=no
16988 if test $_pkg_short_errors_supported = yes; then
16989 SQLITE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
16991 SQLITE_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
16993 # Put the nasty error message in config.log where it belongs
16994 echo "$SQLITE_PKG_ERRORS" >&5
16997 elif test $pkg_failed = untried
; then
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16999 $as_echo "no" >&6; }
17002 SQLITE_CFLAGS
=$pkg_cv_SQLITE_CFLAGS
17003 SQLITE_LIBS
=$pkg_cv_SQLITE_LIBS
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17005 $as_echo "yes" >&6; }
17012 if test "$shared_sqlite" = no
; then
17013 SQLITE_OBJ
='sqlite3.$(OBJEXT)'
17016 SQLITE_LD
="$SQLITE_LIBS"
17018 SQLITE_INCLUDES
="$SQLITE_CFLAGS"
17023 # Check whether --enable-ports was given.
17024 if test "${enable_ports+set}" = set; then :
17025 enableval
=$enable_ports; if test $enableval = yes; then
17026 SELECT_TYPE_EXPLICIT
="ports"
17034 # Check whether --enable-poll was given.
17035 if test "${enable_poll+set}" = set; then :
17036 enableval
=$enable_poll; if test $enableval = yes; then
17037 SELECT_TYPE_EXPLICIT
="poll"
17045 # Check whether --enable-select was given.
17046 if test "${enable_select+set}" = set; then :
17047 enableval
=$enable_select; if test $enableval = yes; then
17048 SELECT_TYPE_EXPLICIT
="select"
17056 # Check whether --enable-kqueue was given.
17057 if test "${enable_kqueue+set}" = set; then :
17058 enableval
=$enable_kqueue; if test $enableval = yes; then
17059 SELECT_TYPE_EXPLICIT
="kqueue"
17067 # Check whether --enable-epoll was given.
17068 if test "${enable_epoll+set}" = set; then :
17069 enableval
=$enable_epoll; if test $enableval = yes; then
17070 SELECT_TYPE_EXPLICIT
="epoll"
17071 for ac_func
in epoll_ctl
17073 ac_fn_c_check_func
"$LINENO" "epoll_ctl" "ac_cv_func_epoll_ctl"
17074 if test "x$ac_cv_func_epoll_ctl" = xyes
; then :
17075 cat >>confdefs.h
<<_ACEOF
17076 #define HAVE_EPOLL_CTL 1
17093 # Check whether --with-confdir was given.
17094 if test "${with_confdir+set}" = set; then :
17095 withval
=$with_confdir; sysconfdir
=`echo $withval | sed 's/\/$//'`
17097 confdir
='${sysconfdir}'
17101 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
17102 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17103 last_ac_define_dir
=`eval echo $sysconfdir`
17104 ac_define_dir
=`eval echo $last_ac_define_dir`
17105 ac_define_dir_counter
=0
17106 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
17107 last_ac_define_dir
="$ac_define_dir"
17108 ac_define_dir
=`eval echo $last_ac_define_dir`
17109 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
17110 if test "x$ac_define_dir_counter" = x128
; then :
17111 as_fn_error $?
"detected recusive directory expansion when expanding ETC_DIR=$sysconfdir: $ac_define_dir" "$LINENO" 5
17115 ETC_DIR
="$ac_define_dir"
17118 cat >>confdefs.h
<<_ACEOF
17119 #define ETC_DIR "$ac_define_dir"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify logdir" >&5
17126 $as_echo_n "checking whether to modify logdir... " >&6; }
17128 # Check whether --with-logdir was given.
17129 if test "${with_logdir+set}" = set; then :
17130 withval
=$with_logdir; logdir
=`echo $withval | sed 's/\/$//'`
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17132 $as_echo "yes" >&6; }
17134 if test "x$enable_fhs_paths" = "xyes"; then :
17135 logdir
='${localstatedir}/log/${PACKAGE_TARNAME}'
17137 logdir
='${prefix}/logs'
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17140 $as_echo "no" >&6; }
17144 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
17145 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17146 last_ac_define_dir
=`eval echo $logdir`
17147 ac_define_dir
=`eval echo $last_ac_define_dir`
17148 ac_define_dir_counter
=0
17149 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
17150 last_ac_define_dir
="$ac_define_dir"
17151 ac_define_dir
=`eval echo $last_ac_define_dir`
17152 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
17153 if test "x$ac_define_dir_counter" = x128
; then :
17154 as_fn_error $?
"detected recusive directory expansion when expanding LOG_DIR=$logdir: $ac_define_dir" "$LINENO" 5
17158 LOG_DIR
="$ac_define_dir"
17161 cat >>confdefs.h
<<_ACEOF
17162 #define LOG_DIR "$ac_define_dir"
17169 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
17170 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
17171 eval echo \""$logdir"\"
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify helpdir" >&5
17178 $as_echo_n "checking whether to modify helpdir... " >&6; }
17180 # Check whether --with-helpdir was given.
17181 if test "${with_helpdir+set}" = set; then :
17182 withval
=$with_helpdir; helpdir
=`echo $withval | sed 's/\/$//'`
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17184 $as_echo "yes" >&6; }
17186 if test "x$enable_fhs_paths" = "xyes"; then :
17187 helpdir
='${datadir}/${PACKAGE_TARNAME}/help'
17189 helpdir
='${prefix}/help'
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17192 $as_echo "no" >&6; }
17196 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
17197 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17198 last_ac_define_dir
=`eval echo $helpdir`
17199 ac_define_dir
=`eval echo $last_ac_define_dir`
17200 ac_define_dir_counter
=0
17201 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
17202 last_ac_define_dir
="$ac_define_dir"
17203 ac_define_dir
=`eval echo $last_ac_define_dir`
17204 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
17205 if test "x$ac_define_dir_counter" = x128
; then :
17206 as_fn_error $?
"detected recusive directory expansion when expanding HELP_DIR=$helpdir: $ac_define_dir" "$LINENO" 5
17210 HELP_DIR
="$ac_define_dir"
17213 cat >>confdefs.h
<<_ACEOF
17214 #define HELP_DIR "$ac_define_dir"
17221 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
17222 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
17223 eval echo \""$helpdir"\"
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify moduledir" >&5
17230 $as_echo_n "checking whether to modify moduledir... " >&6; }
17232 # Check whether --with-moduledir was given.
17233 if test "${with_moduledir+set}" = set; then :
17234 withval
=$with_moduledir; moduledir
=`echo $withval | sed 's/\/$//'`
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17236 $as_echo "yes" >&6; }
17238 if test "x$enable_fhs_paths" = "xyes"; then :
17239 moduledir
='${pkglibdir}/modules'
17241 moduledir
='${prefix}/modules'
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17244 $as_echo "no" >&6; }
17249 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
17250 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17251 last_ac_define_dir
=`eval echo $moduledir`
17252 ac_define_dir
=`eval echo $last_ac_define_dir`
17253 ac_define_dir_counter
=0
17254 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
17255 last_ac_define_dir
="$ac_define_dir"
17256 ac_define_dir
=`eval echo $last_ac_define_dir`
17257 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
17258 if test "x$ac_define_dir_counter" = x128
; then :
17259 as_fn_error $?
"detected recusive directory expansion when expanding MODULE_DIR=$moduledir: $ac_define_dir" "$LINENO" 5
17263 MODULE_DIR
="$ac_define_dir"
17266 cat >>confdefs.h
<<_ACEOF
17267 #define MODULE_DIR "$ac_define_dir"
17274 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
17275 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
17276 eval echo \""$moduledir"\"
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether or modify rundir" >&5
17283 $as_echo_n "checking whether or modify rundir... " >&6; }
17285 # Check whether --with-rundir was given.
17286 if test "${with_rundir+set}" = set; then :
17287 withval
=$with_rundir; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17288 $as_echo "yes" >&6; }
17289 rundir
=`echo $withval | sed 's/\/$//'`
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17292 $as_echo "no" >&6; }
17293 if test "x$enable_fhs_paths" = "xyes"; then :
17294 rundir
='${prefix}/run'
17296 rundir
='${sysconfdir}'
17302 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
17303 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17304 last_ac_define_dir
=`eval echo $pkgrundir`
17305 ac_define_dir
=`eval echo $last_ac_define_dir`
17306 ac_define_dir_counter
=0
17307 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
17308 last_ac_define_dir
="$ac_define_dir"
17309 ac_define_dir
=`eval echo $last_ac_define_dir`
17310 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
17311 if test "x$ac_define_dir_counter" = x128
; then :
17312 as_fn_error $?
"detected recusive directory expansion when expanding PKGRUNDIR=$pkgrundir: $ac_define_dir" "$LINENO" 5
17316 PKGRUNDIR
="$ac_define_dir"
17319 cat >>confdefs.h
<<_ACEOF
17320 #define PKGRUNDIR "$ac_define_dir"
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program prefix" >&5
17326 $as_echo_n "checking for program prefix... " >&6; }
17328 # Check whether --with-program-prefix was given.
17329 if test "${with_program_prefix+set}" = set; then :
17330 withval
=$with_program_prefix; test "x$with_program_prefix" = "xno" && with_program_prefix
=
17332 with_program_prefix
=
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$with_program_prefix\"" >&5
17336 $as_echo "\"$with_program_prefix\"" >&6; }
17337 PROGRAM_PREFIX
="$with_program_prefix"
17340 cat >>confdefs.h
<<_ACEOF
17341 #define PROGRAM_PREFIX "$with_program_prefix"
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether custom branding is requested" >&5
17347 $as_echo_n "checking whether custom branding is requested... " >&6; }
17349 # Check whether --with-custom-branding was given.
17350 if test "${with_custom_branding+set}" = set; then :
17351 withval
=$with_custom_branding; BRANDING_NAME
=$withval
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17353 $as_echo "yes" >&6; }
17355 BRANDING_NAME
=$PACKAGE_NAME
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17357 $as_echo "no" >&6; }
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a custom version is requested" >&5
17363 $as_echo_n "checking whether a custom version is requested... " >&6; }
17365 # Check whether --with-custom-version was given.
17366 if test "${with_custom_version+set}" = set; then :
17367 withval
=$with_custom_version; BRANDING_VERSION
=$withval
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17369 $as_echo "yes" >&6; }
17371 BRANDING_VERSION
=$PACKAGE_VERSION
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17373 $as_echo "no" >&6; }
17379 cat >>confdefs.h
<<_ACEOF
17380 #define BRANDING_NAME "$BRANDING_NAME"
17384 cat >>confdefs.h
<<_ACEOF
17385 #define BRANDING_VERSION "$BRANDING_VERSION"
17389 if test "x$BRANDING_NAME" != "x$PACKAGE_NAME"; then
17391 $as_echo "#define CUSTOM_BRANDING 1" >>confdefs.h
17395 if test ! -z "$SELECT_TYPE_EXPLICIT"; then
17396 SELECT_TYPE
="$SELECT_TYPE_EXPLICIT";
17397 echo "Forcing $SELECT_TYPE to be enabled"
17400 if test ! "x$use_ports" = "xno"; then
17401 for ac_func
in port_getn
17403 ac_fn_c_check_func
"$LINENO" "port_getn" "ac_cv_func_port_getn"
17404 if test "x$ac_cv_func_port_getn" = xyes
; then :
17405 cat >>confdefs.h
<<_ACEOF
17406 #define HAVE_PORT_GETN 1
17414 if test "x$haveports" = "xyes" ; then
17415 SELECT_TYPE
="ports"
17419 if test ! "x$use_select" = "xno"; then
17420 for ac_func
in select
17422 ac_fn_c_check_func
"$LINENO" "select" "ac_cv_func_select"
17423 if test "x$ac_cv_func_select" = xyes
; then :
17424 cat >>confdefs.h
<<_ACEOF
17425 #define HAVE_SELECT 1
17433 if test "x$haveselect" = "xyes" ; then
17434 SELECT_TYPE
="select"
17438 if test ! "x$use_poll" = "xno"; then
17439 for ac_func
in poll
17441 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
17442 if test "x$ac_cv_func_poll" = xyes
; then :
17443 cat >>confdefs.h
<<_ACEOF
17444 #define HAVE_POLL 1
17452 if test "x$havepoll" = "xyes" ; then
17457 if test ! "x$use_kqueue" = "xno"; then
17458 for ac_func
in kevent
17460 ac_fn_c_check_func
"$LINENO" "kevent" "ac_cv_func_kevent"
17461 if test "x$ac_cv_func_kevent" = xyes
; then :
17462 cat >>confdefs.h
<<_ACEOF
17463 #define HAVE_KEVENT 1
17471 if test "x$havekqueue" = "xyes" ; then
17472 SELECT_TYPE
="kqueue"
17476 if test ! "x$use_epoll" = "xno"; then
17477 for ac_func
in epoll_ctl
17479 ac_fn_c_check_func
"$LINENO" "epoll_ctl" "ac_cv_func_epoll_ctl"
17480 if test "x$ac_cv_func_epoll_ctl" = xyes
; then :
17481 cat >>confdefs.h
<<_ACEOF
17482 #define HAVE_EPOLL_CTL 1
17490 if test "x$ac_cv_header_sys_epoll_h" = "xyes"; then
17491 if test "x$haveepoll" = "xyes" ; then
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll support in kernel" >&5
17493 $as_echo_n "checking for epoll support in kernel... " >&6; }
17494 if test "$cross_compiling" = yes; then :
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17496 $as_echo "no" >&6; }
17498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500 #include <stdint.h>
17501 #include <sys/param.h>
17502 #include <sys/types.h>
17503 #include <sys/epoll.h>
17504 #include <sys/syscall.h>
17505 #include <unistd.h>
17508 main(int argc, char **argv)
17512 epfd = epoll_create(256);
17513 return (epfd == -1 ? 1 : 0);
17516 if ac_fn_c_try_run
"$LINENO"; then :
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17518 $as_echo "yes" >&6; }
17520 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
17522 SELECT_TYPE
="epoll"
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17525 $as_echo "no" >&6; }
17527 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17528 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17534 haveepollsyscall
=no
17536 if test "x$ac_cv_header_sys_epoll_h" = "xyes"; then
17537 if test "x$haveepoll" = "xno" ; then
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll system call" >&5
17539 $as_echo_n "checking for epoll system call... " >&6; }
17540 if test "$cross_compiling" = yes; then :
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17542 $as_echo "no" >&6; }
17544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17546 #include <stdint.h>
17547 #include <sys/param.h>
17548 #include <sys/types.h>
17549 #include <sys/epoll.h>
17550 #include <sys/syscall.h>
17551 #include <unistd.h>
17554 epoll_create(int size)
17556 return (syscall(__NR_epoll_create, size));
17560 main(int argc, char **argv)
17564 epfd = epoll_create(256);
17565 exit (epfd == -1 ? 1 : 0);
17568 if ac_fn_c_try_run
"$LINENO"; then :
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17570 $as_echo "yes" >&6; }
17572 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
17574 SELECT_TYPE
="epoll"
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17577 $as_echo "no" >&6; }
17579 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17580 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17590 if test -z "$SELECT_TYPE"; then
17591 as_fn_error $?
"Unable to find a usable IO interface" "$LINENO" 5
17594 echo "Using $SELECT_TYPE for select loop."
17597 cat >>confdefs.h
<<_ACEOF
17598 #define SELECT_TYPE "$SELECT_TYPE"
17605 # Check whether --enable-assert was given.
17606 if test "${enable_assert+set}" = set; then :
17607 enableval
=$enable_assert; assert
=$enableval
17613 if test "$assert" = no
; then
17615 $as_echo "#define NDEBUG 1" >>confdefs.h
17617 elif test "$assert" = soft
; then
17619 $as_echo "#define SOFT_ASSERT 1" >>confdefs.h
17622 $as_echo "#define NDEBUG 1" >>confdefs.h
17624 elif test "$assert" = yes; then
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want IO Debugging hooks" >&5
17629 $as_echo_n "checking if you want IO Debugging hooks... " >&6; }
17630 # Check whether --enable-iodebug was given.
17631 if test "${enable_iodebug+set}" = set; then :
17632 enableval
=$enable_iodebug; iodebug
=$enableval
17638 if test "$iodebug" = yes; then
17640 $as_echo "#define USE_IODEBUG_HOOKS 1" >>confdefs.h
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17643 $as_echo "yes" >&6; }
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17646 $as_echo "no" >&6; }
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to do a profile build" >&5
17651 $as_echo_n "checking if you want to do a profile build... " >&6; }
17652 # Check whether --enable-profile was given.
17653 if test "${enable_profile+set}" = set; then :
17654 enableval
=$enable_profile; profile
=$enableval
17660 if test "$profile" = yes; then
17661 if test "$ac_cv_c_compiler_gnu" = yes; then
17662 IRC_CFLAGS
="$IRC_CFLAGS -pg"
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, adding -pg" >&5
17664 $as_echo "yes, adding -pg" >&6; }
17666 $as_echo "#define CHARYBDIS_PROFILE 1" >>confdefs.h
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, profile builds only work with gcc" >&5
17670 $as_echo "no, profile builds only work with gcc" >&6; }
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17674 $as_echo "no" >&6; }
17677 # Check whether --enable-balloc was given.
17678 if test "${enable_balloc+set}" = set; then :
17679 enableval
=$enable_balloc; balloc
=$enableval
17685 if test "$balloc" = no
; then
17687 $as_echo "#define NOBALLOC 1" >>confdefs.h
17691 # Check whether --enable-small-net was given.
17692 if test "${enable_small_net+set}" = set; then :
17693 enableval
=$enable_small_net; small_net
=$enableval
17699 if test "$small_net" = yes; then
17701 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
17704 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
17707 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
17710 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
17713 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
17716 $as_echo "#define PCLIENT_HEAP_SIZE 32" >>confdefs.h
17719 $as_echo "#define USER_HEAP_SIZE 128" >>confdefs.h
17722 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
17725 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
17728 $as_echo "#define LINEBUF_HEAP_SIZE 128" >>confdefs.h
17731 $as_echo "#define MEMBER_HEAP_SIZE 256" >>confdefs.h
17734 $as_echo "#define ND_HEAP_SIZE 128" >>confdefs.h
17737 $as_echo "#define CONFITEM_HEAP_SIZE 128" >>confdefs.h
17740 $as_echo "#define MONITOR_HEAP_SIZE 128" >>confdefs.h
17743 $as_echo "#define FD_HEAP_SIZE 128" >>confdefs.h
17746 $as_echo "#define AWAY_HEAP_SIZE 128" >>confdefs.h
17750 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
17753 $as_echo "#define CHANNEL_HEAP_SIZE 8192" >>confdefs.h
17756 $as_echo "#define BAN_HEAP_SIZE 4096" >>confdefs.h
17759 $as_echo "#define CLIENT_HEAP_SIZE 8192" >>confdefs.h
17762 $as_echo "#define LCLIENT_HEAP_SIZE 1024" >>confdefs.h
17765 $as_echo "#define PCLIENT_HEAP_SIZE 256" >>confdefs.h
17768 $as_echo "#define USER_HEAP_SIZE 8192" >>confdefs.h
17771 $as_echo "#define DNODE_HEAP_SIZE 8192" >>confdefs.h
17774 $as_echo "#define TOPIC_HEAP_SIZE 4096" >>confdefs.h
17777 $as_echo "#define LINEBUF_HEAP_SIZE 2048" >>confdefs.h
17780 $as_echo "#define MEMBER_HEAP_SIZE 32768" >>confdefs.h
17783 $as_echo "#define ND_HEAP_SIZE 512" >>confdefs.h
17786 $as_echo "#define CONFITEM_HEAP_SIZE 256" >>confdefs.h
17789 $as_echo "#define MONITOR_HEAP_SIZE 1024" >>confdefs.h
17792 $as_echo "#define FD_HEAP_SIZE 1024" >>confdefs.h
17795 $as_echo "#define AWAY_HEAP_SIZE 512" >>confdefs.h
17800 # Check whether --with-nicklen was given.
17801 if test "${with_nicklen+set}" = set; then :
17802 withval
=$with_nicklen;
17803 if ! expr "$withval" + 0 >/dev
/null
2>&1; then
17804 as_fn_error $?
"NICKLEN must be a numeric value" "$LINENO" 5
17806 if test $withval -gt 50; then
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NICKLEN has a hard limit of 50. Setting NICKLEN=50" >&5
17809 $as_echo "$as_me: WARNING: NICKLEN has a hard limit of 50. Setting NICKLEN=50" >&2;}
17810 elif test $withval -lt 9; then
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NICKLEN has a lower limit of 9. Setting NICKLEN=9" >&5
17813 $as_echo "$as_me: WARNING: NICKLEN has a lower limit of 9. Setting NICKLEN=9" >&2;}
17824 # Check whether --with-topiclen was given.
17825 if test "${with_topiclen+set}" = set; then :
17826 withval
=$with_topiclen;
17827 if test $withval -ge 390; then
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&5
17830 $as_echo "$as_me: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&2;}
17841 cat >>confdefs.h
<<_ACEOF
17842 #define TOPICLEN ${TOPICLEN}
17846 cat >>confdefs.h
<<_ACEOF
17847 #define NICKLEN (${NICKLEN}+1)
17851 # rpath, for finding libratbox.so at run time
17852 hold_ldflags
=$LDFLAGS
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ld -rpath flag" >&5
17854 $as_echo_n "checking for the ld -rpath flag... " >&6; }
17855 LDFLAGS
="${LDFLAGS} -Wl,-rpath=${libdir}"
17856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17867 if ac_fn_c_try_link
"$LINENO"; then :
17872 rm -f core conftest.err conftest.
$ac_objext \
17873 conftest
$ac_exeext conftest.
$ac_ext
17874 LDFLAGS
=$hold_ldflags
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
17876 $as_echo "$found" >&6; }
17877 if test "$found" = yes; then
17878 LDFLAGS
="${LDFLAGS} -Wl,-rpath=\${libdir}"
17881 # This must be down here, or it will mess up checks like the ones
17882 # for -Wl,-export-dynamic
17885 # Check whether --enable-warnings was given.
17886 if test "${enable_warnings+set}" = set; then :
17887 enableval
=$enable_warnings;
17888 IRC_CFLAGS
="$IRC_CFLAGS -O0"
17889 CFLAGS
="$IRC_CFLAGS"
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wall" >&5
17893 $as_echo_n "checking GCC flag(s) -Wall... " >&6; }
17894 if test "${GCC-no}" = yes
17896 if ${charybdis_cv_c_gcc_w_all+:} false
; then :
17897 $as_echo_n "(cached) " >&6
17900 oldcflags
="${CFLAGS-}"
17901 CFLAGS
="${CFLAGS-} ${CWARNS} -Wall -Werror"
17902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17905 #include <string.h>
17913 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17919 if ac_fn_c_try_compile
"$LINENO"; then :
17920 charybdis_cv_c_gcc_w_all
=yes
17922 charybdis_cv_c_gcc_w_all
=no
17924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17925 CFLAGS
="${oldcflags}"
17928 if test "x$charybdis_cv_c_gcc_w_all" = xyes
; then
17929 CWARNS
="${CWARNS}-Wall "
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17931 $as_echo "ok" >&6; }
17933 charybdis_cv_c_gcc_w_all
=''
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17935 $as_echo "no" >&6; }
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17939 $as_echo "no" >&6; }
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wpointer-arith" >&5
17944 $as_echo_n "checking GCC flag(s) -Wpointer-arith... " >&6; }
17945 if test "${GCC-no}" = yes
17947 if ${charybdis_cv_c_gcc_w_pointer_arith+:} false
; then :
17948 $as_echo_n "(cached) " >&6
17951 oldcflags
="${CFLAGS-}"
17952 CFLAGS
="${CFLAGS-} ${CWARNS} -Wpointer-arith -Werror"
17953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17956 #include <string.h>
17964 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17970 if ac_fn_c_try_compile
"$LINENO"; then :
17971 charybdis_cv_c_gcc_w_pointer_arith
=yes
17973 charybdis_cv_c_gcc_w_pointer_arith
=no
17975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17976 CFLAGS
="${oldcflags}"
17979 if test "x$charybdis_cv_c_gcc_w_pointer_arith" = xyes
; then
17980 CWARNS
="${CWARNS}-Wpointer-arith "
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17982 $as_echo "ok" >&6; }
17984 charybdis_cv_c_gcc_w_pointer_arith
=''
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17986 $as_echo "no" >&6; }
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17990 $as_echo "no" >&6; }
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wimplicit -Wnested-externs" >&5
17995 $as_echo_n "checking GCC flag(s) -Wimplicit -Wnested-externs... " >&6; }
17996 if test "${GCC-no}" = yes
17998 if ${charybdis_cv_c_gcc_w_implicit+:} false
; then :
17999 $as_echo_n "(cached) " >&6
18002 oldcflags
="${CFLAGS-}"
18003 CFLAGS
="${CFLAGS-} ${CWARNS} -Wimplicit -Wnested-externs -Werror"
18004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h. */
18007 #include <string.h>
18015 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18021 if ac_fn_c_try_compile
"$LINENO"; then :
18022 charybdis_cv_c_gcc_w_implicit
=yes
18024 charybdis_cv_c_gcc_w_implicit
=no
18026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18027 CFLAGS
="${oldcflags}"
18030 if test "x$charybdis_cv_c_gcc_w_implicit" = xyes
; then
18031 CWARNS
="${CWARNS}-Wimplicit -Wnested-externs "
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18033 $as_echo "ok" >&6; }
18035 charybdis_cv_c_gcc_w_implicit
=''
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18037 $as_echo "no" >&6; }
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18041 $as_echo "no" >&6; }
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wcast-align" >&5
18046 $as_echo_n "checking GCC flag(s) -Wcast-align... " >&6; }
18047 if test "${GCC-no}" = yes
18049 if ${charybdis_cv_c_gcc_w_cast_align+:} false
; then :
18050 $as_echo_n "(cached) " >&6
18053 oldcflags
="${CFLAGS-}"
18054 CFLAGS
="${CFLAGS-} ${CWARNS} -Wcast-align -Werror"
18055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18056 /* end confdefs.h. */
18058 #include <string.h>
18066 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18072 if ac_fn_c_try_compile
"$LINENO"; then :
18073 charybdis_cv_c_gcc_w_cast_align
=yes
18075 charybdis_cv_c_gcc_w_cast_align
=no
18077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18078 CFLAGS
="${oldcflags}"
18081 if test "x$charybdis_cv_c_gcc_w_cast_align" = xyes
; then
18082 CWARNS
="${CWARNS}-Wcast-align "
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18084 $as_echo "ok" >&6; }
18086 charybdis_cv_c_gcc_w_cast_align
=''
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18088 $as_echo "no" >&6; }
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18092 $as_echo "no" >&6; }
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wcast-qual" >&5
18097 $as_echo_n "checking GCC flag(s) -Wcast-qual... " >&6; }
18098 if test "${GCC-no}" = yes
18100 if ${charybdis_cv_c_gcc_w_cast_qual+:} false
; then :
18101 $as_echo_n "(cached) " >&6
18104 oldcflags
="${CFLAGS-}"
18105 CFLAGS
="${CFLAGS-} ${CWARNS} -Wcast-qual -Werror"
18106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18107 /* end confdefs.h. */
18109 #include <string.h>
18117 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18123 if ac_fn_c_try_compile
"$LINENO"; then :
18124 charybdis_cv_c_gcc_w_cast_qual
=yes
18126 charybdis_cv_c_gcc_w_cast_qual
=no
18128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18129 CFLAGS
="${oldcflags}"
18132 if test "x$charybdis_cv_c_gcc_w_cast_qual" = xyes
; then
18133 CWARNS
="${CWARNS}-Wcast-qual "
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18135 $as_echo "ok" >&6; }
18137 charybdis_cv_c_gcc_w_cast_qual
=''
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18139 $as_echo "no" >&6; }
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18143 $as_echo "no" >&6; }
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wwrite-strings" >&5
18148 $as_echo_n "checking GCC flag(s) -Wwrite-strings... " >&6; }
18149 if test "${GCC-no}" = yes
18151 if ${charybdis_cv_c_gcc_w_write_strings+:} false
; then :
18152 $as_echo_n "(cached) " >&6
18155 oldcflags
="${CFLAGS-}"
18156 CFLAGS
="${CFLAGS-} ${CWARNS} -Wwrite-strings -Werror"
18157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18158 /* end confdefs.h. */
18160 #include <string.h>
18168 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18174 if ac_fn_c_try_compile
"$LINENO"; then :
18175 charybdis_cv_c_gcc_w_write_strings
=yes
18177 charybdis_cv_c_gcc_w_write_strings
=no
18179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18180 CFLAGS
="${oldcflags}"
18183 if test "x$charybdis_cv_c_gcc_w_write_strings" = xyes
; then
18184 CWARNS
="${CWARNS}-Wwrite-strings "
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18186 $as_echo "ok" >&6; }
18188 charybdis_cv_c_gcc_w_write_strings
=''
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18190 $as_echo "no" >&6; }
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18194 $as_echo "no" >&6; }
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Werror-implicit-function-declaration" >&5
18199 $as_echo_n "checking GCC flag(s) -Werror-implicit-function-declaration... " >&6; }
18200 if test "${GCC-no}" = yes
18202 if ${charybdis_cv_c_gcc_w_error_implicit_function_declaration+:} false
; then :
18203 $as_echo_n "(cached) " >&6
18206 oldcflags
="${CFLAGS-}"
18207 CFLAGS
="${CFLAGS-} ${CWARNS} -Werror-implicit-function-declaration -Werror"
18208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18209 /* end confdefs.h. */
18211 #include <string.h>
18219 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18225 if ac_fn_c_try_compile
"$LINENO"; then :
18226 charybdis_cv_c_gcc_w_error_implicit_function_declaration
=yes
18228 charybdis_cv_c_gcc_w_error_implicit_function_declaration
=no
18230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18231 CFLAGS
="${oldcflags}"
18234 if test "x$charybdis_cv_c_gcc_w_error_implicit_function_declaration" = xyes
; then
18235 CWARNS
="${CWARNS}-Werror-implicit-function-declaration "
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18237 $as_echo "ok" >&6; }
18239 charybdis_cv_c_gcc_w_error_implicit_function_declaration
=''
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18241 $as_echo "no" >&6; }
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18245 $as_echo "no" >&6; }
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations" >&5
18250 $as_echo_n "checking GCC flag(s) -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations... " >&6; }
18251 if test "${GCC-no}" = yes
18253 if ${charybdis_cv_c_gcc_prototypes+:} false
; then :
18254 $as_echo_n "(cached) " >&6
18257 oldcflags
="${CFLAGS-}"
18258 CFLAGS
="${CFLAGS-} ${CWARNS} -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Werror"
18259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18262 #include <string.h>
18270 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18276 if ac_fn_c_try_compile
"$LINENO"; then :
18277 charybdis_cv_c_gcc_prototypes
=yes
18279 charybdis_cv_c_gcc_prototypes
=no
18281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18282 CFLAGS
="${oldcflags}"
18285 if test "x$charybdis_cv_c_gcc_prototypes" = xyes
; then
18286 CWARNS
="${CWARNS}-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations "
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18288 $as_echo "ok" >&6; }
18290 charybdis_cv_c_gcc_prototypes
=''
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18292 $as_echo "no" >&6; }
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18296 $as_echo "no" >&6; }
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wparenthesis" >&5
18301 $as_echo_n "checking GCC flag(s) -Wparenthesis... " >&6; }
18302 if test "${GCC-no}" = yes
18304 if ${charybdis_cv_c_gcc_parenthesis+:} false
; then :
18305 $as_echo_n "(cached) " >&6
18308 oldcflags
="${CFLAGS-}"
18309 CFLAGS
="${CFLAGS-} ${CWARNS} -Wparenthesis -Werror"
18310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18311 /* end confdefs.h. */
18313 #include <string.h>
18321 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18327 if ac_fn_c_try_compile
"$LINENO"; then :
18328 charybdis_cv_c_gcc_parenthesis
=yes
18330 charybdis_cv_c_gcc_parenthesis
=no
18332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18333 CFLAGS
="${oldcflags}"
18336 if test "x$charybdis_cv_c_gcc_parenthesis" = xyes
; then
18337 CWARNS
="${CWARNS}-Wparenthesis "
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18339 $as_echo "ok" >&6; }
18341 charybdis_cv_c_gcc_parenthesis
=''
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18343 $as_echo "no" >&6; }
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18347 $as_echo "no" >&6; }
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -W -Wno-unused" >&5
18352 $as_echo_n "checking GCC flag(s) -W -Wno-unused... " >&6; }
18353 if test "${GCC-no}" = yes
18355 if ${charybdis_cv_c_gcc_w+:} false
; then :
18356 $as_echo_n "(cached) " >&6
18359 oldcflags
="${CFLAGS-}"
18360 CFLAGS
="${CFLAGS-} ${CWARNS} -W -Wno-unused -Werror"
18361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18362 /* end confdefs.h. */
18364 #include <string.h>
18372 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18378 if ac_fn_c_try_compile
"$LINENO"; then :
18379 charybdis_cv_c_gcc_w
=yes
18381 charybdis_cv_c_gcc_w
=no
18383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18384 CFLAGS
="${oldcflags}"
18387 if test "x$charybdis_cv_c_gcc_w" = xyes
; then
18388 CWARNS
="${CWARNS}-W -Wno-unused "
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18390 $as_echo "ok" >&6; }
18392 charybdis_cv_c_gcc_w
=''
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18394 $as_echo "no" >&6; }
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18398 $as_echo "no" >&6; }
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wextra" >&5
18403 $as_echo_n "checking GCC flag(s) -Wextra... " >&6; }
18404 if test "${GCC-no}" = yes
18406 if ${charybdis_cv_c_gcc_w_extra+:} false
; then :
18407 $as_echo_n "(cached) " >&6
18410 oldcflags
="${CFLAGS-}"
18411 CFLAGS
="${CFLAGS-} ${CWARNS} -Wextra -Werror"
18412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h. */
18415 #include <string.h>
18423 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18429 if ac_fn_c_try_compile
"$LINENO"; then :
18430 charybdis_cv_c_gcc_w_extra
=yes
18432 charybdis_cv_c_gcc_w_extra
=no
18434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18435 CFLAGS
="${oldcflags}"
18438 if test "x$charybdis_cv_c_gcc_w_extra" = xyes
; then
18439 CWARNS
="${CWARNS}-Wextra "
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18441 $as_echo "ok" >&6; }
18443 charybdis_cv_c_gcc_w_extra
=''
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18445 $as_echo "no" >&6; }
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18449 $as_echo "no" >&6; }
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wshadow" >&5
18454 $as_echo_n "checking GCC flag(s) -Wshadow... " >&6; }
18455 if test "${GCC-no}" = yes
18457 if ${charybdis_cv_c_gcc_w_shadow+:} false
; then :
18458 $as_echo_n "(cached) " >&6
18461 oldcflags
="${CFLAGS-}"
18462 CFLAGS
="${CFLAGS-} ${CWARNS} -Wshadow -Werror"
18463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18466 #include <string.h>
18474 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18480 if ac_fn_c_try_compile
"$LINENO"; then :
18481 charybdis_cv_c_gcc_w_shadow
=yes
18483 charybdis_cv_c_gcc_w_shadow
=no
18485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18486 CFLAGS
="${oldcflags}"
18489 if test "x$charybdis_cv_c_gcc_w_shadow" = xyes
; then
18490 CWARNS
="${CWARNS}-Wshadow "
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18492 $as_echo "ok" >&6; }
18494 charybdis_cv_c_gcc_w_shadow
=''
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18496 $as_echo "no" >&6; }
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18500 $as_echo "no" >&6; }
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wmissing-noreturn" >&5
18505 $as_echo_n "checking GCC flag(s) -Wmissing-noreturn... " >&6; }
18506 if test "${GCC-no}" = yes
18508 if ${charybdis_cv_c_gcc_w_missing_noreturn+:} false
; then :
18509 $as_echo_n "(cached) " >&6
18512 oldcflags
="${CFLAGS-}"
18513 CFLAGS
="${CFLAGS-} ${CWARNS} -Wmissing-noreturn -Werror"
18514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18517 #include <string.h>
18525 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18531 if ac_fn_c_try_compile
"$LINENO"; then :
18532 charybdis_cv_c_gcc_w_missing_noreturn
=yes
18534 charybdis_cv_c_gcc_w_missing_noreturn
=no
18536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18537 CFLAGS
="${oldcflags}"
18540 if test "x$charybdis_cv_c_gcc_w_missing_noreturn" = xyes
; then
18541 CWARNS
="${CWARNS}-Wmissing-noreturn "
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18543 $as_echo "ok" >&6; }
18545 charybdis_cv_c_gcc_w_missing_noreturn
=''
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18547 $as_echo "no" >&6; }
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18551 $as_echo "no" >&6; }
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wundef" >&5
18556 $as_echo_n "checking GCC flag(s) -Wundef... " >&6; }
18557 if test "${GCC-no}" = yes
18559 if ${charybdis_cv_c_gcc_w_undef+:} false
; then :
18560 $as_echo_n "(cached) " >&6
18563 oldcflags
="${CFLAGS-}"
18564 CFLAGS
="${CFLAGS-} ${CWARNS} -Wundef -Werror"
18565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18568 #include <string.h>
18576 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18582 if ac_fn_c_try_compile
"$LINENO"; then :
18583 charybdis_cv_c_gcc_w_undef
=yes
18585 charybdis_cv_c_gcc_w_undef
=no
18587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18588 CFLAGS
="${oldcflags}"
18591 if test "x$charybdis_cv_c_gcc_w_undef" = xyes
; then
18592 CWARNS
="${CWARNS}-Wundef "
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18594 $as_echo "ok" >&6; }
18596 charybdis_cv_c_gcc_w_undef
=''
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18598 $as_echo "no" >&6; }
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18602 $as_echo "no" >&6; }
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wpacked" >&5
18607 $as_echo_n "checking GCC flag(s) -Wpacked... " >&6; }
18608 if test "${GCC-no}" = yes
18610 if ${charybdis_cv_c_gcc_w_packed+:} false
; then :
18611 $as_echo_n "(cached) " >&6
18614 oldcflags
="${CFLAGS-}"
18615 CFLAGS
="${CFLAGS-} ${CWARNS} -Wpacked -Werror"
18616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18619 #include <string.h>
18627 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18633 if ac_fn_c_try_compile
"$LINENO"; then :
18634 charybdis_cv_c_gcc_w_packed
=yes
18636 charybdis_cv_c_gcc_w_packed
=no
18638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18639 CFLAGS
="${oldcflags}"
18642 if test "x$charybdis_cv_c_gcc_w_packed" = xyes
; then
18643 CWARNS
="${CWARNS}-Wpacked "
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18645 $as_echo "ok" >&6; }
18647 charybdis_cv_c_gcc_w_packed
=''
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18649 $as_echo "no" >&6; }
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18653 $as_echo "no" >&6; }
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wnested-externs" >&5
18658 $as_echo_n "checking GCC flag(s) -Wnested-externs... " >&6; }
18659 if test "${GCC-no}" = yes
18661 if ${charybdis_cv_c_gcc_w_nested_externs+:} false
; then :
18662 $as_echo_n "(cached) " >&6
18665 oldcflags
="${CFLAGS-}"
18666 CFLAGS
="${CFLAGS-} ${CWARNS} -Wnested-externs -Werror"
18667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18670 #include <string.h>
18678 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18684 if ac_fn_c_try_compile
"$LINENO"; then :
18685 charybdis_cv_c_gcc_w_nested_externs
=yes
18687 charybdis_cv_c_gcc_w_nested_externs
=no
18689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18690 CFLAGS
="${oldcflags}"
18693 if test "x$charybdis_cv_c_gcc_w_nested_externs" = xyes
; then
18694 CWARNS
="${CWARNS}-Wnested-externs "
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18696 $as_echo "ok" >&6; }
18698 charybdis_cv_c_gcc_w_nested_externs
=''
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18700 $as_echo "no" >&6; }
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18704 $as_echo "no" >&6; }
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wunused-function -Wunused-label -Wunused-value -Wunused-variable" >&5
18709 $as_echo_n "checking GCC flag(s) -Wunused-function -Wunused-label -Wunused-value -Wunused-variable... " >&6; }
18710 if test "${GCC-no}" = yes
18712 if ${charybdis_cv_c_gcc_w_unused+:} false
; then :
18713 $as_echo_n "(cached) " >&6
18716 oldcflags
="${CFLAGS-}"
18717 CFLAGS
="${CFLAGS-} ${CWARNS} -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Werror"
18718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18721 #include <string.h>
18729 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18735 if ac_fn_c_try_compile
"$LINENO"; then :
18736 charybdis_cv_c_gcc_w_unused
=yes
18738 charybdis_cv_c_gcc_w_unused
=no
18740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18741 CFLAGS
="${oldcflags}"
18744 if test "x$charybdis_cv_c_gcc_w_unused" = xyes
; then
18745 CWARNS
="${CWARNS}-Wunused-function -Wunused-label -Wunused-value -Wunused-variable "
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18747 $as_echo "ok" >&6; }
18749 charybdis_cv_c_gcc_w_unused
=''
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18751 $as_echo "no" >&6; }
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18755 $as_echo "no" >&6; }
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wredundant-decls" >&5
18760 $as_echo_n "checking GCC flag(s) -Wredundant-decls... " >&6; }
18761 if test "${GCC-no}" = yes
18763 if ${charybdis_cv_c_gcc_w_redundant_decls+:} false
; then :
18764 $as_echo_n "(cached) " >&6
18767 oldcflags
="${CFLAGS-}"
18768 CFLAGS
="${CFLAGS-} ${CWARNS} -Wredundant-decls -Werror"
18769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h. */
18772 #include <string.h>
18780 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18786 if ac_fn_c_try_compile
"$LINENO"; then :
18787 charybdis_cv_c_gcc_w_redundant_decls
=yes
18789 charybdis_cv_c_gcc_w_redundant_decls
=no
18791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18792 CFLAGS
="${oldcflags}"
18795 if test "x$charybdis_cv_c_gcc_w_redundant_decls" = xyes
; then
18796 CWARNS
="${CWARNS}-Wredundant-decls "
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18798 $as_echo "ok" >&6; }
18800 charybdis_cv_c_gcc_w_redundant_decls
=''
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18802 $as_echo "no" >&6; }
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18806 $as_echo "no" >&6; }
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wfloat-equal" >&5
18811 $as_echo_n "checking GCC flag(s) -Wfloat-equal... " >&6; }
18812 if test "${GCC-no}" = yes
18814 if ${charybdis_cv_c_gcc_w_float_equal+:} false
; then :
18815 $as_echo_n "(cached) " >&6
18818 oldcflags
="${CFLAGS-}"
18819 CFLAGS
="${CFLAGS-} ${CWARNS} -Wfloat-equal -Werror"
18820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18823 #include <string.h>
18831 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18837 if ac_fn_c_try_compile
"$LINENO"; then :
18838 charybdis_cv_c_gcc_w_float_equal
=yes
18840 charybdis_cv_c_gcc_w_float_equal
=no
18842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18843 CFLAGS
="${oldcflags}"
18846 if test "x$charybdis_cv_c_gcc_w_float_equal" = xyes
; then
18847 CWARNS
="${CWARNS}-Wfloat-equal "
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18849 $as_echo "ok" >&6; }
18851 charybdis_cv_c_gcc_w_float_equal
=''
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18853 $as_echo "no" >&6; }
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18857 $as_echo "no" >&6; }
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wformat -Wformat-y2k -Wno-format-security" >&5
18862 $as_echo_n "checking GCC flag(s) -Wformat -Wformat-y2k -Wno-format-security... " >&6; }
18863 if test "${GCC-no}" = yes
18865 if ${charybdis_cv_c_gcc_w_format+:} false
; then :
18866 $as_echo_n "(cached) " >&6
18869 oldcflags
="${CFLAGS-}"
18870 CFLAGS
="${CFLAGS-} ${CWARNS} -Wformat -Wformat-y2k -Wno-format-security -Werror"
18871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18874 #include <string.h>
18882 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
18888 if ac_fn_c_try_compile
"$LINENO"; then :
18889 charybdis_cv_c_gcc_w_format
=yes
18891 charybdis_cv_c_gcc_w_format
=no
18893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18894 CFLAGS
="${oldcflags}"
18897 if test "x$charybdis_cv_c_gcc_w_format" = xyes
; then
18898 CWARNS
="${CWARNS}-Wformat -Wformat-y2k -Wno-format-security "
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18900 $as_echo "ok" >&6; }
18902 charybdis_cv_c_gcc_w_format
=''
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18904 $as_echo "no" >&6; }
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18908 $as_echo "no" >&6; }
18912 IRC_CFLAGS
="$CFLAGS"
18917 IRC_CFLAGS
="$IRC_CFLAGS $CWARNS"
18932 if test "$prefix" = "NONE"; then
18934 cat >>confdefs.h
<<_ACEOF
18935 #define IRCD_PREFIX "$ac_default_prefix"
18942 prefix
=`echo $prefix | sed 's/\/$//'`
18944 cat >>confdefs.h
<<_ACEOF
18945 #define IRCD_PREFIX "$prefix"
18951 ac_config_files
="$ac_config_files Makefile authd/Makefile bandb/Makefile ssld/Makefile extensions/Makefile ircd/Makefile modules/Makefile tools/Makefile tools/genssl doc/Makefile help/Makefile"
18953 ac_config_commands
="$ac_config_commands tools/genssl_chmod"
18956 cat >confcache
<<\_ACEOF
18957 # This file is a shell script that caches the results of configure
18958 # tests run on this system so they can be shared between configure
18959 # scripts and configure runs, see configure's option --config-cache.
18960 # It is not useful on other systems. If it contains results you don't
18961 # want to keep, you may remove or edit it.
18963 # config.status only pays attention to the cache file if you give it
18964 # the --recheck option to rerun configure.
18966 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18967 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18968 # following values.
18972 # The following way of writing the cache mishandles newlines in values,
18973 # but we know of no workaround that is simple, portable, and efficient.
18974 # So, we kill variables containing newlines.
18975 # Ultrix sh set writes to stderr and can't be redirected directly,
18976 # and sets the high bit in the cache file unless we assign to the vars.
18978 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18979 eval ac_val
=\$
$ac_var
18983 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18984 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18987 _
| IFS
| as_nl
) ;; #(
18988 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
18989 *) { eval $ac_var=; unset $ac_var;} ;;
18995 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18996 *${as_nl}ac_space
=\
*)
18997 # `set' does not quote correctly, so add quotes: double-quote
18998 # substitution turns \\\\ into \\, and sed turns \\ into \.
19001 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19004 # `set' quotes correctly as required by POSIX, so do not add quotes.
19005 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19014 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19016 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19018 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19019 if test -w "$cache_file"; then
19020 if test "x$cache_file" != "x/dev/null"; then
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19022 $as_echo "$as_me: updating cache $cache_file" >&6;}
19023 if test ! -f "$cache_file" || test -h "$cache_file"; then
19024 cat confcache
>"$cache_file"
19026 case $cache_file in #(
19028 mv -f confcache
"$cache_file"$$
&&
19029 mv -f "$cache_file"$$
"$cache_file" ;; #(
19031 mv -f confcache
"$cache_file" ;;
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19037 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19042 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19043 # Let make expand exec_prefix.
19044 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19046 DEFS
=-DHAVE_CONFIG_H
19051 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19052 # 1. Remove the extension, and $U if already installed.
19053 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19054 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19055 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19056 # will be set to the directory where LIBOBJS objects are built.
19057 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19058 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19060 LIBOBJS
=$ac_libobjs
19062 LTLIBOBJS
=$ac_ltlibobjs
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19066 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19067 if test -n "$am_sleep_pid"; then
19068 # Hide warnings about reused PIDs.
19069 wait $am_sleep_pid 2>/dev
/null
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19072 $as_echo "done" >&6; }
19073 if test -n "$EXEEXT"; then
19075 am__EXEEXT_FALSE
='#'
19077 am__EXEEXT_TRUE
='#'
19081 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19082 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19085 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19086 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19089 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
19090 as_fn_error $?
"conditional \"INSTALL_LTDL\" was never defined.
19091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19093 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
19094 as_fn_error $?
"conditional \"CONVENIENCE_LTDL\" was never defined.
19095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19097 LT_CONFIG_H
=include
/setup.h
19101 if test -n "$_LT_LIBOBJS"; then
19102 # Remove the extension.
19103 _lt_sed_drop_objext
='s/\.o$//;s/\.obj$//'
19104 for i
in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
19105 _ltdl_libobjs
="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
19106 _ltdl_ltlibobjs
="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
19109 ltdl_LIBOBJS
=$_ltdl_libobjs
19111 ltdl_LTLIBOBJS
=$_ltdl_ltlibobjs
19114 if test -z "${BUILD_LTDL_TRUE}" && test -z "${BUILD_LTDL_FALSE}"; then
19115 as_fn_error $?
"conditional \"BUILD_LTDL\" was never defined.
19116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19118 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19119 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19125 : "${CONFIG_STATUS=./config.status}"
19127 ac_clean_files_save
=$ac_clean_files
19128 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19130 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19132 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19134 # Generated by $as_me.
19135 # Run this file to recreate the current configuration.
19136 # Compiler output produced by configure, useful for debugging
19137 # configure, is in config.log if it exists.
19140 ac_cs_recheck=false
19143 SHELL=\${CONFIG_SHELL-$SHELL}
19146 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
19147 ## -------------------- ##
19148 ## M4sh Initialization. ##
19149 ## -------------------- ##
19151 # Be more Bourne compatible
19152 DUALCASE
=1; export DUALCASE
# for MKS sh
19153 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19156 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19157 # is contrary to our usage. Disable this feature.
19158 alias -g '${1+"$@"}'='"$@"'
19159 setopt NO_GLOB_SUBST
19161 case `(set -o) 2>/dev/null` in #(
19173 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19174 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19175 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19176 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19177 # Prefer a ksh shell builtin over an external printf program on Solaris,
19178 # but without wasting forks for bash or zsh.
19179 if test -z "$BASH_VERSION$ZSH_VERSION" \
19180 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19181 as_echo='print
-r --'
19182 as_echo_n='print
-rn --'
19183 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19184 as_echo='printf %s
\n'
19185 as_echo_n='printf %s
'
19187 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19188 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19189 as_echo_n='/usr
/ucb
/echo -n'
19191 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19192 as_echo_n_body='eval
19196 expr "X$arg" : "X\\(.*\\)$as_nl";
19197 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19199 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19201 export as_echo_n_body
19202 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19204 export as_echo_body
19205 as_echo='sh
-c $as_echo_body as_echo
'
19208 # The user is always right.
19209 if test "${PATH_SEPARATOR+set}" != set; then
19211 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19212 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19219 # We need space, tab and new line, in precisely that order. Quoting is
19220 # there to prevent editors from complaining about space-tab.
19221 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19222 # splitting by setting IFS to empty value.)
19225 # Find who we are. Look in the path if we contain no directory separator.
19228 *[\\/]* ) as_myself=$0 ;;
19229 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19230 for as_dir in $PATH
19233 test -z "$as_dir" && as_dir=.
19234 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19240 # We did not find ourselves, most probably we were run as `sh COMMAND'
19241 # in which case we are not to be found in the path.
19242 if test "x$as_myself" = x
; then
19245 if test ! -f "$as_myself"; then
19246 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19250 # Unset variables that we do not need and which cause bugs (e.g. in
19251 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19252 # suppresses any "Segmentation fault" message there. '((' could
19253 # trigger a bug in pdksh 5.2.14.
19254 for as_var
in BASH_ENV ENV MAIL MAILPATH
19255 do eval test x\
${$as_var+set} = xset \
19256 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
19269 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19272 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19273 # ----------------------------------------
19274 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19275 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19276 # script with STATUS, using 1 if that was 0.
19279 as_status
=$1; test $as_status -eq 0 && as_status
=1
19281 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19282 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19284 $as_echo "$as_me: error: $2" >&2
19285 as_fn_exit
$as_status
19289 # as_fn_set_status STATUS
19290 # -----------------------
19291 # Set $? to STATUS, without forking.
19292 as_fn_set_status
()
19295 } # as_fn_set_status
19297 # as_fn_exit STATUS
19298 # -----------------
19299 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19303 as_fn_set_status
$1
19309 # Portably unset VAR.
19312 { eval $1=; unset $1;}
19314 as_unset
=as_fn_unset
19315 # as_fn_append VAR VALUE
19316 # ----------------------
19317 # Append the text in VALUE to the end of the definition contained in VAR. Take
19318 # advantage of any shell optimizations that allow amortized linear growth over
19319 # repeated appends, instead of the typical quadratic growth present in naive
19321 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19322 eval 'as_fn_append ()
19333 # as_fn_arith ARG...
19334 # ------------------
19335 # Perform arithmetic evaluation on the ARGs, and store the result in the
19336 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19337 # must be portable across $(()) and expr.
19338 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19339 eval 'as_fn_arith ()
19346 as_val
=`expr "$@" || test $? -eq 1`
19351 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19352 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19358 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19359 as_basename
=basename
19364 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19370 as_me
=`$as_basename -- "$0" ||
19371 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19372 X"$0" : 'X\(//\)$' \| \
19373 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19375 sed '/^.*\/\([^/][^/]*\)\/*$/{
19389 # Avoid depending upon Character Ranges.
19390 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19391 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19392 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19393 as_cr_digits
='0123456789'
19394 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19396 ECHO_C
= ECHO_N
= ECHO_T
=
19397 case `echo -n x` in #(((((
19399 case `echo 'xy\c'` in
19400 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19402 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19409 rm -f conf$$ conf$$.exe conf$$.
file
19410 if test -d conf$$.dir
; then
19411 rm -f conf$$.dir
/conf$$.
file
19414 mkdir conf$$.dir
2>/dev
/null
19416 if (echo >conf$$.
file) 2>/dev
/null
; then
19417 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19419 # ... but there are two gotchas:
19420 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19421 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19422 # In both cases, we have to default to `cp -pR'.
19423 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
19425 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19433 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19434 rmdir conf$$.dir
2>/dev
/null
19439 # Create "$as_dir" as a directory, including parents if necessary.
19444 -*) as_dir
=.
/$as_dir;;
19446 test -d "$as_dir" || eval $as_mkdir_p || {
19450 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19451 *) as_qdir
=$as_dir;;
19453 as_dirs
="'$as_qdir' $as_dirs"
19454 as_dir
=`$as_dirname -- "$as_dir" ||
19455 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19456 X"$as_dir" : 'X\(//\)[^/]' \| \
19457 X"$as_dir" : 'X\(//\)$' \| \
19458 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19459 $as_echo X"$as_dir" |
19460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19464 /^X\(\/\/\)[^/].*/{
19477 test -d "$as_dir" && break
19479 test -z "$as_dirs" || eval "mkdir $as_dirs"
19480 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19484 if mkdir -p .
2>/dev
/null
; then
19485 as_mkdir_p
='mkdir -p "$as_dir"'
19487 test -d .
/-p && rmdir .
/-p
19492 # as_fn_executable_p FILE
19493 # -----------------------
19494 # Test if FILE is an executable regular file.
19495 as_fn_executable_p
()
19497 test -f "$1" && test -x "$1"
19498 } # as_fn_executable_p
19499 as_test_x
='test -x'
19500 as_executable_p
=as_fn_executable_p
19502 # Sed expression to map a string onto a valid CPP name.
19503 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19505 # Sed expression to map a string onto a valid variable name.
19506 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19510 ## ----------------------------------- ##
19511 ## Main body of $CONFIG_STATUS script. ##
19512 ## ----------------------------------- ##
19514 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19516 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19517 # Save the log message, to keep $0 and so on meaningful, and to
19518 # report actual input values of CONFIG_FILES etc. instead of their
19519 # values after options handling.
19521 This file was extended by charybdis $as_me 3.6.0-dev, which was
19522 generated by GNU Autoconf 2.69. Invocation command line was
19524 CONFIG_FILES = $CONFIG_FILES
19525 CONFIG_HEADERS = $CONFIG_HEADERS
19526 CONFIG_LINKS = $CONFIG_LINKS
19527 CONFIG_COMMANDS = $CONFIG_COMMANDS
19530 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19535 case $ac_config_files in *"
19536 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19539 case $ac_config_headers in *"
19540 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19545 # Files that config.status was made for.
19546 config_files="$ac_config_files"
19547 config_headers="$ac_config_headers"
19548 config_commands="$ac_config_commands"
19552 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19554 \`$as_me' instantiates files and other configuration actions
19555 from templates according to the current configuration. Unless the files
19556 and actions are specified as TAGs, all are instantiated by default.
19558 Usage: $0 [OPTION]... [TAG]...
19560 -h, --help print this help, then exit
19561 -V, --version print version number and configuration settings, then exit
19562 --config print configuration, then exit
19563 -q, --quiet, --silent
19564 do not print progress messages
19565 -d, --debug don't remove temporary files
19566 --recheck update $as_me by reconfiguring in the same conditions
19567 --file=FILE[:TEMPLATE]
19568 instantiate the configuration file FILE
19569 --header=FILE[:TEMPLATE]
19570 instantiate the configuration header FILE
19572 Configuration files:
19575 Configuration headers:
19578 Configuration commands:
19581 Report bugs to the package provider."
19584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19585 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19587 charybdis config.status 3.6.0-dev
19588 configured by $0, generated by GNU Autoconf 2.69,
19589 with options \\"\$ac_cs_config\\"
19591 Copyright (C) 2012 Free Software Foundation, Inc.
19592 This config.status script is free software; the Free Software Foundation
19593 gives unlimited permission to copy, distribute and modify it."
19600 test -n "\$AWK" || AWK=awk
19603 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19604 # The default lists apply if the user does not specify any file.
19610 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19611 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19615 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19627 # Handling of the options.
19628 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19630 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19631 $as_echo "$ac_cs_version"; exit ;;
19632 --config | --confi | --conf | --con | --co | --c )
19633 $as_echo "$ac_cs_config"; exit ;;
19634 --debug | --debu | --deb | --de | --d | -d )
19636 --file | --fil | --fi | --f )
19639 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19640 '') as_fn_error $?
"missing file argument" ;;
19642 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19643 ac_need_defaults
=false
;;
19644 --header | --heade | --head | --hea )
19647 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19649 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19650 ac_need_defaults
=false
;;
19652 # Conflict between --help and --header
19653 as_fn_error $?
"ambiguous option: \`$1'
19654 Try \`$0 --help' for more information.";;
19655 --help | --hel | -h )
19656 $as_echo "$ac_cs_usage"; exit ;;
19657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19658 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19661 # This is an error.
19662 -*) as_fn_error $?
"unrecognized option: \`$1'
19663 Try \`$0 --help' for more information." ;;
19665 *) as_fn_append ac_config_targets
" $1"
19666 ac_need_defaults
=false
;;
19672 ac_configure_extra_args
=
19674 if $ac_cs_silent; then
19676 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19681 if \$ac_cs_recheck; then
19682 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19684 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19685 CONFIG_SHELL='$SHELL'
19686 export CONFIG_SHELL
19691 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19695 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19696 ## Running $as_me. ##
19702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19706 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19709 # The HP-UX ksh and POSIX shell print the target directory to stdout
19710 # if CDPATH is set.
19711 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19713 sed_quote_subst='$sed_quote_subst'
19714 double_quote_subst='$double_quote_subst'
19715 delay_variable_subst='$delay_variable_subst'
19716 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19717 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19718 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19719 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19720 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19721 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19722 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19723 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19724 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19725 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19726 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19727 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19728 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19729 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19730 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19731 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19732 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19733 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19734 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19735 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19736 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19737 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19738 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19739 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19740 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19741 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19742 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19743 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19744 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19745 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19746 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19747 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19748 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19749 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19750 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19751 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19752 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19753 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19754 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19755 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19756 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19757 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19758 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19759 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19760 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19761 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19762 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19763 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19764 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19765 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19766 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19767 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19768 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19769 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19770 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19771 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19772 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"`'
19773 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19774 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19775 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19776 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19777 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19778 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19779 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19780 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19781 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19782 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19783 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19784 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19785 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19786 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19787 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19788 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19789 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19790 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19791 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19792 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19793 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19794 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19795 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19796 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19797 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19798 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19799 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19800 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19801 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19802 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19803 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19804 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19805 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19806 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19807 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19808 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19809 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19810 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19811 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19812 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19813 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19814 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19815 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19816 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19817 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19818 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19819 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19820 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19821 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19822 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19823 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19824 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19825 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19826 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19827 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19828 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19829 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19830 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19831 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19832 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19833 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19834 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19835 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19836 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19837 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19838 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19839 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19840 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19841 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19842 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19843 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19844 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19845 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19848 LTCFLAGS='$LTCFLAGS'
19849 compiler='$compiler_DEFAULT'
19851 # A function that is used when there is no print builtin or printf.
19852 func_fallback_echo ()
19854 eval 'cat <<_LTECHO_EOF
19859 # Quote evaled strings.
19874 deplibs_check_method \
19879 sharedlib_from_linklib_cmd \
19882 archiver_list_spec \
19888 lt_cv_sys_global_symbol_pipe \
19889 lt_cv_sys_global_symbol_to_cdecl \
19890 lt_cv_sys_global_symbol_to_c_name_address \
19891 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19892 nm_file_list_spec \
19893 lt_prog_compiler_no_builtin_flag \
19894 lt_prog_compiler_pic \
19895 lt_prog_compiler_wl \
19896 lt_prog_compiler_static \
19897 lt_cv_prog_compiler_c_o \
19906 export_dynamic_flag_spec \
19907 whole_archive_flag_spec \
19908 compiler_needs_object \
19910 allow_undefined_flag \
19911 no_undefined_flag \
19912 hardcode_libdir_flag_spec \
19913 hardcode_libdir_separator \
19917 variables_saved_for_relink \
19919 library_names_spec \
19921 install_override_mode \
19925 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19926 *[\\\\\\\`\\"\\\$]*)
19927 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19930 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19935 # Double-quote double-evaled strings.
19936 for var in reload_cmds \
19937 old_postinstall_cmds \
19938 old_postuninstall_cmds \
19940 extract_expsyms_cmds \
19941 old_archive_from_new_cmds \
19942 old_archive_from_expsyms_cmds \
19944 archive_expsym_cmds \
19946 module_expsym_cmds \
19947 export_symbols_cmds \
19951 postuninstall_cmds \
19953 sys_lib_search_path_spec \
19954 sys_lib_dlsearch_path_spec; do
19955 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19956 *[\\\\\\\`\\"\\\$]*)
19957 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19960 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19965 ac_aux_dir='$ac_aux_dir'
19966 xsi_shell='$xsi_shell'
19967 lt_shell_append='$lt_shell_append'
19969 # See if we are running on zsh, and set the options which allow our
19970 # commands through without removal of \ escapes INIT.
19971 if test -n "\${ZSH_VERSION+set}" ; then
19972 setopt NO_GLOB_SUBST
19978 TIMESTAMP='$TIMESTAMP'
19987 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19989 # Handling of arguments.
19990 for ac_config_target
in $ac_config_targets
19992 case $ac_config_target in
19993 "include/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/setup.h" ;;
19994 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19995 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19996 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19997 "authd/Makefile") CONFIG_FILES
="$CONFIG_FILES authd/Makefile" ;;
19998 "bandb/Makefile") CONFIG_FILES
="$CONFIG_FILES bandb/Makefile" ;;
19999 "ssld/Makefile") CONFIG_FILES
="$CONFIG_FILES ssld/Makefile" ;;
20000 "extensions/Makefile") CONFIG_FILES
="$CONFIG_FILES extensions/Makefile" ;;
20001 "ircd/Makefile") CONFIG_FILES
="$CONFIG_FILES ircd/Makefile" ;;
20002 "modules/Makefile") CONFIG_FILES
="$CONFIG_FILES modules/Makefile" ;;
20003 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20004 "tools/genssl") CONFIG_FILES
="$CONFIG_FILES tools/genssl" ;;
20005 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20006 "help/Makefile") CONFIG_FILES
="$CONFIG_FILES help/Makefile" ;;
20007 "tools/genssl_chmod") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/genssl_chmod" ;;
20009 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20014 # If the user did not use the arguments to specify the items to instantiate,
20015 # then the envvar interface is used. Set only those that are not.
20016 # We use the long form for the default assignment because of an extremely
20017 # bizarre bug on SunOS 4.1.3.
20018 if $ac_need_defaults; then
20019 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20020 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20021 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20024 # Have a temporary directory for convenience. Make it in the build tree
20025 # simply because there is no reason against having it here, and in addition,
20026 # creating and moving files from /tmp can sometimes cause problems.
20027 # Hook for its removal unless debugging.
20028 # Note that there is a small window in which the directory will not be cleaned:
20029 # after its creation but before its name has been assigned to `$tmp'.
20033 trap 'exit_status=$?
20034 : "${ac_tmp:=$tmp}"
20035 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20037 trap 'as_fn_exit 1' 1 2 13 15
20039 # Create a (secure) tmp directory for tmp files.
20042 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20046 tmp
=.
/conf$$
-$RANDOM
20047 (umask 077 && mkdir "$tmp")
20048 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20051 # Set up the scripts for CONFIG_FILES section.
20052 # No need to generate them if there are no CONFIG_FILES.
20053 # This happens for instance with `./config.status config.h'.
20054 if test -n "$CONFIG_FILES"; then
20057 ac_cr
=`echo X | tr X '\015'`
20058 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20059 # But we know of no other shell where ac_cr would be empty at this
20060 # point, so we can use a bashism as a fallback.
20061 if test "x$ac_cr" = x
; then
20062 eval ac_cr
=\$
\'\\r
\'
20064 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20065 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20068 ac_cs_awk_cr
=$ac_cr
20071 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20076 echo "cat >conf$$subs.awk <<_ACEOF" &&
20077 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20079 } >conf$$subs.sh ||
20080 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20081 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20083 for ac_last_try in false false false false false :; do
20084 . ./conf$$subs.sh ||
20085 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20087 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20088 if test $ac_delim_n = $ac_delim_num; then
20090 elif $ac_last_try; then
20091 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20093 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20096 rm -f conf$$subs.sh
20098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20099 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20103 s/^/S["/; s
/!.
*/"]=/
20113 s/\(.\{148\}\)..*/\1/
20115 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20120 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20127 s/\(.\{148\}\)..*/\1/
20129 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20133 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20138 ' <conf$$subs.awk | sed '
20143 ' >>$CONFIG_STATUS || ac_write_fail=1
20144 rm -f conf$$subs.awk
20145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20147 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20148 for (key in S) S_is_set[key] = 1
20154 nfields = split(line, field, "@
")
20156 len = length(field[1])
20157 for (i = 2; i < nfields; i++) {
20159 keylen = length(key)
20160 if (S_is_set[key]) {
20162 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20163 len += length(value) + length(field[++i])
20174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20175 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20176 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20179 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20180 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20183 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20184 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20185 # trailing colons and then remove the whole line if VPATH becomes empty
20186 # (actually we leave an empty line to preserve line numbers).
20187 if test "x
$srcdir" = x.; then
20188 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20207 fi # test -n "$CONFIG_FILES"
20209 # Set up the scripts for CONFIG_HEADERS section.
20210 # No need to generate them if there are no CONFIG_HEADERS.
20211 # This happens for instance with `./config.status Makefile'.
20212 if test -n "$CONFIG_HEADERS"; then
20213 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20217 # Transform confdefs.h into an awk script `defines.awk', embedded as
20218 # here-document in config.status, that substitutes the proper values into
20219 # config.h.in to produce config.h.
20221 # Create a delimiter string that does not exist in confdefs.h, to ease
20222 # handling of long lines.
20224 for ac_last_try in false false :; do
20225 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20226 if test -z "$ac_tt"; then
20228 elif $ac_last_try; then
20229 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20231 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20235 # For the awk script, D is an array of macro values keyed by name,
20236 # likewise P contains macro parameters if any. Preserve backslash
20237 # newline sequences.
20239 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20241 s/.\{148\}/&'"$ac_delim"'/g
20244 s/^[ ]*#[ ]*define[ ][ ]*/ /
20251 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20253 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20257 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20258 D["\
1"]=" \
3\\\\\\n
"\\/p
20260 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20265 s/.\{148\}/&'"$ac_delim"'/g
20270 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20273 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20275 ' <confdefs.h | sed '
20276 s/'"$ac_delim"'/"\\\
20277 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20280 for (key in D) D_is_set[key] = 1
20283 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20285 split(line, arg, " ")
20286 if (arg[1] == "#") {
20290 defundef
= substr
(arg
[1], 2)
20293 split(mac1
, mac2
, "(") #)
20295 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20296 if (D_is_set
[macro
]) {
20297 # Preserve the white space surrounding the "#".
20298 print prefix
"define", macro P
[macro
] D
[macro
]
20301 # Replace #undef with comments. This is necessary, for example,
20302 # in the case of _POSIX_SOURCE, which is predefined and required
20303 # on some systems where configure will not decide to define it.
20304 if (defundef
== "undef") {
20305 print
"/*", prefix defundef
, macro
, "*/"
20313 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20314 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20315 fi # test -n "$CONFIG_HEADERS"
20318 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20323 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20325 case $ac_mode$ac_tag in
20327 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20328 :[FH
]-) ac_tag
=-:-;;
20329 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20346 -) ac_f
="$ac_tmp/stdin";;
20347 *) # Look for the file first in the build tree, then in the source tree
20348 # (if the path is not absolute). The absolute path cannot be DOS-style,
20349 # because $ac_f cannot contain `:'.
20353 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20355 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20357 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20358 as_fn_append ac_file_inputs
" '$ac_f'"
20361 # Let's still pretend it is `configure' which instantiates (i.e., don't
20362 # use $as_me), people would be surprised to read:
20363 # /* config.h. Generated by config.status. */
20364 configure_input
='Generated from '`
20365 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20367 if test x
"$ac_file" != x
-; then
20368 configure_input
="$ac_file. $configure_input"
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20370 $as_echo "$as_me: creating $ac_file" >&6;}
20372 # Neutralize special characters interpreted by sed in replacement strings.
20373 case $configure_input in #(
20374 *\
&* | *\
|* | *\\* )
20375 ac_sed_conf_input
=`$as_echo "$configure_input" |
20376 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20377 *) ac_sed_conf_input
=$configure_input;;
20381 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20382 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20387 ac_dir
=`$as_dirname -- "$ac_file" ||
20388 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20389 X"$ac_file" : 'X\(//\)[^/]' \| \
20390 X"$ac_file" : 'X\(//\)$' \| \
20391 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20392 $as_echo X"$ac_file" |
20393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20397 /^X\(\/\/\)[^/].*/{
20410 as_dir
="$ac_dir"; as_fn_mkdir_p
20414 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20416 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20417 # A ".." for each directory in $ac_dir_suffix.
20418 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20419 case $ac_top_builddir_sub in
20420 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20421 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20424 ac_abs_top_builddir
=$ac_pwd
20425 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20426 # for backward compatibility:
20427 ac_top_builddir
=$ac_top_build_prefix
20430 .
) # We are building in place.
20432 ac_top_srcdir
=$ac_top_builddir_sub
20433 ac_abs_top_srcdir
=$ac_pwd ;;
20434 [\\/]* | ?
:[\\/]* ) # Absolute name.
20435 ac_srcdir
=$srcdir$ac_dir_suffix;
20436 ac_top_srcdir
=$srcdir
20437 ac_abs_top_srcdir
=$srcdir ;;
20438 *) # Relative name.
20439 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20440 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20441 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20443 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20453 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20454 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20456 ac_MKDIR_P
=$MKDIR_P
20458 [\\/$
]* | ?
:[\\/]* ) ;;
20459 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20463 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20464 # If the template does not know about datarootdir, expand it.
20465 # FIXME: This hack should be removed a few years after 2.60.
20466 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20477 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20478 *datarootdir
*) ac_datarootdir_seen
=yes;;
20479 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20481 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20484 ac_datarootdir_hack='
20485 s&@datadir@&$datadir&g
20486 s&@docdir@&$docdir&g
20487 s&@infodir@&$infodir&g
20488 s&@localedir@&$localedir&g
20489 s&@mandir@&$mandir&g
20490 s&\\\${datarootdir}&$datarootdir&g' ;;
20494 # Neutralize VPATH when `$srcdir' = `.'.
20495 # Shell code in configure.ac might set extrasub.
20496 # FIXME: do we really want to maintain this feature?
20497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20498 ac_sed_extra="$ac_vpsub
20501 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20503 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
20504 s
|@configure_input@
|$ac_sed_conf_input|;t t
20505 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20506 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20507 s
&@srcdir@
&$ac_srcdir&;t t
20508 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20509 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20510 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20511 s
&@builddir@
&$ac_builddir&;t t
20512 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20513 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20514 s
&@INSTALL@
&$ac_INSTALL&;t t
20515 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20516 $ac_datarootdir_hack
20518 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20519 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20521 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20522 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20523 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20524 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20526 which seems to be undefined. Please make sure it is defined" >&5
20527 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20528 which seems to be undefined. Please make sure it is defined" >&2;}
20530 rm -f "$ac_tmp/stdin"
20532 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20533 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20535 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20541 if test x"$ac_file" != x-; then
20543 $as_echo "/* $configure_input */" \
20544 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20545 } >"$ac_tmp/config.h" \
20546 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20547 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20549 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20552 mv "$ac_tmp/config.h" "$ac_file" \
20553 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20556 $as_echo "/* $configure_input */" \
20557 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20558 || as_fn_error $? "could not create -" "$LINENO" 5
20560 # Compute "$ac_file"'s index
in $config_headers.
20563 for _am_header
in $config_headers :; do
20564 case $_am_header in
20565 $_am_arg | $_am_arg:* )
20568 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20571 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20572 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20573 X"$_am_arg" : 'X\(//\)[^/]' \| \
20574 X"$_am_arg" : 'X\(//\)$' \| \
20575 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20576 $as_echo X"$_am_arg" |
20577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20581 /^X\(\/\/\)[^/].*/{
20593 s/.*/./; q'`/stamp
-h$_am_stamp_count
20596 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20597 $as_echo "$as_me: executing $ac_file commands" >&6;}
20602 case $ac_file$ac_mode in
20603 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
20604 # Older Autoconf quotes --file arguments for eval, but not when files
20605 # are listed without --file. Let's play safe and only enable the eval
20606 # if we detect the quoting.
20607 case $CONFIG_FILES in
20608 *\'*) eval set x
"$CONFIG_FILES" ;;
20609 *) set x
$CONFIG_FILES ;;
20614 # Strip MF so we end up with the name of the file.
20615 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20616 # Check whether this is an Automake generated Makefile or not.
20617 # We used to match only the files named 'Makefile.in', but
20618 # some people rename them; so instead we look at the file content.
20619 # Grep'ing the first line is not enough: some people post-process
20620 # each Makefile.in and add a new line on top of each file to say so.
20621 # Grep'ing the whole file is not good either: AIX grep has a line
20622 # limit of 2048, but all sed's we know have understand at least 4000.
20623 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
20624 dirpart
=`$as_dirname -- "$mf" ||
20625 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20626 X"$mf" : 'X\(//\)[^/]' \| \
20627 X"$mf" : 'X\(//\)$' \| \
20628 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20634 /^X\(\/\/\)[^/].*/{
20650 # Extract the definition of DEPDIR, am__include, and am__quote
20651 # from the Makefile without running 'make'.
20652 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20653 test -z "$DEPDIR" && continue
20654 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20655 test -z "$am__include" && continue
20656 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20657 # Find all dependency output files, they are included files with
20658 # $(DEPDIR) in their names. We invoke sed twice because it is the
20659 # simplest approach to changing $(DEPDIR) to its actual value in the
20661 for file in `sed -n "
20662 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20663 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20664 # Make sure the directory exists.
20665 test -f "$dirpart/$file" && continue
20666 fdir
=`$as_dirname -- "$file" ||
20667 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20668 X"$file" : 'X\(//\)[^/]' \| \
20669 X"$file" : 'X\(//\)$' \| \
20670 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20671 $as_echo X"$file" |
20672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20676 /^X\(\/\/\)[^/].*/{
20689 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
20690 # echo "creating $dirpart/$file"
20691 echo '# dummy' > "$dirpart/$file"
20698 # See if we are running on zsh, and set the options which allow our
20699 # commands through without removal of \ escapes.
20700 if test -n "${ZSH_VERSION+set}" ; then
20701 setopt NO_GLOB_SUBST
20704 cfgfile
="${ofile}T"
20705 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20708 cat <<_LT_EOF >> "$cfgfile"
20711 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20712 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20713 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20714 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20716 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20717 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20719 # Written by Gordon Matzigkeit, 1996
20721 # This file is part of GNU Libtool.
20723 # GNU Libtool is free software; you can redistribute it and/or
20724 # modify it under the terms of the GNU General Public License as
20725 # published by the Free Software Foundation; either version 2 of
20726 # the License, or (at your option) any later version.
20728 # As a special exception to the GNU General Public License,
20729 # if you distribute this file as part of a program or library that
20730 # is built using GNU Libtool, you may include this file under the
20731 # same distribution terms that you use for the rest of that program.
20733 # GNU Libtool is distributed in the hope that it will be useful,
20734 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20735 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20736 # GNU General Public License for more details.
20738 # You should have received a copy of the GNU General Public License
20739 # along with GNU Libtool; see the file COPYING. If not, a copy
20740 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20741 # obtained by writing to the Free Software Foundation, Inc.,
20742 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20745 # The names of the tagged configurations supported by this script.
20748 # ### BEGIN LIBTOOL CONFIG
20750 # Which release of libtool.m4 was used?
20751 macro_version=$macro_version
20752 macro_revision=$macro_revision
20754 # Whether or not to build static libraries.
20755 build_old_libs=$enable_static
20757 # Whether or not to build shared libraries.
20758 build_libtool_libs=$enable_shared
20760 # What type of objects to build.
20763 # Whether or not to optimize for fast installation.
20764 fast_install=$enable_fast_install
20766 # Shell to use when invoking shell scripts.
20769 # An echo program that protects backslashes.
20772 # The PATH separator for the build system.
20773 PATH_SEPARATOR=$lt_PATH_SEPARATOR
20776 host_alias=$host_alias
20780 # The build system.
20781 build_alias=$build_alias
20785 # A sed program that does not truncate output.
20788 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20789 Xsed="\$SED -e 1s/^X//"
20791 # A grep program that handles long lines.
20797 # A literal string matcher.
20800 # A BSD- or MS-compatible name lister.
20803 # Whether we need soft or hard links.
20806 # What is the maximum length of a command?
20807 max_cmd_len=$max_cmd_len
20809 # Object file suffix (normally "o").
20812 # Executable file suffix (normally "").
20815 # whether the shell understands "unset".
20818 # turn spaces into newlines.
20821 # turn newlines into spaces.
20824 # convert \$build file names to \$host format.
20825 to_host_file_cmd=$lt_cv_to_host_file_cmd
20827 # convert \$build files to toolchain format.
20828 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20830 # An object symbol dumper.
20831 OBJDUMP=$lt_OBJDUMP
20833 # Method to check whether dependent libraries are shared objects.
20834 deplibs_check_method=$lt_deplibs_check_method
20836 # Command to use when deplibs_check_method = "file_magic".
20837 file_magic_cmd=$lt_file_magic_cmd
20839 # How to find potential files when deplibs_check_method = "file_magic".
20840 file_magic_glob=$lt_file_magic_glob
20842 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20843 want_nocaseglob=$lt_want_nocaseglob
20845 # DLL creation program.
20846 DLLTOOL=$lt_DLLTOOL
20848 # Command to associate shared and link libraries.
20849 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20854 # Flags to create an archive.
20855 AR_FLAGS=$lt_AR_FLAGS
20857 # How to feed a file listing to the archiver.
20858 archiver_list_spec=$lt_archiver_list_spec
20860 # A symbol stripping program.
20863 # Commands used to install an old-style archive.
20865 old_postinstall_cmds=$lt_old_postinstall_cmds
20866 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20868 # Whether to use a lock for old archive extraction.
20869 lock_old_archive_extraction=$lock_old_archive_extraction
20874 # LTCC compiler flags.
20875 LTCFLAGS=$lt_CFLAGS
20877 # Take the output of nm and produce a listing of raw symbols and C names.
20878 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20880 # Transform the output of nm in a proper C declaration.
20881 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20883 # Transform the output of nm in a C name address pair.
20884 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20886 # Transform the output of nm in a C name address pair when lib prefix is needed.
20887 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20889 # Specify filename containing input files for \$NM.
20890 nm_file_list_spec=$lt_nm_file_list_spec
20892 # The root where to search for dependent libraries,and in which our libraries should be installed.
20893 lt_sysroot=$lt_sysroot
20895 # The name of the directory that contains temporary libtool files.
20898 # Used to examine libraries when file_magic_cmd begins with "file".
20899 MAGIC_CMD=$MAGIC_CMD
20901 # Must we lock files when doing compilation?
20902 need_locks=$lt_need_locks
20905 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20907 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20908 DSYMUTIL=$lt_DSYMUTIL
20910 # Tool to change global to local symbols on Mac OS X.
20913 # Tool to manipulate fat objects and archives on Mac OS X.
20916 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20919 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20920 OTOOL64=$lt_OTOOL64
20922 # Old archive suffix (normally "a").
20925 # Shared library suffix (normally ".so").
20926 shrext_cmds=$lt_shrext_cmds
20928 # The commands to extract the exported symbol list from a shared archive.
20929 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20931 # Variables whose values should be saved in libtool wrapper scripts and
20932 # restored at link time.
20933 variables_saved_for_relink=$lt_variables_saved_for_relink
20935 # Do we need the "lib" prefix for modules?
20936 need_lib_prefix=$need_lib_prefix
20938 # Do we need a version for libraries?
20939 need_version=$need_version
20941 # Library versioning type.
20942 version_type=$version_type
20944 # Shared library runtime path variable.
20945 runpath_var=$runpath_var
20947 # Shared library path variable.
20948 shlibpath_var=$shlibpath_var
20950 # Is shlibpath searched before the hard-coded library search path?
20951 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20953 # Format of library name prefix.
20954 libname_spec=$lt_libname_spec
20956 # List of archive names. First name is the real one, the rest are links.
20957 # The last name is the one that the linker finds with -lNAME
20958 library_names_spec=$lt_library_names_spec
20960 # The coded name of the library, if different from the real name.
20961 soname_spec=$lt_soname_spec
20963 # Permission mode override for installation of shared libraries.
20964 install_override_mode=$lt_install_override_mode
20966 # Command to use after installation of a shared archive.
20967 postinstall_cmds=$lt_postinstall_cmds
20969 # Command to use after uninstallation of a shared archive.
20970 postuninstall_cmds=$lt_postuninstall_cmds
20972 # Commands used to finish a libtool library installation in a directory.
20973 finish_cmds=$lt_finish_cmds
20975 # As "finish_cmds", except a single script fragment to be evaled but
20977 finish_eval=$lt_finish_eval
20979 # Whether we should hardcode library paths into libraries.
20980 hardcode_into_libs=$hardcode_into_libs
20982 # Compile-time system search path for libraries.
20983 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20985 # Run-time system search path for libraries.
20986 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20988 # Whether dlopen is supported.
20989 dlopen_support=$enable_dlopen
20991 # Whether dlopen of programs is supported.
20992 dlopen_self=$enable_dlopen_self
20994 # Whether dlopen of statically linked programs is supported.
20995 dlopen_self_static=$enable_dlopen_self_static
20997 # Commands to strip libraries.
20998 old_striplib=$lt_old_striplib
20999 striplib=$lt_striplib
21002 # The linker used to build libraries.
21005 # How to create reloadable object files.
21006 reload_flag=$lt_reload_flag
21007 reload_cmds=$lt_reload_cmds
21009 # Commands used to build an old-style archive.
21010 old_archive_cmds=$lt_old_archive_cmds
21012 # A language specific compiler.
21015 # Is the compiler the GNU compiler?
21018 # Compiler flag to turn off builtin functions.
21019 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21021 # Additional compiler flags for building library objects.
21022 pic_flag=$lt_lt_prog_compiler_pic
21024 # How to pass a linker flag through the compiler.
21025 wl=$lt_lt_prog_compiler_wl
21027 # Compiler flag to prevent dynamic linking.
21028 link_static_flag=$lt_lt_prog_compiler_static
21030 # Does compiler simultaneously support -c and -o options?
21031 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21033 # Whether or not to add -lc for building shared libraries.
21034 build_libtool_need_lc=$archive_cmds_need_lc
21036 # Whether or not to disallow shared libs when runtime libs are static.
21037 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21039 # Compiler flag to allow reflexive dlopens.
21040 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21042 # Compiler flag to generate shared objects directly from archives.
21043 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21045 # Whether the compiler copes with passing no objects directly.
21046 compiler_needs_object=$lt_compiler_needs_object
21048 # Create an old-style archive from a shared archive.
21049 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21051 # Create a temporary old-style archive to link instead of a shared archive.
21052 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21054 # Commands used to build a shared archive.
21055 archive_cmds=$lt_archive_cmds
21056 archive_expsym_cmds=$lt_archive_expsym_cmds
21058 # Commands used to build a loadable module if different from building
21059 # a shared archive.
21060 module_cmds=$lt_module_cmds
21061 module_expsym_cmds=$lt_module_expsym_cmds
21063 # Whether we are building with GNU ld or not.
21064 with_gnu_ld=$lt_with_gnu_ld
21066 # Flag that allows shared libraries with undefined symbols to be built.
21067 allow_undefined_flag=$lt_allow_undefined_flag
21069 # Flag that enforces no undefined symbols.
21070 no_undefined_flag=$lt_no_undefined_flag
21072 # Flag to hardcode \$libdir into a binary during linking.
21073 # This must work even if \$libdir does not exist
21074 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21076 # Whether we need a single "-rpath" flag with a separated argument.
21077 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21079 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21080 # DIR into the resulting binary.
21081 hardcode_direct=$hardcode_direct
21083 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21084 # DIR into the resulting binary and the resulting library dependency is
21085 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21086 # library is relocated.
21087 hardcode_direct_absolute=$hardcode_direct_absolute
21089 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21090 # into the resulting binary.
21091 hardcode_minus_L=$hardcode_minus_L
21093 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21094 # into the resulting binary.
21095 hardcode_shlibpath_var=$hardcode_shlibpath_var
21097 # Set to "yes" if building a shared library automatically hardcodes DIR
21098 # into the library and all subsequent libraries and executables linked
21100 hardcode_automatic=$hardcode_automatic
21102 # Set to yes if linker adds runtime paths of dependent libraries
21103 # to runtime path list.
21104 inherit_rpath=$inherit_rpath
21106 # Whether libtool must link a program against all its dependency libraries.
21107 link_all_deplibs=$link_all_deplibs
21109 # Set to "yes" if exported symbols are required.
21110 always_export_symbols=$always_export_symbols
21112 # The commands to list exported symbols.
21113 export_symbols_cmds=$lt_export_symbols_cmds
21115 # Symbols that should not be listed in the preloaded symbols.
21116 exclude_expsyms=$lt_exclude_expsyms
21118 # Symbols that must always be exported.
21119 include_expsyms=$lt_include_expsyms
21121 # Commands necessary for linking programs (against libraries) with templates.
21122 prelink_cmds=$lt_prelink_cmds
21124 # Commands necessary for finishing linking programs.
21125 postlink_cmds=$lt_postlink_cmds
21127 # Specify filename containing input files.
21128 file_list_spec=$lt_file_list_spec
21130 # How to hardcode a shared library path into an executable.
21131 hardcode_action=$hardcode_action
21133 # ### END LIBTOOL CONFIG
21139 cat <<\_LT_EOF
>> "$cfgfile"
21140 # AIX sometimes has problems with the GCC collect2 program. For some
21141 # reason, if we set the COLLECT_NAMES environment variable, the problems
21142 # vanish in a puff of smoke.
21143 if test "X${COLLECT_NAMES+set}" != Xset
; then
21145 export COLLECT_NAMES
21152 ltmain
="$ac_aux_dir/ltmain.sh"
21155 # We use sed instead of cat because bash on DJGPP gets confused if
21156 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21157 # text mode, it properly converts lines to CR/LF. This bash problem
21158 # is reportedly fixed, but why not run on old versions too?
21159 sed '$q' "$ltmain" >> "$cfgfile" \
21160 || (rm -f "$cfgfile"; exit 1)
21162 if test x
"$xsi_shell" = xyes
; then
21163 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21167 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21168 \ * ) func_dirname_result="${3}" ;;\
21170 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21171 && mv -f "$cfgfile.tmp" "$cfgfile" \
21172 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21173 test 0 -eq $?
|| _lt_function_replace_fail
=:
21176 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21179 \ func_basename_result="${1##*/}"\
21180 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21181 && mv -f "$cfgfile.tmp" "$cfgfile" \
21182 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21183 test 0 -eq $?
|| _lt_function_replace_fail
=:
21186 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21187 func_dirname_and_basename ()\
21190 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21191 \ * ) func_dirname_result="${3}" ;;\
21193 \ func_basename_result="${1##*/}"\
21194 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21195 && mv -f "$cfgfile.tmp" "$cfgfile" \
21196 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21197 test 0 -eq $?
|| _lt_function_replace_fail
=:
21200 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21203 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21204 \ # positional parameters, so assign one to ordinary parameter first.\
21205 \ func_stripname_result=${3}\
21206 \ func_stripname_result=${func_stripname_result#"${1}"}\
21207 \ func_stripname_result=${func_stripname_result%"${2}"}\
21208 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21209 && mv -f "$cfgfile.tmp" "$cfgfile" \
21210 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21211 test 0 -eq $?
|| _lt_function_replace_fail
=:
21214 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21215 func_split_long_opt ()\
21217 \ func_split_long_opt_name=${1%%=*}\
21218 \ func_split_long_opt_arg=${1#*=}\
21219 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21220 && mv -f "$cfgfile.tmp" "$cfgfile" \
21221 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21222 test 0 -eq $?
|| _lt_function_replace_fail
=:
21225 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21226 func_split_short_opt ()\
21228 \ func_split_short_opt_arg=${1#??}\
21229 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21230 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21231 && mv -f "$cfgfile.tmp" "$cfgfile" \
21232 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21233 test 0 -eq $?
|| _lt_function_replace_fail
=:
21236 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21240 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21241 \ *) func_lo2o_result=${1} ;;\
21243 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21244 && mv -f "$cfgfile.tmp" "$cfgfile" \
21245 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21246 test 0 -eq $?
|| _lt_function_replace_fail
=:
21249 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21252 func_xform_result=${1%.*}.lo\
21253 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21254 && mv -f "$cfgfile.tmp" "$cfgfile" \
21255 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21256 test 0 -eq $?
|| _lt_function_replace_fail
=:
21259 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21262 func_arith_result=$(( $* ))\
21263 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21264 && mv -f "$cfgfile.tmp" "$cfgfile" \
21265 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21266 test 0 -eq $?
|| _lt_function_replace_fail
=:
21269 sed -e '/^func_len ()$/,/^} # func_len /c\
21272 func_len_result=${#1}\
21273 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21274 && mv -f "$cfgfile.tmp" "$cfgfile" \
21275 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21276 test 0 -eq $?
|| _lt_function_replace_fail
=:
21280 if test x
"$lt_shell_append" = xyes
; then
21281 sed -e '/^func_append ()$/,/^} # func_append /c\
21284 eval "${1}+=\\${2}"\
21285 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21286 && mv -f "$cfgfile.tmp" "$cfgfile" \
21287 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21288 test 0 -eq $?
|| _lt_function_replace_fail
=:
21291 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21292 func_append_quoted ()\
21294 \ func_quote_for_eval "${2}"\
21295 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21296 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21297 && mv -f "$cfgfile.tmp" "$cfgfile" \
21298 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21299 test 0 -eq $?
|| _lt_function_replace_fail
=:
21302 # Save a `func_append' function call where possible by direct use of '+='
21303 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21304 && mv -f "$cfgfile.tmp" "$cfgfile" \
21305 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21306 test 0 -eq $?
|| _lt_function_replace_fail
=:
21308 # Save a `func_append' function call even when '+=' is not available
21309 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21310 && mv -f "$cfgfile.tmp" "$cfgfile" \
21311 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21312 test 0 -eq $?
|| _lt_function_replace_fail
=:
21315 if test x
"$_lt_function_replace_fail" = x
":"; then
21316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21317 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21321 mv -f "$cfgfile" "$ofile" ||
21322 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21326 "tools/genssl_chmod":C
) chmod 755 tools
/genssl
;;
21334 ac_clean_files
=$ac_clean_files_save
21336 test $ac_write_fail = 0 ||
21337 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21340 # configure is writing to config.log, and then calls config.status.
21341 # config.status does its own redirection, appending to config.log.
21342 # Unfortunately, on DOS this fails, as config.log is still kept open
21343 # by configure, so config.status won't be able to write to it; its
21344 # output is simply discarded. So we exec the FD to /dev/null,
21345 # effectively closing config.log, so it can be properly (re)opened and
21346 # appended to by config.status. When coming back to configure, we
21347 # need to make the FD available again.
21348 if test "$no_create" != yes; then
21350 ac_config_status_args
=
21351 test "$silent" = yes &&
21352 ac_config_status_args
="$ac_config_status_args --quiet"
21354 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21356 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21357 # would make configure fail if this is the last instruction.
21358 $ac_cs_success || as_fn_exit
1
21362 # CONFIG_SUBDIRS section.
21364 if test "$no_recursion" != yes; then
21366 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
21367 # so they do not pile up.
21368 ac_sub_configure_args
=
21370 eval "set x $ac_configure_args"
21374 if test -n "$ac_prev"; then
21379 -cache-file | --cache-file | --cache-fil | --cache-fi \
21380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21381 ac_prev
=cache_file
;;
21382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
21386 --config-cache | -C)
21388 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21390 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21392 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
21394 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
21396 --disable-option-checking)
21400 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
21402 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
21406 # Always prepend --prefix to ensure using the same prefix
21407 # in subdir configurations.
21408 ac_arg
="--prefix=$prefix"
21410 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
21412 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
21415 if test "$silent" = yes; then
21416 ac_sub_configure_args
="--silent $ac_sub_configure_args"
21419 # Always prepend --disable-option-checking to silence warnings, since
21420 # different subdirs can have different --enable and --with options.
21421 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
21424 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
21426 # Do not complain, so a configure script can configure whichever
21427 # parts of a large source tree are present.
21428 test -d "$srcdir/$ac_dir" || continue
21430 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
21431 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
21432 $as_echo "$ac_msg" >&6
21433 as_dir
="$ac_dir"; as_fn_mkdir_p
21437 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21439 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21440 # A ".." for each directory in $ac_dir_suffix.
21441 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21442 case $ac_top_builddir_sub in
21443 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21444 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21447 ac_abs_top_builddir
=$ac_pwd
21448 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21449 # for backward compatibility:
21450 ac_top_builddir
=$ac_top_build_prefix
21453 .
) # We are building in place.
21455 ac_top_srcdir
=$ac_top_builddir_sub
21456 ac_abs_top_srcdir
=$ac_pwd ;;
21457 [\\/]* | ?
:[\\/]* ) # Absolute name.
21458 ac_srcdir
=$srcdir$ac_dir_suffix;
21459 ac_top_srcdir
=$srcdir
21460 ac_abs_top_srcdir
=$srcdir ;;
21461 *) # Relative name.
21462 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21463 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21464 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21466 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21471 # Check for guested configure; otherwise get Cygnus style configure.
21472 if test -f "$ac_srcdir/configure.gnu"; then
21473 ac_sub_configure
=$ac_srcdir/configure.gnu
21474 elif test -f "$ac_srcdir/configure"; then
21475 ac_sub_configure
=$ac_srcdir/configure
21476 elif test -f "$ac_srcdir/configure.in"; then
21477 # This should be Cygnus configure.
21478 ac_sub_configure
=$ac_aux_dir/configure
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
21481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
21485 # The recursion is here.
21486 if test -n "$ac_sub_configure"; then
21487 # Make the cache file name correct relative to the subdirectory.
21488 case $cache_file in
21489 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
21490 *) # Relative name.
21491 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
21494 { $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
21495 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
21496 # The eval makes quoting arguments work.
21497 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
21498 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
21499 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
21505 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21507 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21511 if test "$cf_openssl_version_ok" = yes; then
21518 Configuration of ${BRANDING_NAME}-${BRANDING_VERSION}:
21519 Install directory : $prefix
21523 Socket Engine : $SELECT_TYPE
21524 Small network : $small_net
21525 Block allocator : $balloc
21527 Nickname length : $NICKLEN
21528 Topic length : $TOPICLEN
21530 Use (g)make to compile $BRANDING_NAME, then (g)make install to install it.