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
647 NEED_CTF_QSORT_R_FALSE
648 NEED_CTF_QSORT_R_TRUE
649 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
650 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
658 ac_libctf_warn_cflags
666 MAINTAINER_MODE_FALSE
723 INSTALL_STRIP_PROGRAM
787 program_transform_name
800 enable_option_checking
801 enable_dependency_tracking
811 enable_maintainer_mode
812 enable_install_libbfd
815 enable_libctf_hash_debugging
817 ac_precious_vars
='build_alias
833 # Initialize some variables set by options.
835 ac_init_version
=false
836 ac_unrecognized_opts
=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
847 program_transform_name
=s
,x
,x
,
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir
='${exec_prefix}/bin'
862 sbindir
='${exec_prefix}/sbin'
863 libexecdir
='${exec_prefix}/libexec'
864 datarootdir
='${prefix}/share'
865 datadir
='${datarootdir}'
866 sysconfdir
='${prefix}/etc'
867 sharedstatedir
='${prefix}/com'
868 localstatedir
='${prefix}/var'
869 includedir
='${prefix}/include'
870 oldincludedir
='/usr/include'
871 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
872 infodir
='${datarootdir}/info'
877 libdir
='${exec_prefix}/lib'
878 localedir
='${datarootdir}/locale'
879 mandir
='${datarootdir}/man'
885 # If the previous option needs an argument, assign it.
886 if test -n "$ac_prev"; then
887 eval $ac_prev=\
$ac_option
893 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898 # Accept the important Cygnus configure options, so we can diagnose typos.
900 case $ac_dashdash$ac_option in
904 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
906 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
909 -build |
--build |
--buil |
--bui |
--bu)
910 ac_prev
=build_alias
;;
911 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
912 build_alias
=$ac_optarg ;;
914 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
915 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
916 ac_prev
=cache_file
;;
917 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
918 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
919 cache_file
=$ac_optarg ;;
922 cache_file
=config.cache
;;
924 -datadir |
--datadir |
--datadi |
--datad)
926 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
927 datadir
=$ac_optarg ;;
929 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
930 |
--dataroo |
--dataro |
--datar)
931 ac_prev
=datarootdir
;;
932 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
933 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
934 datarootdir
=$ac_optarg ;;
936 -disable-* |
--disable-*)
937 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
940 as_fn_error $?
"invalid feature name: $ac_useropt"
941 ac_useropt_orig
=$ac_useropt
942 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948 ac_unrecognized_sep
=', ';;
950 eval enable_
$ac_useropt=no
;;
952 -docdir |
--docdir |
--docdi |
--doc |
--do)
954 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
957 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
959 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
962 -enable-* |
--enable-*)
963 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
966 as_fn_error $?
"invalid feature name: $ac_useropt"
967 ac_useropt_orig
=$ac_useropt
968 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974 ac_unrecognized_sep
=', ';;
976 eval enable_
$ac_useropt=\
$ac_optarg ;;
978 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
979 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
980 |
--exec |
--exe |
--ex)
981 ac_prev
=exec_prefix
;;
982 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
983 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
984 |
--exec=* |
--exe=* |
--ex=*)
985 exec_prefix
=$ac_optarg ;;
987 -gas |
--gas |
--ga |
--g)
988 # Obsolete; use --with-gas.
991 -help |
--help |
--hel |
--he |
-h)
993 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
994 ac_init_help
=recursive
;;
995 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
996 ac_init_help
=short
;;
998 -host |
--host |
--hos |
--ho)
999 ac_prev
=host_alias
;;
1000 -host=* |
--host=* |
--hos=* |
--ho=*)
1001 host_alias
=$ac_optarg ;;
1003 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1005 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1007 htmldir
=$ac_optarg ;;
1009 -includedir |
--includedir |
--includedi |
--included |
--include \
1010 |
--includ |
--inclu |
--incl |
--inc)
1011 ac_prev
=includedir
;;
1012 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1013 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1014 includedir
=$ac_optarg ;;
1016 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1018 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1019 infodir
=$ac_optarg ;;
1021 -libdir |
--libdir |
--libdi |
--libd)
1023 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1024 libdir
=$ac_optarg ;;
1026 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1027 |
--libexe |
--libex |
--libe)
1028 ac_prev
=libexecdir
;;
1029 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1030 |
--libexe=* |
--libex=* |
--libe=*)
1031 libexecdir
=$ac_optarg ;;
1033 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1034 ac_prev
=localedir
;;
1035 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1036 localedir
=$ac_optarg ;;
1038 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1039 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1040 ac_prev
=localstatedir
;;
1041 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1042 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1043 localstatedir
=$ac_optarg ;;
1045 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1047 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1048 mandir
=$ac_optarg ;;
1050 -nfp |
--nfp |
--nf)
1051 # Obsolete; use --without-fp.
1054 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1055 |
--no-cr |
--no-c |
-n)
1058 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1059 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1062 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1063 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1064 |
--oldin |
--oldi |
--old |
--ol |
--o)
1065 ac_prev
=oldincludedir
;;
1066 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1067 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1068 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1069 oldincludedir
=$ac_optarg ;;
1071 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1073 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1074 prefix
=$ac_optarg ;;
1076 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1077 |
--program-pre |
--program-pr |
--program-p)
1078 ac_prev
=program_prefix
;;
1079 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1080 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1081 program_prefix
=$ac_optarg ;;
1083 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1084 |
--program-suf |
--program-su |
--program-s)
1085 ac_prev
=program_suffix
;;
1086 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1087 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1088 program_suffix
=$ac_optarg ;;
1090 -program-transform-name |
--program-transform-name \
1091 |
--program-transform-nam |
--program-transform-na \
1092 |
--program-transform-n |
--program-transform- \
1093 |
--program-transform |
--program-transfor \
1094 |
--program-transfo |
--program-transf \
1095 |
--program-trans |
--program-tran \
1096 |
--progr-tra |
--program-tr |
--program-t)
1097 ac_prev
=program_transform_name
;;
1098 -program-transform-name=* |
--program-transform-name=* \
1099 |
--program-transform-nam=* |
--program-transform-na=* \
1100 |
--program-transform-n=* |
--program-transform-=* \
1101 |
--program-transform=* |
--program-transfor=* \
1102 |
--program-transfo=* |
--program-transf=* \
1103 |
--program-trans=* |
--program-tran=* \
1104 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1105 program_transform_name
=$ac_optarg ;;
1107 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1109 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1110 pdfdir
=$ac_optarg ;;
1112 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1114 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1117 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1118 |
-silent |
--silent |
--silen |
--sile |
--sil)
1121 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1123 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1125 sbindir
=$ac_optarg ;;
1127 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1128 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1129 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1131 ac_prev
=sharedstatedir
;;
1132 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1133 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1134 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1136 sharedstatedir
=$ac_optarg ;;
1138 -site |
--site |
--sit)
1140 -site=* |
--site=* |
--sit=*)
1143 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1145 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1146 srcdir
=$ac_optarg ;;
1148 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1149 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1150 ac_prev
=sysconfdir
;;
1151 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1152 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1153 sysconfdir
=$ac_optarg ;;
1155 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1156 ac_prev
=target_alias
;;
1157 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1158 target_alias
=$ac_optarg ;;
1160 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1163 -version |
--version |
--versio |
--versi |
--vers |
-V)
1164 ac_init_version
=: ;;
1167 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1170 as_fn_error $?
"invalid package name: $ac_useropt"
1171 ac_useropt_orig
=$ac_useropt
1172 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178 ac_unrecognized_sep
=', ';;
1180 eval with_
$ac_useropt=\
$ac_optarg ;;
1182 -without-* |
--without-*)
1183 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1186 as_fn_error $?
"invalid package name: $ac_useropt"
1187 ac_useropt_orig
=$ac_useropt
1188 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1193 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194 ac_unrecognized_sep
=', ';;
1196 eval with_
$ac_useropt=no
;;
1199 # Obsolete; use --with-x.
1202 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1203 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1204 ac_prev
=x_includes
;;
1205 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1206 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1207 x_includes
=$ac_optarg ;;
1209 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1210 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1211 ac_prev
=x_libraries
;;
1212 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1213 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1214 x_libraries
=$ac_optarg ;;
1216 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1217 Try \`$0 --help' for more information"
1221 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1222 # Reject names that are not valid shell variable names.
1223 case $ac_envvar in #(
1224 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1225 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1227 eval $ac_envvar=\
$ac_optarg
1228 export $ac_envvar ;;
1231 # FIXME: should be removed in autoconf 3.0.
1232 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1234 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1241 if test -n "$ac_prev"; then
1242 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1243 as_fn_error $?
"missing argument to $ac_option"
1246 if test -n "$ac_unrecognized_opts"; then
1247 case $enable_option_checking in
1249 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1250 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1254 # Check all directory arguments for consistency.
1255 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256 datadir sysconfdir sharedstatedir localstatedir includedir \
1257 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258 libdir localedir mandir
1260 eval ac_val
=\$
$ac_var
1261 # Remove trailing slashes.
1264 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265 eval $ac_var=\
$ac_val;;
1267 # Be sure to have absolute directory names.
1269 [\\/$
]* | ?
:[\\/]* ) continue;;
1270 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1272 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1275 # There might be people who depend on the old broken behavior: `$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1280 target
=$target_alias
1282 # FIXME: To remove some day.
1283 if test "x$host_alias" != x
; then
1284 if test "x$build_alias" = x
; then
1285 cross_compiling
=maybe
1286 elif test "x$build_alias" != "x$host_alias"; then
1292 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1294 test "$silent" = yes && exec 6>/dev
/null
1297 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1298 ac_ls_di
=`ls -di .` &&
1299 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1300 as_fn_error $?
"working directory cannot be determined"
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_error $?
"pwd does not report name of working directory"
1305 # Find the source files, if location was not specified.
1306 if test -z "$srcdir"; then
1307 ac_srcdir_defaulted
=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir
=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314 $as_echo X"$as_myself" |
1315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1337 ac_srcdir_defaulted
=no
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1341 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1343 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1355 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 for ac_var
in $ac_precious_vars; do
1358 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1359 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1360 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1361 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1365 # Report the --help message.
1367 if test "$ac_init_help" = "long"; then
1368 # Omit some internal or obsolete options to make the list less imposing.
1369 # This message is too long to be a string in the A/UX 3.1 sh.
1371 \`configure' configures libctf 1.2.0 to adapt to many kinds of systems.
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE. See below for descriptions of some of the useful variables.
1378 Defaults for the options are specified in brackets.
1381 -h, --help display this help and exit
1382 --help=short display options specific to this package
1383 --help=recursive display the short help of all the included packages
1384 -V, --version display version information and exit
1385 -q, --quiet, --silent do not print \`checking ...' messages
1386 --cache-file=FILE cache test results in FILE [disabled]
1387 -C, --config-cache alias for \`--cache-file=config.cache'
1388 -n, --no-create do not create output files
1389 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1391 Installation directories:
1392 --prefix=PREFIX install architecture-independent files in PREFIX
1393 [$ac_default_prefix]
1394 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1397 By default, \`make install' will install all the files in
1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400 for instance \`--prefix=\$HOME'.
1402 For better control, use the options below.
1404 Fine tuning of the installation directories:
1405 --bindir=DIR user executables [EPREFIX/bin]
1406 --sbindir=DIR system admin executables [EPREFIX/sbin]
1407 --libexecdir=DIR program executables [EPREFIX/libexec]
1408 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1409 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1410 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/libctf]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1429 --program-prefix=PREFIX prepend PREFIX to installed program names
1430 --program-suffix=SUFFIX append SUFFIX to installed program names
1431 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1434 --build=BUILD configure
for building on BUILD
[guessed
]
1435 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1436 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1440 if test -n "$ac_init_help"; then
1441 case $ac_init_help in
1442 short | recursive
) echo "Configuration of libctf 1.2.0:";;
1447 --disable-option-checking ignore unrecognized
--enable/--with options
1448 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1449 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1450 --enable-dependency-tracking
1451 do not reject slow dependency extractors
1452 --disable-dependency-tracking
1453 speeds up one-time build
1454 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1455 --disable-silent-rules verbose build output
(undo
: "make V=0")
1456 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1457 --enable-static[=PKGS
] build static libraries
[default
=yes]
1458 --enable-fast-install[=PKGS
]
1459 optimize
for fast installation
[default
=yes]
1460 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1461 --disable-largefile omit support
for large files
1462 --enable-werror-always enable -Werror despite compiler version
1463 --enable-maintainer-mode
1464 enable make rules and dependencies not useful
(and
1465 sometimes confusing
) to the casual installer
1466 --enable-install-libbfd controls installation of libbfd and related headers
1467 --enable-libctf-hash-debugging
1468 Enable expensive debugging of CTF deduplication
type
1469 hashing
[default
=no
]
1472 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1473 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1474 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1476 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1477 --with-system-zlib use installed libz
1478 --with-zstd support zstd compressed debug sections
1481 Some influential environment variables
:
1482 CC C compiler
command
1483 CFLAGS C compiler flags
1484 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1485 nonstandard directory
<lib dir
>
1486 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1487 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1488 you have headers
in a nonstandard directory
<include dir
>
1490 PKG_CONFIG path to pkg-config utility
1492 directories to add to pkg-config
's search path
1494 path overriding pkg-config's built-in search path
1495 ZSTD_CFLAGS C compiler flags
for ZSTD
, overriding pkg-config
1496 ZSTD_LIBS linker flags
for ZSTD
, overriding pkg-config
1498 Use these variables to override the choices made by
`configure' or to help
1499 it to find libraries and programs with nonstandard names/locations.
1501 Report bugs to the package provider.
1506 if test "$ac_init_help" = "recursive"; then
1507 # If there are subdirs, report their specific --help.
1508 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1509 test -d "$ac_dir" ||
1510 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1515 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1517 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1518 # A ".." for each directory in $ac_dir_suffix.
1519 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1520 case $ac_top_builddir_sub in
1521 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1525 ac_abs_top_builddir=$ac_pwd
1526 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1527 # for backward compatibility:
1528 ac_top_builddir=$ac_top_build_prefix
1531 .) # We are building in place.
1533 ac_top_srcdir=$ac_top_builddir_sub
1534 ac_abs_top_srcdir=$ac_pwd ;;
1535 [\\/]* | ?:[\\/]* ) # Absolute name.
1536 ac_srcdir=$srcdir$ac_dir_suffix;
1537 ac_top_srcdir=$srcdir
1538 ac_abs_top_srcdir=$srcdir ;;
1540 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1541 ac_top_srcdir=$ac_top_build_prefix$srcdir
1542 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1544 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1546 cd "$ac_dir" || { ac_status=$?; continue; }
1547 # Check for guested configure.
1548 if test -f "$ac_srcdir/configure.gnu"; then
1550 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1551 elif test -f "$ac_srcdir/configure"; then
1553 $SHELL "$ac_srcdir/configure" --help=recursive
1555 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1557 cd "$ac_pwd" || { ac_status=$?; break; }
1561 test -n "$ac_init_help" && exit $ac_status
1562 if $ac_init_version; then
1564 libctf configure 1.2.0
1565 generated by GNU Autoconf 2.69
1567 Copyright (C) 2012 Free Software Foundation, Inc.
1568 This configure script is free software; the Free Software Foundation
1569 gives unlimited permission to copy, distribute and modify it.
1574 ## ------------------------ ##
1575 ## Autoconf initialization. ##
1576 ## ------------------------ ##
1578 # ac_fn_c_try_compile LINENO
1579 # --------------------------
1580 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1581 ac_fn_c_try_compile ()
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584 rm -f conftest.$ac_objext
1585 if { { ac_try="$ac_compile"
1587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1588 *) ac_try_echo
=$ac_try;;
1590 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_compile") 2>conftest.err
1594 if test -s conftest.err
; then
1595 grep -v '^ *+' conftest.err
>conftest.er1
1596 cat conftest.er1
>&5
1597 mv -f conftest.er1 conftest.err
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } && {
1601 test -z "$ac_c_werror_flag" ||
1602 test ! -s conftest.err
1603 } && test -s conftest.
$ac_objext; then :
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.
$ac_ext >&5
1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612 as_fn_set_status
$ac_retval
1614 } # ac_fn_c_try_compile
1616 # ac_fn_c_try_cpp LINENO
1617 # ----------------------
1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1621 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1622 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1631 if test -s conftest.err; then
1632 grep -v '^ *+' conftest.err >conftest.er1
1633 cat conftest.er1 >&5
1634 mv -f conftest.er1 conftest.err
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } > conftest.i && {
1638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 as_fn_set_status $ac_retval
1653 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1654 # -------------------------------------------------------
1655 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1656 # the include files in INCLUDES and setting the cache variable VAR
1658 ac_fn_c_check_header_mongrel ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 if eval \${$3+:} false; then :
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1663 $as_echo_n "checking for $2... " >&6; }
1664 if eval \${$3+:} false; then :
1665 $as_echo_n "(cached) " >&6
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1671 # Is the header compilable?
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1673 $as_echo_n "checking $2 usability... " >&6; }
1674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1675 /* end confdefs.h. */
1679 if ac_fn_c_try_compile "$LINENO"; then :
1680 ac_header_compiler=yes
1682 ac_header_compiler=no
1684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1686 $as_echo "$ac_header_compiler" >&6; }
1688 # Is the header present?
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1690 $as_echo_n "checking $2 presence... " >&6; }
1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1692 /* end confdefs.h. */
1695 if ac_fn_c_try_cpp "$LINENO"; then :
1696 ac_header_preproc=yes
1698 ac_header_preproc=no
1700 rm -f conftest.err conftest.i conftest.$ac_ext
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1702 $as_echo "$ac_header_preproc" >&6; }
1704 # So? What about this header?
1705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1708 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1710 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1714 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1716 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1718 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1720 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1722 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1726 $as_echo_n "checking for $2... " >&6; }
1727 if eval \${$3+:} false; then :
1728 $as_echo_n "(cached) " >&6
1730 eval "$3=\$ac_header_compiler"
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 } # ac_fn_c_check_header_mongrel
1740 # ac_fn_c_try_run LINENO
1741 # ----------------------
1742 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1743 # that executables *can* be run.
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 if { { ac_try="$ac_link"
1749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1750 *) ac_try_echo
=$ac_try;;
1752 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754 (eval "$ac_link") 2>&5
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1758 { { case "(($ac_try" in
1759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_try") 2>&5
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; }; }; then :
1770 $as_echo "$as_me: program exited with status $ac_status" >&5
1771 $as_echo "$as_me: failed program was:" >&5
1772 sed 's/^/| /' conftest.$ac_ext >&5
1774 ac_retval=$ac_status
1776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 as_fn_set_status $ac_retval
1782 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1783 # -------------------------------------------------------
1784 # Tests whether HEADER exists and can be compiled using the include files in
1785 # INCLUDES, setting the cache variable VAR accordingly.
1786 ac_fn_c_check_header_compile ()
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790 $as_echo_n "checking for $2... " >&6; }
1791 if eval \${$3+:} false; then :
1792 $as_echo_n "(cached) " >&6
1794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1799 if ac_fn_c_try_compile "$LINENO"; then :
1804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 } # ac_fn_c_check_header_compile
1813 # ac_fn_c_try_link LINENO
1814 # -----------------------
1815 # Try to link conftest.$ac_ext, and return whether this succeeded.
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 rm -f conftest.$ac_objext conftest$ac_exeext
1820 if { { ac_try="$ac_link"
1822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1823 *) ac_try_echo
=$ac_try;;
1825 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_link") 2>conftest.err
1829 if test -s conftest.err
; then
1830 grep -v '^ *+' conftest.err
>conftest.er1
1831 cat conftest.er1
>&5
1832 mv -f conftest.er1 conftest.err
1834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; } && {
1836 test -z "$ac_c_werror_flag" ||
1837 test ! -s conftest.err
1838 } && test -s conftest
$ac_exeext && {
1839 test "$cross_compiling" = yes ||
1840 test -x conftest
$ac_exeext
1844 $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.
$ac_ext >&5
1849 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1850 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1851 # interfere with the next link command; also delete a directory that is
1852 # left behind by Apple's compiler. We do this before executing the actions.
1853 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 as_fn_set_status
$ac_retval
1857 } # ac_fn_c_try_link
1859 # ac_fn_c_check_func LINENO FUNC VAR
1860 # ----------------------------------
1861 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1862 ac_fn_c_check_func
()
1864 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if eval \
${$3+:} false
; then :
1868 $as_echo_n "(cached) " >&6
1870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1872 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1874 #define $2 innocuous_$2
1876 /* System header to define __stub macros and hopefully few prototypes,
1877 which can conflict with char $2 (); below.
1878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1879 <limits.h> exists even on freestanding compilers. */
1882 # include <limits.h>
1884 # include <assert.h>
1889 /* Override any GCC internal prototype to avoid an error.
1890 Use char because int might match the return type of a GCC
1891 builtin and then its argument prototype would still apply. */
1896 /* The GNU C library defines this for functions which it implements
1897 to always fail with ENOSYS. Some functions are actually named
1898 something starting with __ and the normal name is an alias. */
1899 #if defined __stub_$2 || defined __stub___$2
1911 if ac_fn_c_try_link
"$LINENO"; then :
1916 rm -f core conftest.err conftest.
$ac_objext \
1917 conftest
$ac_exeext conftest.
$ac_ext
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921 $as_echo "$ac_res" >&6; }
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 } # ac_fn_c_check_func
1926 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1927 # ---------------------------------------------
1928 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1930 ac_fn_c_check_decl
()
1932 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1933 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1934 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1936 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1937 if eval \
${$3+:} false
; then :
1938 $as_echo_n "(cached) " >&6
1940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1946 #ifndef $as_decl_name
1948 (void) $as_decl_use;
1950 (void) $as_decl_name;
1958 if ac_fn_c_try_compile
"$LINENO"; then :
1963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967 $as_echo "$ac_res" >&6; }
1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 } # ac_fn_c_check_decl
1971 cat >config.log
<<_ACEOF
1972 This file contains any messages produced by compilers while
1973 running configure, to aid debugging if configure makes a mistake.
1975 It was created by libctf $as_me 1.2.0, which was
1976 generated by GNU Autoconf 2.69. Invocation command line was
1988 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1989 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1990 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1991 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1992 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1994 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1995 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1997 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1998 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1999 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2000 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2001 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2002 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2003 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2011 test -z "$as_dir" && as_dir
=.
2012 $as_echo "PATH: $as_dir"
2028 # Keep a trace of the command line.
2029 # Strip out --no-create and --no-recursion so they do not pile up.
2030 # Strip out --silent because we don't want to record it for future runs.
2031 # Also quote any args containing shell meta-characters.
2032 # Make two passes to allow for proper duplicate-argument suppression.
2036 ac_must_keep_next
=false
2042 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2043 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2044 |
-silent |
--silent |
--silen |
--sile |
--sil)
2047 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2050 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2052 as_fn_append ac_configure_args1
" '$ac_arg'"
2053 if test $ac_must_keep_next = true
; then
2054 ac_must_keep_next
=false
# Got value, back to normal.
2057 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2058 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2059 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2060 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2061 case "$ac_configure_args0 " in
2062 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2065 -* ) ac_must_keep_next
=true
;;
2068 as_fn_append ac_configure_args
" '$ac_arg'"
2073 { ac_configure_args0
=; unset ac_configure_args0
;}
2074 { ac_configure_args1
=; unset ac_configure_args1
;}
2076 # When interrupted or exit'd, cleanup temporary files, and complete
2077 # config.log. We remove comments because anyway the quotes in there
2078 # would cause problems or look ugly.
2079 # WARNING: Use '\'' to represent an apostrophe within the trap.
2080 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2081 trap 'exit_status=$?
2082 # Save into config.log some information that might help in debugging.
2086 $as_echo "## ---------------- ##
2087 ## Cache variables. ##
2088 ## ---------------- ##"
2090 # The following way of writing the cache mishandles newlines in values,
2092 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2093 eval ac_val=\$$ac_var
2097 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2098 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2101 _ | IFS | as_nl) ;; #(
2102 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2103 *) { eval $ac_var=; unset $ac_var;} ;;
2108 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2109 *${as_nl}ac_space=\ *)
2111 "s/'\''/'\''\\\\'\'''\''/g;
2112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2122 $as_echo "## ----------------- ##
2123 ## Output variables. ##
2124 ## ----------------- ##"
2126 for ac_var in $ac_subst_vars
2128 eval ac_val=\$$ac_var
2130 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2132 $as_echo "$ac_var='\''$ac_val'\''"
2136 if test -n "$ac_subst_files"; then
2137 $as_echo "## ------------------- ##
2138 ## File substitutions. ##
2139 ## ------------------- ##"
2141 for ac_var
in $ac_subst_files
2143 eval ac_val
=\$
$ac_var
2145 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2147 $as_echo "$ac_var='\''$ac_val'\''"
2152 if test -s confdefs.h; then
2153 $as_echo "## ----------- ##
2160 test "$ac_signal" != 0 &&
2161 $as_echo "$as_me: caught signal $ac_signal"
2162 $as_echo "$as_me: exit $exit_status"
2164 rm -f core *.core core.conftest.* &&
2165 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2168 for ac_signal
in 1 2 13 15; do
2169 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2174 rm -f -r conftest
* confdefs.h
2176 $as_echo "/* confdefs.h */" > confdefs.h
2178 # Predefined preprocessor variables.
2180 cat >>confdefs.h
<<_ACEOF
2181 #define PACKAGE_NAME "$PACKAGE_NAME"
2184 cat >>confdefs.h
<<_ACEOF
2185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2188 cat >>confdefs.h
<<_ACEOF
2189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2192 cat >>confdefs.h
<<_ACEOF
2193 #define PACKAGE_STRING "$PACKAGE_STRING"
2196 cat >>confdefs.h
<<_ACEOF
2197 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2200 cat >>confdefs.h
<<_ACEOF
2201 #define PACKAGE_URL "$PACKAGE_URL"
2205 # Let the site file select an alternate cache file if it wants to.
2206 # Prefer an explicitly selected file to automatically selected ones.
2209 if test -n "$CONFIG_SITE"; then
2210 # We do not want a PATH search for config.site.
2211 case $CONFIG_SITE in #((
2212 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2213 */*) ac_site_file1
=$CONFIG_SITE;;
2214 *) ac_site_file1
=.
/$CONFIG_SITE;;
2216 elif test "x$prefix" != xNONE
; then
2217 ac_site_file1
=$prefix/share
/config.site
2218 ac_site_file2
=$prefix/etc
/config.site
2220 ac_site_file1
=$ac_default_prefix/share
/config.site
2221 ac_site_file2
=$ac_default_prefix/etc
/config.site
2223 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2225 test "x$ac_site_file" = xNONE
&& continue
2226 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2228 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2229 sed 's/^/| /' "$ac_site_file" >&5
2231 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2233 as_fn_error $?
"failed to load site script $ac_site_file
2234 See \`config.log' for more details" "$LINENO" 5; }
2238 if test -r "$cache_file"; then
2239 # Some versions of bash will fail to source /dev/null (special files
2240 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2241 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2243 $as_echo "$as_me: loading cache $cache_file" >&6;}
2245 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2246 *) .
"./$cache_file";;
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2251 $as_echo "$as_me: creating cache $cache_file" >&6;}
2255 as_fn_append ac_header_list
" stdlib.h"
2256 as_fn_append ac_header_list
" unistd.h"
2257 as_fn_append ac_header_list
" sys/param.h"
2258 as_fn_append ac_func_list
" qsort_r"
2259 # Check that the precious variables saved in the cache have kept the same
2261 ac_cache_corrupted
=false
2262 for ac_var
in $ac_precious_vars; do
2263 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2264 eval ac_new_set
=\
$ac_env_${ac_var}_set
2265 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2266 eval ac_new_val
=\
$ac_env_${ac_var}_value
2267 case $ac_old_set,$ac_new_set in
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2270 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2271 ac_cache_corrupted
=: ;;
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2274 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2275 ac_cache_corrupted
=: ;;
2278 if test "x$ac_old_val" != "x$ac_new_val"; then
2279 # differences in whitespace do not lead to failure.
2280 ac_old_val_w
=`echo x $ac_old_val`
2281 ac_new_val_w
=`echo x $ac_new_val`
2282 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2284 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2285 ac_cache_corrupted
=:
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2288 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2289 eval $ac_var=\
$ac_old_val
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2292 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2294 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2297 # Pass precious variables to config.status.
2298 if test "$ac_new_set" = set; then
2300 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2301 *) ac_arg
=$ac_var=$ac_new_val ;;
2303 case " $ac_configure_args " in
2304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2305 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2309 if $ac_cache_corrupted; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2313 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2314 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2316 ## -------------------- ##
2317 ## Main body of script. ##
2318 ## -------------------- ##
2321 ac_cpp
='$CPP $CPPFLAGS'
2322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2335 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2336 if test -f "$ac_dir/install-sh"; then
2338 ac_install_sh
="$ac_aux_dir/install-sh -c"
2340 elif test -f "$ac_dir/install.sh"; then
2342 ac_install_sh
="$ac_aux_dir/install.sh -c"
2344 elif test -f "$ac_dir/shtool"; then
2346 ac_install_sh
="$ac_aux_dir/shtool install -c"
2350 if test -z "$ac_aux_dir"; then
2351 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2354 # These three variables are undocumented and unsupported,
2355 # and are intended to be withdrawn in a future Autoconf release.
2356 # They can cause serious problems if a builder's source tree is in a directory
2357 # whose full name contains unusual characters.
2358 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2359 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2360 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2363 # Make sure we can run config.sub.
2364 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2365 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2368 $as_echo_n "checking build system type... " >&6; }
2369 if ${ac_cv_build+:} false
; then :
2370 $as_echo_n "(cached) " >&6
2372 ac_build_alias
=$build_alias
2373 test "x$ac_build_alias" = x
&&
2374 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2375 test "x$ac_build_alias" = x
&&
2376 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2377 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2378 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2382 $as_echo "$ac_cv_build" >&6; }
2383 case $ac_cv_build in
2385 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2388 ac_save_IFS
=$IFS; IFS
='-'
2394 # Remember, the first character of IFS is used to create $*,
2395 # except with old shells:
2398 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2402 $as_echo_n "checking host system type... " >&6; }
2403 if ${ac_cv_host+:} false
; then :
2404 $as_echo_n "(cached) " >&6
2406 if test "x$host_alias" = x
; then
2407 ac_cv_host
=$ac_cv_build
2409 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2410 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2415 $as_echo "$ac_cv_host" >&6; }
2418 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2421 ac_save_IFS
=$IFS; IFS
='-'
2427 # Remember, the first character of IFS is used to create $*,
2428 # except with old shells:
2431 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2435 $as_echo_n "checking target system type... " >&6; }
2436 if ${ac_cv_target+:} false
; then :
2437 $as_echo_n "(cached) " >&6
2439 if test "x$target_alias" = x
; then
2440 ac_cv_target
=$ac_cv_host
2442 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2443 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2448 $as_echo "$ac_cv_target" >&6; }
2449 case $ac_cv_target in
2451 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2453 target
=$ac_cv_target
2454 ac_save_IFS
=$IFS; IFS
='-'
2460 # Remember, the first character of IFS is used to create $*,
2461 # except with old shells:
2464 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2467 # The aliases save the names the user supplied, while $host etc.
2468 # will get canonicalized.
2469 test -n "$target_alias" &&
2470 test "$program_prefix$program_suffix$program_transform_name" = \
2472 program_prefix
=${target_alias}-
2473 # Expand $ac_aux_dir to an absolute path.
2474 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2477 ac_cpp
='$CPP $CPPFLAGS'
2478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2481 if test -n "$ac_tool_prefix"; then
2482 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2483 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2485 $as_echo_n "checking for $ac_word... " >&6; }
2486 if ${ac_cv_prog_CC+:} false
; then :
2487 $as_echo_n "(cached) " >&6
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC
="$CC" # Let the user override the test.
2492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir
=.
2497 for ac_exec_ext
in '' $ac_executable_extensions; do
2498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2499 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 if test -n "$CC"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2512 $as_echo "$CC" >&6; }
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2515 $as_echo "no" >&6; }
2520 if test -z "$ac_cv_prog_CC"; then
2522 # Extract the first word of "gcc", so it can be a program name with args.
2523 set dummy gcc
; ac_word
=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2527 $as_echo_n "(cached) " >&6
2529 if test -n "$ac_ct_CC"; then
2530 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir
=.
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_ac_ct_CC
="gcc"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2550 if test -n "$ac_ct_CC"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2552 $as_echo "$ac_ct_CC" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2558 if test "x$ac_ct_CC" = x
; then
2561 case $cross_compiling:$ac_tool_warned in
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2565 ac_tool_warned
=yes ;;
2573 if test -z "$CC"; then
2574 if test -n "$ac_tool_prefix"; then
2575 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2576 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2578 $as_echo_n "checking for $ac_word... " >&6; }
2579 if ${ac_cv_prog_CC+:} false
; then :
2580 $as_echo_n "(cached) " >&6
2582 if test -n "$CC"; then
2583 ac_cv_prog_CC
="$CC" # Let the user override the test.
2585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir
=.
2590 for ac_exec_ext
in '' $ac_executable_extensions; do
2591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2592 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 if test -n "$CC"; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2605 $as_echo "$CC" >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608 $as_echo "no" >&6; }
2614 if test -z "$CC"; then
2615 # Extract the first word of "cc", so it can be a program name with args.
2616 set dummy cc
; ac_word
=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if ${ac_cv_prog_CC+:} false
; then :
2620 $as_echo_n "(cached) " >&6
2622 if test -n "$CC"; then
2623 ac_cv_prog_CC
="$CC" # Let the user override the test.
2626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir
=.
2631 for ac_exec_ext
in '' $ac_executable_extensions; do
2632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2633 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2634 ac_prog_rejected
=yes
2638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 if test $ac_prog_rejected = yes; then
2646 # We found a bogon in the path, so make sure we never use it.
2647 set dummy
$ac_cv_prog_CC
2649 if test $# != 0; then
2650 # We chose a different compiler from the bogus one.
2651 # However, it has the same basename, so the bogon will be chosen
2652 # first if we set CC to just the basename; use the full file name.
2654 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2660 if test -n "$CC"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2662 $as_echo "$CC" >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2670 if test -z "$CC"; then
2671 if test -n "$ac_tool_prefix"; then
2672 for ac_prog
in cl.exe
2674 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2675 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2677 $as_echo_n "checking for $ac_word... " >&6; }
2678 if ${ac_cv_prog_CC+:} false
; then :
2679 $as_echo_n "(cached) " >&6
2681 if test -n "$CC"; then
2682 ac_cv_prog_CC
="$CC" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2691 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 if test -n "$CC"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2704 $as_echo "$CC" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2711 test -n "$CC" && break
2714 if test -z "$CC"; then
2716 for ac_prog
in cl.exe
2718 # Extract the first word of "$ac_prog", so it can be a program name with args.
2719 set dummy
$ac_prog; ac_word
=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -n "$ac_ct_CC"; then
2726 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir
=.
2733 for ac_exec_ext
in '' $ac_executable_extensions; do
2734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2735 ac_cv_prog_ac_ct_CC
="$ac_prog"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2746 if test -n "$ac_ct_CC"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2748 $as_echo "$ac_ct_CC" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2755 test -n "$ac_ct_CC" && break
2758 if test "x$ac_ct_CC" = x
; then
2761 case $cross_compiling:$ac_tool_warned in
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2765 ac_tool_warned
=yes ;;
2774 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 as_fn_error $?
"no acceptable C compiler found in \$PATH
2777 See \`config.log' for more details" "$LINENO" 5; }
2779 # Provide some information about the compiler.
2780 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2783 for ac_option
in --version -v -V -qversion; do
2784 { { ac_try
="$ac_compiler $ac_option >&5"
2786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2790 $as_echo "$ac_try_echo"; } >&5
2791 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2793 if test -s conftest.err; then
2795 ... rest of stderr output deleted ...
2796 10q' conftest.err >conftest.er1
2797 cat conftest.er1 >&5
2799 rm -f conftest.er1 conftest.err
2800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2801 test $ac_status = 0; }
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2815 ac_clean_files_save=$ac_clean_files
2816 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2817 # Try to create an executable without -o first, disregard a.out.
2818 # It will help us diagnose broken compilers, and finding out an intuition
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2821 $as_echo_n "checking whether the C compiler works... " >&6; }
2822 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2824 # The possible output files:
2825 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2828 for ac_file in $ac_files
2831 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2832 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2837 if { { ac_try="$ac_link_default"
2839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2840 *) ac_try_echo
=$ac_try;;
2842 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_link_default") 2>&5
2846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2847 test $ac_status = 0; }; then :
2848 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2849 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2850 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2851 # so that the user can short-circuit this test for compilers unknown to
2853 for ac_file
in $ac_files ''
2855 test -f "$ac_file" ||
continue
2857 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2860 # We found the default executable, but exeext='' is most
2864 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2866 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2868 # We set ac_cv_exeext here because the later test for it is not
2869 # safe: cross compilers may not add the suffix if given an `-o'
2870 # argument, so we may need to know it at that point already.
2871 # Even if this section looks crufty: it has the advantage of
2878 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2883 if test -z "$ac_file"; then :
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2885 $as_echo "no" >&6; }
2886 $as_echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.
$ac_ext >&5
2889 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891 as_fn_error
77 "C compiler cannot create executables
2892 See \`config.log' for more details" "$LINENO" 5; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2895 $as_echo "yes" >&6; }
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2898 $as_echo_n "checking for C compiler default output file name... " >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2900 $as_echo "$ac_file" >&6; }
2901 ac_exeext
=$ac_cv_exeext
2903 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2904 ac_clean_files
=$ac_clean_files_save
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2906 $as_echo_n "checking for suffix of executables... " >&6; }
2907 if { { ac_try
="$ac_link"
2909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2913 $as_echo "$ac_try_echo"; } >&5
2914 (eval "$ac_link") 2>&5
2916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2917 test $ac_status = 0; }; then :
2918 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2919 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2920 # work properly (i.e., refer to `conftest.exe'), while it won't with
2922 for ac_file
in conftest.exe conftest conftest.
*; do
2923 test -f "$ac_file" ||
continue
2925 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2926 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2934 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2935 See \`config.log' for more details" "$LINENO" 5; }
2937 rm -f conftest conftest
$ac_cv_exeext
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2939 $as_echo "$ac_cv_exeext" >&6; }
2941 rm -f conftest.
$ac_ext
2942 EXEEXT
=$ac_cv_exeext
2944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2950 FILE *f = fopen ("conftest.out", "w");
2951 return ferror (f) || fclose (f) != 0;
2957 ac_clean_files
="$ac_clean_files conftest.out"
2958 # Check that the compiler produces executables we can run. If not, either
2959 # the compiler is broken, or we cross compile.
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2961 $as_echo_n "checking whether we are cross compiling... " >&6; }
2962 if test "$cross_compiling" != yes; then
2963 { { ac_try
="$ac_link"
2965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 $as_echo "$ac_try_echo"; } >&5
2970 (eval "$ac_link") 2>&5
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; }
2974 if { ac_try='./conftest$ac_cv_exeext'
2975 { { case "(($ac_try" in
2976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2977 *) ac_try_echo
=$ac_try;;
2979 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 $as_echo "$ac_try_echo"; } >&5
2981 (eval "$ac_try") 2>&5
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; }; }; then
2987 if test "$cross_compiling" = maybe
; then
2990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2992 as_fn_error $?
"cannot run C compiled programs.
2993 If you meant to cross compile, use \`--host'.
2994 See \`config.log' for more details" "$LINENO" 5; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2999 $as_echo "$cross_compiling" >&6; }
3001 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3002 ac_clean_files
=$ac_clean_files_save
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3004 $as_echo_n "checking for suffix of object files... " >&6; }
3005 if ${ac_cv_objext+:} false
; then :
3006 $as_echo_n "(cached) " >&6
3008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3019 rm -f conftest.o conftest.obj
3020 if { { ac_try
="$ac_compile"
3022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026 $as_echo "$ac_try_echo"; } >&5
3027 (eval "$ac_compile") 2>&5
3029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; }; then :
3031 for ac_file in conftest.o conftest.obj conftest.*; do
3032 test -f "$ac_file" || continue;
3034 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3035 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3040 $as_echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3045 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3046 See \
`config.log' for more details" "$LINENO" 5; }
3048 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3051 $as_echo "$ac_cv_objext" >&6; }
3052 OBJEXT=$ac_cv_objext
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3055 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3056 if ${ac_cv_c_compiler_gnu+:} false; then :
3057 $as_echo_n "(cached) " >&6
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3073 if ac_fn_c_try_compile "$LINENO"; then :
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3083 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3084 if test $ac_compiler_gnu = yes; then
3089 ac_test_CFLAGS=${CFLAGS+set}
3090 ac_save_CFLAGS=$CFLAGS
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3092 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3093 if ${ac_cv_prog_cc_g+:} false; then :
3094 $as_echo_n "(cached) " >&6
3096 ac_save_c_werror_flag=$ac_c_werror_flag
3097 ac_c_werror_flag=yes
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3111 if ac_fn_c_try_compile "$LINENO"; then :
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3126 if ac_fn_c_try_compile "$LINENO"; then :
3129 ac_c_werror_flag=$ac_save_c_werror_flag
3131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3142 if ac_fn_c_try_compile "$LINENO"; then :
3145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 ac_c_werror_flag=$ac_save_c_werror_flag
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3153 $as_echo "$ac_cv_prog_cc_g" >&6; }
3154 if test "$ac_test_CFLAGS" = set; then
3155 CFLAGS=$ac_save_CFLAGS
3156 elif test $ac_cv_prog_cc_g = yes; then
3157 if test "$GCC" = yes; then
3163 if test "$GCC" = yes; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3170 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3171 if ${ac_cv_prog_cc_c89+:} false; then :
3172 $as_echo_n "(cached) " >&6
3174 ac_cv_prog_cc_c89=no
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3181 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3182 struct buf { int x; };
3183 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3184 static char *e (p, i)
3190 static char *f (char * (*g) (char **, int), char **p, ...)
3195 s = g (p, va_arg (v,int));
3200 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3201 function prototypes and stuff, but not '\xHH' hex character constants.
3202 These don't provoke an error unfortunately, instead are silently treated
3203 as 'x'. The following induces an error, until -std is added to get
3204 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3205 array size at least. It's necessary to write '\x00'==0 to get something
3206 that's true only with -std. */
3207 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3209 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3210 inside strings and character constants. */
3212 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3214 int test (int i, double x);
3215 struct s1 {int (*f) (int a);};
3216 struct s2 {int (*f) (double a);};
3217 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3223 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3228 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3229 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3231 CC="$ac_save_CC $ac_arg"
3232 if ac_fn_c_try_compile "$LINENO"; then :
3233 ac_cv_prog_cc_c89=$ac_arg
3235 rm -f core conftest.err conftest.$ac_objext
3236 test "x$ac_cv_prog_cc_c89" != "xno" && break
3238 rm -f conftest.$ac_ext
3243 case "x$ac_cv_prog_cc_c89" in
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3246 $as_echo "none needed" >&6; } ;;
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3249 $as_echo "unsupported" >&6; } ;;
3251 CC="$CC $ac_cv_prog_cc_c89"
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3253 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3255 if test "x$ac_cv_prog_cc_c89" != xno; then :
3260 ac_cpp='$CPP $CPPFLAGS'
3261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3266 ac_cpp='$CPP $CPPFLAGS'
3267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3271 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3272 if ${am_cv_prog_cc_c_o+:} false; then :
3273 $as_echo_n "(cached) " >&6
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3286 # Make sure it works both with $CC and with simple cc.
3287 # Following AC_PROG_CC_C_O, we do the test twice because some
3288 # compilers refuse to overwrite an existing .o file with -o,
3289 # though they will create one.
3290 am_cv_prog_cc_c_o=yes
3292 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3293 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } \
3297 && test -f conftest2.$ac_objext; then
3300 am_cv_prog_cc_c_o=no
3304 rm -f core conftest*
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3308 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3309 if test "$am_cv_prog_cc_c_o" != yes; then
3310 # Losing compiler, so override with the script.
3311 # FIXME: It is wrong to rewrite CC.
3312 # But if we don't then we get into trouble of one sort or another.
3313 # A longer-term fix would be to have automake use am__CC in this case,
3314 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3315 CC="$am_aux_dir/compile $CC"
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3326 ac_cpp='$CPP $CPPFLAGS'
3327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3331 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3332 # On Suns, sometimes $CPP names a directory.
3333 if test -n "$CPP" && test -d "$CPP"; then
3336 if test -z "$CPP"; then
3337 if ${ac_cv_prog_CPP+:} false; then :
3338 $as_echo_n "(cached) " >&6
3340 # Double quotes because CPP needs to be expanded
3341 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3344 for ac_c_preproc_warn_flag in '' yes
3346 # Use a header file that comes with gcc, so configuring glibc
3347 # with a fresh cross-compiler works.
3348 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3349 # <limits.h> exists even on freestanding compilers.
3350 # On the NeXT, cc -E runs the code through the compiler's parser,
3351 # not just through cpp. "Syntax error" is here to catch this case.
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3355 # include <limits.h>
3357 # include <assert.h>
3361 if ac_fn_c_try_cpp "$LINENO"; then :
3364 # Broken: fails on valid input.
3367 rm -f conftest.err conftest.i conftest.$ac_ext
3369 # OK, works on sane cases. Now check whether nonexistent headers
3370 # can be detected and how.
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3373 #include <ac_nonexistent.h>
3375 if ac_fn_c_try_cpp "$LINENO"; then :
3376 # Broken: success on invalid input.
3379 # Passes both tests.
3383 rm -f conftest.err conftest.i conftest.$ac_ext
3386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3387 rm -f conftest.i conftest.err conftest.
$ac_ext
3388 if $ac_preproc_ok; then :
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3401 $as_echo "$CPP" >&6; }
3403 for ac_c_preproc_warn_flag
in '' yes
3405 # Use a header file that comes with gcc, so configuring glibc
3406 # with a fresh cross-compiler works.
3407 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3408 # <limits.h> exists even on freestanding compilers.
3409 # On the NeXT, cc -E runs the code through the compiler's parser,
3410 # not just through cpp. "Syntax error" is here to catch this case.
3411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3414 # include <limits.h>
3416 # include <assert.h>
3420 if ac_fn_c_try_cpp
"$LINENO"; then :
3423 # Broken: fails on valid input.
3426 rm -f conftest.err conftest.i conftest.
$ac_ext
3428 # OK, works on sane cases. Now check whether nonexistent headers
3429 # can be detected and how.
3430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3432 #include <ac_nonexistent.h>
3434 if ac_fn_c_try_cpp
"$LINENO"; then :
3435 # Broken: success on invalid input.
3438 # Passes both tests.
3442 rm -f conftest.err conftest.i conftest.
$ac_ext
3445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3446 rm -f conftest.i conftest.err conftest.
$ac_ext
3447 if $ac_preproc_ok; then :
3450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3452 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3453 See \`config.log' for more details" "$LINENO" 5; }
3457 ac_cpp
='$CPP $CPPFLAGS'
3458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3464 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3465 if ${ac_cv_path_GREP+:} false
; then :
3466 $as_echo_n "(cached) " >&6
3468 if test -z "$GREP"; then
3469 ac_path_GREP_found
=false
3470 # Loop through the user's path and test for each of PROGNAME-LIST
3471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3472 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3475 test -z "$as_dir" && as_dir
=.
3476 for ac_prog
in grep ggrep
; do
3477 for ac_exec_ext
in '' $ac_executable_extensions; do
3478 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3479 as_fn_executable_p
"$ac_path_GREP" ||
continue
3480 # Check for GNU ac_path_GREP and select it if it is found.
3481 # Check for GNU $ac_path_GREP
3482 case `"$ac_path_GREP" --version 2>&1` in
3484 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3487 $as_echo_n 0123456789 >"conftest.in"
3490 cat "conftest.in" "conftest.in" >"conftest.tmp"
3491 mv "conftest.tmp" "conftest.in"
3492 cp "conftest.in" "conftest.nl"
3493 $as_echo 'GREP' >> "conftest.nl"
3494 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3495 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3496 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3497 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3498 # Best one so far, save it but keep looking for a better one
3499 ac_cv_path_GREP
="$ac_path_GREP"
3500 ac_path_GREP_max
=$ac_count
3502 # 10*(2^10) chars as input seems more than enough
3503 test $ac_count -gt 10 && break
3505 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3508 $ac_path_GREP_found && break 3
3513 if test -z "$ac_cv_path_GREP"; then
3514 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3517 ac_cv_path_GREP
=$GREP
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3522 $as_echo "$ac_cv_path_GREP" >&6; }
3523 GREP
="$ac_cv_path_GREP"
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3527 $as_echo_n "checking for egrep... " >&6; }
3528 if ${ac_cv_path_EGREP+:} false
; then :
3529 $as_echo_n "(cached) " >&6
3531 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3532 then ac_cv_path_EGREP
="$GREP -E"
3534 if test -z "$EGREP"; then
3535 ac_path_EGREP_found
=false
3536 # Loop through the user's path and test for each of PROGNAME-LIST
3537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3538 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3541 test -z "$as_dir" && as_dir
=.
3542 for ac_prog
in egrep; do
3543 for ac_exec_ext
in '' $ac_executable_extensions; do
3544 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3545 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3546 # Check for GNU ac_path_EGREP and select it if it is found.
3547 # Check for GNU $ac_path_EGREP
3548 case `"$ac_path_EGREP" --version 2>&1` in
3550 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3553 $as_echo_n 0123456789 >"conftest.in"
3556 cat "conftest.in" "conftest.in" >"conftest.tmp"
3557 mv "conftest.tmp" "conftest.in"
3558 cp "conftest.in" "conftest.nl"
3559 $as_echo 'EGREP' >> "conftest.nl"
3560 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3561 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3562 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3563 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3564 # Best one so far, save it but keep looking for a better one
3565 ac_cv_path_EGREP
="$ac_path_EGREP"
3566 ac_path_EGREP_max
=$ac_count
3568 # 10*(2^10) chars as input seems more than enough
3569 test $ac_count -gt 10 && break
3571 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3574 $ac_path_EGREP_found && break 3
3579 if test -z "$ac_cv_path_EGREP"; then
3580 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3583 ac_cv_path_EGREP
=$EGREP
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3589 $as_echo "$ac_cv_path_EGREP" >&6; }
3590 EGREP
="$ac_cv_path_EGREP"
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3594 $as_echo_n "checking for ANSI C header files... " >&6; }
3595 if ${ac_cv_header_stdc+:} false
; then :
3596 $as_echo_n "(cached) " >&6
3598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3613 if ac_fn_c_try_compile
"$LINENO"; then :
3614 ac_cv_header_stdc
=yes
3616 ac_cv_header_stdc
=no
3618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3620 if test $ac_cv_header_stdc = yes; then
3621 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3628 $EGREP "memchr" >/dev
/null
2>&1; then :
3631 ac_cv_header_stdc
=no
3637 if test $ac_cv_header_stdc = yes; then
3638 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3645 $EGREP "free" >/dev
/null
2>&1; then :
3648 ac_cv_header_stdc
=no
3654 if test $ac_cv_header_stdc = yes; then
3655 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3656 if test "$cross_compiling" = yes; then :
3659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3663 #if ((' ' & 0x0FF) == 0x020)
3664 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3665 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3667 # define ISLOWER(c) \
3668 (('a' <= (c) && (c) <= 'i') \
3669 || ('j' <= (c) && (c) <= 'r') \
3670 || ('s' <= (c) && (c) <= 'z'))
3671 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3679 for (i = 0; i < 256; i++)
3680 if (XOR (islower (i), ISLOWER (i))
3681 || toupper (i) != TOUPPER (i))
3686 if ac_fn_c_try_run
"$LINENO"; then :
3689 ac_cv_header_stdc
=no
3691 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3692 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3698 $as_echo "$ac_cv_header_stdc" >&6; }
3699 if test $ac_cv_header_stdc = yes; then
3701 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3705 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3706 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3707 inttypes.h stdint.h unistd.h
3709 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3710 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3712 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3713 cat >>confdefs.h
<<_ACEOF
3714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3723 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3724 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3731 if test "$MINIX" = yes; then
3733 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3736 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3739 $as_echo "#define _MINIX 1" >>confdefs.h
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3745 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3746 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3747 $as_echo_n "(cached) " >&6
3749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3752 # define __EXTENSIONS__ 1
3753 $ac_includes_default
3762 if ac_fn_c_try_compile
"$LINENO"; then :
3763 ac_cv_safe_to_define___extensions__
=yes
3765 ac_cv_safe_to_define___extensions__
=no
3767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3770 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3771 test $ac_cv_safe_to_define___extensions__ = yes &&
3772 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3774 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3776 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3778 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3780 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3783 am__api_version
='1.15'
3785 # Find a good install program. We prefer a C program (faster),
3786 # so one script is as good as another. But avoid the broken or
3787 # incompatible versions:
3788 # SysV /etc/install, /usr/sbin/install
3789 # SunOS /usr/etc/install
3790 # IRIX /sbin/install
3792 # AmigaOS /C/install, which installs bootblocks on floppy discs
3793 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3794 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3795 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3796 # OS/2's system install, which has a completely different semantic
3797 # ./install, which can be erroneously created by make from ./install.sh.
3798 # Reject install programs that cannot install multiple files.
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3800 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3801 if test -z "$INSTALL"; then
3802 if ${ac_cv_path_install+:} false
; then :
3803 $as_echo_n "(cached) " >&6
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir
=.
3810 # Account for people who put trailing slashes in PATH elements.
3811 case $as_dir/ in #((
3812 .
/ | .
// |
/[cC
]/* | \
3813 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3814 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3817 # OSF1 and SCO ODT 3.0 have their own names for install.
3818 # Don't use installbsd from OSF since it installs stuff as root
3820 for ac_prog
in ginstall scoinst
install; do
3821 for ac_exec_ext
in '' $ac_executable_extensions; do
3822 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3823 if test $ac_prog = install &&
3824 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3825 # AIX install. It has an incompatible calling convention.
3827 elif test $ac_prog = install &&
3828 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3829 # program-specific install script used by HP pwplus--don't use.
3832 rm -rf conftest.one conftest.two conftest.dir
3833 echo one
> conftest.one
3834 echo two
> conftest.two
3836 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3837 test -s conftest.one
&& test -s conftest.two
&&
3838 test -s conftest.dir
/conftest.one
&&
3839 test -s conftest.dir
/conftest.two
3841 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3854 rm -rf conftest.one conftest.two conftest.dir
3857 if test "${ac_cv_path_install+set}" = set; then
3858 INSTALL
=$ac_cv_path_install
3860 # As a last resort, use the slow shell script. Don't cache a
3861 # value for INSTALL within a source directory, because that will
3862 # break other packages using the cache if that directory is
3863 # removed, or if the value is a relative name.
3864 INSTALL
=$ac_install_sh
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3868 $as_echo "$INSTALL" >&6; }
3870 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3871 # It thinks the first close brace ends the variable substitution.
3872 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3874 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3876 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3879 $as_echo_n "checking whether build environment is sane... " >&6; }
3880 # Reject unsafe characters in $srcdir or the absolute working directory
3881 # name. Accept space and tab only in the latter.
3885 *[\\\"\
#\$\&\'\`$am_lf]*)
3886 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3889 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3890 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3893 # Do 'set' in a subshell so we don't clobber the current shell's
3894 # arguments. Must try -L first in case configure is actually a
3895 # symlink; some systems play weird games with the mod time of symlinks
3896 # (eg FreeBSD returns the mod time of the symlink's containing
3900 for am_try
in 1 2; do
3901 echo "timestamp, slept: $am_has_slept" > conftest.
file
3902 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3903 if test "$*" = "X"; then
3905 set X
`ls -t "$srcdir/configure" conftest.file`
3907 if test "$*" != "X $srcdir/configure conftest.file" \
3908 && test "$*" != "X conftest.file $srcdir/configure"; then
3910 # If neither matched, then we have a broken ls. This can happen
3911 # if, for instance, CONFIG_SHELL is bash and it inherits a
3912 # broken ls alias from the environment. This has actually
3913 # happened. Such a system could not be considered "sane".
3914 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3915 alias in your environment" "$LINENO" 5
3917 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3924 test "$2" = conftest.
file
3930 as_fn_error $?
"newly created file is older than distributed files!
3931 Check your system clock" "$LINENO" 5
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3934 $as_echo "yes" >&6; }
3935 # If we didn't sleep, we still need to ensure time stamps of config.status and
3936 # generated files are strictly newer.
3938 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3945 test "$program_prefix" != NONE
&&
3946 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3947 # Use a double $ so make ignores it.
3948 test "$program_suffix" != NONE
&&
3949 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3950 # Double any \ or $.
3951 # By default was `s,x,x', remove it if useless.
3952 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3953 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3955 if test x
"${MISSING+set}" != xset
; then
3958 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3960 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3963 # Use eval to expand $SHELL
3964 if eval "$MISSING --is-lightweight"; then
3965 am_missing_run
="$MISSING "
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3969 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3972 if test x
"${install_sh+set}" != xset
; then
3975 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3977 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3981 # Installed binaries are usually stripped using 'strip' when the user
3982 # run "make install-strip". However 'strip' might not be the right
3983 # tool to use in cross-compilation environments, therefore Automake
3984 # will honor the 'STRIP' environment variable to overrule this program.
3985 if test "$cross_compiling" != no
; then
3986 if test -n "$ac_tool_prefix"; then
3987 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3988 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_STRIP+:} false
; then :
3992 $as_echo_n "(cached) " >&6
3994 if test -n "$STRIP"; then
3995 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir
=.
4002 for ac_exec_ext
in '' $ac_executable_extensions; do
4003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014 STRIP
=$ac_cv_prog_STRIP
4015 if test -n "$STRIP"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4017 $as_echo "$STRIP" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4025 if test -z "$ac_cv_prog_STRIP"; then
4027 # Extract the first word of "strip", so it can be a program name with args.
4028 set dummy strip
; ac_word
=$2
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4030 $as_echo_n "checking for $ac_word... " >&6; }
4031 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4032 $as_echo_n "(cached) " >&6
4034 if test -n "$ac_ct_STRIP"; then
4035 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4041 test -z "$as_dir" && as_dir
=.
4042 for ac_exec_ext
in '' $ac_executable_extensions; do
4043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4044 ac_cv_prog_ac_ct_STRIP
="strip"
4045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4055 if test -n "$ac_ct_STRIP"; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4057 $as_echo "$ac_ct_STRIP" >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060 $as_echo "no" >&6; }
4063 if test "x$ac_ct_STRIP" = x
; then
4066 case $cross_compiling:$ac_tool_warned in
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4070 ac_tool_warned
=yes ;;
4075 STRIP
="$ac_cv_prog_STRIP"
4079 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4082 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4083 if test -z "$MKDIR_P"; then
4084 if ${ac_cv_path_mkdir+:} false
; then :
4085 $as_echo_n "(cached) " >&6
4087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4088 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4091 test -z "$as_dir" && as_dir
=.
4092 for ac_prog
in mkdir gmkdir
; do
4093 for ac_exec_ext
in '' $ac_executable_extensions; do
4094 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4095 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4096 'mkdir (GNU coreutils) '* | \
4097 'mkdir (coreutils) '* | \
4098 'mkdir (fileutils) '4.1*)
4099 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4109 test -d .
/--version && rmdir .
/--version
4110 if test "${ac_cv_path_mkdir+set}" = set; then
4111 MKDIR_P
="$ac_cv_path_mkdir -p"
4113 # As a last resort, use the slow shell script. Don't cache a
4114 # value for MKDIR_P within a source directory, because that will
4115 # break other packages using the cache if that directory is
4116 # removed, or if the value is a relative name.
4117 MKDIR_P
="$ac_install_sh -d"
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4121 $as_echo "$MKDIR_P" >&6; }
4123 for ac_prog
in gawk mawk nawk
awk
4125 # Extract the first word of "$ac_prog", so it can be a program name with args.
4126 set dummy
$ac_prog; ac_word
=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_prog_AWK+:} false
; then :
4130 $as_echo_n "(cached) " >&6
4132 if test -n "$AWK"; then
4133 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4139 test -z "$as_dir" && as_dir
=.
4140 for ac_exec_ext
in '' $ac_executable_extensions; do
4141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4142 ac_cv_prog_AWK
="$ac_prog"
4143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 if test -n "$AWK"; then
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4155 $as_echo "$AWK" >&6; }
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4162 test -n "$AWK" && break
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4166 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4168 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4169 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4170 $as_echo_n "(cached) " >&6
4172 cat >conftest.
make <<\_ACEOF
4175 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4177 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4178 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4180 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4182 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4186 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4188 $as_echo "yes" >&6; }
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4192 $as_echo "no" >&6; }
4193 SET_MAKE
="MAKE=${MAKE-make}"
4196 rm -rf .tst
2>/dev
/null
4197 mkdir .tst
2>/dev
/null
4198 if test -d .tst
; then
4203 rmdir .tst
2>/dev
/null
4205 DEPDIR
="${am__leading_dot}deps"
4207 ac_config_commands
="$ac_config_commands depfiles"
4210 am_make
=${MAKE-make}
4211 cat > confinc
<< 'END'
4213 @
echo this is the am__doit target
4216 # If we don't find an include directive, just comment out the code.
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4218 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4222 # First try GNU make style include.
4223 echo "include confinc" > confmf
4224 # Ignore all kinds of additional output from 'make'.
4225 case `$am_make -s -f confmf 2> /dev/null` in #(
4226 *the\ am__doit\ target
*)
4232 # Now try BSD make style include.
4233 if test "$am__include" = "#"; then
4234 echo '.include "confinc"' > confmf
4235 case `$am_make -s -f confmf 2> /dev/null` in #(
4236 *the\ am__doit\ target
*)
4237 am__include
=.include
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4246 $as_echo "$_am_result" >&6; }
4247 rm -f confinc confmf
4249 # Check whether --enable-dependency-tracking was given.
4250 if test "${enable_dependency_tracking+set}" = set; then :
4251 enableval
=$enable_dependency_tracking;
4254 if test "x$enable_dependency_tracking" != xno
; then
4255 am_depcomp
="$ac_aux_dir/depcomp"
4259 if test "x$enable_dependency_tracking" != xno; then
4268 # Check whether --enable-silent-rules was given.
4269 if test "${enable_silent_rules+set}" = set; then :
4270 enableval
=$enable_silent_rules;
4273 case $enable_silent_rules in # (((
4274 yes) AM_DEFAULT_VERBOSITY
=0;;
4275 no
) AM_DEFAULT_VERBOSITY
=1;;
4276 *) AM_DEFAULT_VERBOSITY
=1;;
4278 am_make
=${MAKE-make}
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4280 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4281 if ${am_cv_make_support_nested_variables+:} false
; then :
4282 $as_echo_n "(cached) " >&6
4284 if $as_echo 'TRUE=$(BAR$(V))
4290 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4291 am_cv_make_support_nested_variables
=yes
4293 am_cv_make_support_nested_variables
=no
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4297 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4298 if test $am_cv_make_support_nested_variables = yes; then
4300 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4302 AM_V
=$AM_DEFAULT_VERBOSITY
4303 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4307 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4308 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4309 # is not polluted with repeated "-I."
4310 am__isrc
=' -I$(srcdir)'
4311 # test to see if srcdir already configured
4312 if test -f $srcdir/config.status
; then
4313 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4317 # test whether we have cygpath
4318 if test -z "$CYGPATH_W"; then
4319 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4320 CYGPATH_W
='cygpath -w'
4327 # Define the identity of the package.
4332 cat >>confdefs.h
<<_ACEOF
4333 #define PACKAGE "$PACKAGE"
4337 cat >>confdefs.h
<<_ACEOF
4338 #define VERSION "$VERSION"
4341 # Some tools Automake needs.
4343 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4346 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4349 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4352 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4355 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4357 # For better backward compatibility. To be removed once Automake 1.9.x
4358 # dies out for good. For more background, see:
4359 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4360 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4361 mkdir_p
='$(MKDIR_P)'
4363 # We need awk for the "check" target (and possibly the TAP driver). The
4364 # system "awk" is bad on some platforms.
4365 # Always define AMTAR for backward compatibility. Yes, it's still used
4366 # in the wild :-( We should find a proper way to deprecate it ...
4370 # We'll loop over all known methods to create a tar archive until one works.
4371 _am_tools
='gnutar pax cpio none'
4373 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4379 depcc
="$CC" am_compiler_list
=
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4382 $as_echo_n "checking dependency style of $depcc... " >&6; }
4383 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4384 $as_echo_n "(cached) " >&6
4386 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4387 # We make a subdir and do the tests there. Otherwise we can end up
4388 # making bogus files that we don't know about and never remove. For
4389 # instance it was reported that on HP-UX the gcc test will end up
4390 # making a dummy file named 'D' -- because '-MD' means "put the output
4394 # Copy depcomp to subdir because otherwise we won't find it if we're
4395 # using a relative directory.
4396 cp "$am_depcomp" conftest.dir
4398 # We will build objects and dependencies in a subdirectory because
4399 # it helps to detect inapplicable dependency modes. For instance
4400 # both Tru64's cc and ICC support -MD to output dependencies as a
4401 # side effect of compilation, but ICC will put the dependencies in
4402 # the current directory while Tru64 will put them in the object
4406 am_cv_CC_dependencies_compiler_type
=none
4407 if test "$am_compiler_list" = ""; then
4408 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4411 case " $depcc " in #(
4412 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4415 for depmode
in $am_compiler_list; do
4416 # Setup a source with many dependencies, because some compilers
4417 # like to wrap large dependency lists on column 80 (with \), and
4418 # we should not choose a depcomp mode which is confused by this.
4420 # We need to recreate these files for each test, as the compiler may
4421 # overwrite some of them when testing with obscure command lines.
4422 # This happens at least with the AIX C compiler.
4424 for i
in 1 2 3 4 5 6; do
4425 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4426 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4427 # Solaris 10 /bin/sh.
4428 echo '/* dummy */' > sub
/conftst
$i.h
4430 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4432 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4433 # mode. It turns out that the SunPro C++ compiler does not properly
4434 # handle '-M -o', and we need to detect this. Also, some Intel
4435 # versions had trouble with output in subdirs.
4436 am__obj
=sub
/conftest.
${OBJEXT-o}
4437 am__minus_obj
="-o $am__obj"
4440 # This depmode causes a compiler race in universal mode.
4441 test "$am__universal" = false ||
continue
4444 # After this tag, mechanisms are not by side-effect, so they'll
4445 # only be used when explicitly requested.
4446 if test "x$enable_dependency_tracking" = xyes
; then
4452 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4453 # This compiler won't grok '-c -o', but also, the minuso test has
4454 # not run yet. These depmodes are late enough in the game, and
4455 # so weak that their functioning should not be impacted.
4456 am__obj
=conftest.
${OBJEXT-o}
4461 if depmode
=$depmode \
4462 source=sub
/conftest.c object
=$am__obj \
4463 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4464 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4465 >/dev
/null
2>conftest.err
&&
4466 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4467 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4468 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4469 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4470 # icc doesn't choke on unknown options, it will just issue warnings
4471 # or remarks (even with -Werror). So we grep stderr for any message
4472 # that says an option was ignored or not supported.
4473 # When given -MP, icc 7.0 and 7.1 complain thusly:
4474 # icc: Command line warning: ignoring option '-M'; no argument required
4475 # The diagnosis changed in icc 8.0:
4476 # icc: Command line remark: option '-MP' not supported
4477 if (grep 'ignoring option' conftest.err ||
4478 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4479 am_cv_CC_dependencies_compiler_type
=$depmode
4488 am_cv_CC_dependencies_compiler_type
=none
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4493 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4494 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4497 test "x$enable_dependency_tracking" != xno \
4498 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4500 am__fastdepCC_FALSE
='#'
4502 am__fastdepCC_TRUE
='#'
4503 am__fastdepCC_FALSE
=
4508 # POSIX will say in a future version that running "rm -f" with no argument
4509 # is OK; and we want to be able to make that assumption in our Makefile
4510 # recipes. So use an aggressive probe to check that the usage we want is
4511 # actually supported "in the wild" to an acceptable degree.
4512 # See automake bug#10828.
4513 # To make any issue more visible, cause the running configure to be aborted
4514 # by default if the 'rm' program in use doesn't match our expectations; the
4515 # user can still override this though.
4516 if rm -f && rm -fr && rm -rf; then : OK
; else
4520 Your 'rm' program seems unable to run without file operands specified
4521 on the command line, even when the '-f' option is present. This is contrary
4522 to the behaviour of most rm programs out there, and not conforming with
4523 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4525 Please tell bug-automake@gnu.org about your system, including the value
4526 of your $PATH and any error possibly output before this message. This
4527 can help us improve future automake versions.
4530 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4531 echo 'Configuration will proceed anyway, since you have set the' >&2
4532 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4536 Aborting the configuration process, to ensure you take notice of the issue.
4538 You can download and install GNU coreutils to get an 'rm' implementation
4539 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4541 If you want to complete the configuration process using your problematic
4542 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4543 to "yes", and re-run configure.
4546 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4550 # Check whether --enable-silent-rules was given.
4551 if test "${enable_silent_rules+set}" = set; then :
4552 enableval
=$enable_silent_rules;
4555 case $enable_silent_rules in # (((
4556 yes) AM_DEFAULT_VERBOSITY
=0;;
4557 no
) AM_DEFAULT_VERBOSITY
=1;;
4558 *) AM_DEFAULT_VERBOSITY
=0;;
4560 am_make
=${MAKE-make}
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4562 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4563 if ${am_cv_make_support_nested_variables+:} false
; then :
4564 $as_echo_n "(cached) " >&6
4566 if $as_echo 'TRUE=$(BAR$(V))
4572 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4573 am_cv_make_support_nested_variables
=yes
4575 am_cv_make_support_nested_variables
=no
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4579 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4580 if test $am_cv_make_support_nested_variables = yes; then
4582 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4584 AM_V
=$AM_DEFAULT_VERBOSITY
4585 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4590 # Checks for programs.
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4592 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4594 ac_make=`$as_echo "$2" | sed 's
/+/p
/g
; s
/[^a-zA-Z0-9_
]/_
/g
'`
4595 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4596 $as_echo_n "(cached) " >&6
4598 cat >conftest.make <<\_ACEOF
4601 @echo '@@@
%%%=$
(MAKE
)=@@@
%%%'
4603 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4604 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4606 eval ac_cv_prog_make_${ac_make}_set=yes;;
4608 eval ac_cv_prog_make_${ac_make}_set=no;;
4612 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4614 $as_echo "yes" >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4619 SET_MAKE="MAKE=${MAKE-make}"
4623 ac_cpp='$CPP $CPPFLAGS'
4624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4625 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4627 if test -n "$ac_tool_prefix"; then
4628 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4629 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4631 $as_echo_n "checking for $ac_word... " >&6; }
4632 if ${ac_cv_prog_CC+:} false; then :
4633 $as_echo_n "(cached) " >&6
4635 if test -n "$CC"; then
4636 ac_cv_prog_CC="$CC" # Let the user override the test.
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642 test -z "$as_dir" && as_dir=.
4643 for ac_exec_ext in '' $ac_executable_extensions; do
4644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4645 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 if test -n "$CC"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4658 $as_echo "$CC" >&6; }
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 $as_echo "no" >&6; }
4666 if test -z "$ac_cv_prog_CC"; then
4668 # Extract the first word of "gcc", so it can be a program name with args.
4669 set dummy gcc; ac_word=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4673 $as_echo_n "(cached) " >&6
4675 if test -n "$ac_ct_CC"; then
4676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir=.
4683 for ac_exec_ext in '' $ac_executable_extensions; do
4684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4685 ac_cv_prog_ac_ct_CC="gcc"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4696 if test -n "$ac_ct_CC"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4698 $as_echo "$ac_ct_CC" >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4704 if test "x$ac_ct_CC" = x; then
4707 case $cross_compiling:$ac_tool_warned in
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4711 ac_tool_warned=yes ;;
4719 if test -z "$CC"; then
4720 if test -n "$ac_tool_prefix"; then
4721 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4722 set dummy ${ac_tool_prefix}cc; ac_word=$2
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724 $as_echo_n "checking for $ac_word... " >&6; }
4725 if ${ac_cv_prog_CC+:} false; then :
4726 $as_echo_n "(cached) " >&6
4728 if test -n "$CC"; then
4729 ac_cv_prog_CC="$CC" # Let the user override the test.
4731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 test -z "$as_dir" && as_dir=.
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4738 ac_cv_prog_CC="${ac_tool_prefix}cc"
4739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 if test -n "$CC"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4751 $as_echo "$CC" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4760 if test -z "$CC"; then
4761 # Extract the first word of "cc", so it can be a program name with args.
4762 set dummy cc; ac_word=$2
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 $as_echo_n "checking for $ac_word... " >&6; }
4765 if ${ac_cv_prog_CC+:} false; then :
4766 $as_echo_n "(cached) " >&6
4768 if test -n "$CC"; then
4769 ac_cv_prog_CC="$CC" # Let the user override the test.
4772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776 test -z "$as_dir" && as_dir=.
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4779 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4780 ac_prog_rejected=yes
4784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4791 if test $ac_prog_rejected = yes; then
4792 # We found a bogon in the path, so make sure we never use it.
4793 set dummy $ac_cv_prog_CC
4795 if test $# != 0; then
4796 # We chose a different compiler from the bogus one.
4797 # However, it has the same basename, so the bogon will be chosen
4798 # first if we set CC to just the basename; use the full file name.
4800 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4806 if test -n "$CC"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4808 $as_echo "$CC" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4816 if test -z "$CC"; then
4817 if test -n "$ac_tool_prefix"; then
4818 for ac_prog in cl.exe
4820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 $as_echo_n "checking for $ac_word... " >&6; }
4824 if ${ac_cv_prog_CC+:} false; then :
4825 $as_echo_n "(cached) " >&6
4827 if test -n "$CC"; then
4828 ac_cv_prog_CC="$CC" # Let the user override the test.
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir=.
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4848 if test -n "$CC"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4850 $as_echo "$CC" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4857 test -n "$CC" && break
4860 if test -z "$CC"; then
4862 for ac_prog in cl.exe
4864 # Extract the first word of "$ac_prog", so it can be a program name with args.
4865 set dummy $ac_prog; ac_word=$2
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 $as_echo_n "checking for $ac_word... " >&6; }
4868 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4869 $as_echo_n "(cached) " >&6
4871 if test -n "$ac_ct_CC"; then
4872 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 test -z "$as_dir" && as_dir=.
4879 for ac_exec_ext in '' $ac_executable_extensions; do
4880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4881 ac_cv_prog_ac_ct_CC="$ac_prog"
4882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4892 if test -n "$ac_ct_CC"; then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4894 $as_echo "$ac_ct_CC" >&6; }
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4897 $as_echo "no" >&6; }
4901 test -n "$ac_ct_CC" && break
4904 if test "x$ac_ct_CC" = x; then
4907 case $cross_compiling:$ac_tool_warned in
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4911 ac_tool_warned=yes ;;
4920 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4921 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
4922 as_fn_error $? "no acceptable C compiler found in \$PATH
4923 See \`config.log
' for more details" "$LINENO" 5; }
4925 # Provide some information about the compiler.
4926 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4929 for ac_option in --version -v -V -qversion; do
4930 { { ac_try="$ac_compiler $ac_option >&5"
4932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4936 $as_echo "$ac_try_echo"; } >&5
4937 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4939 if test -s conftest.err; then
4941 ... rest of stderr output deleted ...
4942 10q
' conftest.err >conftest.er1
4943 cat conftest.er1 >&5
4945 rm -f conftest.er1 conftest.err
4946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4947 test $ac_status = 0; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4951 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4952 if ${ac_cv_c_compiler_gnu+:} false; then :
4953 $as_echo_n "(cached) " >&6
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4969 if ac_fn_c_try_compile "$LINENO"; then :
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4979 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4980 if test $ac_compiler_gnu = yes; then
4985 ac_test_CFLAGS=${CFLAGS+set}
4986 ac_save_CFLAGS=$CFLAGS
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4988 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4989 if ${ac_cv_prog_cc_g+:} false; then :
4990 $as_echo_n "(cached) " >&6
4992 ac_save_c_werror_flag=$ac_c_werror_flag
4993 ac_c_werror_flag=yes
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
5007 if ac_fn_c_try_compile "$LINENO"; then :
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5022 if ac_fn_c_try_compile "$LINENO"; then :
5025 ac_c_werror_flag=$ac_save_c_werror_flag
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5038 if ac_fn_c_try_compile "$LINENO"; then :
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 ac_c_werror_flag=$ac_save_c_werror_flag
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5049 $as_echo "$ac_cv_prog_cc_g" >&6; }
5050 if test "$ac_test_CFLAGS" = set; then
5051 CFLAGS=$ac_save_CFLAGS
5052 elif test $ac_cv_prog_cc_g = yes; then
5053 if test "$GCC" = yes; then
5059 if test "$GCC" = yes; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5066 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5067 if ${ac_cv_prog_cc_c89+:} false; then :
5068 $as_echo_n "(cached) " >&6
5070 ac_cv_prog_cc_c89=no
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5077 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
5078 struct buf
{ int x
; };
5079 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
5080 static char
*e
(p
, i
)
5086 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
5091 s
= g
(p
, va_arg
(v
,int
));
5096 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
5097 function prototypes and stuff
, but not
'\xHH' hex character constants.
5098 These don
't provoke an error unfortunately, instead are silently treated
5099 as 'x
'. The following induces an error, until -std is added to get
5100 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
5101 array size at least. It's necessary to
write '\x00'==0 to get something
5102 that
's true only with -std. */
5103 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5105 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5106 inside strings and character constants. */
5108 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
5110 int test (int i, double x);
5111 struct s1 {int (*f) (int a);};
5112 struct s2 {int (*f) (double a);};
5113 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5119 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5124 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5125 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5127 CC="$ac_save_CC $ac_arg"
5128 if ac_fn_c_try_compile "$LINENO"; then :
5129 ac_cv_prog_cc_c89=$ac_arg
5131 rm -f core conftest.err conftest.$ac_objext
5132 test "x$ac_cv_prog_cc_c89" != "xno" && break
5134 rm -f conftest.$ac_ext
5139 case "x$ac_cv_prog_cc_c89" in
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5142 $as_echo "none needed" >&6; } ;;
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5145 $as_echo "unsupported" >&6; } ;;
5147 CC="$CC $ac_cv_prog_cc_c89"
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5149 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5151 if test "x$ac_cv_prog_cc_c89" != xno; then :
5156 ac_cpp='$CPP $CPPFLAGS'
5157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5158 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5162 ac_cpp='$CPP $CPPFLAGS'
5163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5164 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5167 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5168 if ${am_cv_prog_cc_c_o+:} false; then :
5169 $as_echo_n "(cached) " >&6
5171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5182 # Make sure it works both with $CC and with simple cc.
5183 # Following AC_PROG_CC_C_O, we do the test twice because some
5184 # compilers refuse to overwrite an existing .o file with -o,
5185 # though they will create one.
5186 am_cv_prog_cc_c_o=yes
5188 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5189 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } \
5193 && test -f conftest2.$ac_objext; then
5196 am_cv_prog_cc_c_o=no
5200 rm -f core conftest*
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5204 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5205 if test "$am_cv_prog_cc_c_o" != yes; then
5206 # Losing compiler, so override with the script.
5207 # FIXME: It is wrong to rewrite CC.
5208 # But if we don't
then we get into trouble of one
sort or another.
5209 # A longer-term fix would be to have automake use am__CC in this case,
5210 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5211 CC
="$am_aux_dir/compile $CC"
5214 ac_cpp
='$CPP $CPPFLAGS'
5215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5222 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5224 $as_echo_n "checking for $ac_word... " >&6; }
5225 if ${ac_cv_prog_RANLIB+:} false
; then :
5226 $as_echo_n "(cached) " >&6
5228 if test -n "$RANLIB"; then
5229 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 RANLIB
=$ac_cv_prog_RANLIB
5249 if test -n "$RANLIB"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5251 $as_echo "$RANLIB" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5259 if test -z "$ac_cv_prog_RANLIB"; then
5260 ac_ct_RANLIB
=$RANLIB
5261 # Extract the first word of "ranlib", so it can be a program name with args.
5262 set dummy ranlib
; ac_word
=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5266 $as_echo_n "(cached) " >&6
5268 if test -n "$ac_ct_RANLIB"; then
5269 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5289 if test -n "$ac_ct_RANLIB"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5291 $as_echo "$ac_ct_RANLIB" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5297 if test "x$ac_ct_RANLIB" = x
; then
5300 case $cross_compiling:$ac_tool_warned in
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5304 ac_tool_warned
=yes ;;
5306 RANLIB
=$ac_ct_RANLIB
5309 RANLIB
="$ac_cv_prog_RANLIB"
5312 if test -n "$ac_tool_prefix"; then
5313 for ac_prog
in ar lib
"link -lib"
5315 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5316 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318 $as_echo_n "checking for $ac_word... " >&6; }
5319 if ${ac_cv_prog_AR+:} false
; then :
5320 $as_echo_n "(cached) " >&6
5322 if test -n "$AR"; then
5323 ac_cv_prog_AR
="$AR" # Let the user override the test.
5325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5329 test -z "$as_dir" && as_dir
=.
5330 for ac_exec_ext
in '' $ac_executable_extensions; do
5331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5332 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 if test -n "$AR"; then
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5345 $as_echo "$AR" >&6; }
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348 $as_echo "no" >&6; }
5352 test -n "$AR" && break
5355 if test -z "$AR"; then
5357 for ac_prog
in ar lib
"link -lib"
5359 # Extract the first word of "$ac_prog", so it can be a program name with args.
5360 set dummy
$ac_prog; ac_word
=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5364 $as_echo_n "(cached) " >&6
5366 if test -n "$ac_ct_AR"; then
5367 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5373 test -z "$as_dir" && as_dir
=.
5374 for ac_exec_ext
in '' $ac_executable_extensions; do
5375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5376 ac_cv_prog_ac_ct_AR
="$ac_prog"
5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5387 if test -n "$ac_ct_AR"; then
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5389 $as_echo "$ac_ct_AR" >&6; }
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5396 test -n "$ac_ct_AR" && break
5399 if test "x$ac_ct_AR" = x
; then
5402 case $cross_compiling:$ac_tool_warned in
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5406 ac_tool_warned
=yes ;;
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5415 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5416 if ${am_cv_ar_interface+:} false
; then :
5417 $as_echo_n "(cached) " >&6
5420 ac_cpp
='$CPP $CPPFLAGS'
5421 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5422 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5423 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5425 am_cv_ar_interface
=ar
5426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h. */
5428 int some_variable = 0;
5430 if ac_fn_c_try_compile
"$LINENO"; then :
5431 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
5432 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5433 (eval $am_ar_try) 2>&5
5435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5436 test $ac_status = 0; }
5437 if test "$ac_status" -eq 0; then
5438 am_cv_ar_interface
=ar
5440 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5441 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5442 (eval $am_ar_try) 2>&5
5444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5445 test $ac_status = 0; }
5446 if test "$ac_status" -eq 0; then
5447 am_cv_ar_interface
=lib
5449 am_cv_ar_interface
=unknown
5452 rm -f conftest.lib libconftest.a
5455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5457 ac_cpp
='$CPP $CPPFLAGS'
5458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5464 $as_echo "$am_cv_ar_interface" >&6; }
5466 case $am_cv_ar_interface in
5470 # Microsoft lib, so override with the ar-lib wrapper script.
5471 # FIXME: It is wrong to rewrite AR.
5472 # But if we don't then we get into trouble of one sort or another.
5473 # A longer-term fix would be to have automake use am__AR in this case,
5474 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5476 AR
="$am_aux_dir/ar-lib $AR"
5479 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
5483 # If we haven't got the data from the intl directory,
5484 # assume NLS is disabled.
5493 if test -f ..
/intl
/config.intl
; then
5494 . ..
/intl
/config.intl
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5497 $as_echo_n "checking whether NLS is requested... " >&6; }
5498 if test x
"$USE_NLS" != xyes
; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5503 $as_echo "yes" >&6; }
5505 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5509 $as_echo_n "checking for catalogs to be installed... " >&6; }
5510 # Look for .po and .gmo files in the source directory.
5513 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5514 # If there aren't any .gmo files the shell will give us the
5515 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5517 case "$cat" in *\
**)
5520 # The quadruple backslash is collapsed to a double backslash
5521 # by the backticks, then collapsed again by the double quotes,
5522 # leaving us with one backslash in the sed expression (right
5523 # before the dot that mustn't act as a wildcard).
5524 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5525 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5526 # The user is allowed to set LINGUAS to a list of languages to
5527 # install catalogs for. If it's empty that means "all of them."
5528 if test "x$LINGUAS" = x
; then
5529 CATALOGS
="$CATALOGS $cat"
5530 XLINGUAS
="$XLINGUAS $lang"
5532 case "$LINGUAS" in *$lang*)
5533 CATALOGS
="$CATALOGS $cat"
5534 XLINGUAS
="$XLINGUAS $lang"
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5541 $as_echo "$LINGUAS" >&6; }
5554 # Check whether --enable-shared was given.
5555 if test "${enable_shared+set}" = set; then :
5556 enableval
=$enable_shared; p
=${PACKAGE-default}
5558 yes) enable_shared
=yes ;;
5559 no
) enable_shared
=no
;;
5562 # Look at the argument we got. We use all the common list separators.
5563 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5564 for pkg
in $enableval; do
5566 if test "X$pkg" = "X$p"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5589 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5594 macro_version
='2.2.7a'
5595 macro_revision
='1.3134'
5609 ltmain
="$ac_aux_dir/ltmain.sh"
5611 # Backslashify metacharacters that are still active within
5612 # double-quoted strings.
5613 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5615 # Same as above, but do not quote variable references.
5616 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5618 # Sed substitution to delay expansion of an escaped shell variable in a
5619 # double_quote_subst'ed string.
5620 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5622 # Sed substitution to delay expansion of an escaped single quote.
5623 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5625 # Sed substitution to avoid accidental globbing in evaled expressions
5626 no_glob_subst
='s/\*/\\\*/g'
5628 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5629 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5630 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5633 $as_echo_n "checking how to print strings... " >&6; }
5634 # Test print first, because it will be a builtin if present.
5635 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5636 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5638 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5641 # Use this function as a fallback that always works.
5642 func_fallback_echo ()
5644 eval 'cat <<_LTECHO_EOF
5648 ECHO='func_fallback_echo
'
5651 # func_echo_all arg...
5652 # Invoke $ECHO with all args, space-separated.
5659 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5660 $as_echo "printf" >&6; } ;;
5661 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5662 $as_echo "print -r" >&6; } ;;
5663 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5664 $as_echo "cat" >&6; } ;;
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5681 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5682 if ${ac_cv_path_SED+:} false; then :
5683 $as_echo_n "(cached) " >&6
5685 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5686 for ac_i in 1 2 3 4 5 6 7; do
5687 ac_script="$ac_script$as_nl$ac_script"
5689 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5690 { ac_script=; unset ac_script;}
5691 if test -z "$SED"; then
5692 ac_path_SED_found=false
5693 # Loop through the user's path and
test for each of PROGNAME-LIST
5694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir
=.
5699 for ac_prog
in sed gsed
; do
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5702 as_fn_executable_p
"$ac_path_SED" ||
continue
5703 # Check for GNU ac_path_SED and select it if it is found.
5704 # Check for GNU $ac_path_SED
5705 case `"$ac_path_SED" --version 2>&1` in
5707 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5710 $as_echo_n 0123456789 >"conftest.in"
5713 cat "conftest.in" "conftest.in" >"conftest.tmp"
5714 mv "conftest.tmp" "conftest.in"
5715 cp "conftest.in" "conftest.nl"
5716 $as_echo '' >> "conftest.nl"
5717 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5718 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5719 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5720 if test $ac_count -gt ${ac_path_SED_max-0}; then
5721 # Best one so far, save it but keep looking for a better one
5722 ac_cv_path_SED
="$ac_path_SED"
5723 ac_path_SED_max
=$ac_count
5725 # 10*(2^10) chars as input seems more than enough
5726 test $ac_count -gt 10 && break
5728 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5731 $ac_path_SED_found && break 3
5736 if test -z "$ac_cv_path_SED"; then
5737 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5745 $as_echo "$ac_cv_path_SED" >&6; }
5746 SED
="$ac_cv_path_SED"
5749 test -z "$SED" && SED
=sed
5750 Xsed
="$SED -e 1s/^X//"
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5763 $as_echo_n "checking for fgrep... " >&6; }
5764 if ${ac_cv_path_FGREP+:} false
; then :
5765 $as_echo_n "(cached) " >&6
5767 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5768 then ac_cv_path_FGREP
="$GREP -F"
5770 if test -z "$FGREP"; then
5771 ac_path_FGREP_found
=false
5772 # Loop through the user's path and test for each of PROGNAME-LIST
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5774 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_prog
in fgrep
; do
5779 for ac_exec_ext
in '' $ac_executable_extensions; do
5780 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5781 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5782 # Check for GNU ac_path_FGREP and select it if it is found.
5783 # Check for GNU $ac_path_FGREP
5784 case `"$ac_path_FGREP" --version 2>&1` in
5786 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5789 $as_echo_n 0123456789 >"conftest.in"
5792 cat "conftest.in" "conftest.in" >"conftest.tmp"
5793 mv "conftest.tmp" "conftest.in"
5794 cp "conftest.in" "conftest.nl"
5795 $as_echo 'FGREP' >> "conftest.nl"
5796 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5797 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5798 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5799 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5800 # Best one so far, save it but keep looking for a better one
5801 ac_cv_path_FGREP
="$ac_path_FGREP"
5802 ac_path_FGREP_max
=$ac_count
5804 # 10*(2^10) chars as input seems more than enough
5805 test $ac_count -gt 10 && break
5807 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5810 $ac_path_FGREP_found && break 3
5815 if test -z "$ac_cv_path_FGREP"; then
5816 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5819 ac_cv_path_FGREP
=$FGREP
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5825 $as_echo "$ac_cv_path_FGREP" >&6; }
5826 FGREP
="$ac_cv_path_FGREP"
5829 test -z "$GREP" && GREP
=grep
5849 # Check whether --with-gnu-ld was given.
5850 if test "${with_gnu_ld+set}" = set; then :
5851 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5857 if test "$GCC" = yes; then
5858 # Check if gcc -print-prog-name=ld gives a path.
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5860 $as_echo_n "checking for ld used by $CC... " >&6; }
5863 # gcc leaves a trailing carriage return which upsets mingw
5864 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5866 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5869 # Accept absolute paths.
5871 re_direlt
='/[^/][^/]*/\.\./'
5872 # Canonicalize the pathname of ld
5873 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5874 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5875 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5877 test -z "$LD" && LD
="$ac_prog"
5880 # If it fails, then pretend we aren't using GCC.
5884 # If it is relative, then search for the first ld in PATH.
5888 elif test "$with_gnu_ld" = yes; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5890 $as_echo_n "checking for GNU ld... " >&6; }
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5893 $as_echo_n "checking for non-GNU ld... " >&6; }
5895 if ${lt_cv_path_LD+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5898 if test -z "$LD"; then
5899 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5900 for ac_dir
in $PATH; do
5902 test -z "$ac_dir" && ac_dir
=.
5903 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5904 lt_cv_path_LD
="$ac_dir/$ac_prog"
5905 # Check to see if the program is GNU ld. I'd rather use --version,
5906 # but apparently some variants of GNU ld only accept -v.
5907 # Break only if it was the GNU/non-GNU ld that we prefer.
5908 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5909 *GNU
* |
*'with BFD'*)
5910 test "$with_gnu_ld" != no
&& break
5913 test "$with_gnu_ld" != yes && break
5920 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5925 if test -n "$LD"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5927 $as_echo "$LD" >&6; }
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 $as_echo "no" >&6; }
5932 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5934 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5935 if ${lt_cv_prog_gnu_ld+:} false
; then :
5936 $as_echo_n "(cached) " >&6
5938 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5939 case `$LD -v 2>&1 </dev/null` in
5940 *GNU
* |
*'with BFD'*)
5941 lt_cv_prog_gnu_ld
=yes
5944 lt_cv_prog_gnu_ld
=no
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5949 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5950 with_gnu_ld
=$lt_cv_prog_gnu_ld
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5961 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5962 if ${lt_cv_path_NM+:} false
; then :
5963 $as_echo_n "(cached) " >&6
5965 if test -n "$NM"; then
5966 # Let the user override the nm to test.
5967 lt_nm_to_check
="$NM"
5969 lt_nm_to_check
="${ac_tool_prefix}nm"
5970 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5971 lt_nm_to_check
="$lt_nm_to_check nm"
5974 for lt_tmp_nm
in "$lt_nm_to_check"; do
5975 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5976 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5978 test -z "$ac_dir" && ac_dir
=.
5979 # Strip out any user-provided options from the nm to test twice,
5980 # the first time to test to see if nm (rather than its options) has
5981 # an explicit path, the second time to yield a file which can be
5983 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5984 case "$tmp_nm_path" in
5985 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5986 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5988 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5989 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5990 # Check to see if the nm accepts a BSD-compat flag.
5991 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5992 # nm: unknown option "B" ignored
5993 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5994 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5998 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6000 lt_cv_path_NM
="$tmp_nm -p"
6004 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6005 continue # so that we can try to find one that supports BSD flags
6014 : ${lt_cv_path_NM=no}
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6017 $as_echo "$lt_cv_path_NM" >&6; }
6018 if test "$lt_cv_path_NM" != "no"; then
6021 # Didn't find any BSD compatible name lister, look for dumpbin.
6022 if test -n "$DUMPBIN"; then :
6023 # Let the user override the test.
6025 if test -n "$ac_tool_prefix"; then
6026 for ac_prog
in dumpbin
"link -dump"
6028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6029 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6033 $as_echo_n "(cached) " >&6
6035 if test -n "$DUMPBIN"; then
6036 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6042 test -z "$as_dir" && as_dir
=.
6043 for ac_exec_ext
in '' $ac_executable_extensions; do
6044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 DUMPBIN
=$ac_cv_prog_DUMPBIN
6056 if test -n "$DUMPBIN"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6058 $as_echo "$DUMPBIN" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6065 test -n "$DUMPBIN" && break
6068 if test -z "$DUMPBIN"; then
6069 ac_ct_DUMPBIN
=$DUMPBIN
6070 for ac_prog
in dumpbin
"link -dump"
6072 # Extract the first word of "$ac_prog", so it can be a program name with args.
6073 set dummy
$ac_prog; ac_word
=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6077 $as_echo_n "(cached) " >&6
6079 if test -n "$ac_ct_DUMPBIN"; then
6080 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir
=.
6087 for ac_exec_ext
in '' $ac_executable_extensions; do
6088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6100 if test -n "$ac_ct_DUMPBIN"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6102 $as_echo "$ac_ct_DUMPBIN" >&6; }
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6109 test -n "$ac_ct_DUMPBIN" && break
6112 if test "x$ac_ct_DUMPBIN" = x
; then
6115 case $cross_compiling:$ac_tool_warned in
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6119 ac_tool_warned
=yes ;;
6121 DUMPBIN
=$ac_ct_DUMPBIN
6125 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6127 DUMPBIN
="$DUMPBIN -symbols"
6135 if test "$DUMPBIN" != ":"; then
6139 test -z "$NM" && NM
=nm
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6147 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6148 if ${lt_cv_nm_interface+:} false
; then :
6149 $as_echo_n "(cached) " >&6
6151 lt_cv_nm_interface
="BSD nm"
6152 echo "int some_variable = 0;" > conftest.
$ac_ext
6153 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6154 (eval "$ac_compile" 2>conftest.err
)
6155 cat conftest.err
>&5
6156 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6157 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6158 cat conftest.err
>&5
6159 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6160 cat conftest.out
>&5
6161 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6162 lt_cv_nm_interface
="MS dumpbin"
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6167 $as_echo "$lt_cv_nm_interface" >&6; }
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6170 $as_echo_n "checking whether ln -s works... " >&6; }
6172 if test "$LN_S" = "ln -s"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6174 $as_echo "yes" >&6; }
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6177 $as_echo "no, using $LN_S" >&6; }
6180 # find the maximum length of command line arguments
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6182 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6183 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6184 $as_echo_n "(cached) " >&6
6191 # On DJGPP, this test can blow up pretty badly due to problems in libc
6192 # (any single argument exceeding 2000 bytes causes a buffer overrun
6193 # during glob expansion). Even if it were fixed, the result of this
6194 # check would be larger than it should be.
6195 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6199 # Under GNU Hurd, this test is not required because there is
6200 # no limit to the length of command line arguments.
6201 # Libtool will interpret -1 as no limit whatsoever
6202 lt_cv_sys_max_cmd_len
=-1;
6205 cygwin
* | mingw
* | cegcc
*)
6206 # On Win9x/ME, this test blows up -- it succeeds, but takes
6207 # about 5 minutes as the teststring grows exponentially.
6208 # Worse, since 9x/ME are not pre-emptively multitasking,
6209 # you end up with a "frozen" computer, even though with patience
6210 # the test eventually succeeds (with a max line length of 256k).
6211 # Instead, let's just punt: use the minimum linelength reported by
6212 # all of the supported platforms: 8192 (on NT/2K/XP).
6213 lt_cv_sys_max_cmd_len
=8192;
6217 # On MiNT this can take a long time and run out of memory.
6218 lt_cv_sys_max_cmd_len
=8192;
6222 # On AmigaOS with pdksh, this test takes hours, literally.
6223 # So we just punt and use a minimum line length of 8192.
6224 lt_cv_sys_max_cmd_len
=8192;
6227 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6228 # This has been around since 386BSD, at least. Likely further.
6229 if test -x /sbin
/sysctl
; then
6230 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6231 elif test -x /usr
/sbin
/sysctl
; then
6232 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6234 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6236 # And add a safety zone
6237 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6238 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6242 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6243 lt_cv_sys_max_cmd_len
=196608
6247 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6248 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6249 # nice to cause kernel panics so lets avoid the loop below.
6250 # First set a reasonable default.
6251 lt_cv_sys_max_cmd_len
=16384
6253 if test -x /sbin
/sysconfig
; then
6254 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6255 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6260 lt_cv_sys_max_cmd_len
=102400
6262 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6263 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6264 if test -n "$kargmax"; then
6265 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6267 lt_cv_sys_max_cmd_len
=32768
6271 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6272 if test -n "$lt_cv_sys_max_cmd_len"; then
6273 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6274 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6276 # Make teststring a little bigger before we do anything with it.
6277 # a 1K string should be a reasonable start.
6278 for i
in 1 2 3 4 5 6 7 8 ; do
6279 teststring
=$teststring$teststring
6281 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6282 # If test is not a shell built-in, we'll probably end up computing a
6283 # maximum length that is only half of the actual maximum length, but
6285 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6286 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6287 test $i != 17 # 1/2 MB should be enough
6290 teststring
=$teststring$teststring
6292 # Only check the string length outside the loop.
6293 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6295 # Add a significant safety factor because C++ compilers can tack on
6296 # massive amounts of additional arguments before passing them to the
6297 # linker. It appears as though 1/2 is a usable value.
6298 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6305 if test -n $lt_cv_sys_max_cmd_len ; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6307 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6310 $as_echo "none" >&6; }
6312 max_cmd_len
=$lt_cv_sys_max_cmd_len
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6324 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6325 # Try some XSI features
6328 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6330 && eval 'test $(( 1 + 1 )) -eq 2 \
6331 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6334 $as_echo "$xsi_shell" >&6; }
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6338 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6340 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6342 && lt_shell_append=yes
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6344 $as_echo "$lt_shell_append" >&6; }
6347 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6357 # test EBCDIC or ASCII
6358 case `echo X|tr X '\101'` in
6359 A) # ASCII based system
6360 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6361 lt_SP2NL='tr \040 \012'
6362 lt_NL2SP='tr \015\012 \040\040'
6364 *) # EBCDIC based system
6365 lt_SP2NL='tr \100 \n'
6366 lt_NL2SP='tr \r\n \100\100'
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6379 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6380 if ${lt_cv_ld_reload_flag+:} false; then :
6381 $as_echo_n "(cached
) " >&6
6383 lt_cv_ld_reload_flag='-r'
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6386 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6387 reload_flag=$lt_cv_ld_reload_flag
6388 case $reload_flag in
6390 *) reload_flag=" $reload_flag" ;;
6392 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6395 if test "$GCC" = yes; then
6396 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6398 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6411 if test -n "$ac_tool_prefix"; then
6412 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6413 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6415 $as_echo_n "checking
for $ac_word...
" >&6; }
6416 if ${ac_cv_prog_OBJDUMP+:} false; then :
6417 $as_echo_n "(cached
) " >&6
6419 if test -n "$OBJDUMP"; then
6420 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6429 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6439 OBJDUMP=$ac_cv_prog_OBJDUMP
6440 if test -n "$OBJDUMP"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6442 $as_echo "$OBJDUMP" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6445 $as_echo "no
" >&6; }
6450 if test -z "$ac_cv_prog_OBJDUMP"; then
6451 ac_ct_OBJDUMP=$OBJDUMP
6452 # Extract the first word of "objdump
", so it can be a program name with args.
6453 set dummy objdump; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6455 $as_echo_n "checking
for $ac_word...
" >&6; }
6456 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6457 $as_echo_n "(cached
) " >&6
6459 if test -n "$ac_ct_OBJDUMP"; then
6460 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6469 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6479 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6480 if test -n "$ac_ct_OBJDUMP"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6482 $as_echo "$ac_ct_OBJDUMP" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6485 $as_echo "no
" >&6; }
6488 if test "x
$ac_ct_OBJDUMP" = x; then
6491 case $cross_compiling:$ac_tool_warned in
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6494 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6495 ac_tool_warned=yes ;;
6497 OBJDUMP=$ac_ct_OBJDUMP
6500 OBJDUMP="$ac_cv_prog_OBJDUMP"
6503 test -z "$OBJDUMP" && OBJDUMP=objdump
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6514 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6515 if ${lt_cv_deplibs_check_method+:} false; then :
6516 $as_echo_n "(cached
) " >&6
6518 lt_cv_file_magic_cmd='$MAGIC_CMD'
6519 lt_cv_file_magic_test_file=
6520 lt_cv_deplibs_check_method='unknown'
6521 # Need to set the preceding variable on all platforms that support
6522 # interlibrary dependencies.
6523 # 'none' -- dependencies not supported.
6524 # `unknown' -- same as none, but documents that we really don't know.
6525 # 'pass_all' -- all dependencies passed with no checks.
6526 # 'test_compile' -- check by making test program.
6527 # 'file_magic [[regex]]' -- check by looking for files in library path
6528 # which responds to the $file_magic_cmd with a given extended regex.
6529 # If you have `file' or equivalent on your system and you're not sure
6530 # whether `pass_all' will *always* work, you probably want this one.
6534 lt_cv_deplibs_check_method=pass_all
6538 lt_cv_deplibs_check_method=pass_all
6542 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6543 lt_cv_file_magic_cmd='/usr/bin/file -L'
6544 lt_cv_file_magic_test_file=/shlib/libc.so
6548 # func_win32_libid is a shell function defined in ltmain.sh
6549 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6550 lt_cv_file_magic_cmd='func_win32_libid'
6554 # Base MSYS/MinGW do not provide the 'file' command needed by
6555 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6556 # unless we find 'file', for example because we are cross-compiling.
6557 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6558 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6559 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6560 lt_cv_file_magic_cmd='func_win32_libid'
6562 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6563 lt_cv_file_magic_cmd='$OBJDUMP -f'
6568 # use the weaker test based on 'objdump'. See mingw*.
6569 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6570 lt_cv_file_magic_cmd='$OBJDUMP -f'
6573 darwin* | rhapsody*)
6574 lt_cv_deplibs_check_method=pass_all
6577 freebsd* | dragonfly*)
6578 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6581 # Not sure whether the presence of OpenBSD here was a mistake.
6582 # Let's accept both of them until this is cleared up.
6583 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6584 lt_cv_file_magic_cmd=/usr/bin/file
6585 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6589 lt_cv_deplibs_check_method=pass_all
6594 lt_cv_deplibs_check_method=pass_all
6598 lt_cv_deplibs_check_method=pass_all
6601 hpux10.20* | hpux11*)
6602 lt_cv_file_magic_cmd=/usr/bin/file
6605 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6606 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6609 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]'
6610 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6613 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6614 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6620 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6621 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6624 irix5* | irix6* | nonstopux*)
6626 *-32|*"-32 ") libmagic=32-bit;;
6627 *-n32|*"-n32 ") libmagic=N32;;
6628 *-64|*"-64 ") libmagic=64-bit;;
6629 *) libmagic=never-match;;
6631 lt_cv_deplibs_check_method=pass_all
6634 # This must be Linux ELF.
6635 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6636 lt_cv_deplibs_check_method=pass_all
6640 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6641 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6643 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6648 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6649 lt_cv_file_magic_cmd=/usr/bin/file
6650 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6654 lt_cv_deplibs_check_method=pass_all
6658 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6659 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6661 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6665 osf3* | osf4* | osf5*)
6666 lt_cv_deplibs_check_method=pass_all
6670 lt_cv_deplibs_check_method=pass_all
6674 lt_cv_deplibs_check_method=pass_all
6677 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6678 lt_cv_deplibs_check_method=pass_all
6682 case $host_vendor in
6684 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]'
6685 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6688 lt_cv_deplibs_check_method=pass_all
6691 lt_cv_file_magic_cmd='/bin/file'
6692 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6695 lt_cv_file_magic_cmd='/bin/file'
6696 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6697 lt_cv_file_magic_test_file=/lib/libc.so
6700 lt_cv_deplibs_check_method=pass_all
6703 lt_cv_deplibs_check_method=pass_all
6709 lt_cv_deplibs_check_method=pass_all
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6715 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6716 file_magic_cmd=$lt_cv_file_magic_cmd
6717 deplibs_check_method=$lt_cv_deplibs_check_method
6718 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6732 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6733 for plugin in $plugin_names; do
6734 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6735 if test x$plugin_so = x$plugin; then
6736 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6738 if test x$plugin_so != x$plugin; then
6739 plugin_option="--plugin $plugin_so"
6744 if test -n "$ac_tool_prefix"; then
6745 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6746 set dummy ${ac_tool_prefix}ar; ac_word=$2
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6748 $as_echo_n "checking
for $ac_word...
" >&6; }
6749 if ${ac_cv_prog_AR+:} false; then :
6750 $as_echo_n "(cached
) " >&6
6752 if test -n "$AR"; then
6753 ac_cv_prog_AR="$AR" # Let the user override the test.
6755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759 test -z "$as_dir" && as_dir=.
6760 for ac_exec_ext in '' $ac_executable_extensions; do
6761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6762 ac_cv_prog_AR="${ac_tool_prefix}ar"
6763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6773 if test -n "$AR"; then
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6775 $as_echo "$AR" >&6; }
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6778 $as_echo "no
" >&6; }
6783 if test -z "$ac_cv_prog_AR"; then
6785 # Extract the first word of "ar", so it can be a program name with args.
6786 set dummy ar; ac_word=$2
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6788 $as_echo_n "checking
for $ac_word...
" >&6; }
6789 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6790 $as_echo_n "(cached
) " >&6
6792 if test -n "$ac_ct_AR"; then
6793 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799 test -z "$as_dir" && as_dir=.
6800 for ac_exec_ext in '' $ac_executable_extensions; do
6801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6802 ac_cv_prog_ac_ct_AR="ar"
6803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6812 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6813 if test -n "$ac_ct_AR"; then
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6815 $as_echo "$ac_ct_AR" >&6; }
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6818 $as_echo "no
" >&6; }
6821 if test "x
$ac_ct_AR" = x; then
6824 case $cross_compiling:$ac_tool_warned in
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6827 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6828 ac_tool_warned=yes ;;
6836 test -z "$AR" && AR=ar
6837 if test -n "$plugin_option"; then
6838 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6840 $AR $plugin_option rc conftest.a conftest.c
6841 if test "$?
" != 0; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6843 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6845 AR="$AR $plugin_option"
6850 test -z "$AR_FLAGS" && AR_FLAGS=cru
6862 if test -n "$ac_tool_prefix"; then
6863 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6864 set dummy ${ac_tool_prefix}strip; ac_word=$2
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6866 $as_echo_n "checking
for $ac_word...
" >&6; }
6867 if ${ac_cv_prog_STRIP+:} false; then :
6868 $as_echo_n "(cached
) " >&6
6870 if test -n "$STRIP"; then
6871 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877 test -z "$as_dir" && as_dir=.
6878 for ac_exec_ext in '' $ac_executable_extensions; do
6879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6880 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6881 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6890 STRIP=$ac_cv_prog_STRIP
6891 if test -n "$STRIP"; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6893 $as_echo "$STRIP" >&6; }
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6896 $as_echo "no
" >&6; }
6901 if test -z "$ac_cv_prog_STRIP"; then
6903 # Extract the first word of "strip
", so it can be a program name with args.
6904 set dummy strip; ac_word=$2
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6906 $as_echo_n "checking
for $ac_word...
" >&6; }
6907 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6908 $as_echo_n "(cached
) " >&6
6910 if test -n "$ac_ct_STRIP"; then
6911 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917 test -z "$as_dir" && as_dir=.
6918 for ac_exec_ext in '' $ac_executable_extensions; do
6919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6920 ac_cv_prog_ac_ct_STRIP="strip
"
6921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6930 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6931 if test -n "$ac_ct_STRIP"; then
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6933 $as_echo "$ac_ct_STRIP" >&6; }
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6936 $as_echo "no
" >&6; }
6939 if test "x
$ac_ct_STRIP" = x; then
6942 case $cross_compiling:$ac_tool_warned in
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6945 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6946 ac_tool_warned=yes ;;
6951 STRIP="$ac_cv_prog_STRIP"
6954 test -z "$STRIP" && STRIP=:
6961 if test -n "$ac_tool_prefix"; then
6962 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6963 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6965 $as_echo_n "checking
for $ac_word...
" >&6; }
6966 if ${ac_cv_prog_RANLIB+:} false; then :
6967 $as_echo_n "(cached
) " >&6
6969 if test -n "$RANLIB"; then
6970 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 test -z "$as_dir" && as_dir=.
6977 for ac_exec_ext in '' $ac_executable_extensions; do
6978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6979 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6989 RANLIB=$ac_cv_prog_RANLIB
6990 if test -n "$RANLIB"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6992 $as_echo "$RANLIB" >&6; }
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6995 $as_echo "no
" >&6; }
7000 if test -z "$ac_cv_prog_RANLIB"; then
7001 ac_ct_RANLIB=$RANLIB
7002 # Extract the first word of "ranlib
", so it can be a program name with args.
7003 set dummy ranlib; ac_word=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7005 $as_echo_n "checking
for $ac_word...
" >&6; }
7006 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7007 $as_echo_n "(cached
) " >&6
7009 if test -n "$ac_ct_RANLIB"; then
7010 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir=.
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7029 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7030 if test -n "$ac_ct_RANLIB"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7032 $as_echo "$ac_ct_RANLIB" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7035 $as_echo "no
" >&6; }
7038 if test "x
$ac_ct_RANLIB" = x; then
7041 case $cross_compiling:$ac_tool_warned in
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7044 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7045 ac_tool_warned=yes ;;
7047 RANLIB=$ac_ct_RANLIB
7050 RANLIB="$ac_cv_prog_RANLIB"
7053 test -z "$RANLIB" && RANLIB=:
7054 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7055 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7056 RANLIB="$RANLIB $plugin_option"
7065 # Determine commands to create old-style static archives.
7066 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7067 old_postinstall_cmds='chmod 644 $oldlib'
7068 old_postuninstall_cmds=
7070 if test -n "$RANLIB"; then
7073 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7076 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7079 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7084 lock_old_archive_extraction=yes ;;
7086 lock_old_archive_extraction=no ;;
7127 # If no C compiler was specified, use CC.
7130 # If no C compiler flags were specified, use CFLAGS.
7131 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7133 # Allow CC to be a program name with arguments.
7137 # Check for command to grab the raw symbol name followed by C symbol from nm.
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7139 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7140 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7141 $as_echo_n "(cached
) " >&6
7144 # These are sane defaults that work on at least a few old systems.
7145 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7147 # Character class describing NM global symbol codes.
7148 symcode='[BCDEGRST]'
7150 # Regexp to match symbols that can be accessed directly from C.
7151 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7153 # Define system-specific variables.
7158 cygwin* | mingw* | pw32* | cegcc*)
7159 symcode='[ABCDGISTW]'
7162 if test "$host_cpu" = ia64; then
7163 symcode='[ABCDEGRST]'
7167 symcode='[BCDEGRST]'
7170 symcode='[BCDEGQRST]'
7181 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7189 # If we're using GNU nm, then use its standard symbol codes.
7190 case `$NM -V 2>&1` in
7191 *GNU* | *'with BFD'*)
7192 symcode='[ABCDGIRSTW]' ;;
7195 # Transform an extracted symbol line into a proper C declaration.
7196 # Some systems (esp. on ia64) link data and code symbols differently,
7197 # so use this general approach.
7198 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7200 # Transform an extracted symbol line into symbol name and symbol address
7201 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7202 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'"
7204 # Handle CRLF in mingw tool chain
7208 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7212 # Try without a prefix underscore, then with it.
7213 for ac_symprfx in "" "_
"; do
7215 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7216 symxfrm="\\1 $ac_symprfx\\2 \\2"
7218 # Write the raw and C identifiers.
7219 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7220 # Fake it for dumpbin and say T for any non-static function
7221 # and D for any global variable.
7222 # Also find C++ and __fastcall symbols from MSVC++,
7223 # which start with @ or ?.
7224 lt_cv_sys_global_symbol_pipe="$AWK '"\
7225 " {last_section=section; section=\$ 3};"\
7226 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7227 " \$ 0!~/External *\|/{next};"\
7228 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7229 " {if(hide[section]) next};"\
7230 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7231 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7232 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7233 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7234 " ' prfx
=^
$ac_symprfx"
7236 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7239 # Check to see that the pipe works correctly.
7243 cat > conftest.$ac_ext <<_LT_EOF
7248 void nm_test_func(void);
7249 void nm_test_func(void){}
7253 int main(){nm_test_var='a';nm_test_func();return(0);}
7256 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7257 (eval $ac_compile) 2>&5
7259 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7260 test $ac_status = 0; }; then
7261 # Now try to grab the symbols.
7263 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7264 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7266 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7267 test $ac_status = 0; } && test -s "$nlist"; then
7268 # Try sorting and uniquifying the output.
7269 if sort "$nlist" | uniq > "$nlist"T; then
7270 mv -f "$nlist"T "$nlist"
7275 # Make sure that we snagged all the symbols we need.
7276 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7277 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7278 cat <<_LT_EOF > conftest.$ac_ext
7284 # Now generate the symbol file.
7285 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7287 cat <<_LT_EOF >> conftest.$ac_ext
7289 /* The mapping between symbol names and symbols. */
7294 lt__PROGRAM__LTX_preloaded_symbols[] =
7296 { "@PROGRAM@
", (void *) 0 },
7298 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7299 cat <<\_LT_EOF >> conftest.$ac_ext
7303 /* This works around a problem in FreeBSD linker */
7304 #ifdef FREEBSD_WORKAROUND
7305 static const void *lt_preloaded_setup() {
7306 return lt__PROGRAM__LTX_preloaded_symbols;
7314 # Now try linking the two files.
7315 mv conftest.$ac_objext conftstm.$ac_objext
7316 lt_save_LIBS="$LIBS"
7317 lt_save_CFLAGS="$CFLAGS"
7318 LIBS="conftstm.
$ac_objext"
7319 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7320 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7321 (eval $ac_link) 2>&5
7323 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7324 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7327 LIBS="$lt_save_LIBS"
7328 CFLAGS="$lt_save_CFLAGS"
7330 echo "cannot
find nm_test_func
in $nlist" >&5
7333 echo "cannot
find nm_test_var
in $nlist" >&5
7336 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7339 echo "$progname: failed program was
:" >&5
7340 cat conftest.$ac_ext >&5
7342 rm -rf conftest* conftst*
7344 # Do not use the global_symbol_pipe unless it works.
7345 if test "$pipe_works" = yes; then
7348 lt_cv_sys_global_symbol_pipe=
7354 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7355 lt_cv_sys_global_symbol_to_cdecl=
7357 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7359 $as_echo "failed
" >&6; }
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7362 $as_echo "ok
" >&6; }
7386 # Check whether --enable-libtool-lock was given.
7387 if test "${enable_libtool_lock+set}" = set; then :
7388 enableval=$enable_libtool_lock;
7391 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7393 # Some flags need to be propagated to the compiler or linker for good
7397 # Find out which ABI we are using.
7398 echo 'int i;' > conftest.$ac_ext
7399 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7400 (eval $ac_compile) 2>&5
7402 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7403 test $ac_status = 0; }; then
7404 case `/usr/bin/file conftest.$ac_objext` in
7416 # Find out which ABI we are using.
7417 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7418 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7419 (eval $ac_compile) 2>&5
7421 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7422 test $ac_status = 0; }; then
7423 if test "$lt_cv_prog_gnu_ld" = yes; then
7424 case `/usr/bin/file conftest.$ac_objext` in
7426 LD="${LD-ld} -melf32bsmip"
7429 LD="${LD-ld} -melf32bmipn32"
7432 LD="${LD-ld} -melf64bmip"
7436 case `/usr/bin/file conftest.$ac_objext` in
7452 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7453 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7454 # Find out which ABI we are using.
7455 echo 'int i;' > conftest.$ac_ext
7456 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7457 (eval $ac_compile) 2>&5
7459 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7460 test $ac_status = 0; }; then
7461 case `/usr/bin/file conftest.o` in
7464 x86_64-*kfreebsd*-gnu)
7465 LD="${LD-ld} -m elf_i386_fbsd
"
7468 case `/usr/bin/file conftest.o` in
7470 LD="${LD-ld} -m elf32_x86_64
"
7473 LD="${LD-ld} -m elf_i386
"
7477 powerpc64le-*linux*)
7478 LD="${LD-ld} -m elf32lppclinux
"
7481 LD="${LD-ld} -m elf32ppclinux
"
7484 LD="${LD-ld} -m elf_s390
"
7487 LD="${LD-ld} -m elf32_sparc
"
7493 x86_64-*kfreebsd*-gnu)
7494 LD="${LD-ld} -m elf_x86_64_fbsd
"
7497 LD="${LD-ld} -m elf_x86_64
"
7500 LD="${LD-ld} -m elf64lppc
"
7503 LD="${LD-ld} -m elf64ppc
"
7505 s390*-*linux*|s390*-*tpf*)
7506 LD="${LD-ld} -m elf64_s390
"
7509 LD="${LD-ld} -m elf64_sparc
"
7519 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7520 SAVE_CFLAGS="$CFLAGS"
7521 CFLAGS="$CFLAGS -belf"
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7523 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7524 if ${lt_cv_cc_needs_belf+:} false; then :
7525 $as_echo_n "(cached
) " >&6
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
7533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7544 if ac_fn_c_try_link "$LINENO"; then :
7545 lt_cv_cc_needs_belf=yes
7547 lt_cv_cc_needs_belf=no
7549 rm -f core conftest.err conftest.$ac_objext \
7550 conftest$ac_exeext conftest.$ac_ext
7552 ac_cpp='$CPP $CPPFLAGS'
7553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7559 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7560 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7561 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7562 CFLAGS="$SAVE_CFLAGS"
7566 # Find out which ABI we are using.
7567 echo 'int i;' > conftest.$ac_ext
7568 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7569 (eval $ac_compile) 2>&5
7571 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7572 test $ac_status = 0; }; then
7573 case `/usr/bin/file conftest.o` in
7575 case $lt_cv_prog_gnu_ld in
7576 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7578 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7590 need_locks="$enable_libtool_lock"
7594 rhapsody* | darwin*)
7595 if test -n "$ac_tool_prefix"; then
7596 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7597 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7599 $as_echo_n "checking
for $ac_word...
" >&6; }
7600 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7601 $as_echo_n "(cached
) " >&6
7603 if test -n "$DSYMUTIL"; then
7604 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 test -z "$as_dir" && as_dir=.
7611 for ac_exec_ext in '' $ac_executable_extensions; do
7612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7613 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7623 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7624 if test -n "$DSYMUTIL"; then
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7626 $as_echo "$DSYMUTIL" >&6; }
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7629 $as_echo "no
" >&6; }
7634 if test -z "$ac_cv_prog_DSYMUTIL"; then
7635 ac_ct_DSYMUTIL=$DSYMUTIL
7636 # Extract the first word of "dsymutil
", so it can be a program name with args.
7637 set dummy dsymutil; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7639 $as_echo_n "checking
for $ac_word...
" >&6; }
7640 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7641 $as_echo_n "(cached
) " >&6
7643 if test -n "$ac_ct_DSYMUTIL"; then
7644 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7653 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7663 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7664 if test -n "$ac_ct_DSYMUTIL"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7666 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7669 $as_echo "no
" >&6; }
7672 if test "x
$ac_ct_DSYMUTIL" = x; then
7675 case $cross_compiling:$ac_tool_warned in
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7678 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7679 ac_tool_warned=yes ;;
7681 DSYMUTIL=$ac_ct_DSYMUTIL
7684 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7687 if test -n "$ac_tool_prefix"; then
7688 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7689 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7691 $as_echo_n "checking
for $ac_word...
" >&6; }
7692 if ${ac_cv_prog_NMEDIT+:} false; then :
7693 $as_echo_n "(cached
) " >&6
7695 if test -n "$NMEDIT"; then
7696 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7715 NMEDIT=$ac_cv_prog_NMEDIT
7716 if test -n "$NMEDIT"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7718 $as_echo "$NMEDIT" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7721 $as_echo "no
" >&6; }
7726 if test -z "$ac_cv_prog_NMEDIT"; then
7727 ac_ct_NMEDIT=$NMEDIT
7728 # Extract the first word of "nmedit
", so it can be a program name with args.
7729 set dummy nmedit; ac_word=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7731 $as_echo_n "checking
for $ac_word...
" >&6; }
7732 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7733 $as_echo_n "(cached
) " >&6
7735 if test -n "$ac_ct_NMEDIT"; then
7736 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7742 test -z "$as_dir" && as_dir=.
7743 for ac_exec_ext in '' $ac_executable_extensions; do
7744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7745 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7755 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7756 if test -n "$ac_ct_NMEDIT"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7758 $as_echo "$ac_ct_NMEDIT" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7761 $as_echo "no
" >&6; }
7764 if test "x
$ac_ct_NMEDIT" = x; then
7767 case $cross_compiling:$ac_tool_warned in
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7770 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7771 ac_tool_warned=yes ;;
7773 NMEDIT=$ac_ct_NMEDIT
7776 NMEDIT="$ac_cv_prog_NMEDIT"
7779 if test -n "$ac_tool_prefix"; then
7780 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7781 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7783 $as_echo_n "checking
for $ac_word...
" >&6; }
7784 if ${ac_cv_prog_LIPO+:} false; then :
7785 $as_echo_n "(cached
) " >&6
7787 if test -n "$LIPO"; then
7788 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7797 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7807 LIPO=$ac_cv_prog_LIPO
7808 if test -n "$LIPO"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7810 $as_echo "$LIPO" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7813 $as_echo "no
" >&6; }
7818 if test -z "$ac_cv_prog_LIPO"; then
7820 # Extract the first word of "lipo
", so it can be a program name with args.
7821 set dummy lipo; ac_word=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7823 $as_echo_n "checking
for $ac_word...
" >&6; }
7824 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7825 $as_echo_n "(cached
) " >&6
7827 if test -n "$ac_ct_LIPO"; then
7828 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_ac_ct_LIPO="lipo
"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7847 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7848 if test -n "$ac_ct_LIPO"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7850 $as_echo "$ac_ct_LIPO" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7853 $as_echo "no
" >&6; }
7856 if test "x
$ac_ct_LIPO" = x; then
7859 case $cross_compiling:$ac_tool_warned in
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7862 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7863 ac_tool_warned=yes ;;
7868 LIPO="$ac_cv_prog_LIPO"
7871 if test -n "$ac_tool_prefix"; then
7872 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7873 set dummy ${ac_tool_prefix}otool; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7875 $as_echo_n "checking
for $ac_word...
" >&6; }
7876 if ${ac_cv_prog_OTOOL+:} false; then :
7877 $as_echo_n "(cached
) " >&6
7879 if test -n "$OTOOL"; then
7880 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7899 OTOOL=$ac_cv_prog_OTOOL
7900 if test -n "$OTOOL"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7902 $as_echo "$OTOOL" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7905 $as_echo "no
" >&6; }
7910 if test -z "$ac_cv_prog_OTOOL"; then
7912 # Extract the first word of "otool
", so it can be a program name with args.
7913 set dummy otool; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7915 $as_echo_n "checking
for $ac_word...
" >&6; }
7916 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7917 $as_echo_n "(cached
) " >&6
7919 if test -n "$ac_ct_OTOOL"; then
7920 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_ac_ct_OTOOL="otool
"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7939 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7940 if test -n "$ac_ct_OTOOL"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7942 $as_echo "$ac_ct_OTOOL" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7945 $as_echo "no
" >&6; }
7948 if test "x
$ac_ct_OTOOL" = x; then
7951 case $cross_compiling:$ac_tool_warned in
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7954 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7955 ac_tool_warned=yes ;;
7960 OTOOL="$ac_cv_prog_OTOOL"
7963 if test -n "$ac_tool_prefix"; then
7964 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7965 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7967 $as_echo_n "checking
for $ac_word...
" >&6; }
7968 if ${ac_cv_prog_OTOOL64+:} false; then :
7969 $as_echo_n "(cached
) " >&6
7971 if test -n "$OTOOL64"; then
7972 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 test -z "$as_dir" && as_dir=.
7979 for ac_exec_ext in '' $ac_executable_extensions; do
7980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7981 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7991 OTOOL64=$ac_cv_prog_OTOOL64
7992 if test -n "$OTOOL64"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7994 $as_echo "$OTOOL64" >&6; }
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7997 $as_echo "no
" >&6; }
8002 if test -z "$ac_cv_prog_OTOOL64"; then
8003 ac_ct_OTOOL64=$OTOOL64
8004 # Extract the first word of "otool64
", so it can be a program name with args.
8005 set dummy otool64; ac_word=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8007 $as_echo_n "checking
for $ac_word...
" >&6; }
8008 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8009 $as_echo_n "(cached
) " >&6
8011 if test -n "$ac_ct_OTOOL64"; then
8012 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir=.
8019 for ac_exec_ext in '' $ac_executable_extensions; do
8020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8021 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8031 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8032 if test -n "$ac_ct_OTOOL64"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8034 $as_echo "$ac_ct_OTOOL64" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8037 $as_echo "no
" >&6; }
8040 if test "x
$ac_ct_OTOOL64" = x; then
8043 case $cross_compiling:$ac_tool_warned in
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8046 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8047 ac_tool_warned=yes ;;
8049 OTOOL64=$ac_ct_OTOOL64
8052 OTOOL64="$ac_cv_prog_OTOOL64"
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8082 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8083 if ${lt_cv_apple_cc_single_mod+:} false; then :
8084 $as_echo_n "(cached
) " >&6
8086 lt_cv_apple_cc_single_mod=no
8087 if test -z "${LT_MULTI_MODULE}"; then
8088 # By default we will add the -single_module flag. You can override
8089 # by either setting the environment variable LT_MULTI_MODULE
8090 # non-empty at configure time, or by adding -multi_module to the
8092 rm -rf libconftest.dylib*
8093 echo "int foo
(void
){return 1;}" > conftest.c
8094 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8095 -dynamiclib -Wl,-single_module conftest.c
" >&5
8096 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8097 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8099 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8100 lt_cv_apple_cc_single_mod=yes
8102 cat conftest.err >&5
8104 rm -rf libconftest.dylib*
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8109 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8111 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8112 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8113 $as_echo_n "(cached
) " >&6
8115 lt_cv_ld_exported_symbols_list=no
8116 save_LDFLAGS=$LDFLAGS
8117 echo "_main
" > conftest.sym
8118 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8120 /* end confdefs.h. */
8130 if ac_fn_c_try_link "$LINENO"; then :
8131 lt_cv_ld_exported_symbols_list=yes
8133 lt_cv_ld_exported_symbols_list=no
8135 rm -f core conftest.err conftest.$ac_objext \
8136 conftest$ac_exeext conftest.$ac_ext
8137 LDFLAGS="$save_LDFLAGS"
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8141 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8143 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8144 if ${lt_cv_ld_force_load+:} false; then :
8145 $as_echo_n "(cached
) " >&6
8147 lt_cv_ld_force_load=no
8148 cat > conftest.c << _LT_EOF
8149 int forced_loaded() { return 2;}
8151 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8152 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8153 echo "$AR cru libconftest.a conftest.o
" >&5
8154 $AR cru libconftest.a conftest.o 2>&5
8155 cat > conftest.c << _LT_EOF
8156 int main() { return 0;}
8158 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8159 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8161 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8162 lt_cv_ld_force_load=yes
8164 cat conftest.err >&5
8166 rm -f conftest.err libconftest.a conftest conftest.c
8167 rm -rf conftest.dSYM
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8171 $as_echo "$lt_cv_ld_force_load" >&6; }
8173 rhapsody* | darwin1.[012])
8174 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8176 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8177 darwin*) # darwin 5.x on
8178 # if running on 10.5 or later, the deployment target defaults
8179 # to the OS version, if on x86, and 10.4, the deployment
8180 # target defaults to 10.4. Don't you love it?
8181 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8182 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8183 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8185 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8187 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8191 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8192 _lt_dar_single_mod='$single_module'
8194 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8195 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8197 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8199 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8200 _lt_dsymutil='~$DSYMUTIL $lib || :'
8207 for ac_header in dlfcn.h
8209 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8211 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8212 cat >>confdefs.h <<_ACEOF
8213 #define HAVE_DLFCN_H 1
8235 # Check whether --enable-static was given.
8236 if test "${enable_static+set}" = set; then :
8237 enableval=$enable_static; p=${PACKAGE-default}
8239 yes) enable_static=yes ;;
8240 no) enable_static=no ;;
8243 # Look at the argument we got. We use all the common list separators.
8244 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8245 for pkg in $enableval; do
8247 if test "X
$pkg" = "X
$p"; then
8267 # Check whether --with-pic was given.
8268 if test "${with_pic+set}" = set; then :
8269 withval=$with_pic; pic_mode="$withval"
8275 test -z "$pic_mode" && pic_mode=default
8283 # Check whether --enable-fast-install was given.
8284 if test "${enable_fast_install+set}" = set; then :
8285 enableval=$enable_fast_install; p=${PACKAGE-default}
8287 yes) enable_fast_install=yes ;;
8288 no) enable_fast_install=no ;;
8290 enable_fast_install=no
8291 # Look at the argument we got. We use all the common list separators.
8292 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8293 for pkg in $enableval; do
8295 if test "X
$pkg" = "X
$p"; then
8296 enable_fast_install=yes
8303 enable_fast_install=yes
8316 # This can be used to rebuild libtool when needed
8317 LIBTOOL_DEPS="$ltmain"
8319 # Always use our own libtool.
8320 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8347 test -z "$LN_S" && LN_S="ln -s"
8362 if test -n "${ZSH_VERSION+set}" ; then
8363 setopt NO_GLOB_SUBST
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8367 $as_echo_n "checking
for objdir...
" >&6; }
8368 if ${lt_cv_objdir+:} false; then :
8369 $as_echo_n "(cached
) " >&6
8371 rm -f .libs 2>/dev/null
8372 mkdir .libs 2>/dev/null
8373 if test -d .libs; then
8376 # MS-DOS does not allow filenames that begin with a dot.
8379 rmdir .libs 2>/dev/null
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8382 $as_echo "$lt_cv_objdir" >&6; }
8383 objdir=$lt_cv_objdir
8389 cat >>confdefs.h <<_ACEOF
8390 #define LT_OBJDIR "$lt_cv_objdir/"
8398 # AIX sometimes has problems with the GCC collect2 program. For some
8399 # reason, if we set the COLLECT_NAMES environment variable, the problems
8400 # vanish in a puff of smoke.
8401 if test "X
${COLLECT_NAMES+set}" != Xset; then
8403 export COLLECT_NAMES
8410 can_build_shared=yes
8412 # All known linkers require a `.a' archive for static linking (except MSVC,
8413 # which needs '.lib').
8416 with_gnu_ld="$lt_cv_prog_gnu_ld"
8419 old_CFLAGS="$CFLAGS"
8421 # Set sane defaults for various variables
8422 test -z "$CC" && CC=cc
8423 test -z "$LTCC" && LTCC=$CC
8424 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8425 test -z "$LD" && LD=ld
8426 test -z "$ac_objext" && ac_objext=o
8428 for cc_temp in $compiler""; do
8430 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8431 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8436 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8439 # Only perform the check for file, if the check method requires it
8440 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8441 case $deplibs_check_method in
8443 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8445 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8446 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8447 $as_echo_n "(cached
) " >&6
8451 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8454 lt_save_MAGIC_CMD="$MAGIC_CMD"
8455 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8456 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8457 for ac_dir in $ac_dummy; do
8459 test -z "$ac_dir" && ac_dir=.
8460 if test -f $ac_dir/${ac_tool_prefix}file; then
8461 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8462 if test -n "$file_magic_test_file"; then
8463 case $deplibs_check_method in
8465 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8466 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8467 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8468 $EGREP "$file_magic_regex" > /dev/null; then
8473 *** Warning: the command libtool uses to detect shared libraries,
8474 *** $file_magic_cmd, produces output that libtool cannot recognize.
8475 *** The result is that libtool may fail to recognize shared libraries
8476 *** as such. This will affect the creation of libtool libraries that
8477 *** depend on shared libraries, but programs linked with such libtool
8478 *** libraries will work regardless of this problem. Nevertheless, you
8479 *** may want to report the problem to your system manager and/or to
8480 *** bug-libtool@gnu.org
8490 MAGIC_CMD="$lt_save_MAGIC_CMD"
8495 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8496 if test -n "$MAGIC_CMD"; then
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8498 $as_echo "$MAGIC_CMD" >&6; }
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8501 $as_echo "no
" >&6; }
8508 if test -z "$lt_cv_path_MAGIC_CMD"; then
8509 if test -n "$ac_tool_prefix"; then
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8511 $as_echo_n "checking
for file...
" >&6; }
8512 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8513 $as_echo_n "(cached
) " >&6
8517 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8520 lt_save_MAGIC_CMD="$MAGIC_CMD"
8521 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8522 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8523 for ac_dir in $ac_dummy; do
8525 test -z "$ac_dir" && ac_dir=.
8526 if test -f $ac_dir/file; then
8527 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8528 if test -n "$file_magic_test_file"; then
8529 case $deplibs_check_method in
8531 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8532 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8533 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8534 $EGREP "$file_magic_regex" > /dev/null; then
8539 *** Warning: the command libtool uses to detect shared libraries,
8540 *** $file_magic_cmd, produces output that libtool cannot recognize.
8541 *** The result is that libtool may fail to recognize shared libraries
8542 *** as such. This will affect the creation of libtool libraries that
8543 *** depend on shared libraries, but programs linked with such libtool
8544 *** libraries will work regardless of this problem. Nevertheless, you
8545 *** may want to report the problem to your system manager and/or to
8546 *** bug-libtool@gnu.org
8556 MAGIC_CMD="$lt_save_MAGIC_CMD"
8561 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8562 if test -n "$MAGIC_CMD"; then
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8564 $as_echo "$MAGIC_CMD" >&6; }
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8567 $as_echo "no
" >&6; }
8580 # Use C for the default configuration in the libtool script
8584 ac_cpp='$CPP $CPPFLAGS'
8585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8590 # Source file extension for C test sources.
8593 # Object file extension for compiled C test sources.
8597 # Code to be used in simple compile tests
8598 lt_simple_compile_test_code="int some_variable
= 0;"
8600 # Code to be used in simple link tests
8601 lt_simple_link_test_code='int main(){return(0);}'
8609 # If no C compiler was specified, use CC.
8612 # If no C compiler flags were specified, use CFLAGS.
8613 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8615 # Allow CC to be a program name with arguments.
8618 # Save the default compiler, since it gets overwritten when the other
8619 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8620 compiler_DEFAULT=$CC
8622 # save warnings/boilerplate of simple test code
8623 ac_outfile=conftest.$ac_objext
8624 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8625 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8626 _lt_compiler_boilerplate=`cat conftest.err`
8629 ac_outfile=conftest.$ac_objext
8630 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8631 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8632 _lt_linker_boilerplate=`cat conftest.err`
8637 ## There is no encapsulation within the following macros, do not change
8638 ## the running order or otherwise move them around unless you know exactly
8639 ## what you are doing...
8640 if test -n "$compiler"; then
8642 lt_prog_compiler_no_builtin_flag=
8644 if test "$GCC" = yes; then
8645 case $cc_basename in
8647 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8649 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8653 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8654 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8655 $as_echo_n "(cached
) " >&6
8657 lt_cv_prog_compiler_rtti_exceptions=no
8658 ac_outfile=conftest.$ac_objext
8659 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8660 lt_compiler_flag="-fno-rtti -fno-exceptions"
8661 # Insert the option either (1) after the last *FLAGS variable, or
8662 # (2) before a word containing "conftest.
", or (3) at the end.
8663 # Note that $ac_compile itself does not contain backslashes and begins
8664 # with a dollar sign (not a hyphen), so the echo should work correctly.
8665 # The option is referenced via a variable to avoid confusing sed.
8666 lt_compile=`echo "$ac_compile" | $SED \
8667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8669 -e 's:$: $lt_compiler_flag:'`
8670 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8671 (eval "$lt_compile" 2>conftest.err)
8673 cat conftest.err >&5
8674 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8675 if (exit $ac_status) && test -s "$ac_outfile"; then
8676 # The compiler can only warn and ignore the option if not recognized
8677 # So say no if there are warnings other than the usual output.
8678 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8679 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8680 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8681 lt_cv_prog_compiler_rtti_exceptions=yes
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8688 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8690 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8691 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8703 lt_prog_compiler_wl=
8704 lt_prog_compiler_pic=
8705 lt_prog_compiler_static=
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8708 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8710 if test "$GCC" = yes; then
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_static='-static'
8716 # All AIX code is PIC.
8717 if test "$host_cpu" = ia64; then
8718 # AIX 5 now supports IA64 processor
8719 lt_prog_compiler_static='-Bstatic'
8721 lt_prog_compiler_pic='-fPIC'
8727 # see comment about AmigaOS4 .so support
8728 lt_prog_compiler_pic='-fPIC'
8731 # FIXME: we need at least 68020 code to build shared libraries, but
8732 # adding the `-m68020' flag to GCC prevents building anything better,
8734 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8739 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8740 # PIC is the default for these OSes.
8743 mingw* | cygwin* | pw32* | os2* | cegcc*)
8744 # This hack is so that the source file can tell whether it is being
8745 # built for inclusion in a dll (and should export symbols for example).
8746 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8747 # (--disable-auto-import) libraries
8748 lt_prog_compiler_pic='-DDLL_EXPORT'
8751 darwin* | rhapsody*)
8752 # PIC is the default on this platform
8753 # Common symbols not allowed in MH_DYLIB files
8754 lt_prog_compiler_pic='-fno-common'
8758 # PIC is the default for Haiku.
8759 # The "-static" flag exists, but is broken.
8760 lt_prog_compiler_static=
8764 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8765 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8766 # sets the default TLS model and affects inlining.
8772 lt_prog_compiler_pic='-fPIC'
8778 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8779 # Instead, we relocate shared libraries at runtime.
8783 # Just because we use GCC doesn't mean we suddenly get shared libraries
8784 # on systems that don't support them.
8785 lt_prog_compiler_can_build_shared=no
8790 # QNX uses GNU C++, but need to define -shared option too, otherwise
8792 lt_prog_compiler_pic='-fPIC -shared'
8796 if test -d /usr/nec; then
8797 lt_prog_compiler_pic=-Kconform_pic
8802 lt_prog_compiler_pic='-fPIC'
8806 case $cc_basename in
8807 nvcc*) # Cuda Compiler Driver 2.2
8808 lt_prog_compiler_wl='-Xlinker '
8809 lt_prog_compiler_pic='-Xcompiler -fPIC'
8813 # PORTME Check for flag to pass linker flags through the system compiler.
8816 lt_prog_compiler_wl='-Wl,'
8817 if test "$host_cpu" = ia64; then
8818 # AIX 5 now supports IA64 processor
8819 lt_prog_compiler_static='-Bstatic'
8821 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8825 mingw* | cygwin* | pw32* | os2* | cegcc*)
8826 # This hack is so that the source file can tell whether it is being
8827 # built for inclusion in a dll (and should export symbols for example).
8828 lt_prog_compiler_pic='-DDLL_EXPORT'
8831 hpux9* | hpux10* | hpux11*)
8832 lt_prog_compiler_wl='-Wl,'
8833 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8840 lt_prog_compiler_pic='+Z'
8843 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8844 lt_prog_compiler_static='${wl}-a ${wl}archive'
8847 irix5* | irix6* | nonstopux*)
8848 lt_prog_compiler_wl='-Wl,'
8849 # PIC (with -KPIC) is the default.
8850 lt_prog_compiler_static='-non_shared'
8853 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8854 case $cc_basename in
8855 # old Intel for x86_64 which still supported -KPIC.
8857 lt_prog_compiler_wl='-Wl,'
8858 lt_prog_compiler_pic='-KPIC'
8859 lt_prog_compiler_static='-static'
8861 # icc used to be incompatible with GCC.
8862 # ICC 10 doesn't accept -KPIC any more.
8864 lt_prog_compiler_wl='-Wl,'
8865 lt_prog_compiler_pic='-fPIC'
8866 lt_prog_compiler_static='-static'
8868 # Lahey Fortran 8.1.
8870 lt_prog_compiler_wl='-Wl,'
8871 lt_prog_compiler_pic='--shared'
8872 lt_prog_compiler_static='--static'
8874 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8875 # Portland Group compilers (*not* the Pentium gcc compiler,
8876 # which looks to be a dead project)
8877 lt_prog_compiler_wl='-Wl,'
8878 lt_prog_compiler_pic='-fpic'
8879 lt_prog_compiler_static='-Bstatic'
8882 lt_prog_compiler_wl='-Wl,'
8883 # All Alpha code is PIC.
8884 lt_prog_compiler_static='-non_shared'
8886 xl* | bgxl* | bgf* | mpixl*)
8887 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8888 lt_prog_compiler_wl='-Wl,'
8889 lt_prog_compiler_pic='-qpic'
8890 lt_prog_compiler_static='-qstaticlink'
8893 case `$CC -V 2>&1 | sed 5q` in
8894 *Sun\ F* | *Sun*Fortran*)
8895 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8896 lt_prog_compiler_pic='-KPIC'
8897 lt_prog_compiler_static='-Bstatic'
8898 lt_prog_compiler_wl=''
8902 lt_prog_compiler_pic='-KPIC'
8903 lt_prog_compiler_static='-Bstatic'
8904 lt_prog_compiler_wl='-Wl,'
8912 lt_prog_compiler_pic='-KPIC'
8913 lt_prog_compiler_static='-Bstatic'
8917 # QNX uses GNU C++, but need to define -shared option too, otherwise
8919 lt_prog_compiler_pic='-fPIC -shared'
8922 osf3* | osf4* | osf5*)
8923 lt_prog_compiler_wl='-Wl,'
8924 # All OSF/1 code is PIC.
8925 lt_prog_compiler_static='-non_shared'
8929 lt_prog_compiler_static='-non_shared'
8933 lt_prog_compiler_pic='-KPIC'
8934 lt_prog_compiler_static='-Bstatic'
8935 case $cc_basename in
8937 lt_prog_compiler_wl='-Qoption ld ';;
8939 lt_prog_compiler_wl='-Wl,';;
8944 lt_prog_compiler_wl='-Qoption ld '
8945 lt_prog_compiler_pic='-PIC'
8946 lt_prog_compiler_static='-Bstatic'
8949 sysv4 | sysv4.2uw2* | sysv4.3*)
8950 lt_prog_compiler_wl='-Wl,'
8951 lt_prog_compiler_pic='-KPIC'
8952 lt_prog_compiler_static='-Bstatic'
8956 if test -d /usr/nec ;then
8957 lt_prog_compiler_pic='-Kconform_pic'
8958 lt_prog_compiler_static='-Bstatic'
8962 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8963 lt_prog_compiler_wl='-Wl,'
8964 lt_prog_compiler_pic='-KPIC'
8965 lt_prog_compiler_static='-Bstatic'
8969 lt_prog_compiler_wl='-Wl,'
8970 lt_prog_compiler_can_build_shared=no
8974 lt_prog_compiler_pic='-pic'
8975 lt_prog_compiler_static='-Bstatic'
8979 lt_prog_compiler_can_build_shared=no
8985 # For platforms which do not support PIC, -DPIC is meaningless:
8987 lt_prog_compiler_pic=
8990 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8994 $as_echo "$lt_prog_compiler_pic" >&6; }
9002 # Check to make sure the PIC flag actually works.
9004 if test -n "$lt_prog_compiler_pic"; then
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9006 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9007 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9008 $as_echo_n "(cached
) " >&6
9010 lt_cv_prog_compiler_pic_works=no
9011 ac_outfile=conftest.$ac_objext
9012 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9013 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.
", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 # The option is referenced via a variable to avoid confusing sed.
9019 lt_compile=`echo "$ac_compile" | $SED \
9020 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9021 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9022 -e 's:$: $lt_compiler_flag:'`
9023 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9024 (eval "$lt_compile" 2>conftest.err)
9026 cat conftest.err >&5
9027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9028 if (exit $ac_status) && test -s "$ac_outfile"; then
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings other than the usual output.
9031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9032 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9033 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9034 lt_cv_prog_compiler_pic_works=yes
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9041 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9043 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9044 case $lt_prog_compiler_pic in
9046 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9049 lt_prog_compiler_pic=
9050 lt_prog_compiler_can_build_shared=no
9061 # Check to make sure the static flag actually works.
9063 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9065 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9066 if ${lt_cv_prog_compiler_static_works+:} false; then :
9067 $as_echo_n "(cached
) " >&6
9069 lt_cv_prog_compiler_static_works=no
9070 save_LDFLAGS="$LDFLAGS"
9071 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9072 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9073 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9074 # The linker can only warn and ignore the option if not recognized
9075 # So say no if there are warnings
9076 if test -s conftest.err; then
9077 # Append any errors to the config.log.
9078 cat conftest.err 1>&5
9079 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9080 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9081 if diff conftest.exp conftest.er2 >/dev/null; then
9082 lt_cv_prog_compiler_static_works=yes
9085 lt_cv_prog_compiler_static_works=yes
9089 LDFLAGS="$save_LDFLAGS"
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9093 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9095 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9098 lt_prog_compiler_static=
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9108 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9109 if ${lt_cv_prog_compiler_c_o+:} false; then :
9110 $as_echo_n "(cached
) " >&6
9112 lt_cv_prog_compiler_c_o=no
9113 $RM -r conftest 2>/dev/null
9117 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9119 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9120 # Insert the option either (1) after the last *FLAGS variable, or
9121 # (2) before a word containing "conftest.
", or (3) at the end.
9122 # Note that $ac_compile itself does not contain backslashes and begins
9123 # with a dollar sign (not a hyphen), so the echo should work correctly.
9124 lt_compile=`echo "$ac_compile" | $SED \
9125 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9126 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9127 -e 's:$: $lt_compiler_flag:'`
9128 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9129 (eval "$lt_compile" 2>out/conftest.err)
9131 cat out/conftest.err >&5
9132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9133 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9135 # The compiler can only warn and ignore the option if not recognized
9136 # So say no if there are warnings
9137 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9138 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9139 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9140 lt_cv_prog_compiler_c_o=yes
9145 # SGI C++ compiler will create directory out/ii_files/ for
9146 # template instantiation
9147 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9148 $RM out/* && rmdir out
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9155 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9163 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9164 if ${lt_cv_prog_compiler_c_o+:} false; then :
9165 $as_echo_n "(cached
) " >&6
9167 lt_cv_prog_compiler_c_o=no
9168 $RM -r conftest 2>/dev/null
9172 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9174 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9175 # Insert the option either (1) after the last *FLAGS variable, or
9176 # (2) before a word containing "conftest.
", or (3) at the end.
9177 # Note that $ac_compile itself does not contain backslashes and begins
9178 # with a dollar sign (not a hyphen), so the echo should work correctly.
9179 lt_compile=`echo "$ac_compile" | $SED \
9180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9182 -e 's:$: $lt_compiler_flag:'`
9183 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9184 (eval "$lt_compile" 2>out/conftest.err)
9186 cat out/conftest.err >&5
9187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9188 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9190 # The compiler can only warn and ignore the option if not recognized
9191 # So say no if there are warnings
9192 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9193 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9194 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9195 lt_cv_prog_compiler_c_o=yes
9200 # SGI C++ compiler will create directory out/ii_files/ for
9201 # template instantiation
9202 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9203 $RM out/* && rmdir out
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9210 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9215 hard_links="nottested
"
9216 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9217 # do not overwrite the value of need_locks provided by the user
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9219 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9222 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9224 ln conftest.a conftest.b 2>&5 || hard_links=no
9225 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9227 $as_echo "$hard_links" >&6; }
9228 if test "$hard_links" = no; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9230 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9243 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9246 allow_undefined_flag=
9247 always_export_symbols=no
9249 archive_expsym_cmds=
9250 compiler_needs_object=no
9251 enable_shared_with_static_runtimes=no
9252 export_dynamic_flag_spec=
9253 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9254 hardcode_automatic=no
9256 hardcode_direct_absolute=no
9257 hardcode_libdir_flag_spec=
9258 hardcode_libdir_flag_spec_ld=
9259 hardcode_libdir_separator=
9261 hardcode_shlibpath_var=unsupported
9263 link_all_deplibs=unknown
9266 old_archive_from_new_cmds=
9267 old_archive_from_expsyms_cmds=
9268 thread_safe_flag_spec=
9269 whole_archive_flag_spec=
9270 # include_expsyms should be a list of space-separated symbols to be *always*
9271 # included in the symbol list
9273 # exclude_expsyms can be an extended regexp of symbols to exclude
9274 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9275 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9276 # as well as any symbol that contains `d'.
9277 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9278 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9279 # platforms (ab)use it in PIC code, but their linkers get confused if
9280 # the symbol is explicitly referenced. Since portable code cannot
9281 # rely on this symbol name, it's probably fine to never include it in
9282 # preloaded symbol tables.
9283 # Exclude shared library initialization/finalization symbols.
9284 extract_expsyms_cmds=
9287 cygwin* | mingw* | pw32* | cegcc*)
9288 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9289 # When not using gcc, we currently assume that we are using
9290 # Microsoft Visual C++.
9291 if test "$GCC" != yes; then
9296 # we just hope/assume this is gcc and not c89 (= MSVC++)
9306 # On some targets, GNU ld is compatible enough with the native linker
9307 # that we're better off using the native interface for both.
9308 lt_use_gnu_ld_interface=no
9309 if test "$with_gnu_ld" = yes; then
9312 # The AIX port of GNU ld has always aspired to compatibility
9313 # with the native linker. However, as the warning in the GNU ld
9314 # block says, versions before 2.19.5* couldn't really create working
9315 # shared libraries, regardless of the interface used.
9316 case `$LD -v 2>&1` in
9317 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9318 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9319 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9321 lt_use_gnu_ld_interface=yes
9326 lt_use_gnu_ld_interface=yes
9331 if test "$lt_use_gnu_ld_interface" = yes; then
9332 # If archive_cmds runs LD, not CC, wlarc should be empty
9335 # Set some defaults for GNU ld with shared library support. These
9336 # are reset later if shared libraries are not supported. Putting them
9337 # here allows them to be overridden if necessary.
9338 runpath_var=LD_RUN_PATH
9339 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9340 export_dynamic_flag_spec='${wl}--export-dynamic'
9341 # ancient GNU ld didn't support --whole-archive et. al.
9342 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9343 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9345 whole_archive_flag_spec=
9347 supports_anon_versioning=no
9348 case `$LD -v 2>&1` in
9349 *GNU\ gold*) supports_anon_versioning=yes ;;
9350 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9351 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9352 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9353 *\ 2.11.*) ;; # other 2.11 versions
9354 *) supports_anon_versioning=yes ;;
9357 # See if GNU ld supports shared libraries.
9360 # On AIX/PPC, the GNU linker is very broken
9361 if test "$host_cpu" != ia64; then
9365 *** Warning: the GNU linker, at least up to release 2.19, is reported
9366 *** to be unable to reliably create shared libraries on AIX.
9367 *** Therefore, libtool is disabling shared libraries support. If you
9368 *** really care for shared libraries, you may want to install binutils
9369 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9370 *** You will then need to restart the configuration process.
9379 # see comment about AmigaOS4 .so support
9380 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9381 archive_expsym_cmds=''
9384 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)'
9385 hardcode_libdir_flag_spec
='-L$libdir'
9386 hardcode_minus_L
=yes
9392 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9393 allow_undefined_flag
=unsupported
9394 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9395 # support --undefined. This deserves some investigation. FIXME
9396 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9402 cygwin
* | mingw
* | pw32
* | cegcc
*)
9403 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9404 # as there is no search path for DLLs.
9405 hardcode_libdir_flag_spec
='-L$libdir'
9406 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9407 allow_undefined_flag
=unsupported
9408 always_export_symbols
=no
9409 enable_shared_with_static_runtimes
=yes
9410 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9412 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9413 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9414 # If the export-symbols file already is a .def file (1st line
9415 # is EXPORTS), use it as is; otherwise, prepend...
9416 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9417 cp $export_symbols $output_objdir/$soname.def;
9419 echo EXPORTS > $output_objdir/$soname.def;
9420 cat $export_symbols >> $output_objdir/$soname.def;
9422 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9429 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9430 link_all_deplibs
=yes
9435 hardcode_shlibpath_var
=no
9436 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9437 export_dynamic_flag_spec
='${wl}-E'
9438 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9439 # Instead, shared libraries are loaded at an image base (0x10000000 by
9440 # default) and relocated if they conflict, which is a slow very memory
9441 # consuming and fragmenting process. To avoid this, we pick a random,
9442 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9443 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9444 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9445 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'
9448 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9450 if test "$host_os" = linux-dietlibc
; then
9451 case $cc_basename in
9452 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9455 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9456 && test "$tmp_diet" = no
9458 tmp_addflag
=' $pic_flag'
9459 tmp_sharedflag
='-shared'
9460 case $cc_basename,$host_cpu in
9461 pgcc
*) # Portland Group C compiler
9462 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'
9463 tmp_addflag
=' $pic_flag'
9465 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9466 # Portland Group f77 and f90 compilers
9467 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'
9468 tmp_addflag
=' $pic_flag -Mnomain' ;;
9469 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9470 tmp_addflag
=' -i_dynamic' ;;
9471 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9472 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9473 ifc
* | ifort
*) # Intel Fortran compiler
9474 tmp_addflag
=' -nofor_main' ;;
9475 lf95
*) # Lahey Fortran 8.1
9476 whole_archive_flag_spec
=
9477 tmp_sharedflag
='--shared' ;;
9478 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9479 tmp_sharedflag
='-qmkshrobj'
9481 nvcc
*) # Cuda Compiler Driver 2.2
9482 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'
9483 compiler_needs_object
=yes
9486 case `$CC -V 2>&1 | sed 5q` in
9487 *Sun\ C
*) # Sun C 5.9
9488 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'
9489 compiler_needs_object
=yes
9490 tmp_sharedflag
='-G' ;;
9491 *Sun\ F
*) # Sun Fortran 8.3
9492 tmp_sharedflag
='-G' ;;
9494 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9496 if test "x$supports_anon_versioning" = xyes
; then
9497 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9498 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9499 echo "local: *; };" >> $output_objdir/$libname.ver~
9500 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9503 case $cc_basename in
9504 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9505 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9506 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9507 hardcode_libdir_flag_spec
=
9508 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9509 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9510 if test "x$supports_anon_versioning" = xyes
; then
9511 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9512 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9513 echo "local: *; };" >> $output_objdir/$libname.ver~
9514 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9524 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9525 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9528 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9529 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9534 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9538 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9539 *** create shared libraries on Solaris systems. Therefore, libtool
9540 *** is disabling shared libraries support. We urge you to upgrade GNU
9541 *** binutils to release 2.9.1 or newer. Another option is to modify
9542 *** your PATH or compiler configuration so that the native linker is
9543 *** used, and then restart.
9546 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9547 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9548 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9554 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9555 case `$LD -v 2>&1` in
9556 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9560 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9561 *** reliably create shared libraries on SCO systems. Therefore, libtool
9562 *** is disabling shared libraries support. We urge you to upgrade GNU
9563 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9564 *** your PATH or compiler configuration so that the native linker is
9565 *** used, and then restart.
9570 # For security reasons, it is highly recommended that you always
9571 # use absolute paths for naming shared libraries, and exclude the
9572 # DT_RUNPATH tag from executables and libraries. But doing so
9573 # requires that you compile everything twice, which is a pain.
9574 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9575 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9576 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9577 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9586 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9589 hardcode_shlibpath_var
=no
9593 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9594 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9595 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9602 if test "$ld_shlibs" = no
; then
9604 hardcode_libdir_flag_spec
=
9605 export_dynamic_flag_spec
=
9606 whole_archive_flag_spec
=
9609 # PORTME fill in a description of your system's linker (not GNU ld)
9612 allow_undefined_flag
=unsupported
9613 always_export_symbols
=yes
9614 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'
9615 # Note: this linker hardcodes the directories in LIBPATH if there
9616 # are no directories specified by -L.
9617 hardcode_minus_L
=yes
9618 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9619 # Neither direct hardcoding nor static linking is supported with a
9621 hardcode_direct
=unsupported
9626 if test "$host_cpu" = ia64
; then
9627 # On IA64, the linker does run time linking by default, so we don't
9628 # have to do anything special.
9629 aix_use_runtimelinking
=no
9630 exp_sym_flag
='-Bexport'
9633 # If we're using GNU nm, then we don't want the "-C" option.
9634 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9635 # Also, AIX nm treats weak defined symbols like other global
9636 # defined symbols, whereas GNU nm marks them as "W".
9637 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9638 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'
9640 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'
9642 aix_use_runtimelinking
=no
9644 # Test if we are trying to use run time linking or normal
9645 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9646 # need to do runtime linking.
9647 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9648 for ld_flag
in $LDFLAGS; do
9649 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9650 aix_use_runtimelinking
=yes
9657 exp_sym_flag
='-bexport'
9658 no_entry_flag
='-bnoentry'
9661 # When large executables or shared objects are built, AIX ld can
9662 # have problems creating the table of contents. If linking a library
9663 # or program results in "error TOC overflow" add -mminimal-toc to
9664 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9665 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9669 hardcode_direct_absolute
=yes
9670 hardcode_libdir_separator
=':'
9671 link_all_deplibs
=yes
9672 file_list_spec
='${wl}-f,'
9674 if test "$GCC" = yes; then
9675 case $host_os in aix4.
[012]|aix4.
[012].
*)
9676 # We only want to do this on AIX 4.2 and lower, the check
9677 # below for broken collect2 doesn't work under 4.3+
9678 collect2name
=`${CC} -print-prog-name=collect2`
9679 if test -f "$collect2name" &&
9680 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9682 # We have reworked collect2
9685 # We have old collect2
9686 hardcode_direct
=unsupported
9687 # It fails to find uninstalled libraries when the uninstalled
9688 # path is not listed in the libpath. Setting hardcode_minus_L
9689 # to unsupported forces relinking
9690 hardcode_minus_L
=yes
9691 hardcode_libdir_flag_spec
='-L$libdir'
9692 hardcode_libdir_separator
=
9696 shared_flag
='-shared'
9697 if test "$aix_use_runtimelinking" = yes; then
9698 shared_flag
="$shared_flag "'${wl}-G'
9702 if test "$host_cpu" = ia64
; then
9703 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9704 # chokes on -Wl,-G. The following line is correct:
9707 if test "$aix_use_runtimelinking" = yes; then
9708 shared_flag
='${wl}-G'
9710 shared_flag
='${wl}-bM:SRE'
9715 export_dynamic_flag_spec
='${wl}-bexpall'
9716 # It seems that -bexpall does not export symbols beginning with
9717 # underscore (_), so it is better to generate a list of symbols to export.
9718 always_export_symbols
=yes
9719 if test "$aix_use_runtimelinking" = yes; then
9720 # Warning - without using the other runtime loading flags (-brtl),
9721 # -berok will link without error, but may produce a broken library.
9722 allow_undefined_flag
='-berok'
9723 # Determine the default libpath from the value encoded in an
9725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9726 /* end confdefs.h. */
9736 if ac_fn_c_try_link
"$LINENO"; then :
9738 lt_aix_libpath_sed
='
9739 /Import File Strings/,/^$/ {
9745 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9746 # Check for a 64-bit object if we didn't find anything.
9747 if test -z "$aix_libpath"; then
9748 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9751 rm -f core conftest.err conftest.
$ac_objext \
9752 conftest
$ac_exeext conftest.
$ac_ext
9753 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9755 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9756 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"
9758 if test "$host_cpu" = ia64
; then
9759 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9760 allow_undefined_flag
="-z nodefs"
9761 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"
9763 # Determine the default libpath from the value encoded in an
9765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9766 /* end confdefs.h. */
9776 if ac_fn_c_try_link
"$LINENO"; then :
9778 lt_aix_libpath_sed
='
9779 /Import File Strings/,/^$/ {
9785 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9786 # Check for a 64-bit object if we didn't find anything.
9787 if test -z "$aix_libpath"; then
9788 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9791 rm -f core conftest.err conftest.
$ac_objext \
9792 conftest
$ac_exeext conftest.
$ac_ext
9793 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9795 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9796 # Warning - without using the other run time loading flags,
9797 # -berok will link without error, but may produce a broken library.
9798 no_undefined_flag
=' ${wl}-bernotok'
9799 allow_undefined_flag
=' ${wl}-berok'
9800 if test "$with_gnu_ld" = yes; then
9801 # We only use this code for GNU lds that support --whole-archive.
9802 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9804 # Exported symbols can be pulled into shared objects from archives
9805 whole_archive_flag_spec
='$convenience'
9807 archive_cmds_need_lc
=yes
9808 # This is similar to how AIX traditionally builds its shared libraries.
9809 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'
9817 # see comment about AmigaOS4 .so support
9818 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9819 archive_expsym_cmds
=''
9822 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)'
9823 hardcode_libdir_flag_spec
='-L$libdir'
9824 hardcode_minus_L
=yes
9830 export_dynamic_flag_spec
=-rdynamic
9833 cygwin
* | mingw
* | pw32
* | cegcc
*)
9834 # When not using gcc, we currently assume that we are using
9835 # Microsoft Visual C++.
9836 # hardcode_libdir_flag_spec is actually meaningless, as there is
9837 # no search path for DLLs.
9838 hardcode_libdir_flag_spec
=' '
9839 allow_undefined_flag
=unsupported
9840 # Tell ltmain to make .lib files, not .a files.
9842 # Tell ltmain to make .dll files, not .so files.
9844 # FIXME: Setting linknames here is a bad hack.
9845 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9846 # The linker will automatically build a .lib file if we build a DLL.
9847 old_archive_from_new_cmds
='true'
9848 # FIXME: Should let the user specify the lib program.
9849 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9850 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9851 enable_shared_with_static_runtimes
=yes
9854 darwin
* | rhapsody
*)
9857 archive_cmds_need_lc
=no
9859 hardcode_automatic
=yes
9860 hardcode_shlibpath_var
=unsupported
9861 if test "$lt_cv_ld_force_load" = "yes"; then
9862 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\"`'
9864 whole_archive_flag_spec
=''
9866 link_all_deplibs
=yes
9867 allow_undefined_flag
="$_lt_dar_allow_undefined"
9868 case $cc_basename in
9869 ifort
*) _lt_dar_can_shared
=yes ;;
9870 *) _lt_dar_can_shared
=$GCC ;;
9872 if test "$_lt_dar_can_shared" = "yes"; then
9873 output_verbose_link_cmd
=func_echo_all
9874 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9875 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9876 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}"
9877 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}"
9886 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9887 hardcode_libdir_flag_spec
='-L$libdir'
9888 hardcode_shlibpath_var
=no
9891 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9892 # support. Future versions do this automatically, but an explicit c++rt0.o
9893 # does not break anything, and helps significantly (at the cost of a little
9896 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9897 hardcode_libdir_flag_spec
='-R$libdir'
9899 hardcode_shlibpath_var
=no
9902 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9904 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9906 hardcode_minus_L
=yes
9907 hardcode_shlibpath_var
=no
9910 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9911 freebsd
* | dragonfly
*)
9912 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9913 hardcode_libdir_flag_spec
='-R$libdir'
9915 hardcode_shlibpath_var
=no
9919 if test "$GCC" = yes; then
9920 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'
9922 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'
9924 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9925 hardcode_libdir_separator
=:
9928 # hardcode_minus_L: Not really in the search PATH,
9929 # but as the default location of the library.
9930 hardcode_minus_L
=yes
9931 export_dynamic_flag_spec
='${wl}-E'
9935 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9936 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9938 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9940 if test "$with_gnu_ld" = no
; then
9941 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9942 hardcode_libdir_flag_spec_ld
='+b $libdir'
9943 hardcode_libdir_separator
=:
9945 hardcode_direct_absolute
=yes
9946 export_dynamic_flag_spec
='${wl}-E'
9947 # hardcode_minus_L: Not really in the search PATH,
9948 # but as the default location of the library.
9949 hardcode_minus_L
=yes
9954 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9957 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9960 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9963 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9969 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9972 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9976 # Older versions of the 11.00 compiler do not understand -b yet
9977 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9979 $as_echo_n "checking if $CC understands -b... " >&6; }
9980 if ${lt_cv_prog_compiler__b+:} false
; then :
9981 $as_echo_n "(cached) " >&6
9983 lt_cv_prog_compiler__b
=no
9984 save_LDFLAGS
="$LDFLAGS"
9985 LDFLAGS
="$LDFLAGS -b"
9986 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9987 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9988 # The linker can only warn and ignore the option if not recognized
9989 # So say no if there are warnings
9990 if test -s conftest.err
; then
9991 # Append any errors to the config.log.
9992 cat conftest.err
1>&5
9993 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9994 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9995 if diff conftest.exp conftest.er2
>/dev
/null
; then
9996 lt_cv_prog_compiler__b
=yes
9999 lt_cv_prog_compiler__b
=yes
10003 LDFLAGS
="$save_LDFLAGS"
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10007 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10009 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10010 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10018 if test "$with_gnu_ld" = no
; then
10019 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10020 hardcode_libdir_separator
=:
10025 hardcode_shlibpath_var
=no
10028 hardcode_direct
=yes
10029 hardcode_direct_absolute
=yes
10030 export_dynamic_flag_spec
='${wl}-E'
10032 # hardcode_minus_L: Not really in the search PATH,
10033 # but as the default location of the library.
10034 hardcode_minus_L
=yes
10040 irix5
* | irix6
* | nonstopux
*)
10041 if test "$GCC" = yes; then
10042 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'
10043 # Try to use the -exported_symbol ld option, if it does not
10044 # work, assume that -exports_file does not work either and
10045 # implicitly export all symbols.
10046 save_LDFLAGS
="$LDFLAGS"
10047 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10052 if ac_fn_c_try_link
"$LINENO"; then :
10053 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'
10056 rm -f core conftest.err conftest.
$ac_objext \
10057 conftest
$ac_exeext conftest.
$ac_ext
10058 LDFLAGS
="$save_LDFLAGS"
10060 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'
10061 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'
10063 archive_cmds_need_lc
='no'
10064 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10065 hardcode_libdir_separator
=:
10067 link_all_deplibs
=yes
10071 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10072 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10074 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10076 hardcode_libdir_flag_spec
='-R$libdir'
10077 hardcode_direct
=yes
10078 hardcode_shlibpath_var
=no
10082 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 hardcode_direct
=yes
10084 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10085 hardcode_libdir_separator
=:
10086 hardcode_shlibpath_var
=no
10093 if test -f /usr
/libexec
/ld.so
; then
10094 hardcode_direct
=yes
10095 hardcode_shlibpath_var
=no
10096 hardcode_direct_absolute
=yes
10097 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10098 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10099 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10100 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10101 export_dynamic_flag_spec
='${wl}-E'
10104 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10105 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10106 hardcode_libdir_flag_spec
='-R$libdir'
10109 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10110 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10120 hardcode_libdir_flag_spec
='-L$libdir'
10121 hardcode_minus_L
=yes
10122 allow_undefined_flag
=unsupported
10123 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'
10124 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10128 if test "$GCC" = yes; then
10129 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10130 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'
10132 allow_undefined_flag
=' -expect_unresolved \*'
10133 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'
10135 archive_cmds_need_lc
='no'
10136 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10137 hardcode_libdir_separator
=:
10140 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10141 if test "$GCC" = yes; then
10142 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10143 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'
10144 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10146 allow_undefined_flag
=' -expect_unresolved \*'
10147 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'
10148 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~
10149 $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'
10151 # Both c and cxx compiler support -rpath directly
10152 hardcode_libdir_flag_spec
='-rpath $libdir'
10154 archive_cmds_need_lc
='no'
10155 hardcode_libdir_separator
=:
10159 no_undefined_flag
=' -z defs'
10160 if test "$GCC" = yes; then
10162 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10163 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10164 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10166 case `$CC -V 2>&1` in
10169 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10170 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10171 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10175 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10177 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10181 hardcode_libdir_flag_spec
='-R$libdir'
10182 hardcode_shlibpath_var
=no
10184 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10186 # The compiler driver will combine and reorder linker options,
10187 # but understands `-z linker_flag'. GCC discards it without `$wl',
10188 # but is careful enough not to reorder.
10189 # Supported since Solaris 2.6 (maybe 2.5.1?)
10190 if test "$GCC" = yes; then
10191 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10193 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10197 link_all_deplibs
=yes
10201 if test "x$host_vendor" = xsequent
; then
10202 # Use $CC to link under sequent, because it throws in some extra .o
10203 # files that make .init and .fini sections work.
10204 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10206 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_libdir_flag_spec
='-L$libdir'
10209 hardcode_direct
=yes
10210 hardcode_minus_L
=yes
10211 hardcode_shlibpath_var
=no
10215 case $host_vendor in
10217 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10218 hardcode_direct
=yes # is this really true???
10221 ## LD is ld it makes a PLAMLIB
10222 ## CC just makes a GrossModule.
10223 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10224 reload_cmds
='$CC -r -o $output$reload_objs'
10228 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10229 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10232 runpath_var
='LD_RUN_PATH'
10233 hardcode_shlibpath_var
=no
10237 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10238 hardcode_shlibpath_var
=no
10239 export_dynamic_flag_spec
='-Bexport'
10243 if test -d /usr
/nec
; then
10244 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10245 hardcode_shlibpath_var
=no
10246 runpath_var
=LD_RUN_PATH
10247 hardcode_runpath_var
=yes
10252 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10253 no_undefined_flag
='${wl}-z,text'
10254 archive_cmds_need_lc
=no
10255 hardcode_shlibpath_var
=no
10256 runpath_var
='LD_RUN_PATH'
10258 if test "$GCC" = yes; then
10259 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10260 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10262 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10263 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10267 sysv5
* | sco3.2v5
* | sco5v6
*)
10268 # Note: We can NOT use -z defs as we might desire, because we do not
10269 # link with -lc, and that would cause any symbols used from libc to
10270 # always be unresolved, which means just about no library would
10271 # ever link correctly. If we're not using GNU ld we use -z text
10272 # though, which does catch some bad symbols but isn't as heavy-handed
10274 no_undefined_flag
='${wl}-z,text'
10275 allow_undefined_flag
='${wl}-z,nodefs'
10276 archive_cmds_need_lc
=no
10277 hardcode_shlibpath_var
=no
10278 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10279 hardcode_libdir_separator
=':'
10280 link_all_deplibs
=yes
10281 export_dynamic_flag_spec
='${wl}-Bexport'
10282 runpath_var
='LD_RUN_PATH'
10284 if test "$GCC" = yes; then
10285 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10286 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10288 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10289 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10294 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10295 hardcode_libdir_flag_spec
='-L$libdir'
10296 hardcode_shlibpath_var
=no
10304 if test x
$host_vendor = xsni
; then
10306 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10307 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10314 $as_echo "$ld_shlibs" >&6; }
10315 test "$ld_shlibs" = no
&& can_build_shared
=no
10317 with_gnu_ld
=$with_gnu_ld
10334 # Do we need to explicitly link libc?
10336 case "x$archive_cmds_need_lc" in
10338 # Assume -lc should be added
10339 archive_cmds_need_lc
=yes
10341 if test "$enable_shared" = yes && test "$GCC" = yes; then
10342 case $archive_cmds in
10344 # FIXME: we may have to deal with multi-command sequences.
10347 # Test whether the compiler implicitly links with -lc since on some
10348 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10349 # to ld, don't add -lc before -lgcc.
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10351 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10352 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10353 $as_echo_n "(cached) " >&6
10356 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10358 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10359 (eval $ac_compile) 2>&5
10361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10362 test $ac_status = 0; } 2>conftest.err
; then
10365 libobjs
=conftest.
$ac_objext
10367 wl
=$lt_prog_compiler_wl
10368 pic_flag
=$lt_prog_compiler_pic
10374 lt_save_allow_undefined_flag
=$allow_undefined_flag
10375 allow_undefined_flag
=
10376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10377 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10380 test $ac_status = 0; }
10382 lt_cv_archive_cmds_need_lc
=no
10384 lt_cv_archive_cmds_need_lc
=yes
10386 allow_undefined_flag
=$lt_save_allow_undefined_flag
10388 cat conftest.err
1>&5
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10394 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10395 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10559 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10561 if test "$GCC" = yes; then
10563 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10564 *) lt_awk_arg
="/^libraries:/" ;;
10567 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10568 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10570 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10571 case $lt_search_path_spec in
10573 # if the path contains ";" then we assume it to be the separator
10574 # otherwise default to the standard path separator (i.e. ":") - it is
10575 # assumed that no part of a normal pathname contains ";" but that should
10576 # okay in the real world where ";" in dirpaths is itself problematic.
10577 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10580 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10583 # Ok, now we have the path, separated by spaces, we can step through it
10584 # and add multilib dir if necessary.
10585 lt_tmp_lt_search_path_spec
=
10586 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10587 for lt_sys_path
in $lt_search_path_spec; do
10588 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10589 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10591 test -d "$lt_sys_path" && \
10592 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10595 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10596 BEGIN {RS=" "; FS="/|\n";} {
10599 for (lt_i = NF; lt_i > 0; lt_i--) {
10600 if ($lt_i != "" && $lt_i != ".") {
10601 if ($lt_i == "..") {
10604 if (lt_count == 0) {
10605 lt_foo="/" $lt_i lt_foo;
10612 if (lt_foo != "") { lt_freq[lt_foo]++; }
10613 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10615 # AWK program above erroneously prepends '/' to C:/dos/paths
10618 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10619 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10621 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10623 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10625 library_names_spec
=
10626 libname_spec
='lib$name'
10630 postuninstall_cmds
=
10634 shlibpath_overrides_runpath
=unknown
10636 dynamic_linker
="$host_os ld.so"
10637 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10638 need_lib_prefix
=unknown
10639 hardcode_into_libs
=no
10641 # when you set need_version to no, make sure it does not cause -set_version
10642 # flags to be left without arguments
10643 need_version
=unknown
10648 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10649 shlibpath_var
=LIBPATH
10651 # AIX 3 has no versioning support, so we append a major version to the name.
10652 soname_spec
='${libname}${release}${shared_ext}$major'
10659 hardcode_into_libs
=yes
10660 if test "$host_cpu" = ia64
; then
10661 # AIX 5 supports IA64
10662 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10663 shlibpath_var
=LD_LIBRARY_PATH
10665 # With GCC up to 2.95.x, collect2 would create an import file
10666 # for dependence libraries. The import file would start with
10667 # the line `#! .'. This would cause the generated library to
10668 # depend on `.', always an invalid library. This was fixed in
10669 # development snapshots of GCC prior to 3.0.
10671 aix4 | aix4.
[01] | aix4.
[01].
*)
10672 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10674 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10677 can_build_shared
=no
10681 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10682 # soname into executable. Probably we can add versioning support to
10683 # collect2, so additional links can be useful in future.
10684 if test "$aix_use_runtimelinking" = yes; then
10685 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10686 # instead of lib<name>.a to let people know that these are not
10687 # typical AIX shared libraries.
10688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10690 # We preserve .a as extension for shared libraries through AIX4.2
10691 # and later when we are not doing run time linking.
10692 library_names_spec
='${libname}${release}.a $libname.a'
10693 soname_spec
='${libname}${release}${shared_ext}$major'
10695 shlibpath_var
=LIBPATH
10702 # Since July 2007 AmigaOS4 officially supports .so libraries.
10703 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707 library_names_spec
='$libname.ixlibrary $libname.a'
10708 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10709 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'
10715 library_names_spec
='${libname}${shared_ext}'
10716 dynamic_linker
="$host_os ld.so"
10717 shlibpath_var
=LIBRARY_PATH
10723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724 soname_spec
='${libname}${release}${shared_ext}$major'
10725 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10726 shlibpath_var
=LD_LIBRARY_PATH
10727 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10728 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10729 # the default ld.so.conf also contains /usr/contrib/lib and
10730 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10731 # libtool to hard-code these into programs
10734 cygwin
* | mingw
* | pw32
* | cegcc
*)
10735 version_type
=windows
10740 case $GCC,$host_os in
10741 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10742 library_names_spec
='$libname.dll.a'
10743 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10744 postinstall_cmds
='base_file=`basename \${file}`~
10745 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10746 dldir=$destdir/`dirname \$dlpath`~
10747 test -d \$dldir || mkdir -p \$dldir~
10748 $install_prog $dir/$dlname \$dldir/$dlname~
10749 chmod a+x \$dldir/$dlname~
10750 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10751 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10753 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10754 dlpath=$dir/\$dldll~
10756 shlibpath_overrides_runpath
=yes
10760 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10761 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10763 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10766 # MinGW DLLs use traditional 'lib' prefix
10767 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10770 # pw32 DLLs use 'pw' prefix rather than 'lib'
10771 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10777 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10780 dynamic_linker
='Win32 ld.exe'
10781 # FIXME: first we should search . and the directory the executable is in
10785 darwin
* | rhapsody
*)
10786 dynamic_linker
="$host_os dyld"
10787 version_type
=darwin
10790 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10791 soname_spec
='${libname}${release}${major}$shared_ext'
10792 shlibpath_overrides_runpath
=yes
10793 shlibpath_var
=DYLD_LIBRARY_PATH
10794 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10796 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10797 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10805 soname_spec
='${libname}${release}${shared_ext}$major'
10806 shlibpath_var
=LD_LIBRARY_PATH
10809 freebsd
* | dragonfly
*)
10810 # DragonFly does not have aout. When/if they implement a new
10811 # versioning mechanism, adjust this.
10812 if test -x /usr
/bin
/objformat
; then
10813 objformat
=`/usr/bin/objformat`
10816 freebsd
[23].
*) objformat
=aout
;;
10817 *) objformat
=elf
;;
10820 version_type
=freebsd-
$objformat
10821 case $version_type in
10823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10828 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10832 shlibpath_var
=LD_LIBRARY_PATH
10835 shlibpath_overrides_runpath
=yes
10837 freebsd3.
[01]* | freebsdelf3.
[01]*)
10838 shlibpath_overrides_runpath
=yes
10839 hardcode_into_libs
=yes
10841 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10842 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10843 shlibpath_overrides_runpath
=no
10844 hardcode_into_libs
=yes
10846 *) # from 4.6 on, and DragonFly
10847 shlibpath_overrides_runpath
=yes
10848 hardcode_into_libs
=yes
10857 dynamic_linker
="$host_os runtime_loader"
10858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10859 soname_spec
='${libname}${release}${shared_ext}$major'
10860 shlibpath_var
=LIBRARY_PATH
10861 shlibpath_overrides_runpath
=yes
10862 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10863 hardcode_into_libs
=yes
10866 hpux9
* | hpux10
* | hpux11
*)
10867 # Give a soname corresponding to the major version so that dld.sl refuses to
10868 # link against other versions.
10875 hardcode_into_libs
=yes
10876 dynamic_linker
="$host_os dld.so"
10877 shlibpath_var
=LD_LIBRARY_PATH
10878 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10880 soname_spec
='${libname}${release}${shared_ext}$major'
10881 if test "X$HPUX_IA64_MODE" = X32
; then
10882 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10884 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10886 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10890 hardcode_into_libs
=yes
10891 dynamic_linker
="$host_os dld.sl"
10892 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10893 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10897 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10901 dynamic_linker
="$host_os dld.sl"
10902 shlibpath_var
=SHLIB_PATH
10903 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905 soname_spec
='${libname}${release}${shared_ext}$major'
10908 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10909 postinstall_cmds
='chmod 555 $lib'
10910 # or fails outright, so override atomically:
10911 install_override_mode
=555
10918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10919 soname_spec
='${libname}${release}${shared_ext}$major'
10920 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10921 shlibpath_var
=LD_LIBRARY_PATH
10922 shlibpath_overrides_runpath
=no
10923 hardcode_into_libs
=yes
10926 irix5
* | irix6
* | nonstopux
*)
10928 nonstopux
*) version_type
=nonstopux
;;
10930 if test "$lt_cv_prog_gnu_ld" = yes; then
10938 soname_spec
='${libname}${release}${shared_ext}$major'
10939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10941 irix5
* | nonstopux
*)
10942 libsuff
= shlibsuff
=
10945 case $LD in # libtool.m4 will add one of these switches to LD
10946 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10947 libsuff
= shlibsuff
= libmagic
=32-bit;;
10948 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10949 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10950 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10951 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10952 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10956 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10957 shlibpath_overrides_runpath
=no
10958 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10959 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10960 hardcode_into_libs
=yes
10963 # No shared lib support for Linux oldld, aout, or coff.
10964 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10968 # This must be Linux ELF.
10969 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10974 soname_spec
='${libname}${release}${shared_ext}$major'
10975 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10976 shlibpath_var
=LD_LIBRARY_PATH
10977 shlibpath_overrides_runpath
=no
10979 # Some binutils ld are patched to set DT_RUNPATH
10980 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10981 $as_echo_n "(cached) " >&6
10983 lt_cv_shlibpath_overrides_runpath
=no
10984 save_LDFLAGS
=$LDFLAGS
10985 save_libdir
=$libdir
10986 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10987 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10999 if ac_fn_c_try_link
"$LINENO"; then :
11000 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11001 lt_cv_shlibpath_overrides_runpath
=yes
11004 rm -f core conftest.err conftest.
$ac_objext \
11005 conftest
$ac_exeext conftest.
$ac_ext
11006 LDFLAGS
=$save_LDFLAGS
11007 libdir
=$save_libdir
11011 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11013 # This implies no fast_install, which is unacceptable.
11014 # Some rework will be needed to allow for fast_install
11015 # before this can be enabled.
11016 hardcode_into_libs
=yes
11018 # Append ld.so.conf contents to the search path
11019 if test -f /etc
/ld.so.conf
; then
11020 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' ' '`
11021 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11024 # We used to test for /lib/ld.so.1 and disable shared libraries on
11025 # powerpc, because MkLinux only supported shared libraries with the
11026 # GNU dynamic linker. Since this was broken with cross compilers,
11027 # most powerpc-linux boxes support dynamic linking these days and
11028 # people can always --disable-shared, the test was removed, and we
11029 # assume the GNU/Linux dynamic linker is in use.
11030 dynamic_linker
='GNU/Linux ld.so'
11037 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11039 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11040 dynamic_linker
='NetBSD (a.out) ld.so'
11042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11043 soname_spec
='${libname}${release}${shared_ext}$major'
11044 dynamic_linker
='NetBSD ld.elf_so'
11046 shlibpath_var
=LD_LIBRARY_PATH
11047 shlibpath_overrides_runpath
=yes
11048 hardcode_into_libs
=yes
11053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11054 shlibpath_var
=LD_LIBRARY_PATH
11055 shlibpath_overrides_runpath
=yes
11062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec
='${libname}${release}${shared_ext}$major'
11064 shlibpath_var
=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath
=no
11066 hardcode_into_libs
=yes
11067 dynamic_linker
='ldqnx.so'
11072 sys_lib_dlsearch_path_spec
="/usr/lib"
11074 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11076 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11077 *) need_version
=no
;;
11079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11080 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11081 shlibpath_var
=LD_LIBRARY_PATH
11082 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11084 openbsd2.
[89] | openbsd2.
[89].
*)
11085 shlibpath_overrides_runpath
=no
11088 shlibpath_overrides_runpath
=yes
11092 shlibpath_overrides_runpath
=yes
11097 libname_spec
='$name'
11100 library_names_spec
='$libname${shared_ext} $libname.a'
11101 dynamic_linker
='OS/2 ld.exe'
11102 shlibpath_var
=LIBPATH
11105 osf3
* | osf4
* | osf5
*)
11109 soname_spec
='${libname}${release}${shared_ext}$major'
11110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 shlibpath_var
=LD_LIBRARY_PATH
11112 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11113 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11125 soname_spec
='${libname}${release}${shared_ext}$major'
11126 shlibpath_var
=LD_LIBRARY_PATH
11127 shlibpath_overrides_runpath
=yes
11128 hardcode_into_libs
=yes
11129 # ldd complains unless libraries are executable
11130 postinstall_cmds
='chmod +x $lib'
11135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11136 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11137 shlibpath_var
=LD_LIBRARY_PATH
11138 shlibpath_overrides_runpath
=yes
11139 if test "$with_gnu_ld" = yes; then
11147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11148 soname_spec
='${libname}${release}${shared_ext}$major'
11149 shlibpath_var
=LD_LIBRARY_PATH
11150 case $host_vendor in
11152 shlibpath_overrides_runpath
=no
11154 runpath_var
=LD_RUN_PATH
11162 shlibpath_overrides_runpath
=no
11163 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11169 if test -d /usr
/nec
;then
11171 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11172 soname_spec
='$libname${shared_ext}.$major'
11173 shlibpath_var
=LD_LIBRARY_PATH
11177 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11178 version_type
=freebsd-elf
11181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11182 soname_spec
='${libname}${release}${shared_ext}$major'
11183 shlibpath_var
=LD_LIBRARY_PATH
11184 shlibpath_overrides_runpath
=yes
11185 hardcode_into_libs
=yes
11186 if test "$with_gnu_ld" = yes; then
11187 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11189 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11192 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11196 sys_lib_dlsearch_path_spec
='/usr/lib'
11200 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11205 shlibpath_var
=LD_LIBRARY_PATH
11206 shlibpath_overrides_runpath
=no
11207 hardcode_into_libs
=yes
11212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11213 soname_spec
='${libname}${release}${shared_ext}$major'
11214 shlibpath_var
=LD_LIBRARY_PATH
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11222 $as_echo "$dynamic_linker" >&6; }
11223 test "$dynamic_linker" = no
&& can_build_shared
=no
11225 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11226 if test "$GCC" = yes; then
11227 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11230 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11231 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11233 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11234 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11329 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11331 if test -n "$hardcode_libdir_flag_spec" ||
11332 test -n "$runpath_var" ||
11333 test "X$hardcode_automatic" = "Xyes" ; then
11335 # We can hardcode non-existent directories.
11336 if test "$hardcode_direct" != no
&&
11337 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11338 # have to relink, otherwise we might link with an installed library
11339 # when we should be linking with a yet-to-be-installed one
11340 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11341 test "$hardcode_minus_L" != no
; then
11342 # Linking always hardcodes the temporary library directory.
11343 hardcode_action
=relink
11345 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11346 hardcode_action
=immediate
11349 # We cannot hardcode anything, or else we can only hardcode existing
11351 hardcode_action
=unsupported
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11354 $as_echo "$hardcode_action" >&6; }
11356 if test "$hardcode_action" = relink ||
11357 test "$inherit_rpath" = yes; then
11358 # Fast installation is not supported
11359 enable_fast_install
=no
11360 elif test "$shlibpath_overrides_runpath" = yes ||
11361 test "$enable_shared" = no
; then
11362 # Fast installation is not necessary
11363 enable_fast_install
=needless
11371 if test "x$enable_dlopen" != xyes
; then
11372 enable_dlopen
=unknown
11373 enable_dlopen_self
=unknown
11374 enable_dlopen_self_static
=unknown
11381 lt_cv_dlopen
="load_add_on"
11383 lt_cv_dlopen_self
=yes
11386 mingw
* | pw32
* | cegcc
*)
11387 lt_cv_dlopen
="LoadLibrary"
11392 lt_cv_dlopen
="dlopen"
11397 # if libdl is installed we need to link against it
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11399 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11400 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11401 $as_echo_n "(cached) " >&6
11403 ac_check_lib_save_LIBS
=$LIBS
11405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11423 if ac_fn_c_try_link
"$LINENO"; then :
11424 ac_cv_lib_dl_dlopen
=yes
11426 ac_cv_lib_dl_dlopen
=no
11428 rm -f core conftest.err conftest.
$ac_objext \
11429 conftest
$ac_exeext conftest.
$ac_ext
11430 LIBS
=$ac_check_lib_save_LIBS
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11433 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11434 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11435 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11438 lt_cv_dlopen
="dyld"
11440 lt_cv_dlopen_self
=yes
11447 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11448 if test "x$ac_cv_func_shl_load" = xyes
; then :
11449 lt_cv_dlopen
="shl_load"
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11452 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11453 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11454 $as_echo_n "(cached) " >&6
11456 ac_check_lib_save_LIBS
=$LIBS
11458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11461 /* Override any GCC internal prototype to avoid an error.
11462 Use char because int might match the return type of a GCC
11463 builtin and then its argument prototype would still apply. */
11471 return shl_load ();
11476 if ac_fn_c_try_link
"$LINENO"; then :
11477 ac_cv_lib_dld_shl_load
=yes
11479 ac_cv_lib_dld_shl_load
=no
11481 rm -f core conftest.err conftest.
$ac_objext \
11482 conftest
$ac_exeext conftest.
$ac_ext
11483 LIBS
=$ac_check_lib_save_LIBS
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11486 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11487 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11488 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11490 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11491 if test "x$ac_cv_func_dlopen" = xyes
; then :
11492 lt_cv_dlopen
="dlopen"
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11495 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11496 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11497 $as_echo_n "(cached) " >&6
11499 ac_check_lib_save_LIBS
=$LIBS
11501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11504 /* Override any GCC internal prototype to avoid an error.
11505 Use char because int might match the return type of a GCC
11506 builtin and then its argument prototype would still apply. */
11519 if ac_fn_c_try_link
"$LINENO"; then :
11520 ac_cv_lib_dl_dlopen
=yes
11522 ac_cv_lib_dl_dlopen
=no
11524 rm -f core conftest.err conftest.
$ac_objext \
11525 conftest
$ac_exeext conftest.
$ac_ext
11526 LIBS
=$ac_check_lib_save_LIBS
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11529 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11530 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11531 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11534 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11535 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11536 $as_echo_n "(cached) " >&6
11538 ac_check_lib_save_LIBS
=$LIBS
11539 LIBS
="-lsvld $LIBS"
11540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11558 if ac_fn_c_try_link
"$LINENO"; then :
11559 ac_cv_lib_svld_dlopen
=yes
11561 ac_cv_lib_svld_dlopen
=no
11563 rm -f core conftest.err conftest.
$ac_objext \
11564 conftest
$ac_exeext conftest.
$ac_ext
11565 LIBS
=$ac_check_lib_save_LIBS
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11568 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11569 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11570 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11573 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11574 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11575 $as_echo_n "(cached) " >&6
11577 ac_check_lib_save_LIBS
=$LIBS
11579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11592 return dld_link ();
11597 if ac_fn_c_try_link
"$LINENO"; then :
11598 ac_cv_lib_dld_dld_link
=yes
11600 ac_cv_lib_dld_dld_link
=no
11602 rm -f core conftest.err conftest.
$ac_objext \
11603 conftest
$ac_exeext conftest.
$ac_ext
11604 LIBS
=$ac_check_lib_save_LIBS
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11607 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11608 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11609 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11630 if test "x$lt_cv_dlopen" != xno
; then
11636 case $lt_cv_dlopen in
11638 save_CPPFLAGS
="$CPPFLAGS"
11639 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11641 save_LDFLAGS
="$LDFLAGS"
11642 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11645 LIBS
="$lt_cv_dlopen_libs $LIBS"
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11648 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11649 if ${lt_cv_dlopen_self+:} false
; then :
11650 $as_echo_n "(cached) " >&6
11652 if test "$cross_compiling" = yes; then :
11653 lt_cv_dlopen_self
=cross
11655 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11656 lt_status
=$lt_dlunknown
11657 cat > conftest.
$ac_ext <<_LT_EOF
11658 #line 11658 "configure"
11659 #include "confdefs.h"
11668 # define LT_DLGLOBAL RTLD_GLOBAL
11671 # define LT_DLGLOBAL DL_GLOBAL
11673 # define LT_DLGLOBAL 0
11677 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11678 find out it does not work in some platform. */
11679 #ifndef LT_DLLAZY_OR_NOW
11681 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11684 # define LT_DLLAZY_OR_NOW DL_LAZY
11687 # define LT_DLLAZY_OR_NOW RTLD_NOW
11690 # define LT_DLLAZY_OR_NOW DL_NOW
11692 # define LT_DLLAZY_OR_NOW 0
11699 /* When -fvisbility=hidden is used, assume the code has been annotated
11700 correspondingly for the symbols needed. */
11701 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11702 void fnord () __attribute__((visibility("default")));
11705 void fnord () { int i=42; }
11708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11709 int status = $lt_dlunknown;
11713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11716 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11717 else puts (dlerror ());
11719 /* dlclose (self); */
11727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11728 (eval $ac_link) 2>&5
11730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11731 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11732 (.
/conftest
; exit; ) >&5 2>/dev
/null
11734 case x
$lt_status in
11735 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11736 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11737 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11740 # compilation failed
11741 lt_cv_dlopen_self
=no
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11749 $as_echo "$lt_cv_dlopen_self" >&6; }
11751 if test "x$lt_cv_dlopen_self" = xyes
; then
11752 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11754 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11755 if ${lt_cv_dlopen_self_static+:} false
; then :
11756 $as_echo_n "(cached) " >&6
11758 if test "$cross_compiling" = yes; then :
11759 lt_cv_dlopen_self_static
=cross
11761 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11762 lt_status
=$lt_dlunknown
11763 cat > conftest.
$ac_ext <<_LT_EOF
11764 #line 11764 "configure"
11765 #include "confdefs.h"
11774 # define LT_DLGLOBAL RTLD_GLOBAL
11777 # define LT_DLGLOBAL DL_GLOBAL
11779 # define LT_DLGLOBAL 0
11783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11784 find out it does not work in some platform. */
11785 #ifndef LT_DLLAZY_OR_NOW
11787 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11790 # define LT_DLLAZY_OR_NOW DL_LAZY
11793 # define LT_DLLAZY_OR_NOW RTLD_NOW
11796 # define LT_DLLAZY_OR_NOW DL_NOW
11798 # define LT_DLLAZY_OR_NOW 0
11805 /* When -fvisbility=hidden is used, assume the code has been annotated
11806 correspondingly for the symbols needed. */
11807 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11808 void fnord () __attribute__((visibility("default")));
11811 void fnord () { int i=42; }
11814 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11815 int status = $lt_dlunknown;
11819 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11822 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11823 else puts (dlerror ());
11825 /* dlclose (self); */
11833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11834 (eval $ac_link) 2>&5
11836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11837 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11838 (.
/conftest
; exit; ) >&5 2>/dev
/null
11840 case x
$lt_status in
11841 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11842 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11843 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11846 # compilation failed
11847 lt_cv_dlopen_self_static
=no
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11855 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11858 CPPFLAGS
="$save_CPPFLAGS"
11859 LDFLAGS
="$save_LDFLAGS"
11864 case $lt_cv_dlopen_self in
11865 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11866 *) enable_dlopen_self
=unknown
;;
11869 case $lt_cv_dlopen_self_static in
11870 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11871 *) enable_dlopen_self_static
=unknown
;;
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11894 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11895 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11896 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11897 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11899 $as_echo "yes" >&6; }
11901 # FIXME - insert some real tests, host_os isn't really good enough
11904 if test -n "$STRIP" ; then
11905 striplib
="$STRIP -x"
11906 old_striplib
="$STRIP -S"
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11908 $as_echo "yes" >&6; }
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11911 $as_echo "no" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11916 $as_echo "no" >&6; }
11932 # Report which library types will actually be built
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11934 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11936 $as_echo "$can_build_shared" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11939 $as_echo_n "checking whether to build shared libraries... " >&6; }
11940 test "$can_build_shared" = "no" && enable_shared
=no
11942 # On AIX, shared libraries and static libraries use the same namespace, and
11943 # are all built from PIC.
11946 test "$enable_shared" = yes && enable_static
=no
11947 if test -n "$RANLIB"; then
11948 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11949 postinstall_cmds
='$RANLIB $lib'
11954 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11955 test "$enable_shared" = yes && enable_static
=no
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11960 $as_echo "$enable_shared" >&6; }
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11963 $as_echo_n "checking whether to build static libraries... " >&6; }
11964 # Make sure either enable_shared or enable_static is yes.
11965 test "$enable_shared" = yes || enable_static
=yes
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11967 $as_echo "$enable_static" >&6; }
11974 ac_cpp
='$CPP $CPPFLAGS'
11975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11993 ac_config_commands
="$ac_config_commands libtool"
11998 # Only expand once:
12001 # Check whether --enable-largefile was given.
12002 if test "${enable_largefile+set}" = set; then :
12003 enableval
=$enable_largefile;
12006 if test "$enable_largefile" != no
; then
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12009 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12010 if ${ac_cv_sys_largefile_CC+:} false
; then :
12011 $as_echo_n "(cached) " >&6
12013 ac_cv_sys_largefile_CC
=no
12014 if test "$GCC" != yes; then
12017 # IRIX 6.2 and later do not support large files by default,
12018 # so use the C compiler's -n32 option if that helps.
12019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12021 #include <sys/types.h>
12022 /* Check that off_t can represent 2**63 - 1 correctly.
12023 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12024 since some C++ compilers masquerading as C compilers
12025 incorrectly reject 9223372036854775807. */
12026 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12027 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12028 && LARGE_OFF_T % 2147483647 == 1)
12038 if ac_fn_c_try_compile
"$LINENO"; then :
12041 rm -f core conftest.err conftest.
$ac_objext
12043 if ac_fn_c_try_compile
"$LINENO"; then :
12044 ac_cv_sys_largefile_CC
=' -n32'; break
12046 rm -f core conftest.err conftest.
$ac_objext
12050 rm -f conftest.
$ac_ext
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12054 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12055 if test "$ac_cv_sys_largefile_CC" != no
; then
12056 CC
=$CC$ac_cv_sys_largefile_CC
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12060 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12061 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12062 $as_echo_n "(cached) " >&6
12065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
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
=no
; break
12087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12090 #define _FILE_OFFSET_BITS 64
12091 #include <sys/types.h>
12092 /* Check that off_t can represent 2**63 - 1 correctly.
12093 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12094 since some C++ compilers masquerading as C compilers
12095 incorrectly reject 9223372036854775807. */
12096 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12097 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12098 && LARGE_OFF_T % 2147483647 == 1)
12108 if ac_fn_c_try_compile
"$LINENO"; then :
12109 ac_cv_sys_file_offset_bits
=64; break
12111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12112 ac_cv_sys_file_offset_bits
=unknown
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12117 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12118 case $ac_cv_sys_file_offset_bits in #(
12121 cat >>confdefs.h
<<_ACEOF
12122 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12127 if test $ac_cv_sys_file_offset_bits = unknown
; then
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12129 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12130 if ${ac_cv_sys_large_files+:} false
; then :
12131 $as_echo_n "(cached) " >&6
12134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
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
=no
; break
12156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12159 #define _LARGE_FILES 1
12160 #include <sys/types.h>
12161 /* Check that off_t can represent 2**63 - 1 correctly.
12162 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12163 since some C++ compilers masquerading as C compilers
12164 incorrectly reject 9223372036854775807. */
12165 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12166 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12167 && LARGE_OFF_T % 2147483647 == 1)
12177 if ac_fn_c_try_compile
"$LINENO"; then :
12178 ac_cv_sys_large_files
=1; break
12180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12181 ac_cv_sys_large_files
=unknown
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12186 $as_echo "$ac_cv_sys_large_files" >&6; }
12187 case $ac_cv_sys_large_files in #(
12190 cat >>confdefs.h
<<_ACEOF
12191 #define _LARGE_FILES $ac_cv_sys_large_files
12201 : ${CONFIG_LT=./config.lt}
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
12203 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
12205 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
12207 # Generated by $as_me.
12208 # Run this file to recreate a libtool stub with the current configuration.
12209 SHELL=\${CONFIG_SHELL-$SHELL}
12212 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail
=1
12213 ## -------------------- ##
12214 ## M4sh Initialization. ##
12215 ## -------------------- ##
12217 # Be more Bourne compatible
12218 DUALCASE
=1; export DUALCASE
# for MKS sh
12219 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12222 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12223 # is contrary to our usage. Disable this feature.
12224 alias -g '${1+"$@"}'='"$@"'
12225 setopt NO_GLOB_SUBST
12227 case `(set -o) 2>/dev/null` in #(
12239 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12240 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12241 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12242 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12243 # Prefer a ksh shell builtin over an external printf program on Solaris,
12244 # but without wasting forks for bash or zsh.
12245 if test -z "$BASH_VERSION$ZSH_VERSION" \
12246 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12247 as_echo='print
-r --'
12248 as_echo_n='print
-rn --'
12249 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12250 as_echo='printf %s
\n'
12251 as_echo_n='printf %s
'
12253 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12254 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12255 as_echo_n='/usr
/ucb
/echo -n'
12257 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12258 as_echo_n_body='eval
12262 expr "X$arg" : "X\\(.*\\)$as_nl";
12263 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12265 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12267 export as_echo_n_body
12268 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12270 export as_echo_body
12271 as_echo='sh
-c $as_echo_body as_echo
'
12274 # The user is always right.
12275 if test "${PATH_SEPARATOR+set}" != set; then
12277 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12278 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12285 # We need space, tab and new line, in precisely that order. Quoting is
12286 # there to prevent editors from complaining about space-tab.
12287 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12288 # splitting by setting IFS to empty value.)
12291 # Find who we are. Look in the path if we contain no directory separator.
12294 *[\\/]* ) as_myself=$0 ;;
12295 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296 for as_dir in $PATH
12299 test -z "$as_dir" && as_dir=.
12300 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12306 # We did not find ourselves, most probably we were run as `sh COMMAND'
12307 # in which case we are not to be found in the path.
12308 if test "x$as_myself" = x
; then
12311 if test ! -f "$as_myself"; then
12312 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12316 # Unset variables that we do not need and which cause bugs (e.g. in
12317 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12318 # suppresses any "Segmentation fault" message there. '((' could
12319 # trigger a bug in pdksh 5.2.14.
12320 for as_var
in BASH_ENV ENV MAIL MAILPATH
12321 do eval test x\
${$as_var+set} = xset \
12322 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12335 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12338 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12339 # ----------------------------------------
12340 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12341 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12342 # script with STATUS, using 1 if that was 0.
12345 as_status
=$1; test $as_status -eq 0 && as_status
=1
12347 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12348 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12350 $as_echo "$as_me: error: $2" >&2
12351 as_fn_exit
$as_status
12355 # as_fn_set_status STATUS
12356 # -----------------------
12357 # Set $? to STATUS, without forking.
12358 as_fn_set_status
()
12361 } # as_fn_set_status
12363 # as_fn_exit STATUS
12364 # -----------------
12365 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12369 as_fn_set_status
$1
12375 # Portably unset VAR.
12378 { eval $1=; unset $1;}
12380 as_unset
=as_fn_unset
12381 # as_fn_append VAR VALUE
12382 # ----------------------
12383 # Append the text in VALUE to the end of the definition contained in VAR. Take
12384 # advantage of any shell optimizations that allow amortized linear growth over
12385 # repeated appends, instead of the typical quadratic growth present in naive
12387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12388 eval 'as_fn_append ()
12399 # as_fn_arith ARG...
12400 # ------------------
12401 # Perform arithmetic evaluation on the ARGs, and store the result in the
12402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12403 # must be portable across $(()) and expr.
12404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12405 eval 'as_fn_arith ()
12412 as_val
=`expr "$@" || test $? -eq 1`
12417 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12418 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12424 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12425 as_basename
=basename
12430 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12436 as_me
=`$as_basename -- "$0" ||
12437 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12438 X"$0" : 'X\(//\)$' \| \
12439 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12441 sed '/^.*\/\([^/][^/]*\)\/*$/{
12455 # Avoid depending upon Character Ranges.
12456 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12457 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12458 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12459 as_cr_digits
='0123456789'
12460 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12462 ECHO_C
= ECHO_N
= ECHO_T
=
12463 case `echo -n x` in #(((((
12465 case `echo 'xy\c'` in
12466 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12468 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12475 rm -f conf$$ conf$$.exe conf$$.
file
12476 if test -d conf$$.dir
; then
12477 rm -f conf$$.dir
/conf$$.
file
12480 mkdir conf$$.dir
2>/dev
/null
12482 if (echo >conf$$.
file) 2>/dev
/null
; then
12483 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12485 # ... but there are two gotchas:
12486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12488 # In both cases, we have to default to `cp -pR'.
12489 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12491 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12499 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12500 rmdir conf$$.dir
2>/dev
/null
12505 # Create "$as_dir" as a directory, including parents if necessary.
12510 -*) as_dir
=.
/$as_dir;;
12512 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12516 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12517 *) as_qdir
=$as_dir;;
12519 as_dirs
="'$as_qdir' $as_dirs"
12520 as_dir
=`$as_dirname -- "$as_dir" ||
12521 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12522 X"$as_dir" : 'X\(//\)[^/]' \| \
12523 X"$as_dir" : 'X\(//\)$' \| \
12524 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12525 $as_echo X"$as_dir" |
12526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12530 /^X\(\/\/\)[^/].*/{
12543 test -d "$as_dir" && break
12545 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12546 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12550 if mkdir
-p .
2>/dev
/null
; then
12551 as_mkdir_p
='mkdir -p "$as_dir"'
12553 test -d .
/-p && rmdir .
/-p
12558 # as_fn_executable_p FILE
12559 # -----------------------
12560 # Test if FILE is an executable regular file.
12561 as_fn_executable_p
()
12563 test -f "$1" && test -x "$1"
12564 } # as_fn_executable_p
12565 as_test_x
='test -x'
12566 as_executable_p
=as_fn_executable_p
12568 # Sed expression to map a string onto a valid CPP name.
12569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12571 # Sed expression to map a string onto a valid variable name.
12572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12576 ## --------------------------------- ##
12577 ## Main body of "$CONFIG_LT" script. ##
12578 ## --------------------------------- ##
12580 test $as_write_fail = 0 && chmod +x
"$CONFIG_LT"
12582 cat >>"$CONFIG_LT" <<\_LTEOF
12587 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12588 ## Running $as_me. ##
12593 \`$as_me' creates a local libtool stub from the current configuration,
12594 for use in further configure time tests before the real libtool is
12597 Usage: $0 [OPTIONS]
12599 -h, --help print this help, then exit
12600 -V, --version print version number, then exit
12601 -q, --quiet do not print progress messages
12602 -d, --debug don't remove temporary files
12604 Report bugs to <bug-libtool@gnu.org>."
12607 libctf config.lt 1.2.0
12608 configured by $0, generated by GNU Autoconf 2.69.
12610 Copyright (C) 2009 Free Software Foundation, Inc.
12611 This config.lt script is free software; the Free Software Foundation
12612 gives unlimited permision to copy, distribute and modify it."
12617 --version |
--v* |
-V )
12618 echo "$lt_cl_version"; exit 0 ;;
12619 --help |
--h* |
-h )
12620 echo "$lt_cl_help"; exit 0 ;;
12621 --debug |
--d* |
-d )
12623 --quiet |
--q* |
--silent |
--s* |
-q )
12626 -*) as_fn_error $?
"unrecognized option: $1
12627 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12629 *) as_fn_error $?
"unrecognized argument: $1
12630 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12635 if $lt_cl_silent; then
12640 cat >>"$CONFIG_LT" <<_LTEOF
12643 # The HP-UX ksh and POSIX shell print the target directory to stdout
12644 # if CDPATH is set.
12645 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12647 sed_quote_subst='$sed_quote_subst'
12648 double_quote_subst='$double_quote_subst'
12649 delay_variable_subst='$delay_variable_subst'
12650 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12651 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12652 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12653 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12654 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12655 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12656 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12657 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12658 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12659 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12660 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12661 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12662 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12663 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12664 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12665 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12666 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12667 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12668 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12669 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12670 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12671 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12672 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12673 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12674 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12675 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12676 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12677 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12678 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12679 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12680 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12681 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12682 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12683 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12684 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12685 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12686 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12687 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12688 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12689 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12690 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12691 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12692 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12693 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12694 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12695 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12696 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12697 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12698 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"`'
12699 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12700 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12701 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12702 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12703 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12704 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12705 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12706 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12707 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12708 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12709 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12710 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12711 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12712 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12713 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12714 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12715 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12716 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12717 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12718 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12719 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12720 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12721 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12722 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12723 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12724 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12725 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12726 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12727 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12728 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12729 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12730 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12731 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12732 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12733 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12734 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12735 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12736 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12737 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12738 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12739 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12740 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12741 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12742 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12743 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12744 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12745 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12746 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12747 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12748 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12749 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12750 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12751 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12752 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12753 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12754 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12755 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12756 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12757 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12758 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12759 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12760 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12761 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12762 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12763 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12764 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12765 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12766 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12767 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12768 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12769 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12772 LTCFLAGS='$LTCFLAGS'
12773 compiler='$compiler_DEFAULT'
12775 # A function that is used when there is no print builtin or printf.
12776 func_fallback_echo ()
12778 eval 'cat <<_LTECHO_EOF
12783 # Quote evaled strings.
12797 deplibs_check_method \
12806 lt_cv_sys_global_symbol_pipe \
12807 lt_cv_sys_global_symbol_to_cdecl \
12808 lt_cv_sys_global_symbol_to_c_name_address \
12809 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12810 lt_prog_compiler_no_builtin_flag \
12811 lt_prog_compiler_wl \
12812 lt_prog_compiler_pic \
12813 lt_prog_compiler_static \
12814 lt_cv_prog_compiler_c_o \
12822 export_dynamic_flag_spec \
12823 whole_archive_flag_spec \
12824 compiler_needs_object \
12826 allow_undefined_flag \
12827 no_undefined_flag \
12828 hardcode_libdir_flag_spec \
12829 hardcode_libdir_flag_spec_ld \
12830 hardcode_libdir_separator \
12835 variables_saved_for_relink \
12837 library_names_spec \
12839 install_override_mode \
12843 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12844 *[\\\\\\\`\\"\\\$]*)
12845 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12848 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12853 # Double-quote double-evaled strings.
12854 for var in reload_cmds \
12855 old_postinstall_cmds \
12856 old_postuninstall_cmds \
12858 extract_expsyms_cmds \
12859 old_archive_from_new_cmds \
12860 old_archive_from_expsyms_cmds \
12862 archive_expsym_cmds \
12864 module_expsym_cmds \
12865 export_symbols_cmds \
12868 postuninstall_cmds \
12870 sys_lib_search_path_spec \
12871 sys_lib_dlsearch_path_spec; do
12872 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12873 *[\\\\\\\`\\"\\\$]*)
12874 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12877 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12882 ac_aux_dir='$ac_aux_dir'
12883 xsi_shell='$xsi_shell'
12884 lt_shell_append='$lt_shell_append'
12886 # See if we are running on zsh, and set the options which allow our
12887 # commands through without removal of \ escapes INIT.
12888 if test -n "\${ZSH_VERSION+set}" ; then
12889 setopt NO_GLOB_SUBST
12895 TIMESTAMP='$TIMESTAMP'
12903 cat >>"$CONFIG_LT" <<\_LTEOF
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
12905 $as_echo "$as_me: creating $ofile" >&6;}
12908 # See if we are running on zsh, and set the options which allow our
12909 # commands through without removal of \ escapes.
12910 if test -n "${ZSH_VERSION+set}" ; then
12911 setopt NO_GLOB_SUBST
12914 cfgfile
="${ofile}T"
12915 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12918 cat <<_LT_EOF >> "$cfgfile"
12921 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12922 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12923 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12924 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12926 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12927 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
12928 # Written by Gordon Matzigkeit, 1996
12930 # This file is part of GNU Libtool.
12932 # GNU Libtool is free software; you can redistribute it and/or
12933 # modify it under the terms of the GNU General Public License as
12934 # published by the Free Software Foundation; either version 2 of
12935 # the License, or (at your option) any later version.
12937 # As a special exception to the GNU General Public License,
12938 # if you distribute this file as part of a program or library that
12939 # is built using GNU Libtool, you may include this file under the
12940 # same distribution terms that you use for the rest of that program.
12942 # GNU Libtool is distributed in the hope that it will be useful,
12943 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12944 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12945 # GNU General Public License for more details.
12947 # You should have received a copy of the GNU General Public License
12948 # along with GNU Libtool; see the file COPYING. If not, a copy
12949 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12950 # obtained by writing to the Free Software Foundation, Inc.,
12951 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12954 # The names of the tagged configurations supported by this script.
12957 # ### BEGIN LIBTOOL CONFIG
12959 # Whether or not to build shared libraries.
12960 build_libtool_libs=$enable_shared
12962 # Which release of libtool.m4 was used?
12963 macro_version=$macro_version
12964 macro_revision=$macro_revision
12966 # Whether or not to build static libraries.
12967 build_old_libs=$enable_static
12969 # What type of objects to build.
12972 # Whether or not to optimize for fast installation.
12973 fast_install=$enable_fast_install
12975 # Shell to use when invoking shell scripts.
12978 # An echo program that protects backslashes.
12982 host_alias=$host_alias
12986 # The build system.
12987 build_alias=$build_alias
12991 # A sed program that does not truncate output.
12994 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12995 Xsed="\$SED -e 1s/^X//"
12997 # A grep program that handles long lines.
13003 # A literal string matcher.
13006 # A BSD- or MS-compatible name lister.
13009 # Whether we need soft or hard links.
13012 # What is the maximum length of a command?
13013 max_cmd_len=$max_cmd_len
13015 # Object file suffix (normally "o").
13018 # Executable file suffix (normally "").
13021 # whether the shell understands "unset".
13024 # turn spaces into newlines.
13027 # turn newlines into spaces.
13030 # An object symbol dumper.
13031 OBJDUMP=$lt_OBJDUMP
13033 # Method to check whether dependent libraries are shared objects.
13034 deplibs_check_method=$lt_deplibs_check_method
13036 # Command to use when deplibs_check_method == "file_magic".
13037 file_magic_cmd=$lt_file_magic_cmd
13041 AR_FLAGS=$lt_AR_FLAGS
13043 # A symbol stripping program.
13046 # Commands used to install an old-style archive.
13048 old_postinstall_cmds=$lt_old_postinstall_cmds
13049 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13051 # Whether to use a lock for old archive extraction.
13052 lock_old_archive_extraction=$lock_old_archive_extraction
13057 # LTCC compiler flags.
13058 LTCFLAGS=$lt_CFLAGS
13060 # Take the output of nm and produce a listing of raw symbols and C names.
13061 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13063 # Transform the output of nm in a proper C declaration.
13064 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13066 # Transform the output of nm in a C name address pair.
13067 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13069 # Transform the output of nm in a C name address pair when lib prefix is needed.
13070 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13072 # The name of the directory that contains temporary libtool files.
13075 # Used to examine libraries when file_magic_cmd begins with "file".
13076 MAGIC_CMD=$MAGIC_CMD
13078 # Must we lock files when doing compilation?
13079 need_locks=$lt_need_locks
13081 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13082 DSYMUTIL=$lt_DSYMUTIL
13084 # Tool to change global to local symbols on Mac OS X.
13087 # Tool to manipulate fat objects and archives on Mac OS X.
13090 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13093 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13094 OTOOL64=$lt_OTOOL64
13096 # Old archive suffix (normally "a").
13099 # Shared library suffix (normally ".so").
13100 shrext_cmds=$lt_shrext_cmds
13102 # The commands to extract the exported symbol list from a shared archive.
13103 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13105 # Variables whose values should be saved in libtool wrapper scripts and
13106 # restored at link time.
13107 variables_saved_for_relink=$lt_variables_saved_for_relink
13109 # Do we need the "lib" prefix for modules?
13110 need_lib_prefix=$need_lib_prefix
13112 # Do we need a version for libraries?
13113 need_version=$need_version
13115 # Library versioning type.
13116 version_type=$version_type
13118 # Shared library runtime path variable.
13119 runpath_var=$runpath_var
13121 # Shared library path variable.
13122 shlibpath_var=$shlibpath_var
13124 # Is shlibpath searched before the hard-coded library search path?
13125 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13127 # Format of library name prefix.
13128 libname_spec=$lt_libname_spec
13130 # List of archive names. First name is the real one, the rest are links.
13131 # The last name is the one that the linker finds with -lNAME
13132 library_names_spec=$lt_library_names_spec
13134 # The coded name of the library, if different from the real name.
13135 soname_spec=$lt_soname_spec
13137 # Permission mode override for installation of shared libraries.
13138 install_override_mode=$lt_install_override_mode
13140 # Command to use after installation of a shared archive.
13141 postinstall_cmds=$lt_postinstall_cmds
13143 # Command to use after uninstallation of a shared archive.
13144 postuninstall_cmds=$lt_postuninstall_cmds
13146 # Commands used to finish a libtool library installation in a directory.
13147 finish_cmds=$lt_finish_cmds
13149 # As "finish_cmds", except a single script fragment to be evaled but
13151 finish_eval=$lt_finish_eval
13153 # Whether we should hardcode library paths into libraries.
13154 hardcode_into_libs=$hardcode_into_libs
13156 # Compile-time system search path for libraries.
13157 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13159 # Run-time system search path for libraries.
13160 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13162 # Whether dlopen is supported.
13163 dlopen_support=$enable_dlopen
13165 # Whether dlopen of programs is supported.
13166 dlopen_self=$enable_dlopen_self
13168 # Whether dlopen of statically linked programs is supported.
13169 dlopen_self_static=$enable_dlopen_self_static
13171 # Commands to strip libraries.
13172 old_striplib=$lt_old_striplib
13173 striplib=$lt_striplib
13176 # The linker used to build libraries.
13179 # How to create reloadable object files.
13180 reload_flag=$lt_reload_flag
13181 reload_cmds=$lt_reload_cmds
13183 # Commands used to build an old-style archive.
13184 old_archive_cmds=$lt_old_archive_cmds
13186 # A language specific compiler.
13189 # Is the compiler the GNU compiler?
13192 # Compiler flag to turn off builtin functions.
13193 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13195 # How to pass a linker flag through the compiler.
13196 wl=$lt_lt_prog_compiler_wl
13198 # Additional compiler flags for building library objects.
13199 pic_flag=$lt_lt_prog_compiler_pic
13201 # Compiler flag to prevent dynamic linking.
13202 link_static_flag=$lt_lt_prog_compiler_static
13204 # Does compiler simultaneously support -c and -o options?
13205 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13207 # Whether or not to add -lc for building shared libraries.
13208 build_libtool_need_lc=$archive_cmds_need_lc
13210 # Whether or not to disallow shared libs when runtime libs are static.
13211 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13213 # Compiler flag to allow reflexive dlopens.
13214 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13216 # Compiler flag to generate shared objects directly from archives.
13217 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13219 # Whether the compiler copes with passing no objects directly.
13220 compiler_needs_object=$lt_compiler_needs_object
13222 # Create an old-style archive from a shared archive.
13223 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13225 # Create a temporary old-style archive to link instead of a shared archive.
13226 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13228 # Commands used to build a shared archive.
13229 archive_cmds=$lt_archive_cmds
13230 archive_expsym_cmds=$lt_archive_expsym_cmds
13232 # Commands used to build a loadable module if different from building
13233 # a shared archive.
13234 module_cmds=$lt_module_cmds
13235 module_expsym_cmds=$lt_module_expsym_cmds
13237 # Whether we are building with GNU ld or not.
13238 with_gnu_ld=$lt_with_gnu_ld
13240 # Flag that allows shared libraries with undefined symbols to be built.
13241 allow_undefined_flag=$lt_allow_undefined_flag
13243 # Flag that enforces no undefined symbols.
13244 no_undefined_flag=$lt_no_undefined_flag
13246 # Flag to hardcode \$libdir into a binary during linking.
13247 # This must work even if \$libdir does not exist
13248 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13250 # If ld is used when linking, flag to hardcode \$libdir into a binary
13251 # during linking. This must work even if \$libdir does not exist.
13252 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13254 # Whether we need a single "-rpath" flag with a separated argument.
13255 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13257 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13258 # DIR into the resulting binary.
13259 hardcode_direct=$hardcode_direct
13261 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13262 # DIR into the resulting binary and the resulting library dependency is
13263 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13264 # library is relocated.
13265 hardcode_direct_absolute=$hardcode_direct_absolute
13267 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13268 # into the resulting binary.
13269 hardcode_minus_L=$hardcode_minus_L
13271 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13272 # into the resulting binary.
13273 hardcode_shlibpath_var=$hardcode_shlibpath_var
13275 # Set to "yes" if building a shared library automatically hardcodes DIR
13276 # into the library and all subsequent libraries and executables linked
13278 hardcode_automatic=$hardcode_automatic
13280 # Set to yes if linker adds runtime paths of dependent libraries
13281 # to runtime path list.
13282 inherit_rpath=$inherit_rpath
13284 # Whether libtool must link a program against all its dependency libraries.
13285 link_all_deplibs=$link_all_deplibs
13287 # Fix the shell variable \$srcfile for the compiler.
13288 fix_srcfile_path=$lt_fix_srcfile_path
13290 # Set to "yes" if exported symbols are required.
13291 always_export_symbols=$always_export_symbols
13293 # The commands to list exported symbols.
13294 export_symbols_cmds=$lt_export_symbols_cmds
13296 # Symbols that should not be listed in the preloaded symbols.
13297 exclude_expsyms=$lt_exclude_expsyms
13299 # Symbols that must always be exported.
13300 include_expsyms=$lt_include_expsyms
13302 # Commands necessary for linking programs (against libraries) with templates.
13303 prelink_cmds=$lt_prelink_cmds
13305 # Specify filename containing input files.
13306 file_list_spec=$lt_file_list_spec
13308 # How to hardcode a shared library path into an executable.
13309 hardcode_action=$hardcode_action
13311 # ### END LIBTOOL CONFIG
13317 cat <<\_LT_EOF
>> "$cfgfile"
13318 # AIX sometimes has problems with the GCC collect2 program. For some
13319 # reason, if we set the COLLECT_NAMES environment variable, the problems
13320 # vanish in a puff of smoke.
13321 if test "X${COLLECT_NAMES+set}" != Xset
; then
13323 export COLLECT_NAMES
13330 ltmain
="$ac_aux_dir/ltmain.sh"
13333 # We use sed instead of cat because bash on DJGPP gets confused if
13334 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13335 # text mode, it properly converts lines to CR/LF. This bash problem
13336 # is reportedly fixed, but why not run on old versions too?
13337 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13338 ||
(rm -f "$cfgfile"; exit 1)
13342 cat << \_LT_EOF
>> "$cfgfile"
13344 # func_dirname file append nondir_replacement
13345 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13346 # otherwise set result to NONDIR_REPLACEMENT.
13350 */*) func_dirname_result
="${1%/*}${2}" ;;
13351 * ) func_dirname_result
="${3}" ;;
13355 # func_basename file
13358 func_basename_result
="${1##*/}"
13361 # func_dirname_and_basename file append nondir_replacement
13362 # perform func_basename and func_dirname in a single function
13364 # dirname: Compute the dirname of FILE. If nonempty,
13365 # add APPEND to the result, otherwise set result
13366 # to NONDIR_REPLACEMENT.
13367 # value returned in "$func_dirname_result"
13368 # basename: Compute filename of FILE.
13369 # value retuned in "$func_basename_result"
13370 # Implementation must be kept synchronized with func_dirname
13371 # and func_basename. For efficiency, we do not delegate to
13372 # those functions but instead duplicate the functionality here.
13373 func_dirname_and_basename
()
13376 */*) func_dirname_result
="${1%/*}${2}" ;;
13377 * ) func_dirname_result
="${3}" ;;
13379 func_basename_result
="${1##*/}"
13382 # func_stripname prefix suffix name
13383 # strip PREFIX and SUFFIX off of NAME.
13384 # PREFIX and SUFFIX must not contain globbing or regex special
13385 # characters, hashes, percent signs, but SUFFIX may contain a leading
13386 # dot (in which case that matches only a dot).
13389 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13390 # positional parameters, so assign one to ordinary parameter first.
13391 func_stripname_result
=${3}
13392 func_stripname_result
=${func_stripname_result#"${1}"}
13393 func_stripname_result
=${func_stripname_result%"${2}"}
13399 func_opt_split_opt
=${1%%=*}
13400 func_opt_split_arg
=${1#*=}
13407 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13408 *) func_lo2o_result
=${1} ;;
13412 # func_xform libobj-or-source
13415 func_xform_result
=${1%.*}.lo
13418 # func_arith arithmetic-term...
13421 func_arith_result
=$
(( $
* ))
13425 # STRING may not start with a hyphen.
13428 func_len_result
=${#1}
13433 *) # Bourne compatible functions.
13434 cat << \_LT_EOF
>> "$cfgfile"
13436 # func_dirname file append nondir_replacement
13437 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13438 # otherwise set result to NONDIR_REPLACEMENT.
13441 # Extract subdirectory from the argument.
13442 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13443 if test "X$func_dirname_result" = "X${1}"; then
13444 func_dirname_result
="${3}"
13446 func_dirname_result
="$func_dirname_result${2}"
13450 # func_basename file
13453 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13457 # func_stripname prefix suffix name
13458 # strip PREFIX and SUFFIX off of NAME.
13459 # PREFIX and SUFFIX must not contain globbing or regex special
13460 # characters, hashes, percent signs, but SUFFIX may contain a leading
13461 # dot (in which case that matches only a dot).
13462 # func_strip_suffix prefix name
13466 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13467 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13472 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13473 my_sed_long_arg
='1s/^-[^=]*=//'
13478 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13479 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13485 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13488 # func_xform libobj-or-source
13491 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13494 # func_arith arithmetic-term...
13497 func_arith_result
=`expr "$@"`
13501 # STRING may not start with a hyphen.
13504 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13510 case $lt_shell_append in
13512 cat << \_LT_EOF
>> "$cfgfile"
13514 # func_append var value
13515 # Append VALUE to the end of shell variable VAR.
13523 cat << \_LT_EOF
>> "$cfgfile"
13525 # func_append var value
13526 # Append VALUE to the end of shell variable VAR.
13537 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13538 ||
(rm -f "$cfgfile"; exit 1)
13540 mv -f "$cfgfile" "$ofile" ||
13541 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13547 chmod +x
"$CONFIG_LT"
13549 # configure is writing to config.log, but config.lt does its own redirection,
13550 # appending to config.log, which fails on DOS, as config.log is still kept
13551 # open by configure. Here we exec the FD to /dev/null, effectively closing
13552 # config.log, so it can be properly (re)opened and appended to by config.lt.
13554 test "$silent" = yes &&
13555 lt_config_lt_args
="$lt_config_lt_args --quiet"
13557 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success
=false
13559 $lt_cl_success || as_fn_exit
1
13562 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
13563 for ac_prog
in aclocal
13565 # Extract the first word of "$ac_prog", so it can be a program name with args.
13566 set dummy
$ac_prog; ac_word
=$2
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13568 $as_echo_n "checking for $ac_word... " >&6; }
13569 if ${ac_cv_prog_ACLOCAL+:} false
; then :
13570 $as_echo_n "(cached) " >&6
13572 if test -n "$ACLOCAL"; then
13573 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
13575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13576 for as_dir
in $PATH
13579 test -z "$as_dir" && as_dir
=.
13580 for ac_exec_ext
in '' $ac_executable_extensions; do
13581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13582 ac_cv_prog_ACLOCAL
="$ac_prog"
13583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13592 ACLOCAL
=$ac_cv_prog_ACLOCAL
13593 if test -n "$ACLOCAL"; then
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
13595 $as_echo "$ACLOCAL" >&6; }
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13598 $as_echo "no" >&6; }
13602 test -n "$ACLOCAL" && break
13604 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
13606 for ac_prog
in autoconf
13608 # Extract the first word of "$ac_prog", so it can be a program name with args.
13609 set dummy
$ac_prog; ac_word
=$2
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13611 $as_echo_n "checking for $ac_word... " >&6; }
13612 if ${ac_cv_prog_AUTOCONF+:} false
; then :
13613 $as_echo_n "(cached) " >&6
13615 if test -n "$AUTOCONF"; then
13616 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
13618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13619 for as_dir
in $PATH
13622 test -z "$as_dir" && as_dir
=.
13623 for ac_exec_ext
in '' $ac_executable_extensions; do
13624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13625 ac_cv_prog_AUTOCONF
="$ac_prog"
13626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13635 AUTOCONF
=$ac_cv_prog_AUTOCONF
13636 if test -n "$AUTOCONF"; then
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
13638 $as_echo "$AUTOCONF" >&6; }
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13641 $as_echo "no" >&6; }
13645 test -n "$AUTOCONF" && break
13647 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
13649 for ac_prog
in autoheader
13651 # Extract the first word of "$ac_prog", so it can be a program name with args.
13652 set dummy
$ac_prog; ac_word
=$2
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13654 $as_echo_n "checking for $ac_word... " >&6; }
13655 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
13656 $as_echo_n "(cached) " >&6
13658 if test -n "$AUTOHEADER"; then
13659 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
13661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13662 for as_dir
in $PATH
13665 test -z "$as_dir" && as_dir
=.
13666 for ac_exec_ext
in '' $ac_executable_extensions; do
13667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13668 ac_cv_prog_AUTOHEADER
="$ac_prog"
13669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13678 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
13679 if test -n "$AUTOHEADER"; then
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
13681 $as_echo "$AUTOHEADER" >&6; }
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13684 $as_echo "no" >&6; }
13688 test -n "$AUTOHEADER" && break
13690 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
13693 # Figure out what compiler warnings we can enable.
13694 # See config/warnings.m4 for details.
13697 ac_cpp
='$CPP $CPPFLAGS'
13698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13703 save_CFLAGS
="$CFLAGS"
13704 for real_option
in -W -Wall -Wno-narrowing -Wwrite-strings \
13705 -Wmissing-format-attribute; do
13706 # Do the check with the no- prefix removed since gcc silently
13707 # accepts any -Wno-* option on purpose
13708 case $real_option in
13709 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
13710 *) option
=$real_option ;;
13712 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
13715 $as_echo_n "checking whether $CC supports $option... " >&6; }
13716 if eval \
${$as_acx_Woption+:} false
; then :
13717 $as_echo_n "(cached) " >&6
13720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13731 if ac_fn_c_try_compile
"$LINENO"; then :
13732 eval "$as_acx_Woption=yes"
13734 eval "$as_acx_Woption=no"
13736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13739 eval ac_res
=\$
$as_acx_Woption
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13741 $as_echo "$ac_res" >&6; }
13742 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
13743 warn
="$warn${warn:+ }$real_option"
13746 CFLAGS
="$save_CFLAGS"
13748 ac_cpp
='$CPP $CPPFLAGS'
13749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13755 ac_cpp
='$CPP $CPPFLAGS'
13756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13761 save_CFLAGS
="$CFLAGS"
13762 for real_option
in -Wstrict-prototypes -Wmissing-prototypes \
13763 -Wold-style-definition; do
13764 # Do the check with the no- prefix removed since gcc silently
13765 # accepts any -Wno-* option on purpose
13766 case $real_option in
13767 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
13768 *) option
=$real_option ;;
13770 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
13773 $as_echo_n "checking whether $CC supports $option... " >&6; }
13774 if eval \
${$as_acx_Woption+:} false
; then :
13775 $as_echo_n "(cached) " >&6
13778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13789 if ac_fn_c_try_compile
"$LINENO"; then :
13790 eval "$as_acx_Woption=yes"
13792 eval "$as_acx_Woption=no"
13794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13797 eval ac_res
=\$
$as_acx_Woption
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13799 $as_echo "$ac_res" >&6; }
13800 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
13801 c_warn
="$c_warn${c_warn:+ }$real_option"
13804 CFLAGS
="$save_CFLAGS"
13806 ac_cpp
='$CPP $CPPFLAGS'
13807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13813 ac_cpp
='$CPP $CPPFLAGS'
13814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13819 # Do the check with the no- prefix removed from the warning options
13820 # since gcc silently accepts any -Wno-* option on purpose
13821 if test "$GCC" = yes; then :
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
13823 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
13824 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false
; then :
13825 $as_echo_n "(cached) " >&6
13827 save_CFLAGS
="$CFLAGS"
13828 CFLAGS
="-pedantic -Wlong-long"
13829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13840 if ac_fn_c_try_compile
"$LINENO"; then :
13841 acx_cv_prog_cc_pedantic__Wlong_long
=yes
13843 acx_cv_prog_cc_pedantic__Wlong_long
=no
13845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13846 CFLAGS
="$save_CFLAGS"
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
13849 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
13850 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
13851 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
13856 ac_cpp
='$CPP $CPPFLAGS'
13857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13863 # Only enable with --enable-werror-always until existing warnings are
13866 ac_cpp
='$CPP $CPPFLAGS'
13867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13872 # Check whether --enable-werror-always was given.
13873 if test "${enable_werror_always+set}" = set; then :
13874 enableval
=$enable_werror_always;
13876 enable_werror_always
=no
13879 if test $enable_werror_always = yes; then :
13880 WERROR
="$WERROR${WERROR:+ }-Werror"
13884 ac_cpp
='$CPP $CPPFLAGS'
13885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13893 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13894 # Check whether --enable-maintainer-mode was given.
13895 if test "${enable_maintainer_mode+set}" = set; then :
13896 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
13898 USE_MAINTAINER_MODE
=no
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13902 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13903 if test $USE_MAINTAINER_MODE = yes; then
13904 MAINTAINER_MODE_TRUE
=
13905 MAINTAINER_MODE_FALSE
='#'
13907 MAINTAINER_MODE_TRUE
='#'
13908 MAINTAINER_MODE_FALSE
=
13911 MAINT
=$MAINTAINER_MODE_TRUE
13914 case ${build_alias} in
13915 "") build_noncanonical
=${build} ;;
13916 *) build_noncanonical
=${build_alias} ;;
13919 case ${host_alias} in
13920 "") host_noncanonical
=${build_noncanonical} ;;
13921 *) host_noncanonical
=${host_alias} ;;
13924 case ${target_alias} in
13925 "") target_noncanonical
=${host_noncanonical} ;;
13926 *) target_noncanonical
=${target_alias} ;;
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
13930 $as_echo_n "checking whether to install libbfd... " >&6; }
13931 # Check whether --enable-install-libbfd was given.
13932 if test "${enable_install_libbfd+set}" = set; then :
13933 enableval
=$enable_install_libbfd; install_libbfd_p
=$enableval
13935 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
13936 install_libbfd_p
=yes
13938 install_libbfd_p
=no
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
13943 $as_echo "$install_libbfd_p" >&6; }
13944 if test $install_libbfd_p = yes; then
13945 INSTALL_LIBBFD_TRUE
=
13946 INSTALL_LIBBFD_FALSE
='#'
13948 INSTALL_LIBBFD_TRUE
='#'
13949 INSTALL_LIBBFD_FALSE
=
13952 # Need _noncanonical variables for this.
13957 # libbfd.a is a host library containing target dependent code
13958 bfdlibdir
='$(libdir)'
13959 bfdincludedir
='$(includedir)'
13960 if test "${host}" != "${target}"; then
13961 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
13962 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
13971 ac_cpp
='$CPP $CPPFLAGS'
13972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13976 ac_libctf_warn_cflags
=
13977 save_CFLAGS
="$CFLAGS"
13978 for real_option
in -Wall; do
13979 # Do the check with the no- prefix removed since gcc silently
13980 # accepts any -Wno-* option on purpose
13981 case $real_option in
13982 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
13983 *) option
=$real_option ;;
13985 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
13988 $as_echo_n "checking whether $CC supports $option... " >&6; }
13989 if eval \
${$as_acx_Woption+:} false
; then :
13990 $as_echo_n "(cached) " >&6
13993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
14004 if ac_fn_c_try_compile
"$LINENO"; then :
14005 eval "$as_acx_Woption=yes"
14007 eval "$as_acx_Woption=no"
14009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14012 eval ac_res
=\$
$as_acx_Woption
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14014 $as_echo "$ac_res" >&6; }
14015 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
14016 ac_libctf_warn_cflags
="$ac_libctf_warn_cflags${ac_libctf_warn_cflags:+ }$real_option"
14019 CFLAGS
="$save_CFLAGS"
14021 ac_cpp
='$CPP $CPPFLAGS'
14022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14031 for ac_header
in $ac_header_list
14033 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14034 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14036 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14037 cat >>confdefs.h
<<_ACEOF
14038 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14052 for ac_func
in getpagesize
14054 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
14055 if test "x$ac_cv_func_getpagesize" = xyes
; then :
14056 cat >>confdefs.h
<<_ACEOF
14057 #define HAVE_GETPAGESIZE 1
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14064 $as_echo_n "checking for working mmap... " >&6; }
14065 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
14066 $as_echo_n "(cached) " >&6
14068 if test "$cross_compiling" = yes; then :
14069 ac_cv_func_mmap_fixed_mapped
=no
14071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 $ac_includes_default
14074 /* malloc might have been renamed as rpl_malloc. */
14077 /* Thanks to Mike Haertel and Jim Avera for this test.
14078 Here is a matrix of mmap possibilities:
14079 mmap private not fixed
14080 mmap private fixed at somewhere currently unmapped
14081 mmap private fixed at somewhere already mapped
14082 mmap shared not fixed
14083 mmap shared fixed at somewhere currently unmapped
14084 mmap shared fixed at somewhere already mapped
14085 For private mappings, we should verify that changes cannot be read()
14086 back from the file, nor mmap's back from the file at a different
14087 address. (There have been systems where private was not correctly
14088 implemented like the infamous i386 svr4.0, and systems where the
14089 VM page cache was not coherent with the file system buffer cache
14090 like early versions of FreeBSD and possibly contemporary NetBSD.)
14091 For shared mappings, we should conversely verify that changes get
14092 propagated back to all the places they're supposed to be.
14094 Grep wants private fixed already mapped.
14095 The main things grep needs to know about mmap are:
14096 * does it exist and is it safe to write into the mmap'd area
14097 * how to use it (BSD variants) */
14100 #include <sys/mman.h>
14102 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14106 /* This mess was copied from the GNU getpagesize.h. */
14107 #ifndef HAVE_GETPAGESIZE
14108 # ifdef _SC_PAGESIZE
14109 # define getpagesize() sysconf(_SC_PAGESIZE)
14110 # else /* no _SC_PAGESIZE */
14111 # ifdef HAVE_SYS_PARAM_H
14112 # include <sys/param.h>
14113 # ifdef EXEC_PAGESIZE
14114 # define getpagesize() EXEC_PAGESIZE
14115 # else /* no EXEC_PAGESIZE */
14117 # define getpagesize() NBPG * CLSIZE
14120 # endif /* no CLSIZE */
14121 # else /* no NBPG */
14123 # define getpagesize() NBPC
14124 # else /* no NBPC */
14126 # define getpagesize() PAGESIZE
14127 # endif /* PAGESIZE */
14128 # endif /* no NBPC */
14129 # endif /* no NBPG */
14130 # endif /* no EXEC_PAGESIZE */
14131 # else /* no HAVE_SYS_PARAM_H */
14132 # define getpagesize() 8192 /* punt totally */
14133 # endif /* no HAVE_SYS_PARAM_H */
14134 # endif /* no _SC_PAGESIZE */
14136 #endif /* no HAVE_GETPAGESIZE */
14141 char *data, *data2, *data3;
14142 const char *cdata2;
14146 pagesize = getpagesize ();
14148 /* First, make a file with some known garbage in it. */
14149 data = (char *) malloc (pagesize);
14152 for (i = 0; i < pagesize; ++i)
14153 *(data + i) = rand ();
14155 fd = creat ("conftest.mmap", 0600);
14158 if (write (fd, data, pagesize) != pagesize)
14162 /* Next, check that the tail of a page is zero-filled. File must have
14163 non-zero length, otherwise we risk SIGBUS for entire page. */
14164 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
14168 if (write (fd2, cdata2, 1) != 1)
14170 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
14171 if (data2 == MAP_FAILED)
14173 for (i = 0; i < pagesize; ++i)
14177 if (munmap (data2, pagesize))
14180 /* Next, try to mmap the file at a fixed address which already has
14181 something else allocated at it. If we can, also make sure that
14182 we see the same garbage. */
14183 fd = open ("conftest.mmap", O_RDWR);
14186 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14187 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14189 for (i = 0; i < pagesize; ++i)
14190 if (*(data + i) != *(data2 + i))
14193 /* Finally, make sure that changes to the mapped area do not
14194 percolate back to the file as seen by read(). (This is a bug on
14195 some variants of i386 svr4.0.) */
14196 for (i = 0; i < pagesize; ++i)
14197 *(data2 + i) = *(data2 + i) + 1;
14198 data3 = (char *) malloc (pagesize);
14201 if (read (fd, data3, pagesize) != pagesize)
14203 for (i = 0; i < pagesize; ++i)
14204 if (*(data + i) != *(data3 + i))
14210 if ac_fn_c_try_run
"$LINENO"; then :
14211 ac_cv_func_mmap_fixed_mapped
=yes
14213 ac_cv_func_mmap_fixed_mapped
=no
14215 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14216 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14221 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14222 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14224 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
14227 rm -f conftest.mmap conftest.txt
14229 # Needed for BFD capability checks.
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
14231 $as_echo_n "checking for library containing dlsym... " >&6; }
14232 if ${ac_cv_search_dlsym+:} false
; then :
14233 $as_echo_n "(cached) " >&6
14235 ac_func_search_save_LIBS
=$LIBS
14236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14239 /* Override any GCC internal prototype to avoid an error.
14240 Use char because int might match the return type of a GCC
14241 builtin and then its argument prototype would still apply. */
14254 for ac_lib
in '' dl
; do
14255 if test -z "$ac_lib"; then
14256 ac_res
="none required"
14259 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14261 if ac_fn_c_try_link
"$LINENO"; then :
14262 ac_cv_search_dlsym
=$ac_res
14264 rm -f core conftest.err conftest.
$ac_objext \
14266 if ${ac_cv_search_dlsym+:} false
; then :
14270 if ${ac_cv_search_dlsym+:} false
; then :
14273 ac_cv_search_dlsym
=no
14275 rm conftest.
$ac_ext
14276 LIBS
=$ac_func_search_save_LIBS
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
14279 $as_echo "$ac_cv_search_dlsym" >&6; }
14280 ac_res
=$ac_cv_search_dlsym
14281 if test "$ac_res" != no
; then :
14282 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14287 # Use the system's zlib library.
14288 zlibdir
="-L\$(top_builddir)/../zlib"
14289 zlibinc
="-I\$(top_srcdir)/../zlib"
14291 # Check whether --with-system-zlib was given.
14292 if test "${with_system_zlib+set}" = set; then :
14293 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
14310 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14311 if test -n "$ac_tool_prefix"; then
14312 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14313 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14315 $as_echo_n "checking for $ac_word... " >&6; }
14316 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
14317 $as_echo_n "(cached) " >&6
14319 case $PKG_CONFIG in
14321 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14325 for as_dir
in $PATH
14328 test -z "$as_dir" && as_dir
=.
14329 for ac_exec_ext
in '' $ac_executable_extensions; do
14330 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14331 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14342 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14343 if test -n "$PKG_CONFIG"; then
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14345 $as_echo "$PKG_CONFIG" >&6; }
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14348 $as_echo "no" >&6; }
14353 if test -z "$ac_cv_path_PKG_CONFIG"; then
14354 ac_pt_PKG_CONFIG
=$PKG_CONFIG
14355 # Extract the first word of "pkg-config", so it can be a program name with args.
14356 set dummy pkg-config
; ac_word
=$2
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14358 $as_echo_n "checking for $ac_word... " >&6; }
14359 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
14360 $as_echo_n "(cached) " >&6
14362 case $ac_pt_PKG_CONFIG in
14364 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14368 for as_dir
in $PATH
14371 test -z "$as_dir" && as_dir
=.
14372 for ac_exec_ext
in '' $ac_executable_extensions; do
14373 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14374 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14385 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
14386 if test -n "$ac_pt_PKG_CONFIG"; then
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14388 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14391 $as_echo "no" >&6; }
14394 if test "x$ac_pt_PKG_CONFIG" = x
; then
14397 case $cross_compiling:$ac_tool_warned in
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14401 ac_tool_warned
=yes ;;
14403 PKG_CONFIG
=$ac_pt_PKG_CONFIG
14406 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14410 if test -n "$PKG_CONFIG"; then
14411 _pkg_min_version
=0.9.0
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14413 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14414 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14416 $as_echo "yes" >&6; }
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14419 $as_echo "no" >&6; }
14425 # Check whether --with-zstd was given.
14426 if test "${with_zstd+set}" = set; then :
14427 withval
=$with_zstd;
14433 if test "$with_zstd" != no
; then :
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.4.0" >&5
14437 $as_echo_n "checking for libzstd >= 1.4.0... " >&6; }
14439 if test -n "$ZSTD_CFLAGS"; then
14440 pkg_cv_ZSTD_CFLAGS
="$ZSTD_CFLAGS"
14441 elif test -n "$PKG_CONFIG"; then
14442 if test -n "$PKG_CONFIG" && \
14443 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
14444 ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
14446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14447 test $ac_status = 0; }; then
14448 pkg_cv_ZSTD_CFLAGS
=`$PKG_CONFIG --cflags "libzstd >= 1.4.0" 2>/dev/null`
14449 test "x$?" != "x0" && pkg_failed
=yes
14456 if test -n "$ZSTD_LIBS"; then
14457 pkg_cv_ZSTD_LIBS
="$ZSTD_LIBS"
14458 elif test -n "$PKG_CONFIG"; then
14459 if test -n "$PKG_CONFIG" && \
14460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
14461 ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
14463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14464 test $ac_status = 0; }; then
14465 pkg_cv_ZSTD_LIBS
=`$PKG_CONFIG --libs "libzstd >= 1.4.0" 2>/dev/null`
14466 test "x$?" != "x0" && pkg_failed
=yes
14474 if test $pkg_failed = no
; then
14475 pkg_save_LDFLAGS
="$LDFLAGS"
14476 LDFLAGS
="$LDFLAGS $pkg_cv_ZSTD_LIBS"
14477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14488 if ac_fn_c_try_link
"$LINENO"; then :
14493 rm -f core conftest.err conftest.
$ac_objext \
14494 conftest
$ac_exeext conftest.
$ac_ext
14495 LDFLAGS
=$pkg_save_LDFLAGS
14500 if test $pkg_failed = yes; then
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14502 $as_echo "no" >&6; }
14504 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14505 _pkg_short_errors_supported
=yes
14507 _pkg_short_errors_supported
=no
14509 if test $_pkg_short_errors_supported = yes; then
14510 ZSTD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
14512 ZSTD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
14514 # Put the nasty error message in config.log where it belongs
14515 echo "$ZSTD_PKG_ERRORS" >&5
14518 if test "$with_zstd" = yes; then
14519 as_fn_error $?
"--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
14522 elif test $pkg_failed = untried
; then
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14524 $as_echo "no" >&6; }
14526 if test "$with_zstd" = yes; then
14527 as_fn_error $?
"--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
14531 ZSTD_CFLAGS
=$pkg_cv_ZSTD_CFLAGS
14532 ZSTD_LIBS
=$pkg_cv_ZSTD_LIBS
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14534 $as_echo "yes" >&6; }
14537 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
14545 # Check whether --enable-libctf-hash-debugging was given.
14546 if test "${enable_libctf_hash_debugging+set}" = set; then :
14547 enableval
=$enable_libctf_hash_debugging;
14548 case "$enableval" in
14550 *) as_fn_error $?
"Argument to enable/disable libctf-hash-debugging must be yes or no" "$LINENO" 5 ;;
14554 enable_libctf_hash_debugging
=no
14558 if test "${enable_libctf_hash_debugging}" = yes; then
14560 $as_echo "#define ENABLE_LIBCTF_HASH_DEBUGGING 1" >>confdefs.h
14563 if test "${enable_libctf_hash_debugging}" = yes; then
14564 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
=
14565 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
='#'
14567 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
='#'
14568 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
=
14572 # Similar to GDB_AC_CHECK_BFD.
14574 OLD_LDFLAGS
=$LDFLAGS
14577 # Put the old CFLAGS/LDFLAGS last, in case the user's (C|LD)FLAGS
14578 # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We
14579 # always want our bfd.
14580 CC
="./libtool --quiet --mode=link $OLD_CC"
14581 CFLAGS
="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
14582 ZLIBDIR
=`echo $zlibdir | sed 's,\$(top_builddir)/,,g'`
14583 LDFLAGS
="-L../bfd -L../libiberty $ZLIBDIR $LDFLAGS"
14584 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
14585 LIBS
="-lbfd -liberty -lz $ZSTD_LIBS $intl $LIBS"
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5
14587 $as_echo_n "checking for ELF support in BFD... " >&6; }
14588 if ${ac_cv_libctf_bfd_elf+:} false
; then :
14589 $as_echo_n "(cached) " >&6
14591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14593 #include <stdlib.h>
14594 #include <string.h>
14596 #include "elf-bfd.h"
14600 (void) bfd_section_from_elf_index (NULL, 0);
14606 if ac_fn_c_try_link
"$LINENO"; then :
14607 ac_cv_libctf_bfd_elf
=yes
14609 ac_cv_libctf_bfd_elf
=no
14611 rm -f core conftest.err conftest.
$ac_objext \
14612 conftest
$ac_exeext conftest.
$ac_ext
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_bfd_elf" >&5
14615 $as_echo "$ac_cv_libctf_bfd_elf" >&6; }
14617 LDFLAGS
=$OLD_LDFLAGS
14621 if test $ac_cv_libctf_bfd_elf = yes; then
14623 $as_echo "#define HAVE_BFD_ELF 1" >>confdefs.h
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14628 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14629 if ${ac_cv_c_bigendian+:} false
; then :
14630 $as_echo_n "(cached) " >&6
14632 ac_cv_c_bigendian
=unknown
14633 # See if we're dealing with a universal compiler.
14634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14636 #ifndef __APPLE_CC__
14637 not a universal capable compiler
14642 if ac_fn_c_try_compile
"$LINENO"; then :
14644 # Check for potential -arch flags. It is not universal unless
14645 # there are at least two -arch flags with different values.
14648 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14649 if test -n "$ac_prev"; then
14651 i?
86 | x86_64 | ppc | ppc64
)
14652 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14655 ac_cv_c_bigendian
=universal
14661 elif test "x$ac_word" = "x-arch"; then
14666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14667 if test $ac_cv_c_bigendian = unknown
; then
14668 # See if sys/param.h defines the BYTE_ORDER macro.
14669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14671 #include <sys/types.h>
14672 #include <sys/param.h>
14677 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14678 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14680 bogus endian macros
14687 if ac_fn_c_try_compile
"$LINENO"; then :
14688 # It does; now see whether it defined to BIG_ENDIAN or not.
14689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14690 /* end confdefs.h. */
14691 #include <sys/types.h>
14692 #include <sys/param.h>
14697 #if BYTE_ORDER != BIG_ENDIAN
14705 if ac_fn_c_try_compile
"$LINENO"; then :
14706 ac_cv_c_bigendian
=yes
14708 ac_cv_c_bigendian
=no
14710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14714 if test $ac_cv_c_bigendian = unknown
; then
14715 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14718 #include <limits.h>
14723 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14724 bogus endian macros
14731 if ac_fn_c_try_compile
"$LINENO"; then :
14732 # It does; now see whether it defined to _BIG_ENDIAN or not.
14733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14734 /* end confdefs.h. */
14735 #include <limits.h>
14740 #ifndef _BIG_ENDIAN
14748 if ac_fn_c_try_compile
"$LINENO"; then :
14749 ac_cv_c_bigendian
=yes
14751 ac_cv_c_bigendian
=no
14753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14757 if test $ac_cv_c_bigendian = unknown
; then
14758 # Compile a test program.
14759 if test "$cross_compiling" = yes; then :
14760 # Try to guess by grepping values from an object file.
14761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14763 short int ascii_mm[] =
14764 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14765 short int ascii_ii[] =
14766 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14767 int use_ascii (int i) {
14768 return ascii_mm[i] + ascii_ii[i];
14770 short int ebcdic_ii[] =
14771 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14772 short int ebcdic_mm[] =
14773 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14774 int use_ebcdic (int i) {
14775 return ebcdic_mm[i] + ebcdic_ii[i];
14782 return use_ascii (foo) == use_ebcdic (foo);
14787 if ac_fn_c_try_compile
"$LINENO"; then :
14788 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14789 ac_cv_c_bigendian
=yes
14791 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14792 if test "$ac_cv_c_bigendian" = unknown
; then
14793 ac_cv_c_bigendian
=no
14795 # finding both strings is unlikely to happen, but who knows?
14796 ac_cv_c_bigendian
=unknown
14800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14804 $ac_includes_default
14809 /* Are we little or big endian? From Harbison&Steele. */
14813 char c[sizeof (long int)];
14816 return u.c[sizeof (long int) - 1] == 1;
14822 if ac_fn_c_try_run
"$LINENO"; then :
14823 ac_cv_c_bigendian
=no
14825 ac_cv_c_bigendian
=yes
14827 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14828 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14834 $as_echo "$ac_cv_c_bigendian" >&6; }
14835 case $ac_cv_c_bigendian in #(
14837 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14843 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14847 as_fn_error $?
"unknown endianness
14848 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14851 for ac_header
in byteswap.h endian.h
14853 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14854 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14855 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14856 cat >>confdefs.h
<<_ACEOF
14857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14864 for ac_func
in pread
14866 ac_fn_c_check_func
"$LINENO" "pread" "ac_cv_func_pread"
14867 if test "x$ac_cv_func_pread" = xyes
; then :
14868 cat >>confdefs.h
<<_ACEOF
14869 #define HAVE_PREAD 1
14876 ac_fn_c_check_decl
"$LINENO" "bswap_16" "ac_cv_have_decl_bswap_16" "#include <byteswap.h>
14878 if test "x$ac_cv_have_decl_bswap_16" = xyes
; then :
14884 cat >>confdefs.h
<<_ACEOF
14885 #define HAVE_DECL_BSWAP_16 $ac_have_decl
14887 ac_fn_c_check_decl
"$LINENO" "bswap_32" "ac_cv_have_decl_bswap_32" "#include <byteswap.h>
14889 if test "x$ac_cv_have_decl_bswap_32" = xyes
; then :
14895 cat >>confdefs.h
<<_ACEOF
14896 #define HAVE_DECL_BSWAP_32 $ac_have_decl
14898 ac_fn_c_check_decl
"$LINENO" "bswap_64" "ac_cv_have_decl_bswap_64" "#include <byteswap.h>
14900 if test "x$ac_cv_have_decl_bswap_64" = xyes
; then :
14906 cat >>confdefs.h
<<_ACEOF
14907 #define HAVE_DECL_BSWAP_64 $ac_have_decl
14910 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
14911 if test "x$ac_cv_have_decl_asprintf" = xyes
; then :
14917 cat >>confdefs.h
<<_ACEOF
14918 #define HAVE_DECL_ASPRINTF $ac_have_decl
14920 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
14921 if test "x$ac_cv_have_decl_vasprintf" = xyes
; then :
14927 cat >>confdefs.h
<<_ACEOF
14928 #define HAVE_DECL_VASPRINTF $ac_have_decl
14930 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
14931 if test "x$ac_cv_have_decl_stpcpy" = xyes
; then :
14937 cat >>confdefs.h
<<_ACEOF
14938 #define HAVE_DECL_STPCPY $ac_have_decl
14945 for ac_func
in $ac_func_list
14947 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14948 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14949 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14950 cat >>confdefs.h
<<_ACEOF
14951 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14960 if test $ac_cv_func_qsort_r = yes; then
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qsort_r signature" >&5
14962 $as_echo_n "checking for qsort_r signature... " >&6; }
14963 if ${ac_cv_libctf_qsort_r_signature+:} false
; then :
14964 $as_echo_n "(cached) " >&6
14966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14969 #include <stdlib.h>
14970 void qsort_r (void *, size_t, size_t,
14971 int (*) (void const *, void const *,
14974 void (*p) (void *, size_t, size_t,
14975 int (*) (void const *, void const *,
14987 if ac_fn_c_try_link
"$LINENO"; then :
14988 ac_cv_libctf_qsort_r_signature
=GNU
14990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14993 #include <stdlib.h>
14994 void qsort_r (void *, size_t, size_t, void *,
14998 void (*p) (void *, size_t, size_t, void *,
14999 int (*) (void *, void const *,
15000 void const *)) = qsort_r;
15010 if ac_fn_c_try_link
"$LINENO"; then :
15011 ac_cv_libctf_qsort_r_signature
=BSD
15013 ac_cv_libctf_qsort_r_signature
=unknown
15015 rm -f core conftest.err conftest.
$ac_objext \
15016 conftest
$ac_exeext conftest.
$ac_ext
15018 rm -f core conftest.err conftest.
$ac_objext \
15019 conftest
$ac_exeext conftest.
$ac_ext
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_qsort_r_signature" >&5
15022 $as_echo "$ac_cv_libctf_qsort_r_signature" >&6; }
15025 case x
$ac_cv_libctf_qsort_r_signature in
15027 $as_echo "#define HAVE_QSORT_R_ARG_LAST 1" >>confdefs.h
15030 $as_echo "#define HAVE_QSORT_R_COMPAR_LAST 1" >>confdefs.h
15032 *) ac_cv_libctf_qsort_r_signature
=unknown
;;
15035 if test "${ac_cv_libctf_qsort_r_signature}" = unknown
; then
15036 NEED_CTF_QSORT_R_TRUE
=
15037 NEED_CTF_QSORT_R_FALSE
='#'
15039 NEED_CTF_QSORT_R_TRUE
='#'
15040 NEED_CTF_QSORT_R_FALSE
=
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
15045 $as_echo_n "checking for O_CLOEXEC... " >&6; }
15046 if ${ac_cv_libctf_macro_O_CLOEXEC+:} false
; then :
15047 $as_echo_n "(cached) " >&6
15049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15064 if ac_fn_c_try_link
"$LINENO"; then :
15065 ac_cv_libctf_macro_O_CLOEXEC
=yes
15067 ac_cv_libctf_macro_O_CLOEXEC
=no
15069 rm -f core conftest.err conftest.
$ac_objext \
15070 conftest
$ac_exeext conftest.
$ac_ext
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_macro_O_CLOEXEC" >&5
15073 $as_echo "$ac_cv_libctf_macro_O_CLOEXEC" >&6; }
15075 if test $ac_cv_libctf_macro_O_CLOEXEC = yes; then
15077 $as_echo "#define HAVE_O_CLOEXEC 1" >>confdefs.h
15083 for ac_prog
in makeinfo
15085 # Extract the first word of "$ac_prog", so it can be a program name with args.
15086 set dummy
$ac_prog; ac_word
=$2
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15088 $as_echo_n "checking for $ac_word... " >&6; }
15089 if ${ac_cv_prog_MAKEINFO+:} false
; then :
15090 $as_echo_n "(cached) " >&6
15092 if test -n "$MAKEINFO"; then
15093 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
15095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15096 for as_dir
in $PATH
15099 test -z "$as_dir" && as_dir
=.
15100 for ac_exec_ext
in '' $ac_executable_extensions; do
15101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15102 ac_cv_prog_MAKEINFO
="$ac_prog"
15103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15112 MAKEINFO
=$ac_cv_prog_MAKEINFO
15113 if test -n "$MAKEINFO"; then
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
15115 $as_echo "$MAKEINFO" >&6; }
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15118 $as_echo "no" >&6; }
15122 test -n "$MAKEINFO" && break
15124 test -n "$MAKEINFO" || MAKEINFO
="$MISSING makeinfo"
15126 case " $build_configdirs " in
15127 *" texinfo "*) MAKEINFO
='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
15130 # We require texinfo to be 6.3 or later, for a working synindex
15131 # and validatemenus: otherwise we fall back to /bin/true.
15132 if ${MAKEINFO} --version \
15133 |
egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9][0-9])' >/dev
/null
2>&1; then
15140 if test -n "$makeinfo_too_old"; then
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15142 *** Makeinfo is too old. Info documentation will not be built." >&5
15143 $as_echo "$as_me: WARNING:
15144 *** Makeinfo is too old. Info documentation will not be built." >&2;}
15147 if test "${build_info}" = yes; then
15149 BUILD_INFO_FALSE
='#'
15151 BUILD_INFO_TRUE
='#'
15156 CTF_LIBADD
="-L`pwd`/../libiberty -liberty"
15159 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
15160 if test "$enable_shared" = "yes"; then
15161 # When building a shared libctf, link against the pic version of libiberty
15162 # so that apps that use libctf won't need libiberty just to satisfy any
15163 # libctf references. We can't do that if a pic libiberty is unavailable
15164 # since including non-pic # code would insert text relocations into libctf.
15165 # Note that linking against libbfd as we do here, which is itself linked
15166 # against libiberty, may not satisfy all the libctf libiberty references
15167 # since libbfd may not pull in the entirety of libiberty.
15168 # Also, jam libintl into the right place in all of this: after libiberty,
15169 # which uses it, but before -lcygwin, which it uses.
15170 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
15171 if test -n "$x"; then
15172 CTF_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
15176 CTF_LIBADD
="$CTF_LIBADD $LIBINTL"
15178 if test "$enable_shared" = "yes"; then
15180 # More hacks to build DLLs on Windows.
15182 SHARED_LDFLAGS
="-no-undefined"
15183 CTF_LIBADD
="$CTF_LIBADD -lcygwin"
15190 # Extract the first word of "expect", so it can be a program name with args.
15191 set dummy expect
; ac_word
=$2
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15193 $as_echo_n "checking for $ac_word... " >&6; }
15194 if ${ac_cv_path_EXPECT+:} false
; then :
15195 $as_echo_n "(cached) " >&6
15199 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
15202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15203 for as_dir
in $PATH
15206 test -z "$as_dir" && as_dir
=.
15207 for ac_exec_ext
in '' $ac_executable_extensions; do
15208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15209 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
15210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15220 EXPECT
=$ac_cv_path_EXPECT
15221 if test -n "$EXPECT"; then
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
15223 $as_echo "$EXPECT" >&6; }
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15226 $as_echo "no" >&6; }
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl supporting try/catch" >&5
15231 $as_echo_n "checking for Tcl supporting try/catch... " >&6; }
15232 if ${ac_cv_libctf_tcl_try+:} false
; then :
15233 $as_echo_n "(cached) " >&6
15235 ac_cv_libctf_tcl_try
=`if test -z $EXPECT; then echo no; else $EXPECT << EOF
15236 if [llength [info commands try]] then { puts yes } else { puts no }
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_tcl_try" >&5
15242 $as_echo "$ac_cv_libctf_tcl_try" >&6; }
15243 if test "${ac_cv_libctf_tcl_try}" = yes; then
15252 # Use a version script, if possible, or an -export-symbols-regex otherwise.
15253 decommented_version_script
=
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker versioning flags" >&5
15255 $as_echo_n "checking for linker versioning flags... " >&6; }
15256 if ${ac_cv_libctf_version_script+:} false
; then :
15257 $as_echo_n "(cached) " >&6
15259 echo 'FOO { global: mai*; local: ctf_fo*; };' > conftest.ver
15260 old_LDFLAGS
="$LDFLAGS"
15261 old_CFLAGS
="$CFLAGS"
15262 LDFLAGS
="$LDFLAGS -shared -Wl,--version-script=conftest.ver"
15263 CFLAGS
="$CFLAGS -fPIC"
15264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15266 int ctf_foo (void) { return 0; }
15267 int main (void) { return ctf_foo(); }
15269 if ac_fn_c_try_link
"$LINENO"; then :
15270 ac_cv_libctf_version_script
="-Wl,--version-script='$srcdir/libctf.ver'"
15272 rm -f core conftest.err conftest.
$ac_objext \
15273 conftest
$ac_exeext conftest.
$ac_ext
15274 LDFLAGS
="$old_LDFLAGS"
15276 if test -z "$ac_cv_libctf_version_script"; then
15277 LDFLAGS
="$LDFLAGS -shared -Wl,-B,local -Wl,-z,gnu-version-script=conftest.ver"
15278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15280 int ctf_foo (void) { return 0; }
15281 int main (void) { return ctf_foo(); }
15283 if ac_fn_c_try_link
"$LINENO"; then :
15284 ac_cv_libctf_version_script
="-Wl,-B,local -Wl,-z,gnu-version-script"
15285 decommented_version_script
=t
15287 rm -f core conftest.err conftest.
$ac_objext \
15288 conftest
$ac_exeext conftest.
$ac_ext
15289 LDFLAGS
="$old_LDFLAGS"
15291 CFLAGS
="$old_CFLAGS"
15293 if test -z "$ac_cv_libctf_version_script"; then
15294 ac_cv_libctf_version_script
='-export-symbols-regex ctf_.*'
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_version_script" >&5
15299 $as_echo "$ac_cv_libctf_version_script" >&6; }
15300 if test -n "$decommented_version_script"; then
15301 # Solaris's version scripts use shell-style comments rather than the C-style
15302 # used by GNU ld. Use cpp to strip the comments out. (cpp exists under this
15303 # name on all platforms that support ld -z gnu-version-script.)
15304 # Also ensure that no symbols exist in the version script for libctf-nobfd.so
15305 # that do not exist in the shared library itself, since some linkers add such
15306 # symbols with type NOTYPE.
15307 /lib
/cpp
< $srcdir/libctf.ver
> libctf-decommented.ver
15308 grep -v 'libctf only' $srcdir/libctf.ver |
/lib
/cpp
> libctf-nobfd-decommented.ver
15309 VERSION_FLAGS
="$ac_cv_libctf_version_script='libctf-decommented.ver'"
15310 VERSION_FLAGS_NOBFD
="$ac_cv_libctf_version_script='libctf-nobfd-decommented.ver'"
15312 VERSION_FLAGS
="$ac_cv_libctf_version_script"
15313 VERSION_FLAGS_NOBFD
="$ac_cv_libctf_version_script"
15318 ac_config_files
="$ac_config_files Makefile"
15320 ac_config_headers
="$ac_config_headers config.h"
15322 cat >confcache
<<\_ACEOF
15323 # This file is a shell script that caches the results of configure
15324 # tests run on this system so they can be shared between configure
15325 # scripts and configure runs, see configure's option --config-cache.
15326 # It is not useful on other systems. If it contains results you don't
15327 # want to keep, you may remove or edit it.
15329 # config.status only pays attention to the cache file if you give it
15330 # the --recheck option to rerun configure.
15332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15334 # following values.
15338 # The following way of writing the cache mishandles newlines in values,
15339 # but we know of no workaround that is simple, portable, and efficient.
15340 # So, we kill variables containing newlines.
15341 # Ultrix sh set writes to stderr and can't be redirected directly,
15342 # and sets the high bit in the cache file unless we assign to the vars.
15344 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15345 eval ac_val
=\$
$ac_var
15349 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15350 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15353 _ | IFS | as_nl
) ;; #(
15354 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15355 *) { eval $ac_var=; unset $ac_var;} ;;
15361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15362 *${as_nl}ac_space
=\
*)
15363 # `set' does not quote correctly, so add quotes: double-quote
15364 # substitution turns \\\\ into \\, and sed turns \\ into \.
15367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15370 # `set' quotes correctly as required by POSIX, so do not add quotes.
15371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15384 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15385 if test -w "$cache_file"; then
15386 if test "x$cache_file" != "x/dev/null"; then
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15388 $as_echo "$as_me: updating cache $cache_file" >&6;}
15389 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15390 cat confcache
>"$cache_file"
15392 case $cache_file in #(
15394 mv -f confcache
"$cache_file"$$
&&
15395 mv -f "$cache_file"$$
"$cache_file" ;; #(
15397 mv -f confcache
"$cache_file" ;;
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15403 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15408 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15409 # Let make expand exec_prefix.
15410 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15412 DEFS
=-DHAVE_CONFIG_H
15417 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15418 # 1. Remove the extension, and $U if already installed.
15419 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15420 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15421 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15422 # will be set to the directory where LIBOBJS objects are built.
15423 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15424 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15426 LIBOBJS
=$ac_libobjs
15428 LTLIBOBJS
=$ac_ltlibobjs
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15432 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15433 if test -n "$am_sleep_pid"; then
15434 # Hide warnings about reused PIDs.
15435 wait $am_sleep_pid 2>/dev
/null
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15438 $as_echo "done" >&6; }
15439 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15440 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15443 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15444 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15447 if test -n "$EXEEXT"; then
15449 am__EXEEXT_FALSE
='#'
15451 am__EXEEXT_TRUE
='#'
15455 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15456 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15459 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
15460 as_fn_error $?
"conditional \"INSTALL_LIBBFD\" was never defined.
15461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15463 if test -z "${ENABLE_LIBCTF_HASH_DEBUGGING_TRUE}" && test -z "${ENABLE_LIBCTF_HASH_DEBUGGING_FALSE}"; then
15464 as_fn_error $?
"conditional \"ENABLE_LIBCTF_HASH_DEBUGGING\" was never defined.
15465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15468 if test -z "${NEED_CTF_QSORT_R_TRUE}" && test -z "${NEED_CTF_QSORT_R_FALSE}"; then
15469 as_fn_error $?
"conditional \"NEED_CTF_QSORT_R\" was never defined.
15470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15472 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
15473 as_fn_error $?
"conditional \"BUILD_INFO\" was never defined.
15474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15476 if test -z "${TCL_TRY_TRUE}" && test -z "${TCL_TRY_FALSE}"; then
15477 as_fn_error $?
"conditional \"TCL_TRY\" was never defined.
15478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15481 : "${CONFIG_STATUS=./config.status}"
15483 ac_clean_files_save
=$ac_clean_files
15484 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15486 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15488 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15490 # Generated by $as_me.
15491 # Run this file to recreate the current configuration.
15492 # Compiler output produced by configure, useful for debugging
15493 # configure, is in config.log if it exists.
15496 ac_cs_recheck=false
15499 SHELL=\${CONFIG_SHELL-$SHELL}
15502 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15503 ## -------------------- ##
15504 ## M4sh Initialization. ##
15505 ## -------------------- ##
15507 # Be more Bourne compatible
15508 DUALCASE
=1; export DUALCASE
# for MKS sh
15509 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15512 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15513 # is contrary to our usage. Disable this feature.
15514 alias -g '${1+"$@"}'='"$@"'
15515 setopt NO_GLOB_SUBST
15517 case `(set -o) 2>/dev/null` in #(
15529 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15530 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15531 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15532 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15533 # Prefer a ksh shell builtin over an external printf program on Solaris,
15534 # but without wasting forks for bash or zsh.
15535 if test -z "$BASH_VERSION$ZSH_VERSION" \
15536 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15537 as_echo='print
-r --'
15538 as_echo_n='print
-rn --'
15539 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15540 as_echo='printf %s
\n'
15541 as_echo_n='printf %s
'
15543 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15544 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15545 as_echo_n='/usr
/ucb
/echo -n'
15547 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15548 as_echo_n_body='eval
15552 expr "X$arg" : "X\\(.*\\)$as_nl";
15553 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15555 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15557 export as_echo_n_body
15558 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15560 export as_echo_body
15561 as_echo='sh
-c $as_echo_body as_echo
'
15564 # The user is always right.
15565 if test "${PATH_SEPARATOR+set}" != set; then
15567 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15568 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15575 # We need space, tab and new line, in precisely that order. Quoting is
15576 # there to prevent editors from complaining about space-tab.
15577 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15578 # splitting by setting IFS to empty value.)
15581 # Find who we are. Look in the path if we contain no directory separator.
15584 *[\\/]* ) as_myself=$0 ;;
15585 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15586 for as_dir in $PATH
15589 test -z "$as_dir" && as_dir=.
15590 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15596 # We did not find ourselves, most probably we were run as `sh COMMAND'
15597 # in which case we are not to be found in the path.
15598 if test "x$as_myself" = x
; then
15601 if test ! -f "$as_myself"; then
15602 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15606 # Unset variables that we do not need and which cause bugs (e.g. in
15607 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15608 # suppresses any "Segmentation fault" message there. '((' could
15609 # trigger a bug in pdksh 5.2.14.
15610 for as_var
in BASH_ENV ENV MAIL MAILPATH
15611 do eval test x\
${$as_var+set} = xset \
15612 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15625 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15628 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15629 # ----------------------------------------
15630 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15631 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15632 # script with STATUS, using 1 if that was 0.
15635 as_status
=$1; test $as_status -eq 0 && as_status
=1
15637 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15638 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15640 $as_echo "$as_me: error: $2" >&2
15641 as_fn_exit
$as_status
15645 # as_fn_set_status STATUS
15646 # -----------------------
15647 # Set $? to STATUS, without forking.
15648 as_fn_set_status
()
15651 } # as_fn_set_status
15653 # as_fn_exit STATUS
15654 # -----------------
15655 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15659 as_fn_set_status
$1
15665 # Portably unset VAR.
15668 { eval $1=; unset $1;}
15670 as_unset
=as_fn_unset
15671 # as_fn_append VAR VALUE
15672 # ----------------------
15673 # Append the text in VALUE to the end of the definition contained in VAR. Take
15674 # advantage of any shell optimizations that allow amortized linear growth over
15675 # repeated appends, instead of the typical quadratic growth present in naive
15677 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15678 eval 'as_fn_append ()
15689 # as_fn_arith ARG...
15690 # ------------------
15691 # Perform arithmetic evaluation on the ARGs, and store the result in the
15692 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15693 # must be portable across $(()) and expr.
15694 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15695 eval 'as_fn_arith ()
15702 as_val
=`expr "$@" || test $? -eq 1`
15707 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15708 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15714 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15715 as_basename
=basename
15720 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15726 as_me
=`$as_basename -- "$0" ||
15727 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15728 X"$0" : 'X\(//\)$' \| \
15729 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15731 sed '/^.*\/\([^/][^/]*\)\/*$/{
15745 # Avoid depending upon Character Ranges.
15746 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15747 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15748 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15749 as_cr_digits
='0123456789'
15750 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15752 ECHO_C
= ECHO_N
= ECHO_T
=
15753 case `echo -n x` in #(((((
15755 case `echo 'xy\c'` in
15756 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15758 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15765 rm -f conf$$ conf$$.exe conf$$.
file
15766 if test -d conf$$.dir
; then
15767 rm -f conf$$.dir
/conf$$.
file
15770 mkdir conf$$.dir
2>/dev
/null
15772 if (echo >conf$$.
file) 2>/dev
/null
; then
15773 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15775 # ... but there are two gotchas:
15776 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15777 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15778 # In both cases, we have to default to `cp -pR'.
15779 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15781 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15789 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15790 rmdir conf$$.dir
2>/dev
/null
15795 # Create "$as_dir" as a directory, including parents if necessary.
15800 -*) as_dir
=.
/$as_dir;;
15802 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15806 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15807 *) as_qdir
=$as_dir;;
15809 as_dirs
="'$as_qdir' $as_dirs"
15810 as_dir
=`$as_dirname -- "$as_dir" ||
15811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15812 X"$as_dir" : 'X\(//\)[^/]' \| \
15813 X"$as_dir" : 'X\(//\)$' \| \
15814 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15815 $as_echo X"$as_dir" |
15816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15820 /^X\(\/\/\)[^/].*/{
15833 test -d "$as_dir" && break
15835 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15836 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15840 if mkdir
-p .
2>/dev
/null
; then
15841 as_mkdir_p
='mkdir -p "$as_dir"'
15843 test -d .
/-p && rmdir .
/-p
15848 # as_fn_executable_p FILE
15849 # -----------------------
15850 # Test if FILE is an executable regular file.
15851 as_fn_executable_p
()
15853 test -f "$1" && test -x "$1"
15854 } # as_fn_executable_p
15855 as_test_x
='test -x'
15856 as_executable_p
=as_fn_executable_p
15858 # Sed expression to map a string onto a valid CPP name.
15859 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15861 # Sed expression to map a string onto a valid variable name.
15862 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15866 ## ----------------------------------- ##
15867 ## Main body of $CONFIG_STATUS script. ##
15868 ## ----------------------------------- ##
15870 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15873 # Save the log message, to keep $0 and so on meaningful, and to
15874 # report actual input values of CONFIG_FILES etc. instead of their
15875 # values after options handling.
15877 This file was extended by libctf $as_me 1.2.0, which was
15878 generated by GNU Autoconf 2.69. Invocation command line was
15880 CONFIG_FILES = $CONFIG_FILES
15881 CONFIG_HEADERS = $CONFIG_HEADERS
15882 CONFIG_LINKS = $CONFIG_LINKS
15883 CONFIG_COMMANDS = $CONFIG_COMMANDS
15886 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15891 case $ac_config_files in *"
15892 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15895 case $ac_config_headers in *"
15896 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15901 # Files that config.status was made for.
15902 config_files="$ac_config_files"
15903 config_headers="$ac_config_headers"
15904 config_commands="$ac_config_commands"
15908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15910 \`$as_me' instantiates files and other configuration actions
15911 from templates according to the current configuration. Unless the files
15912 and actions are specified as TAGs, all are instantiated by default.
15914 Usage: $0 [OPTION]... [TAG]...
15916 -h, --help print this help, then exit
15917 -V, --version print version number and configuration settings, then exit
15918 --config print configuration, then exit
15919 -q, --quiet, --silent
15920 do not print progress messages
15921 -d, --debug don't remove temporary files
15922 --recheck update $as_me by reconfiguring in the same conditions
15923 --file=FILE[:TEMPLATE]
15924 instantiate the configuration file FILE
15925 --header=FILE[:TEMPLATE]
15926 instantiate the configuration header FILE
15928 Configuration files:
15931 Configuration headers:
15934 Configuration commands:
15937 Report bugs to the package provider."
15940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15941 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15943 libctf config.status 1.2.0
15944 configured by $0, generated by GNU Autoconf 2.69,
15945 with options \\"\$ac_cs_config\\"
15947 Copyright (C) 2012 Free Software Foundation, Inc.
15948 This config.status script is free software; the Free Software Foundation
15949 gives unlimited permission to copy, distribute and modify it."
15956 test -n "\$AWK" || AWK=awk
15959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15960 # The default lists apply if the user does not specify any file.
15966 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15967 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15971 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15983 # Handling of the options.
15984 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15986 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15987 $as_echo "$ac_cs_version"; exit ;;
15988 --config |
--confi |
--conf |
--con |
--co |
--c )
15989 $as_echo "$ac_cs_config"; exit ;;
15990 --debug |
--debu |
--deb |
--de |
--d |
-d )
15992 --file |
--fil |
--fi |
--f )
15995 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15996 '') as_fn_error $?
"missing file argument" ;;
15998 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15999 ac_need_defaults
=false
;;
16000 --header |
--heade |
--head |
--hea )
16003 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16005 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16006 ac_need_defaults
=false
;;
16008 # Conflict between --help and --header
16009 as_fn_error $?
"ambiguous option: \`$1'
16010 Try \`$0 --help' for more information.";;
16011 --help |
--hel |
-h )
16012 $as_echo "$ac_cs_usage"; exit ;;
16013 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16014 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16017 # This is an error.
16018 -*) as_fn_error $?
"unrecognized option: \`$1'
16019 Try \`$0 --help' for more information." ;;
16021 *) as_fn_append ac_config_targets
" $1"
16022 ac_need_defaults
=false
;;
16028 ac_configure_extra_args
=
16030 if $ac_cs_silent; then
16032 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16037 if \$ac_cs_recheck; then
16038 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16040 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16041 CONFIG_SHELL='$SHELL'
16042 export CONFIG_SHELL
16047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16051 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16052 ## Running $as_me. ##
16058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16062 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16065 # The HP-UX ksh and POSIX shell print the target directory to stdout
16066 # if CDPATH is set.
16067 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16069 sed_quote_subst='$sed_quote_subst'
16070 double_quote_subst='$double_quote_subst'
16071 delay_variable_subst='$delay_variable_subst'
16072 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16073 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16074 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16075 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16076 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16077 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16078 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16079 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16080 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16081 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16082 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16083 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16084 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16085 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16086 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16087 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16088 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16089 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16090 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16091 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16092 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16093 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16094 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16095 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16096 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16097 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16098 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16099 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16100 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16101 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16102 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16103 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16104 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16105 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16106 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16107 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16108 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16109 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16110 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16111 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16112 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16113 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16114 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16115 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16116 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16117 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16118 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16119 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16120 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"`'
16121 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16122 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16123 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16124 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16125 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16126 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16127 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16128 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16129 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16130 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16131 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16132 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16133 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16134 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16135 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16136 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16137 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16138 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16139 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16140 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16141 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16142 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16143 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16144 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16145 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16146 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16147 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16148 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16149 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16150 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16151 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16152 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16153 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16154 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16155 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16156 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16157 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16158 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16159 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16160 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16161 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16162 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16163 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16164 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16165 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16166 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16167 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16168 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16169 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16170 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16171 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16172 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16173 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16174 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16175 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16176 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16177 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16178 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16179 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16180 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16181 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16182 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16183 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16184 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16185 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16186 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16187 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16188 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16189 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16190 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16191 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16194 LTCFLAGS='$LTCFLAGS'
16195 compiler='$compiler_DEFAULT'
16197 # A function that is used when there is no print builtin or printf.
16198 func_fallback_echo ()
16200 eval 'cat <<_LTECHO_EOF
16205 # Quote evaled strings.
16219 deplibs_check_method \
16228 lt_cv_sys_global_symbol_pipe \
16229 lt_cv_sys_global_symbol_to_cdecl \
16230 lt_cv_sys_global_symbol_to_c_name_address \
16231 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16232 lt_prog_compiler_no_builtin_flag \
16233 lt_prog_compiler_wl \
16234 lt_prog_compiler_pic \
16235 lt_prog_compiler_static \
16236 lt_cv_prog_compiler_c_o \
16244 export_dynamic_flag_spec \
16245 whole_archive_flag_spec \
16246 compiler_needs_object \
16248 allow_undefined_flag \
16249 no_undefined_flag \
16250 hardcode_libdir_flag_spec \
16251 hardcode_libdir_flag_spec_ld \
16252 hardcode_libdir_separator \
16257 variables_saved_for_relink \
16259 library_names_spec \
16261 install_override_mode \
16265 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16266 *[\\\\\\\`\\"\\\$]*)
16267 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16270 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16275 # Double-quote double-evaled strings.
16276 for var in reload_cmds \
16277 old_postinstall_cmds \
16278 old_postuninstall_cmds \
16280 extract_expsyms_cmds \
16281 old_archive_from_new_cmds \
16282 old_archive_from_expsyms_cmds \
16284 archive_expsym_cmds \
16286 module_expsym_cmds \
16287 export_symbols_cmds \
16290 postuninstall_cmds \
16292 sys_lib_search_path_spec \
16293 sys_lib_dlsearch_path_spec; do
16294 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16295 *[\\\\\\\`\\"\\\$]*)
16296 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16299 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16304 ac_aux_dir='$ac_aux_dir'
16305 xsi_shell='$xsi_shell'
16306 lt_shell_append='$lt_shell_append'
16308 # See if we are running on zsh, and set the options which allow our
16309 # commands through without removal of \ escapes INIT.
16310 if test -n "\${ZSH_VERSION+set}" ; then
16311 setopt NO_GLOB_SUBST
16317 TIMESTAMP='$TIMESTAMP'
16321 ac_aux_dir='$ac_aux_dir'
16327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16329 # Handling of arguments.
16330 for ac_config_target
in $ac_config_targets
16332 case $ac_config_target in
16333 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16334 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16335 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16336 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16338 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16343 # If the user did not use the arguments to specify the items to instantiate,
16344 # then the envvar interface is used. Set only those that are not.
16345 # We use the long form for the default assignment because of an extremely
16346 # bizarre bug on SunOS 4.1.3.
16347 if $ac_need_defaults; then
16348 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16349 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16350 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16353 # Have a temporary directory for convenience. Make it in the build tree
16354 # simply because there is no reason against having it here, and in addition,
16355 # creating and moving files from /tmp can sometimes cause problems.
16356 # Hook for its removal unless debugging.
16357 # Note that there is a small window in which the directory will not be cleaned:
16358 # after its creation but before its name has been assigned to `$tmp'.
16362 trap 'exit_status=$?
16363 : "${ac_tmp:=$tmp}"
16364 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16366 trap 'as_fn_exit 1' 1 2 13 15
16368 # Create a (secure) tmp directory for tmp files.
16371 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16375 tmp
=.
/conf$$
-$RANDOM
16376 (umask 077 && mkdir
"$tmp")
16377 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16380 # Set up the scripts for CONFIG_FILES section.
16381 # No need to generate them if there are no CONFIG_FILES.
16382 # This happens for instance with `./config.status config.h'.
16383 if test -n "$CONFIG_FILES"; then
16386 ac_cr
=`echo X | tr X '\015'`
16387 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16388 # But we know of no other shell where ac_cr would be empty at this
16389 # point, so we can use a bashism as a fallback.
16390 if test "x$ac_cr" = x
; then
16391 eval ac_cr
=\$
\'\\r
\'
16393 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16394 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16397 ac_cs_awk_cr
=$ac_cr
16400 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16405 echo "cat >conf$$subs.awk <<_ACEOF" &&
16406 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16408 } >conf$$subs.sh ||
16409 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16410 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16412 for ac_last_try in false false false false false :; do
16413 . ./conf$$subs.sh ||
16414 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16416 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16417 if test $ac_delim_n = $ac_delim_num; then
16419 elif $ac_last_try; then
16420 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16422 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16425 rm -f conf$$subs.sh
16427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16428 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16432 s/^/S["/; s
/!.
*/"]=/
16442 s/\(.\{148\}\)..*/\1/
16444 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16449 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16456 s/\(.\{148\}\)..*/\1/
16458 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16462 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16467 ' <conf$$subs.awk | sed '
16472 ' >>$CONFIG_STATUS || ac_write_fail=1
16473 rm -f conf$$subs.awk
16474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16476 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16477 for (key in S) S_is_set[key] = 1
16483 nfields = split(line, field, "@
")
16485 len = length(field[1])
16486 for (i = 2; i < nfields; i++) {
16488 keylen = length(key)
16489 if (S_is_set[key]) {
16491 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16492 len += length(value) + length(field[++i])
16503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16504 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16505 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16508 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16509 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16512 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16513 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16514 # trailing colons and then remove the whole line if VPATH becomes empty
16515 # (actually we leave an empty line to preserve line numbers).
16516 if test "x
$srcdir" = x.; then
16517 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16536 fi # test -n "$CONFIG_FILES"
16538 # Set up the scripts for CONFIG_HEADERS section.
16539 # No need to generate them if there are no CONFIG_HEADERS.
16540 # This happens for instance with `./config.status Makefile'.
16541 if test -n "$CONFIG_HEADERS"; then
16542 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16546 # Transform confdefs.h into an awk script `defines.awk', embedded as
16547 # here-document in config.status, that substitutes the proper values into
16548 # config.h.in to produce config.h.
16550 # Create a delimiter string that does not exist in confdefs.h, to ease
16551 # handling of long lines.
16553 for ac_last_try in false false :; do
16554 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16555 if test -z "$ac_tt"; then
16557 elif $ac_last_try; then
16558 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16560 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16564 # For the awk script, D is an array of macro values keyed by name,
16565 # likewise P contains macro parameters if any. Preserve backslash
16566 # newline sequences.
16568 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16570 s/.\{148\}/&'"$ac_delim"'/g
16573 s/^[ ]*#[ ]*define[ ][ ]*/ /
16580 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16582 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16586 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16587 D["\
1"]=" \
3\\\\\\n
"\\/p
16589 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16594 s/.\{148\}/&'"$ac_delim"'/g
16599 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16602 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16604 ' <confdefs.h | sed '
16605 s/'"$ac_delim"'/"\\\
16606 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16609 for (key in D) D_is_set[key] = 1
16612 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16614 split(line, arg, " ")
16615 if (arg[1] == "#") {
16619 defundef
= substr
(arg
[1], 2)
16622 split(mac1
, mac2
, "(") #)
16624 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16625 if (D_is_set
[macro
]) {
16626 # Preserve the white space surrounding the "#".
16627 print prefix
"define", macro P
[macro
] D
[macro
]
16630 # Replace #undef with comments. This is necessary, for example,
16631 # in the case of _POSIX_SOURCE, which is predefined and required
16632 # on some systems where configure will not decide to define it.
16633 if (defundef
== "undef") {
16634 print
"/*", prefix defundef
, macro
, "*/"
16642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16643 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16644 fi # test -n "$CONFIG_HEADERS"
16647 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16652 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16654 case $ac_mode$ac_tag in
16656 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16657 :[FH
]-) ac_tag
=-:-;;
16658 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16675 -) ac_f
="$ac_tmp/stdin";;
16676 *) # Look for the file first in the build tree, then in the source tree
16677 # (if the path is not absolute). The absolute path cannot be DOS-style,
16678 # because $ac_f cannot contain `:'.
16682 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16684 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16686 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16687 as_fn_append ac_file_inputs
" '$ac_f'"
16690 # Let's still pretend it is `configure' which instantiates (i.e., don't
16691 # use $as_me), people would be surprised to read:
16692 # /* config.h. Generated by config.status. */
16693 configure_input
='Generated from '`
16694 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16696 if test x
"$ac_file" != x-
; then
16697 configure_input
="$ac_file. $configure_input"
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16699 $as_echo "$as_me: creating $ac_file" >&6;}
16701 # Neutralize special characters interpreted by sed in replacement strings.
16702 case $configure_input in #(
16703 *\
&* |
*\|
* |
*\\* )
16704 ac_sed_conf_input
=`$as_echo "$configure_input" |
16705 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16706 *) ac_sed_conf_input
=$configure_input;;
16710 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16711 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16716 ac_dir
=`$as_dirname -- "$ac_file" ||
16717 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16718 X"$ac_file" : 'X\(//\)[^/]' \| \
16719 X"$ac_file" : 'X\(//\)$' \| \
16720 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16721 $as_echo X"$ac_file" |
16722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16726 /^X\(\/\/\)[^/].*/{
16739 as_dir
="$ac_dir"; as_fn_mkdir_p
16743 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16745 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16746 # A ".." for each directory in $ac_dir_suffix.
16747 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16748 case $ac_top_builddir_sub in
16749 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16750 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16753 ac_abs_top_builddir
=$ac_pwd
16754 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16755 # for backward compatibility:
16756 ac_top_builddir
=$ac_top_build_prefix
16759 .
) # We are building in place.
16761 ac_top_srcdir
=$ac_top_builddir_sub
16762 ac_abs_top_srcdir
=$ac_pwd ;;
16763 [\\/]* | ?
:[\\/]* ) # Absolute name.
16764 ac_srcdir
=$srcdir$ac_dir_suffix;
16765 ac_top_srcdir
=$srcdir
16766 ac_abs_top_srcdir
=$srcdir ;;
16767 *) # Relative name.
16768 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16769 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16770 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16772 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16782 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16783 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16785 ac_MKDIR_P
=$MKDIR_P
16787 [\\/$
]* | ?
:[\\/]* ) ;;
16788 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16793 # If the template does not know about datarootdir, expand it.
16794 # FIXME: This hack should be removed a few years after 2.60.
16795 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16806 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16807 *datarootdir
*) ac_datarootdir_seen
=yes;;
16808 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16810 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16813 ac_datarootdir_hack='
16814 s&@datadir@&$datadir&g
16815 s&@docdir@&$docdir&g
16816 s&@infodir@&$infodir&g
16817 s&@localedir@&$localedir&g
16818 s&@mandir@&$mandir&g
16819 s&\\\${datarootdir}&$datarootdir&g' ;;
16823 # Neutralize VPATH when `$srcdir' = `.'.
16824 # Shell code in configure.ac might set extrasub.
16825 # FIXME: do we really want to maintain this feature?
16826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16827 ac_sed_extra="$ac_vpsub
16830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16832 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16833 s|@configure_input@|
$ac_sed_conf_input|
;t t
16834 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16835 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16836 s
&@srcdir@
&$ac_srcdir&;t t
16837 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16838 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16839 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16840 s
&@builddir@
&$ac_builddir&;t t
16841 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16842 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16843 s
&@INSTALL@
&$ac_INSTALL&;t t
16844 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16845 $ac_datarootdir_hack
16847 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16848 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16850 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16851 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16852 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16853 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16855 which seems to be undefined. Please make sure it is defined" >&5
16856 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16857 which seems to be undefined. Please make sure it is defined" >&2;}
16859 rm -f "$ac_tmp/stdin"
16861 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16862 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16870 if test x"$ac_file" != x-; then
16872 $as_echo "/* $configure_input */" \
16873 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16874 } >"$ac_tmp/config.h" \
16875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16876 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16878 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16881 mv "$ac_tmp/config.h" "$ac_file" \
16882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16885 $as_echo "/* $configure_input */" \
16886 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16887 || as_fn_error $? "could not create -" "$LINENO" 5
16889 # Compute "$ac_file"'s index
in $config_headers.
16892 for _am_header
in $config_headers :; do
16893 case $_am_header in
16894 $_am_arg |
$_am_arg:* )
16897 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16900 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16901 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16902 X"$_am_arg" : 'X\(//\)[^/]' \| \
16903 X"$_am_arg" : 'X\(//\)$' \| \
16904 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16905 $as_echo X"$_am_arg" |
16906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16910 /^X\(\/\/\)[^/].*/{
16922 s/.*/./; q'`/stamp-h
$_am_stamp_count
16925 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16926 $as_echo "$as_me: executing $ac_file commands" >&6;}
16931 case $ac_file$ac_mode in
16932 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16933 # Older Autoconf quotes --file arguments for eval, but not when files
16934 # are listed without --file. Let's play safe and only enable the eval
16935 # if we detect the quoting.
16936 case $CONFIG_FILES in
16937 *\'*) eval set x
"$CONFIG_FILES" ;;
16938 *) set x
$CONFIG_FILES ;;
16943 # Strip MF so we end up with the name of the file.
16944 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16945 # Check whether this is an Automake generated Makefile or not.
16946 # We used to match only the files named 'Makefile.in', but
16947 # some people rename them; so instead we look at the file content.
16948 # Grep'ing the first line is not enough: some people post-process
16949 # each Makefile.in and add a new line on top of each file to say so.
16950 # Grep'ing the whole file is not good either: AIX grep has a line
16951 # limit of 2048, but all sed's we know have understand at least 4000.
16952 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16953 dirpart
=`$as_dirname -- "$mf" ||
16954 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16955 X"$mf" : 'X\(//\)[^/]' \| \
16956 X"$mf" : 'X\(//\)$' \| \
16957 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16963 /^X\(\/\/\)[^/].*/{
16979 # Extract the definition of DEPDIR, am__include, and am__quote
16980 # from the Makefile without running 'make'.
16981 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16982 test -z "$DEPDIR" && continue
16983 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16984 test -z "$am__include" && continue
16985 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16986 # Find all dependency output files, they are included files with
16987 # $(DEPDIR) in their names. We invoke sed twice because it is the
16988 # simplest approach to changing $(DEPDIR) to its actual value in the
16990 for file in `sed -n "
16991 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16992 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16993 # Make sure the directory exists.
16994 test -f "$dirpart/$file" && continue
16995 fdir
=`$as_dirname -- "$file" ||
16996 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16997 X"$file" : 'X\(//\)[^/]' \| \
16998 X"$file" : 'X\(//\)$' \| \
16999 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17000 $as_echo X"$file" |
17001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17005 /^X\(\/\/\)[^/].*/{
17018 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17019 # echo "creating $dirpart/$file"
17020 echo '# dummy' > "$dirpart/$file"
17027 # See if we are running on zsh, and set the options which allow our
17028 # commands through without removal of \ escapes.
17029 if test -n "${ZSH_VERSION+set}" ; then
17030 setopt NO_GLOB_SUBST
17033 cfgfile
="${ofile}T"
17034 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17037 cat <<_LT_EOF >> "$cfgfile"
17040 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17041 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17042 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17043 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17045 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17046 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17047 # Written by Gordon Matzigkeit, 1996
17049 # This file is part of GNU Libtool.
17051 # GNU Libtool is free software; you can redistribute it and/or
17052 # modify it under the terms of the GNU General Public License as
17053 # published by the Free Software Foundation; either version 2 of
17054 # the License, or (at your option) any later version.
17056 # As a special exception to the GNU General Public License,
17057 # if you distribute this file as part of a program or library that
17058 # is built using GNU Libtool, you may include this file under the
17059 # same distribution terms that you use for the rest of that program.
17061 # GNU Libtool is distributed in the hope that it will be useful,
17062 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17063 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17064 # GNU General Public License for more details.
17066 # You should have received a copy of the GNU General Public License
17067 # along with GNU Libtool; see the file COPYING. If not, a copy
17068 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17069 # obtained by writing to the Free Software Foundation, Inc.,
17070 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17073 # The names of the tagged configurations supported by this script.
17076 # ### BEGIN LIBTOOL CONFIG
17078 # Whether or not to build shared libraries.
17079 build_libtool_libs=$enable_shared
17081 # Which release of libtool.m4 was used?
17082 macro_version=$macro_version
17083 macro_revision=$macro_revision
17085 # Whether or not to build static libraries.
17086 build_old_libs=$enable_static
17088 # What type of objects to build.
17091 # Whether or not to optimize for fast installation.
17092 fast_install=$enable_fast_install
17094 # Shell to use when invoking shell scripts.
17097 # An echo program that protects backslashes.
17101 host_alias=$host_alias
17105 # The build system.
17106 build_alias=$build_alias
17110 # A sed program that does not truncate output.
17113 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17114 Xsed="\$SED -e 1s/^X//"
17116 # A grep program that handles long lines.
17122 # A literal string matcher.
17125 # A BSD- or MS-compatible name lister.
17128 # Whether we need soft or hard links.
17131 # What is the maximum length of a command?
17132 max_cmd_len=$max_cmd_len
17134 # Object file suffix (normally "o").
17137 # Executable file suffix (normally "").
17140 # whether the shell understands "unset".
17143 # turn spaces into newlines.
17146 # turn newlines into spaces.
17149 # An object symbol dumper.
17150 OBJDUMP=$lt_OBJDUMP
17152 # Method to check whether dependent libraries are shared objects.
17153 deplibs_check_method=$lt_deplibs_check_method
17155 # Command to use when deplibs_check_method == "file_magic".
17156 file_magic_cmd=$lt_file_magic_cmd
17160 AR_FLAGS=$lt_AR_FLAGS
17162 # A symbol stripping program.
17165 # Commands used to install an old-style archive.
17167 old_postinstall_cmds=$lt_old_postinstall_cmds
17168 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17170 # Whether to use a lock for old archive extraction.
17171 lock_old_archive_extraction=$lock_old_archive_extraction
17176 # LTCC compiler flags.
17177 LTCFLAGS=$lt_CFLAGS
17179 # Take the output of nm and produce a listing of raw symbols and C names.
17180 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17182 # Transform the output of nm in a proper C declaration.
17183 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17185 # Transform the output of nm in a C name address pair.
17186 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17188 # Transform the output of nm in a C name address pair when lib prefix is needed.
17189 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17191 # The name of the directory that contains temporary libtool files.
17194 # Used to examine libraries when file_magic_cmd begins with "file".
17195 MAGIC_CMD=$MAGIC_CMD
17197 # Must we lock files when doing compilation?
17198 need_locks=$lt_need_locks
17200 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17201 DSYMUTIL=$lt_DSYMUTIL
17203 # Tool to change global to local symbols on Mac OS X.
17206 # Tool to manipulate fat objects and archives on Mac OS X.
17209 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17212 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17213 OTOOL64=$lt_OTOOL64
17215 # Old archive suffix (normally "a").
17218 # Shared library suffix (normally ".so").
17219 shrext_cmds=$lt_shrext_cmds
17221 # The commands to extract the exported symbol list from a shared archive.
17222 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17224 # Variables whose values should be saved in libtool wrapper scripts and
17225 # restored at link time.
17226 variables_saved_for_relink=$lt_variables_saved_for_relink
17228 # Do we need the "lib" prefix for modules?
17229 need_lib_prefix=$need_lib_prefix
17231 # Do we need a version for libraries?
17232 need_version=$need_version
17234 # Library versioning type.
17235 version_type=$version_type
17237 # Shared library runtime path variable.
17238 runpath_var=$runpath_var
17240 # Shared library path variable.
17241 shlibpath_var=$shlibpath_var
17243 # Is shlibpath searched before the hard-coded library search path?
17244 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17246 # Format of library name prefix.
17247 libname_spec=$lt_libname_spec
17249 # List of archive names. First name is the real one, the rest are links.
17250 # The last name is the one that the linker finds with -lNAME
17251 library_names_spec=$lt_library_names_spec
17253 # The coded name of the library, if different from the real name.
17254 soname_spec=$lt_soname_spec
17256 # Permission mode override for installation of shared libraries.
17257 install_override_mode=$lt_install_override_mode
17259 # Command to use after installation of a shared archive.
17260 postinstall_cmds=$lt_postinstall_cmds
17262 # Command to use after uninstallation of a shared archive.
17263 postuninstall_cmds=$lt_postuninstall_cmds
17265 # Commands used to finish a libtool library installation in a directory.
17266 finish_cmds=$lt_finish_cmds
17268 # As "finish_cmds", except a single script fragment to be evaled but
17270 finish_eval=$lt_finish_eval
17272 # Whether we should hardcode library paths into libraries.
17273 hardcode_into_libs=$hardcode_into_libs
17275 # Compile-time system search path for libraries.
17276 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17278 # Run-time system search path for libraries.
17279 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17281 # Whether dlopen is supported.
17282 dlopen_support=$enable_dlopen
17284 # Whether dlopen of programs is supported.
17285 dlopen_self=$enable_dlopen_self
17287 # Whether dlopen of statically linked programs is supported.
17288 dlopen_self_static=$enable_dlopen_self_static
17290 # Commands to strip libraries.
17291 old_striplib=$lt_old_striplib
17292 striplib=$lt_striplib
17295 # The linker used to build libraries.
17298 # How to create reloadable object files.
17299 reload_flag=$lt_reload_flag
17300 reload_cmds=$lt_reload_cmds
17302 # Commands used to build an old-style archive.
17303 old_archive_cmds=$lt_old_archive_cmds
17305 # A language specific compiler.
17308 # Is the compiler the GNU compiler?
17311 # Compiler flag to turn off builtin functions.
17312 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17314 # How to pass a linker flag through the compiler.
17315 wl=$lt_lt_prog_compiler_wl
17317 # Additional compiler flags for building library objects.
17318 pic_flag=$lt_lt_prog_compiler_pic
17320 # Compiler flag to prevent dynamic linking.
17321 link_static_flag=$lt_lt_prog_compiler_static
17323 # Does compiler simultaneously support -c and -o options?
17324 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17326 # Whether or not to add -lc for building shared libraries.
17327 build_libtool_need_lc=$archive_cmds_need_lc
17329 # Whether or not to disallow shared libs when runtime libs are static.
17330 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17332 # Compiler flag to allow reflexive dlopens.
17333 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17335 # Compiler flag to generate shared objects directly from archives.
17336 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17338 # Whether the compiler copes with passing no objects directly.
17339 compiler_needs_object=$lt_compiler_needs_object
17341 # Create an old-style archive from a shared archive.
17342 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17344 # Create a temporary old-style archive to link instead of a shared archive.
17345 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17347 # Commands used to build a shared archive.
17348 archive_cmds=$lt_archive_cmds
17349 archive_expsym_cmds=$lt_archive_expsym_cmds
17351 # Commands used to build a loadable module if different from building
17352 # a shared archive.
17353 module_cmds=$lt_module_cmds
17354 module_expsym_cmds=$lt_module_expsym_cmds
17356 # Whether we are building with GNU ld or not.
17357 with_gnu_ld=$lt_with_gnu_ld
17359 # Flag that allows shared libraries with undefined symbols to be built.
17360 allow_undefined_flag=$lt_allow_undefined_flag
17362 # Flag that enforces no undefined symbols.
17363 no_undefined_flag=$lt_no_undefined_flag
17365 # Flag to hardcode \$libdir into a binary during linking.
17366 # This must work even if \$libdir does not exist
17367 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17369 # If ld is used when linking, flag to hardcode \$libdir into a binary
17370 # during linking. This must work even if \$libdir does not exist.
17371 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17373 # Whether we need a single "-rpath" flag with a separated argument.
17374 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17376 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17377 # DIR into the resulting binary.
17378 hardcode_direct=$hardcode_direct
17380 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17381 # DIR into the resulting binary and the resulting library dependency is
17382 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17383 # library is relocated.
17384 hardcode_direct_absolute=$hardcode_direct_absolute
17386 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17387 # into the resulting binary.
17388 hardcode_minus_L=$hardcode_minus_L
17390 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17391 # into the resulting binary.
17392 hardcode_shlibpath_var=$hardcode_shlibpath_var
17394 # Set to "yes" if building a shared library automatically hardcodes DIR
17395 # into the library and all subsequent libraries and executables linked
17397 hardcode_automatic=$hardcode_automatic
17399 # Set to yes if linker adds runtime paths of dependent libraries
17400 # to runtime path list.
17401 inherit_rpath=$inherit_rpath
17403 # Whether libtool must link a program against all its dependency libraries.
17404 link_all_deplibs=$link_all_deplibs
17406 # Fix the shell variable \$srcfile for the compiler.
17407 fix_srcfile_path=$lt_fix_srcfile_path
17409 # Set to "yes" if exported symbols are required.
17410 always_export_symbols=$always_export_symbols
17412 # The commands to list exported symbols.
17413 export_symbols_cmds=$lt_export_symbols_cmds
17415 # Symbols that should not be listed in the preloaded symbols.
17416 exclude_expsyms=$lt_exclude_expsyms
17418 # Symbols that must always be exported.
17419 include_expsyms=$lt_include_expsyms
17421 # Commands necessary for linking programs (against libraries) with templates.
17422 prelink_cmds=$lt_prelink_cmds
17424 # Specify filename containing input files.
17425 file_list_spec=$lt_file_list_spec
17427 # How to hardcode a shared library path into an executable.
17428 hardcode_action=$hardcode_action
17430 # ### END LIBTOOL CONFIG
17436 cat <<\_LT_EOF
>> "$cfgfile"
17437 # AIX sometimes has problems with the GCC collect2 program. For some
17438 # reason, if we set the COLLECT_NAMES environment variable, the problems
17439 # vanish in a puff of smoke.
17440 if test "X${COLLECT_NAMES+set}" != Xset
; then
17442 export COLLECT_NAMES
17449 ltmain
="$ac_aux_dir/ltmain.sh"
17452 # We use sed instead of cat because bash on DJGPP gets confused if
17453 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17454 # text mode, it properly converts lines to CR/LF. This bash problem
17455 # is reportedly fixed, but why not run on old versions too?
17456 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17457 ||
(rm -f "$cfgfile"; exit 1)
17461 cat << \_LT_EOF
>> "$cfgfile"
17463 # func_dirname file append nondir_replacement
17464 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17465 # otherwise set result to NONDIR_REPLACEMENT.
17469 */*) func_dirname_result
="${1%/*}${2}" ;;
17470 * ) func_dirname_result
="${3}" ;;
17474 # func_basename file
17477 func_basename_result
="${1##*/}"
17480 # func_dirname_and_basename file append nondir_replacement
17481 # perform func_basename and func_dirname in a single function
17483 # dirname: Compute the dirname of FILE. If nonempty,
17484 # add APPEND to the result, otherwise set result
17485 # to NONDIR_REPLACEMENT.
17486 # value returned in "$func_dirname_result"
17487 # basename: Compute filename of FILE.
17488 # value retuned in "$func_basename_result"
17489 # Implementation must be kept synchronized with func_dirname
17490 # and func_basename. For efficiency, we do not delegate to
17491 # those functions but instead duplicate the functionality here.
17492 func_dirname_and_basename
()
17495 */*) func_dirname_result
="${1%/*}${2}" ;;
17496 * ) func_dirname_result
="${3}" ;;
17498 func_basename_result
="${1##*/}"
17501 # func_stripname prefix suffix name
17502 # strip PREFIX and SUFFIX off of NAME.
17503 # PREFIX and SUFFIX must not contain globbing or regex special
17504 # characters, hashes, percent signs, but SUFFIX may contain a leading
17505 # dot (in which case that matches only a dot).
17508 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17509 # positional parameters, so assign one to ordinary parameter first.
17510 func_stripname_result
=${3}
17511 func_stripname_result
=${func_stripname_result#"${1}"}
17512 func_stripname_result
=${func_stripname_result%"${2}"}
17518 func_opt_split_opt
=${1%%=*}
17519 func_opt_split_arg
=${1#*=}
17526 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17527 *) func_lo2o_result
=${1} ;;
17531 # func_xform libobj-or-source
17534 func_xform_result
=${1%.*}.lo
17537 # func_arith arithmetic-term...
17540 func_arith_result
=$
(( $
* ))
17544 # STRING may not start with a hyphen.
17547 func_len_result
=${#1}
17552 *) # Bourne compatible functions.
17553 cat << \_LT_EOF
>> "$cfgfile"
17555 # func_dirname file append nondir_replacement
17556 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17557 # otherwise set result to NONDIR_REPLACEMENT.
17560 # Extract subdirectory from the argument.
17561 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17562 if test "X$func_dirname_result" = "X${1}"; then
17563 func_dirname_result
="${3}"
17565 func_dirname_result
="$func_dirname_result${2}"
17569 # func_basename file
17572 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17576 # func_stripname prefix suffix name
17577 # strip PREFIX and SUFFIX off of NAME.
17578 # PREFIX and SUFFIX must not contain globbing or regex special
17579 # characters, hashes, percent signs, but SUFFIX may contain a leading
17580 # dot (in which case that matches only a dot).
17581 # func_strip_suffix prefix name
17585 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17586 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17591 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17592 my_sed_long_arg
='1s/^-[^=]*=//'
17597 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17598 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17604 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17607 # func_xform libobj-or-source
17610 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17613 # func_arith arithmetic-term...
17616 func_arith_result
=`expr "$@"`
17620 # STRING may not start with a hyphen.
17623 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17629 case $lt_shell_append in
17631 cat << \_LT_EOF
>> "$cfgfile"
17633 # func_append var value
17634 # Append VALUE to the end of shell variable VAR.
17642 cat << \_LT_EOF
>> "$cfgfile"
17644 # func_append var value
17645 # Append VALUE to the end of shell variable VAR.
17656 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17657 ||
(rm -f "$cfgfile"; exit 1)
17659 mv -f "$cfgfile" "$ofile" ||
17660 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17671 ac_clean_files
=$ac_clean_files_save
17673 test $ac_write_fail = 0 ||
17674 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17677 # configure is writing to config.log, and then calls config.status.
17678 # config.status does its own redirection, appending to config.log.
17679 # Unfortunately, on DOS this fails, as config.log is still kept open
17680 # by configure, so config.status won't be able to write to it; its
17681 # output is simply discarded. So we exec the FD to /dev/null,
17682 # effectively closing config.log, so it can be properly (re)opened and
17683 # appended to by config.status. When coming back to configure, we
17684 # need to make the FD available again.
17685 if test "$no_create" != yes; then
17687 ac_config_status_args
=
17688 test "$silent" = yes &&
17689 ac_config_status_args
="$ac_config_status_args --quiet"
17691 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17693 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17694 # would make configure fail if this is the last instruction.
17695 $ac_cs_success || as_fn_exit
1
17697 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17699 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17704 touch config.status.tmp
17705 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
17706 sed '/as_fn_exit 0/i \
17707 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
17708 touch --reference=Makefile Makefile.tmp \
17709 mv Makefile.tmp Makefile \
17710 ' config.status
> config.status.tmp
17711 touch --reference=config.status config.status.tmp
17712 mv config.status.tmp config.status
17713 chmod +x config.status
17714 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
17715 touch --reference=Makefile Makefile.tmp
17716 mv Makefile.tmp Makefile
17718 rm -f config.status.tmp