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
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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
='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 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_default_prefix
=$HOME/ircd
636 enable_option_checking
=no
637 ac_subst_vars
='ltdl_LTLIBOBJS
693 CONVENIENCE_LTDL_FALSE
694 CONVENIENCE_LTDL_TRUE
698 sys_symbol_underscore
758 INSTALL_STRIP_PROGRAM
811 program_transform_name
824 enable_option_checking
825 enable_dependency_tracking
858 ac_precious_vars
='build_alias
874 ac_subdirs_all
='libratbox
877 # Initialize some variables set by options.
879 ac_init_version
=false
880 ac_unrecognized_opts
=
882 # The variables have the same names as the options, with
883 # dashes changed to underlines.
891 program_transform_name
=s
,x
,x
,
899 # Installation directory options.
900 # These are left unexpanded so users can "make install exec_prefix=/foo"
901 # and all the variables that are supposed to be based on exec_prefix
902 # by default will actually change.
903 # Use braces instead of parens because sh, perl, etc. also accept them.
904 # (The list follows the same order as the GNU Coding Standards.)
905 bindir
='${exec_prefix}/bin'
906 sbindir
='${exec_prefix}/sbin'
907 libexecdir
='${exec_prefix}/libexec'
908 datarootdir
='${prefix}/share'
909 datadir
='${datarootdir}'
910 sysconfdir
='${prefix}/etc'
911 sharedstatedir
='${prefix}/com'
912 localstatedir
='${prefix}/var'
913 includedir
='${prefix}/include'
914 oldincludedir
='/usr/include'
915 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
916 infodir
='${datarootdir}/info'
921 libdir
='${exec_prefix}/lib'
922 localedir
='${datarootdir}/locale'
923 mandir
='${datarootdir}/man'
929 # If the previous option needs an argument, assign it.
930 if test -n "$ac_prev"; then
931 eval $ac_prev=\
$ac_option
937 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
942 # Accept the important Cygnus configure options, so we can diagnose typos.
944 case $ac_dashdash$ac_option in
948 -bindir | --bindir | --bindi | --bind | --bin | --bi)
950 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
953 -build | --build | --buil | --bui | --bu)
954 ac_prev
=build_alias
;;
955 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
956 build_alias
=$ac_optarg ;;
958 -cache-file | --cache-file | --cache-fil | --cache-fi \
959 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
960 ac_prev
=cache_file
;;
961 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
962 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
963 cache_file
=$ac_optarg ;;
966 cache_file
=config.cache
;;
968 -datadir | --datadir | --datadi | --datad)
970 -datadir=* | --datadir=* | --datadi=* | --datad=*)
971 datadir
=$ac_optarg ;;
973 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
974 | --dataroo | --dataro | --datar)
975 ac_prev
=datarootdir
;;
976 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
977 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
978 datarootdir
=$ac_optarg ;;
980 -disable-* | --disable-*)
981 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
984 as_fn_error $?
"invalid feature name: $ac_useropt"
985 ac_useropt_orig
=$ac_useropt
986 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
992 ac_unrecognized_sep
=', ';;
994 eval enable_
$ac_useropt=no
;;
996 -docdir | --docdir | --docdi | --doc | --do)
998 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1001 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1003 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1004 dvidir
=$ac_optarg ;;
1006 -enable-* | --enable-*)
1007 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1010 as_fn_error $?
"invalid feature name: $ac_useropt"
1011 ac_useropt_orig
=$ac_useropt
1012 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1015 "enable_
$ac_useropt"
1017 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1018 ac_unrecognized_sep
=', ';;
1020 eval enable_
$ac_useropt=\
$ac_optarg ;;
1022 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1023 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1024 | --exec | --exe | --ex)
1025 ac_prev
=exec_prefix
;;
1026 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1027 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1028 | --exec=* | --exe=* | --ex=*)
1029 exec_prefix
=$ac_optarg ;;
1031 -gas | --gas | --ga | --g)
1032 # Obsolete; use --with-gas.
1035 -help | --help | --hel | --he | -h)
1036 ac_init_help
=long
;;
1037 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1038 ac_init_help
=recursive
;;
1039 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1040 ac_init_help
=short
;;
1042 -host | --host | --hos | --ho)
1043 ac_prev
=host_alias
;;
1044 -host=* | --host=* | --hos=* | --ho=*)
1045 host_alias
=$ac_optarg ;;
1047 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1049 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1051 htmldir
=$ac_optarg ;;
1053 -includedir | --includedir | --includedi | --included | --include \
1054 | --includ | --inclu | --incl | --inc)
1055 ac_prev
=includedir
;;
1056 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1057 | --includ=* | --inclu=* | --incl=* | --inc=*)
1058 includedir
=$ac_optarg ;;
1060 -infodir | --infodir | --infodi | --infod | --info | --inf)
1062 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1063 infodir
=$ac_optarg ;;
1065 -libdir | --libdir | --libdi | --libd)
1067 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1068 libdir
=$ac_optarg ;;
1070 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1071 | --libexe | --libex | --libe)
1072 ac_prev
=libexecdir
;;
1073 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1074 | --libexe=* | --libex=* | --libe=*)
1075 libexecdir
=$ac_optarg ;;
1077 -localedir | --localedir | --localedi | --localed | --locale)
1078 ac_prev
=localedir
;;
1079 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1080 localedir
=$ac_optarg ;;
1082 -localstatedir | --localstatedir | --localstatedi | --localstated \
1083 | --localstate | --localstat | --localsta | --localst | --locals)
1084 ac_prev
=localstatedir
;;
1085 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1086 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1087 localstatedir
=$ac_optarg ;;
1089 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1091 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1092 mandir
=$ac_optarg ;;
1094 -nfp | --nfp | --nf)
1095 # Obsolete; use --without-fp.
1098 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1099 | --no-cr | --no-c | -n)
1102 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1103 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1106 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1107 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1108 | --oldin | --oldi | --old | --ol | --o)
1109 ac_prev
=oldincludedir
;;
1110 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1111 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1112 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1113 oldincludedir
=$ac_optarg ;;
1115 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1117 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1118 prefix
=$ac_optarg ;;
1120 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1121 | --program-pre | --program-pr | --program-p)
1122 ac_prev
=program_prefix
;;
1123 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1124 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1125 program_prefix
=$ac_optarg ;;
1127 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1128 | --program-suf | --program-su | --program-s)
1129 ac_prev
=program_suffix
;;
1130 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1131 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1132 program_suffix
=$ac_optarg ;;
1134 -program-transform-name | --program-transform-name \
1135 | --program-transform-nam | --program-transform-na \
1136 | --program-transform-n | --program-transform- \
1137 | --program-transform | --program-transfor \
1138 | --program-transfo | --program-transf \
1139 | --program-trans | --program-tran \
1140 | --progr-tra | --program-tr | --program-t)
1141 ac_prev
=program_transform_name
;;
1142 -program-transform-name=* | --program-transform-name=* \
1143 | --program-transform-nam=* | --program-transform-na=* \
1144 | --program-transform-n=* | --program-transform-=* \
1145 | --program-transform=* | --program-transfor=* \
1146 | --program-transfo=* | --program-transf=* \
1147 | --program-trans=* | --program-tran=* \
1148 | --progr-tra=* | --program-tr=* | --program-t=*)
1149 program_transform_name
=$ac_optarg ;;
1151 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1153 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1154 pdfdir
=$ac_optarg ;;
1156 -psdir | --psdir | --psdi | --psd | --ps)
1158 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1161 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1162 | -silent | --silent | --silen | --sile | --sil)
1165 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1167 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1169 sbindir
=$ac_optarg ;;
1171 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1172 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1173 | --sharedst | --shareds | --shared | --share | --shar \
1175 ac_prev
=sharedstatedir
;;
1176 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1177 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1178 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1180 sharedstatedir
=$ac_optarg ;;
1182 -site | --site | --sit)
1184 -site=* | --site=* | --sit=*)
1187 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1189 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1190 srcdir
=$ac_optarg ;;
1192 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1193 | --syscon | --sysco | --sysc | --sys | --sy)
1194 ac_prev
=sysconfdir
;;
1195 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1196 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1197 sysconfdir
=$ac_optarg ;;
1199 -target | --target | --targe | --targ | --tar | --ta | --t)
1200 ac_prev
=target_alias
;;
1201 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1202 target_alias
=$ac_optarg ;;
1204 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1207 -version | --version | --versio | --versi | --vers | -V)
1208 ac_init_version
=: ;;
1211 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1212 # Reject names that are not valid shell variable names.
1213 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1214 as_fn_error $?
"invalid package name: $ac_useropt"
1215 ac_useropt_orig
=$ac_useropt
1216 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1217 case $ac_user_opts in
1221 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1222 ac_unrecognized_sep
=', ';;
1224 eval with_
$ac_useropt=\
$ac_optarg ;;
1226 -without-* | --without-*)
1227 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1230 as_fn_error $?
"invalid package name: $ac_useropt"
1231 ac_useropt_orig
=$ac_useropt
1232 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1233 case $ac_user_opts in
1237 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1238 ac_unrecognized_sep
=', ';;
1240 eval with_
$ac_useropt=no
;;
1243 # Obsolete; use --with-x.
1246 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1247 | --x-incl | --x-inc | --x-in | --x-i)
1248 ac_prev
=x_includes
;;
1249 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1250 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1251 x_includes
=$ac_optarg ;;
1253 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1254 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1255 ac_prev
=x_libraries
;;
1256 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1257 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1258 x_libraries
=$ac_optarg ;;
1260 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1261 Try \`$0 --help' for more information"
1265 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1266 # Reject names that are not valid shell variable names.
1267 case $ac_envvar in #(
1268 '' | [0-9]* | *[!_$as_cr_alnum]* )
1269 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1271 eval $ac_envvar=\
$ac_optarg
1272 export $ac_envvar ;;
1275 # FIXME: should be removed in autoconf 3.0.
1276 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1277 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1278 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1279 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1285 if test -n "$ac_prev"; then
1286 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1287 as_fn_error $?
"missing argument to $ac_option"
1290 if test -n "$ac_unrecognized_opts"; then
1291 case $enable_option_checking in
1293 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1294 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1298 # Check all directory arguments for consistency.
1299 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1300 datadir sysconfdir sharedstatedir localstatedir includedir \
1301 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1302 libdir localedir mandir
1304 eval ac_val
=\$
$ac_var
1305 # Remove trailing slashes.
1308 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1309 eval $ac_var=\
$ac_val;;
1311 # Be sure to have absolute directory names.
1313 [\\/$
]* | ?
:[\\/]* ) continue;;
1314 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1316 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1319 # There might be people who depend on the old broken behavior: `$host'
1320 # used to hold the argument of --host etc.
1321 # FIXME: To remove some day.
1324 target
=$target_alias
1326 # FIXME: To remove some day.
1327 if test "x$host_alias" != x
; then
1328 if test "x$build_alias" = x
; then
1329 cross_compiling
=maybe
1330 elif test "x$build_alias" != "x$host_alias"; then
1336 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1338 test "$silent" = yes && exec 6>/dev
/null
1341 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1342 ac_ls_di
=`ls -di .` &&
1343 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1344 as_fn_error $?
"working directory cannot be determined"
1345 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1346 as_fn_error $?
"pwd does not report name of working directory"
1349 # Find the source files, if location was not specified.
1350 if test -z "$srcdir"; then
1351 ac_srcdir_defaulted
=yes
1352 # Try the directory containing this script, then the parent directory.
1353 ac_confdir
=`$as_dirname -- "$as_myself" ||
1354 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1355 X"$as_myself" : 'X\(//\)[^/]' \| \
1356 X"$as_myself" : 'X\(//\)$' \| \
1357 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1358 $as_echo X"$as_myself" |
1359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1377 if test ! -r "$srcdir/$ac_unique_file"; then
1381 ac_srcdir_defaulted
=no
1383 if test ! -r "$srcdir/$ac_unique_file"; then
1384 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1385 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1387 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1389 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1391 # When building in place, set srcdir=.
1392 if test "$ac_abs_confdir" = "$ac_pwd"; then
1395 # Remove unnecessary trailing slashes from srcdir.
1396 # Double slashes in file names in object file debugging info
1397 # mess up M-x gdb in Emacs.
1399 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1401 for ac_var
in $ac_precious_vars; do
1402 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1403 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1404 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1405 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1409 # Report the --help message.
1411 if test "$ac_init_help" = "long"; then
1412 # Omit some internal or obsolete options to make the list less imposing.
1413 # This message is too long to be a string in the A/UX 3.1 sh.
1415 \`configure' configures charybdis 3.6.0-dev to adapt to many kinds of systems.
1417 Usage: $0 [OPTION]... [VAR=VALUE]...
1419 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1420 VAR=VALUE. See below for descriptions of some of the useful variables.
1422 Defaults for the options are specified in brackets.
1425 -h, --help display this help and exit
1426 --help=short display options specific to this package
1427 --help=recursive display the short help of all the included packages
1428 -V, --version display version information and exit
1429 -q, --quiet, --silent do not print \`checking ...' messages
1430 --cache-file=FILE cache test results in FILE [disabled]
1431 -C, --config-cache alias for \`--cache-file=config.cache'
1432 -n, --no-create do not create output files
1433 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1435 Installation directories:
1436 --prefix=PREFIX install architecture-independent files in PREFIX
1437 [$ac_default_prefix]
1438 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1441 By default, \`make install' will install all the files in
1442 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1443 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1444 for instance \`--prefix=\$HOME'.
1446 For better control, use the options below.
1448 Fine tuning of the installation directories:
1449 --bindir=DIR user executables [EPREFIX/bin]
1450 --sbindir=DIR system admin executables [EPREFIX/sbin]
1451 --libexecdir=DIR program executables [EPREFIX/libexec]
1452 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1453 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1454 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1455 --libdir=DIR object code libraries [EPREFIX/lib]
1456 --includedir=DIR C header files [PREFIX/include]
1457 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1458 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1459 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1460 --infodir=DIR info documentation [DATAROOTDIR/info]
1461 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1462 --mandir=DIR man documentation [DATAROOTDIR/man]
1463 --docdir=DIR documentation root [DATAROOTDIR/doc/charybdis]
1464 --htmldir=DIR html documentation [DOCDIR]
1465 --dvidir=DIR dvi documentation [DOCDIR]
1466 --pdfdir=DIR pdf documentation [DOCDIR]
1467 --psdir=DIR ps documentation [DOCDIR]
1473 --program-prefix=PREFIX prepend PREFIX to installed program names
1474 --program-suffix=SUFFIX append SUFFIX to installed program names
1475 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1478 --build=BUILD configure
for building on BUILD
[guessed
]
1479 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1483 if test -n "$ac_init_help"; then
1484 case $ac_init_help in
1485 short
| recursive
) echo "Configuration of charybdis 3.6.0-dev:";;
1490 --disable-option-checking ignore unrecognized
--enable/--with options
1491 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1492 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1493 --enable-dependency-tracking
1494 do not reject slow dependency extractors
1495 --disable-dependency-tracking
1496 speeds up one
-time build
1497 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1498 --disable-silent-rules verbose build output
(undo
: "make V=0")
1499 --enable-static[=PKGS
] build static libraries
[default
=no
]
1500 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1501 --enable-fast-install[=PKGS
]
1502 optimize
for fast installation
[default
=yes]
1503 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1504 --enable-ltdl-install install libltdl
1505 --enable-fhs-paths Use
more FHS
-like pathnames
(for packagers
).
1506 --enable-ipv6 Enable IPv6 support
1507 --enable-openssl=DIR Enable OpenSSL support
(DIR optional
).
1508 --disable-openssl Disable OpenSSL support.
1509 --disable-zlib Disable ziplinks support
1510 --enable-assert Enable assert
(). Choose between soft
(warnings
) and
1511 hard
(aborts the daemon
)
1512 --enable-profile Enable profiling
1513 --enable-warnings Enable all sorts of warnings
for debugging.
1516 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1517 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1518 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1520 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1521 --with-sysroot=DIR Search
for dependent libraries within DIR
1522 (or the compiler
's sysroot if not specified).
1523 --with-included-ltdl use the GNU ltdl sources included here
1524 --with-ltdl-include=DIR use the ltdl headers installed in DIR
1525 --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1526 --with-zlib-path=DIR Path to libz.so for ziplinks support.
1527 --with-shared-sqlite Use shared sqlite
1528 --with-confdir=DIR Directory to install config files [deprecated, use
1529 --sysconfdir instead].
1530 --with-logdir=DIR Directory where to write logfiles.
1531 --with-helpdir=DIR Directory to install help files.
1532 --with-moduledir=DIR Directory to install modules.
1533 --with-rundir=DIR Directory in which to store pidfile.
1534 --with-program-prefix= If set, programs installed into PATH will be
1535 installed with names prefixed by this prefix.
1536 --with-custom-branding=NAME
1537 Custom branding name.
1538 --with-custom-version=NAME
1539 Custom version branding.
1540 --with-nicklen=LENGTH Set the upper-bound nick length to LENGTH (default
1542 --with-topiclen=NUMBER Set the max topic length to NUMBER (default 390, max
1545 Some influential environment variables:
1546 CC C compiler command
1547 CFLAGS C compiler flags
1548 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1549 nonstandard directory <lib dir>
1550 LIBS libraries to pass to the linker, e.g. -l<library>
1551 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1552 you have headers in a nonstandard directory <include dir>
1554 YACC The `Yet Another Compiler Compiler' implementation to use.
1555 Defaults to the first program found out of
: `bison -y', `byacc
',
1557 YFLAGS The list of arguments that will be passed by default to
$YACC.
1558 This
script will default YFLAGS to the empty string to avoid a
1559 default value of
`-d' given by some make applications.
1560 PKG_CONFIG path to pkg-config utility
1562 directories to add to pkg-config's search path
1564 path overriding pkg-config's built-in search path
1566 C compiler flags for SQLITE, overriding pkg-config
1567 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1569 Use these variables to override the choices made by `configure
' or to help
1570 it to find libraries and programs with nonstandard names/locations.
1572 Report bugs to the package provider.
1577 if test "$ac_init_help" = "recursive"; then
1578 # If there are subdirs, report their specific --help.
1579 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1580 test -d "$ac_dir" ||
1581 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1586 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1588 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1589 # A ".." for each directory in $ac_dir_suffix.
1590 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1591 case $ac_top_builddir_sub in
1592 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1593 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1596 ac_abs_top_builddir=$ac_pwd
1597 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1598 # for backward compatibility:
1599 ac_top_builddir=$ac_top_build_prefix
1602 .) # We are building in place.
1604 ac_top_srcdir=$ac_top_builddir_sub
1605 ac_abs_top_srcdir=$ac_pwd ;;
1606 [\\/]* | ?:[\\/]* ) # Absolute name.
1607 ac_srcdir=$srcdir$ac_dir_suffix;
1608 ac_top_srcdir=$srcdir
1609 ac_abs_top_srcdir=$srcdir ;;
1611 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1612 ac_top_srcdir=$ac_top_build_prefix$srcdir
1613 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1615 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1617 cd "$ac_dir" || { ac_status=$?; continue; }
1618 # Check for guested configure.
1619 if test -f "$ac_srcdir/configure.gnu"; then
1621 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1622 elif test -f "$ac_srcdir/configure"; then
1624 $SHELL "$ac_srcdir/configure" --help=recursive
1626 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1628 cd "$ac_pwd" || { ac_status=$?; break; }
1632 test -n "$ac_init_help" && exit $ac_status
1633 if $ac_init_version; then
1635 charybdis configure 3.6.0-dev
1636 generated by GNU Autoconf 2.69
1638 Copyright (C) 2012 Free Software Foundation, Inc.
1639 This configure script is free software; the Free Software Foundation
1640 gives unlimited permission to copy, distribute and modify it.
1645 ## ------------------------ ##
1646 ## Autoconf initialization. ##
1647 ## ------------------------ ##
1649 # ac_fn_c_try_compile LINENO
1650 # --------------------------
1651 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_c_try_compile ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 rm -f conftest.$ac_objext
1656 if { { ac_try="$ac_compile"
1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_compile") 2>conftest.err
1665 if test -s conftest.err; then
1666 grep -v '^
*+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_c_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest.$ac_objext; then :
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's
/^
/| /' conftest.$ac_ext >&5
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status $ac_retval
1685 } # ac_fn_c_try_compile
1687 # ac_fn_c_try_cpp LINENO
1688 # ----------------------
1689 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 if { { ac_try="$ac_cpp conftest.$ac_ext"
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1702 if test -s conftest.err; then
1703 grep -v '^
*+' conftest.err >conftest.er1
1704 cat conftest.er1 >&5
1705 mv -f conftest.er1 conftest.err
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } > conftest.i && {
1709 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1710 test ! -s conftest.err
1714 $as_echo "$as_me: failed program was:" >&5
1715 sed 's
/^
/| /' conftest.$ac_ext >&5
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 as_fn_set_status $ac_retval
1724 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1725 # -------------------------------------------------------
1726 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1727 # the include files in INCLUDES and setting the cache variable VAR
1729 ac_fn_c_check_header_mongrel ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 if eval \${$3+:} false; then :
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1734 $as_echo_n "checking for $2... " >&6; }
1735 if eval \${$3+:} false; then :
1736 $as_echo_n "(cached) " >&6
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1742 # Is the header compilable?
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1744 $as_echo_n "checking $2 usability... " >&6; }
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1750 if ac_fn_c_try_compile "$LINENO"; then :
1751 ac_header_compiler=yes
1753 ac_header_compiler=no
1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1757 $as_echo "$ac_header_compiler" >&6; }
1759 # Is the header present?
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1761 $as_echo_n "checking $2 presence... " >&6; }
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1766 if ac_fn_c_try_cpp "$LINENO"; then :
1767 ac_header_preproc=yes
1769 ac_header_preproc=no
1771 rm -f conftest.err conftest.i conftest.$ac_ext
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1773 $as_echo "$ac_header_preproc" >&6; }
1775 # So? What about this header?
1776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1779 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result
" >&5
1781 $as_echo "$as_me: WARNING
: $2: proceeding with the compiler
's result" >&2;}
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1785 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1787 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1789 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1791 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result
" >&5
1793 $as_echo "$as_me: WARNING
: $2: proceeding with the compiler
's result" >&2;}
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if eval \${$3+:} false; then :
1799 $as_echo_n "(cached) " >&6
1801 eval "$3=\$ac_header_compiler"
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805 $as_echo "$ac_res" >&6; }
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 } # ac_fn_c_check_header_mongrel
1811 # ac_fn_c_try_run LINENO
1812 # ----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1814 # that executables *can* be run.
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 if { { ac_try="$ac_link"
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_link") 2>&5
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } && { ac_try='.
/conftest
$ac_exeext'
1829 { { case "(($ac_try" in
1830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_try") 2>&5
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; }; }; then :
1841 $as_echo "$as_me: program exited with status $ac_status" >&5
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's
/^
/| /' conftest.$ac_ext >&5
1845 ac_retval=$ac_status
1847 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status $ac_retval
1853 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1854 # -------------------------------------------------------
1855 # Tests whether HEADER exists and can be compiled using the include files in
1856 # INCLUDES, setting the cache variable VAR accordingly.
1857 ac_fn_c_check_header_compile ()
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval \${$3+:} false; then :
1863 $as_echo_n "(cached) " >&6
1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h. */
1870 if ac_fn_c_try_compile "$LINENO"; then :
1875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 } # ac_fn_c_check_header_compile
1884 # ac_fn_c_try_link LINENO
1885 # -----------------------
1886 # Try to link conftest.$ac_ext, and return whether this succeeded.
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 rm -f conftest.$ac_objext conftest$ac_exeext
1891 if { { ac_try="$ac_link"
1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894 *) ac_try_echo=$ac_try;;
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_link") 2>conftest.err
1900 if test -s conftest.err; then
1901 grep -v '^
*+' conftest.err >conftest.er1
1902 cat conftest.er1 >&5
1903 mv -f conftest.er1 conftest.err
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; } && {
1907 test -z "$ac_c_werror_flag" ||
1908 test ! -s conftest.err
1909 } && test -s conftest$ac_exeext && {
1910 test "$cross_compiling" = yes ||
1911 test -x conftest$ac_exeext
1915 $as_echo "$as_me: failed program was:" >&5
1916 sed 's
/^
/| /' conftest.$ac_ext >&5
1920 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1921 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1922 # interfere with the next link command; also delete a directory that is
1923 # left behind by Apple's compiler. We
do this before executing the actions.
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 as_fn_set_status
$ac_retval
1928 } # ac_fn_c_try_link
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func
()
1935 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if eval \
${$3+:} false
; then :
1939 $as_echo_n "(cached) " >&6
1941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h. */
1943 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1945 #define $2 innocuous_$2
1947 /* System header to define __stub macros and hopefully few prototypes,
1948 which can conflict with char $2 (); below.
1949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1950 <limits.h> exists even on freestanding compilers. */
1953 # include <limits.h>
1955 # include <assert.h>
1960 /* Override any GCC internal prototype to avoid an error.
1961 Use char because int might match the return type of a GCC
1962 builtin and then its argument prototype would still apply. */
1967 /* The GNU C library defines this for functions which it implements
1968 to always fail with ENOSYS. Some functions are actually named
1969 something starting with __ and the normal name is an alias. */
1970 #if defined __stub_$2 || defined __stub___$2
1982 if ac_fn_c_try_link
"$LINENO"; then :
1987 rm -f core conftest.err conftest.
$ac_objext \
1988 conftest
$ac_exeext conftest.
$ac_ext
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992 $as_echo "$ac_res" >&6; }
1993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995 } # ac_fn_c_check_func
1997 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1998 # ---------------------------------------------
1999 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2001 ac_fn_c_check_decl
()
2003 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2004 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2005 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2007 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2008 if eval \
${$3+:} false
; then :
2009 $as_echo_n "(cached) " >&6
2011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2017 #ifndef $as_decl_name
2019 (void) $as_decl_use;
2021 (void) $as_decl_name;
2029 if ac_fn_c_try_compile
"$LINENO"; then :
2034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 } # ac_fn_c_check_decl
2043 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2044 # -------------------------------------------
2045 # Tests whether TYPE exists after having included INCLUDES, setting cache
2046 # variable VAR accordingly.
2047 ac_fn_c_check_type
()
2049 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2051 $as_echo_n "checking for $2... " >&6; }
2052 if eval \
${$3+:} false
; then :
2053 $as_echo_n "(cached) " >&6
2056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2068 if ac_fn_c_try_compile
"$LINENO"; then :
2069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2081 if ac_fn_c_try_compile
"$LINENO"; then :
2086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095 } # ac_fn_c_check_type
2097 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2098 # --------------------------------------------
2099 # Tries to find the compile-time value of EXPR in a program that includes
2100 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2102 ac_fn_c_compute_int
()
2104 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2105 if test "$cross_compiling" = yes; then
2106 # Depending upon the size, compute the lo and hi bounds.
2107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2113 static int test_array [1 - 2 * !(($2) >= 0)];
2115 return test_array [0];
2121 if ac_fn_c_try_compile
"$LINENO"; then :
2124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2125 /* end confdefs.h. */
2130 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2132 return test_array [0];
2138 if ac_fn_c_try_compile
"$LINENO"; then :
2139 ac_hi
=$ac_mid; break
2141 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2142 if test $ac_lo -le $ac_mid; then
2146 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2157 static int test_array [1 - 2 * !(($2) < 0)];
2159 return test_array [0];
2165 if ac_fn_c_try_compile
"$LINENO"; then :
2168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2169 /* end confdefs.h. */
2174 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2176 return test_array [0];
2182 if ac_fn_c_try_compile
"$LINENO"; then :
2183 ac_lo
=$ac_mid; break
2185 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2186 if test $ac_mid -le $ac_hi; then
2190 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2200 # Binary search between lo and hi bounds.
2201 while test "x$ac_lo" != "x$ac_hi"; do
2202 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2204 /* end confdefs.h. */
2209 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2211 return test_array [0];
2217 if ac_fn_c_try_compile
"$LINENO"; then :
2220 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2225 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2232 static long int longval () { return $2; }
2233 static unsigned long int ulongval () { return $2; }
2240 FILE *f = fopen ("conftest.val", "w");
2245 long int i = longval ();
2248 fprintf (f, "%ld", i);
2252 unsigned long int i = ulongval ();
2255 fprintf (f, "%lu", i);
2257 /* Do not output a trailing newline, as this causes \r\n confusion
2258 on some platforms. */
2259 return ferror (f) || fclose (f) != 0;
2265 if ac_fn_c_try_run
"$LINENO"; then :
2266 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2270 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2271 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2275 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2276 as_fn_set_status
$ac_retval
2278 } # ac_fn_c_compute_int
2279 cat >config.log
<<_ACEOF
2280 This file contains any messages produced by compilers while
2281 running configure, to aid debugging if configure makes a mistake.
2283 It was created by charybdis $as_me 3.6.0-dev, which was
2284 generated by GNU Autoconf 2.69. Invocation command line was
2296 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2297 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2298 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2299 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2300 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2302 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2303 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2305 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2306 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2307 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2308 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2309 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2310 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2311 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir
=.
2320 $as_echo "PATH: $as_dir"
2336 # Keep a trace of the command line.
2337 # Strip out --no-create and --no-recursion so they do not pile up.
2338 # Strip out --silent because we don't want to record it for future runs.
2339 # Also quote any args containing shell meta-characters.
2340 # Make two passes to allow for proper duplicate-argument suppression.
2344 ac_must_keep_next
=false
2350 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2352 | -silent | --silent | --silen | --sile | --sil)
2355 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2358 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2360 as_fn_append ac_configure_args1
" '$ac_arg'"
2361 if test $ac_must_keep_next = true
; then
2362 ac_must_keep_next
=false
# Got value, back to normal.
2365 *=* | --config-cache | -C | -disable-* | --disable-* \
2366 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2367 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2368 | -with-* | --with-* | -without-* | --without-* | --x)
2369 case "$ac_configure_args0 " in
2370 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2373 -* ) ac_must_keep_next
=true
;;
2376 as_fn_append ac_configure_args
" '$ac_arg'"
2381 { ac_configure_args0
=; unset ac_configure_args0
;}
2382 { ac_configure_args1
=; unset ac_configure_args1
;}
2384 # When interrupted or exit'd, cleanup temporary files, and complete
2385 # config.log. We remove comments because anyway the quotes in there
2386 # would cause problems or look ugly.
2387 # WARNING: Use '\'' to represent an apostrophe within the trap.
2388 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2389 trap 'exit_status=$?
2390 # Save into config.log some information that might help in debugging.
2394 $as_echo "## ---------------- ##
2395 ## Cache variables. ##
2396 ## ---------------- ##"
2398 # The following way of writing the cache mishandles newlines in values,
2400 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2401 eval ac_val=\$$ac_var
2405 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2406 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2409 _ | IFS | as_nl) ;; #(
2410 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2411 *) { eval $ac_var=; unset $ac_var;} ;;
2416 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2417 *${as_nl}ac_space=\ *)
2419 "s/'\''/'\''\\\\'\'''\''/g;
2420 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2423 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2430 $as_echo "## ----------------- ##
2431 ## Output variables. ##
2432 ## ----------------- ##"
2434 for ac_var in $ac_subst_vars
2436 eval ac_val=\$$ac_var
2438 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2440 $as_echo "$ac_var='\''$ac_val'\''"
2444 if test -n "$ac_subst_files"; then
2445 $as_echo "## ------------------- ##
2446 ## File substitutions. ##
2447 ## ------------------- ##"
2449 for ac_var
in $ac_subst_files
2451 eval ac_val
=\$
$ac_var
2453 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2455 $as_echo "$ac_var='\''$ac_val'\''"
2460 if test -s confdefs.h; then
2461 $as_echo "## ----------- ##
2468 test "$ac_signal" != 0 &&
2469 $as_echo "$as_me: caught signal $ac_signal"
2470 $as_echo "$as_me: exit $exit_status"
2472 rm -f core *.core core.conftest.* &&
2473 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2476 for ac_signal
in 1 2 13 15; do
2477 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2481 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2482 rm -f -r conftest
* confdefs.h
2484 $as_echo "/* confdefs.h */" > confdefs.h
2486 # Predefined preprocessor variables.
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_NAME "$PACKAGE_NAME"
2492 cat >>confdefs.h
<<_ACEOF
2493 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2496 cat >>confdefs.h
<<_ACEOF
2497 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2500 cat >>confdefs.h
<<_ACEOF
2501 #define PACKAGE_STRING "$PACKAGE_STRING"
2504 cat >>confdefs.h
<<_ACEOF
2505 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2508 cat >>confdefs.h
<<_ACEOF
2509 #define PACKAGE_URL "$PACKAGE_URL"
2513 # Let the site file select an alternate cache file if it wants to.
2514 # Prefer an explicitly selected file to automatically selected ones.
2517 if test -n "$CONFIG_SITE"; then
2518 # We do not want a PATH search for config.site.
2519 case $CONFIG_SITE in #((
2520 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2521 */*) ac_site_file1
=$CONFIG_SITE;;
2522 *) ac_site_file1
=.
/$CONFIG_SITE;;
2524 elif test "x$prefix" != xNONE
; then
2525 ac_site_file1
=$prefix/share
/config.site
2526 ac_site_file2
=$prefix/etc
/config.site
2528 ac_site_file1
=$ac_default_prefix/share
/config.site
2529 ac_site_file2
=$ac_default_prefix/etc
/config.site
2531 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2533 test "x$ac_site_file" = xNONE
&& continue
2534 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2536 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2537 sed 's/^/| /' "$ac_site_file" >&5
2539 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2541 as_fn_error $?
"failed to load site script $ac_site_file
2542 See \`config.log' for more details" "$LINENO" 5; }
2546 if test -r "$cache_file"; then
2547 # Some versions of bash will fail to source /dev/null (special files
2548 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2549 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2551 $as_echo "$as_me: loading cache $cache_file" >&6;}
2553 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2554 *) .
"./$cache_file";;
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2559 $as_echo "$as_me: creating cache $cache_file" >&6;}
2563 # Check that the precious variables saved in the cache have kept the same
2565 ac_cache_corrupted
=false
2566 for ac_var
in $ac_precious_vars; do
2567 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2568 eval ac_new_set
=\
$ac_env_${ac_var}_set
2569 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2570 eval ac_new_val
=\
$ac_env_${ac_var}_value
2571 case $ac_old_set,$ac_new_set in
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2574 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2575 ac_cache_corrupted
=: ;;
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2578 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2579 ac_cache_corrupted
=: ;;
2582 if test "x$ac_old_val" != "x$ac_new_val"; then
2583 # differences in whitespace do not lead to failure.
2584 ac_old_val_w
=`echo x $ac_old_val`
2585 ac_new_val_w
=`echo x $ac_new_val`
2586 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2588 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2589 ac_cache_corrupted
=:
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2592 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2593 eval $ac_var=\
$ac_old_val
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2596 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2598 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2601 # Pass precious variables to config.status.
2602 if test "$ac_new_set" = set; then
2604 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2605 *) ac_arg
=$ac_var=$ac_new_val ;;
2607 case " $ac_configure_args " in
2608 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2609 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2613 if $ac_cache_corrupted; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2617 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2618 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2620 ## -------------------- ##
2621 ## Main body of script. ##
2622 ## -------------------- ##
2625 ac_cpp
='$CPP $CPPFLAGS'
2626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2633 ac_cpp
='$CPP $CPPFLAGS'
2634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2639 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2640 if test -f "$ac_dir/install-sh"; then
2642 ac_install_sh
="$ac_aux_dir/install-sh -c"
2644 elif test -f "$ac_dir/install.sh"; then
2646 ac_install_sh
="$ac_aux_dir/install.sh -c"
2648 elif test -f "$ac_dir/shtool"; then
2650 ac_install_sh
="$ac_aux_dir/shtool install -c"
2654 if test -z "$ac_aux_dir"; then
2655 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2658 # These three variables are undocumented and unsupported,
2659 # and are intended to be withdrawn in a future Autoconf release.
2660 # They can cause serious problems if a builder's source tree is in a directory
2661 # whose full name contains unusual characters.
2662 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2663 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2664 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2667 # Expand $ac_aux_dir to an absolute path.
2668 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2671 ac_cpp
='$CPP $CPPFLAGS'
2672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2675 if test -n "$ac_tool_prefix"; then
2676 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2677 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679 $as_echo_n "checking for $ac_word... " >&6; }
2680 if ${ac_cv_prog_CC+:} false
; then :
2681 $as_echo_n "(cached) " >&6
2683 if test -n "$CC"; then
2684 ac_cv_prog_CC
="$CC" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 for ac_exec_ext
in '' $ac_executable_extensions; do
2692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2693 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 if test -n "$CC"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2706 $as_echo "$CC" >&6; }
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2709 $as_echo "no" >&6; }
2714 if test -z "$ac_cv_prog_CC"; then
2716 # Extract the first word of "gcc", so it can be a program name with args.
2717 set dummy gcc
; ac_word
=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$ac_ct_CC"; then
2724 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir
=.
2731 for ac_exec_ext
in '' $ac_executable_extensions; do
2732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2733 ac_cv_prog_ac_ct_CC
="gcc"
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2744 if test -n "$ac_ct_CC"; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2746 $as_echo "$ac_ct_CC" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2752 if test "x$ac_ct_CC" = x
; then
2755 case $cross_compiling:$ac_tool_warned in
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2759 ac_tool_warned
=yes ;;
2767 if test -z "$CC"; then
2768 if test -n "$ac_tool_prefix"; then
2769 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2770 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2772 $as_echo_n "checking for $ac_word... " >&6; }
2773 if ${ac_cv_prog_CC+:} false
; then :
2774 $as_echo_n "(cached) " >&6
2776 if test -n "$CC"; then
2777 ac_cv_prog_CC
="$CC" # Let the user override the test.
2779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2783 test -z "$as_dir" && as_dir
=.
2784 for ac_exec_ext
in '' $ac_executable_extensions; do
2785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2786 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 if test -n "$CC"; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2799 $as_echo "$CC" >&6; }
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802 $as_echo "no" >&6; }
2808 if test -z "$CC"; then
2809 # Extract the first word of "cc", so it can be a program name with args.
2810 set dummy cc
; ac_word
=$2
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 $as_echo_n "checking for $ac_word... " >&6; }
2813 if ${ac_cv_prog_CC+:} false
; then :
2814 $as_echo_n "(cached) " >&6
2816 if test -n "$CC"; then
2817 ac_cv_prog_CC
="$CC" # Let the user override the test.
2820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir
=.
2825 for ac_exec_ext
in '' $ac_executable_extensions; do
2826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2827 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2828 ac_prog_rejected
=yes
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 if test $ac_prog_rejected = yes; then
2840 # We found a bogon in the path, so make sure we never use it.
2841 set dummy
$ac_cv_prog_CC
2843 if test $# != 0; then
2844 # We chose a different compiler from the bogus one.
2845 # However, it has the same basename, so the bogon will be chosen
2846 # first if we set CC to just the basename; use the full file name.
2848 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2854 if test -n "$CC"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2856 $as_echo "$CC" >&6; }
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859 $as_echo "no" >&6; }
2864 if test -z "$CC"; then
2865 if test -n "$ac_tool_prefix"; then
2866 for ac_prog
in cl.exe
2868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2869 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871 $as_echo_n "checking for $ac_word... " >&6; }
2872 if ${ac_cv_prog_CC+:} false
; then :
2873 $as_echo_n "(cached) " >&6
2875 if test -n "$CC"; then
2876 ac_cv_prog_CC
="$CC" # Let the user override the test.
2878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir
=.
2883 for ac_exec_ext
in '' $ac_executable_extensions; do
2884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2885 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 if test -n "$CC"; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2898 $as_echo "$CC" >&6; }
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901 $as_echo "no" >&6; }
2905 test -n "$CC" && break
2908 if test -z "$CC"; then
2910 for ac_prog
in cl.exe
2912 # Extract the first word of "$ac_prog", so it can be a program name with args.
2913 set dummy
$ac_prog; ac_word
=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2917 $as_echo_n "(cached) " >&6
2919 if test -n "$ac_ct_CC"; then
2920 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_exec_ext
in '' $ac_executable_extensions; do
2928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2929 ac_cv_prog_ac_ct_CC
="$ac_prog"
2930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2940 if test -n "$ac_ct_CC"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2942 $as_echo "$ac_ct_CC" >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2949 test -n "$ac_ct_CC" && break
2952 if test "x$ac_ct_CC" = x
; then
2955 case $cross_compiling:$ac_tool_warned in
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2959 ac_tool_warned
=yes ;;
2968 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2970 as_fn_error $?
"no acceptable C compiler found in \$PATH
2971 See \`config.log' for more details" "$LINENO" 5; }
2973 # Provide some information about the compiler.
2974 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2977 for ac_option
in --version -v -V -qversion; do
2978 { { ac_try
="$ac_compiler $ac_option >&5"
2980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2981 *) ac_try_echo=$ac_try;;
2983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2984 $as_echo "$ac_try_echo"; } >&5
2985 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2987 if test -s conftest.err; then
2989 ... rest of stderr output deleted ...
2990 10q' conftest.err >conftest.er1
2991 cat conftest.er1 >&5
2993 rm -f conftest.er1 conftest.err
2994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2995 test $ac_status = 0; }
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3009 ac_clean_files_save=$ac_clean_files
3010 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3011 # Try to create an executable without -o first, disregard a.out.
3012 # It will help us diagnose broken compilers, and finding out an intuition
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3015 $as_echo_n "checking whether the C compiler works... " >&6; }
3016 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3018 # The possible output files:
3019 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3022 for ac_file in $ac_files
3025 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3026 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3031 if { { ac_try="$ac_link_default"
3033 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3034 *) ac_try_echo
=$ac_try;;
3036 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_link_default") 2>&5
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; }; then :
3042 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3043 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3044 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3045 # so that the user can short-circuit this test for compilers unknown to
3047 for ac_file
in $ac_files ''
3049 test -f "$ac_file" || continue
3051 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3054 # We found the default executable, but exeext='' is most
3058 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3060 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3062 # We set ac_cv_exeext here because the later test for it is not
3063 # safe: cross compilers may not add the suffix if given an `-o'
3064 # argument, so we may need to know it at that point already.
3065 # Even if this section looks crufty: it has the advantage of
3072 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3077 if test -z "$ac_file"; then :
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3080 $as_echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.
$ac_ext >&5
3083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3085 as_fn_error
77 "C compiler cannot create executables
3086 See \`config.log' for more details" "$LINENO" 5; }
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3089 $as_echo "yes" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3092 $as_echo_n "checking for C compiler default output file name... " >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3094 $as_echo "$ac_file" >&6; }
3095 ac_exeext
=$ac_cv_exeext
3097 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3098 ac_clean_files
=$ac_clean_files_save
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3100 $as_echo_n "checking for suffix of executables... " >&6; }
3101 if { { ac_try
="$ac_link"
3103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107 $as_echo "$ac_try_echo"; } >&5
3108 (eval "$ac_link") 2>&5
3110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3111 test $ac_status = 0; }; then :
3112 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3113 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3114 # work properly (i.e., refer to `conftest.exe'), while it won't with
3116 for ac_file
in conftest.exe conftest conftest.
*; do
3117 test -f "$ac_file" || continue
3119 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3120 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3129 See \`config.log' for more details" "$LINENO" 5; }
3131 rm -f conftest conftest
$ac_cv_exeext
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3133 $as_echo "$ac_cv_exeext" >&6; }
3135 rm -f conftest.
$ac_ext
3136 EXEEXT
=$ac_cv_exeext
3138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3144 FILE *f = fopen ("conftest.out", "w");
3145 return ferror (f) || fclose (f) != 0;
3151 ac_clean_files
="$ac_clean_files conftest.out"
3152 # Check that the compiler produces executables we can run. If not, either
3153 # the compiler is broken, or we cross compile.
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3155 $as_echo_n "checking whether we are cross compiling... " >&6; }
3156 if test "$cross_compiling" != yes; then
3157 { { ac_try
="$ac_link"
3159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3163 $as_echo "$ac_try_echo"; } >&5
3164 (eval "$ac_link") 2>&5
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; }
3168 if { ac_try='./conftest$ac_cv_exeext'
3169 { { case "(($ac_try" in
3170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3171 *) ac_try_echo
=$ac_try;;
3173 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174 $as_echo "$ac_try_echo"; } >&5
3175 (eval "$ac_try") 2>&5
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; }; }; then
3181 if test "$cross_compiling" = maybe
; then
3184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error $?
"cannot run C compiled programs.
3187 If you meant to cross compile, use \`--host'.
3188 See \`config.log' for more details" "$LINENO" 5; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3193 $as_echo "$cross_compiling" >&6; }
3195 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3196 ac_clean_files
=$ac_clean_files_save
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3198 $as_echo_n "checking for suffix of object files... " >&6; }
3199 if ${ac_cv_objext+:} false
; then :
3200 $as_echo_n "(cached) " >&6
3202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3213 rm -f conftest.o conftest.obj
3214 if { { ac_try
="$ac_compile"
3216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3220 $as_echo "$ac_try_echo"; } >&5
3221 (eval "$ac_compile") 2>&5
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224 test $ac_status = 0; }; then :
3225 for ac_file in conftest.o conftest.obj conftest.*; do
3226 test -f "$ac_file" || continue;
3228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3229 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3234 $as_echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3240 See \
`config.log' for more details" "$LINENO" 5; }
3242 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3245 $as_echo "$ac_cv_objext" >&6; }
3246 OBJEXT=$ac_cv_objext
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3249 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3250 if ${ac_cv_c_compiler_gnu+:} false; then :
3251 $as_echo_n "(cached) " >&6
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3267 if ac_fn_c_try_compile "$LINENO"; then :
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3277 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3278 if test $ac_compiler_gnu = yes; then
3283 ac_test_CFLAGS=${CFLAGS+set}
3284 ac_save_CFLAGS=$CFLAGS
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3286 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3287 if ${ac_cv_prog_cc_g+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 ac_save_c_werror_flag=$ac_c_werror_flag
3291 ac_c_werror_flag=yes
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3305 if ac_fn_c_try_compile "$LINENO"; then :
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3320 if ac_fn_c_try_compile "$LINENO"; then :
3323 ac_c_werror_flag=$ac_save_c_werror_flag
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3336 if ac_fn_c_try_compile "$LINENO"; then :
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3344 ac_c_werror_flag=$ac_save_c_werror_flag
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3347 $as_echo "$ac_cv_prog_cc_g" >&6; }
3348 if test "$ac_test_CFLAGS" = set; then
3349 CFLAGS=$ac_save_CFLAGS
3350 elif test $ac_cv_prog_cc_g = yes; then
3351 if test "$GCC" = yes; then
3357 if test "$GCC" = yes; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3364 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3365 if ${ac_cv_prog_cc_c89+:} false; then :
3366 $as_echo_n "(cached) " >&6
3368 ac_cv_prog_cc_c89=no
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3375 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3376 struct buf { int x; };
3377 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3378 static char *e (p, i)
3384 static char *f (char * (*g) (char **, int), char **p, ...)
3389 s = g (p, va_arg (v,int));
3394 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3395 function prototypes and stuff, but not '\xHH' hex character constants.
3396 These don't provoke an error unfortunately, instead are silently treated
3397 as 'x'. The following induces an error, until -std is added to get
3398 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3399 array size at least. It's necessary to write '\x00'==0 to get something
3400 that's true only with -std. */
3401 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3403 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3404 inside strings and character constants. */
3406 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3408 int test (int i, double x);
3409 struct s1 {int (*f) (int a);};
3410 struct s2 {int (*f) (double a);};
3411 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3417 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3422 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3423 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3425 CC="$ac_save_CC $ac_arg"
3426 if ac_fn_c_try_compile "$LINENO"; then :
3427 ac_cv_prog_cc_c89=$ac_arg
3429 rm -f core conftest.err conftest.$ac_objext
3430 test "x$ac_cv_prog_cc_c89" != "xno" && break
3432 rm -f conftest.$ac_ext
3437 case "x$ac_cv_prog_cc_c89" in
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3440 $as_echo "none needed" >&6; } ;;
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3443 $as_echo "unsupported" >&6; } ;;
3445 CC="$CC $ac_cv_prog_cc_c89"
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3447 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3449 if test "x$ac_cv_prog_cc_c89" != xno; then :
3454 ac_cpp='$CPP $CPPFLAGS'
3455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 ac_cpp='$CPP $CPPFLAGS'
3461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3465 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3466 if ${am_cv_prog_cc_c_o+:} false; then :
3467 $as_echo_n "(cached) " >&6
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3480 # Make sure it works both with $CC and with simple cc.
3481 # Following AC_PROG_CC_C_O, we do the test twice because some
3482 # compilers refuse to overwrite an existing .o file with -o,
3483 # though they will create one.
3484 am_cv_prog_cc_c_o=yes
3486 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3487 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } \
3491 && test -f conftest2.$ac_objext; then
3494 am_cv_prog_cc_c_o=no
3498 rm -f core conftest*
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3502 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3503 if test "$am_cv_prog_cc_c_o" != yes; then
3504 # Losing compiler, so override with the script.
3505 # FIXME: It is wrong to rewrite CC.
3506 # But if we don't then we get into trouble of one sort or another.
3507 # A longer-term fix would be to have automake use am__CC in this case,
3508 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3509 CC="$am_aux_dir/compile $CC"
3512 ac_cpp='$CPP $CPPFLAGS'
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3520 ac_cpp='$CPP $CPPFLAGS'
3521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3525 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3526 # On Suns, sometimes $CPP names a directory.
3527 if test -n "$CPP" && test -d "$CPP"; then
3530 if test -z "$CPP"; then
3531 if ${ac_cv_prog_CPP+:} false; then :
3532 $as_echo_n "(cached) " >&6
3534 # Double quotes because CPP needs to be expanded
3535 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3538 for ac_c_preproc_warn_flag in '' yes
3540 # Use a header file that comes with gcc, so configuring glibc
3541 # with a fresh cross-compiler works.
3542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3543 # <limits.h> exists even on freestanding compilers.
3544 # On the NeXT, cc -E runs the code through the compiler's parser,
3545 # not just through cpp. "Syntax error" is here to catch this case.
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3549 # include <limits.h>
3551 # include <assert.h>
3555 if ac_fn_c_try_cpp "$LINENO"; then :
3558 # Broken: fails on valid input.
3561 rm -f conftest.err conftest.i conftest.$ac_ext
3563 # OK, works on sane cases. Now check whether nonexistent headers
3564 # can be detected and how.
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3567 #include <ac_nonexistent.h>
3569 if ac_fn_c_try_cpp "$LINENO"; then :
3570 # Broken: success on invalid input.
3573 # Passes both tests.
3577 rm -f conftest.err conftest.i conftest.$ac_ext
3580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3581 rm -f conftest.i conftest.err conftest.
$ac_ext
3582 if $ac_preproc_ok; then :
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3595 $as_echo "$CPP" >&6; }
3597 for ac_c_preproc_warn_flag
in '' yes
3599 # Use a header file that comes with gcc, so configuring glibc
3600 # with a fresh cross-compiler works.
3601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3602 # <limits.h> exists even on freestanding compilers.
3603 # On the NeXT, cc -E runs the code through the compiler's parser,
3604 # not just through cpp. "Syntax error" is here to catch this case.
3605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3608 # include <limits.h>
3610 # include <assert.h>
3614 if ac_fn_c_try_cpp
"$LINENO"; then :
3617 # Broken: fails on valid input.
3620 rm -f conftest.err conftest.i conftest.
$ac_ext
3622 # OK, works on sane cases. Now check whether nonexistent headers
3623 # can be detected and how.
3624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3626 #include <ac_nonexistent.h>
3628 if ac_fn_c_try_cpp
"$LINENO"; then :
3629 # Broken: success on invalid input.
3632 # Passes both tests.
3636 rm -f conftest.err conftest.i conftest.
$ac_ext
3639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3640 rm -f conftest.i conftest.err conftest.
$ac_ext
3641 if $ac_preproc_ok; then :
3644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3646 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3647 See \`config.log' for more details" "$LINENO" 5; }
3651 ac_cpp
='$CPP $CPPFLAGS'
3652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3658 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3659 if ${ac_cv_path_GREP+:} false
; then :
3660 $as_echo_n "(cached) " >&6
3662 if test -z "$GREP"; then
3663 ac_path_GREP_found
=false
3664 # Loop through the user's path and test for each of PROGNAME-LIST
3665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3666 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3669 test -z "$as_dir" && as_dir
=.
3670 for ac_prog
in grep ggrep
; do
3671 for ac_exec_ext
in '' $ac_executable_extensions; do
3672 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3673 as_fn_executable_p
"$ac_path_GREP" || continue
3674 # Check for GNU ac_path_GREP and select it if it is found.
3675 # Check for GNU $ac_path_GREP
3676 case `"$ac_path_GREP" --version 2>&1` in
3678 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3681 $as_echo_n 0123456789 >"conftest.in"
3684 cat "conftest.in" "conftest.in" >"conftest.tmp"
3685 mv "conftest.tmp" "conftest.in"
3686 cp "conftest.in" "conftest.nl"
3687 $as_echo 'GREP' >> "conftest.nl"
3688 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3689 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3690 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3691 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3692 # Best one so far, save it but keep looking for a better one
3693 ac_cv_path_GREP
="$ac_path_GREP"
3694 ac_path_GREP_max
=$ac_count
3696 # 10*(2^10) chars as input seems more than enough
3697 test $ac_count -gt 10 && break
3699 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3702 $ac_path_GREP_found && break 3
3707 if test -z "$ac_cv_path_GREP"; then
3708 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3711 ac_cv_path_GREP
=$GREP
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3716 $as_echo "$ac_cv_path_GREP" >&6; }
3717 GREP
="$ac_cv_path_GREP"
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3721 $as_echo_n "checking for egrep... " >&6; }
3722 if ${ac_cv_path_EGREP+:} false
; then :
3723 $as_echo_n "(cached) " >&6
3725 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
3726 then ac_cv_path_EGREP
="$GREP -E"
3728 if test -z "$EGREP"; then
3729 ac_path_EGREP_found
=false
3730 # Loop through the user's path and test for each of PROGNAME-LIST
3731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3732 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3735 test -z "$as_dir" && as_dir
=.
3736 for ac_prog
in egrep; do
3737 for ac_exec_ext
in '' $ac_executable_extensions; do
3738 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3739 as_fn_executable_p
"$ac_path_EGREP" || continue
3740 # Check for GNU ac_path_EGREP and select it if it is found.
3741 # Check for GNU $ac_path_EGREP
3742 case `"$ac_path_EGREP" --version 2>&1` in
3744 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3747 $as_echo_n 0123456789 >"conftest.in"
3750 cat "conftest.in" "conftest.in" >"conftest.tmp"
3751 mv "conftest.tmp" "conftest.in"
3752 cp "conftest.in" "conftest.nl"
3753 $as_echo 'EGREP' >> "conftest.nl"
3754 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3755 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3756 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3757 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3758 # Best one so far, save it but keep looking for a better one
3759 ac_cv_path_EGREP
="$ac_path_EGREP"
3760 ac_path_EGREP_max
=$ac_count
3762 # 10*(2^10) chars as input seems more than enough
3763 test $ac_count -gt 10 && break
3765 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3768 $ac_path_EGREP_found && break 3
3773 if test -z "$ac_cv_path_EGREP"; then
3774 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3777 ac_cv_path_EGREP
=$EGREP
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3783 $as_echo "$ac_cv_path_EGREP" >&6; }
3784 EGREP
="$ac_cv_path_EGREP"
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3788 $as_echo_n "checking for ANSI C header files... " >&6; }
3789 if ${ac_cv_header_stdc+:} false
; then :
3790 $as_echo_n "(cached) " >&6
3792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3807 if ac_fn_c_try_compile
"$LINENO"; then :
3808 ac_cv_header_stdc
=yes
3810 ac_cv_header_stdc
=no
3812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3814 if test $ac_cv_header_stdc = yes; then
3815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3822 $EGREP "memchr" >/dev
/null
2>&1; then :
3825 ac_cv_header_stdc
=no
3831 if test $ac_cv_header_stdc = yes; then
3832 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3839 $EGREP "free" >/dev
/null
2>&1; then :
3842 ac_cv_header_stdc
=no
3848 if test $ac_cv_header_stdc = yes; then
3849 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3850 if test "$cross_compiling" = yes; then :
3853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3857 #if ((' ' & 0x0FF) == 0x020)
3858 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3859 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3861 # define ISLOWER(c) \
3862 (('a' <= (c) && (c) <= 'i') \
3863 || ('j' <= (c) && (c) <= 'r') \
3864 || ('s' <= (c) && (c) <= 'z'))
3865 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3868 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3873 for (i = 0; i < 256; i++)
3874 if (XOR (islower (i), ISLOWER (i))
3875 || toupper (i) != TOUPPER (i))
3880 if ac_fn_c_try_run
"$LINENO"; then :
3883 ac_cv_header_stdc
=no
3885 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3886 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3892 $as_echo "$ac_cv_header_stdc" >&6; }
3893 if test $ac_cv_header_stdc = yes; then
3895 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3899 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3900 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3901 inttypes.h stdint.h unistd.h
3903 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3904 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3906 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3907 cat >>confdefs.h
<<_ACEOF
3908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3917 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3918 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3925 if test "$MINIX" = yes; then
3927 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3930 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3933 $as_echo "#define _MINIX 1" >>confdefs.h
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3939 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3940 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3941 $as_echo_n "(cached) " >&6
3943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3944 /* end confdefs.h. */
3946 # define __EXTENSIONS__ 1
3947 $ac_includes_default
3956 if ac_fn_c_try_compile
"$LINENO"; then :
3957 ac_cv_safe_to_define___extensions__
=yes
3959 ac_cv_safe_to_define___extensions__
=no
3961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3964 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3965 test $ac_cv_safe_to_define___extensions__ = yes &&
3966 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3968 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3970 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3972 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3974 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3980 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3981 if ${ac_cv_prog_cc_c99+:} false
; then :
3982 $as_echo_n "(cached) " >&6
3984 ac_cv_prog_cc_c99
=no
3986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3989 #include <stdbool.h>
3994 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3995 #define debug(...) fprintf (stderr, __VA_ARGS__)
3996 #define showlist(...) puts (#__VA_ARGS__)
3997 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3999 test_varargs_macros (void)
4004 debug ("X = %d\n", x);
4005 showlist (The first, second, and third items.);
4006 report (x>y, "x is %d but y is %d", x, y);
4009 // Check long long types.
4010 #define BIG64 18446744073709551615ull
4011 #define BIG32 4294967295ul
4012 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4014 your preprocessor is broken;
4018 your preprocessor is broken;
4020 static long long int bignum = -9223372036854775807LL;
4021 static unsigned long long int ubignum = BIG64;
4023 struct incomplete_array
4031 const wchar_t *name;
4035 typedef const char *ccp;
4038 test_restrict (ccp restrict text)
4040 // See if C++-style comments work.
4041 // Iterate through items via the restricted pointer.
4042 // Also check for declarations in for loops.
4043 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4048 // Check varargs and va_copy.
4050 test_varargs (const char *format, ...)
4053 va_start (args, format);
4055 va_copy (args_copy, args);
4066 str = va_arg (args_copy, const char *);
4069 number = va_arg (args_copy, int);
4072 fnumber = va_arg (args_copy, double);
4087 _Bool success = false;
4090 if (test_restrict ("String literal") == 0)
4092 char *restrict newvar = "Another string";
4095 test_varargs ("s, d' f .", "string", 65, 34.234);
4096 test_varargs_macros ();
4098 // Check flexible array members.
4099 struct incomplete_array *ia =
4100 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4102 for (int i = 0; i < ia->datasize; ++i)
4103 ia->data[i] = i * 1.234;
4105 // Check named initializers.
4106 struct named_init ni = {
4108 .name = L"Test wide string",
4109 .average = 543.34343,
4114 int dynamic_array[ni.number];
4115 dynamic_array[ni.number - 1] = 543;
4117 // work around unused variable warnings
4118 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4119 || dynamic_array[ni.number - 1] != 543);
4125 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4127 CC
="$ac_save_CC $ac_arg"
4128 if ac_fn_c_try_compile
"$LINENO"; then :
4129 ac_cv_prog_cc_c99
=$ac_arg
4131 rm -f core conftest.err conftest.
$ac_objext
4132 test "x$ac_cv_prog_cc_c99" != "xno" && break
4134 rm -f conftest.
$ac_ext
4139 case "x$ac_cv_prog_cc_c99" in
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4142 $as_echo "none needed" >&6; } ;;
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4145 $as_echo "unsupported" >&6; } ;;
4147 CC
="$CC $ac_cv_prog_cc_c99"
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4149 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4151 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4157 if test x
"$ac_cv_prog_cc_c99" = "xno"; then
4158 as_fn_error $?
"charybdis requires a C99 capable compiler" "$LINENO" 5
4163 ac_config_headers
="$ac_config_headers include/setup.h"
4167 subdirs
="$subdirs libratbox"
4170 for ac_dir
in libltdl
/config
"$srcdir"/libltdl
/config
; do
4171 if test -f "$ac_dir/install-sh"; then
4173 ac_install_sh
="$ac_aux_dir/install-sh -c"
4175 elif test -f "$ac_dir/install.sh"; then
4177 ac_install_sh
="$ac_aux_dir/install.sh -c"
4179 elif test -f "$ac_dir/shtool"; then
4181 ac_install_sh
="$ac_aux_dir/shtool install -c"
4185 if test -z "$ac_aux_dir"; then
4186 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in libltdl/config \"$srcdir\"/libltdl/config" "$LINENO" 5
4189 # These three variables are undocumented and unsupported,
4190 # and are intended to be withdrawn in a future Autoconf release.
4191 # They can cause serious problems if a builder's source tree is in a directory
4192 # whose full name contains unusual characters.
4193 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4194 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4195 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4200 am__api_version
='1.15'
4202 # Find a good install program. We prefer a C program (faster),
4203 # so one script is as good as another. But avoid the broken or
4204 # incompatible versions:
4205 # SysV /etc/install, /usr/sbin/install
4206 # SunOS /usr/etc/install
4207 # IRIX /sbin/install
4209 # AmigaOS /C/install, which installs bootblocks on floppy discs
4210 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4211 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4212 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4213 # OS/2's system install, which has a completely different semantic
4214 # ./install, which can be erroneously created by make from ./install.sh.
4215 # Reject install programs that cannot install multiple files.
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4217 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4218 if test -z "$INSTALL"; then
4219 if ${ac_cv_path_install+:} false
; then :
4220 $as_echo_n "(cached) " >&6
4222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4226 test -z "$as_dir" && as_dir
=.
4227 # Account for people who put trailing slashes in PATH elements.
4228 case $as_dir/ in #((
4229 .
/ | .
// | /[cC
]/* | \
4230 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4231 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4234 # OSF1 and SCO ODT 3.0 have their own names for install.
4235 # Don't use installbsd from OSF since it installs stuff as root
4237 for ac_prog
in ginstall scoinst
install; do
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4240 if test $ac_prog = install &&
4241 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4242 # AIX install. It has an incompatible calling convention.
4244 elif test $ac_prog = install &&
4245 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4246 # program-specific install script used by HP pwplus--don't use.
4249 rm -rf conftest.one conftest.two conftest.dir
4250 echo one
> conftest.one
4251 echo two
> conftest.two
4253 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4254 test -s conftest.one
&& test -s conftest.two
&&
4255 test -s conftest.dir
/conftest.one
&&
4256 test -s conftest.dir
/conftest.two
4258 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4271 rm -rf conftest.one conftest.two conftest.dir
4274 if test "${ac_cv_path_install+set}" = set; then
4275 INSTALL
=$ac_cv_path_install
4277 # As a last resort, use the slow shell script. Don't cache a
4278 # value for INSTALL within a source directory, because that will
4279 # break other packages using the cache if that directory is
4280 # removed, or if the value is a relative name.
4281 INSTALL
=$ac_install_sh
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4285 $as_echo "$INSTALL" >&6; }
4287 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4288 # It thinks the first close brace ends the variable substitution.
4289 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4291 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4293 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4296 $as_echo_n "checking whether build environment is sane... " >&6; }
4297 # Reject unsafe characters in $srcdir or the absolute working directory
4298 # name. Accept space and tab only in the latter.
4302 *[\\\"\#\$\&\'\`$am_lf]*)
4303 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4306 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4307 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4310 # Do 'set' in a subshell so we don't clobber the current shell's
4311 # arguments. Must try -L first in case configure is actually a
4312 # symlink; some systems play weird games with the mod time of symlinks
4313 # (eg FreeBSD returns the mod time of the symlink's containing
4317 for am_try
in 1 2; do
4318 echo "timestamp, slept: $am_has_slept" > conftest.
file
4319 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4320 if test "$*" = "X"; then
4322 set X
`ls -t "$srcdir/configure" conftest.file`
4324 if test "$*" != "X $srcdir/configure conftest.file" \
4325 && test "$*" != "X conftest.file $srcdir/configure"; then
4327 # If neither matched, then we have a broken ls. This can happen
4328 # if, for instance, CONFIG_SHELL is bash and it inherits a
4329 # broken ls alias from the environment. This has actually
4330 # happened. Such a system could not be considered "sane".
4331 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4332 alias in your environment" "$LINENO" 5
4334 if test "$2" = conftest.
file || test $am_try -eq 2; then
4341 test "$2" = conftest.
file
4347 as_fn_error $?
"newly created file is older than distributed files!
4348 Check your system clock" "$LINENO" 5
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4351 $as_echo "yes" >&6; }
4352 # If we didn't sleep, we still need to ensure time stamps of config.status and
4353 # generated files are strictly newer.
4355 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4362 test "$program_prefix" != NONE
&&
4363 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4364 # Use a double $ so make ignores it.
4365 test "$program_suffix" != NONE
&&
4366 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4367 # Double any \ or $.
4368 # By default was `s,x,x', remove it if useless.
4369 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4370 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4372 if test x
"${MISSING+set}" != xset
; then
4375 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4377 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4380 # Use eval to expand $SHELL
4381 if eval "$MISSING --is-lightweight"; then
4382 am_missing_run
="$MISSING "
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4386 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4389 if test x
"${install_sh+set}" != xset
; then
4392 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4394 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4398 # Installed binaries are usually stripped using 'strip' when the user
4399 # run "make install-strip". However 'strip' might not be the right
4400 # tool to use in cross-compilation environments, therefore Automake
4401 # will honor the 'STRIP' environment variable to overrule this program.
4402 if test "$cross_compiling" != no
; then
4403 if test -n "$ac_tool_prefix"; then
4404 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4405 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4407 $as_echo_n "checking for $ac_word... " >&6; }
4408 if ${ac_cv_prog_STRIP+:} false
; then :
4409 $as_echo_n "(cached) " >&6
4411 if test -n "$STRIP"; then
4412 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4418 test -z "$as_dir" && as_dir
=.
4419 for ac_exec_ext
in '' $ac_executable_extensions; do
4420 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4421 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431 STRIP
=$ac_cv_prog_STRIP
4432 if test -n "$STRIP"; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4434 $as_echo "$STRIP" >&6; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4442 if test -z "$ac_cv_prog_STRIP"; then
4444 # Extract the first word of "strip", so it can be a program name with args.
4445 set dummy strip
; ac_word
=$2
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4447 $as_echo_n "checking for $ac_word... " >&6; }
4448 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4449 $as_echo_n "(cached) " >&6
4451 if test -n "$ac_ct_STRIP"; then
4452 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4458 test -z "$as_dir" && as_dir
=.
4459 for ac_exec_ext
in '' $ac_executable_extensions; do
4460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4461 ac_cv_prog_ac_ct_STRIP
="strip"
4462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4471 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4472 if test -n "$ac_ct_STRIP"; then
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4474 $as_echo "$ac_ct_STRIP" >&6; }
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4477 $as_echo "no" >&6; }
4480 if test "x$ac_ct_STRIP" = x
; then
4483 case $cross_compiling:$ac_tool_warned in
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4487 ac_tool_warned
=yes ;;
4492 STRIP
="$ac_cv_prog_STRIP"
4496 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4499 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4500 if test -z "$MKDIR_P"; then
4501 if ${ac_cv_path_mkdir+:} false
; then :
4502 $as_echo_n "(cached) " >&6
4504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4505 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4508 test -z "$as_dir" && as_dir
=.
4509 for ac_prog
in mkdir gmkdir
; do
4510 for ac_exec_ext
in '' $ac_executable_extensions; do
4511 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
4512 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4513 'mkdir (GNU coreutils) '* | \
4514 'mkdir (coreutils) '* | \
4515 'mkdir (fileutils) '4.1*)
4516 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4526 test -d .
/--version && rmdir .
/--version
4527 if test "${ac_cv_path_mkdir+set}" = set; then
4528 MKDIR_P
="$ac_cv_path_mkdir -p"
4530 # As a last resort, use the slow shell script. Don't cache a
4531 # value for MKDIR_P within a source directory, because that will
4532 # break other packages using the cache if that directory is
4533 # removed, or if the value is a relative name.
4534 MKDIR_P
="$ac_install_sh -d"
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4538 $as_echo "$MKDIR_P" >&6; }
4540 for ac_prog
in gawk mawk nawk
awk
4542 # Extract the first word of "$ac_prog", so it can be a program name with args.
4543 set dummy
$ac_prog; ac_word
=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_AWK+:} false
; then :
4547 $as_echo_n "(cached) " >&6
4549 if test -n "$AWK"; then
4550 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_exec_ext
in '' $ac_executable_extensions; do
4558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_AWK
="$ac_prog"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4570 if test -n "$AWK"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4572 $as_echo "$AWK" >&6; }
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 test -n "$AWK" && break
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4583 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4585 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4586 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4587 $as_echo_n "(cached) " >&6
4589 cat >conftest.
make <<\_ACEOF
4592 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4594 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4595 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4597 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4599 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4603 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4605 $as_echo "yes" >&6; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4610 SET_MAKE
="MAKE=${MAKE-make}"
4613 rm -rf .tst
2>/dev
/null
4614 mkdir .tst
2>/dev
/null
4615 if test -d .tst
; then
4620 rmdir .tst
2>/dev
/null
4622 DEPDIR
="${am__leading_dot}deps"
4624 ac_config_commands
="$ac_config_commands depfiles"
4627 am_make
=${MAKE-make}
4628 cat > confinc
<< 'END'
4630 @echo this is the am__doit target
4633 # If we don't find an include directive, just comment out the code.
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4635 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4639 # First try GNU make style include.
4640 echo "include confinc" > confmf
4641 # Ignore all kinds of additional output from 'make'.
4642 case `$am_make -s -f confmf 2> /dev/null` in #(
4643 *the\ am__doit\ target
*)
4649 # Now try BSD make style include.
4650 if test "$am__include" = "#"; then
4651 echo '.include "confinc"' > confmf
4652 case `$am_make -s -f confmf 2> /dev/null` in #(
4653 *the\ am__doit\ target
*)
4654 am__include
=.include
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4663 $as_echo "$_am_result" >&6; }
4664 rm -f confinc confmf
4666 # Check whether --enable-dependency-tracking was given.
4667 if test "${enable_dependency_tracking+set}" = set; then :
4668 enableval
=$enable_dependency_tracking;
4671 if test "x$enable_dependency_tracking" != xno
; then
4672 am_depcomp
="$ac_aux_dir/depcomp"
4676 if test "x$enable_dependency_tracking" != xno; then
4685 # Check whether --enable-silent-rules was given.
4686 if test "${enable_silent_rules+set}" = set; then :
4687 enableval
=$enable_silent_rules;
4690 case $enable_silent_rules in # (((
4691 yes) AM_DEFAULT_VERBOSITY
=0;;
4692 no
) AM_DEFAULT_VERBOSITY
=1;;
4693 *) AM_DEFAULT_VERBOSITY
=1;;
4695 am_make
=${MAKE-make}
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4697 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4698 if ${am_cv_make_support_nested_variables+:} false
; then :
4699 $as_echo_n "(cached) " >&6
4701 if $as_echo 'TRUE=$(BAR$(V))
4707 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
4708 am_cv_make_support_nested_variables
=yes
4710 am_cv_make_support_nested_variables
=no
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4714 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4715 if test $am_cv_make_support_nested_variables = yes; then
4717 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4719 AM_V
=$AM_DEFAULT_VERBOSITY
4720 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4724 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4725 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4726 # is not polluted with repeated "-I."
4727 am__isrc
=' -I$(srcdir)'
4728 # test to see if srcdir already configured
4729 if test -f $srcdir/config.status
; then
4730 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4734 # test whether we have cygpath
4735 if test -z "$CYGPATH_W"; then
4736 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4737 CYGPATH_W
='cygpath -w'
4744 # Define the identity of the package.
4749 cat >>confdefs.h
<<_ACEOF
4750 #define PACKAGE "$PACKAGE"
4754 cat >>confdefs.h
<<_ACEOF
4755 #define VERSION "$VERSION"
4758 # Some tools Automake needs.
4760 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4763 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4766 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4769 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4772 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4774 # For better backward compatibility. To be removed once Automake 1.9.x
4775 # dies out for good. For more background, see:
4776 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4777 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4778 mkdir_p
='$(MKDIR_P)'
4780 # We need awk for the "check" target (and possibly the TAP driver). The
4781 # system "awk" is bad on some platforms.
4782 # Always define AMTAR for backward compatibility. Yes, it's still used
4783 # in the wild :-( We should find a proper way to deprecate it ...
4787 # We'll loop over all known methods to create a tar archive until one works.
4788 _am_tools
='gnutar pax cpio none'
4790 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4796 depcc
="$CC" am_compiler_list
=
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4799 $as_echo_n "checking dependency style of $depcc... " >&6; }
4800 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4801 $as_echo_n "(cached) " >&6
4803 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4804 # We make a subdir and do the tests there. Otherwise we can end up
4805 # making bogus files that we don't know about and never remove. For
4806 # instance it was reported that on HP-UX the gcc test will end up
4807 # making a dummy file named 'D' -- because '-MD' means "put the output
4811 # Copy depcomp to subdir because otherwise we won't find it if we're
4812 # using a relative directory.
4813 cp "$am_depcomp" conftest.dir
4815 # We will build objects and dependencies in a subdirectory because
4816 # it helps to detect inapplicable dependency modes. For instance
4817 # both Tru64's cc and ICC support -MD to output dependencies as a
4818 # side effect of compilation, but ICC will put the dependencies in
4819 # the current directory while Tru64 will put them in the object
4823 am_cv_CC_dependencies_compiler_type
=none
4824 if test "$am_compiler_list" = ""; then
4825 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4828 case " $depcc " in #(
4829 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4832 for depmode
in $am_compiler_list; do
4833 # Setup a source with many dependencies, because some compilers
4834 # like to wrap large dependency lists on column 80 (with \), and
4835 # we should not choose a depcomp mode which is confused by this.
4837 # We need to recreate these files for each test, as the compiler may
4838 # overwrite some of them when testing with obscure command lines.
4839 # This happens at least with the AIX C compiler.
4841 for i
in 1 2 3 4 5 6; do
4842 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4843 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4844 # Solaris 10 /bin/sh.
4845 echo '/* dummy */' > sub
/conftst
$i.h
4847 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4849 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4850 # mode. It turns out that the SunPro C++ compiler does not properly
4851 # handle '-M -o', and we need to detect this. Also, some Intel
4852 # versions had trouble with output in subdirs.
4853 am__obj
=sub
/conftest.
${OBJEXT-o}
4854 am__minus_obj
="-o $am__obj"
4857 # This depmode causes a compiler race in universal mode.
4858 test "$am__universal" = false
|| continue
4861 # After this tag, mechanisms are not by side-effect, so they'll
4862 # only be used when explicitly requested.
4863 if test "x$enable_dependency_tracking" = xyes
; then
4869 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4870 # This compiler won't grok '-c -o', but also, the minuso test has
4871 # not run yet. These depmodes are late enough in the game, and
4872 # so weak that their functioning should not be impacted.
4873 am__obj
=conftest.
${OBJEXT-o}
4878 if depmode
=$depmode \
4879 source=sub
/conftest.c object
=$am__obj \
4880 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4881 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4882 >/dev
/null
2>conftest.err
&&
4883 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4884 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4885 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4886 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4887 # icc doesn't choke on unknown options, it will just issue warnings
4888 # or remarks (even with -Werror). So we grep stderr for any message
4889 # that says an option was ignored or not supported.
4890 # When given -MP, icc 7.0 and 7.1 complain thusly:
4891 # icc: Command line warning: ignoring option '-M'; no argument required
4892 # The diagnosis changed in icc 8.0:
4893 # icc: Command line remark: option '-MP' not supported
4894 if (grep 'ignoring option' conftest.err
||
4895 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4896 am_cv_CC_dependencies_compiler_type
=$depmode
4905 am_cv_CC_dependencies_compiler_type
=none
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4910 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4911 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4914 test "x$enable_dependency_tracking" != xno \
4915 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4917 am__fastdepCC_FALSE
='#'
4919 am__fastdepCC_TRUE
='#'
4920 am__fastdepCC_FALSE
=
4925 # POSIX will say in a future version that running "rm -f" with no argument
4926 # is OK; and we want to be able to make that assumption in our Makefile
4927 # recipes. So use an aggressive probe to check that the usage we want is
4928 # actually supported "in the wild" to an acceptable degree.
4929 # See automake bug#10828.
4930 # To make any issue more visible, cause the running configure to be aborted
4931 # by default if the 'rm' program in use doesn't match our expectations; the
4932 # user can still override this though.
4933 if rm -f && rm -fr && rm -rf; then : OK
; else
4937 Your 'rm' program seems unable to run without file operands specified
4938 on the command line, even when the '-f' option is present. This is contrary
4939 to the behaviour of most rm programs out there, and not conforming with
4940 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4942 Please tell bug-automake@gnu.org about your system, including the value
4943 of your $PATH and any error possibly output before this message. This
4944 can help us improve future automake versions.
4947 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4948 echo 'Configuration will proceed anyway, since you have set the' >&2
4949 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4953 Aborting the configuration process, to ensure you take notice of the issue.
4955 You can download and install GNU coreutils to get an 'rm' implementation
4956 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4958 If you want to complete the configuration process using your problematic
4959 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4960 to "yes", and re-run configure.
4963 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4967 # Check whether --enable-silent-rules was given.
4968 if test "${enable_silent_rules+set}" = set; then :
4969 enableval
=$enable_silent_rules;
4972 case $enable_silent_rules in # (((
4973 yes) AM_DEFAULT_VERBOSITY
=0;;
4974 no
) AM_DEFAULT_VERBOSITY
=1;;
4975 *) AM_DEFAULT_VERBOSITY
=0;;
4977 am_make
=${MAKE-make}
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4979 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4980 if ${am_cv_make_support_nested_variables+:} false
; then :
4981 $as_echo_n "(cached) " >&6
4983 if $as_echo 'TRUE=$(BAR$(V))
4989 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
4990 am_cv_make_support_nested_variables
=yes
4992 am_cv_make_support_nested_variables
=no
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4996 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4997 if test $am_cv_make_support_nested_variables = yes; then
4999 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5001 AM_V
=$AM_DEFAULT_VERBOSITY
5002 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5006 if test -n "$ac_tool_prefix"; then
5007 for ac_prog in ar lib "link -lib"
5009 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5010 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_AR+:} false; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$AR"; then
5017 ac_cv_prog_AR="$AR" # Let the user override the test.
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 if test -n "$AR"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5039 $as_echo "$AR" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5046 test -n "$AR" && break
5049 if test -z "$AR"; then
5051 for ac_prog in ar lib "link -lib"
5053 # Extract the first word of "$ac_prog", so it can be a program name with args.
5054 set dummy $ac_prog; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -n "$ac_ct_AR"; then
5061 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5070 ac_cv_prog_ac_ct_AR="$ac_prog"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5081 if test -n "$ac_ct_AR"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5083 $as_echo "$ac_ct_AR" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5090 test -n "$ac_ct_AR" && break
5093 if test "x$ac_ct_AR" = x; then
5096 case $cross_compiling:$ac_tool_warned in
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100 ac_tool_warned=yes ;;
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5109 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5110 if ${am_cv_ar_interface+:} false; then :
5111 $as_echo_n "(cached) " >&6
5114 ac_cpp='$CPP $CPPFLAGS'
5115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5116 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 am_cv_ar_interface=ar
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5122 int some_variable = 0;
5124 if ac_fn_c_try_compile "$LINENO"; then :
5125 am_ar_try='$AR cru libconftest.a conftest.
$ac_objext >&5'
5126 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5127 (eval $am_ar_try) 2>&5
5129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5130 test $ac_status = 0; }
5131 if test "$ac_status" -eq 0; then
5132 am_cv_ar_interface=ar
5134 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.
$ac_objext >&5'
5135 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5136 (eval $am_ar_try) 2>&5
5138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5139 test $ac_status = 0; }
5140 if test "$ac_status" -eq 0; then
5141 am_cv_ar_interface=lib
5143 am_cv_ar_interface=unknown
5146 rm -f conftest.lib libconftest.a
5149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151 ac_cpp='$CPP $CPPFLAGS'
5152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5153 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5158 $as_echo "$am_cv_ar_interface" >&6; }
5160 case $am_cv_ar_interface in
5164 # Microsoft lib, so override with the ar-lib wrapper script.
5165 # FIXME: It is wrong to rewrite AR.
5166 # But if we don't
then we get into trouble of one
sort or another.
5167 # A longer-term fix would be to have automake use am__AR in this case,
5168 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5170 AR
="$am_aux_dir/ar-lib $AR"
5173 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5181 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5186 macro_version
='2.4.2'
5187 macro_revision
='1.3337'
5201 ltmain
="$ac_aux_dir/ltmain.sh"
5203 # Make sure we can run config.sub.
5204 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5205 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5208 $as_echo_n "checking build system type... " >&6; }
5209 if ${ac_cv_build+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 ac_build_alias
=$build_alias
5213 test "x$ac_build_alias" = x
&&
5214 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5215 test "x$ac_build_alias" = x
&&
5216 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5217 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5218 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5222 $as_echo "$ac_cv_build" >&6; }
5223 case $ac_cv_build in
5225 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5228 ac_save_IFS
=$IFS; IFS
='-'
5234 # Remember, the first character of IFS is used to create $*,
5235 # except with old shells:
5238 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5242 $as_echo_n "checking host system type... " >&6; }
5243 if ${ac_cv_host+:} false
; then :
5244 $as_echo_n "(cached) " >&6
5246 if test "x$host_alias" = x
; then
5247 ac_cv_host
=$ac_cv_build
5249 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5250 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5255 $as_echo "$ac_cv_host" >&6; }
5258 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5261 ac_save_IFS
=$IFS; IFS
='-'
5267 # Remember, the first character of IFS is used to create $*,
5268 # except with old shells:
5271 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5274 # Backslashify metacharacters that are still active within
5275 # double-quoted strings.
5276 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5278 # Same as above, but do not quote variable references.
5279 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5281 # Sed substitution to delay expansion of an escaped shell variable in a
5282 # double_quote_subst'ed string.
5283 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5285 # Sed substitution to delay expansion of an escaped single quote.
5286 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5288 # Sed substitution to avoid accidental globbing in evaled expressions
5289 no_glob_subst
='s/\*/\\\*/g'
5291 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5292 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5293 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5296 $as_echo_n "checking how to print strings... " >&6; }
5297 # Test print first, because it will be a builtin if present.
5298 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5299 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5301 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5304 # Use this function as a fallback that always works.
5305 func_fallback_echo ()
5307 eval 'cat <<_LTECHO_EOF
5311 ECHO='func_fallback_echo
'
5314 # func_echo_all arg...
5315 # Invoke $ECHO with all args, space-separated.
5322 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5323 $as_echo "printf" >&6; } ;;
5324 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5325 $as_echo "print -r" >&6; } ;;
5326 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5327 $as_echo "cat" >&6; } ;;
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5344 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5345 if ${ac_cv_path_SED+:} false; then :
5346 $as_echo_n "(cached) " >&6
5348 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5349 for ac_i in 1 2 3 4 5 6 7; do
5350 ac_script="$ac_script$as_nl$ac_script"
5352 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5353 { ac_script=; unset ac_script;}
5354 if test -z "$SED"; then
5355 ac_path_SED_found=false
5356 # Loop through the user's path and
test for each of PROGNAME
-LIST
5357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5361 test -z "$as_dir" && as_dir
=.
5362 for ac_prog
in sed gsed
; do
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5365 as_fn_executable_p
"$ac_path_SED" || continue
5366 # Check for GNU ac_path_SED and select it if it is found.
5367 # Check for GNU $ac_path_SED
5368 case `"$ac_path_SED" --version 2>&1` in
5370 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5373 $as_echo_n 0123456789 >"conftest.in"
5376 cat "conftest.in" "conftest.in" >"conftest.tmp"
5377 mv "conftest.tmp" "conftest.in"
5378 cp "conftest.in" "conftest.nl"
5379 $as_echo '' >> "conftest.nl"
5380 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5381 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5382 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5383 if test $ac_count -gt ${ac_path_SED_max-0}; then
5384 # Best one so far, save it but keep looking for a better one
5385 ac_cv_path_SED
="$ac_path_SED"
5386 ac_path_SED_max
=$ac_count
5388 # 10*(2^10) chars as input seems more than enough
5389 test $ac_count -gt 10 && break
5391 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5394 $ac_path_SED_found && break 3
5399 if test -z "$ac_cv_path_SED"; then
5400 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5408 $as_echo "$ac_cv_path_SED" >&6; }
5409 SED
="$ac_cv_path_SED"
5412 test -z "$SED" && SED
=sed
5413 Xsed
="$SED -e 1s/^X//"
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5426 $as_echo_n "checking for fgrep... " >&6; }
5427 if ${ac_cv_path_FGREP+:} false
; then :
5428 $as_echo_n "(cached) " >&6
5430 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
5431 then ac_cv_path_FGREP
="$GREP -F"
5433 if test -z "$FGREP"; then
5434 ac_path_FGREP_found
=false
5435 # Loop through the user's path and test for each of PROGNAME-LIST
5436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5437 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5440 test -z "$as_dir" && as_dir
=.
5441 for ac_prog
in fgrep
; do
5442 for ac_exec_ext
in '' $ac_executable_extensions; do
5443 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5444 as_fn_executable_p
"$ac_path_FGREP" || continue
5445 # Check for GNU ac_path_FGREP and select it if it is found.
5446 # Check for GNU $ac_path_FGREP
5447 case `"$ac_path_FGREP" --version 2>&1` in
5449 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5452 $as_echo_n 0123456789 >"conftest.in"
5455 cat "conftest.in" "conftest.in" >"conftest.tmp"
5456 mv "conftest.tmp" "conftest.in"
5457 cp "conftest.in" "conftest.nl"
5458 $as_echo 'FGREP' >> "conftest.nl"
5459 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5460 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5461 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5462 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5463 # Best one so far, save it but keep looking for a better one
5464 ac_cv_path_FGREP
="$ac_path_FGREP"
5465 ac_path_FGREP_max
=$ac_count
5467 # 10*(2^10) chars as input seems more than enough
5468 test $ac_count -gt 10 && break
5470 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5473 $ac_path_FGREP_found && break 3
5478 if test -z "$ac_cv_path_FGREP"; then
5479 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5482 ac_cv_path_FGREP
=$FGREP
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5488 $as_echo "$ac_cv_path_FGREP" >&6; }
5489 FGREP
="$ac_cv_path_FGREP"
5492 test -z "$GREP" && GREP
=grep
5512 # Check whether --with-gnu-ld was given.
5513 if test "${with_gnu_ld+set}" = set; then :
5514 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
5520 if test "$GCC" = yes; then
5521 # Check if gcc -print-prog-name=ld gives a path.
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5523 $as_echo_n "checking for ld used by $CC... " >&6; }
5526 # gcc leaves a trailing carriage return which upsets mingw
5527 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5529 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5532 # Accept absolute paths.
5534 re_direlt
='/[^/][^/]*/\.\./'
5535 # Canonicalize the pathname of ld
5536 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5537 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
5538 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5540 test -z "$LD" && LD
="$ac_prog"
5543 # If it fails, then pretend we aren't using GCC.
5547 # If it is relative, then search for the first ld in PATH.
5551 elif test "$with_gnu_ld" = yes; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5553 $as_echo_n "checking for GNU ld... " >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5556 $as_echo_n "checking for non-GNU ld... " >&6; }
5558 if ${lt_cv_path_LD+:} false
; then :
5559 $as_echo_n "(cached) " >&6
5561 if test -z "$LD"; then
5562 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5563 for ac_dir
in $PATH; do
5565 test -z "$ac_dir" && ac_dir
=.
5566 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5567 lt_cv_path_LD
="$ac_dir/$ac_prog"
5568 # Check to see if the program is GNU ld. I'd rather use --version,
5569 # but apparently some variants of GNU ld only accept -v.
5570 # Break only if it was the GNU/non-GNU ld that we prefer.
5571 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5572 *GNU
* | *'with BFD'*)
5573 test "$with_gnu_ld" != no
&& break
5576 test "$with_gnu_ld" != yes && break
5583 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5588 if test -n "$LD"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5590 $as_echo "$LD" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5595 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5597 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5598 if ${lt_cv_prog_gnu_ld+:} false
; then :
5599 $as_echo_n "(cached) " >&6
5601 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5602 case `$LD -v 2>&1 </dev/null` in
5603 *GNU
* | *'with BFD'*)
5604 lt_cv_prog_gnu_ld
=yes
5607 lt_cv_prog_gnu_ld
=no
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5612 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5613 with_gnu_ld
=$lt_cv_prog_gnu_ld
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5624 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5625 if ${lt_cv_path_NM+:} false
; then :
5626 $as_echo_n "(cached) " >&6
5628 if test -n "$NM"; then
5629 # Let the user override the test.
5632 lt_nm_to_check
="${ac_tool_prefix}nm"
5633 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5634 lt_nm_to_check
="$lt_nm_to_check nm"
5636 for lt_tmp_nm
in $lt_nm_to_check; do
5637 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5638 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5640 test -z "$ac_dir" && ac_dir
=.
5641 tmp_nm
="$ac_dir/$lt_tmp_nm"
5642 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5643 # Check to see if the nm accepts a BSD-compat flag.
5644 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5645 # nm: unknown option "B" ignored
5646 # Tru64's nm complains that /dev/null is an invalid object file
5647 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5648 */dev
/null
* | *'Invalid file or object type'*)
5649 lt_cv_path_NM
="$tmp_nm -B"
5653 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5655 lt_cv_path_NM
="$tmp_nm -p"
5659 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5660 continue # so that we can try to find one that supports BSD flags
5669 : ${lt_cv_path_NM=no}
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5673 $as_echo "$lt_cv_path_NM" >&6; }
5674 if test "$lt_cv_path_NM" != "no"; then
5677 # Didn't find any BSD compatible name lister, look for dumpbin.
5678 if test -n "$DUMPBIN"; then :
5679 # Let the user override the test.
5681 if test -n "$ac_tool_prefix"; then
5682 for ac_prog
in dumpbin
"link -dump"
5684 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5685 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -n "$DUMPBIN"; then
5692 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir
=.
5699 for ac_exec_ext
in '' $ac_executable_extensions; do
5700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 DUMPBIN
=$ac_cv_prog_DUMPBIN
5712 if test -n "$DUMPBIN"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5714 $as_echo "$DUMPBIN" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5721 test -n "$DUMPBIN" && break
5724 if test -z "$DUMPBIN"; then
5725 ac_ct_DUMPBIN
=$DUMPBIN
5726 for ac_prog
in dumpbin
"link -dump"
5728 # Extract the first word of "$ac_prog", so it can be a program name with args.
5729 set dummy
$ac_prog; ac_word
=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5733 $as_echo_n "(cached) " >&6
5735 if test -n "$ac_ct_DUMPBIN"; then
5736 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5742 test -z "$as_dir" && as_dir
=.
5743 for ac_exec_ext
in '' $ac_executable_extensions; do
5744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5756 if test -n "$ac_ct_DUMPBIN"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5758 $as_echo "$ac_ct_DUMPBIN" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5765 test -n "$ac_ct_DUMPBIN" && break
5768 if test "x$ac_ct_DUMPBIN" = x
; then
5771 case $cross_compiling:$ac_tool_warned in
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5775 ac_tool_warned
=yes ;;
5777 DUMPBIN
=$ac_ct_DUMPBIN
5781 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5783 DUMPBIN
="$DUMPBIN -symbols"
5791 if test "$DUMPBIN" != ":"; then
5795 test -z "$NM" && NM
=nm
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5803 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5804 if ${lt_cv_nm_interface+:} false
; then :
5805 $as_echo_n "(cached) " >&6
5807 lt_cv_nm_interface
="BSD nm"
5808 echo "int some_variable = 0;" > conftest.
$ac_ext
5809 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5810 (eval "$ac_compile" 2>conftest.err
)
5811 cat conftest.err
>&5
5812 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5813 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5814 cat conftest.err
>&5
5815 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5816 cat conftest.out
>&5
5817 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5818 lt_cv_nm_interface
="MS dumpbin"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5823 $as_echo "$lt_cv_nm_interface" >&6; }
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5826 $as_echo_n "checking whether ln -s works... " >&6; }
5828 if test "$LN_S" = "ln -s"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5830 $as_echo "yes" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5833 $as_echo "no, using $LN_S" >&6; }
5836 # find the maximum length of command line arguments
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5838 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5839 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5840 $as_echo_n "(cached) " >&6
5847 # On DJGPP, this test can blow up pretty badly due to problems in libc
5848 # (any single argument exceeding 2000 bytes causes a buffer overrun
5849 # during glob expansion). Even if it were fixed, the result of this
5850 # check would be larger than it should be.
5851 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5855 # Under GNU Hurd, this test is not required because there is
5856 # no limit to the length of command line arguments.
5857 # Libtool will interpret -1 as no limit whatsoever
5858 lt_cv_sys_max_cmd_len
=-1;
5861 cygwin
* | mingw
* | cegcc
*)
5862 # On Win9x/ME, this test blows up -- it succeeds, but takes
5863 # about 5 minutes as the teststring grows exponentially.
5864 # Worse, since 9x/ME are not pre-emptively multitasking,
5865 # you end up with a "frozen" computer, even though with patience
5866 # the test eventually succeeds (with a max line length of 256k).
5867 # Instead, let's just punt: use the minimum linelength reported by
5868 # all of the supported platforms: 8192 (on NT/2K/XP).
5869 lt_cv_sys_max_cmd_len
=8192;
5873 # On MiNT this can take a long time and run out of memory.
5874 lt_cv_sys_max_cmd_len
=8192;
5878 # On AmigaOS with pdksh, this test takes hours, literally.
5879 # So we just punt and use a minimum line length of 8192.
5880 lt_cv_sys_max_cmd_len
=8192;
5883 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5884 # This has been around since 386BSD, at least. Likely further.
5885 if test -x /sbin
/sysctl
; then
5886 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5887 elif test -x /usr
/sbin
/sysctl
; then
5888 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5890 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5892 # And add a safety zone
5893 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5894 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5898 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5899 lt_cv_sys_max_cmd_len
=196608
5903 # The test takes a long time on OS/2.
5904 lt_cv_sys_max_cmd_len
=8192
5908 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5909 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5910 # nice to cause kernel panics so lets avoid the loop below.
5911 # First set a reasonable default.
5912 lt_cv_sys_max_cmd_len
=16384
5914 if test -x /sbin
/sysconfig
; then
5915 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5916 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5921 lt_cv_sys_max_cmd_len
=102400
5923 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5924 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5925 if test -n "$kargmax"; then
5926 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5928 lt_cv_sys_max_cmd_len
=32768
5932 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5933 if test -n "$lt_cv_sys_max_cmd_len" && \
5934 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
5935 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5936 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5938 # Make teststring a little bigger before we do anything with it.
5939 # a 1K string should be a reasonable start.
5940 for i
in 1 2 3 4 5 6 7 8 ; do
5941 teststring
=$teststring$teststring
5943 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5944 # If test is not a shell built-in, we'll probably end up computing a
5945 # maximum length that is only half of the actual maximum length, but
5947 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5948 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5949 test $i != 17 # 1/2 MB should be enough
5952 teststring
=$teststring$teststring
5954 # Only check the string length outside the loop.
5955 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5957 # Add a significant safety factor because C++ compilers can tack on
5958 # massive amounts of additional arguments before passing them to the
5959 # linker. It appears as though 1/2 is a usable value.
5960 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5967 if test -n $lt_cv_sys_max_cmd_len ; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5969 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5972 $as_echo "none" >&6; }
5974 max_cmd_len
=$lt_cv_sys_max_cmd_len
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5986 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5987 # Try some XSI features
5990 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5992 && eval 'test $(( 1 + 1 )) -eq 2 \
5993 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5996 $as_echo "$xsi_shell" >&6; }
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6000 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6002 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6004 && lt_shell_append
=yes
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6006 $as_echo "$lt_shell_append" >&6; }
6009 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
6019 # test EBCDIC or ASCII
6020 case `echo X|tr X '\101'` in
6021 A
) # ASCII based system
6022 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6023 lt_SP2NL
='tr \040 \012'
6024 lt_NL2SP
='tr \015\012 \040\040'
6026 *) # EBCDIC based system
6027 lt_SP2NL
='tr \100 \n'
6028 lt_NL2SP
='tr \r\n \100\100'
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6041 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6042 if ${lt_cv_to_host_file_cmd+:} false
; then :
6043 $as_echo_n "(cached) " >&6
6048 *-*-mingw* ) # actually msys
6049 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6052 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6054 * ) # otherwise, assume *nix
6055 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6061 *-*-mingw* ) # actually msys
6062 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6065 lt_cv_to_host_file_cmd
=func_convert_file_noop
6067 * ) # otherwise, assume *nix
6068 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6072 * ) # unhandled hosts (and "normal" native builds)
6073 lt_cv_to_host_file_cmd
=func_convert_file_noop
6079 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6081 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6088 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6089 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6090 $as_echo_n "(cached) " >&6
6092 #assume ordinary cross tools, or native build.
6093 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6097 *-*-mingw* ) # actually msys
6098 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6106 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6108 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6115 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6116 if ${lt_cv_ld_reload_flag+:} false
; then :
6117 $as_echo_n "(cached) " >&6
6119 lt_cv_ld_reload_flag
='-r'
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6122 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6123 reload_flag
=$lt_cv_ld_reload_flag
6124 case $reload_flag in
6126 *) reload_flag
=" $reload_flag" ;;
6128 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6130 cygwin
* | mingw
* | pw32
* | cegcc
*)
6131 if test "$GCC" != yes; then
6136 if test "$GCC" = yes; then
6137 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6139 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6152 if test -n "$ac_tool_prefix"; then
6153 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6154 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6156 $as_echo_n "checking for $ac_word... " >&6; }
6157 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6158 $as_echo_n "(cached) " >&6
6160 if test -n "$OBJDUMP"; then
6161 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6167 test -z "$as_dir" && as_dir
=.
6168 for ac_exec_ext
in '' $ac_executable_extensions; do
6169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6170 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 OBJDUMP
=$ac_cv_prog_OBJDUMP
6181 if test -n "$OBJDUMP"; then
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6183 $as_echo "$OBJDUMP" >&6; }
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6186 $as_echo "no" >&6; }
6191 if test -z "$ac_cv_prog_OBJDUMP"; then
6192 ac_ct_OBJDUMP
=$OBJDUMP
6193 # Extract the first word of "objdump", so it can be a program name with args.
6194 set dummy objdump
; ac_word
=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; }
6197 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6198 $as_echo_n "(cached) " >&6
6200 if test -n "$ac_ct_OBJDUMP"; then
6201 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6207 test -z "$as_dir" && as_dir
=.
6208 for ac_exec_ext
in '' $ac_executable_extensions; do
6209 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6210 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6220 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6221 if test -n "$ac_ct_OBJDUMP"; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6223 $as_echo "$ac_ct_OBJDUMP" >&6; }
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6229 if test "x$ac_ct_OBJDUMP" = x
; then
6232 case $cross_compiling:$ac_tool_warned in
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6236 ac_tool_warned
=yes ;;
6238 OBJDUMP
=$ac_ct_OBJDUMP
6241 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6244 test -z "$OBJDUMP" && OBJDUMP
=objdump
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6255 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6256 if ${lt_cv_deplibs_check_method+:} false
; then :
6257 $as_echo_n "(cached) " >&6
6259 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6260 lt_cv_file_magic_test_file
=
6261 lt_cv_deplibs_check_method
='unknown'
6262 # Need to set the preceding variable on all platforms that support
6263 # interlibrary dependencies.
6264 # 'none' -- dependencies not supported.
6265 # `unknown' -- same as none, but documents that we really don't know.
6266 # 'pass_all' -- all dependencies passed with no checks.
6267 # 'test_compile' -- check by making test program.
6268 # 'file_magic [[regex]]' -- check by looking for files in library path
6269 # which responds to the $file_magic_cmd with a given extended regex.
6270 # If you have `file' or equivalent on your system and you're not sure
6271 # whether `pass_all' will *always* work, you probably want this one.
6275 lt_cv_deplibs_check_method
=pass_all
6279 lt_cv_deplibs_check_method
=pass_all
6283 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6284 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6285 lt_cv_file_magic_test_file
=/shlib
/libc.so
6289 # func_win32_libid is a shell function defined in ltmain.sh
6290 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6291 lt_cv_file_magic_cmd
='func_win32_libid'
6295 # Base MSYS/MinGW do not provide the 'file' command needed by
6296 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6297 # unless we find 'file', for example because we are cross-compiling.
6298 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6299 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6300 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6301 lt_cv_file_magic_cmd
='func_win32_libid'
6303 # Keep this pattern in sync with the one in func_win32_libid.
6304 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6305 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6310 # use the weaker test based on 'objdump'. See mingw*.
6311 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6312 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6315 darwin
* | rhapsody
*)
6316 lt_cv_deplibs_check_method
=pass_all
6319 freebsd
* | dragonfly
*)
6320 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6323 # Not sure whether the presence of OpenBSD here was a mistake.
6324 # Let's accept both of them until this is cleared up.
6325 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6326 lt_cv_file_magic_cmd
=/usr
/bin
/file
6327 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6331 lt_cv_deplibs_check_method
=pass_all
6336 lt_cv_deplibs_check_method
=pass_all
6339 hpux10.20
* | hpux11
*)
6340 lt_cv_file_magic_cmd
=/usr
/bin
/file
6343 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6344 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
6347 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]'
6348 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
6351 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6352 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6358 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6359 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6362 irix5
* | irix6
* | nonstopux
*)
6364 *-32|*"-32 ") libmagic
=32-bit;;
6365 *-n32|*"-n32 ") libmagic
=N32
;;
6366 *-64|*"-64 ") libmagic
=64-bit;;
6367 *) libmagic
=never
-match;;
6369 lt_cv_deplibs_check_method
=pass_all
6372 # This must be glibc/ELF.
6373 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
6374 lt_cv_deplibs_check_method
=pass_all
6377 netbsd
* | netbsdelf
*-gnu)
6378 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6379 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6381 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6386 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6387 lt_cv_file_magic_cmd
=/usr
/bin
/file
6388 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6392 lt_cv_deplibs_check_method
=pass_all
6396 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6397 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6399 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6403 osf3
* | osf4
* | osf5
*)
6404 lt_cv_deplibs_check_method
=pass_all
6408 lt_cv_deplibs_check_method
=pass_all
6412 lt_cv_deplibs_check_method
=pass_all
6415 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6416 lt_cv_deplibs_check_method
=pass_all
6420 case $host_vendor in
6422 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]'
6423 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6426 lt_cv_deplibs_check_method
=pass_all
6429 lt_cv_file_magic_cmd
='/bin/file'
6430 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6433 lt_cv_file_magic_cmd
='/bin/file'
6434 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6435 lt_cv_file_magic_test_file
=/lib
/libc.so
6438 lt_cv_deplibs_check_method
=pass_all
6441 lt_cv_deplibs_check_method
=pass_all
6447 lt_cv_deplibs_check_method
=pass_all
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6453 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6457 if test "$build" = "$host"; then
6460 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
6463 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6469 file_magic_cmd
=$lt_cv_file_magic_cmd
6470 deplibs_check_method
=$lt_cv_deplibs_check_method
6471 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6494 if test -n "$ac_tool_prefix"; then
6495 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6496 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6498 $as_echo_n "checking for $ac_word... " >&6; }
6499 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6500 $as_echo_n "(cached) " >&6
6502 if test -n "$DLLTOOL"; then
6503 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6509 test -z "$as_dir" && as_dir
=.
6510 for ac_exec_ext
in '' $ac_executable_extensions; do
6511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6512 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 DLLTOOL
=$ac_cv_prog_DLLTOOL
6523 if test -n "$DLLTOOL"; then
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6525 $as_echo "$DLLTOOL" >&6; }
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6528 $as_echo "no" >&6; }
6533 if test -z "$ac_cv_prog_DLLTOOL"; then
6534 ac_ct_DLLTOOL
=$DLLTOOL
6535 # Extract the first word of "dlltool", so it can be a program name with args.
6536 set dummy dlltool
; ac_word
=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6540 $as_echo_n "(cached) " >&6
6542 if test -n "$ac_ct_DLLTOOL"; then
6543 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6549 test -z "$as_dir" && as_dir
=.
6550 for ac_exec_ext
in '' $ac_executable_extensions; do
6551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6552 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6563 if test -n "$ac_ct_DLLTOOL"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6565 $as_echo "$ac_ct_DLLTOOL" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6571 if test "x$ac_ct_DLLTOOL" = x
; then
6574 case $cross_compiling:$ac_tool_warned in
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6578 ac_tool_warned
=yes ;;
6580 DLLTOOL
=$ac_ct_DLLTOOL
6583 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6586 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6598 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6599 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6600 $as_echo_n "(cached) " >&6
6602 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6605 cygwin
* | mingw
* | pw32
* | cegcc
*)
6606 # two different shell functions defined in ltmain.sh
6607 # decide which to use based on capabilities of $DLLTOOL
6608 case `$DLLTOOL --help 2>&1` in
6609 *--identify-strict*)
6610 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6613 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6618 # fallback: assume linklib IS sharedlib
6619 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6625 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6626 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6627 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6635 if test -n "$ac_tool_prefix"; then
6638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6639 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if ${ac_cv_prog_AR+:} false
; then :
6643 $as_echo_n "(cached) " >&6
6645 if test -n "$AR"; then
6646 ac_cv_prog_AR
="$AR" # Let the user override the test.
6648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir
=.
6653 for ac_exec_ext
in '' $ac_executable_extensions; do
6654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6655 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 if test -n "$AR"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6668 $as_echo "$AR" >&6; }
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6675 test -n "$AR" && break
6678 if test -z "$AR"; then
6682 # Extract the first word of "$ac_prog", so it can be a program name with args.
6683 set dummy
$ac_prog; ac_word
=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6687 $as_echo_n "(cached) " >&6
6689 if test -n "$ac_ct_AR"; then
6690 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6696 test -z "$as_dir" && as_dir
=.
6697 for ac_exec_ext
in '' $ac_executable_extensions; do
6698 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6699 ac_cv_prog_ac_ct_AR
="$ac_prog"
6700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6710 if test -n "$ac_ct_AR"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6712 $as_echo "$ac_ct_AR" >&6; }
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6719 test -n "$ac_ct_AR" && break
6722 if test "x$ac_ct_AR" = x
; then
6725 case $cross_compiling:$ac_tool_warned in
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6729 ac_tool_warned
=yes ;;
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6749 $as_echo_n "checking for archiver @FILE support... " >&6; }
6750 if ${lt_cv_ar_at_file+:} false
; then :
6751 $as_echo_n "(cached) " >&6
6754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h. */
6765 if ac_fn_c_try_compile
"$LINENO"; then :
6766 echo conftest.
$ac_objext > conftest.lst
6767 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6769 (eval $lt_ar_try) 2>&5
6771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6772 test $ac_status = 0; }
6773 if test "$ac_status" -eq 0; then
6774 # Ensure the archiver fails upon bogus file names.
6775 rm -f conftest.
$ac_objext libconftest.a
6776 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6777 (eval $lt_ar_try) 2>&5
6779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6780 test $ac_status = 0; }
6781 if test "$ac_status" -ne 0; then
6785 rm -f conftest.
* libconftest.a
6788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6792 $as_echo "$lt_cv_ar_at_file" >&6; }
6794 if test "x$lt_cv_ar_at_file" = xno
; then
6797 archiver_list_spec
=$lt_cv_ar_at_file
6806 if test -n "$ac_tool_prefix"; then
6807 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6808 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6810 $as_echo_n "checking for $ac_word... " >&6; }
6811 if ${ac_cv_prog_STRIP+:} false
; then :
6812 $as_echo_n "(cached) " >&6
6814 if test -n "$STRIP"; then
6815 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6821 test -z "$as_dir" && as_dir
=.
6822 for ac_exec_ext
in '' $ac_executable_extensions; do
6823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6824 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 STRIP
=$ac_cv_prog_STRIP
6835 if test -n "$STRIP"; then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6837 $as_echo "$STRIP" >&6; }
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 $as_echo "no" >&6; }
6845 if test -z "$ac_cv_prog_STRIP"; then
6847 # Extract the first word of "strip", so it can be a program name with args.
6848 set dummy strip
; ac_word
=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6852 $as_echo_n "(cached) " >&6
6854 if test -n "$ac_ct_STRIP"; then
6855 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir
=.
6862 for ac_exec_ext
in '' $ac_executable_extensions; do
6863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6864 ac_cv_prog_ac_ct_STRIP
="strip"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6875 if test -n "$ac_ct_STRIP"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6877 $as_echo "$ac_ct_STRIP" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6883 if test "x$ac_ct_STRIP" = x
; then
6886 case $cross_compiling:$ac_tool_warned in
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6890 ac_tool_warned
=yes ;;
6895 STRIP
="$ac_cv_prog_STRIP"
6898 test -z "$STRIP" && STRIP
=:
6905 if test -n "$ac_tool_prefix"; then
6906 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6907 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 $as_echo_n "checking for $ac_word... " >&6; }
6910 if ${ac_cv_prog_RANLIB+:} false
; then :
6911 $as_echo_n "(cached) " >&6
6913 if test -n "$RANLIB"; then
6914 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6920 test -z "$as_dir" && as_dir
=.
6921 for ac_exec_ext
in '' $ac_executable_extensions; do
6922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6923 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933 RANLIB
=$ac_cv_prog_RANLIB
6934 if test -n "$RANLIB"; then
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6936 $as_echo "$RANLIB" >&6; }
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 $as_echo "no" >&6; }
6944 if test -z "$ac_cv_prog_RANLIB"; then
6945 ac_ct_RANLIB
=$RANLIB
6946 # Extract the first word of "ranlib", so it can be a program name with args.
6947 set dummy ranlib
; ac_word
=$2
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949 $as_echo_n "checking for $ac_word... " >&6; }
6950 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6951 $as_echo_n "(cached) " >&6
6953 if test -n "$ac_ct_RANLIB"; then
6954 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6960 test -z "$as_dir" && as_dir
=.
6961 for ac_exec_ext
in '' $ac_executable_extensions; do
6962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6963 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6973 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6974 if test -n "$ac_ct_RANLIB"; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6976 $as_echo "$ac_ct_RANLIB" >&6; }
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979 $as_echo "no" >&6; }
6982 if test "x$ac_ct_RANLIB" = x
; then
6985 case $cross_compiling:$ac_tool_warned in
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6989 ac_tool_warned
=yes ;;
6991 RANLIB
=$ac_ct_RANLIB
6994 RANLIB
="$ac_cv_prog_RANLIB"
6997 test -z "$RANLIB" && RANLIB
=:
7004 # Determine commands to create old-style static archives.
7005 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7006 old_postinstall_cmds
='chmod 644 $oldlib'
7007 old_postuninstall_cmds
=
7009 if test -n "$RANLIB"; then
7012 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7015 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7018 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7023 lock_old_archive_extraction
=yes ;;
7025 lock_old_archive_extraction
=no
;;
7066 # If no C compiler was specified, use CC.
7069 # If no C compiler flags were specified, use CFLAGS.
7070 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7072 # Allow CC to be a program name with arguments.
7076 # Check for command to grab the raw symbol name followed by C symbol from nm.
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7078 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7079 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7080 $as_echo_n "(cached) " >&6
7083 # These are sane defaults that work on at least a few old systems.
7084 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7086 # Character class describing NM global symbol codes.
7087 symcode
='[BCDEGRST]'
7089 # Regexp to match symbols that can be accessed directly from C.
7090 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7092 # Define system-specific variables.
7097 cygwin
* | mingw
* | pw32
* | cegcc
*)
7098 symcode
='[ABCDGISTW]'
7101 if test "$host_cpu" = ia64
; then
7102 symcode
='[ABCDEGRST]'
7106 symcode
='[BCDEGRST]'
7109 symcode
='[BCDEGQRST]'
7120 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7128 # If we're using GNU nm, then use its standard symbol codes.
7129 case `$NM -V 2>&1` in
7130 *GNU
* | *'with BFD'*)
7131 symcode
='[ABCDGIRSTW]' ;;
7134 # Transform an extracted symbol line into a proper C declaration.
7135 # Some systems (esp. on ia64) link data and code symbols differently,
7136 # so use this general approach.
7137 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7139 # Transform an extracted symbol line into symbol name and symbol address
7140 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7141 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'"
7143 # Handle CRLF in mingw tool chain
7147 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7151 # Try without a prefix underscore, then with it.
7152 for ac_symprfx
in "" "_"; do
7154 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7155 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7157 # Write the raw and C identifiers.
7158 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7159 # Fake it for dumpbin and say T for any non-static function
7160 # and D for any global variable.
7161 # Also find C++ and __fastcall symbols from MSVC++,
7162 # which start with @ or ?.
7163 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7164 " {last_section=section; section=\$ 3};"\
7165 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7166 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7167 " \$ 0!~/External *\|/{next};"\
7168 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7169 " {if(hide[section]) next};"\
7170 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7171 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7172 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7173 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7174 " ' prfx=^$ac_symprfx"
7176 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7178 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7180 # Check to see that the pipe works correctly.
7184 cat > conftest.
$ac_ext <<_LT_EOF
7189 void nm_test_func(void);
7190 void nm_test_func(void){}
7194 int main(){nm_test_var='a';nm_test_func();return(0);}
7197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198 (eval $ac_compile) 2>&5
7200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201 test $ac_status = 0; }; then
7202 # Now try to grab the symbols.
7204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7205 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7208 test $ac_status = 0; } && test -s "$nlist"; then
7209 # Try sorting and uniquifying the output.
7210 if sort "$nlist" | uniq > "$nlist"T
; then
7211 mv -f "$nlist"T
"$nlist"
7216 # Make sure that we snagged all the symbols we need.
7217 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7218 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7219 cat <<_LT_EOF > conftest.$ac_ext
7220 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7221 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7222 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7223 relocations are performed -- see ld's documentation on pseudo-relocs. */
7224 # define LT_DLSYM_CONST
7225 #elif defined(__osf__)
7226 /* This system does not cope well with relocations in const data. */
7227 # define LT_DLSYM_CONST
7229 # define LT_DLSYM_CONST const
7237 # Now generate the symbol file.
7238 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7240 cat <<_LT_EOF >> conftest.$ac_ext
7242 /* The mapping between symbol names and symbols. */
7243 LT_DLSYM_CONST struct {
7247 lt__PROGRAM__LTX_preloaded_symbols[] =
7249 { "@PROGRAM@", (void *) 0 },
7251 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
7252 cat <<\_LT_EOF
>> conftest.
$ac_ext
7256 /* This works around a problem
in FreeBSD linker
*/
7257 #ifdef FREEBSD_WORKAROUND
7258 static const void
*lt_preloaded_setup
() {
7259 return lt__PROGRAM__LTX_preloaded_symbols
;
7267 # Now try linking the two files.
7268 mv conftest.
$ac_objext conftstm.
$ac_objext
7269 lt_globsym_save_LIBS
=$LIBS
7270 lt_globsym_save_CFLAGS
=$CFLAGS
7271 LIBS
="conftstm.$ac_objext"
7272 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7274 (eval $ac_link) 2>&5
7276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7277 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7280 LIBS
=$lt_globsym_save_LIBS
7281 CFLAGS
=$lt_globsym_save_CFLAGS
7283 echo "cannot find nm_test_func in $nlist" >&5
7286 echo "cannot find nm_test_var in $nlist" >&5
7289 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7292 echo "$progname: failed program was:" >&5
7293 cat conftest.
$ac_ext >&5
7295 rm -rf conftest
* conftst
*
7297 # Do not use the global_symbol_pipe unless it works.
7298 if test "$pipe_works" = yes; then
7301 lt_cv_sys_global_symbol_pipe
=
7307 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7308 lt_cv_sys_global_symbol_to_cdecl
=
7310 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7312 $as_echo "failed" >&6; }
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7315 $as_echo "ok" >&6; }
7318 # Response file support.
7319 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7320 nm_file_list_spec
='@'
7321 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
7322 nm_file_list_spec
='@'
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7352 $as_echo_n "checking for sysroot... " >&6; }
7354 # Check whether --with-sysroot was given.
7355 if test "${with_sysroot+set}" = set; then :
7356 withval
=$with_sysroot;
7363 case ${with_sysroot} in #(
7365 if test "$GCC" = yes; then
7366 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7370 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7376 $as_echo "${with_sysroot}" >&6; }
7377 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7382 $as_echo "${lt_sysroot:-no}" >&6; }
7388 # Check whether --enable-libtool-lock was given.
7389 if test "${enable_libtool_lock+set}" = set; then :
7390 enableval
=$enable_libtool_lock;
7393 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7395 # Some flags need to be propagated to the compiler or linker for good
7399 # Find out which ABI we are using.
7400 echo 'int i;' > conftest.
$ac_ext
7401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7402 (eval $ac_compile) 2>&5
7404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7405 test $ac_status = 0; }; then
7406 case `/usr/bin/file conftest.$ac_objext` in
7418 # Find out which ABI we are using.
7419 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7421 (eval $ac_compile) 2>&5
7423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7424 test $ac_status = 0; }; then
7425 if test "$lt_cv_prog_gnu_ld" = yes; then
7426 case `/usr/bin/file conftest.$ac_objext` in
7428 LD
="${LD-ld} -melf32bsmip"
7431 LD
="${LD-ld} -melf32bmipn32"
7434 LD
="${LD-ld} -melf64bmip"
7438 case `/usr/bin/file conftest.$ac_objext` in
7454 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|powerpc
*-*linux
*| \
7455 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7456 # Find out which ABI we are using.
7457 echo 'int i;' > conftest.
$ac_ext
7458 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7459 (eval $ac_compile) 2>&5
7461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7462 test $ac_status = 0; }; then
7463 case `/usr/bin/file conftest.o` in
7466 x86_64
-*kfreebsd
*-gnu)
7467 LD
="${LD-ld} -m elf_i386_fbsd"
7470 case `/usr/bin/file conftest.o` in
7472 LD
="${LD-ld} -m elf32_x86_64"
7475 LD
="${LD-ld} -m elf_i386"
7480 LD
="${LD-ld} -m elf32lppclinux"
7483 LD
="${LD-ld} -m elf32ppclinux"
7486 LD
="${LD-ld} -m elf_s390"
7489 LD
="${LD-ld} -m elf32_sparc"
7495 x86_64
-*kfreebsd
*-gnu)
7496 LD
="${LD-ld} -m elf_x86_64_fbsd"
7499 LD
="${LD-ld} -m elf_x86_64"
7502 LD
="${LD-ld} -m elf64lppc"
7505 LD
="${LD-ld} -m elf64ppc"
7507 s390
*-*linux
*|s390
*-*tpf
*)
7508 LD
="${LD-ld} -m elf64_s390"
7511 LD
="${LD-ld} -m elf64_sparc"
7521 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7522 SAVE_CFLAGS
="$CFLAGS"
7523 CFLAGS
="$CFLAGS -belf"
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7525 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7526 if ${lt_cv_cc_needs_belf+:} false
; then :
7527 $as_echo_n "(cached) " >&6
7530 ac_cpp
='$CPP $CPPFLAGS'
7531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7536 /* end confdefs.h. */
7546 if ac_fn_c_try_link
"$LINENO"; then :
7547 lt_cv_cc_needs_belf
=yes
7549 lt_cv_cc_needs_belf
=no
7551 rm -f core conftest.err conftest.
$ac_objext \
7552 conftest
$ac_exeext conftest.
$ac_ext
7554 ac_cpp
='$CPP $CPPFLAGS'
7555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7561 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7562 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7563 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7564 CFLAGS
="$SAVE_CFLAGS"
7568 # Find out which ABI we are using.
7569 echo 'int i;' > conftest.
$ac_ext
7570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7571 (eval $ac_compile) 2>&5
7573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7574 test $ac_status = 0; }; then
7575 case `/usr/bin/file conftest.o` in
7577 case $lt_cv_prog_gnu_ld in
7581 LD
="${LD-ld} -m elf_x86_64"
7584 LD
="${LD-ld} -m elf64_sparc"
7587 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7588 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
7593 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7605 need_locks
="$enable_libtool_lock"
7607 if test -n "$ac_tool_prefix"; then
7608 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7609 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7613 $as_echo_n "(cached) " >&6
7615 if test -n "$MANIFEST_TOOL"; then
7616 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7622 test -z "$as_dir" && as_dir
=.
7623 for ac_exec_ext
in '' $ac_executable_extensions; do
7624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7625 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7635 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7636 if test -n "$MANIFEST_TOOL"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7638 $as_echo "$MANIFEST_TOOL" >&6; }
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7646 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7647 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7648 # Extract the first word of "mt", so it can be a program name with args.
7649 set dummy mt
; ac_word
=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7653 $as_echo_n "(cached) " >&6
7655 if test -n "$ac_ct_MANIFEST_TOOL"; then
7656 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7662 test -z "$as_dir" && as_dir
=.
7663 for ac_exec_ext
in '' $ac_executable_extensions; do
7664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7665 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7675 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7676 if test -n "$ac_ct_MANIFEST_TOOL"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7678 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7684 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7687 case $cross_compiling:$ac_tool_warned in
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7691 ac_tool_warned
=yes ;;
7693 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7696 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7699 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7701 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7702 if ${lt_cv_path_mainfest_tool+:} false
; then :
7703 $as_echo_n "(cached) " >&6
7705 lt_cv_path_mainfest_tool
=no
7706 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7707 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
7708 cat conftest.err
>&5
7709 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
7710 lt_cv_path_mainfest_tool
=yes
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7715 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7716 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
7726 rhapsody
* | darwin
*)
7727 if test -n "$ac_tool_prefix"; then
7728 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7729 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7731 $as_echo_n "checking for $ac_word... " >&6; }
7732 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7733 $as_echo_n "(cached) " >&6
7735 if test -n "$DSYMUTIL"; then
7736 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7742 test -z "$as_dir" && as_dir
=.
7743 for ac_exec_ext
in '' $ac_executable_extensions; do
7744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7745 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7756 if test -n "$DSYMUTIL"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7758 $as_echo "$DSYMUTIL" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7761 $as_echo "no" >&6; }
7766 if test -z "$ac_cv_prog_DSYMUTIL"; then
7767 ac_ct_DSYMUTIL
=$DSYMUTIL
7768 # Extract the first word of "dsymutil", so it can be a program name with args.
7769 set dummy dsymutil
; ac_word
=$2
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7771 $as_echo_n "checking for $ac_word... " >&6; }
7772 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7773 $as_echo_n "(cached) " >&6
7775 if test -n "$ac_ct_DSYMUTIL"; then
7776 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7782 test -z "$as_dir" && as_dir
=.
7783 for ac_exec_ext
in '' $ac_executable_extensions; do
7784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7785 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7795 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7796 if test -n "$ac_ct_DSYMUTIL"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7798 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801 $as_echo "no" >&6; }
7804 if test "x$ac_ct_DSYMUTIL" = x
; then
7807 case $cross_compiling:$ac_tool_warned in
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7811 ac_tool_warned
=yes ;;
7813 DSYMUTIL
=$ac_ct_DSYMUTIL
7816 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7819 if test -n "$ac_tool_prefix"; then
7820 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7821 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7823 $as_echo_n "checking for $ac_word... " >&6; }
7824 if ${ac_cv_prog_NMEDIT+:} false
; then :
7825 $as_echo_n "(cached) " >&6
7827 if test -n "$NMEDIT"; then
7828 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir
=.
7835 for ac_exec_ext
in '' $ac_executable_extensions; do
7836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7847 NMEDIT
=$ac_cv_prog_NMEDIT
7848 if test -n "$NMEDIT"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7850 $as_echo "$NMEDIT" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 $as_echo "no" >&6; }
7858 if test -z "$ac_cv_prog_NMEDIT"; then
7859 ac_ct_NMEDIT
=$NMEDIT
7860 # Extract the first word of "nmedit", so it can be a program name with args.
7861 set dummy nmedit
; ac_word
=$2
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7863 $as_echo_n "checking for $ac_word... " >&6; }
7864 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7865 $as_echo_n "(cached) " >&6
7867 if test -n "$ac_ct_NMEDIT"; then
7868 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir
=.
7875 for ac_exec_ext
in '' $ac_executable_extensions; do
7876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7877 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7887 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7888 if test -n "$ac_ct_NMEDIT"; then
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7890 $as_echo "$ac_ct_NMEDIT" >&6; }
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7893 $as_echo "no" >&6; }
7896 if test "x$ac_ct_NMEDIT" = x
; then
7899 case $cross_compiling:$ac_tool_warned in
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7903 ac_tool_warned
=yes ;;
7905 NMEDIT
=$ac_ct_NMEDIT
7908 NMEDIT
="$ac_cv_prog_NMEDIT"
7911 if test -n "$ac_tool_prefix"; then
7912 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7913 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_LIPO+:} false
; then :
7917 $as_echo_n "(cached) " >&6
7919 if test -n "$LIPO"; then
7920 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir
=.
7927 for ac_exec_ext
in '' $ac_executable_extensions; do
7928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 LIPO
=$ac_cv_prog_LIPO
7940 if test -n "$LIPO"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7942 $as_echo "$LIPO" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7950 if test -z "$ac_cv_prog_LIPO"; then
7952 # Extract the first word of "lipo", so it can be a program name with args.
7953 set dummy lipo
; ac_word
=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7957 $as_echo_n "(cached) " >&6
7959 if test -n "$ac_ct_LIPO"; then
7960 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7966 test -z "$as_dir" && as_dir
=.
7967 for ac_exec_ext
in '' $ac_executable_extensions; do
7968 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7969 ac_cv_prog_ac_ct_LIPO
="lipo"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7980 if test -n "$ac_ct_LIPO"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7982 $as_echo "$ac_ct_LIPO" >&6; }
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
7988 if test "x$ac_ct_LIPO" = x
; then
7991 case $cross_compiling:$ac_tool_warned in
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7995 ac_tool_warned
=yes ;;
8000 LIPO
="$ac_cv_prog_LIPO"
8003 if test -n "$ac_tool_prefix"; then
8004 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8005 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8007 $as_echo_n "checking for $ac_word... " >&6; }
8008 if ${ac_cv_prog_OTOOL+:} false
; then :
8009 $as_echo_n "(cached) " >&6
8011 if test -n "$OTOOL"; then
8012 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir
=.
8019 for ac_exec_ext
in '' $ac_executable_extensions; do
8020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8021 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 OTOOL
=$ac_cv_prog_OTOOL
8032 if test -n "$OTOOL"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8034 $as_echo "$OTOOL" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8042 if test -z "$ac_cv_prog_OTOOL"; then
8044 # Extract the first word of "otool", so it can be a program name with args.
8045 set dummy otool
; ac_word
=$2
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8047 $as_echo_n "checking for $ac_word... " >&6; }
8048 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8049 $as_echo_n "(cached) " >&6
8051 if test -n "$ac_ct_OTOOL"; then
8052 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8058 test -z "$as_dir" && as_dir
=.
8059 for ac_exec_ext
in '' $ac_executable_extensions; do
8060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8061 ac_cv_prog_ac_ct_OTOOL
="otool"
8062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8072 if test -n "$ac_ct_OTOOL"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8074 $as_echo "$ac_ct_OTOOL" >&6; }
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8080 if test "x$ac_ct_OTOOL" = x
; then
8083 case $cross_compiling:$ac_tool_warned in
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8087 ac_tool_warned
=yes ;;
8092 OTOOL
="$ac_cv_prog_OTOOL"
8095 if test -n "$ac_tool_prefix"; then
8096 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8097 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8099 $as_echo_n "checking for $ac_word... " >&6; }
8100 if ${ac_cv_prog_OTOOL64+:} false
; then :
8101 $as_echo_n "(cached) " >&6
8103 if test -n "$OTOOL64"; then
8104 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8110 test -z "$as_dir" && as_dir
=.
8111 for ac_exec_ext
in '' $ac_executable_extensions; do
8112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8113 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 OTOOL64
=$ac_cv_prog_OTOOL64
8124 if test -n "$OTOOL64"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8126 $as_echo "$OTOOL64" >&6; }
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8134 if test -z "$ac_cv_prog_OTOOL64"; then
8135 ac_ct_OTOOL64
=$OTOOL64
8136 # Extract the first word of "otool64", so it can be a program name with args.
8137 set dummy otool64
; ac_word
=$2
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8139 $as_echo_n "checking for $ac_word... " >&6; }
8140 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8141 $as_echo_n "(cached) " >&6
8143 if test -n "$ac_ct_OTOOL64"; then
8144 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8150 test -z "$as_dir" && as_dir
=.
8151 for ac_exec_ext
in '' $ac_executable_extensions; do
8152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8153 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8164 if test -n "$ac_ct_OTOOL64"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8166 $as_echo "$ac_ct_OTOOL64" >&6; }
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8172 if test "x$ac_ct_OTOOL64" = x
; then
8175 case $cross_compiling:$ac_tool_warned in
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8179 ac_tool_warned
=yes ;;
8181 OTOOL64
=$ac_ct_OTOOL64
8184 OTOOL64
="$ac_cv_prog_OTOOL64"
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8214 $as_echo_n "checking for -single_module linker flag... " >&6; }
8215 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8216 $as_echo_n "(cached) " >&6
8218 lt_cv_apple_cc_single_mod
=no
8219 if test -z "${LT_MULTI_MODULE}"; then
8220 # By default we will add the -single_module flag. You can override
8221 # by either setting the environment variable LT_MULTI_MODULE
8222 # non-empty at configure time, or by adding -multi_module to the
8224 rm -rf libconftest.dylib
*
8225 echo "int foo(void){return 1;}" > conftest.c
8226 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8227 -dynamiclib -Wl,-single_module conftest.c" >&5
8228 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8229 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8231 # If there is a non-empty error log, and "single_module"
8232 # appears in it, assume the flag caused a linker warning
8233 if test -s conftest.err
&& $GREP single_module conftest.err
; then
8234 cat conftest.err
>&5
8235 # Otherwise, if the output was created with a 0 exit code from
8236 # the compiler, it worked.
8237 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
8238 lt_cv_apple_cc_single_mod
=yes
8240 cat conftest.err
>&5
8242 rm -rf libconftest.dylib
*
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8247 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8250 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8251 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8252 $as_echo_n "(cached) " >&6
8254 lt_cv_ld_exported_symbols_list
=no
8255 save_LDFLAGS
=$LDFLAGS
8256 echo "_main" > conftest.sym
8257 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8269 if ac_fn_c_try_link
"$LINENO"; then :
8270 lt_cv_ld_exported_symbols_list
=yes
8272 lt_cv_ld_exported_symbols_list
=no
8274 rm -f core conftest.err conftest.
$ac_objext \
8275 conftest
$ac_exeext conftest.
$ac_ext
8276 LDFLAGS
="$save_LDFLAGS"
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8280 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8283 $as_echo_n "checking for -force_load linker flag... " >&6; }
8284 if ${lt_cv_ld_force_load+:} false
; then :
8285 $as_echo_n "(cached) " >&6
8287 lt_cv_ld_force_load
=no
8288 cat > conftest.c
<< _LT_EOF
8289 int forced_loaded() { return 2;}
8291 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8292 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8293 echo "$AR cru libconftest.a conftest.o" >&5
8294 $AR cru libconftest.a conftest.o
2>&5
8295 echo "$RANLIB libconftest.a" >&5
8296 $RANLIB libconftest.a
2>&5
8297 cat > conftest.c
<< _LT_EOF
8298 int main() { return 0;}
8300 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8301 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8303 if test -s conftest.err
&& $GREP force_load conftest.err
; then
8304 cat conftest.err
>&5
8305 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
8306 lt_cv_ld_force_load
=yes
8308 cat conftest.err
>&5
8310 rm -f conftest.err libconftest.a conftest conftest.c
8311 rm -rf conftest.dSYM
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8315 $as_echo "$lt_cv_ld_force_load" >&6; }
8317 rhapsody
* | darwin1.
[012])
8318 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8320 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8321 darwin
*) # darwin 5.x on
8322 # if running on 10.5 or later, the deployment target defaults
8323 # to the OS version, if on x86, and 10.4, the deployment
8324 # target defaults to 10.4. Don't you love it?
8325 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8326 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8327 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8329 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8331 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8335 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8336 _lt_dar_single_mod
='$single_module'
8338 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8339 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8341 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8343 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8344 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8351 for ac_header
in dlfcn.h
8353 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8355 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8356 cat >>confdefs.h
<<_ACEOF
8357 #define HAVE_DLFCN_H 1
8370 # Check whether --enable-static was given.
8371 if test "${enable_static+set}" = set; then :
8372 enableval
=$enable_static; p
=${PACKAGE-default}
8374 yes) enable_static
=yes ;;
8375 no
) enable_static
=no
;;
8378 # Look at the argument we got. We use all the common list separators.
8379 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8380 for pkg
in $enableval; do
8382 if test "X$pkg" = "X$p"; then
8406 # Check whether --enable-shared was given.
8407 if test "${enable_shared+set}" = set; then :
8408 enableval
=$enable_shared; p
=${PACKAGE-default}
8410 yes) enable_shared
=yes ;;
8411 no
) enable_shared
=no
;;
8414 # Look at the argument we got. We use all the common list separators.
8415 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8416 for pkg
in $enableval; do
8418 if test "X$pkg" = "X$p"; then
8439 # Check whether --with-pic was given.
8440 if test "${with_pic+set}" = set; then :
8441 withval
=$with_pic; lt_p
=${PACKAGE-default}
8443 yes|no
) pic_mode
=$withval ;;
8446 # Look at the argument we got. We use all the common list separators.
8447 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8448 for lt_pkg
in $withval; do
8450 if test "X$lt_pkg" = "X$lt_p"; then
8462 test -z "$pic_mode" && pic_mode
=default
8470 # Check whether --enable-fast-install was given.
8471 if test "${enable_fast_install+set}" = set; then :
8472 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8474 yes) enable_fast_install
=yes ;;
8475 no
) enable_fast_install
=no
;;
8477 enable_fast_install
=no
8478 # Look at the argument we got. We use all the common list separators.
8479 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8480 for pkg
in $enableval; do
8482 if test "X$pkg" = "X$p"; then
8483 enable_fast_install
=yes
8490 enable_fast_install
=yes
8503 # This can be used to rebuild libtool when needed
8504 LIBTOOL_DEPS
="$ltmain"
8506 # Always use our own libtool.
8507 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8538 test -z "$LN_S" && LN_S
="ln -s"
8553 if test -n "${ZSH_VERSION+set}" ; then
8554 setopt NO_GLOB_SUBST
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8558 $as_echo_n "checking for objdir... " >&6; }
8559 if ${lt_cv_objdir+:} false
; then :
8560 $as_echo_n "(cached) " >&6
8562 rm -f .libs
2>/dev
/null
8563 mkdir .libs
2>/dev
/null
8564 if test -d .libs
; then
8567 # MS-DOS does not allow filenames that begin with a dot.
8570 rmdir .libs
2>/dev
/null
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8573 $as_echo "$lt_cv_objdir" >&6; }
8574 objdir
=$lt_cv_objdir
8580 cat >>confdefs.h
<<_ACEOF
8581 #define LT_OBJDIR "$lt_cv_objdir/"
8589 # AIX sometimes has problems with the GCC collect2 program. For some
8590 # reason, if we set the COLLECT_NAMES environment variable, the problems
8591 # vanish in a puff of smoke.
8592 if test "X${COLLECT_NAMES+set}" != Xset
; then
8594 export COLLECT_NAMES
8601 can_build_shared
=yes
8603 # All known linkers require a `.a' archive for static linking (except MSVC,
8604 # which needs '.lib').
8607 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8610 old_CFLAGS
="$CFLAGS"
8612 # Set sane defaults for various variables
8613 test -z "$CC" && CC
=cc
8614 test -z "$LTCC" && LTCC
=$CC
8615 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8616 test -z "$LD" && LD
=ld
8617 test -z "$ac_objext" && ac_objext
=o
8619 for cc_temp
in $compiler""; do
8621 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8622 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8627 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8630 # Only perform the check for file, if the check method requires it
8631 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8632 case $deplibs_check_method in
8634 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8636 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8637 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8638 $as_echo_n "(cached) " >&6
8642 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8645 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8646 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8647 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8648 for ac_dir
in $ac_dummy; do
8650 test -z "$ac_dir" && ac_dir
=.
8651 if test -f $ac_dir/${ac_tool_prefix}file; then
8652 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8653 if test -n "$file_magic_test_file"; then
8654 case $deplibs_check_method in
8656 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8657 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8658 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8659 $EGREP "$file_magic_regex" > /dev
/null
; then
8664 *** Warning: the command libtool uses to detect shared libraries,
8665 *** $file_magic_cmd, produces output that libtool cannot recognize.
8666 *** The result is that libtool may fail to recognize shared libraries
8667 *** as such. This will affect the creation of libtool libraries that
8668 *** depend on shared libraries, but programs linked with such libtool
8669 *** libraries will work regardless of this problem. Nevertheless, you
8670 *** may want to report the problem to your system manager and/or to
8671 *** bug-libtool@gnu.org
8681 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8686 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8687 if test -n "$MAGIC_CMD"; then
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8689 $as_echo "$MAGIC_CMD" >&6; }
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8692 $as_echo "no" >&6; }
8699 if test -z "$lt_cv_path_MAGIC_CMD"; then
8700 if test -n "$ac_tool_prefix"; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8702 $as_echo_n "checking for file... " >&6; }
8703 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8704 $as_echo_n "(cached) " >&6
8708 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8711 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8712 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8713 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8714 for ac_dir
in $ac_dummy; do
8716 test -z "$ac_dir" && ac_dir
=.
8717 if test -f $ac_dir/file; then
8718 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8719 if test -n "$file_magic_test_file"; then
8720 case $deplibs_check_method in
8722 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8723 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8724 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8725 $EGREP "$file_magic_regex" > /dev
/null
; then
8730 *** Warning: the command libtool uses to detect shared libraries,
8731 *** $file_magic_cmd, produces output that libtool cannot recognize.
8732 *** The result is that libtool may fail to recognize shared libraries
8733 *** as such. This will affect the creation of libtool libraries that
8734 *** depend on shared libraries, but programs linked with such libtool
8735 *** libraries will work regardless of this problem. Nevertheless, you
8736 *** may want to report the problem to your system manager and/or to
8737 *** bug-libtool@gnu.org
8747 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8752 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8753 if test -n "$MAGIC_CMD"; then
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8755 $as_echo "$MAGIC_CMD" >&6; }
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8758 $as_echo "no" >&6; }
8771 # Use C for the default configuration in the libtool script
8775 ac_cpp
='$CPP $CPPFLAGS'
8776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8781 # Source file extension for C test sources.
8784 # Object file extension for compiled C test sources.
8788 # Code to be used in simple compile tests
8789 lt_simple_compile_test_code
="int some_variable = 0;"
8791 # Code to be used in simple link tests
8792 lt_simple_link_test_code
='int main(){return(0);}'
8800 # If no C compiler was specified, use CC.
8803 # If no C compiler flags were specified, use CFLAGS.
8804 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8806 # Allow CC to be a program name with arguments.
8809 # Save the default compiler, since it gets overwritten when the other
8810 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8811 compiler_DEFAULT
=$CC
8813 # save warnings/boilerplate of simple test code
8814 ac_outfile
=conftest.
$ac_objext
8815 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8816 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8817 _lt_compiler_boilerplate
=`cat conftest.err`
8820 ac_outfile
=conftest.
$ac_objext
8821 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8822 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8823 _lt_linker_boilerplate
=`cat conftest.err`
8828 ## There is no encapsulation within the following macros, do not change
8829 ## the running order or otherwise move them around unless you know exactly
8830 ## what you are doing...
8831 if test -n "$compiler"; then
8833 lt_prog_compiler_no_builtin_flag
=
8835 if test "$GCC" = yes; then
8836 case $cc_basename in
8838 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8840 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8844 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8845 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8846 $as_echo_n "(cached) " >&6
8848 lt_cv_prog_compiler_rtti_exceptions
=no
8849 ac_outfile
=conftest.
$ac_objext
8850 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8851 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8852 # Insert the option either (1) after the last *FLAGS variable, or
8853 # (2) before a word containing "conftest.", or (3) at the end.
8854 # Note that $ac_compile itself does not contain backslashes and begins
8855 # with a dollar sign (not a hyphen), so the echo should work correctly.
8856 # The option is referenced via a variable to avoid confusing sed.
8857 lt_compile
=`echo "$ac_compile" | $SED \
8858 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8860 -e 's:$: $lt_compiler_flag:'`
8861 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8862 (eval "$lt_compile" 2>conftest.err
)
8864 cat conftest.err
>&5
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 if (exit $ac_status) && test -s "$ac_outfile"; then
8867 # The compiler can only warn and ignore the option if not recognized
8868 # So say no if there are warnings other than the usual output.
8869 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8870 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8871 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8872 lt_cv_prog_compiler_rtti_exceptions
=yes
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8879 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8881 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8882 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8894 lt_prog_compiler_wl
=
8895 lt_prog_compiler_pic
=
8896 lt_prog_compiler_static
=
8899 if test "$GCC" = yes; then
8900 lt_prog_compiler_wl
='-Wl,'
8901 lt_prog_compiler_static
='-static'
8905 # All AIX code is PIC.
8906 if test "$host_cpu" = ia64
; then
8907 # AIX 5 now supports IA64 processor
8908 lt_prog_compiler_static
='-Bstatic'
8915 # see comment about AmigaOS4 .so support
8916 lt_prog_compiler_pic
='-fPIC'
8919 # FIXME: we need at least 68020 code to build shared libraries, but
8920 # adding the `-m68020' flag to GCC prevents building anything better,
8922 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8927 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8928 # PIC is the default for these OSes.
8931 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8932 # This hack is so that the source file can tell whether it is being
8933 # built for inclusion in a dll (and should export symbols for example).
8934 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8935 # (--disable-auto-import) libraries
8936 lt_prog_compiler_pic
='-DDLL_EXPORT'
8939 darwin
* | rhapsody
*)
8940 # PIC is the default on this platform
8941 # Common symbols not allowed in MH_DYLIB files
8942 lt_prog_compiler_pic
='-fno-common'
8946 # PIC is the default for Haiku.
8947 # The "-static" flag exists, but is broken.
8948 lt_prog_compiler_static
=
8952 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8953 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8954 # sets the default TLS model and affects inlining.
8960 lt_prog_compiler_pic
='-fPIC'
8966 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8967 # Instead, we relocate shared libraries at runtime.
8971 # Just because we use GCC doesn't mean we suddenly get shared libraries
8972 # on systems that don't support them.
8973 lt_prog_compiler_can_build_shared
=no
8978 # QNX uses GNU C++, but need to define -shared option too, otherwise
8980 lt_prog_compiler_pic
='-fPIC -shared'
8984 if test -d /usr
/nec
; then
8985 lt_prog_compiler_pic
=-Kconform_pic
8990 lt_prog_compiler_pic
='-fPIC'
8994 case $cc_basename in
8995 nvcc
*) # Cuda Compiler Driver 2.2
8996 lt_prog_compiler_wl
='-Xlinker '
8997 if test -n "$lt_prog_compiler_pic"; then
8998 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9003 # PORTME Check for flag to pass linker flags through the system compiler.
9006 lt_prog_compiler_wl
='-Wl,'
9007 if test "$host_cpu" = ia64
; then
9008 # AIX 5 now supports IA64 processor
9009 lt_prog_compiler_static
='-Bstatic'
9011 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9015 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9016 # This hack is so that the source file can tell whether it is being
9017 # built for inclusion in a dll (and should export symbols for example).
9018 lt_prog_compiler_pic
='-DDLL_EXPORT'
9021 hpux9
* | hpux10
* | hpux11
*)
9022 lt_prog_compiler_wl
='-Wl,'
9023 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9030 lt_prog_compiler_pic
='+Z'
9033 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9034 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9037 irix5
* | irix6
* | nonstopux
*)
9038 lt_prog_compiler_wl
='-Wl,'
9039 # PIC (with -KPIC) is the default.
9040 lt_prog_compiler_static
='-non_shared'
9043 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9044 case $cc_basename in
9045 # old Intel for x86_64 which still supported -KPIC.
9047 lt_prog_compiler_wl
='-Wl,'
9048 lt_prog_compiler_pic
='-KPIC'
9049 lt_prog_compiler_static
='-static'
9051 # icc used to be incompatible with GCC.
9052 # ICC 10 doesn't accept -KPIC any more.
9054 lt_prog_compiler_wl
='-Wl,'
9055 lt_prog_compiler_pic
='-fPIC'
9056 lt_prog_compiler_static
='-static'
9058 # Lahey Fortran 8.1.
9060 lt_prog_compiler_wl
='-Wl,'
9061 lt_prog_compiler_pic
='--shared'
9062 lt_prog_compiler_static
='--static'
9065 # NAG Fortran compiler
9066 lt_prog_compiler_wl
='-Wl,-Wl,,'
9067 lt_prog_compiler_pic
='-PIC'
9068 lt_prog_compiler_static
='-Bstatic'
9070 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9071 # Portland Group compilers (*not* the Pentium gcc compiler,
9072 # which looks to be a dead project)
9073 lt_prog_compiler_wl
='-Wl,'
9074 lt_prog_compiler_pic
='-fpic'
9075 lt_prog_compiler_static
='-Bstatic'
9078 lt_prog_compiler_wl
='-Wl,'
9079 # All Alpha code is PIC.
9080 lt_prog_compiler_static
='-non_shared'
9082 xl
* | bgxl
* | bgf
* | mpixl
*)
9083 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9084 lt_prog_compiler_wl
='-Wl,'
9085 lt_prog_compiler_pic
='-qpic'
9086 lt_prog_compiler_static
='-qstaticlink'
9089 case `$CC -V 2>&1 | sed 5q` in
9090 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9091 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9092 lt_prog_compiler_pic
='-KPIC'
9093 lt_prog_compiler_static
='-Bstatic'
9094 lt_prog_compiler_wl
=''
9096 *Sun\ F
* | *Sun
*Fortran
*)
9097 lt_prog_compiler_pic
='-KPIC'
9098 lt_prog_compiler_static
='-Bstatic'
9099 lt_prog_compiler_wl
='-Qoption ld '
9103 lt_prog_compiler_pic
='-KPIC'
9104 lt_prog_compiler_static
='-Bstatic'
9105 lt_prog_compiler_wl
='-Wl,'
9107 *Intel
*\
[CF
]*Compiler
*)
9108 lt_prog_compiler_wl
='-Wl,'
9109 lt_prog_compiler_pic
='-fPIC'
9110 lt_prog_compiler_static
='-static'
9113 lt_prog_compiler_wl
='-Wl,'
9114 lt_prog_compiler_pic
='-fpic'
9115 lt_prog_compiler_static
='-Bstatic'
9123 lt_prog_compiler_pic
='-KPIC'
9124 lt_prog_compiler_static
='-Bstatic'
9128 # QNX uses GNU C++, but need to define -shared option too, otherwise
9130 lt_prog_compiler_pic
='-fPIC -shared'
9133 osf3
* | osf4
* | osf5
*)
9134 lt_prog_compiler_wl
='-Wl,'
9135 # All OSF/1 code is PIC.
9136 lt_prog_compiler_static
='-non_shared'
9140 lt_prog_compiler_static
='-non_shared'
9144 lt_prog_compiler_pic
='-KPIC'
9145 lt_prog_compiler_static
='-Bstatic'
9146 case $cc_basename in
9147 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9148 lt_prog_compiler_wl
='-Qoption ld ';;
9150 lt_prog_compiler_wl
='-Wl,';;
9155 lt_prog_compiler_wl
='-Qoption ld '
9156 lt_prog_compiler_pic
='-PIC'
9157 lt_prog_compiler_static
='-Bstatic'
9160 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9161 lt_prog_compiler_wl
='-Wl,'
9162 lt_prog_compiler_pic
='-KPIC'
9163 lt_prog_compiler_static
='-Bstatic'
9167 if test -d /usr
/nec
;then
9168 lt_prog_compiler_pic
='-Kconform_pic'
9169 lt_prog_compiler_static
='-Bstatic'
9173 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9174 lt_prog_compiler_wl
='-Wl,'
9175 lt_prog_compiler_pic
='-KPIC'
9176 lt_prog_compiler_static
='-Bstatic'
9180 lt_prog_compiler_wl
='-Wl,'
9181 lt_prog_compiler_can_build_shared
=no
9185 lt_prog_compiler_pic
='-pic'
9186 lt_prog_compiler_static
='-Bstatic'
9190 lt_prog_compiler_can_build_shared
=no
9196 # For platforms which do not support PIC, -DPIC is meaningless:
9198 lt_prog_compiler_pic
=
9201 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9206 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9207 if ${lt_cv_prog_compiler_pic+:} false
; then :
9208 $as_echo_n "(cached) " >&6
9210 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9213 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9214 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9217 # Check to make sure the PIC flag actually works.
9219 if test -n "$lt_prog_compiler_pic"; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9221 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9222 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9223 $as_echo_n "(cached) " >&6
9225 lt_cv_prog_compiler_pic_works
=no
9226 ac_outfile
=conftest.
$ac_objext
9227 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9228 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9229 # Insert the option either (1) after the last *FLAGS variable, or
9230 # (2) before a word containing "conftest.", or (3) at the end.
9231 # Note that $ac_compile itself does not contain backslashes and begins
9232 # with a dollar sign (not a hyphen), so the echo should work correctly.
9233 # The option is referenced via a variable to avoid confusing sed.
9234 lt_compile
=`echo "$ac_compile" | $SED \
9235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9237 -e 's:$: $lt_compiler_flag:'`
9238 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9239 (eval "$lt_compile" 2>conftest.err
)
9241 cat conftest.err
>&5
9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 if (exit $ac_status) && test -s "$ac_outfile"; then
9244 # The compiler can only warn and ignore the option if not recognized
9245 # So say no if there are warnings other than the usual output.
9246 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9247 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9248 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9249 lt_cv_prog_compiler_pic_works
=yes
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9256 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9258 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9259 case $lt_prog_compiler_pic in
9261 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9264 lt_prog_compiler_pic
=
9265 lt_prog_compiler_can_build_shared
=no
9281 # Check to make sure the static flag actually works.
9283 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9285 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9286 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9287 $as_echo_n "(cached) " >&6
9289 lt_cv_prog_compiler_static_works
=no
9290 save_LDFLAGS
="$LDFLAGS"
9291 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9292 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9293 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9294 # The linker can only warn and ignore the option if not recognized
9295 # So say no if there are warnings
9296 if test -s conftest.err
; then
9297 # Append any errors to the config.log.
9298 cat conftest.err
1>&5
9299 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9300 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9301 if diff conftest.exp conftest.er2
>/dev
/null
; then
9302 lt_cv_prog_compiler_static_works
=yes
9305 lt_cv_prog_compiler_static_works
=yes
9309 LDFLAGS
="$save_LDFLAGS"
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9313 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9315 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9318 lt_prog_compiler_static
=
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9328 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9329 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9330 $as_echo_n "(cached) " >&6
9332 lt_cv_prog_compiler_c_o
=no
9333 $RM -r conftest
2>/dev
/null
9337 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9339 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9340 # Insert the option either (1) after the last *FLAGS variable, or
9341 # (2) before a word containing "conftest.", or (3) at the end.
9342 # Note that $ac_compile itself does not contain backslashes and begins
9343 # with a dollar sign (not a hyphen), so the echo should work correctly.
9344 lt_compile
=`echo "$ac_compile" | $SED \
9345 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9346 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9347 -e 's:$: $lt_compiler_flag:'`
9348 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9349 (eval "$lt_compile" 2>out
/conftest.err
)
9351 cat out
/conftest.err
>&5
9352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9355 # The compiler can only warn and ignore the option if not recognized
9356 # So say no if there are warnings
9357 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9358 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9359 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9360 lt_cv_prog_compiler_c_o
=yes
9365 # SGI C++ compiler will create directory out/ii_files/ for
9366 # template instantiation
9367 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9368 $RM out
/* && rmdir out
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9375 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9383 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9384 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9385 $as_echo_n "(cached) " >&6
9387 lt_cv_prog_compiler_c_o
=no
9388 $RM -r conftest
2>/dev
/null
9392 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9394 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9395 # Insert the option either (1) after the last *FLAGS variable, or
9396 # (2) before a word containing "conftest.", or (3) at the end.
9397 # Note that $ac_compile itself does not contain backslashes and begins
9398 # with a dollar sign (not a hyphen), so the echo should work correctly.
9399 lt_compile
=`echo "$ac_compile" | $SED \
9400 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9401 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9402 -e 's:$: $lt_compiler_flag:'`
9403 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9404 (eval "$lt_compile" 2>out
/conftest.err
)
9406 cat out
/conftest.err
>&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9410 # The compiler can only warn and ignore the option if not recognized
9411 # So say no if there are warnings
9412 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9413 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9414 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9415 lt_cv_prog_compiler_c_o
=yes
9420 # SGI C++ compiler will create directory out/ii_files/ for
9421 # template instantiation
9422 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9423 $RM out
/* && rmdir out
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9430 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9435 hard_links
="nottested"
9436 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9437 # do not overwrite the value of need_locks provided by the user
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9439 $as_echo_n "checking if we can lock with hard links... " >&6; }
9442 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9444 ln conftest.a conftest.b
2>&5 || hard_links
=no
9445 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9447 $as_echo "$hard_links" >&6; }
9448 if test "$hard_links" = no
; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9450 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9463 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9466 allow_undefined_flag
=
9467 always_export_symbols
=no
9469 archive_expsym_cmds
=
9470 compiler_needs_object
=no
9471 enable_shared_with_static_runtimes
=no
9472 export_dynamic_flag_spec
=
9473 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9474 hardcode_automatic
=no
9476 hardcode_direct_absolute
=no
9477 hardcode_libdir_flag_spec
=
9478 hardcode_libdir_separator
=
9480 hardcode_shlibpath_var
=unsupported
9482 link_all_deplibs
=unknown
9485 old_archive_from_new_cmds
=
9486 old_archive_from_expsyms_cmds
=
9487 thread_safe_flag_spec
=
9488 whole_archive_flag_spec
=
9489 # include_expsyms should be a list of space-separated symbols to be *always*
9490 # included in the symbol list
9492 # exclude_expsyms can be an extended regexp of symbols to exclude
9493 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9494 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9495 # as well as any symbol that contains `d'.
9496 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9497 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9498 # platforms (ab)use it in PIC code, but their linkers get confused if
9499 # the symbol is explicitly referenced. Since portable code cannot
9500 # rely on this symbol name, it's probably fine to never include it in
9501 # preloaded symbol tables.
9502 # Exclude shared library initialization/finalization symbols.
9503 extract_expsyms_cmds
=
9506 cygwin
* | mingw
* | pw32
* | cegcc
*)
9507 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9508 # When not using gcc, we currently assume that we are using
9509 # Microsoft Visual C++.
9510 if test "$GCC" != yes; then
9515 # we just hope/assume this is gcc and not c89 (= MSVC++)
9521 linux
* | k
*bsd
*-gnu | gnu
*)
9528 # On some targets, GNU ld is compatible enough with the native linker
9529 # that we're better off using the native interface for both.
9530 lt_use_gnu_ld_interface
=no
9531 if test "$with_gnu_ld" = yes; then
9534 # The AIX port of GNU ld has always aspired to compatibility
9535 # with the native linker. However, as the warning in the GNU ld
9536 # block says, versions before 2.19.5* couldn't really create working
9537 # shared libraries, regardless of the interface used.
9538 case `$LD -v 2>&1` in
9539 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9540 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9541 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9543 lt_use_gnu_ld_interface
=yes
9548 lt_use_gnu_ld_interface
=yes
9553 if test "$lt_use_gnu_ld_interface" = yes; then
9554 # If archive_cmds runs LD, not CC, wlarc should be empty
9557 # Set some defaults for GNU ld with shared library support. These
9558 # are reset later if shared libraries are not supported. Putting them
9559 # here allows them to be overridden if necessary.
9560 runpath_var
=LD_RUN_PATH
9561 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9562 export_dynamic_flag_spec
='${wl}--export-dynamic'
9563 # ancient GNU ld didn't support --whole-archive et. al.
9564 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9565 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9567 whole_archive_flag_spec
=
9569 supports_anon_versioning
=no
9570 case `$LD -v 2>&1` in
9571 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9572 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9573 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9574 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9575 *\
2.11.
*) ;; # other 2.11 versions
9576 *) supports_anon_versioning
=yes ;;
9579 # See if GNU ld supports shared libraries.
9582 # On AIX/PPC, the GNU linker is very broken
9583 if test "$host_cpu" != ia64
; then
9587 *** Warning: the GNU linker, at least up to release 2.19, is reported
9588 *** to be unable to reliably create shared libraries on AIX.
9589 *** Therefore, libtool is disabling shared libraries support. If you
9590 *** really care for shared libraries, you may want to install binutils
9591 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9592 *** You will then need to restart the configuration process.
9601 # see comment about AmigaOS4 .so support
9602 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9603 archive_expsym_cmds
=''
9606 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)'
9607 hardcode_libdir_flag_spec
='-L$libdir'
9608 hardcode_minus_L
=yes
9614 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9615 allow_undefined_flag
=unsupported
9616 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9617 # support --undefined. This deserves some investigation. FIXME
9618 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9624 cygwin
* | mingw
* | pw32
* | cegcc
*)
9625 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9626 # as there is no search path for DLLs.
9627 hardcode_libdir_flag_spec
='-L$libdir'
9628 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9629 allow_undefined_flag
=unsupported
9630 always_export_symbols
=no
9631 enable_shared_with_static_runtimes
=yes
9632 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'
9633 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9635 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9636 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9637 # If the export-symbols file already is a .def file (1st line
9638 # is EXPORTS), use it as is; otherwise, prepend...
9639 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9640 cp $export_symbols $output_objdir/$soname.def;
9642 echo EXPORTS > $output_objdir/$soname.def;
9643 cat $export_symbols >> $output_objdir/$soname.def;
9645 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9652 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9653 link_all_deplibs
=yes
9658 hardcode_shlibpath_var
=no
9659 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9660 export_dynamic_flag_spec
='${wl}-E'
9661 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9662 # Instead, shared libraries are loaded at an image base (0x10000000 by
9663 # default) and relocated if they conflict, which is a slow very memory
9664 # consuming and fragmenting process. To avoid this, we pick a random,
9665 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9666 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9667 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9668 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'
9671 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9673 if test "$host_os" = linux
-dietlibc; then
9674 case $cc_basename in
9675 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9678 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9679 && test "$tmp_diet" = no
9681 tmp_addflag
=' $pic_flag'
9682 tmp_sharedflag
='-shared'
9683 case $cc_basename,$host_cpu in
9684 pgcc
*) # Portland Group C compiler
9685 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'
9686 tmp_addflag
=' $pic_flag'
9688 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9689 # Portland Group f77 and f90 compilers
9690 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'
9691 tmp_addflag
=' $pic_flag -Mnomain' ;;
9692 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9693 tmp_addflag
=' -i_dynamic' ;;
9694 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9695 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9696 ifc
* | ifort
*) # Intel Fortran compiler
9697 tmp_addflag
=' -nofor_main' ;;
9698 lf95
*) # Lahey Fortran 8.1
9699 whole_archive_flag_spec
=
9700 tmp_sharedflag
='--shared' ;;
9701 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9702 tmp_sharedflag
='-qmkshrobj'
9704 nvcc
*) # Cuda Compiler Driver 2.2
9705 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'
9706 compiler_needs_object
=yes
9709 case `$CC -V 2>&1 | sed 5q` in
9710 *Sun\ C
*) # Sun C 5.9
9711 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'
9712 compiler_needs_object
=yes
9713 tmp_sharedflag
='-G' ;;
9714 *Sun\ F
*) # Sun Fortran 8.3
9715 tmp_sharedflag
='-G' ;;
9717 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9719 if test "x$supports_anon_versioning" = xyes
; then
9720 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9721 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9722 echo "local: *; };" >> $output_objdir/$libname.ver~
9723 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9726 case $cc_basename in
9727 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9728 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9729 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9730 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9731 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9732 if test "x$supports_anon_versioning" = xyes
; then
9733 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9734 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9735 echo "local: *; };" >> $output_objdir/$libname.ver~
9736 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9745 netbsd
* | netbsdelf
*-gnu)
9746 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9747 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9750 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9751 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9756 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9760 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9761 *** create shared libraries on Solaris systems. Therefore, libtool
9762 *** is disabling shared libraries support. We urge you to upgrade GNU
9763 *** binutils to release 2.9.1 or newer. Another option is to modify
9764 *** your PATH or compiler configuration so that the native linker is
9765 *** used, and then restart.
9768 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9769 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9770 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9776 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9777 case `$LD -v 2>&1` in
9778 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9782 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9783 *** reliably create shared libraries on SCO systems. Therefore, libtool
9784 *** is disabling shared libraries support. We urge you to upgrade GNU
9785 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9786 *** your PATH or compiler configuration so that the native linker is
9787 *** used, and then restart.
9792 # For security reasons, it is highly recommended that you always
9793 # use absolute paths for naming shared libraries, and exclude the
9794 # DT_RUNPATH tag from executables and libraries. But doing so
9795 # requires that you compile everything twice, which is a pain.
9796 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9797 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9798 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9799 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9808 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9811 hardcode_shlibpath_var
=no
9815 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9816 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9817 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9824 if test "$ld_shlibs" = no
; then
9826 hardcode_libdir_flag_spec
=
9827 export_dynamic_flag_spec
=
9828 whole_archive_flag_spec
=
9831 # PORTME fill in a description of your system's linker (not GNU ld)
9834 allow_undefined_flag
=unsupported
9835 always_export_symbols
=yes
9836 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'
9837 # Note: this linker hardcodes the directories in LIBPATH if there
9838 # are no directories specified by -L.
9839 hardcode_minus_L
=yes
9840 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9841 # Neither direct hardcoding nor static linking is supported with a
9843 hardcode_direct
=unsupported
9848 if test "$host_cpu" = ia64
; then
9849 # On IA64, the linker does run time linking by default, so we don't
9850 # have to do anything special.
9851 aix_use_runtimelinking
=no
9852 exp_sym_flag
='-Bexport'
9855 # If we're using GNU nm, then we don't want the "-C" option.
9856 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9857 # Also, AIX nm treats weak defined symbols like other global
9858 # defined symbols, whereas GNU nm marks them as "W".
9859 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
9860 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'
9862 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'
9864 aix_use_runtimelinking
=no
9866 # Test if we are trying to use run time linking or normal
9867 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9868 # need to do runtime linking.
9869 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9870 for ld_flag
in $LDFLAGS; do
9871 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9872 aix_use_runtimelinking
=yes
9879 exp_sym_flag
='-bexport'
9880 no_entry_flag
='-bnoentry'
9883 # When large executables or shared objects are built, AIX ld can
9884 # have problems creating the table of contents. If linking a library
9885 # or program results in "error TOC overflow" add -mminimal-toc to
9886 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9887 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9891 hardcode_direct_absolute
=yes
9892 hardcode_libdir_separator
=':'
9893 link_all_deplibs
=yes
9894 file_list_spec
='${wl}-f,'
9896 if test "$GCC" = yes; then
9897 case $host_os in aix4.
[012]|aix4.
[012].
*)
9898 # We only want to do this on AIX 4.2 and lower, the check
9899 # below for broken collect2 doesn't work under 4.3+
9900 collect2name
=`${CC} -print-prog-name=collect2`
9901 if test -f "$collect2name" &&
9902 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
9904 # We have reworked collect2
9907 # We have old collect2
9908 hardcode_direct
=unsupported
9909 # It fails to find uninstalled libraries when the uninstalled
9910 # path is not listed in the libpath. Setting hardcode_minus_L
9911 # to unsupported forces relinking
9912 hardcode_minus_L
=yes
9913 hardcode_libdir_flag_spec
='-L$libdir'
9914 hardcode_libdir_separator
=
9918 shared_flag
='-shared'
9919 if test "$aix_use_runtimelinking" = yes; then
9920 shared_flag
="$shared_flag "'${wl}-G'
9925 if test "$host_cpu" = ia64
; then
9926 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9927 # chokes on -Wl,-G. The following line is correct:
9930 if test "$aix_use_runtimelinking" = yes; then
9931 shared_flag
='${wl}-G'
9933 shared_flag
='${wl}-bM:SRE'
9938 export_dynamic_flag_spec
='${wl}-bexpall'
9939 # It seems that -bexpall does not export symbols beginning with
9940 # underscore (_), so it is better to generate a list of symbols to export.
9941 always_export_symbols
=yes
9942 if test "$aix_use_runtimelinking" = yes; then
9943 # Warning - without using the other runtime loading flags (-brtl),
9944 # -berok will link without error, but may produce a broken library.
9945 allow_undefined_flag
='-berok'
9946 # Determine the default libpath from the value encoded in an
9948 if test "${lt_cv_aix_libpath+set}" = set; then
9949 aix_libpath
=$lt_cv_aix_libpath
9951 if ${lt_cv_aix_libpath_+:} false
; then :
9952 $as_echo_n "(cached) " >&6
9954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9955 /* end confdefs.h. */
9965 if ac_fn_c_try_link
"$LINENO"; then :
9967 lt_aix_libpath_sed
='
9968 /Import File Strings/,/^$/ {
9970 s/^0 *\([^ ]*\) *$/\1/
9974 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9975 # Check for a 64-bit object if we didn't find anything.
9976 if test -z "$lt_cv_aix_libpath_"; then
9977 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9980 rm -f core conftest.err conftest.
$ac_objext \
9981 conftest
$ac_exeext conftest.
$ac_ext
9982 if test -z "$lt_cv_aix_libpath_"; then
9983 lt_cv_aix_libpath_
="/usr/lib:/lib"
9988 aix_libpath
=$lt_cv_aix_libpath_
9991 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9992 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"
9994 if test "$host_cpu" = ia64
; then
9995 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9996 allow_undefined_flag
="-z nodefs"
9997 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"
9999 # Determine the default libpath from the value encoded in an
10000 # empty executable.
10001 if test "${lt_cv_aix_libpath+set}" = set; then
10002 aix_libpath
=$lt_cv_aix_libpath
10004 if ${lt_cv_aix_libpath_+:} false
; then :
10005 $as_echo_n "(cached) " >&6
10007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10018 if ac_fn_c_try_link
"$LINENO"; then :
10020 lt_aix_libpath_sed
='
10021 /Import File Strings/,/^$/ {
10023 s/^0 *\([^ ]*\) *$/\1/
10027 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10028 # Check for a 64-bit object if we didn't find anything.
10029 if test -z "$lt_cv_aix_libpath_"; then
10030 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10033 rm -f core conftest.err conftest.
$ac_objext \
10034 conftest
$ac_exeext conftest.
$ac_ext
10035 if test -z "$lt_cv_aix_libpath_"; then
10036 lt_cv_aix_libpath_
="/usr/lib:/lib"
10041 aix_libpath
=$lt_cv_aix_libpath_
10044 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10045 # Warning - without using the other run time loading flags,
10046 # -berok will link without error, but may produce a broken library.
10047 no_undefined_flag
=' ${wl}-bernotok'
10048 allow_undefined_flag
=' ${wl}-berok'
10049 if test "$with_gnu_ld" = yes; then
10050 # We only use this code for GNU lds that support --whole-archive.
10051 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10053 # Exported symbols can be pulled into shared objects from archives
10054 whole_archive_flag_spec
='$convenience'
10056 archive_cmds_need_lc
=yes
10057 # This is similar to how AIX traditionally builds its shared libraries.
10058 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'
10066 # see comment about AmigaOS4 .so support
10067 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10068 archive_expsym_cmds
=''
10071 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)'
10072 hardcode_libdir_flag_spec
='-L$libdir'
10073 hardcode_minus_L
=yes
10079 export_dynamic_flag_spec
=-rdynamic
10082 cygwin
* | mingw
* | pw32
* | cegcc
*)
10083 # When not using gcc, we currently assume that we are using
10084 # Microsoft Visual C++.
10085 # hardcode_libdir_flag_spec is actually meaningless, as there is
10086 # no search path for DLLs.
10087 case $cc_basename in
10090 hardcode_libdir_flag_spec
=' '
10091 allow_undefined_flag
=unsupported
10092 always_export_symbols
=yes
10094 # Tell ltmain to make .lib files, not .a files.
10096 # Tell ltmain to make .dll files, not .so files.
10098 # FIXME: Setting linknames here is a bad hack.
10099 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10100 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10101 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10103 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10105 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10107 # The linker will not automatically build a static lib if we build a DLL.
10108 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10109 enable_shared_with_static_runtimes
=yes
10110 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10111 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10113 old_postinstall_cmds
='chmod 644 $oldlib'
10114 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10115 lt_tool_outputfile="@TOOL_OUTPUT@"~
10116 case $lt_outputfile in
10119 lt_outputfile="$lt_outputfile.exe"
10120 lt_tool_outputfile="$lt_tool_outputfile.exe"
10123 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10124 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10125 $RM "$lt_outputfile.manifest";
10129 # Assume MSVC wrapper
10130 hardcode_libdir_flag_spec
=' '
10131 allow_undefined_flag
=unsupported
10132 # Tell ltmain to make .lib files, not .a files.
10134 # Tell ltmain to make .dll files, not .so files.
10136 # FIXME: Setting linknames here is a bad hack.
10137 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10138 # The linker will automatically build a .lib file if we build a DLL.
10139 old_archive_from_new_cmds
='true'
10140 # FIXME: Should let the user specify the lib program.
10141 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10142 enable_shared_with_static_runtimes
=yes
10147 darwin
* | rhapsody
*)
10150 archive_cmds_need_lc
=no
10152 hardcode_automatic
=yes
10153 hardcode_shlibpath_var
=unsupported
10154 if test "$lt_cv_ld_force_load" = "yes"; then
10155 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\"`'
10158 whole_archive_flag_spec
=''
10160 link_all_deplibs
=yes
10161 allow_undefined_flag
="$_lt_dar_allow_undefined"
10162 case $cc_basename in
10163 ifort
*) _lt_dar_can_shared
=yes ;;
10164 *) _lt_dar_can_shared
=$GCC ;;
10166 if test "$_lt_dar_can_shared" = "yes"; then
10167 output_verbose_link_cmd
=func_echo_all
10168 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10169 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10170 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}"
10171 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}"
10180 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181 hardcode_libdir_flag_spec
='-L$libdir'
10182 hardcode_shlibpath_var
=no
10185 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10186 # support. Future versions do this automatically, but an explicit c++rt0.o
10187 # does not break anything, and helps significantly (at the cost of a little
10190 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10191 hardcode_libdir_flag_spec
='-R$libdir'
10192 hardcode_direct
=yes
10193 hardcode_shlibpath_var
=no
10196 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10198 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10199 hardcode_direct
=yes
10200 hardcode_minus_L
=yes
10201 hardcode_shlibpath_var
=no
10204 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10205 freebsd
* | dragonfly
*)
10206 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10207 hardcode_libdir_flag_spec
='-R$libdir'
10208 hardcode_direct
=yes
10209 hardcode_shlibpath_var
=no
10213 if test "$GCC" = yes; then
10214 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'
10216 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'
10218 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10219 hardcode_libdir_separator
=:
10220 hardcode_direct
=yes
10222 # hardcode_minus_L: Not really in the search PATH,
10223 # but as the default location of the library.
10224 hardcode_minus_L
=yes
10225 export_dynamic_flag_spec
='${wl}-E'
10229 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10230 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10234 if test "$with_gnu_ld" = no
; then
10235 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10236 hardcode_libdir_separator
=:
10237 hardcode_direct
=yes
10238 hardcode_direct_absolute
=yes
10239 export_dynamic_flag_spec
='${wl}-E'
10240 # hardcode_minus_L: Not really in the search PATH,
10241 # but as the default location of the library.
10242 hardcode_minus_L
=yes
10247 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10250 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10253 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10256 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10262 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10265 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10269 # Older versions of the 11.00 compiler do not understand -b yet
10270 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10272 $as_echo_n "checking if $CC understands -b... " >&6; }
10273 if ${lt_cv_prog_compiler__b+:} false
; then :
10274 $as_echo_n "(cached) " >&6
10276 lt_cv_prog_compiler__b
=no
10277 save_LDFLAGS
="$LDFLAGS"
10278 LDFLAGS
="$LDFLAGS -b"
10279 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10280 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10281 # The linker can only warn and ignore the option if not recognized
10282 # So say no if there are warnings
10283 if test -s conftest.err
; then
10284 # Append any errors to the config.log.
10285 cat conftest.err
1>&5
10286 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10287 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10288 if diff conftest.exp conftest.er2
>/dev
/null
; then
10289 lt_cv_prog_compiler__b
=yes
10292 lt_cv_prog_compiler__b
=yes
10296 LDFLAGS
="$save_LDFLAGS"
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10300 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10302 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10303 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10305 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10311 if test "$with_gnu_ld" = no
; then
10312 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10313 hardcode_libdir_separator
=:
10318 hardcode_shlibpath_var
=no
10321 hardcode_direct
=yes
10322 hardcode_direct_absolute
=yes
10323 export_dynamic_flag_spec
='${wl}-E'
10325 # hardcode_minus_L: Not really in the search PATH,
10326 # but as the default location of the library.
10327 hardcode_minus_L
=yes
10333 irix5
* | irix6
* | nonstopux
*)
10334 if test "$GCC" = yes; then
10335 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'
10336 # Try to use the -exported_symbol ld option, if it does not
10337 # work, assume that -exports_file does not work either and
10338 # implicitly export all symbols.
10339 # This should be the same for all languages, so no per-tag cache variable.
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10341 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10342 if ${lt_cv_irix_exported_symbol+:} false
; then :
10343 $as_echo_n "(cached) " >&6
10345 save_LDFLAGS
="$LDFLAGS"
10346 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10348 /* end confdefs.h. */
10349 int foo (void) { return 0; }
10351 if ac_fn_c_try_link
"$LINENO"; then :
10352 lt_cv_irix_exported_symbol
=yes
10354 lt_cv_irix_exported_symbol
=no
10356 rm -f core conftest.err conftest.
$ac_objext \
10357 conftest
$ac_exeext conftest.
$ac_ext
10358 LDFLAGS
="$save_LDFLAGS"
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10361 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10362 if test "$lt_cv_irix_exported_symbol" = yes; then
10363 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'
10366 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'
10367 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'
10369 archive_cmds_need_lc
='no'
10370 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10371 hardcode_libdir_separator
=:
10373 link_all_deplibs
=yes
10376 netbsd
* | netbsdelf
*-gnu)
10377 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10378 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10380 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10382 hardcode_libdir_flag_spec
='-R$libdir'
10383 hardcode_direct
=yes
10384 hardcode_shlibpath_var
=no
10388 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10389 hardcode_direct
=yes
10390 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10391 hardcode_libdir_separator
=:
10392 hardcode_shlibpath_var
=no
10399 if test -f /usr
/libexec
/ld.so
; then
10400 hardcode_direct
=yes
10401 hardcode_shlibpath_var
=no
10402 hardcode_direct_absolute
=yes
10403 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10404 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10405 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10406 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10407 export_dynamic_flag_spec
='${wl}-E'
10410 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10411 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10412 hardcode_libdir_flag_spec
='-R$libdir'
10415 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10416 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10426 hardcode_libdir_flag_spec
='-L$libdir'
10427 hardcode_minus_L
=yes
10428 allow_undefined_flag
=unsupported
10429 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'
10430 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10434 if test "$GCC" = yes; then
10435 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10436 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'
10438 allow_undefined_flag
=' -expect_unresolved \*'
10439 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'
10441 archive_cmds_need_lc
='no'
10442 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10443 hardcode_libdir_separator
=:
10446 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10447 if test "$GCC" = yes; then
10448 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10449 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'
10450 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10452 allow_undefined_flag
=' -expect_unresolved \*'
10453 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'
10454 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~
10455 $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'
10457 # Both c and cxx compiler support -rpath directly
10458 hardcode_libdir_flag_spec
='-rpath $libdir'
10460 archive_cmds_need_lc
='no'
10461 hardcode_libdir_separator
=:
10465 no_undefined_flag
=' -z defs'
10466 if test "$GCC" = yes; then
10468 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10469 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10470 $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'
10472 case `$CC -V 2>&1` in
10475 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10476 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10477 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10481 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10482 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10483 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10487 hardcode_libdir_flag_spec
='-R$libdir'
10488 hardcode_shlibpath_var
=no
10490 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10492 # The compiler driver will combine and reorder linker options,
10493 # but understands `-z linker_flag'. GCC discards it without `$wl',
10494 # but is careful enough not to reorder.
10495 # Supported since Solaris 2.6 (maybe 2.5.1?)
10496 if test "$GCC" = yes; then
10497 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10499 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10503 link_all_deplibs
=yes
10507 if test "x$host_vendor" = xsequent
; then
10508 # Use $CC to link under sequent, because it throws in some extra .o
10509 # files that make .init and .fini sections work.
10510 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10512 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10514 hardcode_libdir_flag_spec
='-L$libdir'
10515 hardcode_direct
=yes
10516 hardcode_minus_L
=yes
10517 hardcode_shlibpath_var
=no
10521 case $host_vendor in
10523 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10524 hardcode_direct
=yes # is this really true???
10527 ## LD is ld it makes a PLAMLIB
10528 ## CC just makes a GrossModule.
10529 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10530 reload_cmds
='$CC -r -o $output$reload_objs'
10534 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10535 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10538 runpath_var
='LD_RUN_PATH'
10539 hardcode_shlibpath_var
=no
10543 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10544 hardcode_shlibpath_var
=no
10545 export_dynamic_flag_spec
='-Bexport'
10549 if test -d /usr
/nec
; then
10550 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10551 hardcode_shlibpath_var
=no
10552 runpath_var
=LD_RUN_PATH
10553 hardcode_runpath_var
=yes
10558 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10559 no_undefined_flag
='${wl}-z,text'
10560 archive_cmds_need_lc
=no
10561 hardcode_shlibpath_var
=no
10562 runpath_var
='LD_RUN_PATH'
10564 if test "$GCC" = yes; then
10565 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10566 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10568 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10569 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10573 sysv5
* | sco3.2v5
* | sco5v6
*)
10574 # Note: We can NOT use -z defs as we might desire, because we do not
10575 # link with -lc, and that would cause any symbols used from libc to
10576 # always be unresolved, which means just about no library would
10577 # ever link correctly. If we're not using GNU ld we use -z text
10578 # though, which does catch some bad symbols but isn't as heavy-handed
10580 no_undefined_flag
='${wl}-z,text'
10581 allow_undefined_flag
='${wl}-z,nodefs'
10582 archive_cmds_need_lc
=no
10583 hardcode_shlibpath_var
=no
10584 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10585 hardcode_libdir_separator
=':'
10586 link_all_deplibs
=yes
10587 export_dynamic_flag_spec
='${wl}-Bexport'
10588 runpath_var
='LD_RUN_PATH'
10590 if test "$GCC" = yes; then
10591 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10592 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10594 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10595 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10600 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10601 hardcode_libdir_flag_spec
='-L$libdir'
10602 hardcode_shlibpath_var
=no
10610 if test x
$host_vendor = xsni
; then
10612 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10613 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10620 $as_echo "$ld_shlibs" >&6; }
10621 test "$ld_shlibs" = no
&& can_build_shared
=no
10623 with_gnu_ld
=$with_gnu_ld
10640 # Do we need to explicitly link libc?
10642 case "x$archive_cmds_need_lc" in
10644 # Assume -lc should be added
10645 archive_cmds_need_lc
=yes
10647 if test "$enable_shared" = yes && test "$GCC" = yes; then
10648 case $archive_cmds in
10650 # FIXME: we may have to deal with multi-command sequences.
10653 # Test whether the compiler implicitly links with -lc since on some
10654 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10655 # to ld, don't add -lc before -lgcc.
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10657 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10658 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10659 $as_echo_n "(cached) " >&6
10662 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10665 (eval $ac_compile) 2>&5
10667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10668 test $ac_status = 0; } 2>conftest.err
; then
10671 libobjs
=conftest.
$ac_objext
10673 wl
=$lt_prog_compiler_wl
10674 pic_flag
=$lt_prog_compiler_pic
10680 lt_save_allow_undefined_flag
=$allow_undefined_flag
10681 allow_undefined_flag
=
10682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10683 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10686 test $ac_status = 0; }
10688 lt_cv_archive_cmds_need_lc
=no
10690 lt_cv_archive_cmds_need_lc
=yes
10692 allow_undefined_flag
=$lt_save_allow_undefined_flag
10694 cat conftest.err
1>&5
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10700 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10701 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10860 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10862 if test "$GCC" = yes; then
10864 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10865 *) lt_awk_arg
="/^libraries:/" ;;
10868 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10869 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10871 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10872 case $lt_search_path_spec in
10874 # if the path contains ";" then we assume it to be the separator
10875 # otherwise default to the standard path separator (i.e. ":") - it is
10876 # assumed that no part of a normal pathname contains ";" but that should
10877 # okay in the real world where ";" in dirpaths is itself problematic.
10878 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10881 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10884 # Ok, now we have the path, separated by spaces, we can step through it
10885 # and add multilib dir if necessary.
10886 lt_tmp_lt_search_path_spec
=
10887 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10888 for lt_sys_path
in $lt_search_path_spec; do
10889 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10890 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10892 test -d "$lt_sys_path" && \
10893 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10896 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10897 BEGIN {RS=" "; FS="/|\n";} {
10900 for (lt_i = NF; lt_i > 0; lt_i--) {
10901 if ($lt_i != "" && $lt_i != ".") {
10902 if ($lt_i == "..") {
10905 if (lt_count == 0) {
10906 lt_foo="/" $lt_i lt_foo;
10913 if (lt_foo != "") { lt_freq[lt_foo]++; }
10914 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10916 # AWK program above erroneously prepends '/' to C:/dos/paths
10919 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10920 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10922 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10924 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10926 library_names_spec
=
10927 libname_spec
='lib$name'
10931 postuninstall_cmds
=
10935 shlibpath_overrides_runpath
=unknown
10937 dynamic_linker
="$host_os ld.so"
10938 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10939 need_lib_prefix
=unknown
10940 hardcode_into_libs
=no
10942 # when you set need_version to no, make sure it does not cause -set_version
10943 # flags to be left without arguments
10944 need_version
=unknown
10948 version_type
=linux
# correct to gnu/linux during the next big refactor
10949 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10950 shlibpath_var
=LIBPATH
10952 # AIX 3 has no versioning support, so we append a major version to the name.
10953 soname_spec
='${libname}${release}${shared_ext}$major'
10957 version_type
=linux
# correct to gnu/linux during the next big refactor
10960 hardcode_into_libs
=yes
10961 if test "$host_cpu" = ia64
; then
10962 # AIX 5 supports IA64
10963 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10964 shlibpath_var
=LD_LIBRARY_PATH
10966 # With GCC up to 2.95.x, collect2 would create an import file
10967 # for dependence libraries. The import file would start with
10968 # the line `#! .'. This would cause the generated library to
10969 # depend on `.', always an invalid library. This was fixed in
10970 # development snapshots of GCC prior to 3.0.
10972 aix4
| aix4.
[01] | aix4.
[01].
*)
10973 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10975 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
10978 can_build_shared
=no
10982 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10983 # soname into executable. Probably we can add versioning support to
10984 # collect2, so additional links can be useful in future.
10985 if test "$aix_use_runtimelinking" = yes; then
10986 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10987 # instead of lib<name>.a to let people know that these are not
10988 # typical AIX shared libraries.
10989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 # We preserve .a as extension for shared libraries through AIX4.2
10992 # and later when we are not doing run time linking.
10993 library_names_spec
='${libname}${release}.a $libname.a'
10994 soname_spec
='${libname}${release}${shared_ext}$major'
10996 shlibpath_var
=LIBPATH
11003 # Since July 2007 AmigaOS4 officially supports .so libraries.
11004 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11008 library_names_spec
='$libname.ixlibrary $libname.a'
11009 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11010 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'
11016 library_names_spec
='${libname}${shared_ext}'
11017 dynamic_linker
="$host_os ld.so"
11018 shlibpath_var
=LIBRARY_PATH
11022 version_type
=linux
# correct to gnu/linux during the next big refactor
11024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11025 soname_spec
='${libname}${release}${shared_ext}$major'
11026 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11027 shlibpath_var
=LD_LIBRARY_PATH
11028 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11029 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11030 # the default ld.so.conf also contains /usr/contrib/lib and
11031 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11032 # libtool to hard-code these into programs
11035 cygwin
* | mingw
* | pw32
* | cegcc
*)
11036 version_type
=windows
11041 case $GCC,$cc_basename in
11044 library_names_spec
='$libname.dll.a'
11045 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11046 postinstall_cmds
='base_file=`basename \${file}`~
11047 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11048 dldir=$destdir/`dirname \$dlpath`~
11049 test -d \$dldir || mkdir -p \$dldir~
11050 $install_prog $dir/$dlname \$dldir/$dlname~
11051 chmod a+x \$dldir/$dlname~
11052 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11053 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11055 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11056 dlpath=$dir/\$dldll~
11058 shlibpath_overrides_runpath
=yes
11062 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11063 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11065 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11068 # MinGW DLLs use traditional 'lib' prefix
11069 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11072 # pw32 DLLs use 'pw' prefix rather than 'lib'
11073 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11076 dynamic_linker
='Win32 ld.exe'
11081 libname_spec
='$name'
11082 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11083 library_names_spec
='${libname}.dll.lib'
11087 sys_lib_search_path_spec
=
11090 for lt_path
in $LIB
11093 # Let DOS variable expansion print the short 8.3 style file name.
11094 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11095 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11098 # Convert to MSYS style.
11099 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11102 # Convert to unix form, then to dos form, then back to unix form
11103 # but this time dos style (no spaces!) so that the unix form looks
11104 # like /cygdrive/c/PROGRA~1:/cygdr...
11105 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11106 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11107 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11110 sys_lib_search_path_spec
="$LIB"
11111 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11112 # It is most probably a Windows format PATH.
11113 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11115 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11117 # FIXME: find the short name or the path components, as spaces are
11118 # common. (e.g. "Program Files" -> "PROGRA~1")
11122 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11123 postinstall_cmds
='base_file=`basename \${file}`~
11124 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11125 dldir=$destdir/`dirname \$dlpath`~
11126 test -d \$dldir || mkdir -p \$dldir~
11127 $install_prog $dir/$dlname \$dldir/$dlname'
11128 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11129 dlpath=$dir/\$dldll~
11131 shlibpath_overrides_runpath
=yes
11132 dynamic_linker
='Win32 link.exe'
11136 # Assume MSVC wrapper
11137 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11138 dynamic_linker
='Win32 ld.exe'
11141 # FIXME: first we should search . and the directory the executable is in
11145 darwin
* | rhapsody
*)
11146 dynamic_linker
="$host_os dyld"
11147 version_type
=darwin
11150 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11151 soname_spec
='${libname}${release}${major}$shared_ext'
11152 shlibpath_overrides_runpath
=yes
11153 shlibpath_var
=DYLD_LIBRARY_PATH
11154 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11156 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11157 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11161 version_type
=linux
# correct to gnu/linux during the next big refactor
11164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11165 soname_spec
='${libname}${release}${shared_ext}$major'
11166 shlibpath_var
=LD_LIBRARY_PATH
11169 freebsd
* | dragonfly
*)
11170 # DragonFly does not have aout. When/if they implement a new
11171 # versioning mechanism, adjust this.
11172 if test -x /usr
/bin
/objformat
; then
11173 objformat
=`/usr/bin/objformat`
11176 freebsd
[23].
*) objformat
=aout
;;
11177 *) objformat
=elf
;;
11180 version_type
=freebsd
-$objformat
11181 case $version_type in
11183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11188 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11192 shlibpath_var
=LD_LIBRARY_PATH
11195 shlibpath_overrides_runpath
=yes
11197 freebsd3.
[01]* | freebsdelf3.
[01]*)
11198 shlibpath_overrides_runpath
=yes
11199 hardcode_into_libs
=yes
11201 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11202 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11203 shlibpath_overrides_runpath
=no
11204 hardcode_into_libs
=yes
11206 *) # from 4.6 on, and DragonFly
11207 shlibpath_overrides_runpath
=yes
11208 hardcode_into_libs
=yes
11214 version_type
=linux
# correct to gnu/linux during the next big refactor
11217 dynamic_linker
="$host_os runtime_loader"
11218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11219 soname_spec
='${libname}${release}${shared_ext}$major'
11220 shlibpath_var
=LIBRARY_PATH
11221 shlibpath_overrides_runpath
=yes
11222 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11223 hardcode_into_libs
=yes
11226 hpux9
* | hpux10
* | hpux11
*)
11227 # Give a soname corresponding to the major version so that dld.sl refuses to
11228 # link against other versions.
11235 hardcode_into_libs
=yes
11236 dynamic_linker
="$host_os dld.so"
11237 shlibpath_var
=LD_LIBRARY_PATH
11238 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11240 soname_spec
='${libname}${release}${shared_ext}$major'
11241 if test "X$HPUX_IA64_MODE" = X32
; then
11242 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11244 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11246 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11250 hardcode_into_libs
=yes
11251 dynamic_linker
="$host_os dld.sl"
11252 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11253 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11255 soname_spec
='${libname}${release}${shared_ext}$major'
11256 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11257 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11261 dynamic_linker
="$host_os dld.sl"
11262 shlibpath_var
=SHLIB_PATH
11263 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11265 soname_spec
='${libname}${release}${shared_ext}$major'
11268 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11269 postinstall_cmds
='chmod 555 $lib'
11270 # or fails outright, so override atomically:
11271 install_override_mode
=555
11275 version_type
=linux
# correct to gnu/linux during the next big refactor
11278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11279 soname_spec
='${libname}${release}${shared_ext}$major'
11280 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11281 shlibpath_var
=LD_LIBRARY_PATH
11282 shlibpath_overrides_runpath
=no
11283 hardcode_into_libs
=yes
11286 irix5
* | irix6
* | nonstopux
*)
11288 nonstopux
*) version_type
=nonstopux
;;
11290 if test "$lt_cv_prog_gnu_ld" = yes; then
11291 version_type
=linux
# correct to gnu/linux during the next big refactor
11298 soname_spec
='${libname}${release}${shared_ext}$major'
11299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11301 irix5
* | nonstopux
*)
11302 libsuff
= shlibsuff
=
11305 case $LD in # libtool.m4 will add one of these switches to LD
11306 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11307 libsuff
= shlibsuff
= libmagic
=32-bit;;
11308 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11309 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11310 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11311 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11312 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11316 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11317 shlibpath_overrides_runpath
=no
11318 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11319 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11320 hardcode_into_libs
=yes
11323 # No shared lib support for Linux oldld, aout, or coff.
11324 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11328 # This must be glibc/ELF.
11329 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11330 version_type
=linux
# correct to gnu/linux during the next big refactor
11333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11334 soname_spec
='${libname}${release}${shared_ext}$major'
11335 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11336 shlibpath_var
=LD_LIBRARY_PATH
11337 shlibpath_overrides_runpath
=no
11339 # Some binutils ld are patched to set DT_RUNPATH
11340 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11341 $as_echo_n "(cached) " >&6
11343 lt_cv_shlibpath_overrides_runpath
=no
11344 save_LDFLAGS
=$LDFLAGS
11345 save_libdir
=$libdir
11346 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11347 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11359 if ac_fn_c_try_link
"$LINENO"; then :
11360 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11361 lt_cv_shlibpath_overrides_runpath
=yes
11364 rm -f core conftest.err conftest.
$ac_objext \
11365 conftest
$ac_exeext conftest.
$ac_ext
11366 LDFLAGS
=$save_LDFLAGS
11367 libdir
=$save_libdir
11371 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11373 # This implies no fast_install, which is unacceptable.
11374 # Some rework will be needed to allow for fast_install
11375 # before this can be enabled.
11376 hardcode_into_libs
=yes
11378 # Append ld.so.conf contents to the search path
11379 if test -f /etc
/ld.so.conf
; then
11380 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' ' '`
11381 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11384 # We used to test for /lib/ld.so.1 and disable shared libraries on
11385 # powerpc, because MkLinux only supported shared libraries with the
11386 # GNU dynamic linker. Since this was broken with cross compilers,
11387 # most powerpc-linux boxes support dynamic linking these days and
11388 # people can always --disable-shared, the test was removed, and we
11389 # assume the GNU/Linux dynamic linker is in use.
11390 dynamic_linker
='GNU/Linux ld.so'
11397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11398 soname_spec
='${libname}${release}${shared_ext}$major'
11399 shlibpath_var
=LD_LIBRARY_PATH
11400 shlibpath_overrides_runpath
=no
11401 hardcode_into_libs
=yes
11402 dynamic_linker
='NetBSD ld.elf_so'
11409 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11411 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11412 dynamic_linker
='NetBSD (a.out) ld.so'
11414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11415 soname_spec
='${libname}${release}${shared_ext}$major'
11416 dynamic_linker
='NetBSD ld.elf_so'
11418 shlibpath_var
=LD_LIBRARY_PATH
11419 shlibpath_overrides_runpath
=yes
11420 hardcode_into_libs
=yes
11424 version_type
=linux
# correct to gnu/linux during the next big refactor
11425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11426 shlibpath_var
=LD_LIBRARY_PATH
11427 shlibpath_overrides_runpath
=yes
11434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11435 soname_spec
='${libname}${release}${shared_ext}$major'
11436 shlibpath_var
=LD_LIBRARY_PATH
11437 shlibpath_overrides_runpath
=no
11438 hardcode_into_libs
=yes
11439 dynamic_linker
='ldqnx.so'
11444 sys_lib_dlsearch_path_spec
="/usr/lib"
11446 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11448 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11449 *) need_version
=no
;;
11451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11453 shlibpath_var
=LD_LIBRARY_PATH
11454 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11456 openbsd2.
[89] | openbsd2.
[89].
*)
11457 shlibpath_overrides_runpath
=no
11460 shlibpath_overrides_runpath
=yes
11464 shlibpath_overrides_runpath
=yes
11469 libname_spec
='$name'
11472 library_names_spec
='$libname${shared_ext} $libname.a'
11473 dynamic_linker
='OS/2 ld.exe'
11474 shlibpath_var
=LIBPATH
11477 osf3
* | osf4
* | osf5
*)
11481 soname_spec
='${libname}${release}${shared_ext}$major'
11482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11483 shlibpath_var
=LD_LIBRARY_PATH
11484 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11485 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11493 version_type
=linux
# correct to gnu/linux during the next big refactor
11496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11497 soname_spec
='${libname}${release}${shared_ext}$major'
11498 shlibpath_var
=LD_LIBRARY_PATH
11499 shlibpath_overrides_runpath
=yes
11500 hardcode_into_libs
=yes
11501 # ldd complains unless libraries are executable
11502 postinstall_cmds
='chmod +x $lib'
11507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11508 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11509 shlibpath_var
=LD_LIBRARY_PATH
11510 shlibpath_overrides_runpath
=yes
11511 if test "$with_gnu_ld" = yes; then
11518 version_type
=linux
# correct to gnu/linux during the next big refactor
11519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11520 soname_spec
='${libname}${release}${shared_ext}$major'
11521 shlibpath_var
=LD_LIBRARY_PATH
11522 case $host_vendor in
11524 shlibpath_overrides_runpath
=no
11526 runpath_var
=LD_RUN_PATH
11534 shlibpath_overrides_runpath
=no
11535 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11541 if test -d /usr
/nec
;then
11542 version_type
=linux
# correct to gnu/linux during the next big refactor
11543 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11544 soname_spec
='$libname${shared_ext}.$major'
11545 shlibpath_var
=LD_LIBRARY_PATH
11549 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11550 version_type
=freebsd
-elf
11553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11554 soname_spec
='${libname}${release}${shared_ext}$major'
11555 shlibpath_var
=LD_LIBRARY_PATH
11556 shlibpath_overrides_runpath
=yes
11557 hardcode_into_libs
=yes
11558 if test "$with_gnu_ld" = yes; then
11559 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11561 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11564 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11568 sys_lib_dlsearch_path_spec
='/usr/lib'
11572 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11573 version_type
=linux
# correct to gnu/linux during the next big refactor
11576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11577 shlibpath_var
=LD_LIBRARY_PATH
11578 shlibpath_overrides_runpath
=no
11579 hardcode_into_libs
=yes
11583 version_type
=linux
# correct to gnu/linux during the next big refactor
11584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585 soname_spec
='${libname}${release}${shared_ext}$major'
11586 shlibpath_var
=LD_LIBRARY_PATH
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11594 $as_echo "$dynamic_linker" >&6; }
11595 test "$dynamic_linker" = no
&& can_build_shared
=no
11597 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11598 if test "$GCC" = yes; then
11599 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11602 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11603 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11605 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11606 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11701 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11703 if test -n "$hardcode_libdir_flag_spec" ||
11704 test -n "$runpath_var" ||
11705 test "X$hardcode_automatic" = "Xyes" ; then
11707 # We can hardcode non-existent directories.
11708 if test "$hardcode_direct" != no
&&
11709 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11710 # have to relink, otherwise we might link with an installed library
11711 # when we should be linking with a yet-to-be-installed one
11712 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11713 test "$hardcode_minus_L" != no
; then
11714 # Linking always hardcodes the temporary library directory.
11715 hardcode_action
=relink
11717 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11718 hardcode_action
=immediate
11721 # We cannot hardcode anything, or else we can only hardcode existing
11723 hardcode_action
=unsupported
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11726 $as_echo "$hardcode_action" >&6; }
11728 if test "$hardcode_action" = relink
||
11729 test "$inherit_rpath" = yes; then
11730 # Fast installation is not supported
11731 enable_fast_install
=no
11732 elif test "$shlibpath_overrides_runpath" = yes ||
11733 test "$enable_shared" = no
; then
11734 # Fast installation is not necessary
11735 enable_fast_install
=needless
11743 if test "x$enable_dlopen" != xyes
; then
11744 enable_dlopen
=unknown
11745 enable_dlopen_self
=unknown
11746 enable_dlopen_self_static
=unknown
11753 lt_cv_dlopen
="load_add_on"
11755 lt_cv_dlopen_self
=yes
11758 mingw
* | pw32
* | cegcc
*)
11759 lt_cv_dlopen
="LoadLibrary"
11764 lt_cv_dlopen
="dlopen"
11769 # if libdl is installed we need to link against it
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11771 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11772 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11773 $as_echo_n "(cached) " >&6
11775 ac_check_lib_save_LIBS
=$LIBS
11777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11778 /* end confdefs.h. */
11780 /* Override any GCC internal prototype to avoid an error.
11781 Use char because int might match the return type of a GCC
11782 builtin and then its argument prototype would still apply. */
11795 if ac_fn_c_try_link
"$LINENO"; then :
11796 ac_cv_lib_dl_dlopen
=yes
11798 ac_cv_lib_dl_dlopen
=no
11800 rm -f core conftest.err conftest.
$ac_objext \
11801 conftest
$ac_exeext conftest.
$ac_ext
11802 LIBS
=$ac_check_lib_save_LIBS
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11805 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11806 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11807 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11810 lt_cv_dlopen
="dyld"
11812 lt_cv_dlopen_self
=yes
11819 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11820 if test "x$ac_cv_func_shl_load" = xyes
; then :
11821 lt_cv_dlopen
="shl_load"
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11824 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11825 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11826 $as_echo_n "(cached) " >&6
11828 ac_check_lib_save_LIBS
=$LIBS
11830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11831 /* end confdefs.h. */
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11843 return shl_load ();
11848 if ac_fn_c_try_link
"$LINENO"; then :
11849 ac_cv_lib_dld_shl_load
=yes
11851 ac_cv_lib_dld_shl_load
=no
11853 rm -f core conftest.err conftest.
$ac_objext \
11854 conftest
$ac_exeext conftest.
$ac_ext
11855 LIBS
=$ac_check_lib_save_LIBS
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11858 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11859 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11860 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11862 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11863 if test "x$ac_cv_func_dlopen" = xyes
; then :
11864 lt_cv_dlopen
="dlopen"
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11867 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11868 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11869 $as_echo_n "(cached) " >&6
11871 ac_check_lib_save_LIBS
=$LIBS
11873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11891 if ac_fn_c_try_link
"$LINENO"; then :
11892 ac_cv_lib_dl_dlopen
=yes
11894 ac_cv_lib_dl_dlopen
=no
11896 rm -f core conftest.err conftest.
$ac_objext \
11897 conftest
$ac_exeext conftest.
$ac_ext
11898 LIBS
=$ac_check_lib_save_LIBS
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11901 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11902 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11903 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11906 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11907 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11908 $as_echo_n "(cached) " >&6
11910 ac_check_lib_save_LIBS
=$LIBS
11911 LIBS
="-lsvld $LIBS"
11912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11915 /* Override any GCC internal prototype to avoid an error.
11916 Use char because int might match the return type of a GCC
11917 builtin and then its argument prototype would still apply. */
11930 if ac_fn_c_try_link
"$LINENO"; then :
11931 ac_cv_lib_svld_dlopen
=yes
11933 ac_cv_lib_svld_dlopen
=no
11935 rm -f core conftest.err conftest.
$ac_objext \
11936 conftest
$ac_exeext conftest.
$ac_ext
11937 LIBS
=$ac_check_lib_save_LIBS
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11940 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11941 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11942 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11945 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11946 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11947 $as_echo_n "(cached) " >&6
11949 ac_check_lib_save_LIBS
=$LIBS
11951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11964 return dld_link ();
11969 if ac_fn_c_try_link
"$LINENO"; then :
11970 ac_cv_lib_dld_dld_link
=yes
11972 ac_cv_lib_dld_dld_link
=no
11974 rm -f core conftest.err conftest.
$ac_objext \
11975 conftest
$ac_exeext conftest.
$ac_ext
11976 LIBS
=$ac_check_lib_save_LIBS
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11979 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11980 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11981 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12002 if test "x$lt_cv_dlopen" != xno
; then
12008 case $lt_cv_dlopen in
12010 save_CPPFLAGS
="$CPPFLAGS"
12011 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12013 save_LDFLAGS
="$LDFLAGS"
12014 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12017 LIBS
="$lt_cv_dlopen_libs $LIBS"
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12020 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12021 if ${lt_cv_dlopen_self+:} false
; then :
12022 $as_echo_n "(cached) " >&6
12024 if test "$cross_compiling" = yes; then :
12025 lt_cv_dlopen_self
=cross
12027 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12028 lt_status
=$lt_dlunknown
12029 cat > conftest.
$ac_ext <<_LT_EOF
12030 #line $LINENO "configure"
12031 #include "confdefs.h"
12040 # define LT_DLGLOBAL RTLD_GLOBAL
12043 # define LT_DLGLOBAL DL_GLOBAL
12045 # define LT_DLGLOBAL 0
12049 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12050 find out it does not work in some platform. */
12051 #ifndef LT_DLLAZY_OR_NOW
12053 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12056 # define LT_DLLAZY_OR_NOW DL_LAZY
12059 # define LT_DLLAZY_OR_NOW RTLD_NOW
12062 # define LT_DLLAZY_OR_NOW DL_NOW
12064 # define LT_DLLAZY_OR_NOW 0
12071 /* When -fvisbility=hidden is used, assume the code has been annotated
12072 correspondingly for the symbols needed. */
12073 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12074 int fnord () __attribute__((visibility("default")));
12077 int fnord () { return 42; }
12080 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12081 int status = $lt_dlunknown;
12085 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12088 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12089 else puts (dlerror ());
12091 /* dlclose (self); */
12099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12100 (eval $ac_link) 2>&5
12102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12103 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12104 (.
/conftest
; exit; ) >&5 2>/dev
/null
12106 case x
$lt_status in
12107 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12108 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12109 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12112 # compilation failed
12113 lt_cv_dlopen_self
=no
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12121 $as_echo "$lt_cv_dlopen_self" >&6; }
12123 if test "x$lt_cv_dlopen_self" = xyes
; then
12124 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12126 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12127 if ${lt_cv_dlopen_self_static+:} false
; then :
12128 $as_echo_n "(cached) " >&6
12130 if test "$cross_compiling" = yes; then :
12131 lt_cv_dlopen_self_static
=cross
12133 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12134 lt_status
=$lt_dlunknown
12135 cat > conftest.
$ac_ext <<_LT_EOF
12136 #line $LINENO "configure"
12137 #include "confdefs.h"
12146 # define LT_DLGLOBAL RTLD_GLOBAL
12149 # define LT_DLGLOBAL DL_GLOBAL
12151 # define LT_DLGLOBAL 0
12155 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12156 find out it does not work in some platform. */
12157 #ifndef LT_DLLAZY_OR_NOW
12159 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12162 # define LT_DLLAZY_OR_NOW DL_LAZY
12165 # define LT_DLLAZY_OR_NOW RTLD_NOW
12168 # define LT_DLLAZY_OR_NOW DL_NOW
12170 # define LT_DLLAZY_OR_NOW 0
12177 /* When -fvisbility=hidden is used, assume the code has been annotated
12178 correspondingly for the symbols needed. */
12179 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12180 int fnord () __attribute__((visibility("default")));
12183 int fnord () { return 42; }
12186 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12187 int status = $lt_dlunknown;
12191 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12194 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12195 else puts (dlerror ());
12197 /* dlclose (self); */
12205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12206 (eval $ac_link) 2>&5
12208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12209 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12210 (.
/conftest
; exit; ) >&5 2>/dev
/null
12212 case x
$lt_status in
12213 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12214 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12215 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12218 # compilation failed
12219 lt_cv_dlopen_self_static
=no
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12227 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12230 CPPFLAGS
="$save_CPPFLAGS"
12231 LDFLAGS
="$save_LDFLAGS"
12236 case $lt_cv_dlopen_self in
12237 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12238 *) enable_dlopen_self
=unknown
;;
12241 case $lt_cv_dlopen_self_static in
12242 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12243 *) enable_dlopen_self_static
=unknown
;;
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12266 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12267 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12268 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12269 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12271 $as_echo "yes" >&6; }
12273 # FIXME - insert some real tests, host_os isn't really good enough
12276 if test -n "$STRIP" ; then
12277 striplib
="$STRIP -x"
12278 old_striplib
="$STRIP -S"
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12280 $as_echo "yes" >&6; }
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12283 $as_echo "no" >&6; }
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12288 $as_echo "no" >&6; }
12304 # Report which library types will actually be built
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12306 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12308 $as_echo "$can_build_shared" >&6; }
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12311 $as_echo_n "checking whether to build shared libraries... " >&6; }
12312 test "$can_build_shared" = "no" && enable_shared
=no
12314 # On AIX, shared libraries and static libraries use the same namespace, and
12315 # are all built from PIC.
12318 test "$enable_shared" = yes && enable_static
=no
12319 if test -n "$RANLIB"; then
12320 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12321 postinstall_cmds
='$RANLIB $lib'
12326 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12327 test "$enable_shared" = yes && enable_static
=no
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12332 $as_echo "$enable_shared" >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12335 $as_echo_n "checking whether to build static libraries... " >&6; }
12336 # Make sure either enable_shared or enable_static is yes.
12337 test "$enable_shared" = yes || enable_static
=yes
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12339 $as_echo "$enable_static" >&6; }
12346 ac_cpp
='$CPP $CPPFLAGS'
12347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12367 ac_config_commands
="$ac_config_commands libtool"
12372 # Only expand once:
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12383 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12384 if ${libltdl_cv_shlibext+:} false
; then :
12385 $as_echo_n "(cached) " >&6
12389 eval libltdl_cv_shlibext
=$shrext_cmds
12391 eval libltdl_cv_shrext
=$shrext_cmds
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
12395 $as_echo "$libltdl_cv_shlibext" >&6; }
12396 if test -n "$libltdl_cv_shlibext"; then
12398 cat >>confdefs.h
<<_ACEOF
12399 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
12403 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12405 cat >>confdefs.h
<<_ACEOF
12406 #define LT_SHARED_EXT "$libltdl_cv_shrext"
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12412 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12413 if ${lt_cv_module_path_var+:} false
; then :
12414 $as_echo_n "(cached) " >&6
12416 lt_cv_module_path_var
="$shlibpath_var"
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12419 $as_echo "$lt_cv_module_path_var" >&6; }
12420 if test -n "$lt_cv_module_path_var"; then
12422 cat >>confdefs.h
<<_ACEOF
12423 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12429 $as_echo_n "checking for the default library search path... " >&6; }
12430 if ${lt_cv_sys_dlsearch_path+:} false
; then :
12431 $as_echo_n "(cached) " >&6
12433 lt_cv_sys_dlsearch_path
="$sys_lib_dlsearch_path_spec"
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12436 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
12437 if test -n "$lt_cv_sys_dlsearch_path"; then
12439 for dir
in $lt_cv_sys_dlsearch_path; do
12440 if test -z "$sys_dlsearch_path"; then
12441 sys_dlsearch_path
="$dir"
12443 sys_dlsearch_path
="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12447 cat >>confdefs.h
<<_ACEOF
12448 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
12458 ac_cpp
='$CPP $CPPFLAGS'
12459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12466 $as_echo_n "checking for library containing dlopen... " >&6; }
12467 if ${ac_cv_search_dlopen+:} false
; then :
12468 $as_echo_n "(cached) " >&6
12470 ac_func_search_save_LIBS
=$LIBS
12471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12489 for ac_lib
in '' dl
; do
12490 if test -z "$ac_lib"; then
12491 ac_res
="none required"
12494 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12496 if ac_fn_c_try_link
"$LINENO"; then :
12497 ac_cv_search_dlopen
=$ac_res
12499 rm -f core conftest.err conftest.
$ac_objext \
12501 if ${ac_cv_search_dlopen+:} false
; then :
12505 if ${ac_cv_search_dlopen+:} false
; then :
12508 ac_cv_search_dlopen
=no
12510 rm conftest.
$ac_ext
12511 LIBS
=$ac_func_search_save_LIBS
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12514 $as_echo "$ac_cv_search_dlopen" >&6; }
12515 ac_res
=$ac_cv_search_dlopen
12516 if test "$ac_res" != no
; then :
12517 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12519 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12521 if test "$ac_cv_search_dlopen" != "none required" ; then
12522 LIBADD_DLOPEN
="-ldl"
12524 libltdl_cv_lib_dl_dlopen
="yes"
12525 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12530 # include <dlfcn.h>
12541 if ac_fn_c_try_link
"$LINENO"; then :
12543 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12545 libltdl_cv_func_dlopen
="yes"
12546 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12549 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12550 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12551 $as_echo_n "(cached) " >&6
12553 ac_check_lib_save_LIBS
=$LIBS
12554 LIBS
="-lsvld $LIBS"
12555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
12573 if ac_fn_c_try_link
"$LINENO"; then :
12574 ac_cv_lib_svld_dlopen
=yes
12576 ac_cv_lib_svld_dlopen
=no
12578 rm -f core conftest.err conftest.
$ac_objext \
12579 conftest
$ac_exeext conftest.
$ac_ext
12580 LIBS
=$ac_check_lib_save_LIBS
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12583 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12584 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12586 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12588 LIBADD_DLOPEN
="-lsvld" libltdl_cv_func_dlopen
="yes"
12589 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12593 rm -f core conftest.err conftest.
$ac_objext \
12594 conftest
$ac_exeext conftest.
$ac_ext
12597 if test x
"$libltdl_cv_func_dlopen" = xyes
|| test x
"$libltdl_cv_lib_dl_dlopen" = xyes
12599 lt_save_LIBS
="$LIBS"
12600 LIBS
="$LIBS $LIBADD_DLOPEN"
12601 for ac_func
in dlerror
12603 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
12604 if test "x$ac_cv_func_dlerror" = xyes
; then :
12605 cat >>confdefs.h
<<_ACEOF
12606 #define HAVE_DLERROR 1
12612 LIBS
="$lt_save_LIBS"
12617 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12618 if test "x$ac_cv_func_shl_load" = xyes
; then :
12620 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12622 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12625 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12626 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12627 $as_echo_n "(cached) " >&6
12629 ac_check_lib_save_LIBS
=$LIBS
12631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 /* Override any GCC internal prototype to avoid an error.
12635 Use char because int might match the return type of a GCC
12636 builtin and then its argument prototype would still apply. */
12644 return shl_load ();
12649 if ac_fn_c_try_link
"$LINENO"; then :
12650 ac_cv_lib_dld_shl_load
=yes
12652 ac_cv_lib_dld_shl_load
=no
12654 rm -f core conftest.err conftest.
$ac_objext \
12655 conftest
$ac_exeext conftest.
$ac_ext
12656 LIBS
=$ac_check_lib_save_LIBS
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12659 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12660 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12662 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12664 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12665 LIBADD_SHL_LOAD
="-ldld"
12674 # We only want this for pre-Mac OS X 10.4.
12675 ac_fn_c_check_func
"$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12676 if test "x$ac_cv_func__dyld_func_lookup" = xyes
; then :
12678 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12680 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12685 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12687 cygwin
* | mingw
* | os2
* | pw32
*)
12688 ac_fn_c_check_decl
"$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12690 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
; then :
12696 cat >>confdefs.h
<<_ACEOF
12697 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
12700 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12705 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12706 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12707 $as_echo_n "(cached) " >&6
12709 ac_check_lib_save_LIBS
=$LIBS
12711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12714 /* Override any GCC internal prototype to avoid an error.
12715 Use char because int might match the return type of a GCC
12716 builtin and then its argument prototype would still apply. */
12724 return dld_link ();
12729 if ac_fn_c_try_link
"$LINENO"; then :
12730 ac_cv_lib_dld_dld_link
=yes
12732 ac_cv_lib_dld_dld_link
=no
12734 rm -f core conftest.err conftest.
$ac_objext \
12735 conftest
$ac_exeext conftest.
$ac_ext
12736 LIBS
=$ac_check_lib_save_LIBS
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12739 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12740 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12742 $as_echo "#define HAVE_DLD 1" >>confdefs.h
12744 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12751 if test -n "$LT_DLLOADERS"
12753 for lt_loader
in $LT_DLLOADERS; do
12754 LT_DLPREOPEN
="$LT_DLPREOPEN-dlpreopen $lt_loader "
12757 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
12762 LIBADD_DL
="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12766 ac_cpp
='$CPP $CPPFLAGS'
12767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12773 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12774 if ${lt_cv_sys_symbol_underscore+:} false
; then :
12775 $as_echo_n "(cached) " >&6
12777 lt_cv_sys_symbol_underscore
=no
12778 cat > conftest.
$ac_ext <<_LT_EOF
12779 void nm_test_func(){}
12780 int main(){nm_test_func;return 0;}
12782 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12783 (eval $ac_compile) 2>&5
12785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12786 test $ac_status = 0; }; then
12787 # Now try to grab the symbols.
12788 ac_nlist
=conftest.nm
12789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
12790 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
12792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12793 test $ac_status = 0; } && test -s "$ac_nlist"; then
12794 # See whether the symbols have a leading underscore.
12795 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
12796 lt_cv_sys_symbol_underscore
=yes
12798 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
12801 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12805 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12808 echo "configure: failed program was:" >&5
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12815 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12816 sys_symbol_underscore
=$lt_cv_sys_symbol_underscore
12819 if test x
"$lt_cv_sys_symbol_underscore" = xyes
; then
12820 if test x
"$libltdl_cv_func_dlopen" = xyes
||
12821 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12823 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12824 if ${libltdl_cv_need_uscore+:} false
; then :
12825 $as_echo_n "(cached) " >&6
12827 libltdl_cv_need_uscore
=unknown
12829 LIBS
="$LIBS $LIBADD_DLOPEN"
12830 if test "$cross_compiling" = yes; then :
12831 libltdl_cv_need_uscore
=cross
12833 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12834 lt_status
=$lt_dlunknown
12835 cat > conftest.
$ac_ext <<_LT_EOF
12836 #line $LINENO "configure"
12837 #include "confdefs.h"
12846 # define LT_DLGLOBAL RTLD_GLOBAL
12849 # define LT_DLGLOBAL DL_GLOBAL
12851 # define LT_DLGLOBAL 0
12855 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12856 find out it does not work in some platform. */
12857 #ifndef LT_DLLAZY_OR_NOW
12859 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12862 # define LT_DLLAZY_OR_NOW DL_LAZY
12865 # define LT_DLLAZY_OR_NOW RTLD_NOW
12868 # define LT_DLLAZY_OR_NOW DL_NOW
12870 # define LT_DLLAZY_OR_NOW 0
12877 /* When -fvisbility=hidden is used, assume the code has been annotated
12878 correspondingly for the symbols needed. */
12879 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12880 int fnord () __attribute__((visibility("default")));
12883 int fnord () { return 42; }
12886 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12887 int status = $lt_dlunknown;
12891 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12894 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12895 else puts (dlerror ());
12897 /* dlclose (self); */
12905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12906 (eval $ac_link) 2>&5
12908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12909 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12910 (.
/conftest
; exit; ) >&5 2>/dev
/null
12912 case x
$lt_status in
12913 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
12914 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
12915 x
$lt_dlunknown|x
*) ;;
12918 # compilation failed
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
12928 $as_echo "$libltdl_cv_need_uscore" >&6; }
12932 if test x
"$libltdl_cv_need_uscore" = xyes
; then
12934 $as_echo "#define NEED_USCORE 1" >>confdefs.h
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12939 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12940 if ${lt_cv_sys_dlopen_deplibs+:} false
; then :
12941 $as_echo_n "(cached) " >&6
12943 # PORTME does your system automatically load deplibs for dlopen?
12944 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12945 # For now, we just catch OSes we know something about -- in the
12946 # future, we'll try test this programmatically.
12947 lt_cv_sys_dlopen_deplibs
=unknown
12949 aix3
*|aix4.1.
*|aix4.2.
*)
12950 # Unknown whether this is true for these versions of AIX, but
12951 # we want this `case' here to explicitly catch those versions.
12952 lt_cv_sys_dlopen_deplibs
=unknown
12955 lt_cv_sys_dlopen_deplibs
=yes
12960 lt_cv_sys_dlopen_deplibs
=no
12965 # Assuming the user has installed a libdl from somewhere, this is true
12966 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12967 lt_cv_sys_dlopen_deplibs
=yes
12969 freebsd
* | dragonfly
*)
12970 lt_cv_sys_dlopen_deplibs
=yes
12972 gnu
* | linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12973 # GNU and its variants, using gnu ld.so (Glibc)
12974 lt_cv_sys_dlopen_deplibs
=yes
12977 lt_cv_sys_dlopen_deplibs
=yes
12980 lt_cv_sys_dlopen_deplibs
=yes
12982 irix
[12345]*|irix6.
[01]*)
12983 # Catch all versions of IRIX before 6.2, and indicate that we don't
12984 # know how it worked for any of those versions.
12985 lt_cv_sys_dlopen_deplibs
=unknown
12988 # The case above catches anything before 6.2, and it's known that
12989 # at 6.2 and later dlopen does load deplibs.
12990 lt_cv_sys_dlopen_deplibs
=yes
12992 netbsd
* | netbsdelf
*-gnu)
12993 lt_cv_sys_dlopen_deplibs
=yes
12996 lt_cv_sys_dlopen_deplibs
=yes
12999 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
13000 # it did *not* use an RPATH in a shared library to find objects the
13001 # library depends on, so we explicitly say `no'.
13002 lt_cv_sys_dlopen_deplibs
=no
13004 osf5.0
|osf5.0a
|osf5.1
)
13005 # dlopen *does* load deplibs and with the right loader patch applied
13006 # it even uses RPATH in a shared library to search for shared objects
13007 # that the library depends on, but there's no easy way to know if that
13008 # patch is installed. Since this is the case, all we can really
13009 # say is unknown -- it depends on the patch being installed. If
13010 # it is, this changes to `yes'. Without it, it would be `no'.
13011 lt_cv_sys_dlopen_deplibs
=unknown
13014 # the two cases above should catch all versions of osf <= 5.1. Read
13015 # the comments above for what we know about them.
13016 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
13017 # is used to find them so we can finally say `yes'.
13018 lt_cv_sys_dlopen_deplibs
=yes
13021 lt_cv_sys_dlopen_deplibs
=yes
13024 lt_cv_sys_dlopen_deplibs
=yes
13026 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13027 libltdl_cv_sys_dlopen_deplibs
=yes
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
13033 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
13034 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
13036 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
13042 for ac_header
in argz.h
13044 ac_fn_c_check_header_compile
"$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
13046 if test "x$ac_cv_header_argz_h" = xyes
; then :
13047 cat >>confdefs.h
<<_ACEOF
13048 #define HAVE_ARGZ_H 1
13056 ac_fn_c_check_type
"$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
13060 if test "x$ac_cv_type_error_t" = xyes
; then :
13062 cat >>confdefs.h
<<_ACEOF
13063 #define HAVE_ERROR_T 1
13069 $as_echo "#define error_t int" >>confdefs.h
13072 $as_echo "#define __error_t_defined 1" >>confdefs.h
13078 for ac_func
in argz_add argz_append argz_count argz_create_sep argz_insert \
13079 argz_next argz_stringify
13081 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13082 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13083 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13084 cat >>confdefs.h
<<_ACEOF
13085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13091 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
13097 if test -z "$ARGZ_H"; then :
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13099 $as_echo_n "checking if argz actually works... " >&6; }
13100 if ${lt_cv_sys_argz_works+:} false
; then :
13101 $as_echo_n "(cached) " >&6
13103 case $host_os in #(
13105 lt_cv_sys_argz_works
=no
13106 if test "$cross_compiling" != no
; then
13107 lt_cv_sys_argz_works
="guessing no"
13109 lt_sed_extract_leading_digits
='s/^\([0-9\.]*\).*/\1/'
13112 set x
`uname -r | sed -e "$lt_sed_extract_leading_digits"`
13117 if test "$lt_os_major" -gt 1 \
13118 || { test "$lt_os_major" -eq 1 \
13119 && { test "$lt_os_minor" -gt 5 \
13120 || { test "$lt_os_minor" -eq 5 \
13121 && test "$lt_os_micro" -gt 24; }; }; }; then
13122 lt_cv_sys_argz_works
=yes
13126 *) lt_cv_sys_argz_works
=yes ;;
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13130 $as_echo "$lt_cv_sys_argz_works" >&6; }
13131 if test "$lt_cv_sys_argz_works" = yes; then :
13133 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13139 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13147 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13148 if ${libltdl_cv_preloaded_symbols+:} false
; then :
13149 $as_echo_n "(cached) " >&6
13151 if test -n "$lt_cv_sys_global_symbol_pipe"; then
13152 libltdl_cv_preloaded_symbols
=yes
13154 libltdl_cv_preloaded_symbols
=no
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13159 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
13160 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
13162 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13179 # Check whether --with-included_ltdl was given.
13180 if test "${with_included_ltdl+set}" = set; then :
13181 withval
=$with_included_ltdl;
13185 if test "x$with_included_ltdl" != xyes
; then
13186 # We are not being forced to use the included libltdl sources, so
13187 # decide whether there is a useful installed version we can use.
13188 ac_fn_c_check_header_compile
"$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
13191 if test "x$ac_cv_header_ltdl_h" = xyes
; then :
13192 ac_fn_c_check_decl
"$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
13195 if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
; then :
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
13197 $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
13198 if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false
; then :
13199 $as_echo_n "(cached) " >&6
13201 ac_check_lib_save_LIBS
=$LIBS
13202 LIBS
="-lltdl $LIBS"
13203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13206 /* Override any GCC internal prototype to avoid an error.
13207 Use char because int might match the return type of a GCC
13208 builtin and then its argument prototype would still apply. */
13212 char lt_dladvise_preload ();
13216 return lt_dladvise_preload ();
13221 if ac_fn_c_try_link
"$LINENO"; then :
13222 ac_cv_lib_ltdl_lt_dladvise_preload
=yes
13224 ac_cv_lib_ltdl_lt_dladvise_preload
=no
13226 rm -f core conftest.err conftest.
$ac_objext \
13227 conftest
$ac_exeext conftest.
$ac_ext
13228 LIBS
=$ac_check_lib_save_LIBS
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
13231 $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
13232 if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
; then :
13233 with_included_ltdl
=no
13235 with_included_ltdl
=yes
13239 with_included_ltdl
=yes
13243 with_included_ltdl
=yes
13252 # Check whether --with-ltdl_include was given.
13253 if test "${with_ltdl_include+set}" = set; then :
13254 withval
=$with_ltdl_include;
13258 if test -n "$with_ltdl_include"; then
13259 if test -f "$with_ltdl_include/ltdl.h"; then :
13261 as_fn_error $?
"invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13264 with_ltdl_include
=no
13268 # Check whether --with-ltdl_lib was given.
13269 if test "${with_ltdl_lib+set}" = set; then :
13270 withval
=$with_ltdl_lib;
13274 if test -n "$with_ltdl_lib"; then
13275 if test -f "$with_ltdl_lib/libltdl.la"; then :
13277 as_fn_error $?
"invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13283 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13285 case $enable_ltdl_convenience in
13286 no
) as_fn_error $?
"this package needs a convenience libltdl" "$LINENO" 5 ;;
13287 "") enable_ltdl_convenience
=yes
13288 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
13290 LIBLTDL
='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13292 LTDLINCL
='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13298 # For backwards non-gettext consistent compatibility...
13299 INCLTDL
="$LTDLINCL"
13304 # If the included ltdl is not to be used, then use the
13305 # preinstalled libltdl we found.
13307 $as_echo "#define HAVE_LTDL 1" >>confdefs.h
13314 as_fn_error $?
"\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13316 *) with_included_ltdl
=no
13317 LIBLTDL
="-L$with_ltdl_lib -lltdl"
13319 LTDLINCL
="-I$with_ltdl_include"
13322 INCLTDL
="$LTDLINCL"
13324 # Report our decision...
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
13326 $as_echo_n "checking where to find libltdl headers... " >&6; }
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
13328 $as_echo "$LTDLINCL" >&6; }
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
13330 $as_echo_n "checking where to find libltdl library... " >&6; }
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
13332 $as_echo "$LIBLTDL" >&6; }
13336 # Check whether --enable-ltdl-install was given.
13337 if test "${enable_ltdl_install+set}" = set; then :
13338 enableval
=$enable_ltdl_install;
13342 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13344 *) enable_ltdl_convenience
=yes ;;
13347 if test x
"${enable_ltdl_install-no}" != xno
; then
13349 INSTALL_LTDL_FALSE
='#'
13351 INSTALL_LTDL_TRUE
='#'
13352 INSTALL_LTDL_FALSE
=
13355 if test x
"${enable_ltdl_convenience-no}" != xno
; then
13356 CONVENIENCE_LTDL_TRUE
=
13357 CONVENIENCE_LTDL_FALSE
='#'
13359 CONVENIENCE_LTDL_TRUE
='#'
13360 CONVENIENCE_LTDL_FALSE
=
13365 subdirs
="$subdirs libltdl"
13370 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
13371 # the user used. This is so that ltdl.h can pick up the parent projects
13372 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
13373 # definitions required by ltdl.c.
13374 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
13378 for ac_header
in unistd.h dl.h sys
/dl.h dld.h mach
-o/dyld.h dirent.h
13380 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13381 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13383 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13384 cat >>confdefs.h
<<_ACEOF
13385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13393 for ac_func
in closedir opendir readdir
13395 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13396 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13397 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13398 cat >>confdefs.h
<<_ACEOF
13399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13405 _LT_LIBOBJS
="$_LT_LIBOBJS lt__dirent.$ac_objext"
13410 for ac_func
in strlcat strlcpy
13412 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13413 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13414 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13415 cat >>confdefs.h
<<_ACEOF
13416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13422 _LT_LIBOBJS
="$_LT_LIBOBJS lt__strl.$ac_objext"
13429 cat >>confdefs.h
<<_ACEOF
13430 #define LT_LIBEXT "$libext"
13435 eval "lt_libprefix=\"$libname_spec\""
13437 cat >>confdefs.h
<<_ACEOF
13438 #define LT_LIBPREFIX "$lt_libprefix"
13443 eval "LTDLOPEN=\"$libname_spec\""
13452 # Only expand once:
13456 build_ltdl
=$with_included_ltdl
13457 if test x
"$build_ltdl" = x
"yes"; then
13459 BUILD_LTDL_FALSE
='#'
13461 BUILD_LTDL_TRUE
='#'
13466 if test "$ac_cv_c_compiler_gnu" = yes; then
13467 IRC_CFLAGS
="$IRC_CFLAGS -O0 -Wall"
13470 if test "$ac_cv_prog_cc_g" = yes; then
13471 IRC_CFLAGS
="$IRC_CFLAGS -g"
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
13475 $as_echo_n "checking for /dev/null... " >&6; }
13476 if test -c /dev
/null
; then
13478 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13481 $as_echo "yes" >&6; }
13484 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
13487 $as_echo "no - using devnull.log" >&6; }
13490 if test ! -z "$CFLAGS"; then
13491 IRC_CFLAGS
="$IRC_CFLAGS $CFLAGS"
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13495 $as_echo_n "checking for library containing strerror... " >&6; }
13496 if ${ac_cv_search_strerror+:} false
; then :
13497 $as_echo_n "(cached) " >&6
13499 ac_func_search_save_LIBS
=$LIBS
13500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13503 /* Override any GCC internal prototype to avoid an error.
13504 Use char because int might match the return type of a GCC
13505 builtin and then its argument prototype would still apply. */
13513 return strerror ();
13518 for ac_lib
in '' cposix
; do
13519 if test -z "$ac_lib"; then
13520 ac_res
="none required"
13523 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13525 if ac_fn_c_try_link
"$LINENO"; then :
13526 ac_cv_search_strerror
=$ac_res
13528 rm -f core conftest.err conftest.
$ac_objext \
13530 if ${ac_cv_search_strerror+:} false
; then :
13534 if ${ac_cv_search_strerror+:} false
; then :
13537 ac_cv_search_strerror
=no
13539 rm conftest.
$ac_ext
13540 LIBS
=$ac_func_search_save_LIBS
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13543 $as_echo "$ac_cv_search_strerror" >&6; }
13544 ac_res
=$ac_cv_search_strerror
13545 if test "$ac_res" != no
; then :
13546 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13551 $as_echo_n "checking for inline... " >&6; }
13552 if ${ac_cv_c_inline+:} false
; then :
13553 $as_echo_n "(cached) " >&6
13556 for ac_kw
in inline __inline__ __inline
; do
13557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13559 #ifndef __cplusplus
13561 static $ac_kw foo_t static_foo () {return 0; }
13562 $ac_kw foo_t foo () {return 0; }
13566 if ac_fn_c_try_compile
"$LINENO"; then :
13567 ac_cv_c_inline
=$ac_kw
13569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13570 test "$ac_cv_c_inline" != no
&& break
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13575 $as_echo "$ac_cv_c_inline" >&6; }
13577 case $ac_cv_c_inline in
13580 case $ac_cv_c_inline in
13582 *) ac_val
=$ac_cv_c_inline;;
13584 cat >>confdefs.h
<<_ACEOF
13585 #ifndef __cplusplus
13586 #define inline $ac_val
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
13593 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
13595 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
13596 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
13597 $as_echo_n "(cached) " >&6
13599 cat >conftest.
make <<\_ACEOF
13602 @
echo '@@@%%%=$(MAKE)=@@@%%%'
13604 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13605 case `${MAKE-make} -f conftest.make 2>/dev/null` in
13606 *@@@
%%%=?
*=@@@
%%%*)
13607 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
13609 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
13611 rm -f conftest.
make
13613 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13615 $as_echo "yes" >&6; }
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13619 $as_echo "no" >&6; }
13620 SET_MAKE
="MAKE=${MAKE-make}"
13624 # Extract the first word of "rm", so it can be a program name with args.
13625 set dummy
rm; ac_word
=$2
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13627 $as_echo_n "checking for $ac_word... " >&6; }
13628 if ${ac_cv_path_RM+:} false
; then :
13629 $as_echo_n "(cached) " >&6
13633 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
13636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13637 for as_dir
in $PATH
13640 test -z "$as_dir" && as_dir
=.
13641 for ac_exec_ext
in '' $ac_executable_extensions; do
13642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13643 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
13644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13655 if test -n "$RM"; then
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
13657 $as_echo "$RM" >&6; }
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13660 $as_echo "no" >&6; }
13664 # Extract the first word of "cp", so it can be a program name with args.
13665 set dummy
cp; ac_word
=$2
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13667 $as_echo_n "checking for $ac_word... " >&6; }
13668 if ${ac_cv_path_CP+:} false
; then :
13669 $as_echo_n "(cached) " >&6
13673 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13677 for as_dir
in $PATH
13680 test -z "$as_dir" && as_dir
=.
13681 for ac_exec_ext
in '' $ac_executable_extensions; do
13682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13683 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13695 if test -n "$CP"; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
13697 $as_echo "$CP" >&6; }
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13700 $as_echo "no" >&6; }
13704 # Extract the first word of "mv", so it can be a program name with args.
13705 set dummy
mv; ac_word
=$2
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13707 $as_echo_n "checking for $ac_word... " >&6; }
13708 if ${ac_cv_path_MV+:} false
; then :
13709 $as_echo_n "(cached) " >&6
13713 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
13716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13717 for as_dir
in $PATH
13720 test -z "$as_dir" && as_dir
=.
13721 for ac_exec_ext
in '' $ac_executable_extensions; do
13722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13723 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
13724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13735 if test -n "$MV"; then
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
13737 $as_echo "$MV" >&6; }
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13740 $as_echo "no" >&6; }
13744 # Extract the first word of "ln", so it can be a program name with args.
13745 set dummy
ln; ac_word
=$2
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13747 $as_echo_n "checking for $ac_word... " >&6; }
13748 if ${ac_cv_path_LN+:} false
; then :
13749 $as_echo_n "(cached) " >&6
13753 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
13756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13757 for as_dir
in $PATH
13760 test -z "$as_dir" && as_dir
=.
13761 for ac_exec_ext
in '' $ac_executable_extensions; do
13762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13763 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
13764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13775 if test -n "$LN"; then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
13777 $as_echo "$LN" >&6; }
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13780 $as_echo "no" >&6; }
13784 # Extract the first word of "sed", so it can be a program name with args.
13785 set dummy
sed; ac_word
=$2
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13787 $as_echo_n "checking for $ac_word... " >&6; }
13788 if ${ac_cv_path_SED+:} false
; then :
13789 $as_echo_n "(cached) " >&6
13793 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
13796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13797 for as_dir
in $PATH
13800 test -z "$as_dir" && as_dir
=.
13801 for ac_exec_ext
in '' $ac_executable_extensions; do
13802 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13803 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
13804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13814 SED
=$ac_cv_path_SED
13815 if test -n "$SED"; then
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
13817 $as_echo "$SED" >&6; }
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13820 $as_echo "no" >&6; }
13824 # Extract the first word of "ar", so it can be a program name with args.
13825 set dummy
ar; ac_word
=$2
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13827 $as_echo_n "checking for $ac_word... " >&6; }
13828 if ${ac_cv_path_AR+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13833 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
13836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13837 for as_dir
in $PATH
13840 test -z "$as_dir" && as_dir
=.
13841 for ac_exec_ext
in '' $ac_executable_extensions; do
13842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13843 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
13844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13855 if test -n "$AR"; then
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13857 $as_echo "$AR" >&6; }
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13860 $as_echo "no" >&6; }
13864 # Extract the first word of "ld", so it can be a program name with args.
13865 set dummy ld
; ac_word
=$2
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13867 $as_echo_n "checking for $ac_word... " >&6; }
13868 if ${ac_cv_path_LD+:} false
; then :
13869 $as_echo_n "(cached) " >&6
13873 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
13876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13877 for as_dir
in $PATH
13880 test -z "$as_dir" && as_dir
=.
13881 for ac_exec_ext
in '' $ac_executable_extensions; do
13882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13883 ac_cv_path_LD
="$as_dir/$ac_word$ac_exec_ext"
13884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13895 if test -n "$LD"; then
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13897 $as_echo "$LD" >&6; }
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13900 $as_echo "no" >&6; }
13904 # Extract the first word of "ranlib", so it can be a program name with args.
13905 set dummy ranlib
; ac_word
=$2
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13907 $as_echo_n "checking for $ac_word... " >&6; }
13908 if ${ac_cv_path_RANLIB+:} false
; then :
13909 $as_echo_n "(cached) " >&6
13913 ac_cv_path_RANLIB
="$RANLIB" # Let the user override the test with a path.
13916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13917 for as_dir
in $PATH
13920 test -z "$as_dir" && as_dir
=.
13921 for ac_exec_ext
in '' $ac_executable_extensions; do
13922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13923 ac_cv_path_RANLIB
="$as_dir/$ac_word$ac_exec_ext"
13924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13934 RANLIB
=$ac_cv_path_RANLIB
13935 if test -n "$RANLIB"; then
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
13937 $as_echo "$RANLIB" >&6; }
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13940 $as_echo "no" >&6; }
13944 # Extract the first word of "touch", so it can be a program name with args.
13945 set dummy
touch; ac_word
=$2
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13947 $as_echo_n "checking for $ac_word... " >&6; }
13948 if ${ac_cv_path_TOUCH+:} false
; then :
13949 $as_echo_n "(cached) " >&6
13953 ac_cv_path_TOUCH
="$TOUCH" # Let the user override the test with a path.
13956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13957 for as_dir
in $PATH
13960 test -z "$as_dir" && as_dir
=.
13961 for ac_exec_ext
in '' $ac_executable_extensions; do
13962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13963 ac_cv_path_TOUCH
="$as_dir/$ac_word$ac_exec_ext"
13964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13974 TOUCH
=$ac_cv_path_TOUCH
13975 if test -n "$TOUCH"; then
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
13977 $as_echo "$TOUCH" >&6; }
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13980 $as_echo "no" >&6; }
13985 for ac_prog
in 'bison -y' byacc
13987 # Extract the first word of "$ac_prog", so it can be a program name with args.
13988 set dummy
$ac_prog; ac_word
=$2
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13990 $as_echo_n "checking for $ac_word... " >&6; }
13991 if ${ac_cv_prog_YACC+:} false
; then :
13992 $as_echo_n "(cached) " >&6
13994 if test -n "$YACC"; then
13995 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
13997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13998 for as_dir
in $PATH
14001 test -z "$as_dir" && as_dir
=.
14002 for ac_exec_ext
in '' $ac_executable_extensions; do
14003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14004 ac_cv_prog_YACC
="$ac_prog"
14005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14014 YACC
=$ac_cv_prog_YACC
14015 if test -n "$YACC"; then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
14017 $as_echo "$YACC" >&6; }
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14020 $as_echo "no" >&6; }
14024 test -n "$YACC" && break
14026 test -n "$YACC" || YACC
="yacc"
14029 if test "$YACC" = "yacc" -a -z "`which $YACC 2>/dev/null`"; then
14030 as_fn_error $?
"could not locate a suitable parser generator; install bison, yacc, or byacc" "$LINENO" 5
14033 for ac_prog
in flex
lex
14035 # Extract the first word of "$ac_prog", so it can be a program name with args.
14036 set dummy
$ac_prog; ac_word
=$2
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14038 $as_echo_n "checking for $ac_word... " >&6; }
14039 if ${ac_cv_prog_LEX+:} false
; then :
14040 $as_echo_n "(cached) " >&6
14042 if test -n "$LEX"; then
14043 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
14045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14046 for as_dir
in $PATH
14049 test -z "$as_dir" && as_dir
=.
14050 for ac_exec_ext
in '' $ac_executable_extensions; do
14051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14052 ac_cv_prog_LEX
="$ac_prog"
14053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14062 LEX
=$ac_cv_prog_LEX
14063 if test -n "$LEX"; then
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
14065 $as_echo "$LEX" >&6; }
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14068 $as_echo "no" >&6; }
14072 test -n "$LEX" && break
14074 test -n "$LEX" || LEX
=":"
14076 if test "x$LEX" != "x:"; then
14077 cat >conftest.l
<<_ACEOF
14083 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
14084 yyless ((input () != 0)); }
14085 f { unput (yytext[0]); }
14086 . { BEGIN INITIAL; }
14088 #ifdef YYTEXT_POINTER
14089 extern char *yytext;
14094 return ! yylex () + ! yywrap ();
14097 { { ac_try
="$LEX conftest.l"
14098 case "(($ac_try" in
14099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14100 *) ac_try_echo=$ac_try;;
14102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14103 $as_echo "$ac_try_echo"; } >&5
14104 (eval "$LEX conftest.l") 2>&5
14106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14107 test $ac_status = 0; }
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
14109 $as_echo_n "checking lex output file root... " >&6; }
14110 if ${ac_cv_prog_lex_root+:} false; then :
14111 $as_echo_n "(cached) " >&6
14114 if test -f lex.yy.c; then
14115 ac_cv_prog_lex_root=lex.yy
14116 elif test -f lexyy.c; then
14117 ac_cv_prog_lex_root=lexyy
14119 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
14123 $as_echo "$ac_cv_prog_lex_root" >&6; }
14124 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
14126 if test -z "${LEXLIB+set}"; then
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
14128 $as_echo_n "checking lex library... " >&6; }
14129 if ${ac_cv_lib_lex+:} false; then :
14130 $as_echo_n "(cached) " >&6
14134 ac_cv_lib_lex='none needed'
14135 for ac_lib in '' -lfl -ll; do
14136 LIBS="$ac_lib $ac_save_LIBS"
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 `cat $LEX_OUTPUT_ROOT.c
`
14141 if ac_fn_c_try_link "$LINENO"; then :
14142 ac_cv_lib_lex=$ac_lib
14144 rm -f core conftest.err conftest.$ac_objext \
14145 conftest$ac_exeext conftest.$ac_ext
14146 test "$ac_cv_lib_lex" != 'none needed' && break
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
14152 $as_echo "$ac_cv_lib_lex" >&6; }
14153 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
14158 $as_echo_n "checking whether yytext is a pointer... " >&6; }
14159 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
14160 $as_echo_n "(cached) " >&6
14162 # POSIX says lex can declare yytext either as a pointer or an array; the
14163 # default is implementation-dependent. Figure out which it is, since
14164 # not all implementations provide the %pointer and %array declarations.
14165 ac_cv_prog_lex_yytext_pointer=no
14167 LIBS="$LEXLIB $ac_save_LIBS"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14171 #define YYTEXT_POINTER 1
14172 `cat $LEX_OUTPUT_ROOT.c
`
14174 if ac_fn_c_try_link "$LINENO"; then :
14175 ac_cv_prog_lex_yytext_pointer=yes
14177 rm -f core conftest.err conftest.$ac_objext \
14178 conftest$ac_exeext conftest.$ac_ext
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
14183 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
14184 if test $ac_cv_prog_lex_yytext_pointer = yes; then
14186 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
14189 rm -f conftest.l $LEX_OUTPUT_ROOT.c
14193 if test "$LEX" = ":"; then
14194 as_fn_error $? "could not locate a suitable lexical generator, install flex or lex." "$LINENO" 5
14197 # Check whether --enable-fhs-paths was given.
14198 if test "${enable_fhs_paths+set}" = set; then :
14199 enableval=$enable_fhs_paths;
14201 if test "$libexecdir" = '${exec_prefix}/libexec' && \
14202 test "$localstatedir" = '${prefix}/var' && \
14203 test "$libdir" = '${exec_prefix}/lib'; then :
14204 enable_fhs_paths=no
14206 enable_fhs_paths=yes
14211 if test "x$enable_fhs_paths" = "xyes"; then :
14212 pkglibexecdir='${libexecdir}/${PACKAGE_TARNAME}'
14213 rundir=${rundir-'${prefix}/run'}
14214 pkgrundir='${rundir}/${PACKAGE_TARNAME}'
14215 pkglocalstatedir='${localstatedir}/${PACKAGE_TARNAME}'
14217 libexecdir='${bindir}'
14218 pkglibexecdir='${libexecdir}'
14219 rundir='${sysconfdir}'
14220 pkgrundir='${rundir}'
14221 localstatedir='${prefix}'
14222 pkglocalstatedir='${sysconfdir}'
14224 pkglibdir='${libdir}/${PACKAGE_TARNAME}'
14230 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
14231 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14232 last_ac_define_dir=`eval echo $pkglocalstatedir`
14233 ac_define_dir=`eval echo $last_ac_define_dir`
14234 ac_define_dir_counter=0
14235 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
14236 last_ac_define_dir="$ac_define_dir"
14237 ac_define_dir=`eval echo $last_ac_define_dir`
14238 as_fn_arith $ac_define_dir_counter + 1 && ac_define_dir_counter=$as_val
14239 if test "x$ac_define_dir_counter" = x128; then :
14240 as_fn_error $? "detected recusive directory expansion when expanding PKGLOCALSTATEDIR=$pkglocalstatedir: $ac_define_dir" "$LINENO" 5
14244 PKGLOCALSTATEDIR="$ac_define_dir"
14247 cat >>confdefs.h <<_ACEOF
14248 #define PKGLOCALSTATEDIR "$ac_define_dir"
14254 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
14255 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14256 last_ac_define_dir=`eval echo $pkglibexecdir`
14257 ac_define_dir=`eval echo $last_ac_define_dir`
14258 ac_define_dir_counter=0
14259 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
14260 last_ac_define_dir="$ac_define_dir"
14261 ac_define_dir=`eval echo $last_ac_define_dir`
14262 as_fn_arith $ac_define_dir_counter + 1 && ac_define_dir_counter=$as_val
14263 if test "x$ac_define_dir_counter" = x128; then :
14264 as_fn_error $? "detected recusive directory expansion when expanding PKGLIBEXECDIR=$pkglibexecdir: $ac_define_dir" "$LINENO" 5
14268 PKGLIBEXECDIR="$ac_define_dir"
14271 cat >>confdefs.h <<_ACEOF
14272 #define PKGLIBEXECDIR "$ac_define_dir"
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14278 $as_echo_n "checking for ANSI C header files... " >&6; }
14279 if ${ac_cv_header_stdc+:} false; then :
14280 $as_echo_n "(cached) " >&6
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 #include <stdlib.h>
14285 #include <stdarg.h>
14286 #include <string.h>
14297 if ac_fn_c_try_compile "$LINENO"; then :
14298 ac_cv_header_stdc=yes
14300 ac_cv_header_stdc=no
14302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14304 if test $ac_cv_header_stdc = yes; then
14305 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14308 #include <string.h>
14311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14312 $EGREP "memchr" >/dev/null 2>&1; then :
14315 ac_cv_header_stdc=no
14321 if test $ac_cv_header_stdc = yes; then
14322 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14325 #include <stdlib.h>
14328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14329 $EGREP "free" >/dev/null 2>&1; then :
14332 ac_cv_header_stdc=no
14338 if test $ac_cv_header_stdc = yes; then
14339 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14340 if test "$cross_compiling" = yes; then :
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14346 #include <stdlib.h>
14347 #if ((' ' & 0x0FF) == 0x020)
14348 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14349 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14351 # define ISLOWER(c) \
14352 (('a' <= (c) && (c) <= 'i') \
14353 || ('j' <= (c) && (c) <= 'r') \
14354 || ('s' <= (c) && (c) <= 'z'))
14355 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14358 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14363 for (i = 0; i < 256; i++)
14364 if (XOR (islower (i), ISLOWER (i))
14365 || toupper (i) != TOUPPER (i))
14370 if ac_fn_c_try_run "$LINENO"; then :
14373 ac_cv_header_stdc=no
14375 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14376 conftest.$ac_objext conftest.beam conftest.$ac_ext
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14382 $as_echo "$ac_cv_header_stdc" >&6; }
14383 if test $ac_cv_header_stdc = yes; then
14385 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14390 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
14392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14393 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14394 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14395 cat >>confdefs.h <<_ACEOF
14396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14406 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14407 if ${ac_cv_c_const+:} false; then :
14408 $as_echo_n "(cached) " >&6
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14417 #ifndef __cplusplus
14418 /* Ultrix mips cc rejects this sort of thing. */
14419 typedef int charset[2];
14420 const charset cs = { 0, 0 };
14421 /* SunOS 4.1.1 cc rejects this. */
14422 char const *const *pcpcc;
14424 /* NEC SVR4.0.2 mips cc rejects this. */
14425 struct point {int x, y;};
14426 static struct point const zero = {0,0};
14427 /* AIX XL C 1.02.0.0 rejects this.
14428 It does not let you subtract one const X* pointer from another in
14429 an arm of an if-expression whose if-part is not a constant
14431 const char *g = "string";
14432 pcpcc = &g + (g ? g-g : 0);
14433 /* HPUX 7.0 cc rejects these. */
14435 ppc = (char**) pcpcc;
14436 pcpcc = (char const *const *) ppc;
14437 { /* SCO 3.2v4 cc rejects this sort of thing. */
14440 char const *s = 0 ? (char *) 0 : (char const *) 0;
14445 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14446 int x[] = {25, 17};
14447 const int *foo = &x[0];
14450 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14451 typedef const int *iptr;
14455 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14456 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14457 struct s { int j; const int *ap[3]; } bx;
14458 struct s *b = &bx; b->j = 5;
14460 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14461 const int foo = 10;
14462 if (!foo) return 0;
14464 return !cs[0] && !zero.x;
14471 if ac_fn_c_try_compile "$LINENO"; then :
14476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14479 $as_echo "$ac_cv_c_const" >&6; }
14480 if test $ac_cv_c_const = no; then
14482 $as_echo "#define const /**/" >>confdefs.h
14486 if test "$ac_cv_header_machine_endian_h" = "no" ; then
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14488 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14489 if ${ac_cv_c_bigendian+:} false; then :
14490 $as_echo_n "(cached) " >&6
14492 ac_cv_c_bigendian=unknown
14493 # See if we're dealing with a universal compiler.
14494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14496 #ifndef __APPLE_CC__
14497 not a universal capable compiler
14502 if ac_fn_c_try_compile "$LINENO"; then :
14504 # Check for potential -arch flags. It is not universal unless
14505 # there are at least two -arch flags with different values.
14508 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14509 if test -n "$ac_prev"; then
14511 i?86 | x86_64 | ppc | ppc64)
14512 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
14515 ac_cv_c_bigendian=universal
14521 elif test "x$ac_word" = "x-arch"; then
14526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14527 if test $ac_cv_c_bigendian = unknown; then
14528 # See if sys/param.h defines the BYTE_ORDER macro.
14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14531 #include <sys/types.h>
14532 #include <sys/param.h>
14537 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14538 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14540 bogus endian macros
14547 if ac_fn_c_try_compile "$LINENO"; then :
14548 # It does; now see whether it defined to BIG_ENDIAN or not.
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 #include <sys/types.h>
14552 #include <sys/param.h>
14557 #if BYTE_ORDER != BIG_ENDIAN
14565 if ac_fn_c_try_compile "$LINENO"; then :
14566 ac_cv_c_bigendian=yes
14568 ac_cv_c_bigendian=no
14570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14574 if test $ac_cv_c_bigendian = unknown; then
14575 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h. */
14578 #include <limits.h>
14583 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14584 bogus endian macros
14591 if ac_fn_c_try_compile "$LINENO"; then :
14592 # It does; now see whether it defined to _BIG_ENDIAN or not.
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h. */
14595 #include <limits.h>
14600 #ifndef _BIG_ENDIAN
14608 if ac_fn_c_try_compile "$LINENO"; then :
14609 ac_cv_c_bigendian=yes
14611 ac_cv_c_bigendian=no
14613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14617 if test $ac_cv_c_bigendian = unknown; then
14618 # Compile a test program.
14619 if test "$cross_compiling" = yes; then :
14620 # Try to guess by grepping values from an object file.
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14623 short int ascii_mm[] =
14624 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14625 short int ascii_ii[] =
14626 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14627 int use_ascii (int i) {
14628 return ascii_mm[i] + ascii_ii[i];
14630 short int ebcdic_ii[] =
14631 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14632 short int ebcdic_mm[] =
14633 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14634 int use_ebcdic (int i) {
14635 return ebcdic_mm[i] + ebcdic_ii[i];
14642 return use_ascii (foo) == use_ebcdic (foo);
14647 if ac_fn_c_try_compile "$LINENO"; then :
14648 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14649 ac_cv_c_bigendian=yes
14651 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14652 if test "$ac_cv_c_bigendian" = unknown; then
14653 ac_cv_c_bigendian=no
14655 # finding both strings is unlikely to happen, but who knows?
14656 ac_cv_c_bigendian=unknown
14660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664 $ac_includes_default
14669 /* Are we little or big endian? From Harbison&Steele. */
14673 char c[sizeof (long int)];
14676 return u.c[sizeof (long int) - 1] == 1;
14682 if ac_fn_c_try_run "$LINENO"; then :
14683 ac_cv_c_bigendian=no
14685 ac_cv_c_bigendian=yes
14687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14688 conftest.$ac_objext conftest.beam conftest.$ac_ext
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14694 $as_echo "$ac_cv_c_bigendian" >&6; }
14695 case $ac_cv_c_bigendian in #(
14697 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14703 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14707 as_fn_error $? "unknown endianness
14708 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14712 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14713 if test "x$ac_cv_type_pid_t" = xyes; then :
14717 cat >>confdefs.h <<_ACEOF
14723 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14724 if test "x$ac_cv_type_size_t" = xyes; then :
14728 cat >>confdefs.h <<_ACEOF
14729 #define size_t unsigned int
14734 # The cast to long int works around a bug in the HP C Compiler
14735 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14736 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
14737 # This bug is HP SR number 8606223364.
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14739 $as_echo_n "checking size of short... " >&6; }
14740 if ${ac_cv_sizeof_short+:} false; then :
14741 $as_echo_n "(cached) " >&6
14743 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
14746 if test "$ac_cv_type_short" = yes; then
14747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14748 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
14749 as_fn_error 77 "cannot compute sizeof (short)
14750 See \`config.log
' for more details" "$LINENO" 5; }
14752 ac_cv_sizeof_short=0
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14758 $as_echo "$ac_cv_sizeof_short" >&6; }
14762 cat >>confdefs.h <<_ACEOF
14763 #define SIZEOF_SHORT $ac_cv_sizeof_short
14767 # The cast to long int works around a bug in the HP C Compiler
14768 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14769 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14770 # This bug is HP SR number 8606223364.
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14772 $as_echo_n "checking size of int... " >&6; }
14773 if ${ac_cv_sizeof_int+:} false
; then :
14774 $as_echo_n "(cached) " >&6
14776 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
14779 if test "$ac_cv_type_int" = yes; then
14780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14782 as_fn_error
77 "cannot compute sizeof (int)
14783 See \`config.log' for more details" "$LINENO" 5; }
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14791 $as_echo "$ac_cv_sizeof_int" >&6; }
14795 cat >>confdefs.h
<<_ACEOF
14796 #define SIZEOF_INT $ac_cv_sizeof_int
14800 # The cast to long int works around a bug in the HP C Compiler
14801 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14802 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14803 # This bug is HP SR number 8606223364.
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14805 $as_echo_n "checking size of long... " >&6; }
14806 if ${ac_cv_sizeof_long+:} false
; then :
14807 $as_echo_n "(cached) " >&6
14809 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
14812 if test "$ac_cv_type_long" = yes; then
14813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14815 as_fn_error
77 "cannot compute sizeof (long)
14816 See \`config.log' for more details" "$LINENO" 5; }
14818 ac_cv_sizeof_long
=0
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14824 $as_echo "$ac_cv_sizeof_long" >&6; }
14828 cat >>confdefs.h
<<_ACEOF
14829 #define SIZEOF_LONG $ac_cv_sizeof_long
14833 # The cast to long int works around a bug in the HP C Compiler
14834 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14835 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14836 # This bug is HP SR number 8606223364.
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
14838 $as_echo_n "checking size of long long... " >&6; }
14839 if ${ac_cv_sizeof_long_long+:} false
; then :
14840 $as_echo_n "(cached) " >&6
14842 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
14845 if test "$ac_cv_type_long_long" = yes; then
14846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14848 as_fn_error
77 "cannot compute sizeof (long long)
14849 See \`config.log' for more details" "$LINENO" 5; }
14851 ac_cv_sizeof_long_long
=0
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
14857 $as_echo "$ac_cv_sizeof_long_long" >&6; }
14861 cat >>confdefs.h
<<_ACEOF
14862 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14869 $as_echo_n "checking for library containing socket... " >&6; }
14870 if ${ac_cv_search_socket+:} false
; then :
14871 $as_echo_n "(cached) " >&6
14873 ac_func_search_save_LIBS
=$LIBS
14874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14892 for ac_lib
in '' socket
; do
14893 if test -z "$ac_lib"; then
14894 ac_res
="none required"
14897 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14899 if ac_fn_c_try_link
"$LINENO"; then :
14900 ac_cv_search_socket
=$ac_res
14902 rm -f core conftest.err conftest.
$ac_objext \
14904 if ${ac_cv_search_socket+:} false
; then :
14908 if ${ac_cv_search_socket+:} false
; then :
14911 ac_cv_search_socket
=no
14913 rm conftest.
$ac_ext
14914 LIBS
=$ac_func_search_save_LIBS
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14917 $as_echo "$ac_cv_search_socket" >&6; }
14918 ac_res
=$ac_cv_search_socket
14919 if test "$ac_res" != no
; then :
14920 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14923 as_fn_error $?
"You have no socket()! Aborting." "$LINENO" 5
14927 if test x
"$SUN" = xyes
; then
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
14929 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
14930 if ${ac_cv_search_inet_ntoa+:} false
; then :
14931 $as_echo_n "(cached) " >&6
14933 ac_func_search_save_LIBS
=$LIBS
14934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14937 /* Override any GCC internal prototype to avoid an error.
14938 Use char because int might match the return type of a GCC
14939 builtin and then its argument prototype would still apply. */
14947 return inet_ntoa ();
14952 for ac_lib
in '' nsl
; do
14953 if test -z "$ac_lib"; then
14954 ac_res
="none required"
14957 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14959 if ac_fn_c_try_link
"$LINENO"; then :
14960 ac_cv_search_inet_ntoa
=$ac_res
14962 rm -f core conftest.err conftest.
$ac_objext \
14964 if ${ac_cv_search_inet_ntoa+:} false
; then :
14968 if ${ac_cv_search_inet_ntoa+:} false
; then :
14971 ac_cv_search_inet_ntoa
=no
14973 rm conftest.
$ac_ext
14974 LIBS
=$ac_func_search_save_LIBS
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
14977 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
14978 ac_res
=$ac_cv_search_inet_ntoa
14979 if test "$ac_res" != no
; then :
14980 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14983 as_fn_error $?
"libnsl not found! Aborting." "$LINENO" 5
14988 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
14989 #include <sys/socket.h>
14991 if test "x$ac_cv_type_socklen_t" = xyes
; then :
14995 $as_echo "#define socklen_t unsigned int" >>confdefs.h
15000 # Check whether --enable-ipv6 was given.
15001 if test "${enable_ipv6+set}" = set; then :
15002 enableval
=$enable_ipv6; ipv6
=$enableval
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
15009 $as_echo_n "checking for library containing crypt... " >&6; }
15010 if ${ac_cv_search_crypt+:} false
; then :
15011 $as_echo_n "(cached) " >&6
15013 ac_func_search_save_LIBS
=$LIBS
15014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15032 for ac_lib
in '' crypt descrypt
; do
15033 if test -z "$ac_lib"; then
15034 ac_res
="none required"
15037 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15039 if ac_fn_c_try_link
"$LINENO"; then :
15040 ac_cv_search_crypt
=$ac_res
15042 rm -f core conftest.err conftest.
$ac_objext \
15044 if ${ac_cv_search_crypt+:} false
; then :
15048 if ${ac_cv_search_crypt+:} false
; then :
15051 ac_cv_search_crypt
=no
15053 rm conftest.
$ac_ext
15054 LIBS
=$ac_func_search_save_LIBS
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
15057 $as_echo "$ac_cv_search_crypt" >&6; }
15058 ac_res
=$ac_cv_search_crypt
15059 if test "$ac_res" != no
; then :
15060 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15065 CRYPT_LIB
=$ac_cv_search_crypt
15067 if test "$CRYPT_LIB" = "none required"; then
15069 elif test "$CRYPT_LIB" = no
; then
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15076 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15077 if ${ac_cv_c_bigendian+:} false
; then :
15078 $as_echo_n "(cached) " >&6
15080 ac_cv_c_bigendian
=unknown
15081 # See if we're dealing with a universal compiler.
15082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15084 #ifndef __APPLE_CC__
15085 not a universal capable compiler
15090 if ac_fn_c_try_compile
"$LINENO"; then :
15092 # Check for potential -arch flags. It is not universal unless
15093 # there are at least two -arch flags with different values.
15096 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15097 if test -n "$ac_prev"; then
15099 i?
86 | x86_64
| ppc
| ppc64
)
15100 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15103 ac_cv_c_bigendian
=universal
15109 elif test "x$ac_word" = "x-arch"; then
15114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15115 if test $ac_cv_c_bigendian = unknown
; then
15116 # See if sys/param.h defines the BYTE_ORDER macro.
15117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15119 #include <sys/types.h>
15120 #include <sys/param.h>
15125 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15126 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15128 bogus endian macros
15135 if ac_fn_c_try_compile
"$LINENO"; then :
15136 # It does; now see whether it defined to BIG_ENDIAN or not.
15137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15139 #include <sys/types.h>
15140 #include <sys/param.h>
15145 #if BYTE_ORDER != BIG_ENDIAN
15153 if ac_fn_c_try_compile
"$LINENO"; then :
15154 ac_cv_c_bigendian
=yes
15156 ac_cv_c_bigendian
=no
15158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15162 if test $ac_cv_c_bigendian = unknown
; then
15163 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 #include <limits.h>
15171 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15172 bogus endian macros
15179 if ac_fn_c_try_compile
"$LINENO"; then :
15180 # It does; now see whether it defined to _BIG_ENDIAN or not.
15181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183 #include <limits.h>
15188 #ifndef _BIG_ENDIAN
15196 if ac_fn_c_try_compile
"$LINENO"; then :
15197 ac_cv_c_bigendian
=yes
15199 ac_cv_c_bigendian
=no
15201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15205 if test $ac_cv_c_bigendian = unknown
; then
15206 # Compile a test program.
15207 if test "$cross_compiling" = yes; then :
15208 # Try to guess by grepping values from an object file.
15209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15211 short int ascii_mm[] =
15212 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15213 short int ascii_ii[] =
15214 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15215 int use_ascii (int i) {
15216 return ascii_mm[i] + ascii_ii[i];
15218 short int ebcdic_ii[] =
15219 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15220 short int ebcdic_mm[] =
15221 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15222 int use_ebcdic (int i) {
15223 return ebcdic_mm[i] + ebcdic_ii[i];
15230 return use_ascii (foo) == use_ebcdic (foo);
15235 if ac_fn_c_try_compile
"$LINENO"; then :
15236 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15237 ac_cv_c_bigendian
=yes
15239 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15240 if test "$ac_cv_c_bigendian" = unknown
; then
15241 ac_cv_c_bigendian
=no
15243 # finding both strings is unlikely to happen, but who knows?
15244 ac_cv_c_bigendian
=unknown
15248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15252 $ac_includes_default
15257 /* Are we little or big endian? From Harbison&Steele. */
15261 char c[sizeof (long int)];
15264 return u.c[sizeof (long int) - 1] == 1;
15270 if ac_fn_c_try_run
"$LINENO"; then :
15271 ac_cv_c_bigendian
=no
15273 ac_cv_c_bigendian
=yes
15275 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15276 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15282 $as_echo "$ac_cv_c_bigendian" >&6; }
15283 case $ac_cv_c_bigendian in #(
15285 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15291 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15295 as_fn_error $?
"unknown endianness
15296 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15300 ac_fn_c_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
15301 if test "x$ac_cv_header_stdarg_h" = xyes
; then :
15304 as_fn_error $?
"** stdarg.h could not be found - charybdis will not compile without it **" "$LINENO" 5
15308 for ac_func
in strlcat strlcpy
15310 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15311 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15312 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15313 cat >>confdefs.h
<<_ACEOF
15314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15321 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
15322 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
15326 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
15327 if test "x$ac_cv_type_uint32_t" = xyes
; then :
15330 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system has no u_int32_t or uint32_t, default to unsigned long int" >&5
15336 $as_echo "$as_me: WARNING: system has no u_int32_t or uint32_t, default to unsigned long int" >&2;}
15338 $as_echo "#define u_int32_t unsigned long int" >>confdefs.h
15347 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
15348 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
15352 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
15353 if test "x$ac_cv_type_uint16_t" = xyes
; then :
15356 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system has no u_int16_t or uint16_t, default to unsigned short int" >&5
15362 $as_echo "$as_me: WARNING: system has no u_int16_t or uint16_t, default to unsigned short int" >&2;}
15364 $as_echo "#define u_int16_t unsigned short int" >>confdefs.h
15373 ac_fn_c_check_type
"$LINENO" "in_port_t" "ac_cv_type_in_port_t" "#include <sys/types.h>
15374 #include <netinet/in.h>
15376 if test "x$ac_cv_type_in_port_t" = xyes
; then :
15380 $as_echo "#define in_port_t u_int16_t" >>confdefs.h
15385 ac_fn_c_check_type
"$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#include <sys/types.h>
15386 #include <sys/socket.h>
15388 if test "x$ac_cv_type_sa_family_t" = xyes
; then :
15392 $as_echo "#define sa_family_t u_int16_t" >>confdefs.h
15397 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15398 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
15400 cat >>confdefs.h
<<_ACEOF
15401 #define HAVE_UINTPTR_T 1
15408 for ac_func
in snprintf vsnprintf socketpair mmap gettimeofday strdup strndup
15410 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15411 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15412 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15413 cat >>confdefs.h
<<_ACEOF
15414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15421 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15422 # for constant arguments. Useless!
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15424 $as_echo_n "checking for working alloca.h... " >&6; }
15425 if ${ac_cv_working_alloca_h+:} false
; then :
15426 $as_echo_n "(cached) " >&6
15428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h. */
15430 #include <alloca.h>
15434 char *p = (char *) alloca (2 * sizeof (int));
15440 if ac_fn_c_try_link
"$LINENO"; then :
15441 ac_cv_working_alloca_h
=yes
15443 ac_cv_working_alloca_h
=no
15445 rm -f core conftest.err conftest.
$ac_objext \
15446 conftest
$ac_exeext conftest.
$ac_ext
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15449 $as_echo "$ac_cv_working_alloca_h" >&6; }
15450 if test $ac_cv_working_alloca_h = yes; then
15452 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15457 $as_echo_n "checking for alloca... " >&6; }
15458 if ${ac_cv_func_alloca_works+:} false
; then :
15459 $as_echo_n "(cached) " >&6
15461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15464 # define alloca __builtin_alloca
15467 # include <malloc.h>
15468 # define alloca _alloca
15470 # ifdef HAVE_ALLOCA_H
15471 # include <alloca.h>
15476 # ifndef alloca /* predefined by HP cc +Olibcalls */
15477 void *alloca (size_t);
15487 char *p = (char *) alloca (1);
15493 if ac_fn_c_try_link
"$LINENO"; then :
15494 ac_cv_func_alloca_works
=yes
15496 ac_cv_func_alloca_works
=no
15498 rm -f core conftest.err conftest.
$ac_objext \
15499 conftest
$ac_exeext conftest.
$ac_ext
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15502 $as_echo "$ac_cv_func_alloca_works" >&6; }
15504 if test $ac_cv_func_alloca_works = yes; then
15506 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15509 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15510 # that cause trouble. Some versions do not even contain alloca or
15511 # contain a buggy version. If you still want to use their alloca,
15512 # use ar to extract alloca.o from them instead of compiling alloca.c.
15514 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
15516 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15520 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15521 if ${ac_cv_os_cray+:} false
; then :
15522 $as_echo_n "(cached) " >&6
15524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15525 /* end confdefs.h. */
15526 #if defined CRAY && ! defined CRAY2
15533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15534 $EGREP "webecray" >/dev
/null
2>&1; then :
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15543 $as_echo "$ac_cv_os_cray" >&6; }
15544 if test $ac_cv_os_cray = yes; then
15545 for ac_func
in _getb67 GETB67 getb67
; do
15546 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15547 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15548 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15550 cat >>confdefs.h
<<_ACEOF
15551 #define CRAY_STACKSEG_END $ac_func
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15561 $as_echo_n "checking stack direction for C alloca... " >&6; }
15562 if ${ac_cv_c_stack_direction+:} false
; then :
15563 $as_echo_n "(cached) " >&6
15565 if test "$cross_compiling" = yes; then :
15566 ac_cv_c_stack_direction
=0
15568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15570 $ac_includes_default
15572 find_stack_direction (int *addr, int depth)
15574 int dir, dummy = 0;
15577 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
15578 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
15579 return dir + dummy;
15583 main (int argc, char **argv)
15585 return find_stack_direction (0, argc + !argv + 20) < 0;
15588 if ac_fn_c_try_run
"$LINENO"; then :
15589 ac_cv_c_stack_direction
=1
15591 ac_cv_c_stack_direction
=-1
15593 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15594 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15599 $as_echo "$ac_cv_c_stack_direction" >&6; }
15600 cat >>confdefs.h
<<_ACEOF
15601 #define STACK_DIRECTION $ac_cv_c_stack_direction
15609 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
15610 if test "x$ac_cv_func_nanosleep" = xyes
; then :
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
15614 $as_echo_n "checking for nanosleep in -lrt... " >&6; }
15615 if ${ac_cv_lib_rt_nanosleep+:} false
; then :
15616 $as_echo_n "(cached) " >&6
15618 ac_check_lib_save_LIBS
=$LIBS
15620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15621 /* end confdefs.h. */
15623 /* Override any GCC internal prototype to avoid an error.
15624 Use char because int might match the return type of a GCC
15625 builtin and then its argument prototype would still apply. */
15633 return nanosleep ();
15638 if ac_fn_c_try_link
"$LINENO"; then :
15639 ac_cv_lib_rt_nanosleep
=yes
15641 ac_cv_lib_rt_nanosleep
=no
15643 rm -f core conftest.err conftest.
$ac_objext \
15644 conftest
$ac_exeext conftest.
$ac_ext
15645 LIBS
=$ac_check_lib_save_LIBS
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
15648 $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
15649 if test "x$ac_cv_lib_rt_nanosleep" = xyes
; then :
15650 LIBS
="${LIBS} -lrt"
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
15653 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
15654 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
15655 $as_echo_n "(cached) " >&6
15657 ac_check_lib_save_LIBS
=$LIBS
15658 LIBS
="-lposix4 $LIBS"
15659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15662 /* Override any GCC internal prototype to avoid an error.
15663 Use char because int might match the return type of a GCC
15664 builtin and then its argument prototype would still apply. */
15672 return nanosleep ();
15677 if ac_fn_c_try_link
"$LINENO"; then :
15678 ac_cv_lib_posix4_nanosleep
=yes
15680 ac_cv_lib_posix4_nanosleep
=no
15682 rm -f core conftest.err conftest.
$ac_objext \
15683 conftest
$ac_exeext conftest.
$ac_ext
15684 LIBS
=$ac_check_lib_save_LIBS
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
15687 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
15688 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
15689 LIBS
="${LIBS} -lposix4"
15697 if test x
$ac_cv_func_nanosleep = xno
&& test x
$ac_cv_lib_posix4_nanosleep = xno
&& test x
$ac_cv_lib_rt_nanosleep = xno
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"nanosleep not found..using select for delay\"" >&5
15700 $as_echo "\"nanosleep not found..using select for delay\"" >&6; }
15703 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
15708 $as_echo_n "checking for OpenSSL... " >&6; }
15709 # Check whether --enable-openssl was given.
15710 if test "${enable_openssl+set}" = set; then :
15711 enableval
=$enable_openssl; cf_enable_openssl
=$enableval
15713 cf_enable_openssl
="auto"
15717 if test "$cf_enable_openssl" != "no" ; then
15718 cf_openssl_basedir
=""
15719 if test "$cf_enable_openssl" != "auto" &&
15720 test "$cf_enable_openssl" != "yes" ; then
15721 cf_openssl_basedir
="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
15723 for dirs in /usr
/local
/ssl
/usr
/pkg
/usr
/local \
15724 /usr
/local
/openssl
; do
15725 if test -f "${dirs}/include/openssl/opensslv.h" ; then
15726 cf_openssl_basedir
="${dirs}"
15732 if test ! -z "$cf_openssl_basedir"; then
15733 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
15734 SSL_INCLUDES
="-I${cf_openssl_basedir}/include"
15735 SSL_LIBS
="-L${cf_openssl_basedir}/lib"
15737 cf_openssl_basedir
=""
15740 if test -f "/usr/include/openssl/opensslv.h" ; then
15741 cf_openssl_basedir
="/usr"
15745 if test ! -z "$cf_openssl_basedir"; then
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
15747 $as_echo "$cf_openssl_basedir" >&6; }
15748 cf_enable_openssl
="yes"
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Specify a correct path?" >&5
15751 $as_echo "not found. Specify a correct path?" >&6; }
15752 cf_enable_openssl
="no"
15754 unset cf_openssl_basedir
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
15757 $as_echo "disabled" >&6; }
15760 save_CPPFLAGS
="$CPPFLAGS"
15761 CPPFLAGS
="$CPPFLAGS $SSL_INCLUDES"
15763 LIBS
="$LIBS $SSL_LIBS"
15764 if test "$cf_enable_openssl" != no
; then
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.6 or above" >&5
15766 $as_echo_n "checking for OpenSSL 0.9.6 or above... " >&6; }
15767 if test "$cross_compiling" = yes; then :
15768 cf_openssl_version_ok
=no
15770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15772 #include <openssl/opensslv.h>
15773 #include <stdlib.h>
15777 if ( OPENSSL_VERSION_NUMBER >= 0x00906000)
15778 exit(0); else exit(1);
15783 if ac_fn_c_try_run
"$LINENO"; then :
15784 cf_openssl_version_ok
=yes
15786 cf_openssl_version_ok
=no
15788 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15789 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15793 if test "$cf_openssl_version_ok" = yes; then
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15795 $as_echo "found" >&6; }
15800 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
15802 $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
15803 if ${ac_cv_lib_crypto_RSA_free+:} false
; then :
15804 $as_echo_n "(cached) " >&6
15806 ac_check_lib_save_LIBS
=$LIBS
15807 LIBS
="-lcrypto $LIBS"
15808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15811 /* Override any GCC internal prototype to avoid an error.
15812 Use char because int might match the return type of a GCC
15813 builtin and then its argument prototype would still apply. */
15821 return RSA_free ();
15826 if ac_fn_c_try_link
"$LINENO"; then :
15827 ac_cv_lib_crypto_RSA_free
=yes
15829 ac_cv_lib_crypto_RSA_free
=no
15831 rm -f core conftest.err conftest.
$ac_objext \
15832 conftest
$ac_exeext conftest.
$ac_ext
15833 LIBS
=$ac_check_lib_save_LIBS
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
15836 $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
15837 if test "x$ac_cv_lib_crypto_RSA_free" = xyes
; then :
15838 cat >>confdefs.h
<<_ACEOF
15839 #define HAVE_LIBCRYPTO 1
15842 LIBS
="-lcrypto $LIBS"
15846 SSL_LIBS
="$SSL_LIBS -lcrypto"
15847 SSL_SRCS_ENABLE
='$(SSL_SRCS)'
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
15850 $as_echo "no - OpenSSL support disabled" >&6; }
15854 CPPFLAGS
="$save_CPPFLAGS"
15861 # Check whether --with-zlib-path was given.
15862 if test "${with_zlib_path+set}" = set; then :
15863 withval
=$with_zlib_path; LIBS
="$LIBS -L$withval"
15867 # Check whether --enable-zlib was given.
15868 if test "${enable_zlib+set}" = set; then :
15869 enableval
=$enable_zlib; zlib
=$enableval
15875 if test "$zlib" = yes; then
15877 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
15878 if test "x$ac_cv_header_zlib_h" = xyes
; then :
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
15881 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
15882 if ${ac_cv_lib_z_zlibVersion+:} false
; then :
15883 $as_echo_n "(cached) " >&6
15885 ac_check_lib_save_LIBS
=$LIBS
15887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15890 /* Override any GCC internal prototype to avoid an error.
15891 Use char because int might match the return type of a GCC
15892 builtin and then its argument prototype would still apply. */
15896 char zlibVersion ();
15900 return zlibVersion ();
15905 if ac_fn_c_try_link
"$LINENO"; then :
15906 ac_cv_lib_z_zlibVersion
=yes
15908 ac_cv_lib_z_zlibVersion
=no
15910 rm -f core conftest.err conftest.
$ac_objext \
15911 conftest
$ac_exeext conftest.
$ac_ext
15912 LIBS
=$ac_check_lib_save_LIBS
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
15915 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
15916 if test "x$ac_cv_lib_z_zlibVersion" = xyes
; then :
15921 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
15938 # Check whether --with-shared-sqlite was given.
15939 if test "${with_shared_sqlite+set}" = set; then :
15940 withval
=$with_shared_sqlite; shared_sqlite
=$withval
15946 if test "$shared_sqlite" = yes; then
15954 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15955 if test -n "$ac_tool_prefix"; then
15956 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15957 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15959 $as_echo_n "checking for $ac_word... " >&6; }
15960 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15961 $as_echo_n "(cached) " >&6
15963 case $PKG_CONFIG in
15965 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15969 for as_dir
in $PATH
15972 test -z "$as_dir" && as_dir
=.
15973 for ac_exec_ext
in '' $ac_executable_extensions; do
15974 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15975 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15986 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15987 if test -n "$PKG_CONFIG"; then
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15989 $as_echo "$PKG_CONFIG" >&6; }
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15992 $as_echo "no" >&6; }
15997 if test -z "$ac_cv_path_PKG_CONFIG"; then
15998 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15999 # Extract the first word of "pkg-config", so it can be a program name with args.
16000 set dummy pkg
-config; ac_word
=$2
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16002 $as_echo_n "checking for $ac_word... " >&6; }
16003 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16004 $as_echo_n "(cached) " >&6
16006 case $ac_pt_PKG_CONFIG in
16008 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16012 for as_dir
in $PATH
16015 test -z "$as_dir" && as_dir
=.
16016 for ac_exec_ext
in '' $ac_executable_extensions; do
16017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16018 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16029 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16030 if test -n "$ac_pt_PKG_CONFIG"; then
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16032 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16035 $as_echo "no" >&6; }
16038 if test "x$ac_pt_PKG_CONFIG" = x
; then
16041 case $cross_compiling:$ac_tool_warned in
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16045 ac_tool_warned
=yes ;;
16047 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16050 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16054 if test -n "$PKG_CONFIG"; then
16055 _pkg_min_version
=0.9.0
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16057 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16058 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16060 $as_echo "yes" >&6; }
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16063 $as_echo "no" >&6; }
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
16070 $as_echo_n "checking for SQLITE... " >&6; }
16072 if test -n "$SQLITE_CFLAGS"; then
16073 pkg_cv_SQLITE_CFLAGS
="$SQLITE_CFLAGS"
16074 elif test -n "$PKG_CONFIG"; then
16075 if test -n "$PKG_CONFIG" && \
16076 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
16077 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
16079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16080 test $ac_status = 0; }; then
16081 pkg_cv_SQLITE_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
16082 test "x$?" != "x0" && pkg_failed
=yes
16089 if test -n "$SQLITE_LIBS"; then
16090 pkg_cv_SQLITE_LIBS
="$SQLITE_LIBS"
16091 elif test -n "$PKG_CONFIG"; then
16092 if test -n "$PKG_CONFIG" && \
16093 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
16094 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
16096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16097 test $ac_status = 0; }; then
16098 pkg_cv_SQLITE_LIBS
=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
16099 test "x$?" != "x0" && pkg_failed
=yes
16109 if test $pkg_failed = yes; then
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16111 $as_echo "no" >&6; }
16113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16114 _pkg_short_errors_supported
=yes
16116 _pkg_short_errors_supported
=no
16118 if test $_pkg_short_errors_supported = yes; then
16119 SQLITE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
16121 SQLITE_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
16123 # Put the nasty error message in config.log where it belongs
16124 echo "$SQLITE_PKG_ERRORS" >&5
16127 elif test $pkg_failed = untried
; then
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16129 $as_echo "no" >&6; }
16132 SQLITE_CFLAGS
=$pkg_cv_SQLITE_CFLAGS
16133 SQLITE_LIBS
=$pkg_cv_SQLITE_LIBS
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16135 $as_echo "yes" >&6; }
16142 if test "$shared_sqlite" = no
; then
16143 SQLITE_OBJ
='sqlite3.$(OBJEXT)'
16146 SQLITE_LD
="$SQLITE_LIBS"
16148 SQLITE_INCLUDES
="$SQLITE_CFLAGS"
16154 # Check whether --with-confdir was given.
16155 if test "${with_confdir+set}" = set; then :
16156 withval
=$with_confdir; sysconfdir
=`echo $withval | sed 's/\/$//'`
16158 confdir
='${sysconfdir}'
16162 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
16163 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16164 last_ac_define_dir
=`eval echo $sysconfdir`
16165 ac_define_dir
=`eval echo $last_ac_define_dir`
16166 ac_define_dir_counter
=0
16167 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
16168 last_ac_define_dir
="$ac_define_dir"
16169 ac_define_dir
=`eval echo $last_ac_define_dir`
16170 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
16171 if test "x$ac_define_dir_counter" = x128
; then :
16172 as_fn_error $?
"detected recusive directory expansion when expanding ETC_DIR=$sysconfdir: $ac_define_dir" "$LINENO" 5
16176 ETC_DIR
="$ac_define_dir"
16179 cat >>confdefs.h
<<_ACEOF
16180 #define ETC_DIR "$ac_define_dir"
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify logdir" >&5
16187 $as_echo_n "checking whether to modify logdir... " >&6; }
16189 # Check whether --with-logdir was given.
16190 if test "${with_logdir+set}" = set; then :
16191 withval
=$with_logdir; logdir
=`echo $withval | sed 's/\/$//'`
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16193 $as_echo "yes" >&6; }
16195 if test "x$enable_fhs_paths" = "xyes"; then :
16196 logdir
='${localstatedir}/log/${PACKAGE_TARNAME}'
16198 logdir
='${prefix}/logs'
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16201 $as_echo "no" >&6; }
16205 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
16206 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16207 last_ac_define_dir
=`eval echo $logdir`
16208 ac_define_dir
=`eval echo $last_ac_define_dir`
16209 ac_define_dir_counter
=0
16210 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
16211 last_ac_define_dir
="$ac_define_dir"
16212 ac_define_dir
=`eval echo $last_ac_define_dir`
16213 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
16214 if test "x$ac_define_dir_counter" = x128
; then :
16215 as_fn_error $?
"detected recusive directory expansion when expanding LOG_DIR=$logdir: $ac_define_dir" "$LINENO" 5
16219 LOG_DIR
="$ac_define_dir"
16222 cat >>confdefs.h
<<_ACEOF
16223 #define LOG_DIR "$ac_define_dir"
16230 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
16231 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
16232 eval echo \""$logdir"\"
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify helpdir" >&5
16239 $as_echo_n "checking whether to modify helpdir... " >&6; }
16241 # Check whether --with-helpdir was given.
16242 if test "${with_helpdir+set}" = set; then :
16243 withval
=$with_helpdir; helpdir
=`echo $withval | sed 's/\/$//'`
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16245 $as_echo "yes" >&6; }
16247 if test "x$enable_fhs_paths" = "xyes"; then :
16248 helpdir
='${datadir}/${PACKAGE_TARNAME}/help'
16250 helpdir
='${prefix}/help'
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16253 $as_echo "no" >&6; }
16257 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
16258 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16259 last_ac_define_dir
=`eval echo $helpdir`
16260 ac_define_dir
=`eval echo $last_ac_define_dir`
16261 ac_define_dir_counter
=0
16262 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
16263 last_ac_define_dir
="$ac_define_dir"
16264 ac_define_dir
=`eval echo $last_ac_define_dir`
16265 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
16266 if test "x$ac_define_dir_counter" = x128
; then :
16267 as_fn_error $?
"detected recusive directory expansion when expanding HELP_DIR=$helpdir: $ac_define_dir" "$LINENO" 5
16271 HELP_DIR
="$ac_define_dir"
16274 cat >>confdefs.h
<<_ACEOF
16275 #define HELP_DIR "$ac_define_dir"
16282 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
16283 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
16284 eval echo \""$helpdir"\"
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify moduledir" >&5
16291 $as_echo_n "checking whether to modify moduledir... " >&6; }
16293 # Check whether --with-moduledir was given.
16294 if test "${with_moduledir+set}" = set; then :
16295 withval
=$with_moduledir; moduledir
=`echo $withval | sed 's/\/$//'`
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16297 $as_echo "yes" >&6; }
16299 if test "x$enable_fhs_paths" = "xyes"; then :
16300 moduledir
='${pkglibdir}/modules'
16302 moduledir
='${prefix}/modules'
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16305 $as_echo "no" >&6; }
16310 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
16311 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16312 last_ac_define_dir
=`eval echo $moduledir`
16313 ac_define_dir
=`eval echo $last_ac_define_dir`
16314 ac_define_dir_counter
=0
16315 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
16316 last_ac_define_dir
="$ac_define_dir"
16317 ac_define_dir
=`eval echo $last_ac_define_dir`
16318 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
16319 if test "x$ac_define_dir_counter" = x128
; then :
16320 as_fn_error $?
"detected recusive directory expansion when expanding MODULE_DIR=$moduledir: $ac_define_dir" "$LINENO" 5
16324 MODULE_DIR
="$ac_define_dir"
16327 cat >>confdefs.h
<<_ACEOF
16328 #define MODULE_DIR "$ac_define_dir"
16335 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
16336 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
16337 eval echo \""$moduledir"\"
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether or modify rundir" >&5
16344 $as_echo_n "checking whether or modify rundir... " >&6; }
16346 # Check whether --with-rundir was given.
16347 if test "${with_rundir+set}" = set; then :
16348 withval
=$with_rundir; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16349 $as_echo "yes" >&6; }
16350 rundir
=`echo $withval | sed 's/\/$//'`
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16353 $as_echo "no" >&6; }
16354 if test "x$enable_fhs_paths" = "xyes"; then :
16355 rundir
='${prefix}/run'
16357 rundir
='${sysconfdir}'
16363 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
16364 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16365 last_ac_define_dir
=`eval echo $pkgrundir`
16366 ac_define_dir
=`eval echo $last_ac_define_dir`
16367 ac_define_dir_counter
=0
16368 while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
16369 last_ac_define_dir
="$ac_define_dir"
16370 ac_define_dir
=`eval echo $last_ac_define_dir`
16371 as_fn_arith
$ac_define_dir_counter + 1 && ac_define_dir_counter
=$as_val
16372 if test "x$ac_define_dir_counter" = x128
; then :
16373 as_fn_error $?
"detected recusive directory expansion when expanding PKGRUNDIR=$pkgrundir: $ac_define_dir" "$LINENO" 5
16377 PKGRUNDIR
="$ac_define_dir"
16380 cat >>confdefs.h
<<_ACEOF
16381 #define PKGRUNDIR "$ac_define_dir"
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program prefix" >&5
16387 $as_echo_n "checking for program prefix... " >&6; }
16389 # Check whether --with-program-prefix was given.
16390 if test "${with_program_prefix+set}" = set; then :
16391 withval
=$with_program_prefix; test "x$with_program_prefix" = "xno" && with_program_prefix
=
16393 with_program_prefix
=
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$with_program_prefix\"" >&5
16397 $as_echo "\"$with_program_prefix\"" >&6; }
16398 PROGRAM_PREFIX
="$with_program_prefix"
16401 cat >>confdefs.h
<<_ACEOF
16402 #define PROGRAM_PREFIX "$with_program_prefix"
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether custom branding is requested" >&5
16408 $as_echo_n "checking whether custom branding is requested... " >&6; }
16410 # Check whether --with-custom-branding was given.
16411 if test "${with_custom_branding+set}" = set; then :
16412 withval
=$with_custom_branding; BRANDING_NAME
=$withval
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16414 $as_echo "yes" >&6; }
16416 BRANDING_NAME
=$PACKAGE_NAME
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16418 $as_echo "no" >&6; }
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a custom version is requested" >&5
16424 $as_echo_n "checking whether a custom version is requested... " >&6; }
16426 # Check whether --with-custom-version was given.
16427 if test "${with_custom_version+set}" = set; then :
16428 withval
=$with_custom_version; BRANDING_VERSION
=$withval
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16430 $as_echo "yes" >&6; }
16432 BRANDING_VERSION
=$PACKAGE_VERSION
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16434 $as_echo "no" >&6; }
16440 cat >>confdefs.h
<<_ACEOF
16441 #define BRANDING_NAME "$BRANDING_NAME"
16445 cat >>confdefs.h
<<_ACEOF
16446 #define BRANDING_VERSION "$BRANDING_VERSION"
16450 if test "x$BRANDING_NAME" != "x$PACKAGE_NAME"; then
16452 $as_echo "#define CUSTOM_BRANDING 1" >>confdefs.h
16457 # Check whether --enable-assert was given.
16458 if test "${enable_assert+set}" = set; then :
16459 enableval
=$enable_assert; assert
=$enableval
16465 if test "$assert" = no
; then
16467 $as_echo "#define NDEBUG 1" >>confdefs.h
16469 elif test "$assert" = soft
; then
16471 $as_echo "#define SOFT_ASSERT 1" >>confdefs.h
16474 $as_echo "#define NDEBUG 1" >>confdefs.h
16476 elif test "$assert" = yes; then
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to do a profile build" >&5
16481 $as_echo_n "checking if you want to do a profile build... " >&6; }
16482 # Check whether --enable-profile was given.
16483 if test "${enable_profile+set}" = set; then :
16484 enableval
=$enable_profile; profile
=$enableval
16490 if test "$profile" = yes; then
16491 if test "$ac_cv_c_compiler_gnu" = yes; then
16492 IRC_CFLAGS
="$IRC_CFLAGS -pg"
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, adding -pg" >&5
16494 $as_echo "yes, adding -pg" >&6; }
16496 $as_echo "#define CHARYBDIS_PROFILE 1" >>confdefs.h
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, profile builds only work with gcc" >&5
16500 $as_echo "no, profile builds only work with gcc" >&6; }
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16504 $as_echo "no" >&6; }
16508 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
16511 $as_echo "#define CHANNEL_HEAP_SIZE 8192" >>confdefs.h
16514 $as_echo "#define BAN_HEAP_SIZE 4096" >>confdefs.h
16517 $as_echo "#define CLIENT_HEAP_SIZE 8192" >>confdefs.h
16520 $as_echo "#define LCLIENT_HEAP_SIZE 1024" >>confdefs.h
16523 $as_echo "#define PCLIENT_HEAP_SIZE 256" >>confdefs.h
16526 $as_echo "#define USER_HEAP_SIZE 8192" >>confdefs.h
16529 $as_echo "#define DNODE_HEAP_SIZE 8192" >>confdefs.h
16532 $as_echo "#define TOPIC_HEAP_SIZE 4096" >>confdefs.h
16535 $as_echo "#define LINEBUF_HEAP_SIZE 2048" >>confdefs.h
16538 $as_echo "#define MEMBER_HEAP_SIZE 32768" >>confdefs.h
16541 $as_echo "#define ND_HEAP_SIZE 512" >>confdefs.h
16544 $as_echo "#define CONFITEM_HEAP_SIZE 256" >>confdefs.h
16547 $as_echo "#define MONITOR_HEAP_SIZE 1024" >>confdefs.h
16550 $as_echo "#define FD_HEAP_SIZE 1024" >>confdefs.h
16553 $as_echo "#define AWAY_HEAP_SIZE 512" >>confdefs.h
16557 # Check whether --with-nicklen was given.
16558 if test "${with_nicklen+set}" = set; then :
16559 withval
=$with_nicklen;
16560 if ! expr "$withval" + 0 >/dev
/null
2>&1; then
16561 as_fn_error $?
"NICKLEN must be a numeric value" "$LINENO" 5
16563 if test $withval -gt 50; then
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NICKLEN has a hard limit of 50. Setting NICKLEN=50" >&5
16566 $as_echo "$as_me: WARNING: NICKLEN has a hard limit of 50. Setting NICKLEN=50" >&2;}
16567 elif test $withval -lt 9; then
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NICKLEN has a lower limit of 9. Setting NICKLEN=9" >&5
16570 $as_echo "$as_me: WARNING: NICKLEN has a lower limit of 9. Setting NICKLEN=9" >&2;}
16581 # Check whether --with-topiclen was given.
16582 if test "${with_topiclen+set}" = set; then :
16583 withval
=$with_topiclen;
16584 if test $withval -gt 390; then
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&5
16587 $as_echo "$as_me: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&2;}
16598 cat >>confdefs.h
<<_ACEOF
16599 #define TOPICLEN ${TOPICLEN}
16603 cat >>confdefs.h
<<_ACEOF
16604 #define NICKLEN (${NICKLEN}+1)
16608 # rpath, for finding libratbox.so at run time
16609 hold_ldflags
=$LDFLAGS
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ld -rpath flag" >&5
16611 $as_echo_n "checking for the ld -rpath flag... " >&6; }
16612 LDFLAGS
="${LDFLAGS} -Wl,-rpath=${libdir}"
16613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16624 if ac_fn_c_try_link
"$LINENO"; then :
16629 rm -f core conftest.err conftest.
$ac_objext \
16630 conftest
$ac_exeext conftest.
$ac_ext
16631 LDFLAGS
=$hold_ldflags
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
16633 $as_echo "$found" >&6; }
16634 if test "$found" = yes; then
16635 LDFLAGS
="${LDFLAGS} -Wl,-rpath=\${libdir}"
16638 # This must be down here, or it will mess up checks like the ones
16639 # for -Wl,-export-dynamic
16642 # Check whether --enable-warnings was given.
16643 if test "${enable_warnings+set}" = set; then :
16644 enableval
=$enable_warnings;
16645 IRC_CFLAGS
="$IRC_CFLAGS -O0"
16646 CFLAGS
="$IRC_CFLAGS"
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wall" >&5
16650 $as_echo_n "checking GCC flag(s) -Wall... " >&6; }
16651 if test "${GCC-no}" = yes
16653 if ${charybdis_cv_c_gcc_w_all+:} false
; then :
16654 $as_echo_n "(cached) " >&6
16657 oldcflags
="${CFLAGS-}"
16658 CFLAGS
="${CFLAGS-} ${CWARNS} -Wall -Werror"
16659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16662 #include <string.h>
16670 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
16676 if ac_fn_c_try_compile
"$LINENO"; then :
16677 charybdis_cv_c_gcc_w_all
=yes
16679 charybdis_cv_c_gcc_w_all
=no
16681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16682 CFLAGS
="${oldcflags}"
16685 if test "x$charybdis_cv_c_gcc_w_all" = xyes
; then
16686 CWARNS
="${CWARNS}-Wall "
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16688 $as_echo "ok" >&6; }
16690 charybdis_cv_c_gcc_w_all
=''
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16692 $as_echo "no" >&6; }
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16696 $as_echo "no" >&6; }
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wpointer-arith" >&5
16701 $as_echo_n "checking GCC flag(s) -Wpointer-arith... " >&6; }
16702 if test "${GCC-no}" = yes
16704 if ${charybdis_cv_c_gcc_w_pointer_arith+:} false
; then :
16705 $as_echo_n "(cached) " >&6
16708 oldcflags
="${CFLAGS-}"
16709 CFLAGS
="${CFLAGS-} ${CWARNS} -Wpointer-arith -Werror"
16710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16713 #include <string.h>
16721 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
16727 if ac_fn_c_try_compile
"$LINENO"; then :
16728 charybdis_cv_c_gcc_w_pointer_arith
=yes
16730 charybdis_cv_c_gcc_w_pointer_arith
=no
16732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16733 CFLAGS
="${oldcflags}"
16736 if test "x$charybdis_cv_c_gcc_w_pointer_arith" = xyes
; then
16737 CWARNS
="${CWARNS}-Wpointer-arith "
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16739 $as_echo "ok" >&6; }
16741 charybdis_cv_c_gcc_w_pointer_arith
=''
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16743 $as_echo "no" >&6; }
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16747 $as_echo "no" >&6; }
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wimplicit -Wnested-externs" >&5
16752 $as_echo_n "checking GCC flag(s) -Wimplicit -Wnested-externs... " >&6; }
16753 if test "${GCC-no}" = yes
16755 if ${charybdis_cv_c_gcc_w_implicit+:} false
; then :
16756 $as_echo_n "(cached) " >&6
16759 oldcflags
="${CFLAGS-}"
16760 CFLAGS
="${CFLAGS-} ${CWARNS} -Wimplicit -Wnested-externs -Werror"
16761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16762 /* end confdefs.h. */
16764 #include <string.h>
16772 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
16778 if ac_fn_c_try_compile
"$LINENO"; then :
16779 charybdis_cv_c_gcc_w_implicit
=yes
16781 charybdis_cv_c_gcc_w_implicit
=no
16783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16784 CFLAGS
="${oldcflags}"
16787 if test "x$charybdis_cv_c_gcc_w_implicit" = xyes
; then
16788 CWARNS
="${CWARNS}-Wimplicit -Wnested-externs "
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16790 $as_echo "ok" >&6; }
16792 charybdis_cv_c_gcc_w_implicit
=''
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16794 $as_echo "no" >&6; }
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16798 $as_echo "no" >&6; }
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wcast-align" >&5
16803 $as_echo_n "checking GCC flag(s) -Wcast-align... " >&6; }
16804 if test "${GCC-no}" = yes
16806 if ${charybdis_cv_c_gcc_w_cast_align+:} false
; then :
16807 $as_echo_n "(cached) " >&6
16810 oldcflags
="${CFLAGS-}"
16811 CFLAGS
="${CFLAGS-} ${CWARNS} -Wcast-align -Werror"
16812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16815 #include <string.h>
16823 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
16829 if ac_fn_c_try_compile
"$LINENO"; then :
16830 charybdis_cv_c_gcc_w_cast_align
=yes
16832 charybdis_cv_c_gcc_w_cast_align
=no
16834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16835 CFLAGS
="${oldcflags}"
16838 if test "x$charybdis_cv_c_gcc_w_cast_align" = xyes
; then
16839 CWARNS
="${CWARNS}-Wcast-align "
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16841 $as_echo "ok" >&6; }
16843 charybdis_cv_c_gcc_w_cast_align
=''
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16845 $as_echo "no" >&6; }
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16849 $as_echo "no" >&6; }
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wcast-qual" >&5
16854 $as_echo_n "checking GCC flag(s) -Wcast-qual... " >&6; }
16855 if test "${GCC-no}" = yes
16857 if ${charybdis_cv_c_gcc_w_cast_qual+:} false
; then :
16858 $as_echo_n "(cached) " >&6
16861 oldcflags
="${CFLAGS-}"
16862 CFLAGS
="${CFLAGS-} ${CWARNS} -Wcast-qual -Werror"
16863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16866 #include <string.h>
16874 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
16880 if ac_fn_c_try_compile
"$LINENO"; then :
16881 charybdis_cv_c_gcc_w_cast_qual
=yes
16883 charybdis_cv_c_gcc_w_cast_qual
=no
16885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16886 CFLAGS
="${oldcflags}"
16889 if test "x$charybdis_cv_c_gcc_w_cast_qual" = xyes
; then
16890 CWARNS
="${CWARNS}-Wcast-qual "
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16892 $as_echo "ok" >&6; }
16894 charybdis_cv_c_gcc_w_cast_qual
=''
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16896 $as_echo "no" >&6; }
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16900 $as_echo "no" >&6; }
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wwrite-strings" >&5
16905 $as_echo_n "checking GCC flag(s) -Wwrite-strings... " >&6; }
16906 if test "${GCC-no}" = yes
16908 if ${charybdis_cv_c_gcc_w_write_strings+:} false
; then :
16909 $as_echo_n "(cached) " >&6
16912 oldcflags
="${CFLAGS-}"
16913 CFLAGS
="${CFLAGS-} ${CWARNS} -Wwrite-strings -Werror"
16914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16917 #include <string.h>
16925 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
16931 if ac_fn_c_try_compile
"$LINENO"; then :
16932 charybdis_cv_c_gcc_w_write_strings
=yes
16934 charybdis_cv_c_gcc_w_write_strings
=no
16936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16937 CFLAGS
="${oldcflags}"
16940 if test "x$charybdis_cv_c_gcc_w_write_strings" = xyes
; then
16941 CWARNS
="${CWARNS}-Wwrite-strings "
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16943 $as_echo "ok" >&6; }
16945 charybdis_cv_c_gcc_w_write_strings
=''
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16947 $as_echo "no" >&6; }
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16951 $as_echo "no" >&6; }
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Werror-implicit-function-declaration" >&5
16956 $as_echo_n "checking GCC flag(s) -Werror-implicit-function-declaration... " >&6; }
16957 if test "${GCC-no}" = yes
16959 if ${charybdis_cv_c_gcc_w_error_implicit_function_declaration+:} false
; then :
16960 $as_echo_n "(cached) " >&6
16963 oldcflags
="${CFLAGS-}"
16964 CFLAGS
="${CFLAGS-} ${CWARNS} -Werror-implicit-function-declaration -Werror"
16965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16966 /* end confdefs.h. */
16968 #include <string.h>
16976 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
16982 if ac_fn_c_try_compile
"$LINENO"; then :
16983 charybdis_cv_c_gcc_w_error_implicit_function_declaration
=yes
16985 charybdis_cv_c_gcc_w_error_implicit_function_declaration
=no
16987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16988 CFLAGS
="${oldcflags}"
16991 if test "x$charybdis_cv_c_gcc_w_error_implicit_function_declaration" = xyes
; then
16992 CWARNS
="${CWARNS}-Werror-implicit-function-declaration "
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16994 $as_echo "ok" >&6; }
16996 charybdis_cv_c_gcc_w_error_implicit_function_declaration
=''
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16998 $as_echo "no" >&6; }
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17002 $as_echo "no" >&6; }
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations" >&5
17007 $as_echo_n "checking GCC flag(s) -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations... " >&6; }
17008 if test "${GCC-no}" = yes
17010 if ${charybdis_cv_c_gcc_prototypes+:} false
; then :
17011 $as_echo_n "(cached) " >&6
17014 oldcflags
="${CFLAGS-}"
17015 CFLAGS
="${CFLAGS-} ${CWARNS} -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Werror"
17016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17019 #include <string.h>
17027 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17033 if ac_fn_c_try_compile
"$LINENO"; then :
17034 charybdis_cv_c_gcc_prototypes
=yes
17036 charybdis_cv_c_gcc_prototypes
=no
17038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17039 CFLAGS
="${oldcflags}"
17042 if test "x$charybdis_cv_c_gcc_prototypes" = xyes
; then
17043 CWARNS
="${CWARNS}-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations "
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17045 $as_echo "ok" >&6; }
17047 charybdis_cv_c_gcc_prototypes
=''
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17049 $as_echo "no" >&6; }
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17053 $as_echo "no" >&6; }
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wparenthesis" >&5
17058 $as_echo_n "checking GCC flag(s) -Wparenthesis... " >&6; }
17059 if test "${GCC-no}" = yes
17061 if ${charybdis_cv_c_gcc_parenthesis+:} false
; then :
17062 $as_echo_n "(cached) " >&6
17065 oldcflags
="${CFLAGS-}"
17066 CFLAGS
="${CFLAGS-} ${CWARNS} -Wparenthesis -Werror"
17067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17070 #include <string.h>
17078 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17084 if ac_fn_c_try_compile
"$LINENO"; then :
17085 charybdis_cv_c_gcc_parenthesis
=yes
17087 charybdis_cv_c_gcc_parenthesis
=no
17089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17090 CFLAGS
="${oldcflags}"
17093 if test "x$charybdis_cv_c_gcc_parenthesis" = xyes
; then
17094 CWARNS
="${CWARNS}-Wparenthesis "
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17096 $as_echo "ok" >&6; }
17098 charybdis_cv_c_gcc_parenthesis
=''
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17100 $as_echo "no" >&6; }
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17104 $as_echo "no" >&6; }
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -W -Wno-unused" >&5
17109 $as_echo_n "checking GCC flag(s) -W -Wno-unused... " >&6; }
17110 if test "${GCC-no}" = yes
17112 if ${charybdis_cv_c_gcc_w+:} false
; then :
17113 $as_echo_n "(cached) " >&6
17116 oldcflags
="${CFLAGS-}"
17117 CFLAGS
="${CFLAGS-} ${CWARNS} -W -Wno-unused -Werror"
17118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17121 #include <string.h>
17129 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17135 if ac_fn_c_try_compile
"$LINENO"; then :
17136 charybdis_cv_c_gcc_w
=yes
17138 charybdis_cv_c_gcc_w
=no
17140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17141 CFLAGS
="${oldcflags}"
17144 if test "x$charybdis_cv_c_gcc_w" = xyes
; then
17145 CWARNS
="${CWARNS}-W -Wno-unused "
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17147 $as_echo "ok" >&6; }
17149 charybdis_cv_c_gcc_w
=''
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17151 $as_echo "no" >&6; }
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17155 $as_echo "no" >&6; }
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wextra" >&5
17160 $as_echo_n "checking GCC flag(s) -Wextra... " >&6; }
17161 if test "${GCC-no}" = yes
17163 if ${charybdis_cv_c_gcc_w_extra+:} false
; then :
17164 $as_echo_n "(cached) " >&6
17167 oldcflags
="${CFLAGS-}"
17168 CFLAGS
="${CFLAGS-} ${CWARNS} -Wextra -Werror"
17169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17172 #include <string.h>
17180 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17186 if ac_fn_c_try_compile
"$LINENO"; then :
17187 charybdis_cv_c_gcc_w_extra
=yes
17189 charybdis_cv_c_gcc_w_extra
=no
17191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17192 CFLAGS
="${oldcflags}"
17195 if test "x$charybdis_cv_c_gcc_w_extra" = xyes
; then
17196 CWARNS
="${CWARNS}-Wextra "
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17198 $as_echo "ok" >&6; }
17200 charybdis_cv_c_gcc_w_extra
=''
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17202 $as_echo "no" >&6; }
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17206 $as_echo "no" >&6; }
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wshadow" >&5
17211 $as_echo_n "checking GCC flag(s) -Wshadow... " >&6; }
17212 if test "${GCC-no}" = yes
17214 if ${charybdis_cv_c_gcc_w_shadow+:} false
; then :
17215 $as_echo_n "(cached) " >&6
17218 oldcflags
="${CFLAGS-}"
17219 CFLAGS
="${CFLAGS-} ${CWARNS} -Wshadow -Werror"
17220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17223 #include <string.h>
17231 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17237 if ac_fn_c_try_compile
"$LINENO"; then :
17238 charybdis_cv_c_gcc_w_shadow
=yes
17240 charybdis_cv_c_gcc_w_shadow
=no
17242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17243 CFLAGS
="${oldcflags}"
17246 if test "x$charybdis_cv_c_gcc_w_shadow" = xyes
; then
17247 CWARNS
="${CWARNS}-Wshadow "
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17249 $as_echo "ok" >&6; }
17251 charybdis_cv_c_gcc_w_shadow
=''
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17253 $as_echo "no" >&6; }
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17257 $as_echo "no" >&6; }
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wmissing-noreturn" >&5
17262 $as_echo_n "checking GCC flag(s) -Wmissing-noreturn... " >&6; }
17263 if test "${GCC-no}" = yes
17265 if ${charybdis_cv_c_gcc_w_missing_noreturn+:} false
; then :
17266 $as_echo_n "(cached) " >&6
17269 oldcflags
="${CFLAGS-}"
17270 CFLAGS
="${CFLAGS-} ${CWARNS} -Wmissing-noreturn -Werror"
17271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17274 #include <string.h>
17282 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17288 if ac_fn_c_try_compile
"$LINENO"; then :
17289 charybdis_cv_c_gcc_w_missing_noreturn
=yes
17291 charybdis_cv_c_gcc_w_missing_noreturn
=no
17293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17294 CFLAGS
="${oldcflags}"
17297 if test "x$charybdis_cv_c_gcc_w_missing_noreturn" = xyes
; then
17298 CWARNS
="${CWARNS}-Wmissing-noreturn "
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17300 $as_echo "ok" >&6; }
17302 charybdis_cv_c_gcc_w_missing_noreturn
=''
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17304 $as_echo "no" >&6; }
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17308 $as_echo "no" >&6; }
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wundef" >&5
17313 $as_echo_n "checking GCC flag(s) -Wundef... " >&6; }
17314 if test "${GCC-no}" = yes
17316 if ${charybdis_cv_c_gcc_w_undef+:} false
; then :
17317 $as_echo_n "(cached) " >&6
17320 oldcflags
="${CFLAGS-}"
17321 CFLAGS
="${CFLAGS-} ${CWARNS} -Wundef -Werror"
17322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17325 #include <string.h>
17333 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17339 if ac_fn_c_try_compile
"$LINENO"; then :
17340 charybdis_cv_c_gcc_w_undef
=yes
17342 charybdis_cv_c_gcc_w_undef
=no
17344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17345 CFLAGS
="${oldcflags}"
17348 if test "x$charybdis_cv_c_gcc_w_undef" = xyes
; then
17349 CWARNS
="${CWARNS}-Wundef "
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17351 $as_echo "ok" >&6; }
17353 charybdis_cv_c_gcc_w_undef
=''
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17355 $as_echo "no" >&6; }
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17359 $as_echo "no" >&6; }
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wpacked" >&5
17364 $as_echo_n "checking GCC flag(s) -Wpacked... " >&6; }
17365 if test "${GCC-no}" = yes
17367 if ${charybdis_cv_c_gcc_w_packed+:} false
; then :
17368 $as_echo_n "(cached) " >&6
17371 oldcflags
="${CFLAGS-}"
17372 CFLAGS
="${CFLAGS-} ${CWARNS} -Wpacked -Werror"
17373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17376 #include <string.h>
17384 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17390 if ac_fn_c_try_compile
"$LINENO"; then :
17391 charybdis_cv_c_gcc_w_packed
=yes
17393 charybdis_cv_c_gcc_w_packed
=no
17395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17396 CFLAGS
="${oldcflags}"
17399 if test "x$charybdis_cv_c_gcc_w_packed" = xyes
; then
17400 CWARNS
="${CWARNS}-Wpacked "
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17402 $as_echo "ok" >&6; }
17404 charybdis_cv_c_gcc_w_packed
=''
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17406 $as_echo "no" >&6; }
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17410 $as_echo "no" >&6; }
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wnested-externs" >&5
17415 $as_echo_n "checking GCC flag(s) -Wnested-externs... " >&6; }
17416 if test "${GCC-no}" = yes
17418 if ${charybdis_cv_c_gcc_w_nested_externs+:} false
; then :
17419 $as_echo_n "(cached) " >&6
17422 oldcflags
="${CFLAGS-}"
17423 CFLAGS
="${CFLAGS-} ${CWARNS} -Wnested-externs -Werror"
17424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17427 #include <string.h>
17435 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17441 if ac_fn_c_try_compile
"$LINENO"; then :
17442 charybdis_cv_c_gcc_w_nested_externs
=yes
17444 charybdis_cv_c_gcc_w_nested_externs
=no
17446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17447 CFLAGS
="${oldcflags}"
17450 if test "x$charybdis_cv_c_gcc_w_nested_externs" = xyes
; then
17451 CWARNS
="${CWARNS}-Wnested-externs "
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17453 $as_echo "ok" >&6; }
17455 charybdis_cv_c_gcc_w_nested_externs
=''
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17457 $as_echo "no" >&6; }
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17461 $as_echo "no" >&6; }
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wunused-function -Wunused-label -Wunused-value -Wunused-variable" >&5
17466 $as_echo_n "checking GCC flag(s) -Wunused-function -Wunused-label -Wunused-value -Wunused-variable... " >&6; }
17467 if test "${GCC-no}" = yes
17469 if ${charybdis_cv_c_gcc_w_unused+:} false
; then :
17470 $as_echo_n "(cached) " >&6
17473 oldcflags
="${CFLAGS-}"
17474 CFLAGS
="${CFLAGS-} ${CWARNS} -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Werror"
17475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h. */
17478 #include <string.h>
17486 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17492 if ac_fn_c_try_compile
"$LINENO"; then :
17493 charybdis_cv_c_gcc_w_unused
=yes
17495 charybdis_cv_c_gcc_w_unused
=no
17497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17498 CFLAGS
="${oldcflags}"
17501 if test "x$charybdis_cv_c_gcc_w_unused" = xyes
; then
17502 CWARNS
="${CWARNS}-Wunused-function -Wunused-label -Wunused-value -Wunused-variable "
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17504 $as_echo "ok" >&6; }
17506 charybdis_cv_c_gcc_w_unused
=''
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17508 $as_echo "no" >&6; }
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17512 $as_echo "no" >&6; }
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wredundant-decls" >&5
17517 $as_echo_n "checking GCC flag(s) -Wredundant-decls... " >&6; }
17518 if test "${GCC-no}" = yes
17520 if ${charybdis_cv_c_gcc_w_redundant_decls+:} false
; then :
17521 $as_echo_n "(cached) " >&6
17524 oldcflags
="${CFLAGS-}"
17525 CFLAGS
="${CFLAGS-} ${CWARNS} -Wredundant-decls -Werror"
17526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17529 #include <string.h>
17537 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17543 if ac_fn_c_try_compile
"$LINENO"; then :
17544 charybdis_cv_c_gcc_w_redundant_decls
=yes
17546 charybdis_cv_c_gcc_w_redundant_decls
=no
17548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17549 CFLAGS
="${oldcflags}"
17552 if test "x$charybdis_cv_c_gcc_w_redundant_decls" = xyes
; then
17553 CWARNS
="${CWARNS}-Wredundant-decls "
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17555 $as_echo "ok" >&6; }
17557 charybdis_cv_c_gcc_w_redundant_decls
=''
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17559 $as_echo "no" >&6; }
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17563 $as_echo "no" >&6; }
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wfloat-equal" >&5
17568 $as_echo_n "checking GCC flag(s) -Wfloat-equal... " >&6; }
17569 if test "${GCC-no}" = yes
17571 if ${charybdis_cv_c_gcc_w_float_equal+:} false
; then :
17572 $as_echo_n "(cached) " >&6
17575 oldcflags
="${CFLAGS-}"
17576 CFLAGS
="${CFLAGS-} ${CWARNS} -Wfloat-equal -Werror"
17577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17580 #include <string.h>
17588 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17594 if ac_fn_c_try_compile
"$LINENO"; then :
17595 charybdis_cv_c_gcc_w_float_equal
=yes
17597 charybdis_cv_c_gcc_w_float_equal
=no
17599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17600 CFLAGS
="${oldcflags}"
17603 if test "x$charybdis_cv_c_gcc_w_float_equal" = xyes
; then
17604 CWARNS
="${CWARNS}-Wfloat-equal "
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17606 $as_echo "ok" >&6; }
17608 charybdis_cv_c_gcc_w_float_equal
=''
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17610 $as_echo "no" >&6; }
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17614 $as_echo "no" >&6; }
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC flag(s) -Wformat -Wformat-y2k -Wno-format-security" >&5
17619 $as_echo_n "checking GCC flag(s) -Wformat -Wformat-y2k -Wno-format-security... " >&6; }
17620 if test "${GCC-no}" = yes
17622 if ${charybdis_cv_c_gcc_w_format+:} false
; then :
17623 $as_echo_n "(cached) " >&6
17626 oldcflags
="${CFLAGS-}"
17627 CFLAGS
="${CFLAGS-} ${CWARNS} -Wformat -Wformat-y2k -Wno-format-security -Werror"
17628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17631 #include <string.h>
17639 (void)strcmp("a","b"); fprintf(stdout,"test ok\n");
17645 if ac_fn_c_try_compile
"$LINENO"; then :
17646 charybdis_cv_c_gcc_w_format
=yes
17648 charybdis_cv_c_gcc_w_format
=no
17650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17651 CFLAGS
="${oldcflags}"
17654 if test "x$charybdis_cv_c_gcc_w_format" = xyes
; then
17655 CWARNS
="${CWARNS}-Wformat -Wformat-y2k -Wno-format-security "
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17657 $as_echo "ok" >&6; }
17659 charybdis_cv_c_gcc_w_format
=''
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17661 $as_echo "no" >&6; }
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17665 $as_echo "no" >&6; }
17669 IRC_CFLAGS
="$CFLAGS"
17674 IRC_CFLAGS
="$IRC_CFLAGS $CWARNS"
17689 if test "$prefix" = "NONE"; then
17691 cat >>confdefs.h
<<_ACEOF
17692 #define IRCD_PREFIX "$ac_default_prefix"
17699 prefix
=`echo $prefix | sed 's/\/$//'`
17701 cat >>confdefs.h
<<_ACEOF
17702 #define IRCD_PREFIX "$prefix"
17708 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"
17710 ac_config_commands
="$ac_config_commands tools/genssl_chmod"
17713 cat >confcache
<<\_ACEOF
17714 # This file is a shell script that caches the results of configure
17715 # tests run on this system so they can be shared between configure
17716 # scripts and configure runs, see configure's option --config-cache.
17717 # It is not useful on other systems. If it contains results you don't
17718 # want to keep, you may remove or edit it.
17720 # config.status only pays attention to the cache file if you give it
17721 # the --recheck option to rerun configure.
17723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17725 # following values.
17729 # The following way of writing the cache mishandles newlines in values,
17730 # but we know of no workaround that is simple, portable, and efficient.
17731 # So, we kill variables containing newlines.
17732 # Ultrix sh set writes to stderr and can't be redirected directly,
17733 # and sets the high bit in the cache file unless we assign to the vars.
17735 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17736 eval ac_val
=\$
$ac_var
17740 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17741 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17744 _
| IFS
| as_nl
) ;; #(
17745 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
17746 *) { eval $ac_var=; unset $ac_var;} ;;
17752 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17753 *${as_nl}ac_space
=\
*)
17754 # `set' does not quote correctly, so add quotes: double-quote
17755 # substitution turns \\\\ into \\, and sed turns \\ into \.
17758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17761 # `set' quotes correctly as required by POSIX, so do not add quotes.
17762 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17771 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17773 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17775 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17776 if test -w "$cache_file"; then
17777 if test "x$cache_file" != "x/dev/null"; then
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17779 $as_echo "$as_me: updating cache $cache_file" >&6;}
17780 if test ! -f "$cache_file" || test -h "$cache_file"; then
17781 cat confcache
>"$cache_file"
17783 case $cache_file in #(
17785 mv -f confcache
"$cache_file"$$
&&
17786 mv -f "$cache_file"$$
"$cache_file" ;; #(
17788 mv -f confcache
"$cache_file" ;;
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17794 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17799 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17800 # Let make expand exec_prefix.
17801 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17803 DEFS
=-DHAVE_CONFIG_H
17808 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17809 # 1. Remove the extension, and $U if already installed.
17810 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17811 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17812 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17813 # will be set to the directory where LIBOBJS objects are built.
17814 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17815 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17817 LIBOBJS
=$ac_libobjs
17819 LTLIBOBJS
=$ac_ltlibobjs
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17823 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17824 if test -n "$am_sleep_pid"; then
17825 # Hide warnings about reused PIDs.
17826 wait $am_sleep_pid 2>/dev
/null
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17829 $as_echo "done" >&6; }
17830 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17831 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17834 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17835 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17838 if test -n "$EXEEXT"; then
17840 am__EXEEXT_FALSE
='#'
17842 am__EXEEXT_TRUE
='#'
17846 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
17847 as_fn_error $?
"conditional \"INSTALL_LTDL\" was never defined.
17848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17850 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
17851 as_fn_error $?
"conditional \"CONVENIENCE_LTDL\" was never defined.
17852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17854 LT_CONFIG_H
=include
/setup.h
17858 if test -n "$_LT_LIBOBJS"; then
17859 # Remove the extension.
17860 _lt_sed_drop_objext
='s/\.o$//;s/\.obj$//'
17861 for i
in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
17862 _ltdl_libobjs
="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
17863 _ltdl_ltlibobjs
="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
17866 ltdl_LIBOBJS
=$_ltdl_libobjs
17868 ltdl_LTLIBOBJS
=$_ltdl_ltlibobjs
17871 if test -z "${BUILD_LTDL_TRUE}" && test -z "${BUILD_LTDL_FALSE}"; then
17872 as_fn_error $?
"conditional \"BUILD_LTDL\" was never defined.
17873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17878 : "${CONFIG_STATUS=./config.status}"
17880 ac_clean_files_save
=$ac_clean_files
17881 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17883 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17885 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17887 # Generated by $as_me.
17888 # Run this file to recreate the current configuration.
17889 # Compiler output produced by configure, useful for debugging
17890 # configure, is in config.log if it exists.
17893 ac_cs_recheck=false
17896 SHELL=\${CONFIG_SHELL-$SHELL}
17899 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
17900 ## -------------------- ##
17901 ## M4sh Initialization. ##
17902 ## -------------------- ##
17904 # Be more Bourne compatible
17905 DUALCASE
=1; export DUALCASE
# for MKS sh
17906 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17909 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17910 # is contrary to our usage. Disable this feature.
17911 alias -g '${1+"$@"}'='"$@"'
17912 setopt NO_GLOB_SUBST
17914 case `(set -o) 2>/dev/null` in #(
17926 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17927 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17928 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17929 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17930 # Prefer a ksh shell builtin over an external printf program on Solaris,
17931 # but without wasting forks for bash or zsh.
17932 if test -z "$BASH_VERSION$ZSH_VERSION" \
17933 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17934 as_echo='print
-r --'
17935 as_echo_n='print
-rn --'
17936 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17937 as_echo='printf %s
\n'
17938 as_echo_n='printf %s
'
17940 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17941 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17942 as_echo_n='/usr
/ucb
/echo -n'
17944 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17945 as_echo_n_body='eval
17949 expr "X$arg" : "X\\(.*\\)$as_nl";
17950 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17952 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17954 export as_echo_n_body
17955 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17957 export as_echo_body
17958 as_echo='sh
-c $as_echo_body as_echo
'
17961 # The user is always right.
17962 if test "${PATH_SEPARATOR+set}" != set; then
17964 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17965 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17972 # We need space, tab and new line, in precisely that order. Quoting is
17973 # there to prevent editors from complaining about space-tab.
17974 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17975 # splitting by setting IFS to empty value.)
17978 # Find who we are. Look in the path if we contain no directory separator.
17981 *[\\/]* ) as_myself=$0 ;;
17982 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17983 for as_dir in $PATH
17986 test -z "$as_dir" && as_dir=.
17987 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17993 # We did not find ourselves, most probably we were run as `sh COMMAND'
17994 # in which case we are not to be found in the path.
17995 if test "x$as_myself" = x
; then
17998 if test ! -f "$as_myself"; then
17999 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18003 # Unset variables that we do not need and which cause bugs (e.g. in
18004 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18005 # suppresses any "Segmentation fault" message there. '((' could
18006 # trigger a bug in pdksh 5.2.14.
18007 for as_var
in BASH_ENV ENV MAIL MAILPATH
18008 do eval test x\
${$as_var+set} = xset \
18009 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
18022 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18025 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18026 # ----------------------------------------
18027 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18028 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18029 # script with STATUS, using 1 if that was 0.
18032 as_status
=$1; test $as_status -eq 0 && as_status
=1
18034 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18035 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18037 $as_echo "$as_me: error: $2" >&2
18038 as_fn_exit
$as_status
18042 # as_fn_set_status STATUS
18043 # -----------------------
18044 # Set $? to STATUS, without forking.
18045 as_fn_set_status
()
18048 } # as_fn_set_status
18050 # as_fn_exit STATUS
18051 # -----------------
18052 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18056 as_fn_set_status
$1
18062 # Portably unset VAR.
18065 { eval $1=; unset $1;}
18067 as_unset
=as_fn_unset
18068 # as_fn_append VAR VALUE
18069 # ----------------------
18070 # Append the text in VALUE to the end of the definition contained in VAR. Take
18071 # advantage of any shell optimizations that allow amortized linear growth over
18072 # repeated appends, instead of the typical quadratic growth present in naive
18074 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18075 eval 'as_fn_append ()
18086 # as_fn_arith ARG...
18087 # ------------------
18088 # Perform arithmetic evaluation on the ARGs, and store the result in the
18089 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18090 # must be portable across $(()) and expr.
18091 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18092 eval 'as_fn_arith ()
18099 as_val
=`expr "$@" || test $? -eq 1`
18104 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18105 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18111 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18112 as_basename
=basename
18117 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18123 as_me
=`$as_basename -- "$0" ||
18124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18125 X"$0" : 'X\(//\)$' \| \
18126 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18128 sed '/^.*\/\([^/][^/]*\)\/*$/{
18142 # Avoid depending upon Character Ranges.
18143 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18144 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18145 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18146 as_cr_digits
='0123456789'
18147 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18149 ECHO_C
= ECHO_N
= ECHO_T
=
18150 case `echo -n x` in #(((((
18152 case `echo 'xy\c'` in
18153 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18155 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18162 rm -f conf$$ conf$$.exe conf$$.
file
18163 if test -d conf$$.dir
; then
18164 rm -f conf$$.dir
/conf$$.
file
18167 mkdir conf$$.dir
2>/dev
/null
18169 if (echo >conf$$.
file) 2>/dev
/null
; then
18170 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18172 # ... but there are two gotchas:
18173 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18174 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18175 # In both cases, we have to default to `cp -pR'.
18176 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
18178 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18186 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18187 rmdir conf$$.dir
2>/dev
/null
18192 # Create "$as_dir" as a directory, including parents if necessary.
18197 -*) as_dir
=.
/$as_dir;;
18199 test -d "$as_dir" || eval $as_mkdir_p || {
18203 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18204 *) as_qdir
=$as_dir;;
18206 as_dirs
="'$as_qdir' $as_dirs"
18207 as_dir
=`$as_dirname -- "$as_dir" ||
18208 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18209 X"$as_dir" : 'X\(//\)[^/]' \| \
18210 X"$as_dir" : 'X\(//\)$' \| \
18211 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18212 $as_echo X"$as_dir" |
18213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18217 /^X\(\/\/\)[^/].*/{
18230 test -d "$as_dir" && break
18232 test -z "$as_dirs" || eval "mkdir $as_dirs"
18233 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18237 if mkdir -p .
2>/dev
/null
; then
18238 as_mkdir_p
='mkdir -p "$as_dir"'
18240 test -d .
/-p && rmdir .
/-p
18245 # as_fn_executable_p FILE
18246 # -----------------------
18247 # Test if FILE is an executable regular file.
18248 as_fn_executable_p
()
18250 test -f "$1" && test -x "$1"
18251 } # as_fn_executable_p
18252 as_test_x
='test -x'
18253 as_executable_p
=as_fn_executable_p
18255 # Sed expression to map a string onto a valid CPP name.
18256 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18258 # Sed expression to map a string onto a valid variable name.
18259 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18263 ## ----------------------------------- ##
18264 ## Main body of $CONFIG_STATUS script. ##
18265 ## ----------------------------------- ##
18267 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18269 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18270 # Save the log message, to keep $0 and so on meaningful, and to
18271 # report actual input values of CONFIG_FILES etc. instead of their
18272 # values after options handling.
18274 This file was extended by charybdis $as_me 3.6.0-dev, which was
18275 generated by GNU Autoconf 2.69. Invocation command line was
18277 CONFIG_FILES = $CONFIG_FILES
18278 CONFIG_HEADERS = $CONFIG_HEADERS
18279 CONFIG_LINKS = $CONFIG_LINKS
18280 CONFIG_COMMANDS = $CONFIG_COMMANDS
18283 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18288 case $ac_config_files in *"
18289 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18292 case $ac_config_headers in *"
18293 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18298 # Files that config.status was made for.
18299 config_files="$ac_config_files"
18300 config_headers="$ac_config_headers"
18301 config_commands="$ac_config_commands"
18305 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18307 \`$as_me' instantiates files and other configuration actions
18308 from templates according to the current configuration. Unless the files
18309 and actions are specified as TAGs, all are instantiated by default.
18311 Usage: $0 [OPTION]... [TAG]...
18313 -h, --help print this help, then exit
18314 -V, --version print version number and configuration settings, then exit
18315 --config print configuration, then exit
18316 -q, --quiet, --silent
18317 do not print progress messages
18318 -d, --debug don't remove temporary files
18319 --recheck update $as_me by reconfiguring in the same conditions
18320 --file=FILE[:TEMPLATE]
18321 instantiate the configuration file FILE
18322 --header=FILE[:TEMPLATE]
18323 instantiate the configuration header FILE
18325 Configuration files:
18328 Configuration headers:
18331 Configuration commands:
18334 Report bugs to the package provider."
18337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18338 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18340 charybdis config.status 3.6.0-dev
18341 configured by $0, generated by GNU Autoconf 2.69,
18342 with options \\"\$ac_cs_config\\"
18344 Copyright (C) 2012 Free Software Foundation, Inc.
18345 This config.status script is free software; the Free Software Foundation
18346 gives unlimited permission to copy, distribute and modify it."
18353 test -n "\$AWK" || AWK=awk
18356 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18357 # The default lists apply if the user does not specify any file.
18363 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18364 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18368 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18380 # Handling of the options.
18381 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18383 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18384 $as_echo "$ac_cs_version"; exit ;;
18385 --config | --confi | --conf | --con | --co | --c )
18386 $as_echo "$ac_cs_config"; exit ;;
18387 --debug | --debu | --deb | --de | --d | -d )
18389 --file | --fil | --fi | --f )
18392 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18393 '') as_fn_error $?
"missing file argument" ;;
18395 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18396 ac_need_defaults
=false
;;
18397 --header | --heade | --head | --hea )
18400 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18402 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18403 ac_need_defaults
=false
;;
18405 # Conflict between --help and --header
18406 as_fn_error $?
"ambiguous option: \`$1'
18407 Try \`$0 --help' for more information.";;
18408 --help | --hel | -h )
18409 $as_echo "$ac_cs_usage"; exit ;;
18410 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18411 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18414 # This is an error.
18415 -*) as_fn_error $?
"unrecognized option: \`$1'
18416 Try \`$0 --help' for more information." ;;
18418 *) as_fn_append ac_config_targets
" $1"
18419 ac_need_defaults
=false
;;
18425 ac_configure_extra_args
=
18427 if $ac_cs_silent; then
18429 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18434 if \$ac_cs_recheck; then
18435 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18437 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18438 CONFIG_SHELL='$SHELL'
18439 export CONFIG_SHELL
18444 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18448 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18449 ## Running $as_me. ##
18455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18459 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18462 # The HP-UX ksh and POSIX shell print the target directory to stdout
18463 # if CDPATH is set.
18464 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18466 sed_quote_subst='$sed_quote_subst'
18467 double_quote_subst='$double_quote_subst'
18468 delay_variable_subst='$delay_variable_subst'
18469 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18470 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18471 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18472 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18473 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18474 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18475 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18476 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18477 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18478 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18479 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18480 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18481 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18482 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18483 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18484 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18485 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18486 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18487 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18488 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18489 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18490 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18491 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18492 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18493 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18494 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18495 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18496 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18497 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18498 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18499 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18500 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18501 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18502 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18503 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18504 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18505 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18506 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18507 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18508 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18509 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18510 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18511 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18512 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18513 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18514 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18515 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18516 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18517 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18518 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18519 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18520 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18521 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18522 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18523 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18524 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18525 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"`'
18526 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18527 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18528 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18529 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18530 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18531 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18532 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18533 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18534 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18535 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18536 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18537 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18538 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18539 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18540 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18541 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18542 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18543 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18544 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18545 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18546 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18547 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18548 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18549 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18550 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18551 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18552 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18553 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18554 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18555 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18556 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18557 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18558 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18559 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18560 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18561 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18562 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18563 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18564 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18565 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18566 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18567 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18568 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18569 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18570 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18571 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18572 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18573 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18574 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18575 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18576 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18577 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18578 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18579 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18580 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18581 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18582 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18583 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18584 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18585 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18586 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18587 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18588 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18589 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18590 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18591 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18592 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18593 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18594 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18595 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18596 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18597 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18598 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18601 LTCFLAGS='$LTCFLAGS'
18602 compiler='$compiler_DEFAULT'
18604 # A function that is used when there is no print builtin or printf.
18605 func_fallback_echo ()
18607 eval 'cat <<_LTECHO_EOF
18612 # Quote evaled strings.
18627 deplibs_check_method \
18632 sharedlib_from_linklib_cmd \
18635 archiver_list_spec \
18641 lt_cv_sys_global_symbol_pipe \
18642 lt_cv_sys_global_symbol_to_cdecl \
18643 lt_cv_sys_global_symbol_to_c_name_address \
18644 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18645 nm_file_list_spec \
18646 lt_prog_compiler_no_builtin_flag \
18647 lt_prog_compiler_pic \
18648 lt_prog_compiler_wl \
18649 lt_prog_compiler_static \
18650 lt_cv_prog_compiler_c_o \
18659 export_dynamic_flag_spec \
18660 whole_archive_flag_spec \
18661 compiler_needs_object \
18663 allow_undefined_flag \
18664 no_undefined_flag \
18665 hardcode_libdir_flag_spec \
18666 hardcode_libdir_separator \
18670 variables_saved_for_relink \
18672 library_names_spec \
18674 install_override_mode \
18678 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18679 *[\\\\\\\`\\"\\\$]*)
18680 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18683 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18688 # Double-quote double-evaled strings.
18689 for var in reload_cmds \
18690 old_postinstall_cmds \
18691 old_postuninstall_cmds \
18693 extract_expsyms_cmds \
18694 old_archive_from_new_cmds \
18695 old_archive_from_expsyms_cmds \
18697 archive_expsym_cmds \
18699 module_expsym_cmds \
18700 export_symbols_cmds \
18704 postuninstall_cmds \
18706 sys_lib_search_path_spec \
18707 sys_lib_dlsearch_path_spec; do
18708 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18709 *[\\\\\\\`\\"\\\$]*)
18710 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18713 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18718 ac_aux_dir='$ac_aux_dir'
18719 xsi_shell='$xsi_shell'
18720 lt_shell_append='$lt_shell_append'
18722 # See if we are running on zsh, and set the options which allow our
18723 # commands through without removal of \ escapes INIT.
18724 if test -n "\${ZSH_VERSION+set}" ; then
18725 setopt NO_GLOB_SUBST
18731 TIMESTAMP='$TIMESTAMP'
18740 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18742 # Handling of arguments.
18743 for ac_config_target
in $ac_config_targets
18745 case $ac_config_target in
18746 "include/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/setup.h" ;;
18747 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18748 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18749 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18750 "authd/Makefile") CONFIG_FILES
="$CONFIG_FILES authd/Makefile" ;;
18751 "bandb/Makefile") CONFIG_FILES
="$CONFIG_FILES bandb/Makefile" ;;
18752 "ssld/Makefile") CONFIG_FILES
="$CONFIG_FILES ssld/Makefile" ;;
18753 "extensions/Makefile") CONFIG_FILES
="$CONFIG_FILES extensions/Makefile" ;;
18754 "ircd/Makefile") CONFIG_FILES
="$CONFIG_FILES ircd/Makefile" ;;
18755 "modules/Makefile") CONFIG_FILES
="$CONFIG_FILES modules/Makefile" ;;
18756 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
18757 "tools/genssl") CONFIG_FILES
="$CONFIG_FILES tools/genssl" ;;
18758 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
18759 "help/Makefile") CONFIG_FILES
="$CONFIG_FILES help/Makefile" ;;
18760 "tools/genssl_chmod") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/genssl_chmod" ;;
18762 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18767 # If the user did not use the arguments to specify the items to instantiate,
18768 # then the envvar interface is used. Set only those that are not.
18769 # We use the long form for the default assignment because of an extremely
18770 # bizarre bug on SunOS 4.1.3.
18771 if $ac_need_defaults; then
18772 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18773 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18774 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18777 # Have a temporary directory for convenience. Make it in the build tree
18778 # simply because there is no reason against having it here, and in addition,
18779 # creating and moving files from /tmp can sometimes cause problems.
18780 # Hook for its removal unless debugging.
18781 # Note that there is a small window in which the directory will not be cleaned:
18782 # after its creation but before its name has been assigned to `$tmp'.
18786 trap 'exit_status=$?
18787 : "${ac_tmp:=$tmp}"
18788 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18790 trap 'as_fn_exit 1' 1 2 13 15
18792 # Create a (secure) tmp directory for tmp files.
18795 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18799 tmp
=.
/conf$$
-$RANDOM
18800 (umask 077 && mkdir "$tmp")
18801 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18804 # Set up the scripts for CONFIG_FILES section.
18805 # No need to generate them if there are no CONFIG_FILES.
18806 # This happens for instance with `./config.status config.h'.
18807 if test -n "$CONFIG_FILES"; then
18810 ac_cr
=`echo X | tr X '\015'`
18811 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18812 # But we know of no other shell where ac_cr would be empty at this
18813 # point, so we can use a bashism as a fallback.
18814 if test "x$ac_cr" = x
; then
18815 eval ac_cr
=\$
\'\\r
\'
18817 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18818 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18821 ac_cs_awk_cr
=$ac_cr
18824 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18829 echo "cat >conf$$subs.awk <<_ACEOF" &&
18830 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18832 } >conf$$subs.sh ||
18833 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18834 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18836 for ac_last_try in false false false false false :; do
18837 . ./conf$$subs.sh ||
18838 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18840 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18841 if test $ac_delim_n = $ac_delim_num; then
18843 elif $ac_last_try; then
18844 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18846 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18849 rm -f conf$$subs.sh
18851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18852 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18856 s/^/S["/; s
/!.
*/"]=/
18866 s/\(.\{148\}\)..*/\1/
18868 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18873 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18880 s/\(.\{148\}\)..*/\1/
18882 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18886 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18891 ' <conf$$subs.awk | sed '
18896 ' >>$CONFIG_STATUS || ac_write_fail=1
18897 rm -f conf$$subs.awk
18898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18900 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18901 for (key in S) S_is_set[key] = 1
18907 nfields = split(line, field, "@
")
18909 len = length(field[1])
18910 for (i = 2; i < nfields; i++) {
18912 keylen = length(key)
18913 if (S_is_set[key]) {
18915 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18916 len += length(value) + length(field[++i])
18927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18928 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18929 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18932 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18933 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18936 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18937 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18938 # trailing colons and then remove the whole line if VPATH becomes empty
18939 # (actually we leave an empty line to preserve line numbers).
18940 if test "x
$srcdir" = x.; then
18941 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18960 fi # test -n "$CONFIG_FILES"
18962 # Set up the scripts for CONFIG_HEADERS section.
18963 # No need to generate them if there are no CONFIG_HEADERS.
18964 # This happens for instance with `./config.status Makefile'.
18965 if test -n "$CONFIG_HEADERS"; then
18966 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18970 # Transform confdefs.h into an awk script `defines.awk', embedded as
18971 # here-document in config.status, that substitutes the proper values into
18972 # config.h.in to produce config.h.
18974 # Create a delimiter string that does not exist in confdefs.h, to ease
18975 # handling of long lines.
18977 for ac_last_try in false false :; do
18978 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18979 if test -z "$ac_tt"; then
18981 elif $ac_last_try; then
18982 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18984 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18988 # For the awk script, D is an array of macro values keyed by name,
18989 # likewise P contains macro parameters if any. Preserve backslash
18990 # newline sequences.
18992 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18994 s/.\{148\}/&'"$ac_delim"'/g
18997 s/^[ ]*#[ ]*define[ ][ ]*/ /
19004 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19006 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19010 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19011 D["\
1"]=" \
3\\\\\\n
"\\/p
19013 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19018 s/.\{148\}/&'"$ac_delim"'/g
19023 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19026 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19028 ' <confdefs.h | sed '
19029 s/'"$ac_delim"'/"\\\
19030 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19033 for (key in D) D_is_set[key] = 1
19036 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19038 split(line, arg, " ")
19039 if (arg[1] == "#") {
19043 defundef
= substr
(arg
[1], 2)
19046 split(mac1
, mac2
, "(") #)
19048 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19049 if (D_is_set
[macro
]) {
19050 # Preserve the white space surrounding the "#".
19051 print prefix
"define", macro P
[macro
] D
[macro
]
19054 # Replace #undef with comments. This is necessary, for example,
19055 # in the case of _POSIX_SOURCE, which is predefined and required
19056 # on some systems where configure will not decide to define it.
19057 if (defundef
== "undef") {
19058 print
"/*", prefix defundef
, macro
, "*/"
19066 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19067 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19068 fi # test -n "$CONFIG_HEADERS"
19071 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19076 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19078 case $ac_mode$ac_tag in
19080 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19081 :[FH
]-) ac_tag
=-:-;;
19082 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19099 -) ac_f
="$ac_tmp/stdin";;
19100 *) # Look for the file first in the build tree, then in the source tree
19101 # (if the path is not absolute). The absolute path cannot be DOS-style,
19102 # because $ac_f cannot contain `:'.
19106 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19108 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19110 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19111 as_fn_append ac_file_inputs
" '$ac_f'"
19114 # Let's still pretend it is `configure' which instantiates (i.e., don't
19115 # use $as_me), people would be surprised to read:
19116 # /* config.h. Generated by config.status. */
19117 configure_input
='Generated from '`
19118 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19120 if test x
"$ac_file" != x
-; then
19121 configure_input
="$ac_file. $configure_input"
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19123 $as_echo "$as_me: creating $ac_file" >&6;}
19125 # Neutralize special characters interpreted by sed in replacement strings.
19126 case $configure_input in #(
19127 *\
&* | *\
|* | *\\* )
19128 ac_sed_conf_input
=`$as_echo "$configure_input" |
19129 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19130 *) ac_sed_conf_input
=$configure_input;;
19134 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19135 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19140 ac_dir
=`$as_dirname -- "$ac_file" ||
19141 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19142 X"$ac_file" : 'X\(//\)[^/]' \| \
19143 X"$ac_file" : 'X\(//\)$' \| \
19144 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19145 $as_echo X"$ac_file" |
19146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19150 /^X\(\/\/\)[^/].*/{
19163 as_dir
="$ac_dir"; as_fn_mkdir_p
19167 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19169 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19170 # A ".." for each directory in $ac_dir_suffix.
19171 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19172 case $ac_top_builddir_sub in
19173 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19174 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19177 ac_abs_top_builddir
=$ac_pwd
19178 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19179 # for backward compatibility:
19180 ac_top_builddir
=$ac_top_build_prefix
19183 .
) # We are building in place.
19185 ac_top_srcdir
=$ac_top_builddir_sub
19186 ac_abs_top_srcdir
=$ac_pwd ;;
19187 [\\/]* | ?
:[\\/]* ) # Absolute name.
19188 ac_srcdir
=$srcdir$ac_dir_suffix;
19189 ac_top_srcdir
=$srcdir
19190 ac_abs_top_srcdir
=$srcdir ;;
19191 *) # Relative name.
19192 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19193 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19194 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19196 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19206 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19207 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19209 ac_MKDIR_P
=$MKDIR_P
19211 [\\/$
]* | ?
:[\\/]* ) ;;
19212 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19216 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19217 # If the template does not know about datarootdir, expand it.
19218 # FIXME: This hack should be removed a few years after 2.60.
19219 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19230 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19231 *datarootdir
*) ac_datarootdir_seen
=yes;;
19232 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19234 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19237 ac_datarootdir_hack='
19238 s&@datadir@&$datadir&g
19239 s&@docdir@&$docdir&g
19240 s&@infodir@&$infodir&g
19241 s&@localedir@&$localedir&g
19242 s&@mandir@&$mandir&g
19243 s&\\\${datarootdir}&$datarootdir&g' ;;
19247 # Neutralize VPATH when `$srcdir' = `.'.
19248 # Shell code in configure.ac might set extrasub.
19249 # FIXME: do we really want to maintain this feature?
19250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19251 ac_sed_extra="$ac_vpsub
19254 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19256 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
19257 s
|@configure_input@
|$ac_sed_conf_input|;t t
19258 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19259 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19260 s
&@srcdir@
&$ac_srcdir&;t t
19261 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19262 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19263 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19264 s
&@builddir@
&$ac_builddir&;t t
19265 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19266 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19267 s
&@INSTALL@
&$ac_INSTALL&;t t
19268 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19269 $ac_datarootdir_hack
19271 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19272 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19274 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19275 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19276 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19277 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19279 which seems to be undefined. Please make sure it is defined" >&5
19280 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19281 which seems to be undefined. Please make sure it is defined" >&2;}
19283 rm -f "$ac_tmp/stdin"
19285 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19286 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19288 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19294 if test x"$ac_file" != x-; then
19296 $as_echo "/* $configure_input */" \
19297 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19298 } >"$ac_tmp/config.h" \
19299 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19300 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19302 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19305 mv "$ac_tmp/config.h" "$ac_file" \
19306 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19309 $as_echo "/* $configure_input */" \
19310 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19311 || as_fn_error $? "could not create -" "$LINENO" 5
19313 # Compute "$ac_file"'s index
in $config_headers.
19316 for _am_header
in $config_headers :; do
19317 case $_am_header in
19318 $_am_arg | $_am_arg:* )
19321 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19324 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19325 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19326 X"$_am_arg" : 'X\(//\)[^/]' \| \
19327 X"$_am_arg" : 'X\(//\)$' \| \
19328 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19329 $as_echo X"$_am_arg" |
19330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19334 /^X\(\/\/\)[^/].*/{
19346 s/.*/./; q'`/stamp
-h$_am_stamp_count
19349 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19350 $as_echo "$as_me: executing $ac_file commands" >&6;}
19355 case $ac_file$ac_mode in
19356 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
19357 # Older Autoconf quotes --file arguments for eval, but not when files
19358 # are listed without --file. Let's play safe and only enable the eval
19359 # if we detect the quoting.
19360 case $CONFIG_FILES in
19361 *\'*) eval set x
"$CONFIG_FILES" ;;
19362 *) set x
$CONFIG_FILES ;;
19367 # Strip MF so we end up with the name of the file.
19368 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19369 # Check whether this is an Automake generated Makefile or not.
19370 # We used to match only the files named 'Makefile.in', but
19371 # some people rename them; so instead we look at the file content.
19372 # Grep'ing the first line is not enough: some people post-process
19373 # each Makefile.in and add a new line on top of each file to say so.
19374 # Grep'ing the whole file is not good either: AIX grep has a line
19375 # limit of 2048, but all sed's we know have understand at least 4000.
19376 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
19377 dirpart
=`$as_dirname -- "$mf" ||
19378 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19379 X"$mf" : 'X\(//\)[^/]' \| \
19380 X"$mf" : 'X\(//\)$' \| \
19381 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19387 /^X\(\/\/\)[^/].*/{
19403 # Extract the definition of DEPDIR, am__include, and am__quote
19404 # from the Makefile without running 'make'.
19405 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19406 test -z "$DEPDIR" && continue
19407 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19408 test -z "$am__include" && continue
19409 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19410 # Find all dependency output files, they are included files with
19411 # $(DEPDIR) in their names. We invoke sed twice because it is the
19412 # simplest approach to changing $(DEPDIR) to its actual value in the
19414 for file in `sed -n "
19415 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19416 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19417 # Make sure the directory exists.
19418 test -f "$dirpart/$file" && continue
19419 fdir
=`$as_dirname -- "$file" ||
19420 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19421 X"$file" : 'X\(//\)[^/]' \| \
19422 X"$file" : 'X\(//\)$' \| \
19423 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19424 $as_echo X"$file" |
19425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19429 /^X\(\/\/\)[^/].*/{
19442 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19443 # echo "creating $dirpart/$file"
19444 echo '# dummy' > "$dirpart/$file"
19451 # See if we are running on zsh, and set the options which allow our
19452 # commands through without removal of \ escapes.
19453 if test -n "${ZSH_VERSION+set}" ; then
19454 setopt NO_GLOB_SUBST
19457 cfgfile
="${ofile}T"
19458 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19461 cat <<_LT_EOF >> "$cfgfile"
19464 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19465 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19466 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19467 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19469 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19470 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19472 # Written by Gordon Matzigkeit, 1996
19474 # This file is part of GNU Libtool.
19476 # GNU Libtool is free software; you can redistribute it and/or
19477 # modify it under the terms of the GNU General Public License as
19478 # published by the Free Software Foundation; either version 2 of
19479 # the License, or (at your option) any later version.
19481 # As a special exception to the GNU General Public License,
19482 # if you distribute this file as part of a program or library that
19483 # is built using GNU Libtool, you may include this file under the
19484 # same distribution terms that you use for the rest of that program.
19486 # GNU Libtool is distributed in the hope that it will be useful,
19487 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19488 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19489 # GNU General Public License for more details.
19491 # You should have received a copy of the GNU General Public License
19492 # along with GNU Libtool; see the file COPYING. If not, a copy
19493 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19494 # obtained by writing to the Free Software Foundation, Inc.,
19495 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19498 # The names of the tagged configurations supported by this script.
19501 # ### BEGIN LIBTOOL CONFIG
19503 # Which release of libtool.m4 was used?
19504 macro_version=$macro_version
19505 macro_revision=$macro_revision
19507 # Whether or not to build static libraries.
19508 build_old_libs=$enable_static
19510 # Whether or not to build shared libraries.
19511 build_libtool_libs=$enable_shared
19513 # What type of objects to build.
19516 # Whether or not to optimize for fast installation.
19517 fast_install=$enable_fast_install
19519 # Shell to use when invoking shell scripts.
19522 # An echo program that protects backslashes.
19525 # The PATH separator for the build system.
19526 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19529 host_alias=$host_alias
19533 # The build system.
19534 build_alias=$build_alias
19538 # A sed program that does not truncate output.
19541 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19542 Xsed="\$SED -e 1s/^X//"
19544 # A grep program that handles long lines.
19550 # A literal string matcher.
19553 # A BSD- or MS-compatible name lister.
19556 # Whether we need soft or hard links.
19559 # What is the maximum length of a command?
19560 max_cmd_len=$max_cmd_len
19562 # Object file suffix (normally "o").
19565 # Executable file suffix (normally "").
19568 # whether the shell understands "unset".
19571 # turn spaces into newlines.
19574 # turn newlines into spaces.
19577 # convert \$build file names to \$host format.
19578 to_host_file_cmd=$lt_cv_to_host_file_cmd
19580 # convert \$build files to toolchain format.
19581 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19583 # An object symbol dumper.
19584 OBJDUMP=$lt_OBJDUMP
19586 # Method to check whether dependent libraries are shared objects.
19587 deplibs_check_method=$lt_deplibs_check_method
19589 # Command to use when deplibs_check_method = "file_magic".
19590 file_magic_cmd=$lt_file_magic_cmd
19592 # How to find potential files when deplibs_check_method = "file_magic".
19593 file_magic_glob=$lt_file_magic_glob
19595 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19596 want_nocaseglob=$lt_want_nocaseglob
19598 # DLL creation program.
19599 DLLTOOL=$lt_DLLTOOL
19601 # Command to associate shared and link libraries.
19602 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19607 # Flags to create an archive.
19608 AR_FLAGS=$lt_AR_FLAGS
19610 # How to feed a file listing to the archiver.
19611 archiver_list_spec=$lt_archiver_list_spec
19613 # A symbol stripping program.
19616 # Commands used to install an old-style archive.
19618 old_postinstall_cmds=$lt_old_postinstall_cmds
19619 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19621 # Whether to use a lock for old archive extraction.
19622 lock_old_archive_extraction=$lock_old_archive_extraction
19627 # LTCC compiler flags.
19628 LTCFLAGS=$lt_CFLAGS
19630 # Take the output of nm and produce a listing of raw symbols and C names.
19631 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19633 # Transform the output of nm in a proper C declaration.
19634 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19636 # Transform the output of nm in a C name address pair.
19637 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19639 # Transform the output of nm in a C name address pair when lib prefix is needed.
19640 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19642 # Specify filename containing input files for \$NM.
19643 nm_file_list_spec=$lt_nm_file_list_spec
19645 # The root where to search for dependent libraries,and in which our libraries should be installed.
19646 lt_sysroot=$lt_sysroot
19648 # The name of the directory that contains temporary libtool files.
19651 # Used to examine libraries when file_magic_cmd begins with "file".
19652 MAGIC_CMD=$MAGIC_CMD
19654 # Must we lock files when doing compilation?
19655 need_locks=$lt_need_locks
19658 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19660 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19661 DSYMUTIL=$lt_DSYMUTIL
19663 # Tool to change global to local symbols on Mac OS X.
19666 # Tool to manipulate fat objects and archives on Mac OS X.
19669 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19672 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19673 OTOOL64=$lt_OTOOL64
19675 # Old archive suffix (normally "a").
19678 # Shared library suffix (normally ".so").
19679 shrext_cmds=$lt_shrext_cmds
19681 # The commands to extract the exported symbol list from a shared archive.
19682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19684 # Variables whose values should be saved in libtool wrapper scripts and
19685 # restored at link time.
19686 variables_saved_for_relink=$lt_variables_saved_for_relink
19688 # Do we need the "lib" prefix for modules?
19689 need_lib_prefix=$need_lib_prefix
19691 # Do we need a version for libraries?
19692 need_version=$need_version
19694 # Library versioning type.
19695 version_type=$version_type
19697 # Shared library runtime path variable.
19698 runpath_var=$runpath_var
19700 # Shared library path variable.
19701 shlibpath_var=$shlibpath_var
19703 # Is shlibpath searched before the hard-coded library search path?
19704 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19706 # Format of library name prefix.
19707 libname_spec=$lt_libname_spec
19709 # List of archive names. First name is the real one, the rest are links.
19710 # The last name is the one that the linker finds with -lNAME
19711 library_names_spec=$lt_library_names_spec
19713 # The coded name of the library, if different from the real name.
19714 soname_spec=$lt_soname_spec
19716 # Permission mode override for installation of shared libraries.
19717 install_override_mode=$lt_install_override_mode
19719 # Command to use after installation of a shared archive.
19720 postinstall_cmds=$lt_postinstall_cmds
19722 # Command to use after uninstallation of a shared archive.
19723 postuninstall_cmds=$lt_postuninstall_cmds
19725 # Commands used to finish a libtool library installation in a directory.
19726 finish_cmds=$lt_finish_cmds
19728 # As "finish_cmds", except a single script fragment to be evaled but
19730 finish_eval=$lt_finish_eval
19732 # Whether we should hardcode library paths into libraries.
19733 hardcode_into_libs=$hardcode_into_libs
19735 # Compile-time system search path for libraries.
19736 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19738 # Run-time system search path for libraries.
19739 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19741 # Whether dlopen is supported.
19742 dlopen_support=$enable_dlopen
19744 # Whether dlopen of programs is supported.
19745 dlopen_self=$enable_dlopen_self
19747 # Whether dlopen of statically linked programs is supported.
19748 dlopen_self_static=$enable_dlopen_self_static
19750 # Commands to strip libraries.
19751 old_striplib=$lt_old_striplib
19752 striplib=$lt_striplib
19755 # The linker used to build libraries.
19758 # How to create reloadable object files.
19759 reload_flag=$lt_reload_flag
19760 reload_cmds=$lt_reload_cmds
19762 # Commands used to build an old-style archive.
19763 old_archive_cmds=$lt_old_archive_cmds
19765 # A language specific compiler.
19768 # Is the compiler the GNU compiler?
19771 # Compiler flag to turn off builtin functions.
19772 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19774 # Additional compiler flags for building library objects.
19775 pic_flag=$lt_lt_prog_compiler_pic
19777 # How to pass a linker flag through the compiler.
19778 wl=$lt_lt_prog_compiler_wl
19780 # Compiler flag to prevent dynamic linking.
19781 link_static_flag=$lt_lt_prog_compiler_static
19783 # Does compiler simultaneously support -c and -o options?
19784 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19786 # Whether or not to add -lc for building shared libraries.
19787 build_libtool_need_lc=$archive_cmds_need_lc
19789 # Whether or not to disallow shared libs when runtime libs are static.
19790 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19792 # Compiler flag to allow reflexive dlopens.
19793 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19795 # Compiler flag to generate shared objects directly from archives.
19796 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19798 # Whether the compiler copes with passing no objects directly.
19799 compiler_needs_object=$lt_compiler_needs_object
19801 # Create an old-style archive from a shared archive.
19802 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19804 # Create a temporary old-style archive to link instead of a shared archive.
19805 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19807 # Commands used to build a shared archive.
19808 archive_cmds=$lt_archive_cmds
19809 archive_expsym_cmds=$lt_archive_expsym_cmds
19811 # Commands used to build a loadable module if different from building
19812 # a shared archive.
19813 module_cmds=$lt_module_cmds
19814 module_expsym_cmds=$lt_module_expsym_cmds
19816 # Whether we are building with GNU ld or not.
19817 with_gnu_ld=$lt_with_gnu_ld
19819 # Flag that allows shared libraries with undefined symbols to be built.
19820 allow_undefined_flag=$lt_allow_undefined_flag
19822 # Flag that enforces no undefined symbols.
19823 no_undefined_flag=$lt_no_undefined_flag
19825 # Flag to hardcode \$libdir into a binary during linking.
19826 # This must work even if \$libdir does not exist
19827 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19829 # Whether we need a single "-rpath" flag with a separated argument.
19830 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19833 # DIR into the resulting binary.
19834 hardcode_direct=$hardcode_direct
19836 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19837 # DIR into the resulting binary and the resulting library dependency is
19838 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19839 # library is relocated.
19840 hardcode_direct_absolute=$hardcode_direct_absolute
19842 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19843 # into the resulting binary.
19844 hardcode_minus_L=$hardcode_minus_L
19846 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19847 # into the resulting binary.
19848 hardcode_shlibpath_var=$hardcode_shlibpath_var
19850 # Set to "yes" if building a shared library automatically hardcodes DIR
19851 # into the library and all subsequent libraries and executables linked
19853 hardcode_automatic=$hardcode_automatic
19855 # Set to yes if linker adds runtime paths of dependent libraries
19856 # to runtime path list.
19857 inherit_rpath=$inherit_rpath
19859 # Whether libtool must link a program against all its dependency libraries.
19860 link_all_deplibs=$link_all_deplibs
19862 # Set to "yes" if exported symbols are required.
19863 always_export_symbols=$always_export_symbols
19865 # The commands to list exported symbols.
19866 export_symbols_cmds=$lt_export_symbols_cmds
19868 # Symbols that should not be listed in the preloaded symbols.
19869 exclude_expsyms=$lt_exclude_expsyms
19871 # Symbols that must always be exported.
19872 include_expsyms=$lt_include_expsyms
19874 # Commands necessary for linking programs (against libraries) with templates.
19875 prelink_cmds=$lt_prelink_cmds
19877 # Commands necessary for finishing linking programs.
19878 postlink_cmds=$lt_postlink_cmds
19880 # Specify filename containing input files.
19881 file_list_spec=$lt_file_list_spec
19883 # How to hardcode a shared library path into an executable.
19884 hardcode_action=$hardcode_action
19886 # ### END LIBTOOL CONFIG
19892 cat <<\_LT_EOF
>> "$cfgfile"
19893 # AIX sometimes has problems with the GCC collect2 program. For some
19894 # reason, if we set the COLLECT_NAMES environment variable, the problems
19895 # vanish in a puff of smoke.
19896 if test "X${COLLECT_NAMES+set}" != Xset
; then
19898 export COLLECT_NAMES
19905 ltmain
="$ac_aux_dir/ltmain.sh"
19908 # We use sed instead of cat because bash on DJGPP gets confused if
19909 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19910 # text mode, it properly converts lines to CR/LF. This bash problem
19911 # is reportedly fixed, but why not run on old versions too?
19912 sed '$q' "$ltmain" >> "$cfgfile" \
19913 || (rm -f "$cfgfile"; exit 1)
19915 if test x
"$xsi_shell" = xyes
; then
19916 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19920 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19921 \ * ) func_dirname_result="${3}" ;;\
19923 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19924 && mv -f "$cfgfile.tmp" "$cfgfile" \
19925 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19926 test 0 -eq $?
|| _lt_function_replace_fail
=:
19929 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19932 \ func_basename_result="${1##*/}"\
19933 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19934 && mv -f "$cfgfile.tmp" "$cfgfile" \
19935 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19936 test 0 -eq $?
|| _lt_function_replace_fail
=:
19939 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19940 func_dirname_and_basename ()\
19943 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19944 \ * ) func_dirname_result="${3}" ;;\
19946 \ func_basename_result="${1##*/}"\
19947 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19948 && mv -f "$cfgfile.tmp" "$cfgfile" \
19949 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19950 test 0 -eq $?
|| _lt_function_replace_fail
=:
19953 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19956 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19957 \ # positional parameters, so assign one to ordinary parameter first.\
19958 \ func_stripname_result=${3}\
19959 \ func_stripname_result=${func_stripname_result#"${1}"}\
19960 \ func_stripname_result=${func_stripname_result%"${2}"}\
19961 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19962 && mv -f "$cfgfile.tmp" "$cfgfile" \
19963 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19964 test 0 -eq $?
|| _lt_function_replace_fail
=:
19967 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19968 func_split_long_opt ()\
19970 \ func_split_long_opt_name=${1%%=*}\
19971 \ func_split_long_opt_arg=${1#*=}\
19972 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19973 && mv -f "$cfgfile.tmp" "$cfgfile" \
19974 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19975 test 0 -eq $?
|| _lt_function_replace_fail
=:
19978 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19979 func_split_short_opt ()\
19981 \ func_split_short_opt_arg=${1#??}\
19982 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19983 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19984 && mv -f "$cfgfile.tmp" "$cfgfile" \
19985 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19986 test 0 -eq $?
|| _lt_function_replace_fail
=:
19989 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19993 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19994 \ *) func_lo2o_result=${1} ;;\
19996 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19997 && mv -f "$cfgfile.tmp" "$cfgfile" \
19998 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19999 test 0 -eq $?
|| _lt_function_replace_fail
=:
20002 sed -e '/^func_xform ()$/,/^} # func_xform /c\
20005 func_xform_result=${1%.*}.lo\
20006 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20007 && mv -f "$cfgfile.tmp" "$cfgfile" \
20008 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20009 test 0 -eq $?
|| _lt_function_replace_fail
=:
20012 sed -e '/^func_arith ()$/,/^} # func_arith /c\
20015 func_arith_result=$(( $* ))\
20016 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20017 && mv -f "$cfgfile.tmp" "$cfgfile" \
20018 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20019 test 0 -eq $?
|| _lt_function_replace_fail
=:
20022 sed -e '/^func_len ()$/,/^} # func_len /c\
20025 func_len_result=${#1}\
20026 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20027 && mv -f "$cfgfile.tmp" "$cfgfile" \
20028 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20029 test 0 -eq $?
|| _lt_function_replace_fail
=:
20033 if test x
"$lt_shell_append" = xyes
; then
20034 sed -e '/^func_append ()$/,/^} # func_append /c\
20037 eval "${1}+=\\${2}"\
20038 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20039 && mv -f "$cfgfile.tmp" "$cfgfile" \
20040 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20041 test 0 -eq $?
|| _lt_function_replace_fail
=:
20044 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20045 func_append_quoted ()\
20047 \ func_quote_for_eval "${2}"\
20048 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20049 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20050 && mv -f "$cfgfile.tmp" "$cfgfile" \
20051 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20052 test 0 -eq $?
|| _lt_function_replace_fail
=:
20055 # Save a `func_append' function call where possible by direct use of '+='
20056 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20057 && mv -f "$cfgfile.tmp" "$cfgfile" \
20058 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20059 test 0 -eq $?
|| _lt_function_replace_fail
=:
20061 # Save a `func_append' function call even when '+=' is not available
20062 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20063 && mv -f "$cfgfile.tmp" "$cfgfile" \
20064 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20065 test 0 -eq $?
|| _lt_function_replace_fail
=:
20068 if test x
"$_lt_function_replace_fail" = x
":"; then
20069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20070 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20074 mv -f "$cfgfile" "$ofile" ||
20075 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20079 "tools/genssl_chmod":C
) chmod 755 tools
/genssl
;;
20087 ac_clean_files
=$ac_clean_files_save
20089 test $ac_write_fail = 0 ||
20090 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20093 # configure is writing to config.log, and then calls config.status.
20094 # config.status does its own redirection, appending to config.log.
20095 # Unfortunately, on DOS this fails, as config.log is still kept open
20096 # by configure, so config.status won't be able to write to it; its
20097 # output is simply discarded. So we exec the FD to /dev/null,
20098 # effectively closing config.log, so it can be properly (re)opened and
20099 # appended to by config.status. When coming back to configure, we
20100 # need to make the FD available again.
20101 if test "$no_create" != yes; then
20103 ac_config_status_args
=
20104 test "$silent" = yes &&
20105 ac_config_status_args
="$ac_config_status_args --quiet"
20107 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20109 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20110 # would make configure fail if this is the last instruction.
20111 $ac_cs_success || as_fn_exit
1
20115 # CONFIG_SUBDIRS section.
20117 if test "$no_recursion" != yes; then
20119 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
20120 # so they do not pile up.
20121 ac_sub_configure_args
=
20123 eval "set x $ac_configure_args"
20127 if test -n "$ac_prev"; then
20132 -cache-file | --cache-file | --cache-fil | --cache-fi \
20133 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20134 ac_prev
=cache_file
;;
20135 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20136 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
20139 --config-cache | -C)
20141 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20143 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20145 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
20147 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
20149 --disable-option-checking)
20153 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
20155 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
20159 # Always prepend --prefix to ensure using the same prefix
20160 # in subdir configurations.
20161 ac_arg
="--prefix=$prefix"
20163 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
20165 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
20168 if test "$silent" = yes; then
20169 ac_sub_configure_args
="--silent $ac_sub_configure_args"
20172 # Always prepend --disable-option-checking to silence warnings, since
20173 # different subdirs can have different --enable and --with options.
20174 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
20177 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
20179 # Do not complain, so a configure script can configure whichever
20180 # parts of a large source tree are present.
20181 test -d "$srcdir/$ac_dir" || continue
20183 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
20184 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
20185 $as_echo "$ac_msg" >&6
20186 as_dir
="$ac_dir"; as_fn_mkdir_p
20190 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20192 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20193 # A ".." for each directory in $ac_dir_suffix.
20194 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20195 case $ac_top_builddir_sub in
20196 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20197 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20200 ac_abs_top_builddir
=$ac_pwd
20201 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20202 # for backward compatibility:
20203 ac_top_builddir
=$ac_top_build_prefix
20206 .
) # We are building in place.
20208 ac_top_srcdir
=$ac_top_builddir_sub
20209 ac_abs_top_srcdir
=$ac_pwd ;;
20210 [\\/]* | ?
:[\\/]* ) # Absolute name.
20211 ac_srcdir
=$srcdir$ac_dir_suffix;
20212 ac_top_srcdir
=$srcdir
20213 ac_abs_top_srcdir
=$srcdir ;;
20214 *) # Relative name.
20215 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20216 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20217 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20219 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20224 # Check for guested configure; otherwise get Cygnus style configure.
20225 if test -f "$ac_srcdir/configure.gnu"; then
20226 ac_sub_configure
=$ac_srcdir/configure.gnu
20227 elif test -f "$ac_srcdir/configure"; then
20228 ac_sub_configure
=$ac_srcdir/configure
20229 elif test -f "$ac_srcdir/configure.in"; then
20230 # This should be Cygnus configure.
20231 ac_sub_configure
=$ac_aux_dir/configure
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
20234 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
20238 # The recursion is here.
20239 if test -n "$ac_sub_configure"; then
20240 # Make the cache file name correct relative to the subdirectory.
20241 case $cache_file in
20242 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
20243 *) # Relative name.
20244 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
20247 { $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
20248 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
20249 # The eval makes quoting arguments work.
20250 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
20251 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
20252 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
20258 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20260 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20264 if test "$cf_openssl_version_ok" = yes; then
20271 Configuration of ${BRANDING_NAME}-${BRANDING_VERSION}:
20272 Install directory : $prefix
20277 Nickname length : $NICKLEN
20278 Topic length : $TOPICLEN
20280 Use (g)make to compile $BRANDING_NAME, then (g)make install to install it.