2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libctf 1.2.0.
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}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='libctf'
589 PACKAGE_TARNAME
='libctf'
590 PACKAGE_VERSION
='1.2.0'
591 PACKAGE_STRING
='libctf 1.2.0'
595 ac_unique_file
="ctf-impl.h"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
634 ac_subst_vars
='am__EXEEXT_FALSE
646 NEED_CTF_QSORT_R_FALSE
647 NEED_CTF_QSORT_R_TRUE
648 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
649 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
652 ac_libctf_warn_cflags
660 MAINTAINER_MODE_FALSE
717 INSTALL_STRIP_PROGRAM
781 program_transform_name
794 enable_option_checking
795 enable_dependency_tracking
805 enable_maintainer_mode
806 enable_install_libbfd
808 enable_libctf_hash_debugging
810 ac_precious_vars
='build_alias
821 # Initialize some variables set by options.
823 ac_init_version
=false
824 ac_unrecognized_opts
=
826 # The variables have the same names as the options, with
827 # dashes changed to underlines.
835 program_transform_name
=s
,x
,x
,
843 # Installation directory options.
844 # These are left unexpanded so users can "make install exec_prefix=/foo"
845 # and all the variables that are supposed to be based on exec_prefix
846 # by default will actually change.
847 # Use braces instead of parens because sh, perl, etc. also accept them.
848 # (The list follows the same order as the GNU Coding Standards.)
849 bindir
='${exec_prefix}/bin'
850 sbindir
='${exec_prefix}/sbin'
851 libexecdir
='${exec_prefix}/libexec'
852 datarootdir
='${prefix}/share'
853 datadir
='${datarootdir}'
854 sysconfdir
='${prefix}/etc'
855 sharedstatedir
='${prefix}/com'
856 localstatedir
='${prefix}/var'
857 includedir
='${prefix}/include'
858 oldincludedir
='/usr/include'
859 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
860 infodir
='${datarootdir}/info'
865 libdir
='${exec_prefix}/lib'
866 localedir
='${datarootdir}/locale'
867 mandir
='${datarootdir}/man'
873 # If the previous option needs an argument, assign it.
874 if test -n "$ac_prev"; then
875 eval $ac_prev=\
$ac_option
881 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
886 # Accept the important Cygnus configure options, so we can diagnose typos.
888 case $ac_dashdash$ac_option in
892 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
894 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
897 -build |
--build |
--buil |
--bui |
--bu)
898 ac_prev
=build_alias
;;
899 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
900 build_alias
=$ac_optarg ;;
902 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
903 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
904 ac_prev
=cache_file
;;
905 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
906 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
907 cache_file
=$ac_optarg ;;
910 cache_file
=config.cache
;;
912 -datadir |
--datadir |
--datadi |
--datad)
914 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
915 datadir
=$ac_optarg ;;
917 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
918 |
--dataroo |
--dataro |
--datar)
919 ac_prev
=datarootdir
;;
920 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
921 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
922 datarootdir
=$ac_optarg ;;
924 -disable-* |
--disable-*)
925 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
928 as_fn_error $?
"invalid feature name: $ac_useropt"
929 ac_useropt_orig
=$ac_useropt
930 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
936 ac_unrecognized_sep
=', ';;
938 eval enable_
$ac_useropt=no
;;
940 -docdir |
--docdir |
--docdi |
--doc |
--do)
942 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
945 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
947 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
950 -enable-* |
--enable-*)
951 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
954 as_fn_error $?
"invalid feature name: $ac_useropt"
955 ac_useropt_orig
=$ac_useropt
956 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
961 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
962 ac_unrecognized_sep
=', ';;
964 eval enable_
$ac_useropt=\
$ac_optarg ;;
966 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
967 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
968 |
--exec |
--exe |
--ex)
969 ac_prev
=exec_prefix
;;
970 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
971 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
972 |
--exec=* |
--exe=* |
--ex=*)
973 exec_prefix
=$ac_optarg ;;
975 -gas |
--gas |
--ga |
--g)
976 # Obsolete; use --with-gas.
979 -help |
--help |
--hel |
--he |
-h)
981 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
982 ac_init_help
=recursive
;;
983 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
984 ac_init_help
=short
;;
986 -host |
--host |
--hos |
--ho)
987 ac_prev
=host_alias
;;
988 -host=* |
--host=* |
--hos=* |
--ho=*)
989 host_alias
=$ac_optarg ;;
991 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
993 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
995 htmldir
=$ac_optarg ;;
997 -includedir |
--includedir |
--includedi |
--included |
--include \
998 |
--includ |
--inclu |
--incl |
--inc)
999 ac_prev
=includedir
;;
1000 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1001 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1002 includedir
=$ac_optarg ;;
1004 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1006 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1007 infodir
=$ac_optarg ;;
1009 -libdir |
--libdir |
--libdi |
--libd)
1011 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1012 libdir
=$ac_optarg ;;
1014 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1015 |
--libexe |
--libex |
--libe)
1016 ac_prev
=libexecdir
;;
1017 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1018 |
--libexe=* |
--libex=* |
--libe=*)
1019 libexecdir
=$ac_optarg ;;
1021 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1022 ac_prev
=localedir
;;
1023 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1024 localedir
=$ac_optarg ;;
1026 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1027 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1028 ac_prev
=localstatedir
;;
1029 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1030 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1031 localstatedir
=$ac_optarg ;;
1033 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1035 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1036 mandir
=$ac_optarg ;;
1038 -nfp |
--nfp |
--nf)
1039 # Obsolete; use --without-fp.
1042 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1043 |
--no-cr |
--no-c |
-n)
1046 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1047 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1050 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1051 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1052 |
--oldin |
--oldi |
--old |
--ol |
--o)
1053 ac_prev
=oldincludedir
;;
1054 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1055 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1056 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1057 oldincludedir
=$ac_optarg ;;
1059 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1061 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1062 prefix
=$ac_optarg ;;
1064 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1065 |
--program-pre |
--program-pr |
--program-p)
1066 ac_prev
=program_prefix
;;
1067 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1068 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1069 program_prefix
=$ac_optarg ;;
1071 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1072 |
--program-suf |
--program-su |
--program-s)
1073 ac_prev
=program_suffix
;;
1074 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1075 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1076 program_suffix
=$ac_optarg ;;
1078 -program-transform-name |
--program-transform-name \
1079 |
--program-transform-nam |
--program-transform-na \
1080 |
--program-transform-n |
--program-transform- \
1081 |
--program-transform |
--program-transfor \
1082 |
--program-transfo |
--program-transf \
1083 |
--program-trans |
--program-tran \
1084 |
--progr-tra |
--program-tr |
--program-t)
1085 ac_prev
=program_transform_name
;;
1086 -program-transform-name=* |
--program-transform-name=* \
1087 |
--program-transform-nam=* |
--program-transform-na=* \
1088 |
--program-transform-n=* |
--program-transform-=* \
1089 |
--program-transform=* |
--program-transfor=* \
1090 |
--program-transfo=* |
--program-transf=* \
1091 |
--program-trans=* |
--program-tran=* \
1092 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1093 program_transform_name
=$ac_optarg ;;
1095 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1097 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1098 pdfdir
=$ac_optarg ;;
1100 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1102 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1105 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1106 |
-silent |
--silent |
--silen |
--sile |
--sil)
1109 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1111 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1113 sbindir
=$ac_optarg ;;
1115 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1116 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1117 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1119 ac_prev
=sharedstatedir
;;
1120 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1121 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1122 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1124 sharedstatedir
=$ac_optarg ;;
1126 -site |
--site |
--sit)
1128 -site=* |
--site=* |
--sit=*)
1131 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1133 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1134 srcdir
=$ac_optarg ;;
1136 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1137 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1138 ac_prev
=sysconfdir
;;
1139 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1140 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1141 sysconfdir
=$ac_optarg ;;
1143 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1144 ac_prev
=target_alias
;;
1145 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1146 target_alias
=$ac_optarg ;;
1148 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1151 -version |
--version |
--versio |
--versi |
--vers |
-V)
1152 ac_init_version
=: ;;
1155 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1158 as_fn_error $?
"invalid package name: $ac_useropt"
1159 ac_useropt_orig
=$ac_useropt
1160 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1165 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1166 ac_unrecognized_sep
=', ';;
1168 eval with_
$ac_useropt=\
$ac_optarg ;;
1170 -without-* |
--without-*)
1171 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 as_fn_error $?
"invalid package name: $ac_useropt"
1175 ac_useropt_orig
=$ac_useropt
1176 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1182 ac_unrecognized_sep
=', ';;
1184 eval with_
$ac_useropt=no
;;
1187 # Obsolete; use --with-x.
1190 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1191 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1192 ac_prev
=x_includes
;;
1193 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1194 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1195 x_includes
=$ac_optarg ;;
1197 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1198 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1199 ac_prev
=x_libraries
;;
1200 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1201 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1202 x_libraries
=$ac_optarg ;;
1204 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1205 Try \`$0 --help' for more information"
1209 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1210 # Reject names that are not valid shell variable names.
1211 case $ac_envvar in #(
1212 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1213 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1215 eval $ac_envvar=\
$ac_optarg
1216 export $ac_envvar ;;
1219 # FIXME: should be removed in autoconf 3.0.
1220 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1223 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1229 if test -n "$ac_prev"; then
1230 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1231 as_fn_error $?
"missing argument to $ac_option"
1234 if test -n "$ac_unrecognized_opts"; then
1235 case $enable_option_checking in
1237 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1238 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1242 # Check all directory arguments for consistency.
1243 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1244 datadir sysconfdir sharedstatedir localstatedir includedir \
1245 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1246 libdir localedir mandir
1248 eval ac_val
=\$
$ac_var
1249 # Remove trailing slashes.
1252 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1253 eval $ac_var=\
$ac_val;;
1255 # Be sure to have absolute directory names.
1257 [\\/$
]* | ?
:[\\/]* ) continue;;
1258 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1260 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1263 # There might be people who depend on the old broken behavior: `$host'
1264 # used to hold the argument of --host etc.
1265 # FIXME: To remove some day.
1268 target
=$target_alias
1270 # FIXME: To remove some day.
1271 if test "x$host_alias" != x
; then
1272 if test "x$build_alias" = x
; then
1273 cross_compiling
=maybe
1274 elif test "x$build_alias" != "x$host_alias"; then
1280 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1282 test "$silent" = yes && exec 6>/dev
/null
1285 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1286 ac_ls_di
=`ls -di .` &&
1287 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1288 as_fn_error $?
"working directory cannot be determined"
1289 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1290 as_fn_error $?
"pwd does not report name of working directory"
1293 # Find the source files, if location was not specified.
1294 if test -z "$srcdir"; then
1295 ac_srcdir_defaulted
=yes
1296 # Try the directory containing this script, then the parent directory.
1297 ac_confdir
=`$as_dirname -- "$as_myself" ||
1298 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1299 X"$as_myself" : 'X\(//\)[^/]' \| \
1300 X"$as_myself" : 'X\(//\)$' \| \
1301 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1302 $as_echo X"$as_myself" |
1303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1321 if test ! -r "$srcdir/$ac_unique_file"; then
1325 ac_srcdir_defaulted
=no
1327 if test ! -r "$srcdir/$ac_unique_file"; then
1328 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1329 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1331 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1333 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1335 # When building in place, set srcdir=.
1336 if test "$ac_abs_confdir" = "$ac_pwd"; then
1339 # Remove unnecessary trailing slashes from srcdir.
1340 # Double slashes in file names in object file debugging info
1341 # mess up M-x gdb in Emacs.
1343 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1345 for ac_var
in $ac_precious_vars; do
1346 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1347 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1348 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1349 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1353 # Report the --help message.
1355 if test "$ac_init_help" = "long"; then
1356 # Omit some internal or obsolete options to make the list less imposing.
1357 # This message is too long to be a string in the A/UX 3.1 sh.
1359 \`configure' configures libctf 1.2.0 to adapt to many kinds of systems.
1361 Usage: $0 [OPTION]... [VAR=VALUE]...
1363 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1364 VAR=VALUE. See below for descriptions of some of the useful variables.
1366 Defaults for the options are specified in brackets.
1369 -h, --help display this help and exit
1370 --help=short display options specific to this package
1371 --help=recursive display the short help of all the included packages
1372 -V, --version display version information and exit
1373 -q, --quiet, --silent do not print \`checking ...' messages
1374 --cache-file=FILE cache test results in FILE [disabled]
1375 -C, --config-cache alias for \`--cache-file=config.cache'
1376 -n, --no-create do not create output files
1377 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1379 Installation directories:
1380 --prefix=PREFIX install architecture-independent files in PREFIX
1381 [$ac_default_prefix]
1382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1385 By default, \`make install' will install all the files in
1386 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1387 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1388 for instance \`--prefix=\$HOME'.
1390 For better control, use the options below.
1392 Fine tuning of the installation directories:
1393 --bindir=DIR user executables [EPREFIX/bin]
1394 --sbindir=DIR system admin executables [EPREFIX/sbin]
1395 --libexecdir=DIR program executables [EPREFIX/libexec]
1396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1398 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1399 --libdir=DIR object code libraries [EPREFIX/lib]
1400 --includedir=DIR C header files [PREFIX/include]
1401 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1402 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1403 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1404 --infodir=DIR info documentation [DATAROOTDIR/info]
1405 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1406 --mandir=DIR man documentation [DATAROOTDIR/man]
1407 --docdir=DIR documentation root [DATAROOTDIR/doc/libctf]
1408 --htmldir=DIR html documentation [DOCDIR]
1409 --dvidir=DIR dvi documentation [DOCDIR]
1410 --pdfdir=DIR pdf documentation [DOCDIR]
1411 --psdir=DIR ps documentation [DOCDIR]
1417 --program-prefix=PREFIX prepend PREFIX to installed program names
1418 --program-suffix=SUFFIX append SUFFIX to installed program names
1419 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1422 --build=BUILD configure
for building on BUILD
[guessed
]
1423 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1424 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1428 if test -n "$ac_init_help"; then
1429 case $ac_init_help in
1430 short | recursive
) echo "Configuration of libctf 1.2.0:";;
1435 --disable-option-checking ignore unrecognized
--enable/--with options
1436 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1437 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1438 --enable-dependency-tracking
1439 do not reject slow dependency extractors
1440 --disable-dependency-tracking
1441 speeds up one-time build
1442 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1443 --disable-silent-rules verbose build output
(undo
: "make V=0")
1444 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1445 --enable-static[=PKGS
] build static libraries
[default
=yes]
1446 --enable-fast-install[=PKGS
]
1447 optimize
for fast installation
[default
=yes]
1448 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1449 --disable-largefile omit support
for large files
1450 --enable-werror-always enable -Werror despite compiler version
1451 --enable-maintainer-mode
1452 enable make rules and dependencies not useful
(and
1453 sometimes confusing
) to the casual installer
1454 --enable-install-libbfd controls installation of libbfd and related headers
1455 --enable-libctf-hash-debugging
1456 Enable expensive debugging of CTF deduplication
type
1457 hashing
[default
=no
]
1460 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1461 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1462 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1464 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1465 --with-system-zlib use installed libz
1467 Some influential environment variables
:
1468 CC C compiler
command
1469 CFLAGS C compiler flags
1470 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1471 nonstandard directory
<lib dir
>
1472 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1473 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1474 you have headers
in a nonstandard directory
<include dir
>
1477 Use these variables to override the choices made by
`configure' or to help
1478 it to find libraries and programs with nonstandard names/locations.
1480 Report bugs to the package provider.
1485 if test "$ac_init_help" = "recursive"; then
1486 # If there are subdirs, report their specific --help.
1487 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1488 test -d "$ac_dir" ||
1489 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1494 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1497 # A ".." for each directory in $ac_dir_suffix.
1498 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1499 case $ac_top_builddir_sub in
1500 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1501 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1504 ac_abs_top_builddir=$ac_pwd
1505 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1506 # for backward compatibility:
1507 ac_top_builddir=$ac_top_build_prefix
1510 .) # We are building in place.
1512 ac_top_srcdir=$ac_top_builddir_sub
1513 ac_abs_top_srcdir=$ac_pwd ;;
1514 [\\/]* | ?:[\\/]* ) # Absolute name.
1515 ac_srcdir=$srcdir$ac_dir_suffix;
1516 ac_top_srcdir=$srcdir
1517 ac_abs_top_srcdir=$srcdir ;;
1519 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1520 ac_top_srcdir=$ac_top_build_prefix$srcdir
1521 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1523 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1525 cd "$ac_dir" || { ac_status=$?; continue; }
1526 # Check for guested configure.
1527 if test -f "$ac_srcdir/configure.gnu"; then
1529 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1530 elif test -f "$ac_srcdir/configure"; then
1532 $SHELL "$ac_srcdir/configure" --help=recursive
1534 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1536 cd "$ac_pwd" || { ac_status=$?; break; }
1540 test -n "$ac_init_help" && exit $ac_status
1541 if $ac_init_version; then
1543 libctf configure 1.2.0
1544 generated by GNU Autoconf 2.69
1546 Copyright (C) 2012 Free Software Foundation, Inc.
1547 This configure script is free software; the Free Software Foundation
1548 gives unlimited permission to copy, distribute and modify it.
1553 ## ------------------------ ##
1554 ## Autoconf initialization. ##
1555 ## ------------------------ ##
1557 # ac_fn_c_try_compile LINENO
1558 # --------------------------
1559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1560 ac_fn_c_try_compile ()
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 rm -f conftest.$ac_objext
1564 if { { ac_try="$ac_compile"
1566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1567 *) ac_try_echo
=$ac_try;;
1569 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_compile") 2>conftest.err
1573 if test -s conftest.err
; then
1574 grep -v '^ *+' conftest.err
>conftest.er1
1575 cat conftest.er1
>&5
1576 mv -f conftest.er1 conftest.err
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } && {
1580 test -z "$ac_c_werror_flag" ||
1581 test ! -s conftest.err
1582 } && test -s conftest.
$ac_objext; then :
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.
$ac_ext >&5
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 as_fn_set_status
$ac_retval
1593 } # ac_fn_c_try_compile
1595 # ac_fn_c_try_cpp LINENO
1596 # ----------------------
1597 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1600 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1601 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } > conftest.i && {
1617 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1618 test ! -s conftest.err
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 as_fn_set_status $ac_retval
1632 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1633 # -------------------------------------------------------
1634 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1635 # the include files in INCLUDES and setting the cache variable VAR
1637 ac_fn_c_check_header_mongrel ()
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 if eval \${$3+:} false; then :
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1642 $as_echo_n "checking for $2... " >&6; }
1643 if eval \${$3+:} false; then :
1644 $as_echo_n "(cached) " >&6
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1650 # Is the header compilable?
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1652 $as_echo_n "checking $2 usability... " >&6; }
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1658 if ac_fn_c_try_compile "$LINENO"; then :
1659 ac_header_compiler=yes
1661 ac_header_compiler=no
1663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1665 $as_echo "$ac_header_compiler" >&6; }
1667 # Is the header present?
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1669 $as_echo_n "checking $2 presence... " >&6; }
1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1674 if ac_fn_c_try_cpp "$LINENO"; then :
1675 ac_header_preproc=yes
1677 ac_header_preproc=no
1679 rm -f conftest.err conftest.i conftest.$ac_ext
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1681 $as_echo "$ac_header_preproc" >&6; }
1683 # So? What about this header?
1684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1687 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1689 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1693 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1695 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1697 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1699 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1701 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1705 $as_echo_n "checking for $2... " >&6; }
1706 if eval \${$3+:} false; then :
1707 $as_echo_n "(cached) " >&6
1709 eval "$3=\$ac_header_compiler"
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 } # ac_fn_c_check_header_mongrel
1719 # ac_fn_c_try_run LINENO
1720 # ----------------------
1721 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1722 # that executables *can* be run.
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 if { { ac_try="$ac_link"
1728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1729 *) ac_try_echo
=$ac_try;;
1731 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_link") 2>&5
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1737 { { case "(($ac_try" in
1738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_try") 2>&5
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; }; }; then :
1749 $as_echo "$as_me: program exited with status $ac_status" >&5
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1753 ac_retval=$ac_status
1755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status $ac_retval
1761 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1762 # -------------------------------------------------------
1763 # Tests whether HEADER exists and can be compiled using the include files in
1764 # INCLUDES, setting the cache variable VAR accordingly.
1765 ac_fn_c_check_header_compile ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 $as_echo_n "checking for $2... " >&6; }
1770 if eval \${$3+:} false; then :
1771 $as_echo_n "(cached) " >&6
1773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1778 if ac_fn_c_try_compile "$LINENO"; then :
1783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 } # ac_fn_c_check_header_compile
1792 # ac_fn_c_try_link LINENO
1793 # -----------------------
1794 # Try to link conftest.$ac_ext, and return whether this succeeded.
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 rm -f conftest.$ac_objext conftest$ac_exeext
1799 if { { ac_try="$ac_link"
1801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1802 *) ac_try_echo
=$ac_try;;
1804 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_link") 2>conftest.err
1808 if test -s conftest.err
; then
1809 grep -v '^ *+' conftest.err
>conftest.er1
1810 cat conftest.er1
>&5
1811 mv -f conftest.er1 conftest.err
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; } && {
1815 test -z "$ac_c_werror_flag" ||
1816 test ! -s conftest.err
1817 } && test -s conftest
$ac_exeext && {
1818 test "$cross_compiling" = yes ||
1819 test -x conftest
$ac_exeext
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1828 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1829 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1830 # interfere with the next link command; also delete a directory that is
1831 # left behind by Apple's compiler. We do this before executing the actions.
1832 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834 as_fn_set_status
$ac_retval
1836 } # ac_fn_c_try_link
1838 # ac_fn_c_check_func LINENO FUNC VAR
1839 # ----------------------------------
1840 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1841 ac_fn_c_check_func
()
1843 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if eval \
${$3+:} false
; then :
1847 $as_echo_n "(cached) " >&6
1849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h. */
1851 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1853 #define $2 innocuous_$2
1855 /* System header to define __stub macros and hopefully few prototypes,
1856 which can conflict with char $2 (); below.
1857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1858 <limits.h> exists even on freestanding compilers. */
1861 # include <limits.h>
1863 # include <assert.h>
1868 /* Override any GCC internal prototype to avoid an error.
1869 Use char because int might match the return type of a GCC
1870 builtin and then its argument prototype would still apply. */
1875 /* The GNU C library defines this for functions which it implements
1876 to always fail with ENOSYS. Some functions are actually named
1877 something starting with __ and the normal name is an alias. */
1878 #if defined __stub_$2 || defined __stub___$2
1890 if ac_fn_c_try_link
"$LINENO"; then :
1895 rm -f core conftest.err conftest.
$ac_objext \
1896 conftest
$ac_exeext conftest.
$ac_ext
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903 } # ac_fn_c_check_func
1905 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1906 # ---------------------------------------------
1907 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1909 ac_fn_c_check_decl
()
1911 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1912 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1913 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1915 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1916 if eval \
${$3+:} false
; then :
1917 $as_echo_n "(cached) " >&6
1919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1925 #ifndef $as_decl_name
1927 (void) $as_decl_use;
1929 (void) $as_decl_name;
1937 if ac_fn_c_try_compile
"$LINENO"; then :
1942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946 $as_echo "$ac_res" >&6; }
1947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949 } # ac_fn_c_check_decl
1950 cat >config.log
<<_ACEOF
1951 This file contains any messages produced by compilers while
1952 running configure, to aid debugging if configure makes a mistake.
1954 It was created by libctf $as_me 1.2.0, which was
1955 generated by GNU Autoconf 2.69. Invocation command line was
1967 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1968 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1969 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1970 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1971 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1973 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1974 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1976 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1977 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1978 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1979 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1980 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1981 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1982 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir
=.
1991 $as_echo "PATH: $as_dir"
2007 # Keep a trace of the command line.
2008 # Strip out --no-create and --no-recursion so they do not pile up.
2009 # Strip out --silent because we don't want to record it for future runs.
2010 # Also quote any args containing shell meta-characters.
2011 # Make two passes to allow for proper duplicate-argument suppression.
2015 ac_must_keep_next
=false
2021 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2022 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2023 |
-silent |
--silent |
--silen |
--sile |
--sil)
2026 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2029 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2031 as_fn_append ac_configure_args1
" '$ac_arg'"
2032 if test $ac_must_keep_next = true
; then
2033 ac_must_keep_next
=false
# Got value, back to normal.
2036 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2037 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2038 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2039 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2040 case "$ac_configure_args0 " in
2041 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2044 -* ) ac_must_keep_next
=true
;;
2047 as_fn_append ac_configure_args
" '$ac_arg'"
2052 { ac_configure_args0
=; unset ac_configure_args0
;}
2053 { ac_configure_args1
=; unset ac_configure_args1
;}
2055 # When interrupted or exit'd, cleanup temporary files, and complete
2056 # config.log. We remove comments because anyway the quotes in there
2057 # would cause problems or look ugly.
2058 # WARNING: Use '\'' to represent an apostrophe within the trap.
2059 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2060 trap 'exit_status=$?
2061 # Save into config.log some information that might help in debugging.
2065 $as_echo "## ---------------- ##
2066 ## Cache variables. ##
2067 ## ---------------- ##"
2069 # The following way of writing the cache mishandles newlines in values,
2071 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2072 eval ac_val=\$$ac_var
2076 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2077 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2080 _ | IFS | as_nl) ;; #(
2081 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2082 *) { eval $ac_var=; unset $ac_var;} ;;
2087 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2088 *${as_nl}ac_space=\ *)
2090 "s/'\''/'\''\\\\'\'''\''/g;
2091 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2101 $as_echo "## ----------------- ##
2102 ## Output variables. ##
2103 ## ----------------- ##"
2105 for ac_var in $ac_subst_vars
2107 eval ac_val=\$$ac_var
2109 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2111 $as_echo "$ac_var='\''$ac_val'\''"
2115 if test -n "$ac_subst_files"; then
2116 $as_echo "## ------------------- ##
2117 ## File substitutions. ##
2118 ## ------------------- ##"
2120 for ac_var
in $ac_subst_files
2122 eval ac_val
=\$
$ac_var
2124 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2126 $as_echo "$ac_var='\''$ac_val'\''"
2131 if test -s confdefs.h; then
2132 $as_echo "## ----------- ##
2139 test "$ac_signal" != 0 &&
2140 $as_echo "$as_me: caught signal $ac_signal"
2141 $as_echo "$as_me: exit $exit_status"
2143 rm -f core *.core core.conftest.* &&
2144 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2147 for ac_signal
in 1 2 13 15; do
2148 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2153 rm -f -r conftest
* confdefs.h
2155 $as_echo "/* confdefs.h */" > confdefs.h
2157 # Predefined preprocessor variables.
2159 cat >>confdefs.h
<<_ACEOF
2160 #define PACKAGE_NAME "$PACKAGE_NAME"
2163 cat >>confdefs.h
<<_ACEOF
2164 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2167 cat >>confdefs.h
<<_ACEOF
2168 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2171 cat >>confdefs.h
<<_ACEOF
2172 #define PACKAGE_STRING "$PACKAGE_STRING"
2175 cat >>confdefs.h
<<_ACEOF
2176 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2179 cat >>confdefs.h
<<_ACEOF
2180 #define PACKAGE_URL "$PACKAGE_URL"
2184 # Let the site file select an alternate cache file if it wants to.
2185 # Prefer an explicitly selected file to automatically selected ones.
2188 if test -n "$CONFIG_SITE"; then
2189 # We do not want a PATH search for config.site.
2190 case $CONFIG_SITE in #((
2191 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2192 */*) ac_site_file1
=$CONFIG_SITE;;
2193 *) ac_site_file1
=.
/$CONFIG_SITE;;
2195 elif test "x$prefix" != xNONE
; then
2196 ac_site_file1
=$prefix/share
/config.site
2197 ac_site_file2
=$prefix/etc
/config.site
2199 ac_site_file1
=$ac_default_prefix/share
/config.site
2200 ac_site_file2
=$ac_default_prefix/etc
/config.site
2202 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2204 test "x$ac_site_file" = xNONE
&& continue
2205 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2207 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2208 sed 's/^/| /' "$ac_site_file" >&5
2210 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 as_fn_error $?
"failed to load site script $ac_site_file
2213 See \`config.log' for more details" "$LINENO" 5; }
2217 if test -r "$cache_file"; then
2218 # Some versions of bash will fail to source /dev/null (special files
2219 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2220 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2222 $as_echo "$as_me: loading cache $cache_file" >&6;}
2224 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2225 *) .
"./$cache_file";;
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2230 $as_echo "$as_me: creating cache $cache_file" >&6;}
2234 as_fn_append ac_header_list
" stdlib.h"
2235 as_fn_append ac_header_list
" unistd.h"
2236 as_fn_append ac_header_list
" sys/param.h"
2237 as_fn_append ac_func_list
" qsort_r"
2238 # Check that the precious variables saved in the cache have kept the same
2240 ac_cache_corrupted
=false
2241 for ac_var
in $ac_precious_vars; do
2242 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2243 eval ac_new_set
=\
$ac_env_${ac_var}_set
2244 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2245 eval ac_new_val
=\
$ac_env_${ac_var}_value
2246 case $ac_old_set,$ac_new_set in
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2249 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2250 ac_cache_corrupted
=: ;;
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2253 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2254 ac_cache_corrupted
=: ;;
2257 if test "x$ac_old_val" != "x$ac_new_val"; then
2258 # differences in whitespace do not lead to failure.
2259 ac_old_val_w
=`echo x $ac_old_val`
2260 ac_new_val_w
=`echo x $ac_new_val`
2261 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2263 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2264 ac_cache_corrupted
=:
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2267 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2268 eval $ac_var=\
$ac_old_val
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2271 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2273 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2276 # Pass precious variables to config.status.
2277 if test "$ac_new_set" = set; then
2279 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2280 *) ac_arg
=$ac_var=$ac_new_val ;;
2282 case " $ac_configure_args " in
2283 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2284 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2288 if $ac_cache_corrupted; then
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2292 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2293 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2295 ## -------------------- ##
2296 ## Main body of script. ##
2297 ## -------------------- ##
2300 ac_cpp
='$CPP $CPPFLAGS'
2301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2311 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2312 if test -f "$ac_dir/install-sh"; then
2314 ac_install_sh
="$ac_aux_dir/install-sh -c"
2316 elif test -f "$ac_dir/install.sh"; then
2318 ac_install_sh
="$ac_aux_dir/install.sh -c"
2320 elif test -f "$ac_dir/shtool"; then
2322 ac_install_sh
="$ac_aux_dir/shtool install -c"
2326 if test -z "$ac_aux_dir"; then
2327 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2330 # These three variables are undocumented and unsupported,
2331 # and are intended to be withdrawn in a future Autoconf release.
2332 # They can cause serious problems if a builder's source tree is in a directory
2333 # whose full name contains unusual characters.
2334 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2335 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2336 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2339 # Make sure we can run config.sub.
2340 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2341 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2344 $as_echo_n "checking build system type... " >&6; }
2345 if ${ac_cv_build+:} false
; then :
2346 $as_echo_n "(cached) " >&6
2348 ac_build_alias
=$build_alias
2349 test "x$ac_build_alias" = x
&&
2350 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2351 test "x$ac_build_alias" = x
&&
2352 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2353 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2354 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2358 $as_echo "$ac_cv_build" >&6; }
2359 case $ac_cv_build in
2361 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2364 ac_save_IFS
=$IFS; IFS
='-'
2370 # Remember, the first character of IFS is used to create $*,
2371 # except with old shells:
2374 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2378 $as_echo_n "checking host system type... " >&6; }
2379 if ${ac_cv_host+:} false
; then :
2380 $as_echo_n "(cached) " >&6
2382 if test "x$host_alias" = x
; then
2383 ac_cv_host
=$ac_cv_build
2385 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2386 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2391 $as_echo "$ac_cv_host" >&6; }
2394 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2397 ac_save_IFS
=$IFS; IFS
='-'
2403 # Remember, the first character of IFS is used to create $*,
2404 # except with old shells:
2407 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2411 $as_echo_n "checking target system type... " >&6; }
2412 if ${ac_cv_target+:} false
; then :
2413 $as_echo_n "(cached) " >&6
2415 if test "x$target_alias" = x
; then
2416 ac_cv_target
=$ac_cv_host
2418 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2419 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2424 $as_echo "$ac_cv_target" >&6; }
2425 case $ac_cv_target in
2427 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2429 target
=$ac_cv_target
2430 ac_save_IFS
=$IFS; IFS
='-'
2436 # Remember, the first character of IFS is used to create $*,
2437 # except with old shells:
2440 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2443 # The aliases save the names the user supplied, while $host etc.
2444 # will get canonicalized.
2445 test -n "$target_alias" &&
2446 test "$program_prefix$program_suffix$program_transform_name" = \
2448 program_prefix
=${target_alias}-
2449 # Expand $ac_aux_dir to an absolute path.
2450 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2453 ac_cpp
='$CPP $CPPFLAGS'
2454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2457 if test -n "$ac_tool_prefix"; then
2458 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2459 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461 $as_echo_n "checking for $ac_word... " >&6; }
2462 if ${ac_cv_prog_CC+:} false
; then :
2463 $as_echo_n "(cached) " >&6
2465 if test -n "$CC"; then
2466 ac_cv_prog_CC
="$CC" # Let the user override the test.
2468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir
=.
2473 for ac_exec_ext
in '' $ac_executable_extensions; do
2474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2475 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 if test -n "$CC"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2488 $as_echo "$CC" >&6; }
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491 $as_echo "no" >&6; }
2496 if test -z "$ac_cv_prog_CC"; then
2498 # Extract the first word of "gcc", so it can be a program name with args.
2499 set dummy gcc
; ac_word
=$2
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501 $as_echo_n "checking for $ac_word... " >&6; }
2502 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2503 $as_echo_n "(cached) " >&6
2505 if test -n "$ac_ct_CC"; then
2506 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir
=.
2513 for ac_exec_ext
in '' $ac_executable_extensions; do
2514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_ac_ct_CC
="gcc"
2516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2526 if test -n "$ac_ct_CC"; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2528 $as_echo "$ac_ct_CC" >&6; }
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531 $as_echo "no" >&6; }
2534 if test "x$ac_ct_CC" = x
; then
2537 case $cross_compiling:$ac_tool_warned in
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2541 ac_tool_warned
=yes ;;
2549 if test -z "$CC"; then
2550 if test -n "$ac_tool_prefix"; then
2551 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2552 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2554 $as_echo_n "checking for $ac_word... " >&6; }
2555 if ${ac_cv_prog_CC+:} false
; then :
2556 $as_echo_n "(cached) " >&6
2558 if test -n "$CC"; then
2559 ac_cv_prog_CC
="$CC" # Let the user override the test.
2561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2565 test -z "$as_dir" && as_dir
=.
2566 for ac_exec_ext
in '' $ac_executable_extensions; do
2567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2568 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 if test -n "$CC"; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2581 $as_echo "$CC" >&6; }
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2584 $as_echo "no" >&6; }
2590 if test -z "$CC"; then
2591 # Extract the first word of "cc", so it can be a program name with args.
2592 set dummy cc
; ac_word
=$2
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594 $as_echo_n "checking for $ac_word... " >&6; }
2595 if ${ac_cv_prog_CC+:} false
; then :
2596 $as_echo_n "(cached) " >&6
2598 if test -n "$CC"; then
2599 ac_cv_prog_CC
="$CC" # Let the user override the test.
2602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir
=.
2607 for ac_exec_ext
in '' $ac_executable_extensions; do
2608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2609 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2610 ac_prog_rejected
=yes
2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 if test $ac_prog_rejected = yes; then
2622 # We found a bogon in the path, so make sure we never use it.
2623 set dummy
$ac_cv_prog_CC
2625 if test $# != 0; then
2626 # We chose a different compiler from the bogus one.
2627 # However, it has the same basename, so the bogon will be chosen
2628 # first if we set CC to just the basename; use the full file name.
2630 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2636 if test -n "$CC"; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2638 $as_echo "$CC" >&6; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2646 if test -z "$CC"; then
2647 if test -n "$ac_tool_prefix"; then
2648 for ac_prog
in cl.exe
2650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2651 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if ${ac_cv_prog_CC+:} false
; then :
2655 $as_echo_n "(cached) " >&6
2657 if test -n "$CC"; then
2658 ac_cv_prog_CC
="$CC" # Let the user override the test.
2660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2664 test -z "$as_dir" && as_dir
=.
2665 for ac_exec_ext
in '' $ac_executable_extensions; do
2666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2667 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 if test -n "$CC"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2680 $as_echo "$CC" >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2687 test -n "$CC" && break
2690 if test -z "$CC"; then
2692 for ac_prog
in cl.exe
2694 # Extract the first word of "$ac_prog", so it can be a program name with args.
2695 set dummy
$ac_prog; ac_word
=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2699 $as_echo_n "(cached) " >&6
2701 if test -n "$ac_ct_CC"; then
2702 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir
=.
2709 for ac_exec_ext
in '' $ac_executable_extensions; do
2710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2711 ac_cv_prog_ac_ct_CC
="$ac_prog"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2722 if test -n "$ac_ct_CC"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2724 $as_echo "$ac_ct_CC" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2731 test -n "$ac_ct_CC" && break
2734 if test "x$ac_ct_CC" = x
; then
2737 case $cross_compiling:$ac_tool_warned in
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2741 ac_tool_warned
=yes ;;
2750 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2752 as_fn_error $?
"no acceptable C compiler found in \$PATH
2753 See \`config.log' for more details" "$LINENO" 5; }
2755 # Provide some information about the compiler.
2756 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2759 for ac_option
in --version -v -V -qversion; do
2760 { { ac_try
="$ac_compiler $ac_option >&5"
2762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2766 $as_echo "$ac_try_echo"; } >&5
2767 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2769 if test -s conftest.err; then
2771 ... rest of stderr output deleted ...
2772 10q' conftest.err >conftest.er1
2773 cat conftest.er1 >&5
2775 rm -f conftest.er1 conftest.err
2776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777 test $ac_status = 0; }
2780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2781 /* end confdefs.h. */
2791 ac_clean_files_save=$ac_clean_files
2792 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2793 # Try to create an executable without -o first, disregard a.out.
2794 # It will help us diagnose broken compilers, and finding out an intuition
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2797 $as_echo_n "checking whether the C compiler works... " >&6; }
2798 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2800 # The possible output files:
2801 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2804 for ac_file in $ac_files
2807 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2808 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2813 if { { ac_try="$ac_link_default"
2815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2816 *) ac_try_echo
=$ac_try;;
2818 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2819 $as_echo "$ac_try_echo"; } >&5
2820 (eval "$ac_link_default") 2>&5
2822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2823 test $ac_status = 0; }; then :
2824 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2825 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2826 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2827 # so that the user can short-circuit this test for compilers unknown to
2829 for ac_file
in $ac_files ''
2831 test -f "$ac_file" ||
continue
2833 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2836 # We found the default executable, but exeext='' is most
2840 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2842 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2844 # We set ac_cv_exeext here because the later test for it is not
2845 # safe: cross compilers may not add the suffix if given an `-o'
2846 # argument, so we may need to know it at that point already.
2847 # Even if this section looks crufty: it has the advantage of
2854 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2859 if test -z "$ac_file"; then :
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2862 $as_echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.
$ac_ext >&5
2865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2867 as_fn_error
77 "C compiler cannot create executables
2868 See \`config.log' for more details" "$LINENO" 5; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2871 $as_echo "yes" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2874 $as_echo_n "checking for C compiler default output file name... " >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2876 $as_echo "$ac_file" >&6; }
2877 ac_exeext
=$ac_cv_exeext
2879 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2880 ac_clean_files
=$ac_clean_files_save
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2882 $as_echo_n "checking for suffix of executables... " >&6; }
2883 if { { ac_try
="$ac_link"
2885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 $as_echo "$ac_try_echo"; } >&5
2890 (eval "$ac_link") 2>&5
2892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2893 test $ac_status = 0; }; then :
2894 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2895 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2896 # work properly (i.e., refer to `conftest.exe'), while it won't with
2898 for ac_file
in conftest.exe conftest conftest.
*; do
2899 test -f "$ac_file" ||
continue
2901 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2902 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2910 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2911 See \`config.log' for more details" "$LINENO" 5; }
2913 rm -f conftest conftest
$ac_cv_exeext
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2915 $as_echo "$ac_cv_exeext" >&6; }
2917 rm -f conftest.
$ac_ext
2918 EXEEXT
=$ac_cv_exeext
2920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2921 /* end confdefs.h. */
2926 FILE *f = fopen ("conftest.out", "w");
2927 return ferror (f) || fclose (f) != 0;
2933 ac_clean_files
="$ac_clean_files conftest.out"
2934 # Check that the compiler produces executables we can run. If not, either
2935 # the compiler is broken, or we cross compile.
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2937 $as_echo_n "checking whether we are cross compiling... " >&6; }
2938 if test "$cross_compiling" != yes; then
2939 { { ac_try
="$ac_link"
2941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2945 $as_echo "$ac_try_echo"; } >&5
2946 (eval "$ac_link") 2>&5
2948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2949 test $ac_status = 0; }
2950 if { ac_try='./conftest$ac_cv_exeext'
2951 { { case "(($ac_try" in
2952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2953 *) ac_try_echo
=$ac_try;;
2955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2956 $as_echo "$ac_try_echo"; } >&5
2957 (eval "$ac_try") 2>&5
2959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960 test $ac_status = 0; }; }; then
2963 if test "$cross_compiling" = maybe
; then
2966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2968 as_fn_error $?
"cannot run C compiled programs.
2969 If you meant to cross compile, use \`--host'.
2970 See \`config.log' for more details" "$LINENO" 5; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2975 $as_echo "$cross_compiling" >&6; }
2977 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2978 ac_clean_files
=$ac_clean_files_save
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2980 $as_echo_n "checking for suffix of object files... " >&6; }
2981 if ${ac_cv_objext+:} false
; then :
2982 $as_echo_n "(cached) " >&6
2984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2995 rm -f conftest.o conftest.obj
2996 if { { ac_try
="$ac_compile"
2998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3002 $as_echo "$ac_try_echo"; } >&5
3003 (eval "$ac_compile") 2>&5
3005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3006 test $ac_status = 0; }; then :
3007 for ac_file in conftest.o conftest.obj conftest.*; do
3008 test -f "$ac_file" || continue;
3010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3011 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3016 $as_echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.$ac_ext >&5
3019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3021 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3022 See \
`config.log' for more details" "$LINENO" 5; }
3024 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3027 $as_echo "$ac_cv_objext" >&6; }
3028 OBJEXT=$ac_cv_objext
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3031 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3032 if ${ac_cv_c_compiler_gnu+:} false; then :
3033 $as_echo_n "(cached) " >&6
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3049 if ac_fn_c_try_compile "$LINENO"; then :
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3059 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3060 if test $ac_compiler_gnu = yes; then
3065 ac_test_CFLAGS=${CFLAGS+set}
3066 ac_save_CFLAGS=$CFLAGS
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3068 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3069 if ${ac_cv_prog_cc_g+:} false; then :
3070 $as_echo_n "(cached) " >&6
3072 ac_save_c_werror_flag=$ac_c_werror_flag
3073 ac_c_werror_flag=yes
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3087 if ac_fn_c_try_compile "$LINENO"; then :
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3102 if ac_fn_c_try_compile "$LINENO"; then :
3105 ac_c_werror_flag=$ac_save_c_werror_flag
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3118 if ac_fn_c_try_compile "$LINENO"; then :
3121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3126 ac_c_werror_flag=$ac_save_c_werror_flag
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3129 $as_echo "$ac_cv_prog_cc_g" >&6; }
3130 if test "$ac_test_CFLAGS" = set; then
3131 CFLAGS=$ac_save_CFLAGS
3132 elif test $ac_cv_prog_cc_g = yes; then
3133 if test "$GCC" = yes; then
3139 if test "$GCC" = yes; then
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3146 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3147 if ${ac_cv_prog_cc_c89+:} false; then :
3148 $as_echo_n "(cached) " >&6
3150 ac_cv_prog_cc_c89=no
3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3157 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3158 struct buf { int x; };
3159 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3160 static char *e (p, i)
3166 static char *f (char * (*g) (char **, int), char **p, ...)
3171 s = g (p, va_arg (v,int));
3176 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3177 function prototypes and stuff, but not '\xHH' hex character constants.
3178 These don't provoke an error unfortunately, instead are silently treated
3179 as 'x'. The following induces an error, until -std is added to get
3180 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3181 array size at least. It's necessary to write '\x00'==0 to get something
3182 that's true only with -std. */
3183 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3185 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3186 inside strings and character constants. */
3188 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3190 int test (int i, double x);
3191 struct s1 {int (*f) (int a);};
3192 struct s2 {int (*f) (double a);};
3193 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3199 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3204 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3205 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3207 CC="$ac_save_CC $ac_arg"
3208 if ac_fn_c_try_compile "$LINENO"; then :
3209 ac_cv_prog_cc_c89=$ac_arg
3211 rm -f core conftest.err conftest.$ac_objext
3212 test "x$ac_cv_prog_cc_c89" != "xno" && break
3214 rm -f conftest.$ac_ext
3219 case "x$ac_cv_prog_cc_c89" in
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3222 $as_echo "none needed" >&6; } ;;
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3225 $as_echo "unsupported" >&6; } ;;
3227 CC="$CC $ac_cv_prog_cc_c89"
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3229 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3231 if test "x$ac_cv_prog_cc_c89" != xno; then :
3236 ac_cpp='$CPP $CPPFLAGS'
3237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3242 ac_cpp='$CPP $CPPFLAGS'
3243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3247 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3248 if ${am_cv_prog_cc_c_o+:} false; then :
3249 $as_echo_n "(cached) " >&6
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3262 # Make sure it works both with $CC and with simple cc.
3263 # Following AC_PROG_CC_C_O, we do the test twice because some
3264 # compilers refuse to overwrite an existing .o file with -o,
3265 # though they will create one.
3266 am_cv_prog_cc_c_o=yes
3268 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3269 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } \
3273 && test -f conftest2.$ac_objext; then
3276 am_cv_prog_cc_c_o=no
3280 rm -f core conftest*
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3284 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3285 if test "$am_cv_prog_cc_c_o" != yes; then
3286 # Losing compiler, so override with the script.
3287 # FIXME: It is wrong to rewrite CC.
3288 # But if we don't then we get into trouble of one sort or another.
3289 # A longer-term fix would be to have automake use am__CC in this case,
3290 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3291 CC="$am_aux_dir/compile $CC"
3294 ac_cpp='$CPP $CPPFLAGS'
3295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 ac_cpp='$CPP $CPPFLAGS'
3303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3307 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3308 # On Suns, sometimes $CPP names a directory.
3309 if test -n "$CPP" && test -d "$CPP"; then
3312 if test -z "$CPP"; then
3313 if ${ac_cv_prog_CPP+:} false; then :
3314 $as_echo_n "(cached) " >&6
3316 # Double quotes because CPP needs to be expanded
3317 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3320 for ac_c_preproc_warn_flag in '' yes
3322 # Use a header file that comes with gcc, so configuring glibc
3323 # with a fresh cross-compiler works.
3324 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3325 # <limits.h> exists even on freestanding compilers.
3326 # On the NeXT, cc -E runs the code through the compiler's parser,
3327 # not just through cpp. "Syntax error" is here to catch this case.
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3331 # include <limits.h>
3333 # include <assert.h>
3337 if ac_fn_c_try_cpp "$LINENO"; then :
3340 # Broken: fails on valid input.
3343 rm -f conftest.err conftest.i conftest.$ac_ext
3345 # OK, works on sane cases. Now check whether nonexistent headers
3346 # can be detected and how.
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3349 #include <ac_nonexistent.h>
3351 if ac_fn_c_try_cpp "$LINENO"; then :
3352 # Broken: success on invalid input.
3355 # Passes both tests.
3359 rm -f conftest.err conftest.i conftest.$ac_ext
3362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3363 rm -f conftest.i conftest.err conftest.
$ac_ext
3364 if $ac_preproc_ok; then :
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3377 $as_echo "$CPP" >&6; }
3379 for ac_c_preproc_warn_flag
in '' yes
3381 # Use a header file that comes with gcc, so configuring glibc
3382 # with a fresh cross-compiler works.
3383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3384 # <limits.h> exists even on freestanding compilers.
3385 # On the NeXT, cc -E runs the code through the compiler's parser,
3386 # not just through cpp. "Syntax error" is here to catch this case.
3387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3390 # include <limits.h>
3392 # include <assert.h>
3396 if ac_fn_c_try_cpp
"$LINENO"; then :
3399 # Broken: fails on valid input.
3402 rm -f conftest.err conftest.i conftest.
$ac_ext
3404 # OK, works on sane cases. Now check whether nonexistent headers
3405 # can be detected and how.
3406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3408 #include <ac_nonexistent.h>
3410 if ac_fn_c_try_cpp
"$LINENO"; then :
3411 # Broken: success on invalid input.
3414 # Passes both tests.
3418 rm -f conftest.err conftest.i conftest.
$ac_ext
3421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3422 rm -f conftest.i conftest.err conftest.
$ac_ext
3423 if $ac_preproc_ok; then :
3426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3428 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3429 See \`config.log' for more details" "$LINENO" 5; }
3433 ac_cpp
='$CPP $CPPFLAGS'
3434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3440 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3441 if ${ac_cv_path_GREP+:} false
; then :
3442 $as_echo_n "(cached) " >&6
3444 if test -z "$GREP"; then
3445 ac_path_GREP_found
=false
3446 # Loop through the user's path and test for each of PROGNAME-LIST
3447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3448 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3451 test -z "$as_dir" && as_dir
=.
3452 for ac_prog
in grep ggrep
; do
3453 for ac_exec_ext
in '' $ac_executable_extensions; do
3454 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3455 as_fn_executable_p
"$ac_path_GREP" ||
continue
3456 # Check for GNU ac_path_GREP and select it if it is found.
3457 # Check for GNU $ac_path_GREP
3458 case `"$ac_path_GREP" --version 2>&1` in
3460 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3463 $as_echo_n 0123456789 >"conftest.in"
3466 cat "conftest.in" "conftest.in" >"conftest.tmp"
3467 mv "conftest.tmp" "conftest.in"
3468 cp "conftest.in" "conftest.nl"
3469 $as_echo 'GREP' >> "conftest.nl"
3470 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3471 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3472 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3473 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3474 # Best one so far, save it but keep looking for a better one
3475 ac_cv_path_GREP
="$ac_path_GREP"
3476 ac_path_GREP_max
=$ac_count
3478 # 10*(2^10) chars as input seems more than enough
3479 test $ac_count -gt 10 && break
3481 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3484 $ac_path_GREP_found && break 3
3489 if test -z "$ac_cv_path_GREP"; then
3490 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3493 ac_cv_path_GREP
=$GREP
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3498 $as_echo "$ac_cv_path_GREP" >&6; }
3499 GREP
="$ac_cv_path_GREP"
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3503 $as_echo_n "checking for egrep... " >&6; }
3504 if ${ac_cv_path_EGREP+:} false
; then :
3505 $as_echo_n "(cached) " >&6
3507 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3508 then ac_cv_path_EGREP
="$GREP -E"
3510 if test -z "$EGREP"; then
3511 ac_path_EGREP_found
=false
3512 # Loop through the user's path and test for each of PROGNAME-LIST
3513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3514 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3517 test -z "$as_dir" && as_dir
=.
3518 for ac_prog
in egrep; do
3519 for ac_exec_ext
in '' $ac_executable_extensions; do
3520 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3521 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3522 # Check for GNU ac_path_EGREP and select it if it is found.
3523 # Check for GNU $ac_path_EGREP
3524 case `"$ac_path_EGREP" --version 2>&1` in
3526 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3529 $as_echo_n 0123456789 >"conftest.in"
3532 cat "conftest.in" "conftest.in" >"conftest.tmp"
3533 mv "conftest.tmp" "conftest.in"
3534 cp "conftest.in" "conftest.nl"
3535 $as_echo 'EGREP' >> "conftest.nl"
3536 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3537 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3538 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3539 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3540 # Best one so far, save it but keep looking for a better one
3541 ac_cv_path_EGREP
="$ac_path_EGREP"
3542 ac_path_EGREP_max
=$ac_count
3544 # 10*(2^10) chars as input seems more than enough
3545 test $ac_count -gt 10 && break
3547 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3550 $ac_path_EGREP_found && break 3
3555 if test -z "$ac_cv_path_EGREP"; then
3556 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3559 ac_cv_path_EGREP
=$EGREP
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3565 $as_echo "$ac_cv_path_EGREP" >&6; }
3566 EGREP
="$ac_cv_path_EGREP"
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3570 $as_echo_n "checking for ANSI C header files... " >&6; }
3571 if ${ac_cv_header_stdc+:} false
; then :
3572 $as_echo_n "(cached) " >&6
3574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3589 if ac_fn_c_try_compile
"$LINENO"; then :
3590 ac_cv_header_stdc
=yes
3592 ac_cv_header_stdc
=no
3594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3596 if test $ac_cv_header_stdc = yes; then
3597 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3604 $EGREP "memchr" >/dev
/null
2>&1; then :
3607 ac_cv_header_stdc
=no
3613 if test $ac_cv_header_stdc = yes; then
3614 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3621 $EGREP "free" >/dev
/null
2>&1; then :
3624 ac_cv_header_stdc
=no
3630 if test $ac_cv_header_stdc = yes; then
3631 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3632 if test "$cross_compiling" = yes; then :
3635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3639 #if ((' ' & 0x0FF) == 0x020)
3640 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3641 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3643 # define ISLOWER(c) \
3644 (('a' <= (c) && (c) <= 'i') \
3645 || ('j' <= (c) && (c) <= 'r') \
3646 || ('s' <= (c) && (c) <= 'z'))
3647 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3650 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3655 for (i = 0; i < 256; i++)
3656 if (XOR (islower (i), ISLOWER (i))
3657 || toupper (i) != TOUPPER (i))
3662 if ac_fn_c_try_run
"$LINENO"; then :
3665 ac_cv_header_stdc
=no
3667 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3668 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3674 $as_echo "$ac_cv_header_stdc" >&6; }
3675 if test $ac_cv_header_stdc = yes; then
3677 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3681 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3682 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3683 inttypes.h stdint.h unistd.h
3685 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3686 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3688 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3689 cat >>confdefs.h
<<_ACEOF
3690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3699 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3700 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3707 if test "$MINIX" = yes; then
3709 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3712 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3715 $as_echo "#define _MINIX 1" >>confdefs.h
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3721 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3722 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3723 $as_echo_n "(cached) " >&6
3725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3726 /* end confdefs.h. */
3728 # define __EXTENSIONS__ 1
3729 $ac_includes_default
3738 if ac_fn_c_try_compile
"$LINENO"; then :
3739 ac_cv_safe_to_define___extensions__
=yes
3741 ac_cv_safe_to_define___extensions__
=no
3743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3746 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3747 test $ac_cv_safe_to_define___extensions__ = yes &&
3748 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3750 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3752 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3754 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3756 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3759 am__api_version
='1.15'
3761 # Find a good install program. We prefer a C program (faster),
3762 # so one script is as good as another. But avoid the broken or
3763 # incompatible versions:
3764 # SysV /etc/install, /usr/sbin/install
3765 # SunOS /usr/etc/install
3766 # IRIX /sbin/install
3768 # AmigaOS /C/install, which installs bootblocks on floppy discs
3769 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3770 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3771 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3772 # OS/2's system install, which has a completely different semantic
3773 # ./install, which can be erroneously created by make from ./install.sh.
3774 # Reject install programs that cannot install multiple files.
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3776 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3777 if test -z "$INSTALL"; then
3778 if ${ac_cv_path_install+:} false
; then :
3779 $as_echo_n "(cached) " >&6
3781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3785 test -z "$as_dir" && as_dir
=.
3786 # Account for people who put trailing slashes in PATH elements.
3787 case $as_dir/ in #((
3788 .
/ | .
// |
/[cC
]/* | \
3789 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3790 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3793 # OSF1 and SCO ODT 3.0 have their own names for install.
3794 # Don't use installbsd from OSF since it installs stuff as root
3796 for ac_prog
in ginstall scoinst
install; do
3797 for ac_exec_ext
in '' $ac_executable_extensions; do
3798 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3799 if test $ac_prog = install &&
3800 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3801 # AIX install. It has an incompatible calling convention.
3803 elif test $ac_prog = install &&
3804 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3805 # program-specific install script used by HP pwplus--don't use.
3808 rm -rf conftest.one conftest.two conftest.dir
3809 echo one
> conftest.one
3810 echo two
> conftest.two
3812 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3813 test -s conftest.one
&& test -s conftest.two
&&
3814 test -s conftest.dir
/conftest.one
&&
3815 test -s conftest.dir
/conftest.two
3817 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3830 rm -rf conftest.one conftest.two conftest.dir
3833 if test "${ac_cv_path_install+set}" = set; then
3834 INSTALL
=$ac_cv_path_install
3836 # As a last resort, use the slow shell script. Don't cache a
3837 # value for INSTALL within a source directory, because that will
3838 # break other packages using the cache if that directory is
3839 # removed, or if the value is a relative name.
3840 INSTALL
=$ac_install_sh
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3844 $as_echo "$INSTALL" >&6; }
3846 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3847 # It thinks the first close brace ends the variable substitution.
3848 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3850 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3852 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3855 $as_echo_n "checking whether build environment is sane... " >&6; }
3856 # Reject unsafe characters in $srcdir or the absolute working directory
3857 # name. Accept space and tab only in the latter.
3861 *[\\\"\
#\$\&\'\`$am_lf]*)
3862 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3865 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3866 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3869 # Do 'set' in a subshell so we don't clobber the current shell's
3870 # arguments. Must try -L first in case configure is actually a
3871 # symlink; some systems play weird games with the mod time of symlinks
3872 # (eg FreeBSD returns the mod time of the symlink's containing
3876 for am_try
in 1 2; do
3877 echo "timestamp, slept: $am_has_slept" > conftest.
file
3878 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3879 if test "$*" = "X"; then
3881 set X
`ls -t "$srcdir/configure" conftest.file`
3883 if test "$*" != "X $srcdir/configure conftest.file" \
3884 && test "$*" != "X conftest.file $srcdir/configure"; then
3886 # If neither matched, then we have a broken ls. This can happen
3887 # if, for instance, CONFIG_SHELL is bash and it inherits a
3888 # broken ls alias from the environment. This has actually
3889 # happened. Such a system could not be considered "sane".
3890 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3891 alias in your environment" "$LINENO" 5
3893 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3900 test "$2" = conftest.
file
3906 as_fn_error $?
"newly created file is older than distributed files!
3907 Check your system clock" "$LINENO" 5
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3910 $as_echo "yes" >&6; }
3911 # If we didn't sleep, we still need to ensure time stamps of config.status and
3912 # generated files are strictly newer.
3914 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3921 test "$program_prefix" != NONE
&&
3922 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3923 # Use a double $ so make ignores it.
3924 test "$program_suffix" != NONE
&&
3925 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3926 # Double any \ or $.
3927 # By default was `s,x,x', remove it if useless.
3928 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3929 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3931 if test x
"${MISSING+set}" != xset
; then
3934 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3936 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3939 # Use eval to expand $SHELL
3940 if eval "$MISSING --is-lightweight"; then
3941 am_missing_run
="$MISSING "
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3945 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3948 if test x
"${install_sh+set}" != xset
; then
3951 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3953 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3957 # Installed binaries are usually stripped using 'strip' when the user
3958 # run "make install-strip". However 'strip' might not be the right
3959 # tool to use in cross-compilation environments, therefore Automake
3960 # will honor the 'STRIP' environment variable to overrule this program.
3961 if test "$cross_compiling" != no
; then
3962 if test -n "$ac_tool_prefix"; then
3963 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3964 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; }
3967 if ${ac_cv_prog_STRIP+:} false
; then :
3968 $as_echo_n "(cached) " >&6
3970 if test -n "$STRIP"; then
3971 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir
=.
3978 for ac_exec_ext
in '' $ac_executable_extensions; do
3979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3980 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 STRIP
=$ac_cv_prog_STRIP
3991 if test -n "$STRIP"; then
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3993 $as_echo "$STRIP" >&6; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
4001 if test -z "$ac_cv_prog_STRIP"; then
4003 # Extract the first word of "strip", so it can be a program name with args.
4004 set dummy strip
; ac_word
=$2
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4006 $as_echo_n "checking for $ac_word... " >&6; }
4007 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4008 $as_echo_n "(cached) " >&6
4010 if test -n "$ac_ct_STRIP"; then
4011 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4017 test -z "$as_dir" && as_dir
=.
4018 for ac_exec_ext
in '' $ac_executable_extensions; do
4019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4020 ac_cv_prog_ac_ct_STRIP
="strip"
4021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4030 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4031 if test -n "$ac_ct_STRIP"; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4033 $as_echo "$ac_ct_STRIP" >&6; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036 $as_echo "no" >&6; }
4039 if test "x$ac_ct_STRIP" = x
; then
4042 case $cross_compiling:$ac_tool_warned in
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4046 ac_tool_warned
=yes ;;
4051 STRIP
="$ac_cv_prog_STRIP"
4055 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4058 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4059 if test -z "$MKDIR_P"; then
4060 if ${ac_cv_path_mkdir+:} false
; then :
4061 $as_echo_n "(cached) " >&6
4063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4064 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4067 test -z "$as_dir" && as_dir
=.
4068 for ac_prog
in mkdir gmkdir
; do
4069 for ac_exec_ext
in '' $ac_executable_extensions; do
4070 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4071 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4072 'mkdir (GNU coreutils) '* | \
4073 'mkdir (coreutils) '* | \
4074 'mkdir (fileutils) '4.1*)
4075 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4085 test -d .
/--version && rmdir .
/--version
4086 if test "${ac_cv_path_mkdir+set}" = set; then
4087 MKDIR_P
="$ac_cv_path_mkdir -p"
4089 # As a last resort, use the slow shell script. Don't cache a
4090 # value for MKDIR_P within a source directory, because that will
4091 # break other packages using the cache if that directory is
4092 # removed, or if the value is a relative name.
4093 MKDIR_P
="$ac_install_sh -d"
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4097 $as_echo "$MKDIR_P" >&6; }
4099 for ac_prog
in gawk mawk nawk
awk
4101 # Extract the first word of "$ac_prog", so it can be a program name with args.
4102 set dummy
$ac_prog; ac_word
=$2
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104 $as_echo_n "checking for $ac_word... " >&6; }
4105 if ${ac_cv_prog_AWK+:} false
; then :
4106 $as_echo_n "(cached) " >&6
4108 if test -n "$AWK"; then
4109 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4115 test -z "$as_dir" && as_dir
=.
4116 for ac_exec_ext
in '' $ac_executable_extensions; do
4117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4118 ac_cv_prog_AWK
="$ac_prog"
4119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4129 if test -n "$AWK"; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4131 $as_echo "$AWK" >&6; }
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134 $as_echo "no" >&6; }
4138 test -n "$AWK" && break
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4142 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4144 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4145 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4146 $as_echo_n "(cached) " >&6
4148 cat >conftest.
make <<\_ACEOF
4151 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4153 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4154 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4156 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4158 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4162 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4164 $as_echo "yes" >&6; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4168 $as_echo "no" >&6; }
4169 SET_MAKE
="MAKE=${MAKE-make}"
4172 rm -rf .tst
2>/dev
/null
4173 mkdir .tst
2>/dev
/null
4174 if test -d .tst
; then
4179 rmdir .tst
2>/dev
/null
4181 DEPDIR
="${am__leading_dot}deps"
4183 ac_config_commands
="$ac_config_commands depfiles"
4186 am_make
=${MAKE-make}
4187 cat > confinc
<< 'END'
4189 @
echo this is the am__doit target
4192 # If we don't find an include directive, just comment out the code.
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4194 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4198 # First try GNU make style include.
4199 echo "include confinc" > confmf
4200 # Ignore all kinds of additional output from 'make'.
4201 case `$am_make -s -f confmf 2> /dev/null` in #(
4202 *the\ am__doit\ target
*)
4208 # Now try BSD make style include.
4209 if test "$am__include" = "#"; then
4210 echo '.include "confinc"' > confmf
4211 case `$am_make -s -f confmf 2> /dev/null` in #(
4212 *the\ am__doit\ target
*)
4213 am__include
=.include
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4222 $as_echo "$_am_result" >&6; }
4223 rm -f confinc confmf
4225 # Check whether --enable-dependency-tracking was given.
4226 if test "${enable_dependency_tracking+set}" = set; then :
4227 enableval
=$enable_dependency_tracking;
4230 if test "x$enable_dependency_tracking" != xno
; then
4231 am_depcomp
="$ac_aux_dir/depcomp"
4235 if test "x$enable_dependency_tracking" != xno; then
4244 # Check whether --enable-silent-rules was given.
4245 if test "${enable_silent_rules+set}" = set; then :
4246 enableval
=$enable_silent_rules;
4249 case $enable_silent_rules in # (((
4250 yes) AM_DEFAULT_VERBOSITY
=0;;
4251 no
) AM_DEFAULT_VERBOSITY
=1;;
4252 *) AM_DEFAULT_VERBOSITY
=1;;
4254 am_make
=${MAKE-make}
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4256 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4257 if ${am_cv_make_support_nested_variables+:} false
; then :
4258 $as_echo_n "(cached) " >&6
4260 if $as_echo 'TRUE=$(BAR$(V))
4266 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4267 am_cv_make_support_nested_variables
=yes
4269 am_cv_make_support_nested_variables
=no
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4273 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4274 if test $am_cv_make_support_nested_variables = yes; then
4276 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4278 AM_V
=$AM_DEFAULT_VERBOSITY
4279 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4283 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4284 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4285 # is not polluted with repeated "-I."
4286 am__isrc
=' -I$(srcdir)'
4287 # test to see if srcdir already configured
4288 if test -f $srcdir/config.status
; then
4289 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4293 # test whether we have cygpath
4294 if test -z "$CYGPATH_W"; then
4295 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4296 CYGPATH_W
='cygpath -w'
4303 # Define the identity of the package.
4308 cat >>confdefs.h
<<_ACEOF
4309 #define PACKAGE "$PACKAGE"
4313 cat >>confdefs.h
<<_ACEOF
4314 #define VERSION "$VERSION"
4317 # Some tools Automake needs.
4319 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4322 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4325 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4328 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4331 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4333 # For better backward compatibility. To be removed once Automake 1.9.x
4334 # dies out for good. For more background, see:
4335 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4336 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4337 mkdir_p
='$(MKDIR_P)'
4339 # We need awk for the "check" target (and possibly the TAP driver). The
4340 # system "awk" is bad on some platforms.
4341 # Always define AMTAR for backward compatibility. Yes, it's still used
4342 # in the wild :-( We should find a proper way to deprecate it ...
4346 # We'll loop over all known methods to create a tar archive until one works.
4347 _am_tools
='gnutar pax cpio none'
4349 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4355 depcc
="$CC" am_compiler_list
=
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4358 $as_echo_n "checking dependency style of $depcc... " >&6; }
4359 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4360 $as_echo_n "(cached) " >&6
4362 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4363 # We make a subdir and do the tests there. Otherwise we can end up
4364 # making bogus files that we don't know about and never remove. For
4365 # instance it was reported that on HP-UX the gcc test will end up
4366 # making a dummy file named 'D' -- because '-MD' means "put the output
4370 # Copy depcomp to subdir because otherwise we won't find it if we're
4371 # using a relative directory.
4372 cp "$am_depcomp" conftest.dir
4374 # We will build objects and dependencies in a subdirectory because
4375 # it helps to detect inapplicable dependency modes. For instance
4376 # both Tru64's cc and ICC support -MD to output dependencies as a
4377 # side effect of compilation, but ICC will put the dependencies in
4378 # the current directory while Tru64 will put them in the object
4382 am_cv_CC_dependencies_compiler_type
=none
4383 if test "$am_compiler_list" = ""; then
4384 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4387 case " $depcc " in #(
4388 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4391 for depmode
in $am_compiler_list; do
4392 # Setup a source with many dependencies, because some compilers
4393 # like to wrap large dependency lists on column 80 (with \), and
4394 # we should not choose a depcomp mode which is confused by this.
4396 # We need to recreate these files for each test, as the compiler may
4397 # overwrite some of them when testing with obscure command lines.
4398 # This happens at least with the AIX C compiler.
4400 for i
in 1 2 3 4 5 6; do
4401 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4402 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4403 # Solaris 10 /bin/sh.
4404 echo '/* dummy */' > sub
/conftst
$i.h
4406 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4408 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4409 # mode. It turns out that the SunPro C++ compiler does not properly
4410 # handle '-M -o', and we need to detect this. Also, some Intel
4411 # versions had trouble with output in subdirs.
4412 am__obj
=sub
/conftest.
${OBJEXT-o}
4413 am__minus_obj
="-o $am__obj"
4416 # This depmode causes a compiler race in universal mode.
4417 test "$am__universal" = false ||
continue
4420 # After this tag, mechanisms are not by side-effect, so they'll
4421 # only be used when explicitly requested.
4422 if test "x$enable_dependency_tracking" = xyes
; then
4428 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4429 # This compiler won't grok '-c -o', but also, the minuso test has
4430 # not run yet. These depmodes are late enough in the game, and
4431 # so weak that their functioning should not be impacted.
4432 am__obj
=conftest.
${OBJEXT-o}
4437 if depmode
=$depmode \
4438 source=sub
/conftest.c object
=$am__obj \
4439 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4440 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4441 >/dev
/null
2>conftest.err
&&
4442 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4443 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4444 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4445 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4446 # icc doesn't choke on unknown options, it will just issue warnings
4447 # or remarks (even with -Werror). So we grep stderr for any message
4448 # that says an option was ignored or not supported.
4449 # When given -MP, icc 7.0 and 7.1 complain thusly:
4450 # icc: Command line warning: ignoring option '-M'; no argument required
4451 # The diagnosis changed in icc 8.0:
4452 # icc: Command line remark: option '-MP' not supported
4453 if (grep 'ignoring option' conftest.err ||
4454 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4455 am_cv_CC_dependencies_compiler_type
=$depmode
4464 am_cv_CC_dependencies_compiler_type
=none
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4469 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4470 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4473 test "x$enable_dependency_tracking" != xno \
4474 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4476 am__fastdepCC_FALSE
='#'
4478 am__fastdepCC_TRUE
='#'
4479 am__fastdepCC_FALSE
=
4484 # POSIX will say in a future version that running "rm -f" with no argument
4485 # is OK; and we want to be able to make that assumption in our Makefile
4486 # recipes. So use an aggressive probe to check that the usage we want is
4487 # actually supported "in the wild" to an acceptable degree.
4488 # See automake bug#10828.
4489 # To make any issue more visible, cause the running configure to be aborted
4490 # by default if the 'rm' program in use doesn't match our expectations; the
4491 # user can still override this though.
4492 if rm -f && rm -fr && rm -rf; then : OK
; else
4496 Your 'rm' program seems unable to run without file operands specified
4497 on the command line, even when the '-f' option is present. This is contrary
4498 to the behaviour of most rm programs out there, and not conforming with
4499 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4501 Please tell bug-automake@gnu.org about your system, including the value
4502 of your $PATH and any error possibly output before this message. This
4503 can help us improve future automake versions.
4506 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4507 echo 'Configuration will proceed anyway, since you have set the' >&2
4508 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4512 Aborting the configuration process, to ensure you take notice of the issue.
4514 You can download and install GNU coreutils to get an 'rm' implementation
4515 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4517 If you want to complete the configuration process using your problematic
4518 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4519 to "yes", and re-run configure.
4522 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4526 # Check whether --enable-silent-rules was given.
4527 if test "${enable_silent_rules+set}" = set; then :
4528 enableval
=$enable_silent_rules;
4531 case $enable_silent_rules in # (((
4532 yes) AM_DEFAULT_VERBOSITY
=0;;
4533 no
) AM_DEFAULT_VERBOSITY
=1;;
4534 *) AM_DEFAULT_VERBOSITY
=0;;
4536 am_make
=${MAKE-make}
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4538 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4539 if ${am_cv_make_support_nested_variables+:} false
; then :
4540 $as_echo_n "(cached) " >&6
4542 if $as_echo 'TRUE=$(BAR$(V))
4548 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4549 am_cv_make_support_nested_variables
=yes
4551 am_cv_make_support_nested_variables
=no
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4555 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4556 if test $am_cv_make_support_nested_variables = yes; then
4558 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4560 AM_V
=$AM_DEFAULT_VERBOSITY
4561 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4566 # Checks for programs.
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4568 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4570 ac_make=`$as_echo "$2" | sed 's
/+/p
/g
; s
/[^a-zA-Z0-9_
]/_
/g
'`
4571 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4572 $as_echo_n "(cached) " >&6
4574 cat >conftest.make <<\_ACEOF
4577 @echo '@@@
%%%=$
(MAKE
)=@@@
%%%'
4579 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4580 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4582 eval ac_cv_prog_make_${ac_make}_set=yes;;
4584 eval ac_cv_prog_make_${ac_make}_set=no;;
4588 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4590 $as_echo "yes" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4595 SET_MAKE="MAKE=${MAKE-make}"
4599 ac_cpp='$CPP $CPPFLAGS'
4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4601 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603 if test -n "$ac_tool_prefix"; then
4604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4605 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_CC+:} false; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$CC"; then
4612 ac_cv_prog_CC="$CC" # Let the user override the test.
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir=.
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 if test -n "$CC"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4634 $as_echo "$CC" >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4642 if test -z "$ac_cv_prog_CC"; then
4644 # Extract the first word of "gcc", so it can be a program name with args.
4645 set dummy gcc; ac_word=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4649 $as_echo_n "(cached) " >&6
4651 if test -n "$ac_ct_CC"; then
4652 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4658 test -z "$as_dir" && as_dir=.
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_prog_ac_ct_CC="gcc"
4662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4672 if test -n "$ac_ct_CC"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4674 $as_echo "$ac_ct_CC" >&6; }
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4680 if test "x$ac_ct_CC" = x; then
4683 case $cross_compiling:$ac_tool_warned in
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4687 ac_tool_warned=yes ;;
4695 if test -z "$CC"; then
4696 if test -n "$ac_tool_prefix"; then
4697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4698 set dummy ${ac_tool_prefix}cc; ac_word=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if ${ac_cv_prog_CC+:} false; then :
4702 $as_echo_n "(cached) " >&6
4704 if test -n "$CC"; then
4705 ac_cv_prog_CC="$CC" # Let the user override the test.
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir=.
4712 for ac_exec_ext in '' $ac_executable_extensions; do
4713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4714 ac_cv_prog_CC="${ac_tool_prefix}cc"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 if test -n "$CC"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4727 $as_echo "$CC" >&6; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4736 if test -z "$CC"; then
4737 # Extract the first word of "cc", so it can be a program name with args.
4738 set dummy cc; ac_word=$2
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4740 $as_echo_n "checking for $ac_word... " >&6; }
4741 if ${ac_cv_prog_CC+:} false; then :
4742 $as_echo_n "(cached) " >&6
4744 if test -n "$CC"; then
4745 ac_cv_prog_CC="$CC" # Let the user override the test.
4748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4752 test -z "$as_dir" && as_dir=.
4753 for ac_exec_ext in '' $ac_executable_extensions; do
4754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4755 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4756 ac_prog_rejected=yes
4760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 if test $ac_prog_rejected = yes; then
4768 # We found a bogon in the path, so make sure we never use it.
4769 set dummy $ac_cv_prog_CC
4771 if test $# != 0; then
4772 # We chose a different compiler from the bogus one.
4773 # However, it has the same basename, so the bogon will be chosen
4774 # first if we set CC to just the basename; use the full file name.
4776 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4782 if test -n "$CC"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4784 $as_echo "$CC" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4792 if test -z "$CC"; then
4793 if test -n "$ac_tool_prefix"; then
4794 for ac_prog in cl.exe
4796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4799 $as_echo_n "checking for $ac_word... " >&6; }
4800 if ${ac_cv_prog_CC+:} false; then :
4801 $as_echo_n "(cached) " >&6
4803 if test -n "$CC"; then
4804 ac_cv_prog_CC="$CC" # Let the user override the test.
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4810 test -z "$as_dir" && as_dir=.
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4813 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 if test -n "$CC"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4826 $as_echo "$CC" >&6; }
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4833 test -n "$CC" && break
4836 if test -z "$CC"; then
4838 for ac_prog in cl.exe
4840 # Extract the first word of "$ac_prog", so it can be a program name with args.
4841 set dummy $ac_prog; ac_word=$2
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4845 $as_echo_n "(cached) " >&6
4847 if test -n "$ac_ct_CC"; then
4848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4854 test -z "$as_dir" && as_dir=.
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_ac_ct_CC="$ac_prog"
4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4868 if test -n "$ac_ct_CC"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4870 $as_echo "$ac_ct_CC" >&6; }
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 $as_echo "no" >&6; }
4877 test -n "$ac_ct_CC" && break
4880 if test "x$ac_ct_CC" = x; then
4883 case $cross_compiling:$ac_tool_warned in
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4887 ac_tool_warned=yes ;;
4896 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4897 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
4898 as_fn_error $? "no acceptable C compiler found in \$PATH
4899 See \`config.log
' for more details" "$LINENO" 5; }
4901 # Provide some information about the compiler.
4902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4905 for ac_option in --version -v -V -qversion; do
4906 { { ac_try="$ac_compiler $ac_option >&5"
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4912 $as_echo "$ac_try_echo"; } >&5
4913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4915 if test -s conftest.err; then
4917 ... rest of stderr output deleted ...
4918 10q
' conftest.err >conftest.er1
4919 cat conftest.er1 >&5
4921 rm -f conftest.er1 conftest.err
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4927 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4928 if ${ac_cv_c_compiler_gnu+:} false; then :
4929 $as_echo_n "(cached) " >&6
4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4945 if ac_fn_c_try_compile "$LINENO"; then :
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4955 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4956 if test $ac_compiler_gnu = yes; then
4961 ac_test_CFLAGS=${CFLAGS+set}
4962 ac_save_CFLAGS=$CFLAGS
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4964 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4965 if ${ac_cv_prog_cc_g+:} false; then :
4966 $as_echo_n "(cached) " >&6
4968 ac_save_c_werror_flag=$ac_c_werror_flag
4969 ac_c_werror_flag=yes
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4983 if ac_fn_c_try_compile "$LINENO"; then :
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4998 if ac_fn_c_try_compile "$LINENO"; then :
5001 ac_c_werror_flag=$ac_save_c_werror_flag
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5014 if ac_fn_c_try_compile "$LINENO"; then :
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 ac_c_werror_flag=$ac_save_c_werror_flag
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5025 $as_echo "$ac_cv_prog_cc_g" >&6; }
5026 if test "$ac_test_CFLAGS" = set; then
5027 CFLAGS=$ac_save_CFLAGS
5028 elif test $ac_cv_prog_cc_g = yes; then
5029 if test "$GCC" = yes; then
5035 if test "$GCC" = yes; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5042 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5043 if ${ac_cv_prog_cc_c89+:} false; then :
5044 $as_echo_n "(cached) " >&6
5046 ac_cv_prog_cc_c89=no
5048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5053 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
5054 struct buf
{ int x
; };
5055 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
5056 static char
*e
(p
, i
)
5062 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
5067 s
= g
(p
, va_arg
(v
,int
));
5072 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
5073 function prototypes and stuff
, but not
'\xHH' hex character constants.
5074 These don
't provoke an error unfortunately, instead are silently treated
5075 as 'x
'. The following induces an error, until -std is added to get
5076 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
5077 array size at least. It's necessary to
write '\x00'==0 to get something
5078 that
's true only with -std. */
5079 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5081 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5082 inside strings and character constants. */
5084 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
5086 int test (int i, double x);
5087 struct s1 {int (*f) (int a);};
5088 struct s2 {int (*f) (double a);};
5089 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5095 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5100 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5101 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5103 CC="$ac_save_CC $ac_arg"
5104 if ac_fn_c_try_compile "$LINENO"; then :
5105 ac_cv_prog_cc_c89=$ac_arg
5107 rm -f core conftest.err conftest.$ac_objext
5108 test "x$ac_cv_prog_cc_c89" != "xno" && break
5110 rm -f conftest.$ac_ext
5115 case "x$ac_cv_prog_cc_c89" in
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5118 $as_echo "none needed" >&6; } ;;
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5121 $as_echo "unsupported" >&6; } ;;
5123 CC="$CC $ac_cv_prog_cc_c89"
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5125 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5127 if test "x$ac_cv_prog_cc_c89" != xno; then :
5132 ac_cpp='$CPP $CPPFLAGS'
5133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5134 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5138 ac_cpp='$CPP $CPPFLAGS'
5139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5140 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5143 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5144 if ${am_cv_prog_cc_c_o+:} false; then :
5145 $as_echo_n "(cached) " >&6
5147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5148 /* end confdefs.h. */
5158 # Make sure it works both with $CC and with simple cc.
5159 # Following AC_PROG_CC_C_O, we do the test twice because some
5160 # compilers refuse to overwrite an existing .o file with -o,
5161 # though they will create one.
5162 am_cv_prog_cc_c_o=yes
5164 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5165 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); } \
5169 && test -f conftest2.$ac_objext; then
5172 am_cv_prog_cc_c_o=no
5176 rm -f core conftest*
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5180 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5181 if test "$am_cv_prog_cc_c_o" != yes; then
5182 # Losing compiler, so override with the script.
5183 # FIXME: It is wrong to rewrite CC.
5184 # But if we don't
then we get into trouble of one
sort or another.
5185 # A longer-term fix would be to have automake use am__CC in this case,
5186 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5187 CC
="$am_aux_dir/compile $CC"
5190 ac_cpp
='$CPP $CPPFLAGS'
5191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5196 if test -n "$ac_tool_prefix"; then
5197 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5198 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_prog_RANLIB+:} false
; then :
5202 $as_echo_n "(cached) " >&6
5204 if test -n "$RANLIB"; then
5205 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5211 test -z "$as_dir" && as_dir
=.
5212 for ac_exec_ext
in '' $ac_executable_extensions; do
5213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5214 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 RANLIB
=$ac_cv_prog_RANLIB
5225 if test -n "$RANLIB"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5227 $as_echo "$RANLIB" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5235 if test -z "$ac_cv_prog_RANLIB"; then
5236 ac_ct_RANLIB
=$RANLIB
5237 # Extract the first word of "ranlib", so it can be a program name with args.
5238 set dummy ranlib
; ac_word
=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5242 $as_echo_n "(cached) " >&6
5244 if test -n "$ac_ct_RANLIB"; then
5245 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir
=.
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5265 if test -n "$ac_ct_RANLIB"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5267 $as_echo "$ac_ct_RANLIB" >&6; }
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5273 if test "x$ac_ct_RANLIB" = x
; then
5276 case $cross_compiling:$ac_tool_warned in
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5280 ac_tool_warned
=yes ;;
5282 RANLIB
=$ac_ct_RANLIB
5285 RANLIB
="$ac_cv_prog_RANLIB"
5288 if test -n "$ac_tool_prefix"; then
5289 for ac_prog
in ar lib
"link -lib"
5291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5292 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if ${ac_cv_prog_AR+:} false
; then :
5296 $as_echo_n "(cached) " >&6
5298 if test -n "$AR"; then
5299 ac_cv_prog_AR
="$AR" # Let the user override the test.
5301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir
=.
5306 for ac_exec_ext
in '' $ac_executable_extensions; do
5307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5308 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 if test -n "$AR"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5321 $as_echo "$AR" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5328 test -n "$AR" && break
5331 if test -z "$AR"; then
5333 for ac_prog
in ar lib
"link -lib"
5335 # Extract the first word of "$ac_prog", so it can be a program name with args.
5336 set dummy
$ac_prog; ac_word
=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5340 $as_echo_n "(cached) " >&6
5342 if test -n "$ac_ct_AR"; then
5343 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir
=.
5350 for ac_exec_ext
in '' $ac_executable_extensions; do
5351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_ac_ct_AR
="$ac_prog"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5363 if test -n "$ac_ct_AR"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5365 $as_echo "$ac_ct_AR" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5372 test -n "$ac_ct_AR" && break
5375 if test "x$ac_ct_AR" = x
; then
5378 case $cross_compiling:$ac_tool_warned in
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5382 ac_tool_warned
=yes ;;
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5391 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5392 if ${am_cv_ar_interface+:} false
; then :
5393 $as_echo_n "(cached) " >&6
5396 ac_cpp
='$CPP $CPPFLAGS'
5397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5401 am_cv_ar_interface
=ar
5402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5404 int some_variable = 0;
5406 if ac_fn_c_try_compile
"$LINENO"; then :
5407 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
5408 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5409 (eval $am_ar_try) 2>&5
5411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5412 test $ac_status = 0; }
5413 if test "$ac_status" -eq 0; then
5414 am_cv_ar_interface
=ar
5416 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5417 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5418 (eval $am_ar_try) 2>&5
5420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5421 test $ac_status = 0; }
5422 if test "$ac_status" -eq 0; then
5423 am_cv_ar_interface
=lib
5425 am_cv_ar_interface
=unknown
5428 rm -f conftest.lib libconftest.a
5431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5433 ac_cpp
='$CPP $CPPFLAGS'
5434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5440 $as_echo "$am_cv_ar_interface" >&6; }
5442 case $am_cv_ar_interface in
5446 # Microsoft lib, so override with the ar-lib wrapper script.
5447 # FIXME: It is wrong to rewrite AR.
5448 # But if we don't then we get into trouble of one sort or another.
5449 # A longer-term fix would be to have automake use am__AR in this case,
5450 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5452 AR
="$am_aux_dir/ar-lib $AR"
5455 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
5459 # If we haven't got the data from the intl directory,
5460 # assume NLS is disabled.
5469 if test -f ..
/intl
/config.intl
; then
5470 . ..
/intl
/config.intl
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5473 $as_echo_n "checking whether NLS is requested... " >&6; }
5474 if test x
"$USE_NLS" != xyes
; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5479 $as_echo "yes" >&6; }
5481 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5485 $as_echo_n "checking for catalogs to be installed... " >&6; }
5486 # Look for .po and .gmo files in the source directory.
5489 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5490 # If there aren't any .gmo files the shell will give us the
5491 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5493 case "$cat" in *\
**)
5496 # The quadruple backslash is collapsed to a double backslash
5497 # by the backticks, then collapsed again by the double quotes,
5498 # leaving us with one backslash in the sed expression (right
5499 # before the dot that mustn't act as a wildcard).
5500 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5501 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5502 # The user is allowed to set LINGUAS to a list of languages to
5503 # install catalogs for. If it's empty that means "all of them."
5504 if test "x$LINGUAS" = x
; then
5505 CATALOGS
="$CATALOGS $cat"
5506 XLINGUAS
="$XLINGUAS $lang"
5508 case "$LINGUAS" in *$lang*)
5509 CATALOGS
="$CATALOGS $cat"
5510 XLINGUAS
="$XLINGUAS $lang"
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5517 $as_echo "$LINGUAS" >&6; }
5530 # Check whether --enable-shared was given.
5531 if test "${enable_shared+set}" = set; then :
5532 enableval
=$enable_shared; p
=${PACKAGE-default}
5534 yes) enable_shared
=yes ;;
5535 no
) enable_shared
=no
;;
5538 # Look at the argument we got. We use all the common list separators.
5539 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5540 for pkg
in $enableval; do
5542 if test "X$pkg" = "X$p"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5565 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5570 macro_version
='2.2.7a'
5571 macro_revision
='1.3134'
5585 ltmain
="$ac_aux_dir/ltmain.sh"
5587 # Backslashify metacharacters that are still active within
5588 # double-quoted strings.
5589 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5591 # Same as above, but do not quote variable references.
5592 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5594 # Sed substitution to delay expansion of an escaped shell variable in a
5595 # double_quote_subst'ed string.
5596 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5598 # Sed substitution to delay expansion of an escaped single quote.
5599 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5601 # Sed substitution to avoid accidental globbing in evaled expressions
5602 no_glob_subst
='s/\*/\\\*/g'
5604 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5605 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5606 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5609 $as_echo_n "checking how to print strings... " >&6; }
5610 # Test print first, because it will be a builtin if present.
5611 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5612 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5614 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5617 # Use this function as a fallback that always works.
5618 func_fallback_echo ()
5620 eval 'cat <<_LTECHO_EOF
5624 ECHO='func_fallback_echo
'
5627 # func_echo_all arg...
5628 # Invoke $ECHO with all args, space-separated.
5635 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5636 $as_echo "printf" >&6; } ;;
5637 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5638 $as_echo "print -r" >&6; } ;;
5639 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5640 $as_echo "cat" >&6; } ;;
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5657 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5658 if ${ac_cv_path_SED+:} false; then :
5659 $as_echo_n "(cached) " >&6
5661 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5662 for ac_i in 1 2 3 4 5 6 7; do
5663 ac_script="$ac_script$as_nl$ac_script"
5665 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5666 { ac_script=; unset ac_script;}
5667 if test -z "$SED"; then
5668 ac_path_SED_found=false
5669 # Loop through the user's path and
test for each of PROGNAME-LIST
5670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir
=.
5675 for ac_prog
in sed gsed
; do
5676 for ac_exec_ext
in '' $ac_executable_extensions; do
5677 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5678 as_fn_executable_p
"$ac_path_SED" ||
continue
5679 # Check for GNU ac_path_SED and select it if it is found.
5680 # Check for GNU $ac_path_SED
5681 case `"$ac_path_SED" --version 2>&1` in
5683 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5686 $as_echo_n 0123456789 >"conftest.in"
5689 cat "conftest.in" "conftest.in" >"conftest.tmp"
5690 mv "conftest.tmp" "conftest.in"
5691 cp "conftest.in" "conftest.nl"
5692 $as_echo '' >> "conftest.nl"
5693 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5694 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5695 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5696 if test $ac_count -gt ${ac_path_SED_max-0}; then
5697 # Best one so far, save it but keep looking for a better one
5698 ac_cv_path_SED
="$ac_path_SED"
5699 ac_path_SED_max
=$ac_count
5701 # 10*(2^10) chars as input seems more than enough
5702 test $ac_count -gt 10 && break
5704 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5707 $ac_path_SED_found && break 3
5712 if test -z "$ac_cv_path_SED"; then
5713 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5721 $as_echo "$ac_cv_path_SED" >&6; }
5722 SED
="$ac_cv_path_SED"
5725 test -z "$SED" && SED
=sed
5726 Xsed
="$SED -e 1s/^X//"
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5739 $as_echo_n "checking for fgrep... " >&6; }
5740 if ${ac_cv_path_FGREP+:} false
; then :
5741 $as_echo_n "(cached) " >&6
5743 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5744 then ac_cv_path_FGREP
="$GREP -F"
5746 if test -z "$FGREP"; then
5747 ac_path_FGREP_found
=false
5748 # Loop through the user's path and test for each of PROGNAME-LIST
5749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5750 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5753 test -z "$as_dir" && as_dir
=.
5754 for ac_prog
in fgrep
; do
5755 for ac_exec_ext
in '' $ac_executable_extensions; do
5756 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5757 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5758 # Check for GNU ac_path_FGREP and select it if it is found.
5759 # Check for GNU $ac_path_FGREP
5760 case `"$ac_path_FGREP" --version 2>&1` in
5762 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5765 $as_echo_n 0123456789 >"conftest.in"
5768 cat "conftest.in" "conftest.in" >"conftest.tmp"
5769 mv "conftest.tmp" "conftest.in"
5770 cp "conftest.in" "conftest.nl"
5771 $as_echo 'FGREP' >> "conftest.nl"
5772 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5773 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5774 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5775 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5776 # Best one so far, save it but keep looking for a better one
5777 ac_cv_path_FGREP
="$ac_path_FGREP"
5778 ac_path_FGREP_max
=$ac_count
5780 # 10*(2^10) chars as input seems more than enough
5781 test $ac_count -gt 10 && break
5783 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5786 $ac_path_FGREP_found && break 3
5791 if test -z "$ac_cv_path_FGREP"; then
5792 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5795 ac_cv_path_FGREP
=$FGREP
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5801 $as_echo "$ac_cv_path_FGREP" >&6; }
5802 FGREP
="$ac_cv_path_FGREP"
5805 test -z "$GREP" && GREP
=grep
5825 # Check whether --with-gnu-ld was given.
5826 if test "${with_gnu_ld+set}" = set; then :
5827 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5833 if test "$GCC" = yes; then
5834 # Check if gcc -print-prog-name=ld gives a path.
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5836 $as_echo_n "checking for ld used by $CC... " >&6; }
5839 # gcc leaves a trailing carriage return which upsets mingw
5840 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5842 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5845 # Accept absolute paths.
5847 re_direlt
='/[^/][^/]*/\.\./'
5848 # Canonicalize the pathname of ld
5849 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5850 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5851 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5853 test -z "$LD" && LD
="$ac_prog"
5856 # If it fails, then pretend we aren't using GCC.
5860 # If it is relative, then search for the first ld in PATH.
5864 elif test "$with_gnu_ld" = yes; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5866 $as_echo_n "checking for GNU ld... " >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5869 $as_echo_n "checking for non-GNU ld... " >&6; }
5871 if ${lt_cv_path_LD+:} false
; then :
5872 $as_echo_n "(cached) " >&6
5874 if test -z "$LD"; then
5875 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5876 for ac_dir
in $PATH; do
5878 test -z "$ac_dir" && ac_dir
=.
5879 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5880 lt_cv_path_LD
="$ac_dir/$ac_prog"
5881 # Check to see if the program is GNU ld. I'd rather use --version,
5882 # but apparently some variants of GNU ld only accept -v.
5883 # Break only if it was the GNU/non-GNU ld that we prefer.
5884 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5885 *GNU
* |
*'with BFD'*)
5886 test "$with_gnu_ld" != no
&& break
5889 test "$with_gnu_ld" != yes && break
5896 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5901 if test -n "$LD"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5903 $as_echo "$LD" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5908 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5910 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5911 if ${lt_cv_prog_gnu_ld+:} false
; then :
5912 $as_echo_n "(cached) " >&6
5914 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5915 case `$LD -v 2>&1 </dev/null` in
5916 *GNU
* |
*'with BFD'*)
5917 lt_cv_prog_gnu_ld
=yes
5920 lt_cv_prog_gnu_ld
=no
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5925 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5926 with_gnu_ld
=$lt_cv_prog_gnu_ld
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5937 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5938 if ${lt_cv_path_NM+:} false
; then :
5939 $as_echo_n "(cached) " >&6
5941 if test -n "$NM"; then
5942 # Let the user override the nm to test.
5943 lt_nm_to_check
="$NM"
5945 lt_nm_to_check
="${ac_tool_prefix}nm"
5946 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5947 lt_nm_to_check
="$lt_nm_to_check nm"
5950 for lt_tmp_nm
in "$lt_nm_to_check"; do
5951 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5952 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5954 test -z "$ac_dir" && ac_dir
=.
5955 # Strip out any user-provided options from the nm to test twice,
5956 # the first time to test to see if nm (rather than its options) has
5957 # an explicit path, the second time to yield a file which can be
5959 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5960 case "$tmp_nm_path" in
5961 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5962 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5964 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5965 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5966 # Check to see if the nm accepts a BSD-compat flag.
5967 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5968 # nm: unknown option "B" ignored
5969 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5970 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5974 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5976 lt_cv_path_NM
="$tmp_nm -p"
5980 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5981 continue # so that we can try to find one that supports BSD flags
5990 : ${lt_cv_path_NM=no}
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5993 $as_echo "$lt_cv_path_NM" >&6; }
5994 if test "$lt_cv_path_NM" != "no"; then
5997 # Didn't find any BSD compatible name lister, look for dumpbin.
5998 if test -n "$DUMPBIN"; then :
5999 # Let the user override the test.
6001 if test -n "$ac_tool_prefix"; then
6002 for ac_prog
in dumpbin
"link -dump"
6004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6005 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6009 $as_echo_n "(cached) " >&6
6011 if test -n "$DUMPBIN"; then
6012 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6018 test -z "$as_dir" && as_dir
=.
6019 for ac_exec_ext
in '' $ac_executable_extensions; do
6020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 DUMPBIN
=$ac_cv_prog_DUMPBIN
6032 if test -n "$DUMPBIN"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6034 $as_echo "$DUMPBIN" >&6; }
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$DUMPBIN" && break
6044 if test -z "$DUMPBIN"; then
6045 ac_ct_DUMPBIN
=$DUMPBIN
6046 for ac_prog
in dumpbin
"link -dump"
6048 # Extract the first word of "$ac_prog", so it can be a program name with args.
6049 set dummy
$ac_prog; ac_word
=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; }
6052 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6053 $as_echo_n "(cached) " >&6
6055 if test -n "$ac_ct_DUMPBIN"; then
6056 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6062 test -z "$as_dir" && as_dir
=.
6063 for ac_exec_ext
in '' $ac_executable_extensions; do
6064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6065 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6076 if test -n "$ac_ct_DUMPBIN"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6078 $as_echo "$ac_ct_DUMPBIN" >&6; }
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6085 test -n "$ac_ct_DUMPBIN" && break
6088 if test "x$ac_ct_DUMPBIN" = x
; then
6091 case $cross_compiling:$ac_tool_warned in
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6095 ac_tool_warned
=yes ;;
6097 DUMPBIN
=$ac_ct_DUMPBIN
6101 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6103 DUMPBIN
="$DUMPBIN -symbols"
6111 if test "$DUMPBIN" != ":"; then
6115 test -z "$NM" && NM
=nm
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6123 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6124 if ${lt_cv_nm_interface+:} false
; then :
6125 $as_echo_n "(cached) " >&6
6127 lt_cv_nm_interface
="BSD nm"
6128 echo "int some_variable = 0;" > conftest.
$ac_ext
6129 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6130 (eval "$ac_compile" 2>conftest.err
)
6131 cat conftest.err
>&5
6132 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6133 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6134 cat conftest.err
>&5
6135 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6136 cat conftest.out
>&5
6137 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6138 lt_cv_nm_interface
="MS dumpbin"
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6143 $as_echo "$lt_cv_nm_interface" >&6; }
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6146 $as_echo_n "checking whether ln -s works... " >&6; }
6148 if test "$LN_S" = "ln -s"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6150 $as_echo "yes" >&6; }
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6153 $as_echo "no, using $LN_S" >&6; }
6156 # find the maximum length of command line arguments
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6158 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6159 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6160 $as_echo_n "(cached) " >&6
6167 # On DJGPP, this test can blow up pretty badly due to problems in libc
6168 # (any single argument exceeding 2000 bytes causes a buffer overrun
6169 # during glob expansion). Even if it were fixed, the result of this
6170 # check would be larger than it should be.
6171 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6175 # Under GNU Hurd, this test is not required because there is
6176 # no limit to the length of command line arguments.
6177 # Libtool will interpret -1 as no limit whatsoever
6178 lt_cv_sys_max_cmd_len
=-1;
6181 cygwin
* | mingw
* | cegcc
*)
6182 # On Win9x/ME, this test blows up -- it succeeds, but takes
6183 # about 5 minutes as the teststring grows exponentially.
6184 # Worse, since 9x/ME are not pre-emptively multitasking,
6185 # you end up with a "frozen" computer, even though with patience
6186 # the test eventually succeeds (with a max line length of 256k).
6187 # Instead, let's just punt: use the minimum linelength reported by
6188 # all of the supported platforms: 8192 (on NT/2K/XP).
6189 lt_cv_sys_max_cmd_len
=8192;
6193 # On MiNT this can take a long time and run out of memory.
6194 lt_cv_sys_max_cmd_len
=8192;
6198 # On AmigaOS with pdksh, this test takes hours, literally.
6199 # So we just punt and use a minimum line length of 8192.
6200 lt_cv_sys_max_cmd_len
=8192;
6203 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6204 # This has been around since 386BSD, at least. Likely further.
6205 if test -x /sbin
/sysctl
; then
6206 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6207 elif test -x /usr
/sbin
/sysctl
; then
6208 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6210 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6212 # And add a safety zone
6213 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6214 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6218 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6219 lt_cv_sys_max_cmd_len
=196608
6223 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6224 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6225 # nice to cause kernel panics so lets avoid the loop below.
6226 # First set a reasonable default.
6227 lt_cv_sys_max_cmd_len
=16384
6229 if test -x /sbin
/sysconfig
; then
6230 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6231 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6236 lt_cv_sys_max_cmd_len
=102400
6238 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6239 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6240 if test -n "$kargmax"; then
6241 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6243 lt_cv_sys_max_cmd_len
=32768
6247 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6248 if test -n "$lt_cv_sys_max_cmd_len"; then
6249 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6250 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6252 # Make teststring a little bigger before we do anything with it.
6253 # a 1K string should be a reasonable start.
6254 for i
in 1 2 3 4 5 6 7 8 ; do
6255 teststring
=$teststring$teststring
6257 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6258 # If test is not a shell built-in, we'll probably end up computing a
6259 # maximum length that is only half of the actual maximum length, but
6261 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6262 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6263 test $i != 17 # 1/2 MB should be enough
6266 teststring
=$teststring$teststring
6268 # Only check the string length outside the loop.
6269 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6271 # Add a significant safety factor because C++ compilers can tack on
6272 # massive amounts of additional arguments before passing them to the
6273 # linker. It appears as though 1/2 is a usable value.
6274 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6281 if test -n $lt_cv_sys_max_cmd_len ; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6283 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6286 $as_echo "none" >&6; }
6288 max_cmd_len
=$lt_cv_sys_max_cmd_len
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6300 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6301 # Try some XSI features
6304 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6306 && eval 'test $(( 1 + 1 )) -eq 2 \
6307 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6310 $as_echo "$xsi_shell" >&6; }
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6314 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6316 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6318 && lt_shell_append=yes
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6320 $as_echo "$lt_shell_append" >&6; }
6323 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6333 # test EBCDIC or ASCII
6334 case `echo X|tr X '\101'` in
6335 A) # ASCII based system
6336 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6337 lt_SP2NL='tr \040 \012'
6338 lt_NL2SP='tr \015\012 \040\040'
6340 *) # EBCDIC based system
6341 lt_SP2NL='tr \100 \n'
6342 lt_NL2SP='tr \r\n \100\100'
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6355 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6356 if ${lt_cv_ld_reload_flag+:} false; then :
6357 $as_echo_n "(cached
) " >&6
6359 lt_cv_ld_reload_flag='-r'
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6362 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6363 reload_flag=$lt_cv_ld_reload_flag
6364 case $reload_flag in
6366 *) reload_flag=" $reload_flag" ;;
6368 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6371 if test "$GCC" = yes; then
6372 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6374 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6387 if test -n "$ac_tool_prefix"; then
6388 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6389 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6391 $as_echo_n "checking
for $ac_word...
" >&6; }
6392 if ${ac_cv_prog_OBJDUMP+:} false; then :
6393 $as_echo_n "(cached
) " >&6
6395 if test -n "$OBJDUMP"; then
6396 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 test -z "$as_dir" && as_dir=.
6403 for ac_exec_ext in '' $ac_executable_extensions; do
6404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6405 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6415 OBJDUMP=$ac_cv_prog_OBJDUMP
6416 if test -n "$OBJDUMP"; then
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6418 $as_echo "$OBJDUMP" >&6; }
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6421 $as_echo "no
" >&6; }
6426 if test -z "$ac_cv_prog_OBJDUMP"; then
6427 ac_ct_OBJDUMP=$OBJDUMP
6428 # Extract the first word of "objdump
", so it can be a program name with args.
6429 set dummy objdump; ac_word=$2
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6431 $as_echo_n "checking
for $ac_word...
" >&6; }
6432 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6433 $as_echo_n "(cached
) " >&6
6435 if test -n "$ac_ct_OBJDUMP"; then
6436 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 test -z "$as_dir" && as_dir=.
6443 for ac_exec_ext in '' $ac_executable_extensions; do
6444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6445 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6455 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6456 if test -n "$ac_ct_OBJDUMP"; then
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6458 $as_echo "$ac_ct_OBJDUMP" >&6; }
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6461 $as_echo "no
" >&6; }
6464 if test "x
$ac_ct_OBJDUMP" = x; then
6467 case $cross_compiling:$ac_tool_warned in
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6470 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6471 ac_tool_warned=yes ;;
6473 OBJDUMP=$ac_ct_OBJDUMP
6476 OBJDUMP="$ac_cv_prog_OBJDUMP"
6479 test -z "$OBJDUMP" && OBJDUMP=objdump
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6490 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6491 if ${lt_cv_deplibs_check_method+:} false; then :
6492 $as_echo_n "(cached
) " >&6
6494 lt_cv_file_magic_cmd='$MAGIC_CMD'
6495 lt_cv_file_magic_test_file=
6496 lt_cv_deplibs_check_method='unknown'
6497 # Need to set the preceding variable on all platforms that support
6498 # interlibrary dependencies.
6499 # 'none' -- dependencies not supported.
6500 # `unknown' -- same as none, but documents that we really don't know.
6501 # 'pass_all' -- all dependencies passed with no checks.
6502 # 'test_compile' -- check by making test program.
6503 # 'file_magic [[regex]]' -- check by looking for files in library path
6504 # which responds to the $file_magic_cmd with a given extended regex.
6505 # If you have `file' or equivalent on your system and you're not sure
6506 # whether `pass_all' will *always* work, you probably want this one.
6510 lt_cv_deplibs_check_method=pass_all
6514 lt_cv_deplibs_check_method=pass_all
6518 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6519 lt_cv_file_magic_cmd='/usr/bin/file -L'
6520 lt_cv_file_magic_test_file=/shlib/libc.so
6524 # func_win32_libid is a shell function defined in ltmain.sh
6525 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6526 lt_cv_file_magic_cmd='func_win32_libid'
6530 # Base MSYS/MinGW do not provide the 'file' command needed by
6531 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6532 # unless we find 'file', for example because we are cross-compiling.
6533 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6534 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6535 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6536 lt_cv_file_magic_cmd='func_win32_libid'
6538 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6539 lt_cv_file_magic_cmd='$OBJDUMP -f'
6544 # use the weaker test based on 'objdump'. See mingw*.
6545 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6546 lt_cv_file_magic_cmd='$OBJDUMP -f'
6549 darwin* | rhapsody*)
6550 lt_cv_deplibs_check_method=pass_all
6553 freebsd* | dragonfly*)
6554 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6557 # Not sure whether the presence of OpenBSD here was a mistake.
6558 # Let's accept both of them until this is cleared up.
6559 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6560 lt_cv_file_magic_cmd=/usr/bin/file
6561 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6565 lt_cv_deplibs_check_method=pass_all
6570 lt_cv_deplibs_check_method=pass_all
6574 lt_cv_deplibs_check_method=pass_all
6577 hpux10.20* | hpux11*)
6578 lt_cv_file_magic_cmd=/usr/bin/file
6581 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6582 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6585 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]'
6586 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6589 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6590 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6596 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6597 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6600 irix5* | irix6* | nonstopux*)
6602 *-32|*"-32 ") libmagic=32-bit;;
6603 *-n32|*"-n32 ") libmagic=N32;;
6604 *-64|*"-64 ") libmagic=64-bit;;
6605 *) libmagic=never-match;;
6607 lt_cv_deplibs_check_method=pass_all
6610 # This must be Linux ELF.
6611 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6612 lt_cv_deplibs_check_method=pass_all
6616 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6617 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6619 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6624 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6625 lt_cv_file_magic_cmd=/usr/bin/file
6626 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6630 lt_cv_deplibs_check_method=pass_all
6634 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6635 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6637 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6641 osf3* | osf4* | osf5*)
6642 lt_cv_deplibs_check_method=pass_all
6646 lt_cv_deplibs_check_method=pass_all
6650 lt_cv_deplibs_check_method=pass_all
6653 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6654 lt_cv_deplibs_check_method=pass_all
6658 case $host_vendor in
6660 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]'
6661 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6664 lt_cv_deplibs_check_method=pass_all
6667 lt_cv_file_magic_cmd='/bin/file'
6668 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6671 lt_cv_file_magic_cmd='/bin/file'
6672 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6673 lt_cv_file_magic_test_file=/lib/libc.so
6676 lt_cv_deplibs_check_method=pass_all
6679 lt_cv_deplibs_check_method=pass_all
6685 lt_cv_deplibs_check_method=pass_all
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6691 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6692 file_magic_cmd=$lt_cv_file_magic_cmd
6693 deplibs_check_method=$lt_cv_deplibs_check_method
6694 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6708 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6709 for plugin in $plugin_names; do
6710 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6711 if test x$plugin_so = x$plugin; then
6712 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6714 if test x$plugin_so != x$plugin; then
6715 plugin_option="--plugin $plugin_so"
6720 if test -n "$ac_tool_prefix"; then
6721 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6722 set dummy ${ac_tool_prefix}ar; ac_word=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6724 $as_echo_n "checking
for $ac_word...
" >&6; }
6725 if ${ac_cv_prog_AR+:} false; then :
6726 $as_echo_n "(cached
) " >&6
6728 if test -n "$AR"; then
6729 ac_cv_prog_AR="$AR" # Let the user override the test.
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6738 ac_cv_prog_AR="${ac_tool_prefix}ar"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6749 if test -n "$AR"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6751 $as_echo "$AR" >&6; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6754 $as_echo "no
" >&6; }
6759 if test -z "$ac_cv_prog_AR"; then
6761 # Extract the first word of "ar", so it can be a program name with args.
6762 set dummy ar; ac_word=$2
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6764 $as_echo_n "checking
for $ac_word...
" >&6; }
6765 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6766 $as_echo_n "(cached
) " >&6
6768 if test -n "$ac_ct_AR"; then
6769 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 test -z "$as_dir" && as_dir=.
6776 for ac_exec_ext in '' $ac_executable_extensions; do
6777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6778 ac_cv_prog_ac_ct_AR="ar"
6779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6788 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6789 if test -n "$ac_ct_AR"; then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6791 $as_echo "$ac_ct_AR" >&6; }
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6794 $as_echo "no
" >&6; }
6797 if test "x
$ac_ct_AR" = x; then
6800 case $cross_compiling:$ac_tool_warned in
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6803 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6804 ac_tool_warned=yes ;;
6812 test -z "$AR" && AR=ar
6813 if test -n "$plugin_option"; then
6814 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6816 $AR $plugin_option rc conftest.a conftest.c
6817 if test "$?
" != 0; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6819 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6821 AR="$AR $plugin_option"
6826 test -z "$AR_FLAGS" && AR_FLAGS=cru
6838 if test -n "$ac_tool_prefix"; then
6839 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6840 set dummy ${ac_tool_prefix}strip; ac_word=$2
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6842 $as_echo_n "checking
for $ac_word...
" >&6; }
6843 if ${ac_cv_prog_STRIP+:} false; then :
6844 $as_echo_n "(cached
) " >&6
6846 if test -n "$STRIP"; then
6847 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 test -z "$as_dir" && as_dir=.
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6856 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6857 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6866 STRIP=$ac_cv_prog_STRIP
6867 if test -n "$STRIP"; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6869 $as_echo "$STRIP" >&6; }
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6872 $as_echo "no
" >&6; }
6877 if test -z "$ac_cv_prog_STRIP"; then
6879 # Extract the first word of "strip
", so it can be a program name with args.
6880 set dummy strip; ac_word=$2
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6882 $as_echo_n "checking
for $ac_word...
" >&6; }
6883 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6884 $as_echo_n "(cached
) " >&6
6886 if test -n "$ac_ct_STRIP"; then
6887 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6893 test -z "$as_dir" && as_dir=.
6894 for ac_exec_ext in '' $ac_executable_extensions; do
6895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6896 ac_cv_prog_ac_ct_STRIP="strip
"
6897 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6906 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6907 if test -n "$ac_ct_STRIP"; then
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6909 $as_echo "$ac_ct_STRIP" >&6; }
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6912 $as_echo "no
" >&6; }
6915 if test "x
$ac_ct_STRIP" = x; then
6918 case $cross_compiling:$ac_tool_warned in
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6921 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6922 ac_tool_warned=yes ;;
6927 STRIP="$ac_cv_prog_STRIP"
6930 test -z "$STRIP" && STRIP=:
6937 if test -n "$ac_tool_prefix"; then
6938 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6939 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6941 $as_echo_n "checking
for $ac_word...
" >&6; }
6942 if ${ac_cv_prog_RANLIB+:} false; then :
6943 $as_echo_n "(cached
) " >&6
6945 if test -n "$RANLIB"; then
6946 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6955 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6956 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6965 RANLIB=$ac_cv_prog_RANLIB
6966 if test -n "$RANLIB"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6968 $as_echo "$RANLIB" >&6; }
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6971 $as_echo "no
" >&6; }
6976 if test -z "$ac_cv_prog_RANLIB"; then
6977 ac_ct_RANLIB=$RANLIB
6978 # Extract the first word of "ranlib
", so it can be a program name with args.
6979 set dummy ranlib; ac_word=$2
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6981 $as_echo_n "checking
for $ac_word...
" >&6; }
6982 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6983 $as_echo_n "(cached
) " >&6
6985 if test -n "$ac_ct_RANLIB"; then
6986 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6992 test -z "$as_dir" && as_dir=.
6993 for ac_exec_ext in '' $ac_executable_extensions; do
6994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6995 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7005 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7006 if test -n "$ac_ct_RANLIB"; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7008 $as_echo "$ac_ct_RANLIB" >&6; }
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7011 $as_echo "no
" >&6; }
7014 if test "x
$ac_ct_RANLIB" = x; then
7017 case $cross_compiling:$ac_tool_warned in
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7020 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7021 ac_tool_warned=yes ;;
7023 RANLIB=$ac_ct_RANLIB
7026 RANLIB="$ac_cv_prog_RANLIB"
7029 test -z "$RANLIB" && RANLIB=:
7030 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7031 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7032 RANLIB="$RANLIB $plugin_option"
7041 # Determine commands to create old-style static archives.
7042 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7043 old_postinstall_cmds='chmod 644 $oldlib'
7044 old_postuninstall_cmds=
7046 if test -n "$RANLIB"; then
7049 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7052 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7055 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7060 lock_old_archive_extraction=yes ;;
7062 lock_old_archive_extraction=no ;;
7103 # If no C compiler was specified, use CC.
7106 # If no C compiler flags were specified, use CFLAGS.
7107 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7109 # Allow CC to be a program name with arguments.
7113 # Check for command to grab the raw symbol name followed by C symbol from nm.
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7115 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7116 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7117 $as_echo_n "(cached
) " >&6
7120 # These are sane defaults that work on at least a few old systems.
7121 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7123 # Character class describing NM global symbol codes.
7124 symcode='[BCDEGRST]'
7126 # Regexp to match symbols that can be accessed directly from C.
7127 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7129 # Define system-specific variables.
7134 cygwin* | mingw* | pw32* | cegcc*)
7135 symcode='[ABCDGISTW]'
7138 if test "$host_cpu" = ia64; then
7139 symcode='[ABCDEGRST]'
7143 symcode='[BCDEGRST]'
7146 symcode='[BCDEGQRST]'
7157 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7165 # If we're using GNU nm, then use its standard symbol codes.
7166 case `$NM -V 2>&1` in
7167 *GNU* | *'with BFD'*)
7168 symcode='[ABCDGIRSTW]' ;;
7171 # Transform an extracted symbol line into a proper C declaration.
7172 # Some systems (esp. on ia64) link data and code symbols differently,
7173 # so use this general approach.
7174 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7176 # Transform an extracted symbol line into symbol name and symbol address
7177 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7178 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'"
7180 # Handle CRLF in mingw tool chain
7184 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7188 # Try without a prefix underscore, then with it.
7189 for ac_symprfx in "" "_
"; do
7191 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7192 symxfrm="\\1 $ac_symprfx\\2 \\2"
7194 # Write the raw and C identifiers.
7195 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7196 # Fake it for dumpbin and say T for any non-static function
7197 # and D for any global variable.
7198 # Also find C++ and __fastcall symbols from MSVC++,
7199 # which start with @ or ?.
7200 lt_cv_sys_global_symbol_pipe="$AWK '"\
7201 " {last_section=section; section=\$ 3};"\
7202 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7203 " \$ 0!~/External *\|/{next};"\
7204 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7205 " {if(hide[section]) next};"\
7206 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7207 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7208 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7209 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7210 " ' prfx
=^
$ac_symprfx"
7212 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7215 # Check to see that the pipe works correctly.
7219 cat > conftest.$ac_ext <<_LT_EOF
7224 void nm_test_func(void);
7225 void nm_test_func(void){}
7229 int main(){nm_test_var='a';nm_test_func();return(0);}
7232 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7233 (eval $ac_compile) 2>&5
7235 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7236 test $ac_status = 0; }; then
7237 # Now try to grab the symbols.
7239 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7240 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7242 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7243 test $ac_status = 0; } && test -s "$nlist"; then
7244 # Try sorting and uniquifying the output.
7245 if sort "$nlist" | uniq > "$nlist"T; then
7246 mv -f "$nlist"T "$nlist"
7251 # Make sure that we snagged all the symbols we need.
7252 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7253 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7254 cat <<_LT_EOF > conftest.$ac_ext
7260 # Now generate the symbol file.
7261 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7263 cat <<_LT_EOF >> conftest.$ac_ext
7265 /* The mapping between symbol names and symbols. */
7270 lt__PROGRAM__LTX_preloaded_symbols[] =
7272 { "@PROGRAM@
", (void *) 0 },
7274 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7275 cat <<\_LT_EOF >> conftest.$ac_ext
7279 /* This works around a problem in FreeBSD linker */
7280 #ifdef FREEBSD_WORKAROUND
7281 static const void *lt_preloaded_setup() {
7282 return lt__PROGRAM__LTX_preloaded_symbols;
7290 # Now try linking the two files.
7291 mv conftest.$ac_objext conftstm.$ac_objext
7292 lt_save_LIBS="$LIBS"
7293 lt_save_CFLAGS="$CFLAGS"
7294 LIBS="conftstm.
$ac_objext"
7295 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7296 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7297 (eval $ac_link) 2>&5
7299 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7300 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7303 LIBS="$lt_save_LIBS"
7304 CFLAGS="$lt_save_CFLAGS"
7306 echo "cannot
find nm_test_func
in $nlist" >&5
7309 echo "cannot
find nm_test_var
in $nlist" >&5
7312 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7315 echo "$progname: failed program was
:" >&5
7316 cat conftest.$ac_ext >&5
7318 rm -rf conftest* conftst*
7320 # Do not use the global_symbol_pipe unless it works.
7321 if test "$pipe_works" = yes; then
7324 lt_cv_sys_global_symbol_pipe=
7330 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7331 lt_cv_sys_global_symbol_to_cdecl=
7333 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7335 $as_echo "failed
" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7338 $as_echo "ok
" >&6; }
7362 # Check whether --enable-libtool-lock was given.
7363 if test "${enable_libtool_lock+set}" = set; then :
7364 enableval=$enable_libtool_lock;
7367 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7369 # Some flags need to be propagated to the compiler or linker for good
7373 # Find out which ABI we are using.
7374 echo 'int i;' > conftest.$ac_ext
7375 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7376 (eval $ac_compile) 2>&5
7378 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7379 test $ac_status = 0; }; then
7380 case `/usr/bin/file conftest.$ac_objext` in
7392 # Find out which ABI we are using.
7393 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7394 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7395 (eval $ac_compile) 2>&5
7397 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7398 test $ac_status = 0; }; then
7399 if test "$lt_cv_prog_gnu_ld" = yes; then
7400 case `/usr/bin/file conftest.$ac_objext` in
7402 LD="${LD-ld} -melf32bsmip"
7405 LD="${LD-ld} -melf32bmipn32"
7408 LD="${LD-ld} -melf64bmip"
7412 case `/usr/bin/file conftest.$ac_objext` in
7428 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7429 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7430 # Find out which ABI we are using.
7431 echo 'int i;' > conftest.$ac_ext
7432 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7433 (eval $ac_compile) 2>&5
7435 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7436 test $ac_status = 0; }; then
7437 case `/usr/bin/file conftest.o` in
7440 x86_64-*kfreebsd*-gnu)
7441 LD="${LD-ld} -m elf_i386_fbsd
"
7444 case `/usr/bin/file conftest.o` in
7446 LD="${LD-ld} -m elf32_x86_64
"
7449 LD="${LD-ld} -m elf_i386
"
7453 powerpc64le-*linux*)
7454 LD="${LD-ld} -m elf32lppclinux
"
7457 LD="${LD-ld} -m elf32ppclinux
"
7460 LD="${LD-ld} -m elf_s390
"
7463 LD="${LD-ld} -m elf32_sparc
"
7469 x86_64-*kfreebsd*-gnu)
7470 LD="${LD-ld} -m elf_x86_64_fbsd
"
7473 LD="${LD-ld} -m elf_x86_64
"
7476 LD="${LD-ld} -m elf64lppc
"
7479 LD="${LD-ld} -m elf64ppc
"
7481 s390*-*linux*|s390*-*tpf*)
7482 LD="${LD-ld} -m elf64_s390
"
7485 LD="${LD-ld} -m elf64_sparc
"
7495 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7496 SAVE_CFLAGS="$CFLAGS"
7497 CFLAGS="$CFLAGS -belf"
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7499 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7500 if ${lt_cv_cc_needs_belf+:} false; then :
7501 $as_echo_n "(cached
) " >&6
7504 ac_cpp='$CPP $CPPFLAGS'
7505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7510 /* end confdefs.h. */
7520 if ac_fn_c_try_link "$LINENO"; then :
7521 lt_cv_cc_needs_belf=yes
7523 lt_cv_cc_needs_belf=no
7525 rm -f core conftest.err conftest.$ac_objext \
7526 conftest$ac_exeext conftest.$ac_ext
7528 ac_cpp='$CPP $CPPFLAGS'
7529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7535 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7536 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7537 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7538 CFLAGS="$SAVE_CFLAGS"
7542 # Find out which ABI we are using.
7543 echo 'int i;' > conftest.$ac_ext
7544 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7545 (eval $ac_compile) 2>&5
7547 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7548 test $ac_status = 0; }; then
7549 case `/usr/bin/file conftest.o` in
7551 case $lt_cv_prog_gnu_ld in
7552 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7554 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7566 need_locks="$enable_libtool_lock"
7570 rhapsody* | darwin*)
7571 if test -n "$ac_tool_prefix"; then
7572 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7573 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7575 $as_echo_n "checking
for $ac_word...
" >&6; }
7576 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7577 $as_echo_n "(cached
) " >&6
7579 if test -n "$DSYMUTIL"; then
7580 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586 test -z "$as_dir" && as_dir=.
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7589 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7599 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7600 if test -n "$DSYMUTIL"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7602 $as_echo "$DSYMUTIL" >&6; }
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7605 $as_echo "no
" >&6; }
7610 if test -z "$ac_cv_prog_DSYMUTIL"; then
7611 ac_ct_DSYMUTIL=$DSYMUTIL
7612 # Extract the first word of "dsymutil
", so it can be a program name with args.
7613 set dummy dsymutil; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7615 $as_echo_n "checking
for $ac_word...
" >&6; }
7616 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7617 $as_echo_n "(cached
) " >&6
7619 if test -n "$ac_ct_DSYMUTIL"; then
7620 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7629 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7639 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7640 if test -n "$ac_ct_DSYMUTIL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7642 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7645 $as_echo "no
" >&6; }
7648 if test "x
$ac_ct_DSYMUTIL" = x; then
7651 case $cross_compiling:$ac_tool_warned in
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7654 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7655 ac_tool_warned=yes ;;
7657 DSYMUTIL=$ac_ct_DSYMUTIL
7660 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7663 if test -n "$ac_tool_prefix"; then
7664 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7665 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7667 $as_echo_n "checking
for $ac_word...
" >&6; }
7668 if ${ac_cv_prog_NMEDIT+:} false; then :
7669 $as_echo_n "(cached
) " >&6
7671 if test -n "$NMEDIT"; then
7672 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7678 test -z "$as_dir" && as_dir=.
7679 for ac_exec_ext in '' $ac_executable_extensions; do
7680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7691 NMEDIT=$ac_cv_prog_NMEDIT
7692 if test -n "$NMEDIT"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7694 $as_echo "$NMEDIT" >&6; }
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7697 $as_echo "no
" >&6; }
7702 if test -z "$ac_cv_prog_NMEDIT"; then
7703 ac_ct_NMEDIT=$NMEDIT
7704 # Extract the first word of "nmedit
", so it can be a program name with args.
7705 set dummy nmedit; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7707 $as_echo_n "checking
for $ac_word...
" >&6; }
7708 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7709 $as_echo_n "(cached
) " >&6
7711 if test -n "$ac_ct_NMEDIT"; then
7712 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7721 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7731 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7732 if test -n "$ac_ct_NMEDIT"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7734 $as_echo "$ac_ct_NMEDIT" >&6; }
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7737 $as_echo "no
" >&6; }
7740 if test "x
$ac_ct_NMEDIT" = x; then
7743 case $cross_compiling:$ac_tool_warned in
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7746 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7747 ac_tool_warned=yes ;;
7749 NMEDIT=$ac_ct_NMEDIT
7752 NMEDIT="$ac_cv_prog_NMEDIT"
7755 if test -n "$ac_tool_prefix"; then
7756 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7757 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7759 $as_echo_n "checking
for $ac_word...
" >&6; }
7760 if ${ac_cv_prog_LIPO+:} false; then :
7761 $as_echo_n "(cached
) " >&6
7763 if test -n "$LIPO"; then
7764 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7773 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7783 LIPO=$ac_cv_prog_LIPO
7784 if test -n "$LIPO"; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7786 $as_echo "$LIPO" >&6; }
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7789 $as_echo "no
" >&6; }
7794 if test -z "$ac_cv_prog_LIPO"; then
7796 # Extract the first word of "lipo
", so it can be a program name with args.
7797 set dummy lipo; ac_word=$2
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7799 $as_echo_n "checking
for $ac_word...
" >&6; }
7800 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7801 $as_echo_n "(cached
) " >&6
7803 if test -n "$ac_ct_LIPO"; then
7804 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7810 test -z "$as_dir" && as_dir=.
7811 for ac_exec_ext in '' $ac_executable_extensions; do
7812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7813 ac_cv_prog_ac_ct_LIPO="lipo
"
7814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7823 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7824 if test -n "$ac_ct_LIPO"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7826 $as_echo "$ac_ct_LIPO" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7829 $as_echo "no
" >&6; }
7832 if test "x
$ac_ct_LIPO" = x; then
7835 case $cross_compiling:$ac_tool_warned in
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7838 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7839 ac_tool_warned=yes ;;
7844 LIPO="$ac_cv_prog_LIPO"
7847 if test -n "$ac_tool_prefix"; then
7848 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7849 set dummy ${ac_tool_prefix}otool; ac_word=$2
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7851 $as_echo_n "checking
for $ac_word...
" >&6; }
7852 if ${ac_cv_prog_OTOOL+:} false; then :
7853 $as_echo_n "(cached
) " >&6
7855 if test -n "$OTOOL"; then
7856 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7865 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7875 OTOOL=$ac_cv_prog_OTOOL
7876 if test -n "$OTOOL"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7878 $as_echo "$OTOOL" >&6; }
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7881 $as_echo "no
" >&6; }
7886 if test -z "$ac_cv_prog_OTOOL"; then
7888 # Extract the first word of "otool
", so it can be a program name with args.
7889 set dummy otool; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7891 $as_echo_n "checking
for $ac_word...
" >&6; }
7892 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7893 $as_echo_n "(cached
) " >&6
7895 if test -n "$ac_ct_OTOOL"; then
7896 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7905 ac_cv_prog_ac_ct_OTOOL="otool
"
7906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7915 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7916 if test -n "$ac_ct_OTOOL"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7918 $as_echo "$ac_ct_OTOOL" >&6; }
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7921 $as_echo "no
" >&6; }
7924 if test "x
$ac_ct_OTOOL" = x; then
7927 case $cross_compiling:$ac_tool_warned in
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7930 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7931 ac_tool_warned=yes ;;
7936 OTOOL="$ac_cv_prog_OTOOL"
7939 if test -n "$ac_tool_prefix"; then
7940 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7941 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7943 $as_echo_n "checking
for $ac_word...
" >&6; }
7944 if ${ac_cv_prog_OTOOL64+:} false; then :
7945 $as_echo_n "(cached
) " >&6
7947 if test -n "$OTOOL64"; then
7948 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7957 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7967 OTOOL64=$ac_cv_prog_OTOOL64
7968 if test -n "$OTOOL64"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7970 $as_echo "$OTOOL64" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7973 $as_echo "no
" >&6; }
7978 if test -z "$ac_cv_prog_OTOOL64"; then
7979 ac_ct_OTOOL64=$OTOOL64
7980 # Extract the first word of "otool64
", so it can be a program name with args.
7981 set dummy otool64; ac_word=$2
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7983 $as_echo_n "checking
for $ac_word...
" >&6; }
7984 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7985 $as_echo_n "(cached
) " >&6
7987 if test -n "$ac_ct_OTOOL64"; then
7988 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994 test -z "$as_dir" && as_dir=.
7995 for ac_exec_ext in '' $ac_executable_extensions; do
7996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7997 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8007 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8008 if test -n "$ac_ct_OTOOL64"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8010 $as_echo "$ac_ct_OTOOL64" >&6; }
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8013 $as_echo "no
" >&6; }
8016 if test "x
$ac_ct_OTOOL64" = x; then
8019 case $cross_compiling:$ac_tool_warned in
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8022 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8023 ac_tool_warned=yes ;;
8025 OTOOL64=$ac_ct_OTOOL64
8028 OTOOL64="$ac_cv_prog_OTOOL64"
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8058 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8059 if ${lt_cv_apple_cc_single_mod+:} false; then :
8060 $as_echo_n "(cached
) " >&6
8062 lt_cv_apple_cc_single_mod=no
8063 if test -z "${LT_MULTI_MODULE}"; then
8064 # By default we will add the -single_module flag. You can override
8065 # by either setting the environment variable LT_MULTI_MODULE
8066 # non-empty at configure time, or by adding -multi_module to the
8068 rm -rf libconftest.dylib*
8069 echo "int foo
(void
){return 1;}" > conftest.c
8070 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8071 -dynamiclib -Wl,-single_module conftest.c
" >&5
8072 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8073 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8075 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8076 lt_cv_apple_cc_single_mod=yes
8078 cat conftest.err >&5
8080 rm -rf libconftest.dylib*
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8085 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8087 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8088 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8089 $as_echo_n "(cached
) " >&6
8091 lt_cv_ld_exported_symbols_list=no
8092 save_LDFLAGS=$LDFLAGS
8093 echo "_main
" > conftest.sym
8094 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8096 /* end confdefs.h. */
8106 if ac_fn_c_try_link "$LINENO"; then :
8107 lt_cv_ld_exported_symbols_list=yes
8109 lt_cv_ld_exported_symbols_list=no
8111 rm -f core conftest.err conftest.$ac_objext \
8112 conftest$ac_exeext conftest.$ac_ext
8113 LDFLAGS="$save_LDFLAGS"
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8117 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8119 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8120 if ${lt_cv_ld_force_load+:} false; then :
8121 $as_echo_n "(cached
) " >&6
8123 lt_cv_ld_force_load=no
8124 cat > conftest.c << _LT_EOF
8125 int forced_loaded() { return 2;}
8127 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8128 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8129 echo "$AR cru libconftest.a conftest.o
" >&5
8130 $AR cru libconftest.a conftest.o 2>&5
8131 cat > conftest.c << _LT_EOF
8132 int main() { return 0;}
8134 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8135 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8137 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8138 lt_cv_ld_force_load=yes
8140 cat conftest.err >&5
8142 rm -f conftest.err libconftest.a conftest conftest.c
8143 rm -rf conftest.dSYM
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8147 $as_echo "$lt_cv_ld_force_load" >&6; }
8149 rhapsody* | darwin1.[012])
8150 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8152 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8153 darwin*) # darwin 5.x on
8154 # if running on 10.5 or later, the deployment target defaults
8155 # to the OS version, if on x86, and 10.4, the deployment
8156 # target defaults to 10.4. Don't you love it?
8157 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8158 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8159 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8161 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8163 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8167 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8168 _lt_dar_single_mod='$single_module'
8170 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8171 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8173 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8175 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8176 _lt_dsymutil='~$DSYMUTIL $lib || :'
8183 for ac_header in dlfcn.h
8185 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8187 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8188 cat >>confdefs.h <<_ACEOF
8189 #define HAVE_DLFCN_H 1
8211 # Check whether --enable-static was given.
8212 if test "${enable_static+set}" = set; then :
8213 enableval=$enable_static; p=${PACKAGE-default}
8215 yes) enable_static=yes ;;
8216 no) enable_static=no ;;
8219 # Look at the argument we got. We use all the common list separators.
8220 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8221 for pkg in $enableval; do
8223 if test "X
$pkg" = "X
$p"; then
8243 # Check whether --with-pic was given.
8244 if test "${with_pic+set}" = set; then :
8245 withval=$with_pic; pic_mode="$withval"
8251 test -z "$pic_mode" && pic_mode=default
8259 # Check whether --enable-fast-install was given.
8260 if test "${enable_fast_install+set}" = set; then :
8261 enableval=$enable_fast_install; p=${PACKAGE-default}
8263 yes) enable_fast_install=yes ;;
8264 no) enable_fast_install=no ;;
8266 enable_fast_install=no
8267 # Look at the argument we got. We use all the common list separators.
8268 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8269 for pkg in $enableval; do
8271 if test "X
$pkg" = "X
$p"; then
8272 enable_fast_install=yes
8279 enable_fast_install=yes
8292 # This can be used to rebuild libtool when needed
8293 LIBTOOL_DEPS="$ltmain"
8295 # Always use our own libtool.
8296 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8323 test -z "$LN_S" && LN_S="ln -s"
8338 if test -n "${ZSH_VERSION+set}" ; then
8339 setopt NO_GLOB_SUBST
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8343 $as_echo_n "checking
for objdir...
" >&6; }
8344 if ${lt_cv_objdir+:} false; then :
8345 $as_echo_n "(cached
) " >&6
8347 rm -f .libs 2>/dev/null
8348 mkdir .libs 2>/dev/null
8349 if test -d .libs; then
8352 # MS-DOS does not allow filenames that begin with a dot.
8355 rmdir .libs 2>/dev/null
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8358 $as_echo "$lt_cv_objdir" >&6; }
8359 objdir=$lt_cv_objdir
8365 cat >>confdefs.h <<_ACEOF
8366 #define LT_OBJDIR "$lt_cv_objdir/"
8374 # AIX sometimes has problems with the GCC collect2 program. For some
8375 # reason, if we set the COLLECT_NAMES environment variable, the problems
8376 # vanish in a puff of smoke.
8377 if test "X
${COLLECT_NAMES+set}" != Xset; then
8379 export COLLECT_NAMES
8386 can_build_shared=yes
8388 # All known linkers require a `.a' archive for static linking (except MSVC,
8389 # which needs '.lib').
8392 with_gnu_ld="$lt_cv_prog_gnu_ld"
8395 old_CFLAGS="$CFLAGS"
8397 # Set sane defaults for various variables
8398 test -z "$CC" && CC=cc
8399 test -z "$LTCC" && LTCC=$CC
8400 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8401 test -z "$LD" && LD=ld
8402 test -z "$ac_objext" && ac_objext=o
8404 for cc_temp in $compiler""; do
8406 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8407 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8412 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8415 # Only perform the check for file, if the check method requires it
8416 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8417 case $deplibs_check_method in
8419 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8421 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8422 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8423 $as_echo_n "(cached
) " >&6
8427 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8430 lt_save_MAGIC_CMD="$MAGIC_CMD"
8431 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8432 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8433 for ac_dir in $ac_dummy; do
8435 test -z "$ac_dir" && ac_dir=.
8436 if test -f $ac_dir/${ac_tool_prefix}file; then
8437 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8438 if test -n "$file_magic_test_file"; then
8439 case $deplibs_check_method in
8441 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8442 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8443 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8444 $EGREP "$file_magic_regex" > /dev/null; then
8449 *** Warning: the command libtool uses to detect shared libraries,
8450 *** $file_magic_cmd, produces output that libtool cannot recognize.
8451 *** The result is that libtool may fail to recognize shared libraries
8452 *** as such. This will affect the creation of libtool libraries that
8453 *** depend on shared libraries, but programs linked with such libtool
8454 *** libraries will work regardless of this problem. Nevertheless, you
8455 *** may want to report the problem to your system manager and/or to
8456 *** bug-libtool@gnu.org
8466 MAGIC_CMD="$lt_save_MAGIC_CMD"
8471 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8472 if test -n "$MAGIC_CMD"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8474 $as_echo "$MAGIC_CMD" >&6; }
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8477 $as_echo "no
" >&6; }
8484 if test -z "$lt_cv_path_MAGIC_CMD"; then
8485 if test -n "$ac_tool_prefix"; then
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8487 $as_echo_n "checking
for file...
" >&6; }
8488 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8489 $as_echo_n "(cached
) " >&6
8493 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8496 lt_save_MAGIC_CMD="$MAGIC_CMD"
8497 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8498 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8499 for ac_dir in $ac_dummy; do
8501 test -z "$ac_dir" && ac_dir=.
8502 if test -f $ac_dir/file; then
8503 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8504 if test -n "$file_magic_test_file"; then
8505 case $deplibs_check_method in
8507 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8508 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8509 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8510 $EGREP "$file_magic_regex" > /dev/null; then
8515 *** Warning: the command libtool uses to detect shared libraries,
8516 *** $file_magic_cmd, produces output that libtool cannot recognize.
8517 *** The result is that libtool may fail to recognize shared libraries
8518 *** as such. This will affect the creation of libtool libraries that
8519 *** depend on shared libraries, but programs linked with such libtool
8520 *** libraries will work regardless of this problem. Nevertheless, you
8521 *** may want to report the problem to your system manager and/or to
8522 *** bug-libtool@gnu.org
8532 MAGIC_CMD="$lt_save_MAGIC_CMD"
8537 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8538 if test -n "$MAGIC_CMD"; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8540 $as_echo "$MAGIC_CMD" >&6; }
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8543 $as_echo "no
" >&6; }
8556 # Use C for the default configuration in the libtool script
8560 ac_cpp='$CPP $CPPFLAGS'
8561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8566 # Source file extension for C test sources.
8569 # Object file extension for compiled C test sources.
8573 # Code to be used in simple compile tests
8574 lt_simple_compile_test_code="int some_variable
= 0;"
8576 # Code to be used in simple link tests
8577 lt_simple_link_test_code='int main(){return(0);}'
8585 # If no C compiler was specified, use CC.
8588 # If no C compiler flags were specified, use CFLAGS.
8589 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8591 # Allow CC to be a program name with arguments.
8594 # Save the default compiler, since it gets overwritten when the other
8595 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8596 compiler_DEFAULT=$CC
8598 # save warnings/boilerplate of simple test code
8599 ac_outfile=conftest.$ac_objext
8600 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8601 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8602 _lt_compiler_boilerplate=`cat conftest.err`
8605 ac_outfile=conftest.$ac_objext
8606 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8607 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8608 _lt_linker_boilerplate=`cat conftest.err`
8613 ## There is no encapsulation within the following macros, do not change
8614 ## the running order or otherwise move them around unless you know exactly
8615 ## what you are doing...
8616 if test -n "$compiler"; then
8618 lt_prog_compiler_no_builtin_flag=
8620 if test "$GCC" = yes; then
8621 case $cc_basename in
8623 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8625 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8629 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8630 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8631 $as_echo_n "(cached
) " >&6
8633 lt_cv_prog_compiler_rtti_exceptions=no
8634 ac_outfile=conftest.$ac_objext
8635 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8636 lt_compiler_flag="-fno-rtti -fno-exceptions"
8637 # Insert the option either (1) after the last *FLAGS variable, or
8638 # (2) before a word containing "conftest.
", or (3) at the end.
8639 # Note that $ac_compile itself does not contain backslashes and begins
8640 # with a dollar sign (not a hyphen), so the echo should work correctly.
8641 # The option is referenced via a variable to avoid confusing sed.
8642 lt_compile=`echo "$ac_compile" | $SED \
8643 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8644 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8645 -e 's:$: $lt_compiler_flag:'`
8646 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8647 (eval "$lt_compile" 2>conftest.err)
8649 cat conftest.err >&5
8650 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8651 if (exit $ac_status) && test -s "$ac_outfile"; then
8652 # The compiler can only warn and ignore the option if not recognized
8653 # So say no if there are warnings other than the usual output.
8654 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8655 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8656 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8657 lt_cv_prog_compiler_rtti_exceptions=yes
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8664 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8666 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8667 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8679 lt_prog_compiler_wl=
8680 lt_prog_compiler_pic=
8681 lt_prog_compiler_static=
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8684 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8686 if test "$GCC" = yes; then
8687 lt_prog_compiler_wl='-Wl,'
8688 lt_prog_compiler_static='-static'
8692 # All AIX code is PIC.
8693 if test "$host_cpu" = ia64; then
8694 # AIX 5 now supports IA64 processor
8695 lt_prog_compiler_static='-Bstatic'
8697 lt_prog_compiler_pic='-fPIC'
8703 # see comment about AmigaOS4 .so support
8704 lt_prog_compiler_pic='-fPIC'
8707 # FIXME: we need at least 68020 code to build shared libraries, but
8708 # adding the `-m68020' flag to GCC prevents building anything better,
8710 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8715 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8716 # PIC is the default for these OSes.
8719 mingw* | cygwin* | pw32* | os2* | cegcc*)
8720 # This hack is so that the source file can tell whether it is being
8721 # built for inclusion in a dll (and should export symbols for example).
8722 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8723 # (--disable-auto-import) libraries
8724 lt_prog_compiler_pic='-DDLL_EXPORT'
8727 darwin* | rhapsody*)
8728 # PIC is the default on this platform
8729 # Common symbols not allowed in MH_DYLIB files
8730 lt_prog_compiler_pic='-fno-common'
8734 # PIC is the default for Haiku.
8735 # The "-static" flag exists, but is broken.
8736 lt_prog_compiler_static=
8740 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8741 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8742 # sets the default TLS model and affects inlining.
8748 lt_prog_compiler_pic='-fPIC'
8754 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8755 # Instead, we relocate shared libraries at runtime.
8759 # Just because we use GCC doesn't mean we suddenly get shared libraries
8760 # on systems that don't support them.
8761 lt_prog_compiler_can_build_shared=no
8766 # QNX uses GNU C++, but need to define -shared option too, otherwise
8768 lt_prog_compiler_pic='-fPIC -shared'
8772 if test -d /usr/nec; then
8773 lt_prog_compiler_pic=-Kconform_pic
8778 lt_prog_compiler_pic='-fPIC'
8782 case $cc_basename in
8783 nvcc*) # Cuda Compiler Driver 2.2
8784 lt_prog_compiler_wl='-Xlinker '
8785 lt_prog_compiler_pic='-Xcompiler -fPIC'
8789 # PORTME Check for flag to pass linker flags through the system compiler.
8792 lt_prog_compiler_wl='-Wl,'
8793 if test "$host_cpu" = ia64; then
8794 # AIX 5 now supports IA64 processor
8795 lt_prog_compiler_static='-Bstatic'
8797 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8801 mingw* | cygwin* | pw32* | os2* | cegcc*)
8802 # This hack is so that the source file can tell whether it is being
8803 # built for inclusion in a dll (and should export symbols for example).
8804 lt_prog_compiler_pic='-DDLL_EXPORT'
8807 hpux9* | hpux10* | hpux11*)
8808 lt_prog_compiler_wl='-Wl,'
8809 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8816 lt_prog_compiler_pic='+Z'
8819 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8820 lt_prog_compiler_static='${wl}-a ${wl}archive'
8823 irix5* | irix6* | nonstopux*)
8824 lt_prog_compiler_wl='-Wl,'
8825 # PIC (with -KPIC) is the default.
8826 lt_prog_compiler_static='-non_shared'
8829 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8830 case $cc_basename in
8831 # old Intel for x86_64 which still supported -KPIC.
8833 lt_prog_compiler_wl='-Wl,'
8834 lt_prog_compiler_pic='-KPIC'
8835 lt_prog_compiler_static='-static'
8837 # icc used to be incompatible with GCC.
8838 # ICC 10 doesn't accept -KPIC any more.
8840 lt_prog_compiler_wl='-Wl,'
8841 lt_prog_compiler_pic='-fPIC'
8842 lt_prog_compiler_static='-static'
8844 # Lahey Fortran 8.1.
8846 lt_prog_compiler_wl='-Wl,'
8847 lt_prog_compiler_pic='--shared'
8848 lt_prog_compiler_static='--static'
8850 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8851 # Portland Group compilers (*not* the Pentium gcc compiler,
8852 # which looks to be a dead project)
8853 lt_prog_compiler_wl='-Wl,'
8854 lt_prog_compiler_pic='-fpic'
8855 lt_prog_compiler_static='-Bstatic'
8858 lt_prog_compiler_wl='-Wl,'
8859 # All Alpha code is PIC.
8860 lt_prog_compiler_static='-non_shared'
8862 xl* | bgxl* | bgf* | mpixl*)
8863 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8864 lt_prog_compiler_wl='-Wl,'
8865 lt_prog_compiler_pic='-qpic'
8866 lt_prog_compiler_static='-qstaticlink'
8869 case `$CC -V 2>&1 | sed 5q` in
8870 *Sun\ F* | *Sun*Fortran*)
8871 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8872 lt_prog_compiler_pic='-KPIC'
8873 lt_prog_compiler_static='-Bstatic'
8874 lt_prog_compiler_wl=''
8878 lt_prog_compiler_pic='-KPIC'
8879 lt_prog_compiler_static='-Bstatic'
8880 lt_prog_compiler_wl='-Wl,'
8888 lt_prog_compiler_pic='-KPIC'
8889 lt_prog_compiler_static='-Bstatic'
8893 # QNX uses GNU C++, but need to define -shared option too, otherwise
8895 lt_prog_compiler_pic='-fPIC -shared'
8898 osf3* | osf4* | osf5*)
8899 lt_prog_compiler_wl='-Wl,'
8900 # All OSF/1 code is PIC.
8901 lt_prog_compiler_static='-non_shared'
8905 lt_prog_compiler_static='-non_shared'
8909 lt_prog_compiler_pic='-KPIC'
8910 lt_prog_compiler_static='-Bstatic'
8911 case $cc_basename in
8913 lt_prog_compiler_wl='-Qoption ld ';;
8915 lt_prog_compiler_wl='-Wl,';;
8920 lt_prog_compiler_wl='-Qoption ld '
8921 lt_prog_compiler_pic='-PIC'
8922 lt_prog_compiler_static='-Bstatic'
8925 sysv4 | sysv4.2uw2* | sysv4.3*)
8926 lt_prog_compiler_wl='-Wl,'
8927 lt_prog_compiler_pic='-KPIC'
8928 lt_prog_compiler_static='-Bstatic'
8932 if test -d /usr/nec ;then
8933 lt_prog_compiler_pic='-Kconform_pic'
8934 lt_prog_compiler_static='-Bstatic'
8938 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8939 lt_prog_compiler_wl='-Wl,'
8940 lt_prog_compiler_pic='-KPIC'
8941 lt_prog_compiler_static='-Bstatic'
8945 lt_prog_compiler_wl='-Wl,'
8946 lt_prog_compiler_can_build_shared=no
8950 lt_prog_compiler_pic='-pic'
8951 lt_prog_compiler_static='-Bstatic'
8955 lt_prog_compiler_can_build_shared=no
8961 # For platforms which do not support PIC, -DPIC is meaningless:
8963 lt_prog_compiler_pic=
8966 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8970 $as_echo "$lt_prog_compiler_pic" >&6; }
8978 # Check to make sure the PIC flag actually works.
8980 if test -n "$lt_prog_compiler_pic"; then
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8982 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8983 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8984 $as_echo_n "(cached
) " >&6
8986 lt_cv_prog_compiler_pic_works=no
8987 ac_outfile=conftest.$ac_objext
8988 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8989 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8990 # Insert the option either (1) after the last *FLAGS variable, or
8991 # (2) before a word containing "conftest.
", or (3) at the end.
8992 # Note that $ac_compile itself does not contain backslashes and begins
8993 # with a dollar sign (not a hyphen), so the echo should work correctly.
8994 # The option is referenced via a variable to avoid confusing sed.
8995 lt_compile=`echo "$ac_compile" | $SED \
8996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8998 -e 's:$: $lt_compiler_flag:'`
8999 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9000 (eval "$lt_compile" 2>conftest.err)
9002 cat conftest.err >&5
9003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9004 if (exit $ac_status) && test -s "$ac_outfile"; then
9005 # The compiler can only warn and ignore the option if not recognized
9006 # So say no if there are warnings other than the usual output.
9007 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9008 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9009 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9010 lt_cv_prog_compiler_pic_works=yes
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9017 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9019 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9020 case $lt_prog_compiler_pic in
9022 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9025 lt_prog_compiler_pic=
9026 lt_prog_compiler_can_build_shared=no
9037 # Check to make sure the static flag actually works.
9039 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9041 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9042 if ${lt_cv_prog_compiler_static_works+:} false; then :
9043 $as_echo_n "(cached
) " >&6
9045 lt_cv_prog_compiler_static_works=no
9046 save_LDFLAGS="$LDFLAGS"
9047 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9048 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9049 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9050 # The linker can only warn and ignore the option if not recognized
9051 # So say no if there are warnings
9052 if test -s conftest.err; then
9053 # Append any errors to the config.log.
9054 cat conftest.err 1>&5
9055 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9056 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9057 if diff conftest.exp conftest.er2 >/dev/null; then
9058 lt_cv_prog_compiler_static_works=yes
9061 lt_cv_prog_compiler_static_works=yes
9065 LDFLAGS="$save_LDFLAGS"
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9069 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9071 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9074 lt_prog_compiler_static=
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9084 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9085 if ${lt_cv_prog_compiler_c_o+:} false; then :
9086 $as_echo_n "(cached
) " >&6
9088 lt_cv_prog_compiler_c_o=no
9089 $RM -r conftest 2>/dev/null
9093 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9095 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9096 # Insert the option either (1) after the last *FLAGS variable, or
9097 # (2) before a word containing "conftest.
", or (3) at the end.
9098 # Note that $ac_compile itself does not contain backslashes and begins
9099 # with a dollar sign (not a hyphen), so the echo should work correctly.
9100 lt_compile=`echo "$ac_compile" | $SED \
9101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9103 -e 's:$: $lt_compiler_flag:'`
9104 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9105 (eval "$lt_compile" 2>out/conftest.err)
9107 cat out/conftest.err >&5
9108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9109 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9111 # The compiler can only warn and ignore the option if not recognized
9112 # So say no if there are warnings
9113 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9114 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9115 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9116 lt_cv_prog_compiler_c_o=yes
9121 # SGI C++ compiler will create directory out/ii_files/ for
9122 # template instantiation
9123 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9124 $RM out/* && rmdir out
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9131 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9139 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9140 if ${lt_cv_prog_compiler_c_o+:} false; then :
9141 $as_echo_n "(cached
) " >&6
9143 lt_cv_prog_compiler_c_o=no
9144 $RM -r conftest 2>/dev/null
9148 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9150 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9151 # Insert the option either (1) after the last *FLAGS variable, or
9152 # (2) before a word containing "conftest.
", or (3) at the end.
9153 # Note that $ac_compile itself does not contain backslashes and begins
9154 # with a dollar sign (not a hyphen), so the echo should work correctly.
9155 lt_compile=`echo "$ac_compile" | $SED \
9156 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9157 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9158 -e 's:$: $lt_compiler_flag:'`
9159 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9160 (eval "$lt_compile" 2>out/conftest.err)
9162 cat out/conftest.err >&5
9163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9164 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9166 # The compiler can only warn and ignore the option if not recognized
9167 # So say no if there are warnings
9168 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9169 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9170 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9171 lt_cv_prog_compiler_c_o=yes
9176 # SGI C++ compiler will create directory out/ii_files/ for
9177 # template instantiation
9178 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9179 $RM out/* && rmdir out
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9186 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9191 hard_links="nottested
"
9192 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9193 # do not overwrite the value of need_locks provided by the user
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9195 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9198 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9200 ln conftest.a conftest.b 2>&5 || hard_links=no
9201 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9203 $as_echo "$hard_links" >&6; }
9204 if test "$hard_links" = no; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9206 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9219 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9222 allow_undefined_flag=
9223 always_export_symbols=no
9225 archive_expsym_cmds=
9226 compiler_needs_object=no
9227 enable_shared_with_static_runtimes=no
9228 export_dynamic_flag_spec=
9229 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9230 hardcode_automatic=no
9232 hardcode_direct_absolute=no
9233 hardcode_libdir_flag_spec=
9234 hardcode_libdir_flag_spec_ld=
9235 hardcode_libdir_separator=
9237 hardcode_shlibpath_var=unsupported
9239 link_all_deplibs=unknown
9242 old_archive_from_new_cmds=
9243 old_archive_from_expsyms_cmds=
9244 thread_safe_flag_spec=
9245 whole_archive_flag_spec=
9246 # include_expsyms should be a list of space-separated symbols to be *always*
9247 # included in the symbol list
9249 # exclude_expsyms can be an extended regexp of symbols to exclude
9250 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9251 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9252 # as well as any symbol that contains `d'.
9253 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9254 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9255 # platforms (ab)use it in PIC code, but their linkers get confused if
9256 # the symbol is explicitly referenced. Since portable code cannot
9257 # rely on this symbol name, it's probably fine to never include it in
9258 # preloaded symbol tables.
9259 # Exclude shared library initialization/finalization symbols.
9260 extract_expsyms_cmds=
9263 cygwin* | mingw* | pw32* | cegcc*)
9264 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9265 # When not using gcc, we currently assume that we are using
9266 # Microsoft Visual C++.
9267 if test "$GCC" != yes; then
9272 # we just hope/assume this is gcc and not c89 (= MSVC++)
9282 # On some targets, GNU ld is compatible enough with the native linker
9283 # that we're better off using the native interface for both.
9284 lt_use_gnu_ld_interface=no
9285 if test "$with_gnu_ld" = yes; then
9288 # The AIX port of GNU ld has always aspired to compatibility
9289 # with the native linker. However, as the warning in the GNU ld
9290 # block says, versions before 2.19.5* couldn't really create working
9291 # shared libraries, regardless of the interface used.
9292 case `$LD -v 2>&1` in
9293 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9294 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9295 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9297 lt_use_gnu_ld_interface=yes
9302 lt_use_gnu_ld_interface=yes
9307 if test "$lt_use_gnu_ld_interface" = yes; then
9308 # If archive_cmds runs LD, not CC, wlarc should be empty
9311 # Set some defaults for GNU ld with shared library support. These
9312 # are reset later if shared libraries are not supported. Putting them
9313 # here allows them to be overridden if necessary.
9314 runpath_var=LD_RUN_PATH
9315 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9316 export_dynamic_flag_spec='${wl}--export-dynamic'
9317 # ancient GNU ld didn't support --whole-archive et. al.
9318 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9319 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9321 whole_archive_flag_spec=
9323 supports_anon_versioning=no
9324 case `$LD -v 2>&1` in
9325 *GNU\ gold*) supports_anon_versioning=yes ;;
9326 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9327 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9328 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9329 *\ 2.11.*) ;; # other 2.11 versions
9330 *) supports_anon_versioning=yes ;;
9333 # See if GNU ld supports shared libraries.
9336 # On AIX/PPC, the GNU linker is very broken
9337 if test "$host_cpu" != ia64; then
9341 *** Warning: the GNU linker, at least up to release 2.19, is reported
9342 *** to be unable to reliably create shared libraries on AIX.
9343 *** Therefore, libtool is disabling shared libraries support. If you
9344 *** really care for shared libraries, you may want to install binutils
9345 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9346 *** You will then need to restart the configuration process.
9355 # see comment about AmigaOS4 .so support
9356 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9357 archive_expsym_cmds=''
9360 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)'
9361 hardcode_libdir_flag_spec
='-L$libdir'
9362 hardcode_minus_L
=yes
9368 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9369 allow_undefined_flag
=unsupported
9370 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9371 # support --undefined. This deserves some investigation. FIXME
9372 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9378 cygwin
* | mingw
* | pw32
* | cegcc
*)
9379 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9380 # as there is no search path for DLLs.
9381 hardcode_libdir_flag_spec
='-L$libdir'
9382 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9383 allow_undefined_flag
=unsupported
9384 always_export_symbols
=no
9385 enable_shared_with_static_runtimes
=yes
9386 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9388 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9389 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9390 # If the export-symbols file already is a .def file (1st line
9391 # is EXPORTS), use it as is; otherwise, prepend...
9392 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9393 cp $export_symbols $output_objdir/$soname.def;
9395 echo EXPORTS > $output_objdir/$soname.def;
9396 cat $export_symbols >> $output_objdir/$soname.def;
9398 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9405 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9406 link_all_deplibs
=yes
9411 hardcode_shlibpath_var
=no
9412 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9413 export_dynamic_flag_spec
='${wl}-E'
9414 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9415 # Instead, shared libraries are loaded at an image base (0x10000000 by
9416 # default) and relocated if they conflict, which is a slow very memory
9417 # consuming and fragmenting process. To avoid this, we pick a random,
9418 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9419 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9420 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9421 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'
9424 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9426 if test "$host_os" = linux-dietlibc
; then
9427 case $cc_basename in
9428 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9431 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9432 && test "$tmp_diet" = no
9434 tmp_addflag
=' $pic_flag'
9435 tmp_sharedflag
='-shared'
9436 case $cc_basename,$host_cpu in
9437 pgcc
*) # Portland Group C compiler
9438 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'
9439 tmp_addflag
=' $pic_flag'
9441 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9442 # Portland Group f77 and f90 compilers
9443 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'
9444 tmp_addflag
=' $pic_flag -Mnomain' ;;
9445 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9446 tmp_addflag
=' -i_dynamic' ;;
9447 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9448 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9449 ifc
* | ifort
*) # Intel Fortran compiler
9450 tmp_addflag
=' -nofor_main' ;;
9451 lf95
*) # Lahey Fortran 8.1
9452 whole_archive_flag_spec
=
9453 tmp_sharedflag
='--shared' ;;
9454 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9455 tmp_sharedflag
='-qmkshrobj'
9457 nvcc
*) # Cuda Compiler Driver 2.2
9458 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'
9459 compiler_needs_object
=yes
9462 case `$CC -V 2>&1 | sed 5q` in
9463 *Sun\ C
*) # Sun C 5.9
9464 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'
9465 compiler_needs_object
=yes
9466 tmp_sharedflag
='-G' ;;
9467 *Sun\ F
*) # Sun Fortran 8.3
9468 tmp_sharedflag
='-G' ;;
9470 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9472 if test "x$supports_anon_versioning" = xyes
; then
9473 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9474 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9475 echo "local: *; };" >> $output_objdir/$libname.ver~
9476 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9479 case $cc_basename in
9480 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9481 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9482 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9483 hardcode_libdir_flag_spec
=
9484 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9485 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9486 if test "x$supports_anon_versioning" = xyes
; then
9487 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9488 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9489 echo "local: *; };" >> $output_objdir/$libname.ver~
9490 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9500 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9501 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9504 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9505 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9510 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9514 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9515 *** create shared libraries on Solaris systems. Therefore, libtool
9516 *** is disabling shared libraries support. We urge you to upgrade GNU
9517 *** binutils to release 2.9.1 or newer. Another option is to modify
9518 *** your PATH or compiler configuration so that the native linker is
9519 *** used, and then restart.
9522 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9523 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9524 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9530 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9531 case `$LD -v 2>&1` in
9532 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9536 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9537 *** reliably create shared libraries on SCO systems. Therefore, libtool
9538 *** is disabling shared libraries support. We urge you to upgrade GNU
9539 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9540 *** your PATH or compiler configuration so that the native linker is
9541 *** used, and then restart.
9546 # For security reasons, it is highly recommended that you always
9547 # use absolute paths for naming shared libraries, and exclude the
9548 # DT_RUNPATH tag from executables and libraries. But doing so
9549 # requires that you compile everything twice, which is a pain.
9550 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9551 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9552 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9553 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9562 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9565 hardcode_shlibpath_var
=no
9569 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9570 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9571 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9578 if test "$ld_shlibs" = no
; then
9580 hardcode_libdir_flag_spec
=
9581 export_dynamic_flag_spec
=
9582 whole_archive_flag_spec
=
9585 # PORTME fill in a description of your system's linker (not GNU ld)
9588 allow_undefined_flag
=unsupported
9589 always_export_symbols
=yes
9590 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'
9591 # Note: this linker hardcodes the directories in LIBPATH if there
9592 # are no directories specified by -L.
9593 hardcode_minus_L
=yes
9594 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9595 # Neither direct hardcoding nor static linking is supported with a
9597 hardcode_direct
=unsupported
9602 if test "$host_cpu" = ia64
; then
9603 # On IA64, the linker does run time linking by default, so we don't
9604 # have to do anything special.
9605 aix_use_runtimelinking
=no
9606 exp_sym_flag
='-Bexport'
9609 # If we're using GNU nm, then we don't want the "-C" option.
9610 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9611 # Also, AIX nm treats weak defined symbols like other global
9612 # defined symbols, whereas GNU nm marks them as "W".
9613 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9614 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'
9616 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9618 aix_use_runtimelinking
=no
9620 # Test if we are trying to use run time linking or normal
9621 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9622 # need to do runtime linking.
9623 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9624 for ld_flag
in $LDFLAGS; do
9625 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9626 aix_use_runtimelinking
=yes
9633 exp_sym_flag
='-bexport'
9634 no_entry_flag
='-bnoentry'
9637 # When large executables or shared objects are built, AIX ld can
9638 # have problems creating the table of contents. If linking a library
9639 # or program results in "error TOC overflow" add -mminimal-toc to
9640 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9641 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9645 hardcode_direct_absolute
=yes
9646 hardcode_libdir_separator
=':'
9647 link_all_deplibs
=yes
9648 file_list_spec
='${wl}-f,'
9650 if test "$GCC" = yes; then
9651 case $host_os in aix4.
[012]|aix4.
[012].
*)
9652 # We only want to do this on AIX 4.2 and lower, the check
9653 # below for broken collect2 doesn't work under 4.3+
9654 collect2name
=`${CC} -print-prog-name=collect2`
9655 if test -f "$collect2name" &&
9656 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9658 # We have reworked collect2
9661 # We have old collect2
9662 hardcode_direct
=unsupported
9663 # It fails to find uninstalled libraries when the uninstalled
9664 # path is not listed in the libpath. Setting hardcode_minus_L
9665 # to unsupported forces relinking
9666 hardcode_minus_L
=yes
9667 hardcode_libdir_flag_spec
='-L$libdir'
9668 hardcode_libdir_separator
=
9672 shared_flag
='-shared'
9673 if test "$aix_use_runtimelinking" = yes; then
9674 shared_flag
="$shared_flag "'${wl}-G'
9678 if test "$host_cpu" = ia64
; then
9679 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9680 # chokes on -Wl,-G. The following line is correct:
9683 if test "$aix_use_runtimelinking" = yes; then
9684 shared_flag
='${wl}-G'
9686 shared_flag
='${wl}-bM:SRE'
9691 export_dynamic_flag_spec
='${wl}-bexpall'
9692 # It seems that -bexpall does not export symbols beginning with
9693 # underscore (_), so it is better to generate a list of symbols to export.
9694 always_export_symbols
=yes
9695 if test "$aix_use_runtimelinking" = yes; then
9696 # Warning - without using the other runtime loading flags (-brtl),
9697 # -berok will link without error, but may produce a broken library.
9698 allow_undefined_flag
='-berok'
9699 # Determine the default libpath from the value encoded in an
9701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9712 if ac_fn_c_try_link
"$LINENO"; then :
9714 lt_aix_libpath_sed
='
9715 /Import File Strings/,/^$/ {
9721 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9722 # Check for a 64-bit object if we didn't find anything.
9723 if test -z "$aix_libpath"; then
9724 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9727 rm -f core conftest.err conftest.
$ac_objext \
9728 conftest
$ac_exeext conftest.
$ac_ext
9729 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9731 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9732 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"
9734 if test "$host_cpu" = ia64
; then
9735 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9736 allow_undefined_flag
="-z nodefs"
9737 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"
9739 # Determine the default libpath from the value encoded in an
9741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9742 /* end confdefs.h. */
9752 if ac_fn_c_try_link
"$LINENO"; then :
9754 lt_aix_libpath_sed
='
9755 /Import File Strings/,/^$/ {
9761 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9762 # Check for a 64-bit object if we didn't find anything.
9763 if test -z "$aix_libpath"; then
9764 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9767 rm -f core conftest.err conftest.
$ac_objext \
9768 conftest
$ac_exeext conftest.
$ac_ext
9769 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9771 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9772 # Warning - without using the other run time loading flags,
9773 # -berok will link without error, but may produce a broken library.
9774 no_undefined_flag
=' ${wl}-bernotok'
9775 allow_undefined_flag
=' ${wl}-berok'
9776 if test "$with_gnu_ld" = yes; then
9777 # We only use this code for GNU lds that support --whole-archive.
9778 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9780 # Exported symbols can be pulled into shared objects from archives
9781 whole_archive_flag_spec
='$convenience'
9783 archive_cmds_need_lc
=yes
9784 # This is similar to how AIX traditionally builds its shared libraries.
9785 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'
9793 # see comment about AmigaOS4 .so support
9794 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9795 archive_expsym_cmds
=''
9798 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)'
9799 hardcode_libdir_flag_spec
='-L$libdir'
9800 hardcode_minus_L
=yes
9806 export_dynamic_flag_spec
=-rdynamic
9809 cygwin
* | mingw
* | pw32
* | cegcc
*)
9810 # When not using gcc, we currently assume that we are using
9811 # Microsoft Visual C++.
9812 # hardcode_libdir_flag_spec is actually meaningless, as there is
9813 # no search path for DLLs.
9814 hardcode_libdir_flag_spec
=' '
9815 allow_undefined_flag
=unsupported
9816 # Tell ltmain to make .lib files, not .a files.
9818 # Tell ltmain to make .dll files, not .so files.
9820 # FIXME: Setting linknames here is a bad hack.
9821 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9822 # The linker will automatically build a .lib file if we build a DLL.
9823 old_archive_from_new_cmds
='true'
9824 # FIXME: Should let the user specify the lib program.
9825 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9826 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9827 enable_shared_with_static_runtimes
=yes
9830 darwin
* | rhapsody
*)
9833 archive_cmds_need_lc
=no
9835 hardcode_automatic
=yes
9836 hardcode_shlibpath_var
=unsupported
9837 if test "$lt_cv_ld_force_load" = "yes"; then
9838 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\"`'
9840 whole_archive_flag_spec
=''
9842 link_all_deplibs
=yes
9843 allow_undefined_flag
="$_lt_dar_allow_undefined"
9844 case $cc_basename in
9845 ifort
*) _lt_dar_can_shared
=yes ;;
9846 *) _lt_dar_can_shared
=$GCC ;;
9848 if test "$_lt_dar_can_shared" = "yes"; then
9849 output_verbose_link_cmd
=func_echo_all
9850 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9851 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9852 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}"
9853 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}"
9862 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9863 hardcode_libdir_flag_spec
='-L$libdir'
9864 hardcode_shlibpath_var
=no
9867 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9868 # support. Future versions do this automatically, but an explicit c++rt0.o
9869 # does not break anything, and helps significantly (at the cost of a little
9872 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9873 hardcode_libdir_flag_spec
='-R$libdir'
9875 hardcode_shlibpath_var
=no
9878 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9880 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9882 hardcode_minus_L
=yes
9883 hardcode_shlibpath_var
=no
9886 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9887 freebsd
* | dragonfly
*)
9888 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9889 hardcode_libdir_flag_spec
='-R$libdir'
9891 hardcode_shlibpath_var
=no
9895 if test "$GCC" = yes; then
9896 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9898 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'
9900 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9901 hardcode_libdir_separator
=:
9904 # hardcode_minus_L: Not really in the search PATH,
9905 # but as the default location of the library.
9906 hardcode_minus_L
=yes
9907 export_dynamic_flag_spec
='${wl}-E'
9911 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9912 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9914 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9916 if test "$with_gnu_ld" = no
; then
9917 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9918 hardcode_libdir_flag_spec_ld
='+b $libdir'
9919 hardcode_libdir_separator
=:
9921 hardcode_direct_absolute
=yes
9922 export_dynamic_flag_spec
='${wl}-E'
9923 # hardcode_minus_L: Not really in the search PATH,
9924 # but as the default location of the library.
9925 hardcode_minus_L
=yes
9930 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9933 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9939 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9945 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9948 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9952 # Older versions of the 11.00 compiler do not understand -b yet
9953 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9955 $as_echo_n "checking if $CC understands -b... " >&6; }
9956 if ${lt_cv_prog_compiler__b+:} false
; then :
9957 $as_echo_n "(cached) " >&6
9959 lt_cv_prog_compiler__b
=no
9960 save_LDFLAGS
="$LDFLAGS"
9961 LDFLAGS
="$LDFLAGS -b"
9962 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9963 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9964 # The linker can only warn and ignore the option if not recognized
9965 # So say no if there are warnings
9966 if test -s conftest.err
; then
9967 # Append any errors to the config.log.
9968 cat conftest.err
1>&5
9969 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9970 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9971 if diff conftest.exp conftest.er2
>/dev
/null
; then
9972 lt_cv_prog_compiler__b
=yes
9975 lt_cv_prog_compiler__b
=yes
9979 LDFLAGS
="$save_LDFLAGS"
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9983 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9985 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9986 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9988 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9994 if test "$with_gnu_ld" = no
; then
9995 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9996 hardcode_libdir_separator
=:
10001 hardcode_shlibpath_var
=no
10004 hardcode_direct
=yes
10005 hardcode_direct_absolute
=yes
10006 export_dynamic_flag_spec
='${wl}-E'
10008 # hardcode_minus_L: Not really in the search PATH,
10009 # but as the default location of the library.
10010 hardcode_minus_L
=yes
10016 irix5
* | irix6
* | nonstopux
*)
10017 if test "$GCC" = yes; then
10018 archive_cmds
='$CC -shared $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'
10019 # Try to use the -exported_symbol ld option, if it does not
10020 # work, assume that -exports_file does not work either and
10021 # implicitly export all symbols.
10022 save_LDFLAGS
="$LDFLAGS"
10023 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10028 if ac_fn_c_try_link
"$LINENO"; then :
10029 archive_expsym_cmds
='$CC -shared $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'
10032 rm -f core conftest.err conftest.
$ac_objext \
10033 conftest
$ac_exeext conftest.
$ac_ext
10034 LDFLAGS
="$save_LDFLAGS"
10036 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'
10037 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'
10039 archive_cmds_need_lc
='no'
10040 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10041 hardcode_libdir_separator
=:
10043 link_all_deplibs
=yes
10047 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10048 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10050 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10052 hardcode_libdir_flag_spec
='-R$libdir'
10053 hardcode_direct
=yes
10054 hardcode_shlibpath_var
=no
10058 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct
=yes
10060 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10061 hardcode_libdir_separator
=:
10062 hardcode_shlibpath_var
=no
10069 if test -f /usr
/libexec
/ld.so
; then
10070 hardcode_direct
=yes
10071 hardcode_shlibpath_var
=no
10072 hardcode_direct_absolute
=yes
10073 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10074 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10075 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10076 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10077 export_dynamic_flag_spec
='${wl}-E'
10080 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10081 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10082 hardcode_libdir_flag_spec
='-R$libdir'
10085 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10086 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10096 hardcode_libdir_flag_spec
='-L$libdir'
10097 hardcode_minus_L
=yes
10098 allow_undefined_flag
=unsupported
10099 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'
10100 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10104 if test "$GCC" = yes; then
10105 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10106 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'
10108 allow_undefined_flag
=' -expect_unresolved \*'
10109 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'
10111 archive_cmds_need_lc
='no'
10112 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10113 hardcode_libdir_separator
=:
10116 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10117 if test "$GCC" = yes; then
10118 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10119 archive_cmds
='$CC -shared${allow_undefined_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'
10120 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10122 allow_undefined_flag
=' -expect_unresolved \*'
10123 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'
10124 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~
10125 $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'
10127 # Both c and cxx compiler support -rpath directly
10128 hardcode_libdir_flag_spec
='-rpath $libdir'
10130 archive_cmds_need_lc
='no'
10131 hardcode_libdir_separator
=:
10135 no_undefined_flag
=' -z defs'
10136 if test "$GCC" = yes; then
10138 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10139 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10140 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10142 case `$CC -V 2>&1` in
10145 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10146 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10147 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10151 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10152 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10153 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10157 hardcode_libdir_flag_spec
='-R$libdir'
10158 hardcode_shlibpath_var
=no
10160 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10162 # The compiler driver will combine and reorder linker options,
10163 # but understands `-z linker_flag'. GCC discards it without `$wl',
10164 # but is careful enough not to reorder.
10165 # Supported since Solaris 2.6 (maybe 2.5.1?)
10166 if test "$GCC" = yes; then
10167 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10169 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10173 link_all_deplibs
=yes
10177 if test "x$host_vendor" = xsequent
; then
10178 # Use $CC to link under sequent, because it throws in some extra .o
10179 # files that make .init and .fini sections work.
10180 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10182 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10184 hardcode_libdir_flag_spec
='-L$libdir'
10185 hardcode_direct
=yes
10186 hardcode_minus_L
=yes
10187 hardcode_shlibpath_var
=no
10191 case $host_vendor in
10193 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10194 hardcode_direct
=yes # is this really true???
10197 ## LD is ld it makes a PLAMLIB
10198 ## CC just makes a GrossModule.
10199 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10200 reload_cmds
='$CC -r -o $output$reload_objs'
10204 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10205 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10208 runpath_var
='LD_RUN_PATH'
10209 hardcode_shlibpath_var
=no
10213 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10214 hardcode_shlibpath_var
=no
10215 export_dynamic_flag_spec
='-Bexport'
10219 if test -d /usr
/nec
; then
10220 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10221 hardcode_shlibpath_var
=no
10222 runpath_var
=LD_RUN_PATH
10223 hardcode_runpath_var
=yes
10228 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10229 no_undefined_flag
='${wl}-z,text'
10230 archive_cmds_need_lc
=no
10231 hardcode_shlibpath_var
=no
10232 runpath_var
='LD_RUN_PATH'
10234 if test "$GCC" = yes; then
10235 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10236 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10238 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10239 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10243 sysv5
* | sco3.2v5
* | sco5v6
*)
10244 # Note: We can NOT use -z defs as we might desire, because we do not
10245 # link with -lc, and that would cause any symbols used from libc to
10246 # always be unresolved, which means just about no library would
10247 # ever link correctly. If we're not using GNU ld we use -z text
10248 # though, which does catch some bad symbols but isn't as heavy-handed
10250 no_undefined_flag
='${wl}-z,text'
10251 allow_undefined_flag
='${wl}-z,nodefs'
10252 archive_cmds_need_lc
=no
10253 hardcode_shlibpath_var
=no
10254 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10255 hardcode_libdir_separator
=':'
10256 link_all_deplibs
=yes
10257 export_dynamic_flag_spec
='${wl}-Bexport'
10258 runpath_var
='LD_RUN_PATH'
10260 if test "$GCC" = yes; then
10261 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10262 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10264 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10265 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10270 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10271 hardcode_libdir_flag_spec
='-L$libdir'
10272 hardcode_shlibpath_var
=no
10280 if test x
$host_vendor = xsni
; then
10282 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10283 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10290 $as_echo "$ld_shlibs" >&6; }
10291 test "$ld_shlibs" = no
&& can_build_shared
=no
10293 with_gnu_ld
=$with_gnu_ld
10310 # Do we need to explicitly link libc?
10312 case "x$archive_cmds_need_lc" in
10314 # Assume -lc should be added
10315 archive_cmds_need_lc
=yes
10317 if test "$enable_shared" = yes && test "$GCC" = yes; then
10318 case $archive_cmds in
10320 # FIXME: we may have to deal with multi-command sequences.
10323 # Test whether the compiler implicitly links with -lc since on some
10324 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10325 # to ld, don't add -lc before -lgcc.
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10327 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10328 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10329 $as_echo_n "(cached) " >&6
10332 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10335 (eval $ac_compile) 2>&5
10337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10338 test $ac_status = 0; } 2>conftest.err
; then
10341 libobjs
=conftest.
$ac_objext
10343 wl
=$lt_prog_compiler_wl
10344 pic_flag
=$lt_prog_compiler_pic
10350 lt_save_allow_undefined_flag
=$allow_undefined_flag
10351 allow_undefined_flag
=
10352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10353 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10356 test $ac_status = 0; }
10358 lt_cv_archive_cmds_need_lc
=no
10360 lt_cv_archive_cmds_need_lc
=yes
10362 allow_undefined_flag
=$lt_save_allow_undefined_flag
10364 cat conftest.err
1>&5
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10370 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10371 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10535 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10537 if test "$GCC" = yes; then
10539 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10540 *) lt_awk_arg
="/^libraries:/" ;;
10543 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10544 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10546 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10547 case $lt_search_path_spec in
10549 # if the path contains ";" then we assume it to be the separator
10550 # otherwise default to the standard path separator (i.e. ":") - it is
10551 # assumed that no part of a normal pathname contains ";" but that should
10552 # okay in the real world where ";" in dirpaths is itself problematic.
10553 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10556 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10559 # Ok, now we have the path, separated by spaces, we can step through it
10560 # and add multilib dir if necessary.
10561 lt_tmp_lt_search_path_spec
=
10562 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10563 for lt_sys_path
in $lt_search_path_spec; do
10564 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10565 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10567 test -d "$lt_sys_path" && \
10568 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10571 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10572 BEGIN {RS=" "; FS="/|\n";} {
10575 for (lt_i = NF; lt_i > 0; lt_i--) {
10576 if ($lt_i != "" && $lt_i != ".") {
10577 if ($lt_i == "..") {
10580 if (lt_count == 0) {
10581 lt_foo="/" $lt_i lt_foo;
10588 if (lt_foo != "") { lt_freq[lt_foo]++; }
10589 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10591 # AWK program above erroneously prepends '/' to C:/dos/paths
10594 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10595 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10597 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10599 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10601 library_names_spec
=
10602 libname_spec
='lib$name'
10606 postuninstall_cmds
=
10610 shlibpath_overrides_runpath
=unknown
10612 dynamic_linker
="$host_os ld.so"
10613 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10614 need_lib_prefix
=unknown
10615 hardcode_into_libs
=no
10617 # when you set need_version to no, make sure it does not cause -set_version
10618 # flags to be left without arguments
10619 need_version
=unknown
10624 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10625 shlibpath_var
=LIBPATH
10627 # AIX 3 has no versioning support, so we append a major version to the name.
10628 soname_spec
='${libname}${release}${shared_ext}$major'
10635 hardcode_into_libs
=yes
10636 if test "$host_cpu" = ia64
; then
10637 # AIX 5 supports IA64
10638 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10639 shlibpath_var
=LD_LIBRARY_PATH
10641 # With GCC up to 2.95.x, collect2 would create an import file
10642 # for dependence libraries. The import file would start with
10643 # the line `#! .'. This would cause the generated library to
10644 # depend on `.', always an invalid library. This was fixed in
10645 # development snapshots of GCC prior to 3.0.
10647 aix4 | aix4.
[01] | aix4.
[01].
*)
10648 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10650 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10653 can_build_shared
=no
10657 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10658 # soname into executable. Probably we can add versioning support to
10659 # collect2, so additional links can be useful in future.
10660 if test "$aix_use_runtimelinking" = yes; then
10661 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10662 # instead of lib<name>.a to let people know that these are not
10663 # typical AIX shared libraries.
10664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10666 # We preserve .a as extension for shared libraries through AIX4.2
10667 # and later when we are not doing run time linking.
10668 library_names_spec
='${libname}${release}.a $libname.a'
10669 soname_spec
='${libname}${release}${shared_ext}$major'
10671 shlibpath_var
=LIBPATH
10678 # Since July 2007 AmigaOS4 officially supports .so libraries.
10679 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10683 library_names_spec
='$libname.ixlibrary $libname.a'
10684 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10685 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'
10691 library_names_spec
='${libname}${shared_ext}'
10692 dynamic_linker
="$host_os ld.so"
10693 shlibpath_var
=LIBRARY_PATH
10699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10700 soname_spec
='${libname}${release}${shared_ext}$major'
10701 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10702 shlibpath_var
=LD_LIBRARY_PATH
10703 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10704 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10705 # the default ld.so.conf also contains /usr/contrib/lib and
10706 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10707 # libtool to hard-code these into programs
10710 cygwin
* | mingw
* | pw32
* | cegcc
*)
10711 version_type
=windows
10716 case $GCC,$host_os in
10717 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10718 library_names_spec
='$libname.dll.a'
10719 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10720 postinstall_cmds
='base_file=`basename \${file}`~
10721 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10722 dldir=$destdir/`dirname \$dlpath`~
10723 test -d \$dldir || mkdir -p \$dldir~
10724 $install_prog $dir/$dlname \$dldir/$dlname~
10725 chmod a+x \$dldir/$dlname~
10726 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10727 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10729 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10730 dlpath=$dir/\$dldll~
10732 shlibpath_overrides_runpath
=yes
10736 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10737 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10739 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10742 # MinGW DLLs use traditional 'lib' prefix
10743 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10746 # pw32 DLLs use 'pw' prefix rather than 'lib'
10747 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10753 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10756 dynamic_linker
='Win32 ld.exe'
10757 # FIXME: first we should search . and the directory the executable is in
10761 darwin
* | rhapsody
*)
10762 dynamic_linker
="$host_os dyld"
10763 version_type
=darwin
10766 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10767 soname_spec
='${libname}${release}${major}$shared_ext'
10768 shlibpath_overrides_runpath
=yes
10769 shlibpath_var
=DYLD_LIBRARY_PATH
10770 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10772 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10773 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10781 soname_spec
='${libname}${release}${shared_ext}$major'
10782 shlibpath_var
=LD_LIBRARY_PATH
10785 freebsd
* | dragonfly
*)
10786 # DragonFly does not have aout. When/if they implement a new
10787 # versioning mechanism, adjust this.
10788 if test -x /usr
/bin
/objformat
; then
10789 objformat
=`/usr/bin/objformat`
10792 freebsd
[23].
*) objformat
=aout
;;
10793 *) objformat
=elf
;;
10796 version_type
=freebsd-
$objformat
10797 case $version_type in
10799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10804 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10808 shlibpath_var
=LD_LIBRARY_PATH
10811 shlibpath_overrides_runpath
=yes
10813 freebsd3.
[01]* | freebsdelf3.
[01]*)
10814 shlibpath_overrides_runpath
=yes
10815 hardcode_into_libs
=yes
10817 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10818 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10819 shlibpath_overrides_runpath
=no
10820 hardcode_into_libs
=yes
10822 *) # from 4.6 on, and DragonFly
10823 shlibpath_overrides_runpath
=yes
10824 hardcode_into_libs
=yes
10833 dynamic_linker
="$host_os runtime_loader"
10834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10835 soname_spec
='${libname}${release}${shared_ext}$major'
10836 shlibpath_var
=LIBRARY_PATH
10837 shlibpath_overrides_runpath
=yes
10838 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10839 hardcode_into_libs
=yes
10842 hpux9
* | hpux10
* | hpux11
*)
10843 # Give a soname corresponding to the major version so that dld.sl refuses to
10844 # link against other versions.
10851 hardcode_into_libs
=yes
10852 dynamic_linker
="$host_os dld.so"
10853 shlibpath_var
=LD_LIBRARY_PATH
10854 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10856 soname_spec
='${libname}${release}${shared_ext}$major'
10857 if test "X$HPUX_IA64_MODE" = X32
; then
10858 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10860 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10862 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10866 hardcode_into_libs
=yes
10867 dynamic_linker
="$host_os dld.sl"
10868 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10869 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10871 soname_spec
='${libname}${release}${shared_ext}$major'
10872 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10873 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10877 dynamic_linker
="$host_os dld.sl"
10878 shlibpath_var
=SHLIB_PATH
10879 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec
='${libname}${release}${shared_ext}$major'
10884 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10885 postinstall_cmds
='chmod 555 $lib'
10886 # or fails outright, so override atomically:
10887 install_override_mode
=555
10894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10895 soname_spec
='${libname}${release}${shared_ext}$major'
10896 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10897 shlibpath_var
=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath
=no
10899 hardcode_into_libs
=yes
10902 irix5
* | irix6
* | nonstopux
*)
10904 nonstopux
*) version_type
=nonstopux
;;
10906 if test "$lt_cv_prog_gnu_ld" = yes; then
10914 soname_spec
='${libname}${release}${shared_ext}$major'
10915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10917 irix5
* | nonstopux
*)
10918 libsuff
= shlibsuff
=
10921 case $LD in # libtool.m4 will add one of these switches to LD
10922 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10923 libsuff
= shlibsuff
= libmagic
=32-bit;;
10924 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10925 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10926 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10927 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10928 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10932 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10933 shlibpath_overrides_runpath
=no
10934 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10935 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10936 hardcode_into_libs
=yes
10939 # No shared lib support for Linux oldld, aout, or coff.
10940 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10944 # This must be Linux ELF.
10945 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10950 soname_spec
='${libname}${release}${shared_ext}$major'
10951 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10952 shlibpath_var
=LD_LIBRARY_PATH
10953 shlibpath_overrides_runpath
=no
10955 # Some binutils ld are patched to set DT_RUNPATH
10956 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10957 $as_echo_n "(cached) " >&6
10959 lt_cv_shlibpath_overrides_runpath
=no
10960 save_LDFLAGS
=$LDFLAGS
10961 save_libdir
=$libdir
10962 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10963 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10975 if ac_fn_c_try_link
"$LINENO"; then :
10976 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10977 lt_cv_shlibpath_overrides_runpath
=yes
10980 rm -f core conftest.err conftest.
$ac_objext \
10981 conftest
$ac_exeext conftest.
$ac_ext
10982 LDFLAGS
=$save_LDFLAGS
10983 libdir
=$save_libdir
10987 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10989 # This implies no fast_install, which is unacceptable.
10990 # Some rework will be needed to allow for fast_install
10991 # before this can be enabled.
10992 hardcode_into_libs
=yes
10994 # Append ld.so.conf contents to the search path
10995 if test -f /etc
/ld.so.conf
; then
10996 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' ' '`
10997 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11000 # We used to test for /lib/ld.so.1 and disable shared libraries on
11001 # powerpc, because MkLinux only supported shared libraries with the
11002 # GNU dynamic linker. Since this was broken with cross compilers,
11003 # most powerpc-linux boxes support dynamic linking these days and
11004 # people can always --disable-shared, the test was removed, and we
11005 # assume the GNU/Linux dynamic linker is in use.
11006 dynamic_linker
='GNU/Linux ld.so'
11013 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11015 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11016 dynamic_linker
='NetBSD (a.out) ld.so'
11018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11019 soname_spec
='${libname}${release}${shared_ext}$major'
11020 dynamic_linker
='NetBSD ld.elf_so'
11022 shlibpath_var
=LD_LIBRARY_PATH
11023 shlibpath_overrides_runpath
=yes
11024 hardcode_into_libs
=yes
11029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11030 shlibpath_var
=LD_LIBRARY_PATH
11031 shlibpath_overrides_runpath
=yes
11038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11039 soname_spec
='${libname}${release}${shared_ext}$major'
11040 shlibpath_var
=LD_LIBRARY_PATH
11041 shlibpath_overrides_runpath
=no
11042 hardcode_into_libs
=yes
11043 dynamic_linker
='ldqnx.so'
11048 sys_lib_dlsearch_path_spec
="/usr/lib"
11050 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11052 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11053 *) need_version
=no
;;
11055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11056 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11057 shlibpath_var
=LD_LIBRARY_PATH
11058 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11060 openbsd2.
[89] | openbsd2.
[89].
*)
11061 shlibpath_overrides_runpath
=no
11064 shlibpath_overrides_runpath
=yes
11068 shlibpath_overrides_runpath
=yes
11073 libname_spec
='$name'
11076 library_names_spec
='$libname${shared_ext} $libname.a'
11077 dynamic_linker
='OS/2 ld.exe'
11078 shlibpath_var
=LIBPATH
11081 osf3
* | osf4
* | osf5
*)
11085 soname_spec
='${libname}${release}${shared_ext}$major'
11086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11087 shlibpath_var
=LD_LIBRARY_PATH
11088 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11089 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11101 soname_spec
='${libname}${release}${shared_ext}$major'
11102 shlibpath_var
=LD_LIBRARY_PATH
11103 shlibpath_overrides_runpath
=yes
11104 hardcode_into_libs
=yes
11105 # ldd complains unless libraries are executable
11106 postinstall_cmds
='chmod +x $lib'
11111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11112 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11113 shlibpath_var
=LD_LIBRARY_PATH
11114 shlibpath_overrides_runpath
=yes
11115 if test "$with_gnu_ld" = yes; then
11123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11124 soname_spec
='${libname}${release}${shared_ext}$major'
11125 shlibpath_var
=LD_LIBRARY_PATH
11126 case $host_vendor in
11128 shlibpath_overrides_runpath
=no
11130 runpath_var
=LD_RUN_PATH
11138 shlibpath_overrides_runpath
=no
11139 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11145 if test -d /usr
/nec
;then
11147 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11148 soname_spec
='$libname${shared_ext}.$major'
11149 shlibpath_var
=LD_LIBRARY_PATH
11153 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11154 version_type
=freebsd-elf
11157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11158 soname_spec
='${libname}${release}${shared_ext}$major'
11159 shlibpath_var
=LD_LIBRARY_PATH
11160 shlibpath_overrides_runpath
=yes
11161 hardcode_into_libs
=yes
11162 if test "$with_gnu_ld" = yes; then
11163 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11165 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11168 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11172 sys_lib_dlsearch_path_spec
='/usr/lib'
11176 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11181 shlibpath_var
=LD_LIBRARY_PATH
11182 shlibpath_overrides_runpath
=no
11183 hardcode_into_libs
=yes
11188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11189 soname_spec
='${libname}${release}${shared_ext}$major'
11190 shlibpath_var
=LD_LIBRARY_PATH
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11198 $as_echo "$dynamic_linker" >&6; }
11199 test "$dynamic_linker" = no
&& can_build_shared
=no
11201 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11202 if test "$GCC" = yes; then
11203 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11206 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11207 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11209 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11210 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11305 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11307 if test -n "$hardcode_libdir_flag_spec" ||
11308 test -n "$runpath_var" ||
11309 test "X$hardcode_automatic" = "Xyes" ; then
11311 # We can hardcode non-existent directories.
11312 if test "$hardcode_direct" != no
&&
11313 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11314 # have to relink, otherwise we might link with an installed library
11315 # when we should be linking with a yet-to-be-installed one
11316 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11317 test "$hardcode_minus_L" != no
; then
11318 # Linking always hardcodes the temporary library directory.
11319 hardcode_action
=relink
11321 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11322 hardcode_action
=immediate
11325 # We cannot hardcode anything, or else we can only hardcode existing
11327 hardcode_action
=unsupported
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11330 $as_echo "$hardcode_action" >&6; }
11332 if test "$hardcode_action" = relink ||
11333 test "$inherit_rpath" = yes; then
11334 # Fast installation is not supported
11335 enable_fast_install
=no
11336 elif test "$shlibpath_overrides_runpath" = yes ||
11337 test "$enable_shared" = no
; then
11338 # Fast installation is not necessary
11339 enable_fast_install
=needless
11347 if test "x$enable_dlopen" != xyes
; then
11348 enable_dlopen
=unknown
11349 enable_dlopen_self
=unknown
11350 enable_dlopen_self_static
=unknown
11357 lt_cv_dlopen
="load_add_on"
11359 lt_cv_dlopen_self
=yes
11362 mingw
* | pw32
* | cegcc
*)
11363 lt_cv_dlopen
="LoadLibrary"
11368 lt_cv_dlopen
="dlopen"
11373 # if libdl is installed we need to link against it
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11375 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11376 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11377 $as_echo_n "(cached) " >&6
11379 ac_check_lib_save_LIBS
=$LIBS
11381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11399 if ac_fn_c_try_link
"$LINENO"; then :
11400 ac_cv_lib_dl_dlopen
=yes
11402 ac_cv_lib_dl_dlopen
=no
11404 rm -f core conftest.err conftest.
$ac_objext \
11405 conftest
$ac_exeext conftest.
$ac_ext
11406 LIBS
=$ac_check_lib_save_LIBS
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11409 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11410 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11411 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11414 lt_cv_dlopen
="dyld"
11416 lt_cv_dlopen_self
=yes
11423 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11424 if test "x$ac_cv_func_shl_load" = xyes
; then :
11425 lt_cv_dlopen
="shl_load"
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11428 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11429 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11430 $as_echo_n "(cached) " >&6
11432 ac_check_lib_save_LIBS
=$LIBS
11434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11447 return shl_load ();
11452 if ac_fn_c_try_link
"$LINENO"; then :
11453 ac_cv_lib_dld_shl_load
=yes
11455 ac_cv_lib_dld_shl_load
=no
11457 rm -f core conftest.err conftest.
$ac_objext \
11458 conftest
$ac_exeext conftest.
$ac_ext
11459 LIBS
=$ac_check_lib_save_LIBS
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11462 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11463 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11464 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11466 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11467 if test "x$ac_cv_func_dlopen" = xyes
; then :
11468 lt_cv_dlopen
="dlopen"
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11471 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11472 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11473 $as_echo_n "(cached) " >&6
11475 ac_check_lib_save_LIBS
=$LIBS
11477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11495 if ac_fn_c_try_link
"$LINENO"; then :
11496 ac_cv_lib_dl_dlopen
=yes
11498 ac_cv_lib_dl_dlopen
=no
11500 rm -f core conftest.err conftest.
$ac_objext \
11501 conftest
$ac_exeext conftest.
$ac_ext
11502 LIBS
=$ac_check_lib_save_LIBS
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11505 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11506 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11507 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11510 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11511 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11512 $as_echo_n "(cached) " >&6
11514 ac_check_lib_save_LIBS
=$LIBS
11515 LIBS
="-lsvld $LIBS"
11516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11519 /* Override any GCC internal prototype to avoid an error.
11520 Use char because int might match the return type of a GCC
11521 builtin and then its argument prototype would still apply. */
11534 if ac_fn_c_try_link
"$LINENO"; then :
11535 ac_cv_lib_svld_dlopen
=yes
11537 ac_cv_lib_svld_dlopen
=no
11539 rm -f core conftest.err conftest.
$ac_objext \
11540 conftest
$ac_exeext conftest.
$ac_ext
11541 LIBS
=$ac_check_lib_save_LIBS
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11544 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11545 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11546 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11549 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11550 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11551 $as_echo_n "(cached) " >&6
11553 ac_check_lib_save_LIBS
=$LIBS
11555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11558 /* Override any GCC internal prototype to avoid an error.
11559 Use char because int might match the return type of a GCC
11560 builtin and then its argument prototype would still apply. */
11568 return dld_link ();
11573 if ac_fn_c_try_link
"$LINENO"; then :
11574 ac_cv_lib_dld_dld_link
=yes
11576 ac_cv_lib_dld_dld_link
=no
11578 rm -f core conftest.err conftest.
$ac_objext \
11579 conftest
$ac_exeext conftest.
$ac_ext
11580 LIBS
=$ac_check_lib_save_LIBS
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11583 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11584 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11585 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11606 if test "x$lt_cv_dlopen" != xno
; then
11612 case $lt_cv_dlopen in
11614 save_CPPFLAGS
="$CPPFLAGS"
11615 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11617 save_LDFLAGS
="$LDFLAGS"
11618 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11621 LIBS
="$lt_cv_dlopen_libs $LIBS"
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11624 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11625 if ${lt_cv_dlopen_self+:} false
; then :
11626 $as_echo_n "(cached) " >&6
11628 if test "$cross_compiling" = yes; then :
11629 lt_cv_dlopen_self
=cross
11631 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11632 lt_status
=$lt_dlunknown
11633 cat > conftest.
$ac_ext <<_LT_EOF
11634 #line 11634 "configure"
11635 #include "confdefs.h"
11644 # define LT_DLGLOBAL RTLD_GLOBAL
11647 # define LT_DLGLOBAL DL_GLOBAL
11649 # define LT_DLGLOBAL 0
11653 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11654 find out it does not work in some platform. */
11655 #ifndef LT_DLLAZY_OR_NOW
11657 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11660 # define LT_DLLAZY_OR_NOW DL_LAZY
11663 # define LT_DLLAZY_OR_NOW RTLD_NOW
11666 # define LT_DLLAZY_OR_NOW DL_NOW
11668 # define LT_DLLAZY_OR_NOW 0
11675 /* When -fvisbility=hidden is used, assume the code has been annotated
11676 correspondingly for the symbols needed. */
11677 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11678 void fnord () __attribute__((visibility("default")));
11681 void fnord () { int i=42; }
11684 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11685 int status = $lt_dlunknown;
11689 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11692 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11693 else puts (dlerror ());
11695 /* dlclose (self); */
11703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11704 (eval $ac_link) 2>&5
11706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11707 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11708 (.
/conftest
; exit; ) >&5 2>/dev
/null
11710 case x
$lt_status in
11711 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11712 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11713 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11716 # compilation failed
11717 lt_cv_dlopen_self
=no
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11725 $as_echo "$lt_cv_dlopen_self" >&6; }
11727 if test "x$lt_cv_dlopen_self" = xyes
; then
11728 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11730 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11731 if ${lt_cv_dlopen_self_static+:} false
; then :
11732 $as_echo_n "(cached) " >&6
11734 if test "$cross_compiling" = yes; then :
11735 lt_cv_dlopen_self_static
=cross
11737 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11738 lt_status
=$lt_dlunknown
11739 cat > conftest.
$ac_ext <<_LT_EOF
11740 #line 11740 "configure"
11741 #include "confdefs.h"
11750 # define LT_DLGLOBAL RTLD_GLOBAL
11753 # define LT_DLGLOBAL DL_GLOBAL
11755 # define LT_DLGLOBAL 0
11759 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11760 find out it does not work in some platform. */
11761 #ifndef LT_DLLAZY_OR_NOW
11763 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11766 # define LT_DLLAZY_OR_NOW DL_LAZY
11769 # define LT_DLLAZY_OR_NOW RTLD_NOW
11772 # define LT_DLLAZY_OR_NOW DL_NOW
11774 # define LT_DLLAZY_OR_NOW 0
11781 /* When -fvisbility=hidden is used, assume the code has been annotated
11782 correspondingly for the symbols needed. */
11783 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11784 void fnord () __attribute__((visibility("default")));
11787 void fnord () { int i=42; }
11790 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11791 int status = $lt_dlunknown;
11795 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11798 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11799 else puts (dlerror ());
11801 /* dlclose (self); */
11809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11810 (eval $ac_link) 2>&5
11812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11813 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11814 (.
/conftest
; exit; ) >&5 2>/dev
/null
11816 case x
$lt_status in
11817 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11818 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11819 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11822 # compilation failed
11823 lt_cv_dlopen_self_static
=no
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11831 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11834 CPPFLAGS
="$save_CPPFLAGS"
11835 LDFLAGS
="$save_LDFLAGS"
11840 case $lt_cv_dlopen_self in
11841 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11842 *) enable_dlopen_self
=unknown
;;
11845 case $lt_cv_dlopen_self_static in
11846 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11847 *) enable_dlopen_self_static
=unknown
;;
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11870 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11871 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11872 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11873 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11875 $as_echo "yes" >&6; }
11877 # FIXME - insert some real tests, host_os isn't really good enough
11880 if test -n "$STRIP" ; then
11881 striplib
="$STRIP -x"
11882 old_striplib
="$STRIP -S"
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11884 $as_echo "yes" >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11887 $as_echo "no" >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11892 $as_echo "no" >&6; }
11908 # Report which library types will actually be built
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11910 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11912 $as_echo "$can_build_shared" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11915 $as_echo_n "checking whether to build shared libraries... " >&6; }
11916 test "$can_build_shared" = "no" && enable_shared
=no
11918 # On AIX, shared libraries and static libraries use the same namespace, and
11919 # are all built from PIC.
11922 test "$enable_shared" = yes && enable_static
=no
11923 if test -n "$RANLIB"; then
11924 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11925 postinstall_cmds
='$RANLIB $lib'
11930 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11931 test "$enable_shared" = yes && enable_static
=no
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11936 $as_echo "$enable_shared" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11939 $as_echo_n "checking whether to build static libraries... " >&6; }
11940 # Make sure either enable_shared or enable_static is yes.
11941 test "$enable_shared" = yes || enable_static
=yes
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11943 $as_echo "$enable_static" >&6; }
11950 ac_cpp
='$CPP $CPPFLAGS'
11951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11969 ac_config_commands
="$ac_config_commands libtool"
11974 # Only expand once:
11977 # Check whether --enable-largefile was given.
11978 if test "${enable_largefile+set}" = set; then :
11979 enableval
=$enable_largefile;
11982 if test "$enable_largefile" != no
; then
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11985 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11986 if ${ac_cv_sys_largefile_CC+:} false
; then :
11987 $as_echo_n "(cached) " >&6
11989 ac_cv_sys_largefile_CC
=no
11990 if test "$GCC" != yes; then
11993 # IRIX 6.2 and later do not support large files by default,
11994 # so use the C compiler's -n32 option if that helps.
11995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11997 #include <sys/types.h>
11998 /* Check that off_t can represent 2**63 - 1 correctly.
11999 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12000 since some C++ compilers masquerading as C compilers
12001 incorrectly reject 9223372036854775807. */
12002 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12003 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12004 && LARGE_OFF_T % 2147483647 == 1)
12014 if ac_fn_c_try_compile
"$LINENO"; then :
12017 rm -f core conftest.err conftest.
$ac_objext
12019 if ac_fn_c_try_compile
"$LINENO"; then :
12020 ac_cv_sys_largefile_CC
=' -n32'; break
12022 rm -f core conftest.err conftest.
$ac_objext
12026 rm -f conftest.
$ac_ext
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12030 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12031 if test "$ac_cv_sys_largefile_CC" != no
; then
12032 CC
=$CC$ac_cv_sys_largefile_CC
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12036 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12037 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12038 $as_echo_n "(cached) " >&6
12041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12043 #include <sys/types.h>
12044 /* Check that off_t can represent 2**63 - 1 correctly.
12045 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12046 since some C++ compilers masquerading as C compilers
12047 incorrectly reject 9223372036854775807. */
12048 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12049 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12050 && LARGE_OFF_T % 2147483647 == 1)
12060 if ac_fn_c_try_compile
"$LINENO"; then :
12061 ac_cv_sys_file_offset_bits
=no
; break
12063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12066 #define _FILE_OFFSET_BITS 64
12067 #include <sys/types.h>
12068 /* Check that off_t can represent 2**63 - 1 correctly.
12069 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12070 since some C++ compilers masquerading as C compilers
12071 incorrectly reject 9223372036854775807. */
12072 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12073 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12074 && LARGE_OFF_T % 2147483647 == 1)
12084 if ac_fn_c_try_compile
"$LINENO"; then :
12085 ac_cv_sys_file_offset_bits
=64; break
12087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12088 ac_cv_sys_file_offset_bits
=unknown
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12093 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12094 case $ac_cv_sys_file_offset_bits in #(
12097 cat >>confdefs.h
<<_ACEOF
12098 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12103 if test $ac_cv_sys_file_offset_bits = unknown
; then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12105 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12106 if ${ac_cv_sys_large_files+:} false
; then :
12107 $as_echo_n "(cached) " >&6
12110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12112 #include <sys/types.h>
12113 /* Check that off_t can represent 2**63 - 1 correctly.
12114 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12115 since some C++ compilers masquerading as C compilers
12116 incorrectly reject 9223372036854775807. */
12117 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12118 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12119 && LARGE_OFF_T % 2147483647 == 1)
12129 if ac_fn_c_try_compile
"$LINENO"; then :
12130 ac_cv_sys_large_files
=no
; break
12132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12135 #define _LARGE_FILES 1
12136 #include <sys/types.h>
12137 /* Check that off_t can represent 2**63 - 1 correctly.
12138 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12139 since some C++ compilers masquerading as C compilers
12140 incorrectly reject 9223372036854775807. */
12141 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12142 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12143 && LARGE_OFF_T % 2147483647 == 1)
12153 if ac_fn_c_try_compile
"$LINENO"; then :
12154 ac_cv_sys_large_files
=1; break
12156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12157 ac_cv_sys_large_files
=unknown
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12162 $as_echo "$ac_cv_sys_large_files" >&6; }
12163 case $ac_cv_sys_large_files in #(
12166 cat >>confdefs.h
<<_ACEOF
12167 #define _LARGE_FILES $ac_cv_sys_large_files
12177 : ${CONFIG_LT=./config.lt}
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
12179 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
12181 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
12183 # Generated by $as_me.
12184 # Run this file to recreate a libtool stub with the current configuration.
12185 SHELL=\${CONFIG_SHELL-$SHELL}
12188 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail
=1
12189 ## -------------------- ##
12190 ## M4sh Initialization. ##
12191 ## -------------------- ##
12193 # Be more Bourne compatible
12194 DUALCASE
=1; export DUALCASE
# for MKS sh
12195 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12198 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12199 # is contrary to our usage. Disable this feature.
12200 alias -g '${1+"$@"}'='"$@"'
12201 setopt NO_GLOB_SUBST
12203 case `(set -o) 2>/dev/null` in #(
12215 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12216 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12217 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12218 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12219 # Prefer a ksh shell builtin over an external printf program on Solaris,
12220 # but without wasting forks for bash or zsh.
12221 if test -z "$BASH_VERSION$ZSH_VERSION" \
12222 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12223 as_echo='print
-r --'
12224 as_echo_n='print
-rn --'
12225 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12226 as_echo='printf %s
\n'
12227 as_echo_n='printf %s
'
12229 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12230 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12231 as_echo_n='/usr
/ucb
/echo -n'
12233 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12234 as_echo_n_body='eval
12238 expr "X$arg" : "X\\(.*\\)$as_nl";
12239 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12241 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12243 export as_echo_n_body
12244 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12246 export as_echo_body
12247 as_echo='sh
-c $as_echo_body as_echo
'
12250 # The user is always right.
12251 if test "${PATH_SEPARATOR+set}" != set; then
12253 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12254 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12261 # We need space, tab and new line, in precisely that order. Quoting is
12262 # there to prevent editors from complaining about space-tab.
12263 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12264 # splitting by setting IFS to empty value.)
12267 # Find who we are. Look in the path if we contain no directory separator.
12270 *[\\/]* ) as_myself=$0 ;;
12271 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12272 for as_dir in $PATH
12275 test -z "$as_dir" && as_dir=.
12276 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12282 # We did not find ourselves, most probably we were run as `sh COMMAND'
12283 # in which case we are not to be found in the path.
12284 if test "x$as_myself" = x
; then
12287 if test ! -f "$as_myself"; then
12288 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12292 # Unset variables that we do not need and which cause bugs (e.g. in
12293 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12294 # suppresses any "Segmentation fault" message there. '((' could
12295 # trigger a bug in pdksh 5.2.14.
12296 for as_var
in BASH_ENV ENV MAIL MAILPATH
12297 do eval test x\
${$as_var+set} = xset \
12298 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12311 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12314 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12315 # ----------------------------------------
12316 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12317 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12318 # script with STATUS, using 1 if that was 0.
12321 as_status
=$1; test $as_status -eq 0 && as_status
=1
12323 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12324 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12326 $as_echo "$as_me: error: $2" >&2
12327 as_fn_exit
$as_status
12331 # as_fn_set_status STATUS
12332 # -----------------------
12333 # Set $? to STATUS, without forking.
12334 as_fn_set_status
()
12337 } # as_fn_set_status
12339 # as_fn_exit STATUS
12340 # -----------------
12341 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12345 as_fn_set_status
$1
12351 # Portably unset VAR.
12354 { eval $1=; unset $1;}
12356 as_unset
=as_fn_unset
12357 # as_fn_append VAR VALUE
12358 # ----------------------
12359 # Append the text in VALUE to the end of the definition contained in VAR. Take
12360 # advantage of any shell optimizations that allow amortized linear growth over
12361 # repeated appends, instead of the typical quadratic growth present in naive
12363 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12364 eval 'as_fn_append ()
12375 # as_fn_arith ARG...
12376 # ------------------
12377 # Perform arithmetic evaluation on the ARGs, and store the result in the
12378 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12379 # must be portable across $(()) and expr.
12380 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12381 eval 'as_fn_arith ()
12388 as_val
=`expr "$@" || test $? -eq 1`
12393 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12394 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12400 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12401 as_basename
=basename
12406 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12412 as_me
=`$as_basename -- "$0" ||
12413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12414 X"$0" : 'X\(//\)$' \| \
12415 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12417 sed '/^.*\/\([^/][^/]*\)\/*$/{
12431 # Avoid depending upon Character Ranges.
12432 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12433 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12434 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12435 as_cr_digits
='0123456789'
12436 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12438 ECHO_C
= ECHO_N
= ECHO_T
=
12439 case `echo -n x` in #(((((
12441 case `echo 'xy\c'` in
12442 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12444 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12451 rm -f conf$$ conf$$.exe conf$$.
file
12452 if test -d conf$$.dir
; then
12453 rm -f conf$$.dir
/conf$$.
file
12456 mkdir conf$$.dir
2>/dev
/null
12458 if (echo >conf$$.
file) 2>/dev
/null
; then
12459 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12461 # ... but there are two gotchas:
12462 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12463 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12464 # In both cases, we have to default to `cp -pR'.
12465 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12467 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12475 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12476 rmdir conf$$.dir
2>/dev
/null
12481 # Create "$as_dir" as a directory, including parents if necessary.
12486 -*) as_dir
=.
/$as_dir;;
12488 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12492 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12493 *) as_qdir
=$as_dir;;
12495 as_dirs
="'$as_qdir' $as_dirs"
12496 as_dir
=`$as_dirname -- "$as_dir" ||
12497 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12498 X"$as_dir" : 'X\(//\)[^/]' \| \
12499 X"$as_dir" : 'X\(//\)$' \| \
12500 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12501 $as_echo X"$as_dir" |
12502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12506 /^X\(\/\/\)[^/].*/{
12519 test -d "$as_dir" && break
12521 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12522 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12526 if mkdir
-p .
2>/dev
/null
; then
12527 as_mkdir_p
='mkdir -p "$as_dir"'
12529 test -d .
/-p && rmdir .
/-p
12534 # as_fn_executable_p FILE
12535 # -----------------------
12536 # Test if FILE is an executable regular file.
12537 as_fn_executable_p
()
12539 test -f "$1" && test -x "$1"
12540 } # as_fn_executable_p
12541 as_test_x
='test -x'
12542 as_executable_p
=as_fn_executable_p
12544 # Sed expression to map a string onto a valid CPP name.
12545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12547 # Sed expression to map a string onto a valid variable name.
12548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12552 ## --------------------------------- ##
12553 ## Main body of "$CONFIG_LT" script. ##
12554 ## --------------------------------- ##
12556 test $as_write_fail = 0 && chmod +x
"$CONFIG_LT"
12558 cat >>"$CONFIG_LT" <<\_LTEOF
12563 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12564 ## Running $as_me. ##
12569 \`$as_me' creates a local libtool stub from the current configuration,
12570 for use in further configure time tests before the real libtool is
12573 Usage: $0 [OPTIONS]
12575 -h, --help print this help, then exit
12576 -V, --version print version number, then exit
12577 -q, --quiet do not print progress messages
12578 -d, --debug don't remove temporary files
12580 Report bugs to <bug-libtool@gnu.org>."
12583 libctf config.lt 1.2.0
12584 configured by $0, generated by GNU Autoconf 2.69.
12586 Copyright (C) 2009 Free Software Foundation, Inc.
12587 This config.lt script is free software; the Free Software Foundation
12588 gives unlimited permision to copy, distribute and modify it."
12593 --version |
--v* |
-V )
12594 echo "$lt_cl_version"; exit 0 ;;
12595 --help |
--h* |
-h )
12596 echo "$lt_cl_help"; exit 0 ;;
12597 --debug |
--d* |
-d )
12599 --quiet |
--q* |
--silent |
--s* |
-q )
12602 -*) as_fn_error $?
"unrecognized option: $1
12603 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12605 *) as_fn_error $?
"unrecognized argument: $1
12606 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12611 if $lt_cl_silent; then
12616 cat >>"$CONFIG_LT" <<_LTEOF
12619 # The HP-UX ksh and POSIX shell print the target directory to stdout
12620 # if CDPATH is set.
12621 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12623 sed_quote_subst='$sed_quote_subst'
12624 double_quote_subst='$double_quote_subst'
12625 delay_variable_subst='$delay_variable_subst'
12626 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12627 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12628 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12629 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12630 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12631 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12632 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12633 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12634 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12635 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12636 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12637 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12638 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12639 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12640 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12641 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12642 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12643 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12644 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12645 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12646 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12647 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12648 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12649 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12650 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12651 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12652 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12653 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12654 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12655 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12656 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12657 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12658 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12659 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12660 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12661 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12662 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12663 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12664 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12665 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12666 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12667 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12668 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12669 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12670 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12671 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12672 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12673 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12674 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"`'
12675 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12676 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12677 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12678 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12679 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12680 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12681 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12682 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12683 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12684 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12685 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12686 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12687 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12688 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12689 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12690 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12691 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12692 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12693 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12694 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12695 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12696 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12697 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12698 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12699 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12700 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12701 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12702 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12703 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12704 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12705 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12706 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12707 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12708 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12709 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12710 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12711 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12712 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12713 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12714 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12715 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12716 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12717 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12718 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12719 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12720 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12721 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12722 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12723 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12724 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12725 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12726 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12727 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12728 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12729 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12730 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12731 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12732 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12733 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12734 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12735 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12736 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12737 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12738 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12739 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12740 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12741 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12742 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12743 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12744 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12745 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12748 LTCFLAGS='$LTCFLAGS'
12749 compiler='$compiler_DEFAULT'
12751 # A function that is used when there is no print builtin or printf.
12752 func_fallback_echo ()
12754 eval 'cat <<_LTECHO_EOF
12759 # Quote evaled strings.
12773 deplibs_check_method \
12782 lt_cv_sys_global_symbol_pipe \
12783 lt_cv_sys_global_symbol_to_cdecl \
12784 lt_cv_sys_global_symbol_to_c_name_address \
12785 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12786 lt_prog_compiler_no_builtin_flag \
12787 lt_prog_compiler_wl \
12788 lt_prog_compiler_pic \
12789 lt_prog_compiler_static \
12790 lt_cv_prog_compiler_c_o \
12798 export_dynamic_flag_spec \
12799 whole_archive_flag_spec \
12800 compiler_needs_object \
12802 allow_undefined_flag \
12803 no_undefined_flag \
12804 hardcode_libdir_flag_spec \
12805 hardcode_libdir_flag_spec_ld \
12806 hardcode_libdir_separator \
12811 variables_saved_for_relink \
12813 library_names_spec \
12815 install_override_mode \
12819 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12820 *[\\\\\\\`\\"\\\$]*)
12821 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12824 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12829 # Double-quote double-evaled strings.
12830 for var in reload_cmds \
12831 old_postinstall_cmds \
12832 old_postuninstall_cmds \
12834 extract_expsyms_cmds \
12835 old_archive_from_new_cmds \
12836 old_archive_from_expsyms_cmds \
12838 archive_expsym_cmds \
12840 module_expsym_cmds \
12841 export_symbols_cmds \
12844 postuninstall_cmds \
12846 sys_lib_search_path_spec \
12847 sys_lib_dlsearch_path_spec; do
12848 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12849 *[\\\\\\\`\\"\\\$]*)
12850 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12853 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12858 ac_aux_dir='$ac_aux_dir'
12859 xsi_shell='$xsi_shell'
12860 lt_shell_append='$lt_shell_append'
12862 # See if we are running on zsh, and set the options which allow our
12863 # commands through without removal of \ escapes INIT.
12864 if test -n "\${ZSH_VERSION+set}" ; then
12865 setopt NO_GLOB_SUBST
12871 TIMESTAMP='$TIMESTAMP'
12879 cat >>"$CONFIG_LT" <<\_LTEOF
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
12881 $as_echo "$as_me: creating $ofile" >&6;}
12884 # See if we are running on zsh, and set the options which allow our
12885 # commands through without removal of \ escapes.
12886 if test -n "${ZSH_VERSION+set}" ; then
12887 setopt NO_GLOB_SUBST
12890 cfgfile
="${ofile}T"
12891 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12894 cat <<_LT_EOF >> "$cfgfile"
12897 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12898 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12899 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12900 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12902 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12903 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
12904 # Written by Gordon Matzigkeit, 1996
12906 # This file is part of GNU Libtool.
12908 # GNU Libtool is free software; you can redistribute it and/or
12909 # modify it under the terms of the GNU General Public License as
12910 # published by the Free Software Foundation; either version 2 of
12911 # the License, or (at your option) any later version.
12913 # As a special exception to the GNU General Public License,
12914 # if you distribute this file as part of a program or library that
12915 # is built using GNU Libtool, you may include this file under the
12916 # same distribution terms that you use for the rest of that program.
12918 # GNU Libtool is distributed in the hope that it will be useful,
12919 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12920 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12921 # GNU General Public License for more details.
12923 # You should have received a copy of the GNU General Public License
12924 # along with GNU Libtool; see the file COPYING. If not, a copy
12925 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12926 # obtained by writing to the Free Software Foundation, Inc.,
12927 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12930 # The names of the tagged configurations supported by this script.
12933 # ### BEGIN LIBTOOL CONFIG
12935 # Whether or not to build shared libraries.
12936 build_libtool_libs=$enable_shared
12938 # Which release of libtool.m4 was used?
12939 macro_version=$macro_version
12940 macro_revision=$macro_revision
12942 # Whether or not to build static libraries.
12943 build_old_libs=$enable_static
12945 # What type of objects to build.
12948 # Whether or not to optimize for fast installation.
12949 fast_install=$enable_fast_install
12951 # Shell to use when invoking shell scripts.
12954 # An echo program that protects backslashes.
12958 host_alias=$host_alias
12962 # The build system.
12963 build_alias=$build_alias
12967 # A sed program that does not truncate output.
12970 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12971 Xsed="\$SED -e 1s/^X//"
12973 # A grep program that handles long lines.
12979 # A literal string matcher.
12982 # A BSD- or MS-compatible name lister.
12985 # Whether we need soft or hard links.
12988 # What is the maximum length of a command?
12989 max_cmd_len=$max_cmd_len
12991 # Object file suffix (normally "o").
12994 # Executable file suffix (normally "").
12997 # whether the shell understands "unset".
13000 # turn spaces into newlines.
13003 # turn newlines into spaces.
13006 # An object symbol dumper.
13007 OBJDUMP=$lt_OBJDUMP
13009 # Method to check whether dependent libraries are shared objects.
13010 deplibs_check_method=$lt_deplibs_check_method
13012 # Command to use when deplibs_check_method == "file_magic".
13013 file_magic_cmd=$lt_file_magic_cmd
13017 AR_FLAGS=$lt_AR_FLAGS
13019 # A symbol stripping program.
13022 # Commands used to install an old-style archive.
13024 old_postinstall_cmds=$lt_old_postinstall_cmds
13025 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13027 # Whether to use a lock for old archive extraction.
13028 lock_old_archive_extraction=$lock_old_archive_extraction
13033 # LTCC compiler flags.
13034 LTCFLAGS=$lt_CFLAGS
13036 # Take the output of nm and produce a listing of raw symbols and C names.
13037 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13039 # Transform the output of nm in a proper C declaration.
13040 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13042 # Transform the output of nm in a C name address pair.
13043 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13045 # Transform the output of nm in a C name address pair when lib prefix is needed.
13046 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13048 # The name of the directory that contains temporary libtool files.
13051 # Used to examine libraries when file_magic_cmd begins with "file".
13052 MAGIC_CMD=$MAGIC_CMD
13054 # Must we lock files when doing compilation?
13055 need_locks=$lt_need_locks
13057 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13058 DSYMUTIL=$lt_DSYMUTIL
13060 # Tool to change global to local symbols on Mac OS X.
13063 # Tool to manipulate fat objects and archives on Mac OS X.
13066 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13069 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13070 OTOOL64=$lt_OTOOL64
13072 # Old archive suffix (normally "a").
13075 # Shared library suffix (normally ".so").
13076 shrext_cmds=$lt_shrext_cmds
13078 # The commands to extract the exported symbol list from a shared archive.
13079 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13081 # Variables whose values should be saved in libtool wrapper scripts and
13082 # restored at link time.
13083 variables_saved_for_relink=$lt_variables_saved_for_relink
13085 # Do we need the "lib" prefix for modules?
13086 need_lib_prefix=$need_lib_prefix
13088 # Do we need a version for libraries?
13089 need_version=$need_version
13091 # Library versioning type.
13092 version_type=$version_type
13094 # Shared library runtime path variable.
13095 runpath_var=$runpath_var
13097 # Shared library path variable.
13098 shlibpath_var=$shlibpath_var
13100 # Is shlibpath searched before the hard-coded library search path?
13101 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13103 # Format of library name prefix.
13104 libname_spec=$lt_libname_spec
13106 # List of archive names. First name is the real one, the rest are links.
13107 # The last name is the one that the linker finds with -lNAME
13108 library_names_spec=$lt_library_names_spec
13110 # The coded name of the library, if different from the real name.
13111 soname_spec=$lt_soname_spec
13113 # Permission mode override for installation of shared libraries.
13114 install_override_mode=$lt_install_override_mode
13116 # Command to use after installation of a shared archive.
13117 postinstall_cmds=$lt_postinstall_cmds
13119 # Command to use after uninstallation of a shared archive.
13120 postuninstall_cmds=$lt_postuninstall_cmds
13122 # Commands used to finish a libtool library installation in a directory.
13123 finish_cmds=$lt_finish_cmds
13125 # As "finish_cmds", except a single script fragment to be evaled but
13127 finish_eval=$lt_finish_eval
13129 # Whether we should hardcode library paths into libraries.
13130 hardcode_into_libs=$hardcode_into_libs
13132 # Compile-time system search path for libraries.
13133 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13135 # Run-time system search path for libraries.
13136 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13138 # Whether dlopen is supported.
13139 dlopen_support=$enable_dlopen
13141 # Whether dlopen of programs is supported.
13142 dlopen_self=$enable_dlopen_self
13144 # Whether dlopen of statically linked programs is supported.
13145 dlopen_self_static=$enable_dlopen_self_static
13147 # Commands to strip libraries.
13148 old_striplib=$lt_old_striplib
13149 striplib=$lt_striplib
13152 # The linker used to build libraries.
13155 # How to create reloadable object files.
13156 reload_flag=$lt_reload_flag
13157 reload_cmds=$lt_reload_cmds
13159 # Commands used to build an old-style archive.
13160 old_archive_cmds=$lt_old_archive_cmds
13162 # A language specific compiler.
13165 # Is the compiler the GNU compiler?
13168 # Compiler flag to turn off builtin functions.
13169 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13171 # How to pass a linker flag through the compiler.
13172 wl=$lt_lt_prog_compiler_wl
13174 # Additional compiler flags for building library objects.
13175 pic_flag=$lt_lt_prog_compiler_pic
13177 # Compiler flag to prevent dynamic linking.
13178 link_static_flag=$lt_lt_prog_compiler_static
13180 # Does compiler simultaneously support -c and -o options?
13181 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13183 # Whether or not to add -lc for building shared libraries.
13184 build_libtool_need_lc=$archive_cmds_need_lc
13186 # Whether or not to disallow shared libs when runtime libs are static.
13187 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13189 # Compiler flag to allow reflexive dlopens.
13190 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13192 # Compiler flag to generate shared objects directly from archives.
13193 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13195 # Whether the compiler copes with passing no objects directly.
13196 compiler_needs_object=$lt_compiler_needs_object
13198 # Create an old-style archive from a shared archive.
13199 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13201 # Create a temporary old-style archive to link instead of a shared archive.
13202 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13204 # Commands used to build a shared archive.
13205 archive_cmds=$lt_archive_cmds
13206 archive_expsym_cmds=$lt_archive_expsym_cmds
13208 # Commands used to build a loadable module if different from building
13209 # a shared archive.
13210 module_cmds=$lt_module_cmds
13211 module_expsym_cmds=$lt_module_expsym_cmds
13213 # Whether we are building with GNU ld or not.
13214 with_gnu_ld=$lt_with_gnu_ld
13216 # Flag that allows shared libraries with undefined symbols to be built.
13217 allow_undefined_flag=$lt_allow_undefined_flag
13219 # Flag that enforces no undefined symbols.
13220 no_undefined_flag=$lt_no_undefined_flag
13222 # Flag to hardcode \$libdir into a binary during linking.
13223 # This must work even if \$libdir does not exist
13224 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13226 # If ld is used when linking, flag to hardcode \$libdir into a binary
13227 # during linking. This must work even if \$libdir does not exist.
13228 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13230 # Whether we need a single "-rpath" flag with a separated argument.
13231 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13233 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13234 # DIR into the resulting binary.
13235 hardcode_direct=$hardcode_direct
13237 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13238 # DIR into the resulting binary and the resulting library dependency is
13239 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13240 # library is relocated.
13241 hardcode_direct_absolute=$hardcode_direct_absolute
13243 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13244 # into the resulting binary.
13245 hardcode_minus_L=$hardcode_minus_L
13247 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13248 # into the resulting binary.
13249 hardcode_shlibpath_var=$hardcode_shlibpath_var
13251 # Set to "yes" if building a shared library automatically hardcodes DIR
13252 # into the library and all subsequent libraries and executables linked
13254 hardcode_automatic=$hardcode_automatic
13256 # Set to yes if linker adds runtime paths of dependent libraries
13257 # to runtime path list.
13258 inherit_rpath=$inherit_rpath
13260 # Whether libtool must link a program against all its dependency libraries.
13261 link_all_deplibs=$link_all_deplibs
13263 # Fix the shell variable \$srcfile for the compiler.
13264 fix_srcfile_path=$lt_fix_srcfile_path
13266 # Set to "yes" if exported symbols are required.
13267 always_export_symbols=$always_export_symbols
13269 # The commands to list exported symbols.
13270 export_symbols_cmds=$lt_export_symbols_cmds
13272 # Symbols that should not be listed in the preloaded symbols.
13273 exclude_expsyms=$lt_exclude_expsyms
13275 # Symbols that must always be exported.
13276 include_expsyms=$lt_include_expsyms
13278 # Commands necessary for linking programs (against libraries) with templates.
13279 prelink_cmds=$lt_prelink_cmds
13281 # Specify filename containing input files.
13282 file_list_spec=$lt_file_list_spec
13284 # How to hardcode a shared library path into an executable.
13285 hardcode_action=$hardcode_action
13287 # ### END LIBTOOL CONFIG
13293 cat <<\_LT_EOF
>> "$cfgfile"
13294 # AIX sometimes has problems with the GCC collect2 program. For some
13295 # reason, if we set the COLLECT_NAMES environment variable, the problems
13296 # vanish in a puff of smoke.
13297 if test "X${COLLECT_NAMES+set}" != Xset
; then
13299 export COLLECT_NAMES
13306 ltmain
="$ac_aux_dir/ltmain.sh"
13309 # We use sed instead of cat because bash on DJGPP gets confused if
13310 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13311 # text mode, it properly converts lines to CR/LF. This bash problem
13312 # is reportedly fixed, but why not run on old versions too?
13313 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13314 ||
(rm -f "$cfgfile"; exit 1)
13318 cat << \_LT_EOF
>> "$cfgfile"
13320 # func_dirname file append nondir_replacement
13321 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13322 # otherwise set result to NONDIR_REPLACEMENT.
13326 */*) func_dirname_result
="${1%/*}${2}" ;;
13327 * ) func_dirname_result
="${3}" ;;
13331 # func_basename file
13334 func_basename_result
="${1##*/}"
13337 # func_dirname_and_basename file append nondir_replacement
13338 # perform func_basename and func_dirname in a single function
13340 # dirname: Compute the dirname of FILE. If nonempty,
13341 # add APPEND to the result, otherwise set result
13342 # to NONDIR_REPLACEMENT.
13343 # value returned in "$func_dirname_result"
13344 # basename: Compute filename of FILE.
13345 # value retuned in "$func_basename_result"
13346 # Implementation must be kept synchronized with func_dirname
13347 # and func_basename. For efficiency, we do not delegate to
13348 # those functions but instead duplicate the functionality here.
13349 func_dirname_and_basename
()
13352 */*) func_dirname_result
="${1%/*}${2}" ;;
13353 * ) func_dirname_result
="${3}" ;;
13355 func_basename_result
="${1##*/}"
13358 # func_stripname prefix suffix name
13359 # strip PREFIX and SUFFIX off of NAME.
13360 # PREFIX and SUFFIX must not contain globbing or regex special
13361 # characters, hashes, percent signs, but SUFFIX may contain a leading
13362 # dot (in which case that matches only a dot).
13365 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13366 # positional parameters, so assign one to ordinary parameter first.
13367 func_stripname_result
=${3}
13368 func_stripname_result
=${func_stripname_result#"${1}"}
13369 func_stripname_result
=${func_stripname_result%"${2}"}
13375 func_opt_split_opt
=${1%%=*}
13376 func_opt_split_arg
=${1#*=}
13383 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13384 *) func_lo2o_result
=${1} ;;
13388 # func_xform libobj-or-source
13391 func_xform_result
=${1%.*}.lo
13394 # func_arith arithmetic-term...
13397 func_arith_result
=$
(( $
* ))
13401 # STRING may not start with a hyphen.
13404 func_len_result
=${#1}
13409 *) # Bourne compatible functions.
13410 cat << \_LT_EOF
>> "$cfgfile"
13412 # func_dirname file append nondir_replacement
13413 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13414 # otherwise set result to NONDIR_REPLACEMENT.
13417 # Extract subdirectory from the argument.
13418 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13419 if test "X$func_dirname_result" = "X${1}"; then
13420 func_dirname_result
="${3}"
13422 func_dirname_result
="$func_dirname_result${2}"
13426 # func_basename file
13429 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13433 # func_stripname prefix suffix name
13434 # strip PREFIX and SUFFIX off of NAME.
13435 # PREFIX and SUFFIX must not contain globbing or regex special
13436 # characters, hashes, percent signs, but SUFFIX may contain a leading
13437 # dot (in which case that matches only a dot).
13438 # func_strip_suffix prefix name
13442 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13443 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13448 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13449 my_sed_long_arg
='1s/^-[^=]*=//'
13454 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13455 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13461 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13464 # func_xform libobj-or-source
13467 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13470 # func_arith arithmetic-term...
13473 func_arith_result
=`expr "$@"`
13477 # STRING may not start with a hyphen.
13480 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13486 case $lt_shell_append in
13488 cat << \_LT_EOF
>> "$cfgfile"
13490 # func_append var value
13491 # Append VALUE to the end of shell variable VAR.
13499 cat << \_LT_EOF
>> "$cfgfile"
13501 # func_append var value
13502 # Append VALUE to the end of shell variable VAR.
13513 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13514 ||
(rm -f "$cfgfile"; exit 1)
13516 mv -f "$cfgfile" "$ofile" ||
13517 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13523 chmod +x
"$CONFIG_LT"
13525 # configure is writing to config.log, but config.lt does its own redirection,
13526 # appending to config.log, which fails on DOS, as config.log is still kept
13527 # open by configure. Here we exec the FD to /dev/null, effectively closing
13528 # config.log, so it can be properly (re)opened and appended to by config.lt.
13530 test "$silent" = yes &&
13531 lt_config_lt_args
="$lt_config_lt_args --quiet"
13533 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success
=false
13535 $lt_cl_success || as_fn_exit
1
13538 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
13539 for ac_prog
in aclocal
13541 # Extract the first word of "$ac_prog", so it can be a program name with args.
13542 set dummy
$ac_prog; ac_word
=$2
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13544 $as_echo_n "checking for $ac_word... " >&6; }
13545 if ${ac_cv_prog_ACLOCAL+:} false
; then :
13546 $as_echo_n "(cached) " >&6
13548 if test -n "$ACLOCAL"; then
13549 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
13551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13552 for as_dir
in $PATH
13555 test -z "$as_dir" && as_dir
=.
13556 for ac_exec_ext
in '' $ac_executable_extensions; do
13557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13558 ac_cv_prog_ACLOCAL
="$ac_prog"
13559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13568 ACLOCAL
=$ac_cv_prog_ACLOCAL
13569 if test -n "$ACLOCAL"; then
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
13571 $as_echo "$ACLOCAL" >&6; }
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13574 $as_echo "no" >&6; }
13578 test -n "$ACLOCAL" && break
13580 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
13582 for ac_prog
in autoconf
13584 # Extract the first word of "$ac_prog", so it can be a program name with args.
13585 set dummy
$ac_prog; ac_word
=$2
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13587 $as_echo_n "checking for $ac_word... " >&6; }
13588 if ${ac_cv_prog_AUTOCONF+:} false
; then :
13589 $as_echo_n "(cached) " >&6
13591 if test -n "$AUTOCONF"; then
13592 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
13594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13595 for as_dir
in $PATH
13598 test -z "$as_dir" && as_dir
=.
13599 for ac_exec_ext
in '' $ac_executable_extensions; do
13600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13601 ac_cv_prog_AUTOCONF
="$ac_prog"
13602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13611 AUTOCONF
=$ac_cv_prog_AUTOCONF
13612 if test -n "$AUTOCONF"; then
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
13614 $as_echo "$AUTOCONF" >&6; }
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13617 $as_echo "no" >&6; }
13621 test -n "$AUTOCONF" && break
13623 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
13625 for ac_prog
in autoheader
13627 # Extract the first word of "$ac_prog", so it can be a program name with args.
13628 set dummy
$ac_prog; ac_word
=$2
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13630 $as_echo_n "checking for $ac_word... " >&6; }
13631 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
13632 $as_echo_n "(cached) " >&6
13634 if test -n "$AUTOHEADER"; then
13635 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
13637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13638 for as_dir
in $PATH
13641 test -z "$as_dir" && as_dir
=.
13642 for ac_exec_ext
in '' $ac_executable_extensions; do
13643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13644 ac_cv_prog_AUTOHEADER
="$ac_prog"
13645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13654 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
13655 if test -n "$AUTOHEADER"; then
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
13657 $as_echo "$AUTOHEADER" >&6; }
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13660 $as_echo "no" >&6; }
13664 test -n "$AUTOHEADER" && break
13666 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
13669 # Figure out what compiler warnings we can enable.
13670 # See config/warnings.m4 for details.
13673 ac_cpp
='$CPP $CPPFLAGS'
13674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13679 save_CFLAGS
="$CFLAGS"
13680 for real_option
in -W -Wall -Wno-narrowing -Wwrite-strings \
13681 -Wmissing-format-attribute; do
13682 # Do the check with the no- prefix removed since gcc silently
13683 # accepts any -Wno-* option on purpose
13684 case $real_option in
13685 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
13686 *) option
=$real_option ;;
13688 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
13691 $as_echo_n "checking whether $CC supports $option... " >&6; }
13692 if eval \
${$as_acx_Woption+:} false
; then :
13693 $as_echo_n "(cached) " >&6
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13707 if ac_fn_c_try_compile
"$LINENO"; then :
13708 eval "$as_acx_Woption=yes"
13710 eval "$as_acx_Woption=no"
13712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13715 eval ac_res
=\$
$as_acx_Woption
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13717 $as_echo "$ac_res" >&6; }
13718 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
13719 warn
="$warn${warn:+ }$real_option"
13722 CFLAGS
="$save_CFLAGS"
13724 ac_cpp
='$CPP $CPPFLAGS'
13725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13731 ac_cpp
='$CPP $CPPFLAGS'
13732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13737 save_CFLAGS
="$CFLAGS"
13738 for real_option
in -Wstrict-prototypes -Wmissing-prototypes \
13739 -Wold-style-definition; do
13740 # Do the check with the no- prefix removed since gcc silently
13741 # accepts any -Wno-* option on purpose
13742 case $real_option in
13743 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
13744 *) option
=$real_option ;;
13746 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
13749 $as_echo_n "checking whether $CC supports $option... " >&6; }
13750 if eval \
${$as_acx_Woption+:} false
; then :
13751 $as_echo_n "(cached) " >&6
13754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13765 if ac_fn_c_try_compile
"$LINENO"; then :
13766 eval "$as_acx_Woption=yes"
13768 eval "$as_acx_Woption=no"
13770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13773 eval ac_res
=\$
$as_acx_Woption
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13775 $as_echo "$ac_res" >&6; }
13776 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
13777 c_warn
="$c_warn${c_warn:+ }$real_option"
13780 CFLAGS
="$save_CFLAGS"
13782 ac_cpp
='$CPP $CPPFLAGS'
13783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13789 ac_cpp
='$CPP $CPPFLAGS'
13790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13795 # Do the check with the no- prefix removed from the warning options
13796 # since gcc silently accepts any -Wno-* option on purpose
13797 if test "$GCC" = yes; then :
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
13799 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
13800 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false
; then :
13801 $as_echo_n "(cached) " >&6
13803 save_CFLAGS
="$CFLAGS"
13804 CFLAGS
="-pedantic -Wlong-long"
13805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13816 if ac_fn_c_try_compile
"$LINENO"; then :
13817 acx_cv_prog_cc_pedantic__Wlong_long
=yes
13819 acx_cv_prog_cc_pedantic__Wlong_long
=no
13821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13822 CFLAGS
="$save_CFLAGS"
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
13825 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
13826 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
13827 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
13832 ac_cpp
='$CPP $CPPFLAGS'
13833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13839 # Only enable with --enable-werror-always until existing warnings are
13842 ac_cpp
='$CPP $CPPFLAGS'
13843 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13844 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13845 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13848 # Check whether --enable-werror-always was given.
13849 if test "${enable_werror_always+set}" = set; then :
13850 enableval
=$enable_werror_always;
13852 enable_werror_always
=no
13855 if test $enable_werror_always = yes; then :
13856 WERROR
="$WERROR${WERROR:+ }-Werror"
13860 ac_cpp
='$CPP $CPPFLAGS'
13861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13869 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13870 # Check whether --enable-maintainer-mode was given.
13871 if test "${enable_maintainer_mode+set}" = set; then :
13872 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
13874 USE_MAINTAINER_MODE
=no
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13878 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13879 if test $USE_MAINTAINER_MODE = yes; then
13880 MAINTAINER_MODE_TRUE
=
13881 MAINTAINER_MODE_FALSE
='#'
13883 MAINTAINER_MODE_TRUE
='#'
13884 MAINTAINER_MODE_FALSE
=
13887 MAINT
=$MAINTAINER_MODE_TRUE
13890 case ${build_alias} in
13891 "") build_noncanonical
=${build} ;;
13892 *) build_noncanonical
=${build_alias} ;;
13895 case ${host_alias} in
13896 "") host_noncanonical
=${build_noncanonical} ;;
13897 *) host_noncanonical
=${host_alias} ;;
13900 case ${target_alias} in
13901 "") target_noncanonical
=${host_noncanonical} ;;
13902 *) target_noncanonical
=${target_alias} ;;
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
13906 $as_echo_n "checking whether to install libbfd... " >&6; }
13907 # Check whether --enable-install-libbfd was given.
13908 if test "${enable_install_libbfd+set}" = set; then :
13909 enableval
=$enable_install_libbfd; install_libbfd_p
=$enableval
13911 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
13912 install_libbfd_p
=yes
13914 install_libbfd_p
=no
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
13919 $as_echo "$install_libbfd_p" >&6; }
13920 if test $install_libbfd_p = yes; then
13921 INSTALL_LIBBFD_TRUE
=
13922 INSTALL_LIBBFD_FALSE
='#'
13924 INSTALL_LIBBFD_TRUE
='#'
13925 INSTALL_LIBBFD_FALSE
=
13928 # Need _noncanonical variables for this.
13933 # libbfd.a is a host library containing target dependent code
13934 bfdlibdir
='$(libdir)'
13935 bfdincludedir
='$(includedir)'
13936 if test "${host}" != "${target}"; then
13937 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
13938 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
13947 ac_cpp
='$CPP $CPPFLAGS'
13948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13952 ac_libctf_warn_cflags
=
13953 save_CFLAGS
="$CFLAGS"
13954 for real_option
in -Wall; do
13955 # Do the check with the no- prefix removed since gcc silently
13956 # accepts any -Wno-* option on purpose
13957 case $real_option in
13958 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
13959 *) option
=$real_option ;;
13961 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
13964 $as_echo_n "checking whether $CC supports $option... " >&6; }
13965 if eval \
${$as_acx_Woption+:} false
; then :
13966 $as_echo_n "(cached) " >&6
13969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13980 if ac_fn_c_try_compile
"$LINENO"; then :
13981 eval "$as_acx_Woption=yes"
13983 eval "$as_acx_Woption=no"
13985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13988 eval ac_res
=\$
$as_acx_Woption
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13990 $as_echo "$ac_res" >&6; }
13991 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
13992 ac_libctf_warn_cflags
="$ac_libctf_warn_cflags${ac_libctf_warn_cflags:+ }$real_option"
13995 CFLAGS
="$save_CFLAGS"
13997 ac_cpp
='$CPP $CPPFLAGS'
13998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14007 for ac_header
in $ac_header_list
14009 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14010 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14012 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14013 cat >>confdefs.h
<<_ACEOF
14014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14028 for ac_func
in getpagesize
14030 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
14031 if test "x$ac_cv_func_getpagesize" = xyes
; then :
14032 cat >>confdefs.h
<<_ACEOF
14033 #define HAVE_GETPAGESIZE 1
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14040 $as_echo_n "checking for working mmap... " >&6; }
14041 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
14042 $as_echo_n "(cached) " >&6
14044 if test "$cross_compiling" = yes; then :
14045 ac_cv_func_mmap_fixed_mapped
=no
14047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14049 $ac_includes_default
14050 /* malloc might have been renamed as rpl_malloc. */
14053 /* Thanks to Mike Haertel and Jim Avera for this test.
14054 Here is a matrix of mmap possibilities:
14055 mmap private not fixed
14056 mmap private fixed at somewhere currently unmapped
14057 mmap private fixed at somewhere already mapped
14058 mmap shared not fixed
14059 mmap shared fixed at somewhere currently unmapped
14060 mmap shared fixed at somewhere already mapped
14061 For private mappings, we should verify that changes cannot be read()
14062 back from the file, nor mmap's back from the file at a different
14063 address. (There have been systems where private was not correctly
14064 implemented like the infamous i386 svr4.0, and systems where the
14065 VM page cache was not coherent with the file system buffer cache
14066 like early versions of FreeBSD and possibly contemporary NetBSD.)
14067 For shared mappings, we should conversely verify that changes get
14068 propagated back to all the places they're supposed to be.
14070 Grep wants private fixed already mapped.
14071 The main things grep needs to know about mmap are:
14072 * does it exist and is it safe to write into the mmap'd area
14073 * how to use it (BSD variants) */
14076 #include <sys/mman.h>
14078 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14082 /* This mess was copied from the GNU getpagesize.h. */
14083 #ifndef HAVE_GETPAGESIZE
14084 # ifdef _SC_PAGESIZE
14085 # define getpagesize() sysconf(_SC_PAGESIZE)
14086 # else /* no _SC_PAGESIZE */
14087 # ifdef HAVE_SYS_PARAM_H
14088 # include <sys/param.h>
14089 # ifdef EXEC_PAGESIZE
14090 # define getpagesize() EXEC_PAGESIZE
14091 # else /* no EXEC_PAGESIZE */
14093 # define getpagesize() NBPG * CLSIZE
14096 # endif /* no CLSIZE */
14097 # else /* no NBPG */
14099 # define getpagesize() NBPC
14100 # else /* no NBPC */
14102 # define getpagesize() PAGESIZE
14103 # endif /* PAGESIZE */
14104 # endif /* no NBPC */
14105 # endif /* no NBPG */
14106 # endif /* no EXEC_PAGESIZE */
14107 # else /* no HAVE_SYS_PARAM_H */
14108 # define getpagesize() 8192 /* punt totally */
14109 # endif /* no HAVE_SYS_PARAM_H */
14110 # endif /* no _SC_PAGESIZE */
14112 #endif /* no HAVE_GETPAGESIZE */
14117 char *data, *data2, *data3;
14118 const char *cdata2;
14122 pagesize = getpagesize ();
14124 /* First, make a file with some known garbage in it. */
14125 data = (char *) malloc (pagesize);
14128 for (i = 0; i < pagesize; ++i)
14129 *(data + i) = rand ();
14131 fd = creat ("conftest.mmap", 0600);
14134 if (write (fd, data, pagesize) != pagesize)
14138 /* Next, check that the tail of a page is zero-filled. File must have
14139 non-zero length, otherwise we risk SIGBUS for entire page. */
14140 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
14144 if (write (fd2, cdata2, 1) != 1)
14146 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
14147 if (data2 == MAP_FAILED)
14149 for (i = 0; i < pagesize; ++i)
14153 if (munmap (data2, pagesize))
14156 /* Next, try to mmap the file at a fixed address which already has
14157 something else allocated at it. If we can, also make sure that
14158 we see the same garbage. */
14159 fd = open ("conftest.mmap", O_RDWR);
14162 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14163 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14165 for (i = 0; i < pagesize; ++i)
14166 if (*(data + i) != *(data2 + i))
14169 /* Finally, make sure that changes to the mapped area do not
14170 percolate back to the file as seen by read(). (This is a bug on
14171 some variants of i386 svr4.0.) */
14172 for (i = 0; i < pagesize; ++i)
14173 *(data2 + i) = *(data2 + i) + 1;
14174 data3 = (char *) malloc (pagesize);
14177 if (read (fd, data3, pagesize) != pagesize)
14179 for (i = 0; i < pagesize; ++i)
14180 if (*(data + i) != *(data3 + i))
14186 if ac_fn_c_try_run
"$LINENO"; then :
14187 ac_cv_func_mmap_fixed_mapped
=yes
14189 ac_cv_func_mmap_fixed_mapped
=no
14191 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14192 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14197 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14198 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14200 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
14203 rm -f conftest.mmap conftest.txt
14205 # Needed for BFD capability checks.
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
14207 $as_echo_n "checking for library containing dlsym... " >&6; }
14208 if ${ac_cv_search_dlsym+:} false
; then :
14209 $as_echo_n "(cached) " >&6
14211 ac_func_search_save_LIBS
=$LIBS
14212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14215 /* Override any GCC internal prototype to avoid an error.
14216 Use char because int might match the return type of a GCC
14217 builtin and then its argument prototype would still apply. */
14230 for ac_lib
in '' dl
; do
14231 if test -z "$ac_lib"; then
14232 ac_res
="none required"
14235 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14237 if ac_fn_c_try_link
"$LINENO"; then :
14238 ac_cv_search_dlsym
=$ac_res
14240 rm -f core conftest.err conftest.
$ac_objext \
14242 if ${ac_cv_search_dlsym+:} false
; then :
14246 if ${ac_cv_search_dlsym+:} false
; then :
14249 ac_cv_search_dlsym
=no
14251 rm conftest.
$ac_ext
14252 LIBS
=$ac_func_search_save_LIBS
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
14255 $as_echo "$ac_cv_search_dlsym" >&6; }
14256 ac_res
=$ac_cv_search_dlsym
14257 if test "$ac_res" != no
; then :
14258 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14263 # Use the system's zlib library.
14264 zlibdir
="-L\$(top_builddir)/../zlib"
14265 zlibinc
="-I\$(top_srcdir)/../zlib"
14267 # Check whether --with-system-zlib was given.
14268 if test "${with_system_zlib+set}" = set; then :
14269 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
14280 # Check whether --enable-libctf-hash-debugging was given.
14281 if test "${enable_libctf_hash_debugging+set}" = set; then :
14282 enableval
=$enable_libctf_hash_debugging;
14283 case "$enableval" in
14285 *) as_fn_error $?
"Argument to enable/disable libctf-hash-debugging must be yes or no" "$LINENO" 5 ;;
14289 enable_libctf_hash_debugging
=no
14293 if test "${enable_libctf_hash_debugging}" = yes; then
14295 $as_echo "#define ENABLE_LIBCTF_HASH_DEBUGGING 1" >>confdefs.h
14298 if test "${enable_libctf_hash_debugging}" = yes; then
14299 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
=
14300 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
='#'
14302 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
='#'
14303 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
=
14307 # Similar to GDB_AC_CHECK_BFD.
14309 OLD_LDFLAGS
=$LDFLAGS
14312 # Put the old CFLAGS/LDFLAGS last, in case the user's (C|LD)FLAGS
14313 # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We
14314 # always want our bfd.
14315 CC
="./libtool --quiet --mode=link $OLD_CC"
14316 CFLAGS
="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
14317 LDFLAGS
="-L../bfd -L../libiberty $LDFLAGS"
14318 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
14319 LIBS
="-lbfd -liberty $intl $LIBS"
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5
14321 $as_echo_n "checking for ELF support in BFD... " >&6; }
14322 if ${ac_cv_libctf_bfd_elf+:} false
; then :
14323 $as_echo_n "(cached) " >&6
14325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14327 #include <stdlib.h>
14328 #include <string.h>
14330 #include "elf-bfd.h"
14334 (void) bfd_section_from_elf_index (NULL, 0);
14340 if ac_fn_c_try_link
"$LINENO"; then :
14341 ac_cv_libctf_bfd_elf
=yes
14343 ac_cv_libctf_bfd_elf
=no
14345 rm -f core conftest.err conftest.
$ac_objext \
14346 conftest
$ac_exeext conftest.
$ac_ext
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_bfd_elf" >&5
14349 $as_echo "$ac_cv_libctf_bfd_elf" >&6; }
14351 LDFLAGS
=$OLD_LDFLAGS
14355 if test $ac_cv_libctf_bfd_elf = yes; then
14357 $as_echo "#define HAVE_BFD_ELF 1" >>confdefs.h
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14362 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14363 if ${ac_cv_c_bigendian+:} false
; then :
14364 $as_echo_n "(cached) " >&6
14366 ac_cv_c_bigendian
=unknown
14367 # See if we're dealing with a universal compiler.
14368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 #ifndef __APPLE_CC__
14371 not a universal capable compiler
14376 if ac_fn_c_try_compile
"$LINENO"; then :
14378 # Check for potential -arch flags. It is not universal unless
14379 # there are at least two -arch flags with different values.
14382 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14383 if test -n "$ac_prev"; then
14385 i?
86 | x86_64 | ppc | ppc64
)
14386 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14389 ac_cv_c_bigendian
=universal
14395 elif test "x$ac_word" = "x-arch"; then
14400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14401 if test $ac_cv_c_bigendian = unknown
; then
14402 # See if sys/param.h defines the BYTE_ORDER macro.
14403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14404 /* end confdefs.h. */
14405 #include <sys/types.h>
14406 #include <sys/param.h>
14411 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14412 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14414 bogus endian macros
14421 if ac_fn_c_try_compile
"$LINENO"; then :
14422 # It does; now see whether it defined to BIG_ENDIAN or not.
14423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14425 #include <sys/types.h>
14426 #include <sys/param.h>
14431 #if BYTE_ORDER != BIG_ENDIAN
14439 if ac_fn_c_try_compile
"$LINENO"; then :
14440 ac_cv_c_bigendian
=yes
14442 ac_cv_c_bigendian
=no
14444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14448 if test $ac_cv_c_bigendian = unknown
; then
14449 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14452 #include <limits.h>
14457 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14458 bogus endian macros
14465 if ac_fn_c_try_compile
"$LINENO"; then :
14466 # It does; now see whether it defined to _BIG_ENDIAN or not.
14467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14468 /* end confdefs.h. */
14469 #include <limits.h>
14474 #ifndef _BIG_ENDIAN
14482 if ac_fn_c_try_compile
"$LINENO"; then :
14483 ac_cv_c_bigendian
=yes
14485 ac_cv_c_bigendian
=no
14487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14491 if test $ac_cv_c_bigendian = unknown
; then
14492 # Compile a test program.
14493 if test "$cross_compiling" = yes; then :
14494 # Try to guess by grepping values from an object file.
14495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14497 short int ascii_mm[] =
14498 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14499 short int ascii_ii[] =
14500 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14501 int use_ascii (int i) {
14502 return ascii_mm[i] + ascii_ii[i];
14504 short int ebcdic_ii[] =
14505 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14506 short int ebcdic_mm[] =
14507 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14508 int use_ebcdic (int i) {
14509 return ebcdic_mm[i] + ebcdic_ii[i];
14516 return use_ascii (foo) == use_ebcdic (foo);
14521 if ac_fn_c_try_compile
"$LINENO"; then :
14522 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14523 ac_cv_c_bigendian
=yes
14525 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14526 if test "$ac_cv_c_bigendian" = unknown
; then
14527 ac_cv_c_bigendian
=no
14529 # finding both strings is unlikely to happen, but who knows?
14530 ac_cv_c_bigendian
=unknown
14534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14537 /* end confdefs.h. */
14538 $ac_includes_default
14543 /* Are we little or big endian? From Harbison&Steele. */
14547 char c[sizeof (long int)];
14550 return u.c[sizeof (long int) - 1] == 1;
14556 if ac_fn_c_try_run
"$LINENO"; then :
14557 ac_cv_c_bigendian
=no
14559 ac_cv_c_bigendian
=yes
14561 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14562 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14568 $as_echo "$ac_cv_c_bigendian" >&6; }
14569 case $ac_cv_c_bigendian in #(
14571 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14577 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14581 as_fn_error $?
"unknown endianness
14582 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14585 for ac_header
in byteswap.h endian.h
14587 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14588 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14589 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14590 cat >>confdefs.h
<<_ACEOF
14591 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14598 for ac_func
in pread
14600 ac_fn_c_check_func
"$LINENO" "pread" "ac_cv_func_pread"
14601 if test "x$ac_cv_func_pread" = xyes
; then :
14602 cat >>confdefs.h
<<_ACEOF
14603 #define HAVE_PREAD 1
14610 ac_fn_c_check_decl
"$LINENO" "bswap_16" "ac_cv_have_decl_bswap_16" "#include <byteswap.h>
14612 if test "x$ac_cv_have_decl_bswap_16" = xyes
; then :
14618 cat >>confdefs.h
<<_ACEOF
14619 #define HAVE_DECL_BSWAP_16 $ac_have_decl
14621 ac_fn_c_check_decl
"$LINENO" "bswap_32" "ac_cv_have_decl_bswap_32" "#include <byteswap.h>
14623 if test "x$ac_cv_have_decl_bswap_32" = xyes
; then :
14629 cat >>confdefs.h
<<_ACEOF
14630 #define HAVE_DECL_BSWAP_32 $ac_have_decl
14632 ac_fn_c_check_decl
"$LINENO" "bswap_64" "ac_cv_have_decl_bswap_64" "#include <byteswap.h>
14634 if test "x$ac_cv_have_decl_bswap_64" = xyes
; then :
14640 cat >>confdefs.h
<<_ACEOF
14641 #define HAVE_DECL_BSWAP_64 $ac_have_decl
14644 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
14645 if test "x$ac_cv_have_decl_asprintf" = xyes
; then :
14651 cat >>confdefs.h
<<_ACEOF
14652 #define HAVE_DECL_ASPRINTF $ac_have_decl
14654 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
14655 if test "x$ac_cv_have_decl_vasprintf" = xyes
; then :
14661 cat >>confdefs.h
<<_ACEOF
14662 #define HAVE_DECL_VASPRINTF $ac_have_decl
14664 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
14665 if test "x$ac_cv_have_decl_stpcpy" = xyes
; then :
14671 cat >>confdefs.h
<<_ACEOF
14672 #define HAVE_DECL_STPCPY $ac_have_decl
14679 for ac_func
in $ac_func_list
14681 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14682 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14683 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14684 cat >>confdefs.h
<<_ACEOF
14685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14694 if test $ac_cv_func_qsort_r = yes; then
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qsort_r signature" >&5
14696 $as_echo_n "checking for qsort_r signature... " >&6; }
14697 if ${ac_cv_libctf_qsort_r_signature+:} false
; then :
14698 $as_echo_n "(cached) " >&6
14700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 #include <stdlib.h>
14704 void qsort_r (void *, size_t, size_t,
14705 int (*) (void const *, void const *,
14708 void (*p) (void *, size_t, size_t,
14709 int (*) (void const *, void const *,
14721 if ac_fn_c_try_link
"$LINENO"; then :
14722 ac_cv_libctf_qsort_r_signature
=GNU
14724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14727 #include <stdlib.h>
14728 void qsort_r (void *, size_t, size_t, void *,
14732 void (*p) (void *, size_t, size_t, void *,
14733 int (*) (void *, void const *,
14734 void const *)) = qsort_r;
14744 if ac_fn_c_try_link
"$LINENO"; then :
14745 ac_cv_libctf_qsort_r_signature
=BSD
14747 ac_cv_libctf_qsort_r_signature
=unknown
14749 rm -f core conftest.err conftest.
$ac_objext \
14750 conftest
$ac_exeext conftest.
$ac_ext
14752 rm -f core conftest.err conftest.
$ac_objext \
14753 conftest
$ac_exeext conftest.
$ac_ext
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_qsort_r_signature" >&5
14756 $as_echo "$ac_cv_libctf_qsort_r_signature" >&6; }
14759 case x
$ac_cv_libctf_qsort_r_signature in
14761 $as_echo "#define HAVE_QSORT_R_ARG_LAST 1" >>confdefs.h
14764 $as_echo "#define HAVE_QSORT_R_COMPAR_LAST 1" >>confdefs.h
14766 *) ac_cv_libctf_qsort_r_signature
=unknown
;;
14769 if test "${ac_cv_libctf_qsort_r_signature}" = unknown
; then
14770 NEED_CTF_QSORT_R_TRUE
=
14771 NEED_CTF_QSORT_R_FALSE
='#'
14773 NEED_CTF_QSORT_R_TRUE
='#'
14774 NEED_CTF_QSORT_R_FALSE
=
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
14779 $as_echo_n "checking for O_CLOEXEC... " >&6; }
14780 if ${ac_cv_libctf_macro_O_CLOEXEC+:} false
; then :
14781 $as_echo_n "(cached) " >&6
14783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14798 if ac_fn_c_try_link
"$LINENO"; then :
14799 ac_cv_libctf_macro_O_CLOEXEC
=yes
14801 ac_cv_libctf_macro_O_CLOEXEC
=no
14803 rm -f core conftest.err conftest.
$ac_objext \
14804 conftest
$ac_exeext conftest.
$ac_ext
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_macro_O_CLOEXEC" >&5
14807 $as_echo "$ac_cv_libctf_macro_O_CLOEXEC" >&6; }
14809 if test $ac_cv_libctf_macro_O_CLOEXEC = yes; then
14811 $as_echo "#define HAVE_O_CLOEXEC 1" >>confdefs.h
14817 for ac_prog
in makeinfo
14819 # Extract the first word of "$ac_prog", so it can be a program name with args.
14820 set dummy
$ac_prog; ac_word
=$2
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14822 $as_echo_n "checking for $ac_word... " >&6; }
14823 if ${ac_cv_prog_MAKEINFO+:} false
; then :
14824 $as_echo_n "(cached) " >&6
14826 if test -n "$MAKEINFO"; then
14827 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
14829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14830 for as_dir
in $PATH
14833 test -z "$as_dir" && as_dir
=.
14834 for ac_exec_ext
in '' $ac_executable_extensions; do
14835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14836 ac_cv_prog_MAKEINFO
="$ac_prog"
14837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14846 MAKEINFO
=$ac_cv_prog_MAKEINFO
14847 if test -n "$MAKEINFO"; then
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
14849 $as_echo "$MAKEINFO" >&6; }
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14852 $as_echo "no" >&6; }
14856 test -n "$MAKEINFO" && break
14858 test -n "$MAKEINFO" || MAKEINFO
="$MISSING makeinfo"
14860 case " $build_configdirs " in
14861 *" texinfo "*) MAKEINFO
='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
14864 # We require texinfo to be 6.3 or later, for a working synindex
14865 # and validatemenus: otherwise we fall back to /bin/true.
14866 if ${MAKEINFO} --version \
14867 |
egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9]|[1-6][0-9])' >/dev
/null
2>&1; then
14874 if test -n "$makeinfo_too_old"; then
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
14876 *** Makeinfo is too old. Info documentation will not be built." >&5
14877 $as_echo "$as_me: WARNING:
14878 *** Makeinfo is too old. Info documentation will not be built." >&2;}
14881 if test "${build_info}" = yes; then
14883 BUILD_INFO_FALSE
='#'
14885 BUILD_INFO_TRUE
='#'
14890 CTF_LIBADD
="-L`pwd`/../libiberty -liberty"
14893 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
14894 if test "$enable_shared" = "yes"; then
14895 # When building a shared libctf, link against the pic version of libiberty
14896 # so that apps that use libctf won't need libiberty just to satisfy any
14897 # libctf references. We can't do that if a pic libiberty is unavailable
14898 # since including non-pic # code would insert text relocations into libctf.
14899 # Note that linking against libbfd as we do here, which is itself linked
14900 # against libiberty, may not satisfy all the libctf libiberty references
14901 # since libbfd may not pull in the entirety of libiberty.
14902 # Also, jam libintl into the right place in all of this: after libiberty,
14903 # which uses it, but before -lcygwin, which it uses.
14904 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
14905 if test -n "$x"; then
14906 CTF_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
14910 CTF_LIBADD
="$CTF_LIBADD $LIBINTL"
14912 if test "$enable_shared" = "yes"; then
14914 # More hacks to build DLLs on Windows.
14916 SHARED_LDFLAGS
="-no-undefined"
14917 CTF_LIBADD
="$CTF_LIBADD -lcygwin"
14924 # Extract the first word of "expect", so it can be a program name with args.
14925 set dummy expect
; ac_word
=$2
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14927 $as_echo_n "checking for $ac_word... " >&6; }
14928 if ${ac_cv_path_EXPECT+:} false
; then :
14929 $as_echo_n "(cached) " >&6
14933 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
14936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14937 for as_dir
in $PATH
14940 test -z "$as_dir" && as_dir
=.
14941 for ac_exec_ext
in '' $ac_executable_extensions; do
14942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14943 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
14944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14954 EXPECT
=$ac_cv_path_EXPECT
14955 if test -n "$EXPECT"; then
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
14957 $as_echo "$EXPECT" >&6; }
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14960 $as_echo "no" >&6; }
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl supporting try/catch" >&5
14965 $as_echo_n "checking for Tcl supporting try/catch... " >&6; }
14966 if ${ac_cv_libctf_tcl_try+:} false
; then :
14967 $as_echo_n "(cached) " >&6
14969 ac_cv_libctf_tcl_try
=`if test -z $EXPECT; then echo no; else $EXPECT << EOF
14970 if [llength [info commands try]] then { puts yes } else { puts no }
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_tcl_try" >&5
14976 $as_echo "$ac_cv_libctf_tcl_try" >&6; }
14979 if test "${ac_cv_libctf_tcl_try}" = "yes"; then
14984 # Use a version script, if possible, or an -export-symbols-regex otherwise.
14985 decommented_version_script
=
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker versioning flags" >&5
14987 $as_echo_n "checking for linker versioning flags... " >&6; }
14988 if ${ac_cv_libctf_version_script+:} false
; then :
14989 $as_echo_n "(cached) " >&6
14991 echo 'FOO { global: mai*; local: ctf_fo*; };' > conftest.ver
14992 old_LDFLAGS
="$LDFLAGS"
14993 old_CFLAGS
="$CFLAGS"
14994 LDFLAGS
="$LDFLAGS -shared -Wl,--version-script=conftest.ver"
14995 CFLAGS
="$CFLAGS -fPIC"
14996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14998 int ctf_foo (void) { return 0; }
14999 int main (void) { return ctf_foo(); }
15001 if ac_fn_c_try_link
"$LINENO"; then :
15002 ac_cv_libctf_version_script
="-Wl,--version-script='$srcdir/libctf.ver'"
15004 rm -f core conftest.err conftest.
$ac_objext \
15005 conftest
$ac_exeext conftest.
$ac_ext
15006 LDFLAGS
="$old_LDFLAGS"
15008 if test -z "$ac_cv_libctf_version_script"; then
15009 LDFLAGS
="$LDFLAGS -shared -Wl,-B,local -Wl,-z,gnu-version-script=conftest.ver"
15010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15012 int ctf_foo (void) { return 0; }
15013 int main (void) { return ctf_foo(); }
15015 if ac_fn_c_try_link
"$LINENO"; then :
15016 ac_cv_libctf_version_script
="-Wl,-B,local -Wl,-z,gnu-version-script"
15017 decommented_version_script
=t
15019 rm -f core conftest.err conftest.
$ac_objext \
15020 conftest
$ac_exeext conftest.
$ac_ext
15021 LDFLAGS
="$old_LDFLAGS"
15023 CFLAGS
="$old_CFLAGS"
15025 if test -z "$ac_cv_libctf_version_script"; then
15026 ac_cv_libctf_version_script
='-export-symbols-regex ctf_.*'
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_version_script" >&5
15031 $as_echo "$ac_cv_libctf_version_script" >&6; }
15032 if test -n "$decommented_version_script"; then
15033 # Solaris's version scripts use shell-style comments rather than the C-style
15034 # used by GNU ld. Use cpp to strip the comments out. (cpp exists under this
15035 # name on all platforms that support ld -z gnu-version-script.)
15036 # Also ensure that no symbols exist in the version script for libctf-nobfd.so
15037 # that do not exist in the shared library itself, since some linkers add such
15038 # symbols with type NOTYPE.
15039 /lib
/cpp
< $srcdir/libctf.ver
> libctf-decommented.ver
15040 grep -v 'libctf only' $srcdir/libctf.ver |
/lib
/cpp
> libctf-nobfd-decommented.ver
15041 VERSION_FLAGS
="$ac_cv_libctf_version_script='libctf-decommented.ver'"
15042 VERSION_FLAGS_NOBFD
="$ac_cv_libctf_version_script='libctf-nobfd-decommented.ver'"
15044 VERSION_FLAGS
="$ac_cv_libctf_version_script"
15045 VERSION_FLAGS_NOBFD
="$ac_cv_libctf_version_script"
15050 ac_config_files
="$ac_config_files Makefile"
15052 ac_config_headers
="$ac_config_headers config.h"
15054 cat >confcache
<<\_ACEOF
15055 # This file is a shell script that caches the results of configure
15056 # tests run on this system so they can be shared between configure
15057 # scripts and configure runs, see configure's option --config-cache.
15058 # It is not useful on other systems. If it contains results you don't
15059 # want to keep, you may remove or edit it.
15061 # config.status only pays attention to the cache file if you give it
15062 # the --recheck option to rerun configure.
15064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15066 # following values.
15070 # The following way of writing the cache mishandles newlines in values,
15071 # but we know of no workaround that is simple, portable, and efficient.
15072 # So, we kill variables containing newlines.
15073 # Ultrix sh set writes to stderr and can't be redirected directly,
15074 # and sets the high bit in the cache file unless we assign to the vars.
15076 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15077 eval ac_val
=\$
$ac_var
15081 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15082 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15085 _ | IFS | as_nl
) ;; #(
15086 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15087 *) { eval $ac_var=; unset $ac_var;} ;;
15093 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15094 *${as_nl}ac_space
=\
*)
15095 # `set' does not quote correctly, so add quotes: double-quote
15096 # substitution turns \\\\ into \\, and sed turns \\ into \.
15099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15102 # `set' quotes correctly as required by POSIX, so do not add quotes.
15103 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15112 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15114 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15116 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15117 if test -w "$cache_file"; then
15118 if test "x$cache_file" != "x/dev/null"; then
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15120 $as_echo "$as_me: updating cache $cache_file" >&6;}
15121 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15122 cat confcache
>"$cache_file"
15124 case $cache_file in #(
15126 mv -f confcache
"$cache_file"$$
&&
15127 mv -f "$cache_file"$$
"$cache_file" ;; #(
15129 mv -f confcache
"$cache_file" ;;
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15135 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15140 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15141 # Let make expand exec_prefix.
15142 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15144 DEFS
=-DHAVE_CONFIG_H
15149 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15150 # 1. Remove the extension, and $U if already installed.
15151 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15152 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15153 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15154 # will be set to the directory where LIBOBJS objects are built.
15155 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15156 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15158 LIBOBJS
=$ac_libobjs
15160 LTLIBOBJS
=$ac_ltlibobjs
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15164 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15165 if test -n "$am_sleep_pid"; then
15166 # Hide warnings about reused PIDs.
15167 wait $am_sleep_pid 2>/dev
/null
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15170 $as_echo "done" >&6; }
15171 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15172 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15175 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15176 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15179 if test -n "$EXEEXT"; then
15181 am__EXEEXT_FALSE
='#'
15183 am__EXEEXT_TRUE
='#'
15187 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15188 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15191 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
15192 as_fn_error $?
"conditional \"INSTALL_LIBBFD\" was never defined.
15193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15195 if test -z "${ENABLE_LIBCTF_HASH_DEBUGGING_TRUE}" && test -z "${ENABLE_LIBCTF_HASH_DEBUGGING_FALSE}"; then
15196 as_fn_error $?
"conditional \"ENABLE_LIBCTF_HASH_DEBUGGING\" was never defined.
15197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15200 if test -z "${NEED_CTF_QSORT_R_TRUE}" && test -z "${NEED_CTF_QSORT_R_FALSE}"; then
15201 as_fn_error $?
"conditional \"NEED_CTF_QSORT_R\" was never defined.
15202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15204 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
15205 as_fn_error $?
"conditional \"BUILD_INFO\" was never defined.
15206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15209 : "${CONFIG_STATUS=./config.status}"
15211 ac_clean_files_save
=$ac_clean_files
15212 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15214 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15216 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15218 # Generated by $as_me.
15219 # Run this file to recreate the current configuration.
15220 # Compiler output produced by configure, useful for debugging
15221 # configure, is in config.log if it exists.
15224 ac_cs_recheck=false
15227 SHELL=\${CONFIG_SHELL-$SHELL}
15230 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15231 ## -------------------- ##
15232 ## M4sh Initialization. ##
15233 ## -------------------- ##
15235 # Be more Bourne compatible
15236 DUALCASE
=1; export DUALCASE
# for MKS sh
15237 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15240 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15241 # is contrary to our usage. Disable this feature.
15242 alias -g '${1+"$@"}'='"$@"'
15243 setopt NO_GLOB_SUBST
15245 case `(set -o) 2>/dev/null` in #(
15257 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15258 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15259 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15260 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15261 # Prefer a ksh shell builtin over an external printf program on Solaris,
15262 # but without wasting forks for bash or zsh.
15263 if test -z "$BASH_VERSION$ZSH_VERSION" \
15264 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15265 as_echo='print
-r --'
15266 as_echo_n='print
-rn --'
15267 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15268 as_echo='printf %s
\n'
15269 as_echo_n='printf %s
'
15271 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15272 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15273 as_echo_n='/usr
/ucb
/echo -n'
15275 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15276 as_echo_n_body='eval
15280 expr "X$arg" : "X\\(.*\\)$as_nl";
15281 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15283 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15285 export as_echo_n_body
15286 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15288 export as_echo_body
15289 as_echo='sh
-c $as_echo_body as_echo
'
15292 # The user is always right.
15293 if test "${PATH_SEPARATOR+set}" != set; then
15295 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15296 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15303 # We need space, tab and new line, in precisely that order. Quoting is
15304 # there to prevent editors from complaining about space-tab.
15305 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15306 # splitting by setting IFS to empty value.)
15309 # Find who we are. Look in the path if we contain no directory separator.
15312 *[\\/]* ) as_myself=$0 ;;
15313 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15314 for as_dir in $PATH
15317 test -z "$as_dir" && as_dir=.
15318 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15324 # We did not find ourselves, most probably we were run as `sh COMMAND'
15325 # in which case we are not to be found in the path.
15326 if test "x$as_myself" = x
; then
15329 if test ! -f "$as_myself"; then
15330 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15334 # Unset variables that we do not need and which cause bugs (e.g. in
15335 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15336 # suppresses any "Segmentation fault" message there. '((' could
15337 # trigger a bug in pdksh 5.2.14.
15338 for as_var
in BASH_ENV ENV MAIL MAILPATH
15339 do eval test x\
${$as_var+set} = xset \
15340 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15353 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15356 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15357 # ----------------------------------------
15358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15360 # script with STATUS, using 1 if that was 0.
15363 as_status
=$1; test $as_status -eq 0 && as_status
=1
15365 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15368 $as_echo "$as_me: error: $2" >&2
15369 as_fn_exit
$as_status
15373 # as_fn_set_status STATUS
15374 # -----------------------
15375 # Set $? to STATUS, without forking.
15376 as_fn_set_status
()
15379 } # as_fn_set_status
15381 # as_fn_exit STATUS
15382 # -----------------
15383 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15387 as_fn_set_status
$1
15393 # Portably unset VAR.
15396 { eval $1=; unset $1;}
15398 as_unset
=as_fn_unset
15399 # as_fn_append VAR VALUE
15400 # ----------------------
15401 # Append the text in VALUE to the end of the definition contained in VAR. Take
15402 # advantage of any shell optimizations that allow amortized linear growth over
15403 # repeated appends, instead of the typical quadratic growth present in naive
15405 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15406 eval 'as_fn_append ()
15417 # as_fn_arith ARG...
15418 # ------------------
15419 # Perform arithmetic evaluation on the ARGs, and store the result in the
15420 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15421 # must be portable across $(()) and expr.
15422 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15423 eval 'as_fn_arith ()
15430 as_val
=`expr "$@" || test $? -eq 1`
15435 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15436 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15442 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15443 as_basename
=basename
15448 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15454 as_me
=`$as_basename -- "$0" ||
15455 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15456 X"$0" : 'X\(//\)$' \| \
15457 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15459 sed '/^.*\/\([^/][^/]*\)\/*$/{
15473 # Avoid depending upon Character Ranges.
15474 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15475 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15476 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15477 as_cr_digits
='0123456789'
15478 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15480 ECHO_C
= ECHO_N
= ECHO_T
=
15481 case `echo -n x` in #(((((
15483 case `echo 'xy\c'` in
15484 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15486 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15493 rm -f conf$$ conf$$.exe conf$$.
file
15494 if test -d conf$$.dir
; then
15495 rm -f conf$$.dir
/conf$$.
file
15498 mkdir conf$$.dir
2>/dev
/null
15500 if (echo >conf$$.
file) 2>/dev
/null
; then
15501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15503 # ... but there are two gotchas:
15504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15506 # In both cases, we have to default to `cp -pR'.
15507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15517 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15518 rmdir conf$$.dir
2>/dev
/null
15523 # Create "$as_dir" as a directory, including parents if necessary.
15528 -*) as_dir
=.
/$as_dir;;
15530 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15534 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15535 *) as_qdir
=$as_dir;;
15537 as_dirs
="'$as_qdir' $as_dirs"
15538 as_dir
=`$as_dirname -- "$as_dir" ||
15539 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15540 X"$as_dir" : 'X\(//\)[^/]' \| \
15541 X"$as_dir" : 'X\(//\)$' \| \
15542 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15543 $as_echo X"$as_dir" |
15544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15548 /^X\(\/\/\)[^/].*/{
15561 test -d "$as_dir" && break
15563 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15564 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15568 if mkdir
-p .
2>/dev
/null
; then
15569 as_mkdir_p
='mkdir -p "$as_dir"'
15571 test -d .
/-p && rmdir .
/-p
15576 # as_fn_executable_p FILE
15577 # -----------------------
15578 # Test if FILE is an executable regular file.
15579 as_fn_executable_p
()
15581 test -f "$1" && test -x "$1"
15582 } # as_fn_executable_p
15583 as_test_x
='test -x'
15584 as_executable_p
=as_fn_executable_p
15586 # Sed expression to map a string onto a valid CPP name.
15587 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15589 # Sed expression to map a string onto a valid variable name.
15590 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15594 ## ----------------------------------- ##
15595 ## Main body of $CONFIG_STATUS script. ##
15596 ## ----------------------------------- ##
15598 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15601 # Save the log message, to keep $0 and so on meaningful, and to
15602 # report actual input values of CONFIG_FILES etc. instead of their
15603 # values after options handling.
15605 This file was extended by libctf $as_me 1.2.0, which was
15606 generated by GNU Autoconf 2.69. Invocation command line was
15608 CONFIG_FILES = $CONFIG_FILES
15609 CONFIG_HEADERS = $CONFIG_HEADERS
15610 CONFIG_LINKS = $CONFIG_LINKS
15611 CONFIG_COMMANDS = $CONFIG_COMMANDS
15614 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15619 case $ac_config_files in *"
15620 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15623 case $ac_config_headers in *"
15624 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15629 # Files that config.status was made for.
15630 config_files="$ac_config_files"
15631 config_headers="$ac_config_headers"
15632 config_commands="$ac_config_commands"
15636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15638 \`$as_me' instantiates files and other configuration actions
15639 from templates according to the current configuration. Unless the files
15640 and actions are specified as TAGs, all are instantiated by default.
15642 Usage: $0 [OPTION]... [TAG]...
15644 -h, --help print this help, then exit
15645 -V, --version print version number and configuration settings, then exit
15646 --config print configuration, then exit
15647 -q, --quiet, --silent
15648 do not print progress messages
15649 -d, --debug don't remove temporary files
15650 --recheck update $as_me by reconfiguring in the same conditions
15651 --file=FILE[:TEMPLATE]
15652 instantiate the configuration file FILE
15653 --header=FILE[:TEMPLATE]
15654 instantiate the configuration header FILE
15656 Configuration files:
15659 Configuration headers:
15662 Configuration commands:
15665 Report bugs to the package provider."
15668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15669 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15671 libctf config.status 1.2.0
15672 configured by $0, generated by GNU Autoconf 2.69,
15673 with options \\"\$ac_cs_config\\"
15675 Copyright (C) 2012 Free Software Foundation, Inc.
15676 This config.status script is free software; the Free Software Foundation
15677 gives unlimited permission to copy, distribute and modify it."
15684 test -n "\$AWK" || AWK=awk
15687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15688 # The default lists apply if the user does not specify any file.
15694 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15695 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15699 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15711 # Handling of the options.
15712 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15714 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15715 $as_echo "$ac_cs_version"; exit ;;
15716 --config |
--confi |
--conf |
--con |
--co |
--c )
15717 $as_echo "$ac_cs_config"; exit ;;
15718 --debug |
--debu |
--deb |
--de |
--d |
-d )
15720 --file |
--fil |
--fi |
--f )
15723 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15724 '') as_fn_error $?
"missing file argument" ;;
15726 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15727 ac_need_defaults
=false
;;
15728 --header |
--heade |
--head |
--hea )
15731 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15733 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15734 ac_need_defaults
=false
;;
15736 # Conflict between --help and --header
15737 as_fn_error $?
"ambiguous option: \`$1'
15738 Try \`$0 --help' for more information.";;
15739 --help |
--hel |
-h )
15740 $as_echo "$ac_cs_usage"; exit ;;
15741 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15742 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15745 # This is an error.
15746 -*) as_fn_error $?
"unrecognized option: \`$1'
15747 Try \`$0 --help' for more information." ;;
15749 *) as_fn_append ac_config_targets
" $1"
15750 ac_need_defaults
=false
;;
15756 ac_configure_extra_args
=
15758 if $ac_cs_silent; then
15760 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15765 if \$ac_cs_recheck; then
15766 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15768 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15769 CONFIG_SHELL='$SHELL'
15770 export CONFIG_SHELL
15775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15779 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15780 ## Running $as_me. ##
15786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15790 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15793 # The HP-UX ksh and POSIX shell print the target directory to stdout
15794 # if CDPATH is set.
15795 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15797 sed_quote_subst='$sed_quote_subst'
15798 double_quote_subst='$double_quote_subst'
15799 delay_variable_subst='$delay_variable_subst'
15800 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15801 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15802 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15803 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15804 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15805 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15806 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15807 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15808 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15809 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15810 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15811 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15812 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15813 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15814 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15815 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15816 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15817 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15818 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15819 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15820 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15821 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15822 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15823 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15824 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15825 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15826 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15827 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15828 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15829 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15830 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15831 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15832 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15833 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15834 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15835 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15836 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15837 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15838 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15839 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15840 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15841 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15842 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15843 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15844 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15845 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15846 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15847 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15848 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"`'
15849 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15850 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15851 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15852 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15853 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15854 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15855 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15856 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15857 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15858 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15859 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15860 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15861 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15862 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15863 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15864 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15865 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15866 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15867 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15868 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15869 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15870 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15871 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15872 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15873 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15874 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15875 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15876 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15877 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15878 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15879 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15880 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15881 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15882 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15883 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15884 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15885 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15886 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15887 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15888 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15889 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15890 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15891 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15892 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15893 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15894 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15895 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15896 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15897 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15898 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15899 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15900 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15901 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15902 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15903 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15904 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15905 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15906 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15907 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15908 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15909 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15910 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15911 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15912 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15913 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15914 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15915 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15916 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15917 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15918 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15919 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15922 LTCFLAGS='$LTCFLAGS'
15923 compiler='$compiler_DEFAULT'
15925 # A function that is used when there is no print builtin or printf.
15926 func_fallback_echo ()
15928 eval 'cat <<_LTECHO_EOF
15933 # Quote evaled strings.
15947 deplibs_check_method \
15956 lt_cv_sys_global_symbol_pipe \
15957 lt_cv_sys_global_symbol_to_cdecl \
15958 lt_cv_sys_global_symbol_to_c_name_address \
15959 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15960 lt_prog_compiler_no_builtin_flag \
15961 lt_prog_compiler_wl \
15962 lt_prog_compiler_pic \
15963 lt_prog_compiler_static \
15964 lt_cv_prog_compiler_c_o \
15972 export_dynamic_flag_spec \
15973 whole_archive_flag_spec \
15974 compiler_needs_object \
15976 allow_undefined_flag \
15977 no_undefined_flag \
15978 hardcode_libdir_flag_spec \
15979 hardcode_libdir_flag_spec_ld \
15980 hardcode_libdir_separator \
15985 variables_saved_for_relink \
15987 library_names_spec \
15989 install_override_mode \
15993 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15994 *[\\\\\\\`\\"\\\$]*)
15995 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15998 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16003 # Double-quote double-evaled strings.
16004 for var in reload_cmds \
16005 old_postinstall_cmds \
16006 old_postuninstall_cmds \
16008 extract_expsyms_cmds \
16009 old_archive_from_new_cmds \
16010 old_archive_from_expsyms_cmds \
16012 archive_expsym_cmds \
16014 module_expsym_cmds \
16015 export_symbols_cmds \
16018 postuninstall_cmds \
16020 sys_lib_search_path_spec \
16021 sys_lib_dlsearch_path_spec; do
16022 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16023 *[\\\\\\\`\\"\\\$]*)
16024 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16027 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16032 ac_aux_dir='$ac_aux_dir'
16033 xsi_shell='$xsi_shell'
16034 lt_shell_append='$lt_shell_append'
16036 # See if we are running on zsh, and set the options which allow our
16037 # commands through without removal of \ escapes INIT.
16038 if test -n "\${ZSH_VERSION+set}" ; then
16039 setopt NO_GLOB_SUBST
16045 TIMESTAMP='$TIMESTAMP'
16049 ac_aux_dir='$ac_aux_dir'
16055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16057 # Handling of arguments.
16058 for ac_config_target
in $ac_config_targets
16060 case $ac_config_target in
16061 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16062 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16063 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16064 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16066 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16071 # If the user did not use the arguments to specify the items to instantiate,
16072 # then the envvar interface is used. Set only those that are not.
16073 # We use the long form for the default assignment because of an extremely
16074 # bizarre bug on SunOS 4.1.3.
16075 if $ac_need_defaults; then
16076 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16077 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16078 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16081 # Have a temporary directory for convenience. Make it in the build tree
16082 # simply because there is no reason against having it here, and in addition,
16083 # creating and moving files from /tmp can sometimes cause problems.
16084 # Hook for its removal unless debugging.
16085 # Note that there is a small window in which the directory will not be cleaned:
16086 # after its creation but before its name has been assigned to `$tmp'.
16090 trap 'exit_status=$?
16091 : "${ac_tmp:=$tmp}"
16092 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16094 trap 'as_fn_exit 1' 1 2 13 15
16096 # Create a (secure) tmp directory for tmp files.
16099 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16103 tmp
=.
/conf$$
-$RANDOM
16104 (umask 077 && mkdir
"$tmp")
16105 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16108 # Set up the scripts for CONFIG_FILES section.
16109 # No need to generate them if there are no CONFIG_FILES.
16110 # This happens for instance with `./config.status config.h'.
16111 if test -n "$CONFIG_FILES"; then
16114 ac_cr
=`echo X | tr X '\015'`
16115 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16116 # But we know of no other shell where ac_cr would be empty at this
16117 # point, so we can use a bashism as a fallback.
16118 if test "x$ac_cr" = x
; then
16119 eval ac_cr
=\$
\'\\r
\'
16121 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16122 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16125 ac_cs_awk_cr
=$ac_cr
16128 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16133 echo "cat >conf$$subs.awk <<_ACEOF" &&
16134 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16136 } >conf$$subs.sh ||
16137 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16138 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16140 for ac_last_try in false false false false false :; do
16141 . ./conf$$subs.sh ||
16142 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16144 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16145 if test $ac_delim_n = $ac_delim_num; then
16147 elif $ac_last_try; then
16148 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16150 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16153 rm -f conf$$subs.sh
16155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16156 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16160 s/^/S["/; s
/!.
*/"]=/
16170 s/\(.\{148\}\)..*/\1/
16172 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16177 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16184 s/\(.\{148\}\)..*/\1/
16186 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16190 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16195 ' <conf$$subs.awk | sed '
16200 ' >>$CONFIG_STATUS || ac_write_fail=1
16201 rm -f conf$$subs.awk
16202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16204 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16205 for (key in S) S_is_set[key] = 1
16211 nfields = split(line, field, "@
")
16213 len = length(field[1])
16214 for (i = 2; i < nfields; i++) {
16216 keylen = length(key)
16217 if (S_is_set[key]) {
16219 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16220 len += length(value) + length(field[++i])
16231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16232 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16233 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16236 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16237 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16240 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16241 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16242 # trailing colons and then remove the whole line if VPATH becomes empty
16243 # (actually we leave an empty line to preserve line numbers).
16244 if test "x
$srcdir" = x.; then
16245 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16264 fi # test -n "$CONFIG_FILES"
16266 # Set up the scripts for CONFIG_HEADERS section.
16267 # No need to generate them if there are no CONFIG_HEADERS.
16268 # This happens for instance with `./config.status Makefile'.
16269 if test -n "$CONFIG_HEADERS"; then
16270 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16274 # Transform confdefs.h into an awk script `defines.awk', embedded as
16275 # here-document in config.status, that substitutes the proper values into
16276 # config.h.in to produce config.h.
16278 # Create a delimiter string that does not exist in confdefs.h, to ease
16279 # handling of long lines.
16281 for ac_last_try in false false :; do
16282 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16283 if test -z "$ac_tt"; then
16285 elif $ac_last_try; then
16286 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16288 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16292 # For the awk script, D is an array of macro values keyed by name,
16293 # likewise P contains macro parameters if any. Preserve backslash
16294 # newline sequences.
16296 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16298 s/.\{148\}/&'"$ac_delim"'/g
16301 s/^[ ]*#[ ]*define[ ][ ]*/ /
16308 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16310 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16314 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16315 D["\
1"]=" \
3\\\\\\n
"\\/p
16317 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16322 s/.\{148\}/&'"$ac_delim"'/g
16327 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16330 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16332 ' <confdefs.h | sed '
16333 s/'"$ac_delim"'/"\\\
16334 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16337 for (key in D) D_is_set[key] = 1
16340 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16342 split(line, arg, " ")
16343 if (arg[1] == "#") {
16347 defundef
= substr
(arg
[1], 2)
16350 split(mac1
, mac2
, "(") #)
16352 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16353 if (D_is_set
[macro
]) {
16354 # Preserve the white space surrounding the "#".
16355 print prefix
"define", macro P
[macro
] D
[macro
]
16358 # Replace #undef with comments. This is necessary, for example,
16359 # in the case of _POSIX_SOURCE, which is predefined and required
16360 # on some systems where configure will not decide to define it.
16361 if (defundef
== "undef") {
16362 print
"/*", prefix defundef
, macro
, "*/"
16370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16371 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16372 fi # test -n "$CONFIG_HEADERS"
16375 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16380 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16382 case $ac_mode$ac_tag in
16384 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16385 :[FH
]-) ac_tag
=-:-;;
16386 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16403 -) ac_f
="$ac_tmp/stdin";;
16404 *) # Look for the file first in the build tree, then in the source tree
16405 # (if the path is not absolute). The absolute path cannot be DOS-style,
16406 # because $ac_f cannot contain `:'.
16410 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16412 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16414 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16415 as_fn_append ac_file_inputs
" '$ac_f'"
16418 # Let's still pretend it is `configure' which instantiates (i.e., don't
16419 # use $as_me), people would be surprised to read:
16420 # /* config.h. Generated by config.status. */
16421 configure_input
='Generated from '`
16422 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16424 if test x
"$ac_file" != x-
; then
16425 configure_input
="$ac_file. $configure_input"
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16427 $as_echo "$as_me: creating $ac_file" >&6;}
16429 # Neutralize special characters interpreted by sed in replacement strings.
16430 case $configure_input in #(
16431 *\
&* |
*\|
* |
*\\* )
16432 ac_sed_conf_input
=`$as_echo "$configure_input" |
16433 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16434 *) ac_sed_conf_input
=$configure_input;;
16438 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16439 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16444 ac_dir
=`$as_dirname -- "$ac_file" ||
16445 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16446 X"$ac_file" : 'X\(//\)[^/]' \| \
16447 X"$ac_file" : 'X\(//\)$' \| \
16448 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16449 $as_echo X"$ac_file" |
16450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16454 /^X\(\/\/\)[^/].*/{
16467 as_dir
="$ac_dir"; as_fn_mkdir_p
16471 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16473 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16474 # A ".." for each directory in $ac_dir_suffix.
16475 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16476 case $ac_top_builddir_sub in
16477 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16478 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16481 ac_abs_top_builddir
=$ac_pwd
16482 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16483 # for backward compatibility:
16484 ac_top_builddir
=$ac_top_build_prefix
16487 .
) # We are building in place.
16489 ac_top_srcdir
=$ac_top_builddir_sub
16490 ac_abs_top_srcdir
=$ac_pwd ;;
16491 [\\/]* | ?
:[\\/]* ) # Absolute name.
16492 ac_srcdir
=$srcdir$ac_dir_suffix;
16493 ac_top_srcdir
=$srcdir
16494 ac_abs_top_srcdir
=$srcdir ;;
16495 *) # Relative name.
16496 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16497 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16498 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16500 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16510 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16511 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16513 ac_MKDIR_P
=$MKDIR_P
16515 [\\/$
]* | ?
:[\\/]* ) ;;
16516 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16521 # If the template does not know about datarootdir, expand it.
16522 # FIXME: This hack should be removed a few years after 2.60.
16523 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16534 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16535 *datarootdir
*) ac_datarootdir_seen
=yes;;
16536 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16538 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16541 ac_datarootdir_hack='
16542 s&@datadir@&$datadir&g
16543 s&@docdir@&$docdir&g
16544 s&@infodir@&$infodir&g
16545 s&@localedir@&$localedir&g
16546 s&@mandir@&$mandir&g
16547 s&\\\${datarootdir}&$datarootdir&g' ;;
16551 # Neutralize VPATH when `$srcdir' = `.'.
16552 # Shell code in configure.ac might set extrasub.
16553 # FIXME: do we really want to maintain this feature?
16554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16555 ac_sed_extra="$ac_vpsub
16558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16560 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16561 s|@configure_input@|
$ac_sed_conf_input|
;t t
16562 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16563 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16564 s
&@srcdir@
&$ac_srcdir&;t t
16565 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16566 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16567 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16568 s
&@builddir@
&$ac_builddir&;t t
16569 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16570 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16571 s
&@INSTALL@
&$ac_INSTALL&;t t
16572 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16573 $ac_datarootdir_hack
16575 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16576 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16578 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16579 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16580 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16581 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16583 which seems to be undefined. Please make sure it is defined" >&5
16584 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16585 which seems to be undefined. Please make sure it is defined" >&2;}
16587 rm -f "$ac_tmp/stdin"
16589 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16590 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16592 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16598 if test x"$ac_file" != x-; then
16600 $as_echo "/* $configure_input */" \
16601 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16602 } >"$ac_tmp/config.h" \
16603 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16604 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16606 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16609 mv "$ac_tmp/config.h" "$ac_file" \
16610 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16613 $as_echo "/* $configure_input */" \
16614 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16615 || as_fn_error $? "could not create -" "$LINENO" 5
16617 # Compute "$ac_file"'s index
in $config_headers.
16620 for _am_header
in $config_headers :; do
16621 case $_am_header in
16622 $_am_arg |
$_am_arg:* )
16625 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16628 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16629 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16630 X"$_am_arg" : 'X\(//\)[^/]' \| \
16631 X"$_am_arg" : 'X\(//\)$' \| \
16632 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16633 $as_echo X"$_am_arg" |
16634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16638 /^X\(\/\/\)[^/].*/{
16650 s/.*/./; q'`/stamp-h
$_am_stamp_count
16653 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16654 $as_echo "$as_me: executing $ac_file commands" >&6;}
16659 case $ac_file$ac_mode in
16660 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16661 # Older Autoconf quotes --file arguments for eval, but not when files
16662 # are listed without --file. Let's play safe and only enable the eval
16663 # if we detect the quoting.
16664 case $CONFIG_FILES in
16665 *\'*) eval set x
"$CONFIG_FILES" ;;
16666 *) set x
$CONFIG_FILES ;;
16671 # Strip MF so we end up with the name of the file.
16672 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16673 # Check whether this is an Automake generated Makefile or not.
16674 # We used to match only the files named 'Makefile.in', but
16675 # some people rename them; so instead we look at the file content.
16676 # Grep'ing the first line is not enough: some people post-process
16677 # each Makefile.in and add a new line on top of each file to say so.
16678 # Grep'ing the whole file is not good either: AIX grep has a line
16679 # limit of 2048, but all sed's we know have understand at least 4000.
16680 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16681 dirpart
=`$as_dirname -- "$mf" ||
16682 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16683 X"$mf" : 'X\(//\)[^/]' \| \
16684 X"$mf" : 'X\(//\)$' \| \
16685 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16691 /^X\(\/\/\)[^/].*/{
16707 # Extract the definition of DEPDIR, am__include, and am__quote
16708 # from the Makefile without running 'make'.
16709 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16710 test -z "$DEPDIR" && continue
16711 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16712 test -z "$am__include" && continue
16713 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16714 # Find all dependency output files, they are included files with
16715 # $(DEPDIR) in their names. We invoke sed twice because it is the
16716 # simplest approach to changing $(DEPDIR) to its actual value in the
16718 for file in `sed -n "
16719 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16720 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16721 # Make sure the directory exists.
16722 test -f "$dirpart/$file" && continue
16723 fdir
=`$as_dirname -- "$file" ||
16724 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16725 X"$file" : 'X\(//\)[^/]' \| \
16726 X"$file" : 'X\(//\)$' \| \
16727 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16728 $as_echo X"$file" |
16729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16733 /^X\(\/\/\)[^/].*/{
16746 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16747 # echo "creating $dirpart/$file"
16748 echo '# dummy' > "$dirpart/$file"
16755 # See if we are running on zsh, and set the options which allow our
16756 # commands through without removal of \ escapes.
16757 if test -n "${ZSH_VERSION+set}" ; then
16758 setopt NO_GLOB_SUBST
16761 cfgfile
="${ofile}T"
16762 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16765 cat <<_LT_EOF >> "$cfgfile"
16768 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16769 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16770 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16771 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16773 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16774 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16775 # Written by Gordon Matzigkeit, 1996
16777 # This file is part of GNU Libtool.
16779 # GNU Libtool is free software; you can redistribute it and/or
16780 # modify it under the terms of the GNU General Public License as
16781 # published by the Free Software Foundation; either version 2 of
16782 # the License, or (at your option) any later version.
16784 # As a special exception to the GNU General Public License,
16785 # if you distribute this file as part of a program or library that
16786 # is built using GNU Libtool, you may include this file under the
16787 # same distribution terms that you use for the rest of that program.
16789 # GNU Libtool is distributed in the hope that it will be useful,
16790 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16791 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16792 # GNU General Public License for more details.
16794 # You should have received a copy of the GNU General Public License
16795 # along with GNU Libtool; see the file COPYING. If not, a copy
16796 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16797 # obtained by writing to the Free Software Foundation, Inc.,
16798 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16801 # The names of the tagged configurations supported by this script.
16804 # ### BEGIN LIBTOOL CONFIG
16806 # Whether or not to build shared libraries.
16807 build_libtool_libs=$enable_shared
16809 # Which release of libtool.m4 was used?
16810 macro_version=$macro_version
16811 macro_revision=$macro_revision
16813 # Whether or not to build static libraries.
16814 build_old_libs=$enable_static
16816 # What type of objects to build.
16819 # Whether or not to optimize for fast installation.
16820 fast_install=$enable_fast_install
16822 # Shell to use when invoking shell scripts.
16825 # An echo program that protects backslashes.
16829 host_alias=$host_alias
16833 # The build system.
16834 build_alias=$build_alias
16838 # A sed program that does not truncate output.
16841 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16842 Xsed="\$SED -e 1s/^X//"
16844 # A grep program that handles long lines.
16850 # A literal string matcher.
16853 # A BSD- or MS-compatible name lister.
16856 # Whether we need soft or hard links.
16859 # What is the maximum length of a command?
16860 max_cmd_len=$max_cmd_len
16862 # Object file suffix (normally "o").
16865 # Executable file suffix (normally "").
16868 # whether the shell understands "unset".
16871 # turn spaces into newlines.
16874 # turn newlines into spaces.
16877 # An object symbol dumper.
16878 OBJDUMP=$lt_OBJDUMP
16880 # Method to check whether dependent libraries are shared objects.
16881 deplibs_check_method=$lt_deplibs_check_method
16883 # Command to use when deplibs_check_method == "file_magic".
16884 file_magic_cmd=$lt_file_magic_cmd
16888 AR_FLAGS=$lt_AR_FLAGS
16890 # A symbol stripping program.
16893 # Commands used to install an old-style archive.
16895 old_postinstall_cmds=$lt_old_postinstall_cmds
16896 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16898 # Whether to use a lock for old archive extraction.
16899 lock_old_archive_extraction=$lock_old_archive_extraction
16904 # LTCC compiler flags.
16905 LTCFLAGS=$lt_CFLAGS
16907 # Take the output of nm and produce a listing of raw symbols and C names.
16908 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16910 # Transform the output of nm in a proper C declaration.
16911 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16913 # Transform the output of nm in a C name address pair.
16914 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16916 # Transform the output of nm in a C name address pair when lib prefix is needed.
16917 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16919 # The name of the directory that contains temporary libtool files.
16922 # Used to examine libraries when file_magic_cmd begins with "file".
16923 MAGIC_CMD=$MAGIC_CMD
16925 # Must we lock files when doing compilation?
16926 need_locks=$lt_need_locks
16928 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16929 DSYMUTIL=$lt_DSYMUTIL
16931 # Tool to change global to local symbols on Mac OS X.
16934 # Tool to manipulate fat objects and archives on Mac OS X.
16937 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16940 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16941 OTOOL64=$lt_OTOOL64
16943 # Old archive suffix (normally "a").
16946 # Shared library suffix (normally ".so").
16947 shrext_cmds=$lt_shrext_cmds
16949 # The commands to extract the exported symbol list from a shared archive.
16950 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16952 # Variables whose values should be saved in libtool wrapper scripts and
16953 # restored at link time.
16954 variables_saved_for_relink=$lt_variables_saved_for_relink
16956 # Do we need the "lib" prefix for modules?
16957 need_lib_prefix=$need_lib_prefix
16959 # Do we need a version for libraries?
16960 need_version=$need_version
16962 # Library versioning type.
16963 version_type=$version_type
16965 # Shared library runtime path variable.
16966 runpath_var=$runpath_var
16968 # Shared library path variable.
16969 shlibpath_var=$shlibpath_var
16971 # Is shlibpath searched before the hard-coded library search path?
16972 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16974 # Format of library name prefix.
16975 libname_spec=$lt_libname_spec
16977 # List of archive names. First name is the real one, the rest are links.
16978 # The last name is the one that the linker finds with -lNAME
16979 library_names_spec=$lt_library_names_spec
16981 # The coded name of the library, if different from the real name.
16982 soname_spec=$lt_soname_spec
16984 # Permission mode override for installation of shared libraries.
16985 install_override_mode=$lt_install_override_mode
16987 # Command to use after installation of a shared archive.
16988 postinstall_cmds=$lt_postinstall_cmds
16990 # Command to use after uninstallation of a shared archive.
16991 postuninstall_cmds=$lt_postuninstall_cmds
16993 # Commands used to finish a libtool library installation in a directory.
16994 finish_cmds=$lt_finish_cmds
16996 # As "finish_cmds", except a single script fragment to be evaled but
16998 finish_eval=$lt_finish_eval
17000 # Whether we should hardcode library paths into libraries.
17001 hardcode_into_libs=$hardcode_into_libs
17003 # Compile-time system search path for libraries.
17004 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17006 # Run-time system search path for libraries.
17007 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17009 # Whether dlopen is supported.
17010 dlopen_support=$enable_dlopen
17012 # Whether dlopen of programs is supported.
17013 dlopen_self=$enable_dlopen_self
17015 # Whether dlopen of statically linked programs is supported.
17016 dlopen_self_static=$enable_dlopen_self_static
17018 # Commands to strip libraries.
17019 old_striplib=$lt_old_striplib
17020 striplib=$lt_striplib
17023 # The linker used to build libraries.
17026 # How to create reloadable object files.
17027 reload_flag=$lt_reload_flag
17028 reload_cmds=$lt_reload_cmds
17030 # Commands used to build an old-style archive.
17031 old_archive_cmds=$lt_old_archive_cmds
17033 # A language specific compiler.
17036 # Is the compiler the GNU compiler?
17039 # Compiler flag to turn off builtin functions.
17040 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17042 # How to pass a linker flag through the compiler.
17043 wl=$lt_lt_prog_compiler_wl
17045 # Additional compiler flags for building library objects.
17046 pic_flag=$lt_lt_prog_compiler_pic
17048 # Compiler flag to prevent dynamic linking.
17049 link_static_flag=$lt_lt_prog_compiler_static
17051 # Does compiler simultaneously support -c and -o options?
17052 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17054 # Whether or not to add -lc for building shared libraries.
17055 build_libtool_need_lc=$archive_cmds_need_lc
17057 # Whether or not to disallow shared libs when runtime libs are static.
17058 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17060 # Compiler flag to allow reflexive dlopens.
17061 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17063 # Compiler flag to generate shared objects directly from archives.
17064 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17066 # Whether the compiler copes with passing no objects directly.
17067 compiler_needs_object=$lt_compiler_needs_object
17069 # Create an old-style archive from a shared archive.
17070 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17072 # Create a temporary old-style archive to link instead of a shared archive.
17073 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17075 # Commands used to build a shared archive.
17076 archive_cmds=$lt_archive_cmds
17077 archive_expsym_cmds=$lt_archive_expsym_cmds
17079 # Commands used to build a loadable module if different from building
17080 # a shared archive.
17081 module_cmds=$lt_module_cmds
17082 module_expsym_cmds=$lt_module_expsym_cmds
17084 # Whether we are building with GNU ld or not.
17085 with_gnu_ld=$lt_with_gnu_ld
17087 # Flag that allows shared libraries with undefined symbols to be built.
17088 allow_undefined_flag=$lt_allow_undefined_flag
17090 # Flag that enforces no undefined symbols.
17091 no_undefined_flag=$lt_no_undefined_flag
17093 # Flag to hardcode \$libdir into a binary during linking.
17094 # This must work even if \$libdir does not exist
17095 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17097 # If ld is used when linking, flag to hardcode \$libdir into a binary
17098 # during linking. This must work even if \$libdir does not exist.
17099 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17101 # Whether we need a single "-rpath" flag with a separated argument.
17102 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17104 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17105 # DIR into the resulting binary.
17106 hardcode_direct=$hardcode_direct
17108 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17109 # DIR into the resulting binary and the resulting library dependency is
17110 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17111 # library is relocated.
17112 hardcode_direct_absolute=$hardcode_direct_absolute
17114 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17115 # into the resulting binary.
17116 hardcode_minus_L=$hardcode_minus_L
17118 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17119 # into the resulting binary.
17120 hardcode_shlibpath_var=$hardcode_shlibpath_var
17122 # Set to "yes" if building a shared library automatically hardcodes DIR
17123 # into the library and all subsequent libraries and executables linked
17125 hardcode_automatic=$hardcode_automatic
17127 # Set to yes if linker adds runtime paths of dependent libraries
17128 # to runtime path list.
17129 inherit_rpath=$inherit_rpath
17131 # Whether libtool must link a program against all its dependency libraries.
17132 link_all_deplibs=$link_all_deplibs
17134 # Fix the shell variable \$srcfile for the compiler.
17135 fix_srcfile_path=$lt_fix_srcfile_path
17137 # Set to "yes" if exported symbols are required.
17138 always_export_symbols=$always_export_symbols
17140 # The commands to list exported symbols.
17141 export_symbols_cmds=$lt_export_symbols_cmds
17143 # Symbols that should not be listed in the preloaded symbols.
17144 exclude_expsyms=$lt_exclude_expsyms
17146 # Symbols that must always be exported.
17147 include_expsyms=$lt_include_expsyms
17149 # Commands necessary for linking programs (against libraries) with templates.
17150 prelink_cmds=$lt_prelink_cmds
17152 # Specify filename containing input files.
17153 file_list_spec=$lt_file_list_spec
17155 # How to hardcode a shared library path into an executable.
17156 hardcode_action=$hardcode_action
17158 # ### END LIBTOOL CONFIG
17164 cat <<\_LT_EOF
>> "$cfgfile"
17165 # AIX sometimes has problems with the GCC collect2 program. For some
17166 # reason, if we set the COLLECT_NAMES environment variable, the problems
17167 # vanish in a puff of smoke.
17168 if test "X${COLLECT_NAMES+set}" != Xset
; then
17170 export COLLECT_NAMES
17177 ltmain
="$ac_aux_dir/ltmain.sh"
17180 # We use sed instead of cat because bash on DJGPP gets confused if
17181 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17182 # text mode, it properly converts lines to CR/LF. This bash problem
17183 # is reportedly fixed, but why not run on old versions too?
17184 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17185 ||
(rm -f "$cfgfile"; exit 1)
17189 cat << \_LT_EOF
>> "$cfgfile"
17191 # func_dirname file append nondir_replacement
17192 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17193 # otherwise set result to NONDIR_REPLACEMENT.
17197 */*) func_dirname_result
="${1%/*}${2}" ;;
17198 * ) func_dirname_result
="${3}" ;;
17202 # func_basename file
17205 func_basename_result
="${1##*/}"
17208 # func_dirname_and_basename file append nondir_replacement
17209 # perform func_basename and func_dirname in a single function
17211 # dirname: Compute the dirname of FILE. If nonempty,
17212 # add APPEND to the result, otherwise set result
17213 # to NONDIR_REPLACEMENT.
17214 # value returned in "$func_dirname_result"
17215 # basename: Compute filename of FILE.
17216 # value retuned in "$func_basename_result"
17217 # Implementation must be kept synchronized with func_dirname
17218 # and func_basename. For efficiency, we do not delegate to
17219 # those functions but instead duplicate the functionality here.
17220 func_dirname_and_basename
()
17223 */*) func_dirname_result
="${1%/*}${2}" ;;
17224 * ) func_dirname_result
="${3}" ;;
17226 func_basename_result
="${1##*/}"
17229 # func_stripname prefix suffix name
17230 # strip PREFIX and SUFFIX off of NAME.
17231 # PREFIX and SUFFIX must not contain globbing or regex special
17232 # characters, hashes, percent signs, but SUFFIX may contain a leading
17233 # dot (in which case that matches only a dot).
17236 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17237 # positional parameters, so assign one to ordinary parameter first.
17238 func_stripname_result
=${3}
17239 func_stripname_result
=${func_stripname_result#"${1}"}
17240 func_stripname_result
=${func_stripname_result%"${2}"}
17246 func_opt_split_opt
=${1%%=*}
17247 func_opt_split_arg
=${1#*=}
17254 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17255 *) func_lo2o_result
=${1} ;;
17259 # func_xform libobj-or-source
17262 func_xform_result
=${1%.*}.lo
17265 # func_arith arithmetic-term...
17268 func_arith_result
=$
(( $
* ))
17272 # STRING may not start with a hyphen.
17275 func_len_result
=${#1}
17280 *) # Bourne compatible functions.
17281 cat << \_LT_EOF
>> "$cfgfile"
17283 # func_dirname file append nondir_replacement
17284 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17285 # otherwise set result to NONDIR_REPLACEMENT.
17288 # Extract subdirectory from the argument.
17289 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17290 if test "X$func_dirname_result" = "X${1}"; then
17291 func_dirname_result
="${3}"
17293 func_dirname_result
="$func_dirname_result${2}"
17297 # func_basename file
17300 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17304 # func_stripname prefix suffix name
17305 # strip PREFIX and SUFFIX off of NAME.
17306 # PREFIX and SUFFIX must not contain globbing or regex special
17307 # characters, hashes, percent signs, but SUFFIX may contain a leading
17308 # dot (in which case that matches only a dot).
17309 # func_strip_suffix prefix name
17313 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17314 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17319 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17320 my_sed_long_arg
='1s/^-[^=]*=//'
17325 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17326 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17332 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17335 # func_xform libobj-or-source
17338 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17341 # func_arith arithmetic-term...
17344 func_arith_result
=`expr "$@"`
17348 # STRING may not start with a hyphen.
17351 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17357 case $lt_shell_append in
17359 cat << \_LT_EOF
>> "$cfgfile"
17361 # func_append var value
17362 # Append VALUE to the end of shell variable VAR.
17370 cat << \_LT_EOF
>> "$cfgfile"
17372 # func_append var value
17373 # Append VALUE to the end of shell variable VAR.
17384 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17385 ||
(rm -f "$cfgfile"; exit 1)
17387 mv -f "$cfgfile" "$ofile" ||
17388 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17399 ac_clean_files
=$ac_clean_files_save
17401 test $ac_write_fail = 0 ||
17402 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17405 # configure is writing to config.log, and then calls config.status.
17406 # config.status does its own redirection, appending to config.log.
17407 # Unfortunately, on DOS this fails, as config.log is still kept open
17408 # by configure, so config.status won't be able to write to it; its
17409 # output is simply discarded. So we exec the FD to /dev/null,
17410 # effectively closing config.log, so it can be properly (re)opened and
17411 # appended to by config.status. When coming back to configure, we
17412 # need to make the FD available again.
17413 if test "$no_create" != yes; then
17415 ac_config_status_args
=
17416 test "$silent" = yes &&
17417 ac_config_status_args
="$ac_config_status_args --quiet"
17419 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17421 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17422 # would make configure fail if this is the last instruction.
17423 $ac_cs_success || as_fn_exit
1
17425 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17427 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17432 touch config.status.tmp
17433 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
17434 sed '/as_fn_exit 0/i \
17435 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
17436 touch --reference=Makefile Makefile.tmp \
17437 mv Makefile.tmp Makefile \
17438 ' config.status
> config.status.tmp
17439 touch --reference=config.status config.status.tmp
17440 mv config.status.tmp config.status
17441 chmod +x config.status
17442 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
17443 touch --reference=Makefile Makefile.tmp
17444 mv Makefile.tmp Makefile
17446 rm -f config.status.tmp