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>
635 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
653 ac_libctf_warn_cflags
661 MAINTAINER_MODE_FALSE
726 INSTALL_STRIP_PROGRAM
790 program_transform_name
803 enable_option_checking
804 enable_dependency_tracking
820 enable_maintainer_mode
821 enable_install_libbfd
823 enable_libctf_hash_debugging
825 ac_precious_vars
='build_alias
836 # Initialize some variables set by options.
838 ac_init_version
=false
839 ac_unrecognized_opts
=
841 # The variables have the same names as the options, with
842 # dashes changed to underlines.
850 program_transform_name
=s
,x
,x
,
858 # Installation directory options.
859 # These are left unexpanded so users can "make install exec_prefix=/foo"
860 # and all the variables that are supposed to be based on exec_prefix
861 # by default will actually change.
862 # Use braces instead of parens because sh, perl, etc. also accept them.
863 # (The list follows the same order as the GNU Coding Standards.)
864 bindir
='${exec_prefix}/bin'
865 sbindir
='${exec_prefix}/sbin'
866 libexecdir
='${exec_prefix}/libexec'
867 datarootdir
='${prefix}/share'
868 datadir
='${datarootdir}'
869 sysconfdir
='${prefix}/etc'
870 sharedstatedir
='${prefix}/com'
871 localstatedir
='${prefix}/var'
872 includedir
='${prefix}/include'
873 oldincludedir
='/usr/include'
874 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
875 infodir
='${datarootdir}/info'
880 libdir
='${exec_prefix}/lib'
881 localedir
='${datarootdir}/locale'
882 mandir
='${datarootdir}/man'
888 # If the previous option needs an argument, assign it.
889 if test -n "$ac_prev"; then
890 eval $ac_prev=\
$ac_option
896 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
907 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
909 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
912 -build |
--build |
--buil |
--bui |
--bu)
913 ac_prev
=build_alias
;;
914 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
915 build_alias
=$ac_optarg ;;
917 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
918 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
919 ac_prev
=cache_file
;;
920 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
921 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
922 cache_file
=$ac_optarg ;;
925 cache_file
=config.cache
;;
927 -datadir |
--datadir |
--datadi |
--datad)
929 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
930 datadir
=$ac_optarg ;;
932 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
933 |
--dataroo |
--dataro |
--datar)
934 ac_prev
=datarootdir
;;
935 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
936 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
937 datarootdir
=$ac_optarg ;;
939 -disable-* |
--disable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error $?
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error $?
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=\
$ac_optarg ;;
981 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
982 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
983 |
--exec |
--exe |
--ex)
984 ac_prev
=exec_prefix
;;
985 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
986 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
987 |
--exec=* |
--exe=* |
--ex=*)
988 exec_prefix
=$ac_optarg ;;
990 -gas |
--gas |
--ga |
--g)
991 # Obsolete; use --with-gas.
994 -help |
--help |
--hel |
--he |
-h)
996 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
997 ac_init_help
=recursive
;;
998 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
999 ac_init_help
=short
;;
1001 -host |
--host |
--hos |
--ho)
1002 ac_prev
=host_alias
;;
1003 -host=* |
--host=* |
--hos=* |
--ho=*)
1004 host_alias
=$ac_optarg ;;
1006 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1008 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1010 htmldir
=$ac_optarg ;;
1012 -includedir |
--includedir |
--includedi |
--included |
--include \
1013 |
--includ |
--inclu |
--incl |
--inc)
1014 ac_prev
=includedir
;;
1015 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1016 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1017 includedir
=$ac_optarg ;;
1019 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1021 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1022 infodir
=$ac_optarg ;;
1024 -libdir |
--libdir |
--libdi |
--libd)
1026 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1027 libdir
=$ac_optarg ;;
1029 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1030 |
--libexe |
--libex |
--libe)
1031 ac_prev
=libexecdir
;;
1032 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1033 |
--libexe=* |
--libex=* |
--libe=*)
1034 libexecdir
=$ac_optarg ;;
1036 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1037 ac_prev
=localedir
;;
1038 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1039 localedir
=$ac_optarg ;;
1041 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1042 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1043 ac_prev
=localstatedir
;;
1044 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1045 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1046 localstatedir
=$ac_optarg ;;
1048 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1050 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1051 mandir
=$ac_optarg ;;
1053 -nfp |
--nfp |
--nf)
1054 # Obsolete; use --without-fp.
1057 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1058 |
--no-cr |
--no-c |
-n)
1061 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1062 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1065 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1066 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1067 |
--oldin |
--oldi |
--old |
--ol |
--o)
1068 ac_prev
=oldincludedir
;;
1069 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1070 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1071 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1072 oldincludedir
=$ac_optarg ;;
1074 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1076 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1077 prefix
=$ac_optarg ;;
1079 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1080 |
--program-pre |
--program-pr |
--program-p)
1081 ac_prev
=program_prefix
;;
1082 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1083 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1084 program_prefix
=$ac_optarg ;;
1086 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1087 |
--program-suf |
--program-su |
--program-s)
1088 ac_prev
=program_suffix
;;
1089 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1090 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1091 program_suffix
=$ac_optarg ;;
1093 -program-transform-name |
--program-transform-name \
1094 |
--program-transform-nam |
--program-transform-na \
1095 |
--program-transform-n |
--program-transform- \
1096 |
--program-transform |
--program-transfor \
1097 |
--program-transfo |
--program-transf \
1098 |
--program-trans |
--program-tran \
1099 |
--progr-tra |
--program-tr |
--program-t)
1100 ac_prev
=program_transform_name
;;
1101 -program-transform-name=* |
--program-transform-name=* \
1102 |
--program-transform-nam=* |
--program-transform-na=* \
1103 |
--program-transform-n=* |
--program-transform-=* \
1104 |
--program-transform=* |
--program-transfor=* \
1105 |
--program-transfo=* |
--program-transf=* \
1106 |
--program-trans=* |
--program-tran=* \
1107 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1108 program_transform_name
=$ac_optarg ;;
1110 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1112 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1113 pdfdir
=$ac_optarg ;;
1115 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1117 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1121 |
-silent |
--silent |
--silen |
--sile |
--sil)
1124 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1126 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1128 sbindir
=$ac_optarg ;;
1130 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1131 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1132 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1134 ac_prev
=sharedstatedir
;;
1135 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1136 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1137 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1139 sharedstatedir
=$ac_optarg ;;
1141 -site |
--site |
--sit)
1143 -site=* |
--site=* |
--sit=*)
1146 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1148 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1149 srcdir
=$ac_optarg ;;
1151 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1152 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1153 ac_prev
=sysconfdir
;;
1154 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1155 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1156 sysconfdir
=$ac_optarg ;;
1158 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1159 ac_prev
=target_alias
;;
1160 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1161 target_alias
=$ac_optarg ;;
1163 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1166 -version |
--version |
--versio |
--versi |
--vers |
-V)
1167 ac_init_version
=: ;;
1170 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1173 as_fn_error $?
"invalid package name: $ac_useropt"
1174 ac_useropt_orig
=$ac_useropt
1175 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1181 ac_unrecognized_sep
=', ';;
1183 eval with_
$ac_useropt=\
$ac_optarg ;;
1185 -without-* |
--without-*)
1186 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error $?
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=no
;;
1202 # Obsolete; use --with-x.
1205 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1206 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1207 ac_prev
=x_includes
;;
1208 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1209 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1210 x_includes
=$ac_optarg ;;
1212 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1213 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1214 ac_prev
=x_libraries
;;
1215 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1216 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1217 x_libraries
=$ac_optarg ;;
1219 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1220 Try \`$0 --help' for more information"
1224 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1225 # Reject names that are not valid shell variable names.
1226 case $ac_envvar in #(
1227 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1228 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1230 eval $ac_envvar=\
$ac_optarg
1231 export $ac_envvar ;;
1234 # FIXME: should be removed in autoconf 3.0.
1235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1244 if test -n "$ac_prev"; then
1245 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1246 as_fn_error $?
"missing argument to $ac_option"
1249 if test -n "$ac_unrecognized_opts"; then
1250 case $enable_option_checking in
1252 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 # Check all directory arguments for consistency.
1258 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val
=\$
$ac_var
1264 # Remove trailing slashes.
1267 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1268 eval $ac_var=\
$ac_val;;
1270 # Be sure to have absolute directory names.
1272 [\\/$
]* | ?
:[\\/]* ) continue;;
1273 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1275 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target
=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x
; then
1287 if test "x$build_alias" = x
; then
1288 cross_compiling
=maybe
1289 elif test "x$build_alias" != "x$host_alias"; then
1295 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1297 test "$silent" = yes && exec 6>/dev
/null
1300 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1301 ac_ls_di
=`ls -di .` &&
1302 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1303 as_fn_error $?
"working directory cannot be determined"
1304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1305 as_fn_error $?
"pwd does not report name of working directory"
1308 # Find the source files, if location was not specified.
1309 if test -z "$srcdir"; then
1310 ac_srcdir_defaulted
=yes
1311 # Try the directory containing this script, then the parent directory.
1312 ac_confdir
=`$as_dirname -- "$as_myself" ||
1313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1314 X"$as_myself" : 'X\(//\)[^/]' \| \
1315 X"$as_myself" : 'X\(//\)$' \| \
1316 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1317 $as_echo X"$as_myself" |
1318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1340 ac_srcdir_defaulted
=no
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1344 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1346 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1348 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1350 # When building in place, set srcdir=.
1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
1354 # Remove unnecessary trailing slashes from srcdir.
1355 # Double slashes in file names in object file debugging info
1356 # mess up M-x gdb in Emacs.
1358 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360 for ac_var
in $ac_precious_vars; do
1361 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1362 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1363 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1364 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1368 # Report the --help message.
1370 if test "$ac_init_help" = "long"; then
1371 # Omit some internal or obsolete options to make the list less imposing.
1372 # This message is too long to be a string in the A/UX 3.1 sh.
1374 \`configure' configures libctf 1.2.0 to adapt to many kinds of systems.
1376 Usage: $0 [OPTION]... [VAR=VALUE]...
1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1379 VAR=VALUE. See below for descriptions of some of the useful variables.
1381 Defaults for the options are specified in brackets.
1384 -h, --help display this help and exit
1385 --help=short display options specific to this package
1386 --help=recursive display the short help of all the included packages
1387 -V, --version display version information and exit
1388 -q, --quiet, --silent do not print \`checking ...' messages
1389 --cache-file=FILE cache test results in FILE [disabled]
1390 -C, --config-cache alias for \`--cache-file=config.cache'
1391 -n, --no-create do not create output files
1392 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1394 Installation directories:
1395 --prefix=PREFIX install architecture-independent files in PREFIX
1396 [$ac_default_prefix]
1397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1400 By default, \`make install' will install all the files in
1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1403 for instance \`--prefix=\$HOME'.
1405 For better control, use the options below.
1407 Fine tuning of the installation directories:
1408 --bindir=DIR user executables [EPREFIX/bin]
1409 --sbindir=DIR system admin executables [EPREFIX/sbin]
1410 --libexecdir=DIR program executables [EPREFIX/libexec]
1411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1413 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1414 --libdir=DIR object code libraries [EPREFIX/lib]
1415 --includedir=DIR C header files [PREFIX/include]
1416 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1419 --infodir=DIR info documentation [DATAROOTDIR/info]
1420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1421 --mandir=DIR man documentation [DATAROOTDIR/man]
1422 --docdir=DIR documentation root [DATAROOTDIR/doc/libctf]
1423 --htmldir=DIR html documentation [DOCDIR]
1424 --dvidir=DIR dvi documentation [DOCDIR]
1425 --pdfdir=DIR pdf documentation [DOCDIR]
1426 --psdir=DIR ps documentation [DOCDIR]
1432 --program-prefix=PREFIX prepend PREFIX to installed program names
1433 --program-suffix=SUFFIX append SUFFIX to installed program names
1434 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1437 --build=BUILD configure
for building on BUILD
[guessed
]
1438 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1439 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1443 if test -n "$ac_init_help"; then
1444 case $ac_init_help in
1445 short | recursive
) echo "Configuration of libctf 1.2.0:";;
1450 --disable-option-checking ignore unrecognized
--enable/--with options
1451 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1452 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1453 --enable-dependency-tracking
1454 do not reject slow dependency extractors
1455 --disable-dependency-tracking
1456 speeds up one-time build
1457 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1458 --disable-silent-rules verbose build output
(undo
: "make V=0")
1459 --disable-nls do not use Native Language Support
1460 --disable-rpath do not hardcode runtime library paths
1461 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1462 --enable-static[=PKGS
] build static libraries
[default
=yes]
1463 --enable-fast-install[=PKGS
]
1464 optimize
for fast installation
[default
=yes]
1465 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1466 --disable-largefile omit support
for large files
1467 --enable-werror-always enable -Werror despite compiler version
1468 --enable-maintainer-mode
1469 enable make rules and dependencies not useful
(and
1470 sometimes confusing
) to the casual installer
1471 --enable-install-libbfd controls installation of libbfd and related headers
1472 --enable-libctf-hash-debugging
1473 Enable expensive debugging of CTF deduplication
type
1474 hashing
[default
=no
]
1477 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1478 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1479 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1480 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1481 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1482 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1483 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1484 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1485 --with-libintl-type=TYPE
type of library to search
for (auto
/static
/shared
)
1486 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1488 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1489 --with-system-zlib use installed libz
1491 Some influential environment variables
:
1492 CC C compiler
command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1495 nonstandard directory
<lib dir
>
1496 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1497 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1498 you have headers
in a nonstandard directory
<include dir
>
1501 Use these variables to override the choices made by
`configure' or to help
1502 it to find libraries and programs with nonstandard names/locations.
1504 Report bugs to the package provider.
1509 if test "$ac_init_help" = "recursive"; then
1510 # If there are subdirs, report their specific --help.
1511 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1512 test -d "$ac_dir" ||
1513 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1521 # A ".." for each directory in $ac_dir_suffix.
1522 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1523 case $ac_top_builddir_sub in
1524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1528 ac_abs_top_builddir=$ac_pwd
1529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1530 # for backward compatibility:
1531 ac_top_builddir=$ac_top_build_prefix
1534 .) # We are building in place.
1536 ac_top_srcdir=$ac_top_builddir_sub
1537 ac_abs_top_srcdir=$ac_pwd ;;
1538 [\\/]* | ?:[\\/]* ) # Absolute name.
1539 ac_srcdir=$srcdir$ac_dir_suffix;
1540 ac_top_srcdir=$srcdir
1541 ac_abs_top_srcdir=$srcdir ;;
1543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1544 ac_top_srcdir=$ac_top_build_prefix$srcdir
1545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1549 cd "$ac_dir" || { ac_status=$?; continue; }
1550 # Check for guested configure.
1551 if test -f "$ac_srcdir/configure.gnu"; then
1553 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1554 elif test -f "$ac_srcdir/configure"; then
1556 $SHELL "$ac_srcdir/configure" --help=recursive
1558 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1560 cd "$ac_pwd" || { ac_status=$?; break; }
1564 test -n "$ac_init_help" && exit $ac_status
1565 if $ac_init_version; then
1567 libctf configure 1.2.0
1568 generated by GNU Autoconf 2.69
1570 Copyright (C) 2012 Free Software Foundation, Inc.
1571 This configure script is free software; the Free Software Foundation
1572 gives unlimited permission to copy, distribute and modify it.
1577 ## ------------------------ ##
1578 ## Autoconf initialization. ##
1579 ## ------------------------ ##
1581 # ac_fn_c_try_compile LINENO
1582 # --------------------------
1583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1584 ac_fn_c_try_compile ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 rm -f conftest.$ac_objext
1588 if { { ac_try="$ac_compile"
1590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1591 *) ac_try_echo
=$ac_try;;
1593 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_compile") 2>conftest.err
1597 if test -s conftest.err
; then
1598 grep -v '^ *+' conftest.err
>conftest.er1
1599 cat conftest.er1
>&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } && {
1604 test -z "$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1606 } && test -s conftest.
$ac_objext; then :
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.
$ac_ext >&5
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status
$ac_retval
1617 } # ac_fn_c_try_compile
1619 # ac_fn_c_try_cpp LINENO
1620 # ----------------------
1621 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1624 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1625 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } > conftest.i && {
1641 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1656 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1657 # -------------------------------------------------------
1658 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1659 # the include files in INCLUDES and setting the cache variable VAR
1661 ac_fn_c_check_header_mongrel ()
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 if eval \${$3+:} false; then :
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 $as_echo_n "checking for $2... " >&6; }
1667 if eval \${$3+:} false; then :
1668 $as_echo_n "(cached) " >&6
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1672 $as_echo "$ac_res" >&6; }
1674 # Is the header compilable?
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1676 $as_echo_n "checking $2 usability... " >&6; }
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1682 if ac_fn_c_try_compile "$LINENO"; then :
1683 ac_header_compiler=yes
1685 ac_header_compiler=no
1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1689 $as_echo "$ac_header_compiler" >&6; }
1691 # Is the header present?
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1693 $as_echo_n "checking $2 presence... " >&6; }
1694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1698 if ac_fn_c_try_cpp "$LINENO"; then :
1699 ac_header_preproc=yes
1701 ac_header_preproc=no
1703 rm -f conftest.err conftest.i conftest.$ac_ext
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1705 $as_echo "$ac_header_preproc" >&6; }
1707 # So? What about this header?
1708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1711 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1717 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1719 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1721 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1723 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if eval \${$3+:} false; then :
1731 $as_echo_n "(cached) " >&6
1733 eval "$3=\$ac_header_compiler"
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1737 $as_echo "$ac_res" >&6; }
1739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741 } # ac_fn_c_check_header_mongrel
1743 # ac_fn_c_try_run LINENO
1744 # ----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1746 # that executables *can* be run.
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 if { { ac_try="$ac_link"
1752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1753 *) ac_try_echo
=$ac_try;;
1755 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_link") 2>&5
1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1761 { { case "(($ac_try" in
1762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_try") 2>&5
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; }; }; then :
1773 $as_echo "$as_me: program exited with status $ac_status" >&5
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1777 ac_retval=$ac_status
1779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 as_fn_set_status $ac_retval
1785 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1786 # -------------------------------------------------------
1787 # Tests whether HEADER exists and can be compiled using the include files in
1788 # INCLUDES, setting the cache variable VAR accordingly.
1789 ac_fn_c_check_header_compile ()
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if eval \${$3+:} false; then :
1795 $as_echo_n "(cached) " >&6
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1802 if ac_fn_c_try_compile "$LINENO"; then :
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 } # ac_fn_c_check_header_compile
1816 # ac_fn_c_try_link LINENO
1817 # -----------------------
1818 # Try to link conftest.$ac_ext, and return whether this succeeded.
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 rm -f conftest.$ac_objext conftest$ac_exeext
1823 if { { ac_try="$ac_link"
1825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1826 *) ac_try_echo
=$ac_try;;
1828 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_link") 2>conftest.err
1832 if test -s conftest.err
; then
1833 grep -v '^ *+' conftest.err
>conftest.er1
1834 cat conftest.er1
>&5
1835 mv -f conftest.er1 conftest.err
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && {
1839 test -z "$ac_c_werror_flag" ||
1840 test ! -s conftest.err
1841 } && test -s conftest
$ac_exeext && {
1842 test "$cross_compiling" = yes ||
1843 test -x conftest
$ac_exeext
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.
$ac_ext >&5
1852 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1853 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1854 # interfere with the next link command; also delete a directory that is
1855 # left behind by Apple's compiler. We do this before executing the actions.
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858 as_fn_set_status
$ac_retval
1860 } # ac_fn_c_try_link
1862 # ac_fn_c_check_func LINENO FUNC VAR
1863 # ----------------------------------
1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1865 ac_fn_c_check_func
()
1867 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \
${$3+:} false
; then :
1871 $as_echo_n "(cached) " >&6
1873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1875 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1877 #define $2 innocuous_$2
1879 /* System header to define __stub macros and hopefully few prototypes,
1880 which can conflict with char $2 (); below.
1881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1882 <limits.h> exists even on freestanding compilers. */
1885 # include <limits.h>
1887 # include <assert.h>
1892 /* Override any GCC internal prototype to avoid an error.
1893 Use char because int might match the return type of a GCC
1894 builtin and then its argument prototype would still apply. */
1899 /* The GNU C library defines this for functions which it implements
1900 to always fail with ENOSYS. Some functions are actually named
1901 something starting with __ and the normal name is an alias. */
1902 #if defined __stub_$2 || defined __stub___$2
1914 if ac_fn_c_try_link
"$LINENO"; then :
1919 rm -f core conftest.err conftest.
$ac_objext \
1920 conftest
$ac_exeext conftest.
$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927 } # ac_fn_c_check_func
1929 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1930 # ---------------------------------------------
1931 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1933 ac_fn_c_check_decl
()
1935 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1936 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1937 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1939 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1940 if eval \
${$3+:} false
; then :
1941 $as_echo_n "(cached) " >&6
1943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1949 #ifndef $as_decl_name
1951 (void) $as_decl_use;
1953 (void) $as_decl_name;
1961 if ac_fn_c_try_compile
"$LINENO"; then :
1966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 } # ac_fn_c_check_decl
1974 cat >config.log
<<_ACEOF
1975 This file contains any messages produced by compilers while
1976 running configure, to aid debugging if configure makes a mistake.
1978 It was created by libctf $as_me 1.2.0, which was
1979 generated by GNU Autoconf 2.69. Invocation command line was
1991 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1992 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1993 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1994 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1995 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1997 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1998 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2000 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2001 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2002 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2003 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2004 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2005 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2006 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2014 test -z "$as_dir" && as_dir
=.
2015 $as_echo "PATH: $as_dir"
2031 # Keep a trace of the command line.
2032 # Strip out --no-create and --no-recursion so they do not pile up.
2033 # Strip out --silent because we don't want to record it for future runs.
2034 # Also quote any args containing shell meta-characters.
2035 # Make two passes to allow for proper duplicate-argument suppression.
2039 ac_must_keep_next
=false
2045 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2047 |
-silent |
--silent |
--silen |
--sile |
--sil)
2050 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2053 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2055 as_fn_append ac_configure_args1
" '$ac_arg'"
2056 if test $ac_must_keep_next = true
; then
2057 ac_must_keep_next
=false
# Got value, back to normal.
2060 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2061 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2062 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2063 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2064 case "$ac_configure_args0 " in
2065 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2068 -* ) ac_must_keep_next
=true
;;
2071 as_fn_append ac_configure_args
" '$ac_arg'"
2076 { ac_configure_args0
=; unset ac_configure_args0
;}
2077 { ac_configure_args1
=; unset ac_configure_args1
;}
2079 # When interrupted or exit'd, cleanup temporary files, and complete
2080 # config.log. We remove comments because anyway the quotes in there
2081 # would cause problems or look ugly.
2082 # WARNING: Use '\'' to represent an apostrophe within the trap.
2083 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2084 trap 'exit_status=$?
2085 # Save into config.log some information that might help in debugging.
2089 $as_echo "## ---------------- ##
2090 ## Cache variables. ##
2091 ## ---------------- ##"
2093 # The following way of writing the cache mishandles newlines in values,
2095 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2096 eval ac_val=\$$ac_var
2100 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2101 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2104 _ | IFS | as_nl) ;; #(
2105 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2106 *) { eval $ac_var=; unset $ac_var;} ;;
2111 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2112 *${as_nl}ac_space=\ *)
2114 "s/'\''/'\''\\\\'\'''\''/g;
2115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2118 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2125 $as_echo "## ----------------- ##
2126 ## Output variables. ##
2127 ## ----------------- ##"
2129 for ac_var in $ac_subst_vars
2131 eval ac_val=\$$ac_var
2133 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2135 $as_echo "$ac_var='\''$ac_val'\''"
2139 if test -n "$ac_subst_files"; then
2140 $as_echo "## ------------------- ##
2141 ## File substitutions. ##
2142 ## ------------------- ##"
2144 for ac_var
in $ac_subst_files
2146 eval ac_val
=\$
$ac_var
2148 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2150 $as_echo "$ac_var='\''$ac_val'\''"
2155 if test -s confdefs.h; then
2156 $as_echo "## ----------- ##
2163 test "$ac_signal" != 0 &&
2164 $as_echo "$as_me: caught signal $ac_signal"
2165 $as_echo "$as_me: exit $exit_status"
2167 rm -f core *.core core.conftest.* &&
2168 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2171 for ac_signal
in 1 2 13 15; do
2172 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2177 rm -f -r conftest
* confdefs.h
2179 $as_echo "/* confdefs.h */" > confdefs.h
2181 # Predefined preprocessor variables.
2183 cat >>confdefs.h
<<_ACEOF
2184 #define PACKAGE_NAME "$PACKAGE_NAME"
2187 cat >>confdefs.h
<<_ACEOF
2188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2191 cat >>confdefs.h
<<_ACEOF
2192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2195 cat >>confdefs.h
<<_ACEOF
2196 #define PACKAGE_STRING "$PACKAGE_STRING"
2199 cat >>confdefs.h
<<_ACEOF
2200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2203 cat >>confdefs.h
<<_ACEOF
2204 #define PACKAGE_URL "$PACKAGE_URL"
2208 # Let the site file select an alternate cache file if it wants to.
2209 # Prefer an explicitly selected file to automatically selected ones.
2212 if test -n "$CONFIG_SITE"; then
2213 # We do not want a PATH search for config.site.
2214 case $CONFIG_SITE in #((
2215 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2216 */*) ac_site_file1
=$CONFIG_SITE;;
2217 *) ac_site_file1
=.
/$CONFIG_SITE;;
2219 elif test "x$prefix" != xNONE
; then
2220 ac_site_file1
=$prefix/share
/config.site
2221 ac_site_file2
=$prefix/etc
/config.site
2223 ac_site_file1
=$ac_default_prefix/share
/config.site
2224 ac_site_file2
=$ac_default_prefix/etc
/config.site
2226 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2228 test "x$ac_site_file" = xNONE
&& continue
2229 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2231 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2232 sed 's/^/| /' "$ac_site_file" >&5
2234 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2236 as_fn_error $?
"failed to load site script $ac_site_file
2237 See \`config.log' for more details" "$LINENO" 5; }
2241 if test -r "$cache_file"; then
2242 # Some versions of bash will fail to source /dev/null (special files
2243 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2244 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2246 $as_echo "$as_me: loading cache $cache_file" >&6;}
2248 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2249 *) .
"./$cache_file";;
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2254 $as_echo "$as_me: creating cache $cache_file" >&6;}
2258 gt_needs
="$gt_needs "
2259 as_fn_append ac_header_list
" stdlib.h"
2260 as_fn_append ac_header_list
" unistd.h"
2261 as_fn_append ac_header_list
" sys/param.h"
2262 as_fn_append ac_func_list
" qsort_r"
2263 # Check that the precious variables saved in the cache have kept the same
2265 ac_cache_corrupted
=false
2266 for ac_var
in $ac_precious_vars; do
2267 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2268 eval ac_new_set
=\
$ac_env_${ac_var}_set
2269 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2270 eval ac_new_val
=\
$ac_env_${ac_var}_value
2271 case $ac_old_set,$ac_new_set in
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2274 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2275 ac_cache_corrupted
=: ;;
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2278 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2279 ac_cache_corrupted
=: ;;
2282 if test "x$ac_old_val" != "x$ac_new_val"; then
2283 # differences in whitespace do not lead to failure.
2284 ac_old_val_w
=`echo x $ac_old_val`
2285 ac_new_val_w
=`echo x $ac_new_val`
2286 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2288 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2289 ac_cache_corrupted
=:
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2292 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2293 eval $ac_var=\
$ac_old_val
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2296 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2298 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2301 # Pass precious variables to config.status.
2302 if test "$ac_new_set" = set; then
2304 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2305 *) ac_arg
=$ac_var=$ac_new_val ;;
2307 case " $ac_configure_args " in
2308 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2309 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2313 if $ac_cache_corrupted; then
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2317 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2318 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2320 ## -------------------- ##
2321 ## Main body of script. ##
2322 ## -------------------- ##
2325 ac_cpp
='$CPP $CPPFLAGS'
2326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2336 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2337 if test -f "$ac_dir/install-sh"; then
2339 ac_install_sh
="$ac_aux_dir/install-sh -c"
2341 elif test -f "$ac_dir/install.sh"; then
2343 ac_install_sh
="$ac_aux_dir/install.sh -c"
2345 elif test -f "$ac_dir/shtool"; then
2347 ac_install_sh
="$ac_aux_dir/shtool install -c"
2351 if test -z "$ac_aux_dir"; then
2352 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2355 # These three variables are undocumented and unsupported,
2356 # and are intended to be withdrawn in a future Autoconf release.
2357 # They can cause serious problems if a builder's source tree is in a directory
2358 # whose full name contains unusual characters.
2359 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2360 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2361 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2364 # Make sure we can run config.sub.
2365 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2366 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2369 $as_echo_n "checking build system type... " >&6; }
2370 if ${ac_cv_build+:} false
; then :
2371 $as_echo_n "(cached) " >&6
2373 ac_build_alias
=$build_alias
2374 test "x$ac_build_alias" = x
&&
2375 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2376 test "x$ac_build_alias" = x
&&
2377 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2378 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2379 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2383 $as_echo "$ac_cv_build" >&6; }
2384 case $ac_cv_build in
2386 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2389 ac_save_IFS
=$IFS; IFS
='-'
2395 # Remember, the first character of IFS is used to create $*,
2396 # except with old shells:
2399 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2403 $as_echo_n "checking host system type... " >&6; }
2404 if ${ac_cv_host+:} false
; then :
2405 $as_echo_n "(cached) " >&6
2407 if test "x$host_alias" = x
; then
2408 ac_cv_host
=$ac_cv_build
2410 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2411 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2416 $as_echo "$ac_cv_host" >&6; }
2419 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2422 ac_save_IFS
=$IFS; IFS
='-'
2428 # Remember, the first character of IFS is used to create $*,
2429 # except with old shells:
2432 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2436 $as_echo_n "checking target system type... " >&6; }
2437 if ${ac_cv_target+:} false
; then :
2438 $as_echo_n "(cached) " >&6
2440 if test "x$target_alias" = x
; then
2441 ac_cv_target
=$ac_cv_host
2443 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2444 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2449 $as_echo "$ac_cv_target" >&6; }
2450 case $ac_cv_target in
2452 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2454 target
=$ac_cv_target
2455 ac_save_IFS
=$IFS; IFS
='-'
2461 # Remember, the first character of IFS is used to create $*,
2462 # except with old shells:
2465 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2468 # The aliases save the names the user supplied, while $host etc.
2469 # will get canonicalized.
2470 test -n "$target_alias" &&
2471 test "$program_prefix$program_suffix$program_transform_name" = \
2473 program_prefix
=${target_alias}-
2474 # Expand $ac_aux_dir to an absolute path.
2475 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2478 ac_cpp
='$CPP $CPPFLAGS'
2479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2482 if test -n "$ac_tool_prefix"; then
2483 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2484 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486 $as_echo_n "checking for $ac_word... " >&6; }
2487 if ${ac_cv_prog_CC+:} false
; then :
2488 $as_echo_n "(cached) " >&6
2490 if test -n "$CC"; then
2491 ac_cv_prog_CC
="$CC" # Let the user override the test.
2493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir
=.
2498 for ac_exec_ext
in '' $ac_executable_extensions; do
2499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2500 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 if test -n "$CC"; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2513 $as_echo "$CC" >&6; }
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2521 if test -z "$ac_cv_prog_CC"; then
2523 # Extract the first word of "gcc", so it can be a program name with args.
2524 set dummy gcc
; ac_word
=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$ac_ct_CC"; then
2531 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir
=.
2538 for ac_exec_ext
in '' $ac_executable_extensions; do
2539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_ac_ct_CC
="gcc"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2551 if test -n "$ac_ct_CC"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2553 $as_echo "$ac_ct_CC" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2559 if test "x$ac_ct_CC" = x
; then
2562 case $cross_compiling:$ac_tool_warned in
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2566 ac_tool_warned
=yes ;;
2574 if test -z "$CC"; then
2575 if test -n "$ac_tool_prefix"; then
2576 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2577 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2579 $as_echo_n "checking for $ac_word... " >&6; }
2580 if ${ac_cv_prog_CC+:} false
; then :
2581 $as_echo_n "(cached) " >&6
2583 if test -n "$CC"; then
2584 ac_cv_prog_CC
="$CC" # Let the user override the test.
2586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir
=.
2591 for ac_exec_ext
in '' $ac_executable_extensions; do
2592 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2593 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 if test -n "$CC"; then
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2606 $as_echo "$CC" >&6; }
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2609 $as_echo "no" >&6; }
2615 if test -z "$CC"; then
2616 # Extract the first word of "cc", so it can be a program name with args.
2617 set dummy cc
; ac_word
=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_CC+:} false
; then :
2621 $as_echo_n "(cached) " >&6
2623 if test -n "$CC"; then
2624 ac_cv_prog_CC
="$CC" # Let the user override the test.
2627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir
=.
2632 for ac_exec_ext
in '' $ac_executable_extensions; do
2633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2634 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2635 ac_prog_rejected
=yes
2639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 if test $ac_prog_rejected = yes; then
2647 # We found a bogon in the path, so make sure we never use it.
2648 set dummy
$ac_cv_prog_CC
2650 if test $# != 0; then
2651 # We chose a different compiler from the bogus one.
2652 # However, it has the same basename, so the bogon will be chosen
2653 # first if we set CC to just the basename; use the full file name.
2655 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2661 if test -n "$CC"; then
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2663 $as_echo "$CC" >&6; }
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2666 $as_echo "no" >&6; }
2671 if test -z "$CC"; then
2672 if test -n "$ac_tool_prefix"; then
2673 for ac_prog
in cl.exe
2675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2676 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678 $as_echo_n "checking for $ac_word... " >&6; }
2679 if ${ac_cv_prog_CC+:} false
; then :
2680 $as_echo_n "(cached) " >&6
2682 if test -n "$CC"; then
2683 ac_cv_prog_CC
="$CC" # Let the user override the test.
2685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir
=.
2690 for ac_exec_ext
in '' $ac_executable_extensions; do
2691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2692 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 if test -n "$CC"; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2705 $as_echo "$CC" >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708 $as_echo "no" >&6; }
2712 test -n "$CC" && break
2715 if test -z "$CC"; then
2717 for ac_prog
in cl.exe
2719 # Extract the first word of "$ac_prog", so it can be a program name with args.
2720 set dummy
$ac_prog; ac_word
=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$ac_ct_CC"; then
2727 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir
=.
2734 for ac_exec_ext
in '' $ac_executable_extensions; do
2735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2736 ac_cv_prog_ac_ct_CC
="$ac_prog"
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2747 if test -n "$ac_ct_CC"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2749 $as_echo "$ac_ct_CC" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2756 test -n "$ac_ct_CC" && break
2759 if test "x$ac_ct_CC" = x
; then
2762 case $cross_compiling:$ac_tool_warned in
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2766 ac_tool_warned
=yes ;;
2775 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2777 as_fn_error $?
"no acceptable C compiler found in \$PATH
2778 See \`config.log' for more details" "$LINENO" 5; }
2780 # Provide some information about the compiler.
2781 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2784 for ac_option
in --version -v -V -qversion; do
2785 { { ac_try
="$ac_compiler $ac_option >&5"
2787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2791 $as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2794 if test -s conftest.err; then
2796 ... rest of stderr output deleted ...
2797 10q' conftest.err >conftest.er1
2798 cat conftest.er1 >&5
2800 rm -f conftest.er1 conftest.err
2801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2802 test $ac_status = 0; }
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2816 ac_clean_files_save=$ac_clean_files
2817 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2818 # Try to create an executable without -o first, disregard a.out.
2819 # It will help us diagnose broken compilers, and finding out an intuition
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2822 $as_echo_n "checking whether the C compiler works... " >&6; }
2823 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2825 # The possible output files:
2826 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2829 for ac_file in $ac_files
2832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2833 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2838 if { { ac_try="$ac_link_default"
2840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2841 *) ac_try_echo
=$ac_try;;
2843 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 $as_echo "$ac_try_echo"; } >&5
2845 (eval "$ac_link_default") 2>&5
2847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; }; then :
2849 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2850 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2851 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2852 # so that the user can short-circuit this test for compilers unknown to
2854 for ac_file
in $ac_files ''
2856 test -f "$ac_file" ||
continue
2858 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2861 # We found the default executable, but exeext='' is most
2865 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2867 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2869 # We set ac_cv_exeext here because the later test for it is not
2870 # safe: cross compilers may not add the suffix if given an `-o'
2871 # argument, so we may need to know it at that point already.
2872 # Even if this section looks crufty: it has the advantage of
2879 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2884 if test -z "$ac_file"; then :
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2886 $as_echo "no" >&6; }
2887 $as_echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.
$ac_ext >&5
2890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 as_fn_error
77 "C compiler cannot create executables
2893 See \`config.log' for more details" "$LINENO" 5; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2896 $as_echo "yes" >&6; }
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2899 $as_echo_n "checking for C compiler default output file name... " >&6; }
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2901 $as_echo "$ac_file" >&6; }
2902 ac_exeext
=$ac_cv_exeext
2904 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2905 ac_clean_files
=$ac_clean_files_save
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2907 $as_echo_n "checking for suffix of executables... " >&6; }
2908 if { { ac_try
="$ac_link"
2910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915 (eval "$ac_link") 2>&5
2917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2918 test $ac_status = 0; }; then :
2919 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2920 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2921 # work properly (i.e., refer to `conftest.exe'), while it won't with
2923 for ac_file
in conftest.exe conftest conftest.
*; do
2924 test -f "$ac_file" ||
continue
2926 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2927 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2935 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2936 See \`config.log' for more details" "$LINENO" 5; }
2938 rm -f conftest conftest
$ac_cv_exeext
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2940 $as_echo "$ac_cv_exeext" >&6; }
2942 rm -f conftest.
$ac_ext
2943 EXEEXT
=$ac_cv_exeext
2945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2951 FILE *f = fopen ("conftest.out", "w");
2952 return ferror (f) || fclose (f) != 0;
2958 ac_clean_files
="$ac_clean_files conftest.out"
2959 # Check that the compiler produces executables we can run. If not, either
2960 # the compiler is broken, or we cross compile.
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2962 $as_echo_n "checking whether we are cross compiling... " >&6; }
2963 if test "$cross_compiling" != yes; then
2964 { { ac_try
="$ac_link"
2966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970 $as_echo "$ac_try_echo"; } >&5
2971 (eval "$ac_link") 2>&5
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; }
2975 if { ac_try='./conftest$ac_cv_exeext'
2976 { { case "(($ac_try" in
2977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2978 *) ac_try_echo
=$ac_try;;
2980 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2981 $as_echo "$ac_try_echo"; } >&5
2982 (eval "$ac_try") 2>&5
2984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 test $ac_status = 0; }; }; then
2988 if test "$cross_compiling" = maybe
; then
2991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2993 as_fn_error $?
"cannot run C compiled programs.
2994 If you meant to cross compile, use \`--host'.
2995 See \`config.log' for more details" "$LINENO" 5; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3000 $as_echo "$cross_compiling" >&6; }
3002 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3003 ac_clean_files
=$ac_clean_files_save
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3005 $as_echo_n "checking for suffix of object files... " >&6; }
3006 if ${ac_cv_objext+:} false
; then :
3007 $as_echo_n "(cached) " >&6
3009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3020 rm -f conftest.o conftest.obj
3021 if { { ac_try
="$ac_compile"
3023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 $as_echo "$ac_try_echo"; } >&5
3028 (eval "$ac_compile") 2>&5
3030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3031 test $ac_status = 0; }; then :
3032 for ac_file in conftest.o conftest.obj conftest.*; do
3033 test -f "$ac_file" || continue;
3035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3036 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3041 $as_echo "$as_me: failed program was:" >&5
3042 sed 's/^/| /' conftest.$ac_ext >&5
3044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3046 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3047 See \
`config.log' for more details" "$LINENO" 5; }
3049 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3052 $as_echo "$ac_cv_objext" >&6; }
3053 OBJEXT=$ac_cv_objext
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3056 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3057 if ${ac_cv_c_compiler_gnu+:} false; then :
3058 $as_echo_n "(cached) " >&6
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3074 if ac_fn_c_try_compile "$LINENO"; then :
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3084 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3085 if test $ac_compiler_gnu = yes; then
3090 ac_test_CFLAGS=${CFLAGS+set}
3091 ac_save_CFLAGS=$CFLAGS
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3093 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3094 if ${ac_cv_prog_cc_g+:} false; then :
3095 $as_echo_n "(cached) " >&6
3097 ac_save_c_werror_flag=$ac_c_werror_flag
3098 ac_c_werror_flag=yes
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3112 if ac_fn_c_try_compile "$LINENO"; then :
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3127 if ac_fn_c_try_compile "$LINENO"; then :
3130 ac_c_werror_flag=$ac_save_c_werror_flag
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3143 if ac_fn_c_try_compile "$LINENO"; then :
3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3151 ac_c_werror_flag=$ac_save_c_werror_flag
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3154 $as_echo "$ac_cv_prog_cc_g" >&6; }
3155 if test "$ac_test_CFLAGS" = set; then
3156 CFLAGS=$ac_save_CFLAGS
3157 elif test $ac_cv_prog_cc_g = yes; then
3158 if test "$GCC" = yes; then
3164 if test "$GCC" = yes; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3171 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3172 if ${ac_cv_prog_cc_c89+:} false; then :
3173 $as_echo_n "(cached) " >&6
3175 ac_cv_prog_cc_c89=no
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3182 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3183 struct buf { int x; };
3184 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3185 static char *e (p, i)
3191 static char *f (char * (*g) (char **, int), char **p, ...)
3196 s = g (p, va_arg (v,int));
3201 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3202 function prototypes and stuff, but not '\xHH' hex character constants.
3203 These don't provoke an error unfortunately, instead are silently treated
3204 as 'x'. The following induces an error, until -std is added to get
3205 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3206 array size at least. It's necessary to write '\x00'==0 to get something
3207 that's true only with -std. */
3208 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3210 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3211 inside strings and character constants. */
3213 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3215 int test (int i, double x);
3216 struct s1 {int (*f) (int a);};
3217 struct s2 {int (*f) (double a);};
3218 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3224 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3229 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3230 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3232 CC="$ac_save_CC $ac_arg"
3233 if ac_fn_c_try_compile "$LINENO"; then :
3234 ac_cv_prog_cc_c89=$ac_arg
3236 rm -f core conftest.err conftest.$ac_objext
3237 test "x$ac_cv_prog_cc_c89" != "xno" && break
3239 rm -f conftest.$ac_ext
3244 case "x$ac_cv_prog_cc_c89" in
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3247 $as_echo "none needed" >&6; } ;;
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3250 $as_echo "unsupported" >&6; } ;;
3252 CC="$CC $ac_cv_prog_cc_c89"
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3254 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3256 if test "x$ac_cv_prog_cc_c89" != xno; then :
3261 ac_cpp='$CPP $CPPFLAGS'
3262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3267 ac_cpp='$CPP $CPPFLAGS'
3268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3272 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3273 if ${am_cv_prog_cc_c_o+:} false; then :
3274 $as_echo_n "(cached) " >&6
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3287 # Make sure it works both with $CC and with simple cc.
3288 # Following AC_PROG_CC_C_O, we do the test twice because some
3289 # compilers refuse to overwrite an existing .o file with -o,
3290 # though they will create one.
3291 am_cv_prog_cc_c_o=yes
3293 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3294 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); } \
3298 && test -f conftest2.$ac_objext; then
3301 am_cv_prog_cc_c_o=no
3305 rm -f core conftest*
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3309 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3310 if test "$am_cv_prog_cc_c_o" != yes; then
3311 # Losing compiler, so override with the script.
3312 # FIXME: It is wrong to rewrite CC.
3313 # But if we don't then we get into trouble of one sort or another.
3314 # A longer-term fix would be to have automake use am__CC in this case,
3315 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3316 CC="$am_aux_dir/compile $CC"
3319 ac_cpp='$CPP $CPPFLAGS'
3320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3327 ac_cpp='$CPP $CPPFLAGS'
3328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3332 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3333 # On Suns, sometimes $CPP names a directory.
3334 if test -n "$CPP" && test -d "$CPP"; then
3337 if test -z "$CPP"; then
3338 if ${ac_cv_prog_CPP+:} false; then :
3339 $as_echo_n "(cached) " >&6
3341 # Double quotes because CPP needs to be expanded
3342 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3345 for ac_c_preproc_warn_flag in '' yes
3347 # Use a header file that comes with gcc, so configuring glibc
3348 # with a fresh cross-compiler works.
3349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3350 # <limits.h> exists even on freestanding compilers.
3351 # On the NeXT, cc -E runs the code through the compiler's parser,
3352 # not just through cpp. "Syntax error" is here to catch this case.
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3356 # include <limits.h>
3358 # include <assert.h>
3362 if ac_fn_c_try_cpp "$LINENO"; then :
3365 # Broken: fails on valid input.
3368 rm -f conftest.err conftest.i conftest.$ac_ext
3370 # OK, works on sane cases. Now check whether nonexistent headers
3371 # can be detected and how.
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3374 #include <ac_nonexistent.h>
3376 if ac_fn_c_try_cpp "$LINENO"; then :
3377 # Broken: success on invalid input.
3380 # Passes both tests.
3384 rm -f conftest.err conftest.i conftest.$ac_ext
3387 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3388 rm -f conftest.i conftest.err conftest.
$ac_ext
3389 if $ac_preproc_ok; then :
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3402 $as_echo "$CPP" >&6; }
3404 for ac_c_preproc_warn_flag
in '' yes
3406 # Use a header file that comes with gcc, so configuring glibc
3407 # with a fresh cross-compiler works.
3408 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3409 # <limits.h> exists even on freestanding compilers.
3410 # On the NeXT, cc -E runs the code through the compiler's parser,
3411 # not just through cpp. "Syntax error" is here to catch this case.
3412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3415 # include <limits.h>
3417 # include <assert.h>
3421 if ac_fn_c_try_cpp
"$LINENO"; then :
3424 # Broken: fails on valid input.
3427 rm -f conftest.err conftest.i conftest.
$ac_ext
3429 # OK, works on sane cases. Now check whether nonexistent headers
3430 # can be detected and how.
3431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3433 #include <ac_nonexistent.h>
3435 if ac_fn_c_try_cpp
"$LINENO"; then :
3436 # Broken: success on invalid input.
3439 # Passes both tests.
3443 rm -f conftest.err conftest.i conftest.
$ac_ext
3446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3447 rm -f conftest.i conftest.err conftest.
$ac_ext
3448 if $ac_preproc_ok; then :
3451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3454 See \`config.log' for more details" "$LINENO" 5; }
3458 ac_cpp
='$CPP $CPPFLAGS'
3459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3465 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3466 if ${ac_cv_path_GREP+:} false
; then :
3467 $as_echo_n "(cached) " >&6
3469 if test -z "$GREP"; then
3470 ac_path_GREP_found
=false
3471 # Loop through the user's path and test for each of PROGNAME-LIST
3472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3473 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3476 test -z "$as_dir" && as_dir
=.
3477 for ac_prog
in grep ggrep
; do
3478 for ac_exec_ext
in '' $ac_executable_extensions; do
3479 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3480 as_fn_executable_p
"$ac_path_GREP" ||
continue
3481 # Check for GNU ac_path_GREP and select it if it is found.
3482 # Check for GNU $ac_path_GREP
3483 case `"$ac_path_GREP" --version 2>&1` in
3485 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3488 $as_echo_n 0123456789 >"conftest.in"
3491 cat "conftest.in" "conftest.in" >"conftest.tmp"
3492 mv "conftest.tmp" "conftest.in"
3493 cp "conftest.in" "conftest.nl"
3494 $as_echo 'GREP' >> "conftest.nl"
3495 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3496 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3497 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3498 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3499 # Best one so far, save it but keep looking for a better one
3500 ac_cv_path_GREP
="$ac_path_GREP"
3501 ac_path_GREP_max
=$ac_count
3503 # 10*(2^10) chars as input seems more than enough
3504 test $ac_count -gt 10 && break
3506 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3509 $ac_path_GREP_found && break 3
3514 if test -z "$ac_cv_path_GREP"; then
3515 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3518 ac_cv_path_GREP
=$GREP
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3523 $as_echo "$ac_cv_path_GREP" >&6; }
3524 GREP
="$ac_cv_path_GREP"
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3528 $as_echo_n "checking for egrep... " >&6; }
3529 if ${ac_cv_path_EGREP+:} false
; then :
3530 $as_echo_n "(cached) " >&6
3532 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3533 then ac_cv_path_EGREP
="$GREP -E"
3535 if test -z "$EGREP"; then
3536 ac_path_EGREP_found
=false
3537 # Loop through the user's path and test for each of PROGNAME-LIST
3538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3539 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3542 test -z "$as_dir" && as_dir
=.
3543 for ac_prog
in egrep; do
3544 for ac_exec_ext
in '' $ac_executable_extensions; do
3545 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3546 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3547 # Check for GNU ac_path_EGREP and select it if it is found.
3548 # Check for GNU $ac_path_EGREP
3549 case `"$ac_path_EGREP" --version 2>&1` in
3551 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3554 $as_echo_n 0123456789 >"conftest.in"
3557 cat "conftest.in" "conftest.in" >"conftest.tmp"
3558 mv "conftest.tmp" "conftest.in"
3559 cp "conftest.in" "conftest.nl"
3560 $as_echo 'EGREP' >> "conftest.nl"
3561 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3562 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3563 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3564 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3565 # Best one so far, save it but keep looking for a better one
3566 ac_cv_path_EGREP
="$ac_path_EGREP"
3567 ac_path_EGREP_max
=$ac_count
3569 # 10*(2^10) chars as input seems more than enough
3570 test $ac_count -gt 10 && break
3572 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3575 $ac_path_EGREP_found && break 3
3580 if test -z "$ac_cv_path_EGREP"; then
3581 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3584 ac_cv_path_EGREP
=$EGREP
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3590 $as_echo "$ac_cv_path_EGREP" >&6; }
3591 EGREP
="$ac_cv_path_EGREP"
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3595 $as_echo_n "checking for ANSI C header files... " >&6; }
3596 if ${ac_cv_header_stdc+:} false
; then :
3597 $as_echo_n "(cached) " >&6
3599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3614 if ac_fn_c_try_compile
"$LINENO"; then :
3615 ac_cv_header_stdc
=yes
3617 ac_cv_header_stdc
=no
3619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3621 if test $ac_cv_header_stdc = yes; then
3622 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3629 $EGREP "memchr" >/dev
/null
2>&1; then :
3632 ac_cv_header_stdc
=no
3638 if test $ac_cv_header_stdc = yes; then
3639 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3646 $EGREP "free" >/dev
/null
2>&1; then :
3649 ac_cv_header_stdc
=no
3655 if test $ac_cv_header_stdc = yes; then
3656 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3657 if test "$cross_compiling" = yes; then :
3660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3664 #if ((' ' & 0x0FF) == 0x020)
3665 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3666 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3668 # define ISLOWER(c) \
3669 (('a' <= (c) && (c) <= 'i') \
3670 || ('j' <= (c) && (c) <= 'r') \
3671 || ('s' <= (c) && (c) <= 'z'))
3672 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3675 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3680 for (i = 0; i < 256; i++)
3681 if (XOR (islower (i), ISLOWER (i))
3682 || toupper (i) != TOUPPER (i))
3687 if ac_fn_c_try_run
"$LINENO"; then :
3690 ac_cv_header_stdc
=no
3692 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3693 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3699 $as_echo "$ac_cv_header_stdc" >&6; }
3700 if test $ac_cv_header_stdc = yes; then
3702 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3706 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3707 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3708 inttypes.h stdint.h unistd.h
3710 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3711 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3713 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3714 cat >>confdefs.h
<<_ACEOF
3715 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3724 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3725 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3732 if test "$MINIX" = yes; then
3734 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3737 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3740 $as_echo "#define _MINIX 1" >>confdefs.h
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3746 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3747 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3748 $as_echo_n "(cached) " >&6
3750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3753 # define __EXTENSIONS__ 1
3754 $ac_includes_default
3763 if ac_fn_c_try_compile
"$LINENO"; then :
3764 ac_cv_safe_to_define___extensions__
=yes
3766 ac_cv_safe_to_define___extensions__
=no
3768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3771 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3772 test $ac_cv_safe_to_define___extensions__ = yes &&
3773 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3775 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3777 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3779 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3781 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3784 am__api_version
='1.15'
3786 # Find a good install program. We prefer a C program (faster),
3787 # so one script is as good as another. But avoid the broken or
3788 # incompatible versions:
3789 # SysV /etc/install, /usr/sbin/install
3790 # SunOS /usr/etc/install
3791 # IRIX /sbin/install
3793 # AmigaOS /C/install, which installs bootblocks on floppy discs
3794 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3795 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3796 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3797 # OS/2's system install, which has a completely different semantic
3798 # ./install, which can be erroneously created by make from ./install.sh.
3799 # Reject install programs that cannot install multiple files.
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3801 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3802 if test -z "$INSTALL"; then
3803 if ${ac_cv_path_install+:} false
; then :
3804 $as_echo_n "(cached) " >&6
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir
=.
3811 # Account for people who put trailing slashes in PATH elements.
3812 case $as_dir/ in #((
3813 .
/ | .
// |
/[cC
]/* | \
3814 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3815 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3818 # OSF1 and SCO ODT 3.0 have their own names for install.
3819 # Don't use installbsd from OSF since it installs stuff as root
3821 for ac_prog
in ginstall scoinst
install; do
3822 for ac_exec_ext
in '' $ac_executable_extensions; do
3823 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3824 if test $ac_prog = install &&
3825 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3826 # AIX install. It has an incompatible calling convention.
3828 elif test $ac_prog = install &&
3829 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3830 # program-specific install script used by HP pwplus--don't use.
3833 rm -rf conftest.one conftest.two conftest.dir
3834 echo one
> conftest.one
3835 echo two
> conftest.two
3837 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3838 test -s conftest.one
&& test -s conftest.two
&&
3839 test -s conftest.dir
/conftest.one
&&
3840 test -s conftest.dir
/conftest.two
3842 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3855 rm -rf conftest.one conftest.two conftest.dir
3858 if test "${ac_cv_path_install+set}" = set; then
3859 INSTALL
=$ac_cv_path_install
3861 # As a last resort, use the slow shell script. Don't cache a
3862 # value for INSTALL within a source directory, because that will
3863 # break other packages using the cache if that directory is
3864 # removed, or if the value is a relative name.
3865 INSTALL
=$ac_install_sh
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3869 $as_echo "$INSTALL" >&6; }
3871 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3872 # It thinks the first close brace ends the variable substitution.
3873 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3875 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3877 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3880 $as_echo_n "checking whether build environment is sane... " >&6; }
3881 # Reject unsafe characters in $srcdir or the absolute working directory
3882 # name. Accept space and tab only in the latter.
3886 *[\\\"\
#\$\&\'\`$am_lf]*)
3887 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3890 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3891 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3894 # Do 'set' in a subshell so we don't clobber the current shell's
3895 # arguments. Must try -L first in case configure is actually a
3896 # symlink; some systems play weird games with the mod time of symlinks
3897 # (eg FreeBSD returns the mod time of the symlink's containing
3901 for am_try
in 1 2; do
3902 echo "timestamp, slept: $am_has_slept" > conftest.
file
3903 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3904 if test "$*" = "X"; then
3906 set X
`ls -t "$srcdir/configure" conftest.file`
3908 if test "$*" != "X $srcdir/configure conftest.file" \
3909 && test "$*" != "X conftest.file $srcdir/configure"; then
3911 # If neither matched, then we have a broken ls. This can happen
3912 # if, for instance, CONFIG_SHELL is bash and it inherits a
3913 # broken ls alias from the environment. This has actually
3914 # happened. Such a system could not be considered "sane".
3915 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3916 alias in your environment" "$LINENO" 5
3918 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3925 test "$2" = conftest.
file
3931 as_fn_error $?
"newly created file is older than distributed files!
3932 Check your system clock" "$LINENO" 5
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3935 $as_echo "yes" >&6; }
3936 # If we didn't sleep, we still need to ensure time stamps of config.status and
3937 # generated files are strictly newer.
3939 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3946 test "$program_prefix" != NONE
&&
3947 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3948 # Use a double $ so make ignores it.
3949 test "$program_suffix" != NONE
&&
3950 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3951 # Double any \ or $.
3952 # By default was `s,x,x', remove it if useless.
3953 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3954 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3956 if test x
"${MISSING+set}" != xset
; then
3959 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3961 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3964 # Use eval to expand $SHELL
3965 if eval "$MISSING --is-lightweight"; then
3966 am_missing_run
="$MISSING "
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3970 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3973 if test x
"${install_sh+set}" != xset
; then
3976 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3978 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3982 # Installed binaries are usually stripped using 'strip' when the user
3983 # run "make install-strip". However 'strip' might not be the right
3984 # tool to use in cross-compilation environments, therefore Automake
3985 # will honor the 'STRIP' environment variable to overrule this program.
3986 if test "$cross_compiling" != no
; then
3987 if test -n "$ac_tool_prefix"; then
3988 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3989 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_prog_STRIP+:} false
; then :
3993 $as_echo_n "(cached) " >&6
3995 if test -n "$STRIP"; then
3996 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4002 test -z "$as_dir" && as_dir
=.
4003 for ac_exec_ext
in '' $ac_executable_extensions; do
4004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4005 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 STRIP
=$ac_cv_prog_STRIP
4016 if test -n "$STRIP"; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4018 $as_echo "$STRIP" >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4026 if test -z "$ac_cv_prog_STRIP"; then
4028 # Extract the first word of "strip", so it can be a program name with args.
4029 set dummy strip
; ac_word
=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4033 $as_echo_n "(cached) " >&6
4035 if test -n "$ac_ct_STRIP"; then
4036 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4042 test -z "$as_dir" && as_dir
=.
4043 for ac_exec_ext
in '' $ac_executable_extensions; do
4044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4045 ac_cv_prog_ac_ct_STRIP
="strip"
4046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4055 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4056 if test -n "$ac_ct_STRIP"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4058 $as_echo "$ac_ct_STRIP" >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4064 if test "x$ac_ct_STRIP" = x
; then
4067 case $cross_compiling:$ac_tool_warned in
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4071 ac_tool_warned
=yes ;;
4076 STRIP
="$ac_cv_prog_STRIP"
4080 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4083 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4084 if test -z "$MKDIR_P"; then
4085 if ${ac_cv_path_mkdir+:} false
; then :
4086 $as_echo_n "(cached) " >&6
4088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4089 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4092 test -z "$as_dir" && as_dir
=.
4093 for ac_prog
in mkdir gmkdir
; do
4094 for ac_exec_ext
in '' $ac_executable_extensions; do
4095 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4096 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4097 'mkdir (GNU coreutils) '* | \
4098 'mkdir (coreutils) '* | \
4099 'mkdir (fileutils) '4.1*)
4100 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4110 test -d .
/--version && rmdir .
/--version
4111 if test "${ac_cv_path_mkdir+set}" = set; then
4112 MKDIR_P
="$ac_cv_path_mkdir -p"
4114 # As a last resort, use the slow shell script. Don't cache a
4115 # value for MKDIR_P within a source directory, because that will
4116 # break other packages using the cache if that directory is
4117 # removed, or if the value is a relative name.
4118 MKDIR_P
="$ac_install_sh -d"
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4122 $as_echo "$MKDIR_P" >&6; }
4124 for ac_prog
in gawk mawk nawk
awk
4126 # Extract the first word of "$ac_prog", so it can be a program name with args.
4127 set dummy
$ac_prog; ac_word
=$2
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4129 $as_echo_n "checking for $ac_word... " >&6; }
4130 if ${ac_cv_prog_AWK+:} false
; then :
4131 $as_echo_n "(cached) " >&6
4133 if test -n "$AWK"; then
4134 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4140 test -z "$as_dir" && as_dir
=.
4141 for ac_exec_ext
in '' $ac_executable_extensions; do
4142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4143 ac_cv_prog_AWK
="$ac_prog"
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 if test -n "$AWK"; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4156 $as_echo "$AWK" >&6; }
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4163 test -n "$AWK" && break
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4167 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4169 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4170 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4171 $as_echo_n "(cached) " >&6
4173 cat >conftest.
make <<\_ACEOF
4176 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4178 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4179 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4181 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4183 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4187 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4189 $as_echo "yes" >&6; }
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193 $as_echo "no" >&6; }
4194 SET_MAKE
="MAKE=${MAKE-make}"
4197 rm -rf .tst
2>/dev
/null
4198 mkdir .tst
2>/dev
/null
4199 if test -d .tst
; then
4204 rmdir .tst
2>/dev
/null
4206 DEPDIR
="${am__leading_dot}deps"
4208 ac_config_commands
="$ac_config_commands depfiles"
4211 am_make
=${MAKE-make}
4212 cat > confinc
<< 'END'
4214 @
echo this is the am__doit target
4217 # If we don't find an include directive, just comment out the code.
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4219 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4223 # First try GNU make style include.
4224 echo "include confinc" > confmf
4225 # Ignore all kinds of additional output from 'make'.
4226 case `$am_make -s -f confmf 2> /dev/null` in #(
4227 *the\ am__doit\ target
*)
4233 # Now try BSD make style include.
4234 if test "$am__include" = "#"; then
4235 echo '.include "confinc"' > confmf
4236 case `$am_make -s -f confmf 2> /dev/null` in #(
4237 *the\ am__doit\ target
*)
4238 am__include
=.include
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4247 $as_echo "$_am_result" >&6; }
4248 rm -f confinc confmf
4250 # Check whether --enable-dependency-tracking was given.
4251 if test "${enable_dependency_tracking+set}" = set; then :
4252 enableval
=$enable_dependency_tracking;
4255 if test "x$enable_dependency_tracking" != xno
; then
4256 am_depcomp
="$ac_aux_dir/depcomp"
4260 if test "x$enable_dependency_tracking" != xno; then
4269 # Check whether --enable-silent-rules was given.
4270 if test "${enable_silent_rules+set}" = set; then :
4271 enableval
=$enable_silent_rules;
4274 case $enable_silent_rules in # (((
4275 yes) AM_DEFAULT_VERBOSITY
=0;;
4276 no
) AM_DEFAULT_VERBOSITY
=1;;
4277 *) AM_DEFAULT_VERBOSITY
=1;;
4279 am_make
=${MAKE-make}
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4281 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4282 if ${am_cv_make_support_nested_variables+:} false
; then :
4283 $as_echo_n "(cached) " >&6
4285 if $as_echo 'TRUE=$(BAR$(V))
4291 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4292 am_cv_make_support_nested_variables
=yes
4294 am_cv_make_support_nested_variables
=no
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4298 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4299 if test $am_cv_make_support_nested_variables = yes; then
4301 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4303 AM_V
=$AM_DEFAULT_VERBOSITY
4304 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4308 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4309 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4310 # is not polluted with repeated "-I."
4311 am__isrc
=' -I$(srcdir)'
4312 # test to see if srcdir already configured
4313 if test -f $srcdir/config.status
; then
4314 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4318 # test whether we have cygpath
4319 if test -z "$CYGPATH_W"; then
4320 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4321 CYGPATH_W
='cygpath -w'
4328 # Define the identity of the package.
4333 cat >>confdefs.h
<<_ACEOF
4334 #define PACKAGE "$PACKAGE"
4338 cat >>confdefs.h
<<_ACEOF
4339 #define VERSION "$VERSION"
4342 # Some tools Automake needs.
4344 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4347 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4350 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4353 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4356 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4358 # For better backward compatibility. To be removed once Automake 1.9.x
4359 # dies out for good. For more background, see:
4360 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4361 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4362 mkdir_p
='$(MKDIR_P)'
4364 # We need awk for the "check" target (and possibly the TAP driver). The
4365 # system "awk" is bad on some platforms.
4366 # Always define AMTAR for backward compatibility. Yes, it's still used
4367 # in the wild :-( We should find a proper way to deprecate it ...
4371 # We'll loop over all known methods to create a tar archive until one works.
4372 _am_tools
='gnutar pax cpio none'
4374 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4380 depcc
="$CC" am_compiler_list
=
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4383 $as_echo_n "checking dependency style of $depcc... " >&6; }
4384 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4388 # We make a subdir and do the tests there. Otherwise we can end up
4389 # making bogus files that we don't know about and never remove. For
4390 # instance it was reported that on HP-UX the gcc test will end up
4391 # making a dummy file named 'D' -- because '-MD' means "put the output
4395 # Copy depcomp to subdir because otherwise we won't find it if we're
4396 # using a relative directory.
4397 cp "$am_depcomp" conftest.dir
4399 # We will build objects and dependencies in a subdirectory because
4400 # it helps to detect inapplicable dependency modes. For instance
4401 # both Tru64's cc and ICC support -MD to output dependencies as a
4402 # side effect of compilation, but ICC will put the dependencies in
4403 # the current directory while Tru64 will put them in the object
4407 am_cv_CC_dependencies_compiler_type
=none
4408 if test "$am_compiler_list" = ""; then
4409 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4412 case " $depcc " in #(
4413 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4416 for depmode
in $am_compiler_list; do
4417 # Setup a source with many dependencies, because some compilers
4418 # like to wrap large dependency lists on column 80 (with \), and
4419 # we should not choose a depcomp mode which is confused by this.
4421 # We need to recreate these files for each test, as the compiler may
4422 # overwrite some of them when testing with obscure command lines.
4423 # This happens at least with the AIX C compiler.
4425 for i
in 1 2 3 4 5 6; do
4426 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4427 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4428 # Solaris 10 /bin/sh.
4429 echo '/* dummy */' > sub
/conftst
$i.h
4431 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4433 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4434 # mode. It turns out that the SunPro C++ compiler does not properly
4435 # handle '-M -o', and we need to detect this. Also, some Intel
4436 # versions had trouble with output in subdirs.
4437 am__obj
=sub
/conftest.
${OBJEXT-o}
4438 am__minus_obj
="-o $am__obj"
4441 # This depmode causes a compiler race in universal mode.
4442 test "$am__universal" = false ||
continue
4445 # After this tag, mechanisms are not by side-effect, so they'll
4446 # only be used when explicitly requested.
4447 if test "x$enable_dependency_tracking" = xyes
; then
4453 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4454 # This compiler won't grok '-c -o', but also, the minuso test has
4455 # not run yet. These depmodes are late enough in the game, and
4456 # so weak that their functioning should not be impacted.
4457 am__obj
=conftest.
${OBJEXT-o}
4462 if depmode
=$depmode \
4463 source=sub
/conftest.c object
=$am__obj \
4464 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4465 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4466 >/dev
/null
2>conftest.err
&&
4467 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4468 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4469 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4470 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4471 # icc doesn't choke on unknown options, it will just issue warnings
4472 # or remarks (even with -Werror). So we grep stderr for any message
4473 # that says an option was ignored or not supported.
4474 # When given -MP, icc 7.0 and 7.1 complain thusly:
4475 # icc: Command line warning: ignoring option '-M'; no argument required
4476 # The diagnosis changed in icc 8.0:
4477 # icc: Command line remark: option '-MP' not supported
4478 if (grep 'ignoring option' conftest.err ||
4479 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4480 am_cv_CC_dependencies_compiler_type
=$depmode
4489 am_cv_CC_dependencies_compiler_type
=none
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4494 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4495 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4498 test "x$enable_dependency_tracking" != xno \
4499 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4501 am__fastdepCC_FALSE
='#'
4503 am__fastdepCC_TRUE
='#'
4504 am__fastdepCC_FALSE
=
4509 # POSIX will say in a future version that running "rm -f" with no argument
4510 # is OK; and we want to be able to make that assumption in our Makefile
4511 # recipes. So use an aggressive probe to check that the usage we want is
4512 # actually supported "in the wild" to an acceptable degree.
4513 # See automake bug#10828.
4514 # To make any issue more visible, cause the running configure to be aborted
4515 # by default if the 'rm' program in use doesn't match our expectations; the
4516 # user can still override this though.
4517 if rm -f && rm -fr && rm -rf; then : OK
; else
4521 Your 'rm' program seems unable to run without file operands specified
4522 on the command line, even when the '-f' option is present. This is contrary
4523 to the behaviour of most rm programs out there, and not conforming with
4524 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4526 Please tell bug-automake@gnu.org about your system, including the value
4527 of your $PATH and any error possibly output before this message. This
4528 can help us improve future automake versions.
4531 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4532 echo 'Configuration will proceed anyway, since you have set the' >&2
4533 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4537 Aborting the configuration process, to ensure you take notice of the issue.
4539 You can download and install GNU coreutils to get an 'rm' implementation
4540 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4542 If you want to complete the configuration process using your problematic
4543 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4544 to "yes", and re-run configure.
4547 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4551 # Check whether --enable-silent-rules was given.
4552 if test "${enable_silent_rules+set}" = set; then :
4553 enableval
=$enable_silent_rules;
4556 case $enable_silent_rules in # (((
4557 yes) AM_DEFAULT_VERBOSITY
=0;;
4558 no
) AM_DEFAULT_VERBOSITY
=1;;
4559 *) AM_DEFAULT_VERBOSITY
=0;;
4561 am_make
=${MAKE-make}
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4563 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4564 if ${am_cv_make_support_nested_variables+:} false
; then :
4565 $as_echo_n "(cached) " >&6
4567 if $as_echo 'TRUE=$(BAR$(V))
4573 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4574 am_cv_make_support_nested_variables
=yes
4576 am_cv_make_support_nested_variables
=no
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4580 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4581 if test $am_cv_make_support_nested_variables = yes; then
4583 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4585 AM_V
=$AM_DEFAULT_VERBOSITY
4586 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4591 # Checks for programs.
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4593 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4595 ac_make=`$as_echo "$2" | sed 's
/+/p
/g
; s
/[^a-zA-Z0-9_
]/_
/g
'`
4596 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4597 $as_echo_n "(cached) " >&6
4599 cat >conftest.make <<\_ACEOF
4602 @echo '@@@
%%%=$
(MAKE
)=@@@
%%%'
4604 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4605 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4607 eval ac_cv_prog_make_${ac_make}_set=yes;;
4609 eval ac_cv_prog_make_${ac_make}_set=no;;
4613 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4615 $as_echo "yes" >&6; }
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4620 SET_MAKE="MAKE=${MAKE-make}"
4624 ac_cpp='$CPP $CPPFLAGS'
4625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4626 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4628 if test -n "$ac_tool_prefix"; then
4629 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4630 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4632 $as_echo_n "checking for $ac_word... " >&6; }
4633 if ${ac_cv_prog_CC+:} false; then :
4634 $as_echo_n "(cached) " >&6
4636 if test -n "$CC"; then
4637 ac_cv_prog_CC="$CC" # Let the user override the test.
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 test -z "$as_dir" && as_dir=.
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4646 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 if test -n "$CC"; then
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4659 $as_echo "$CC" >&6; }
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4662 $as_echo "no" >&6; }
4667 if test -z "$ac_cv_prog_CC"; then
4669 # Extract the first word of "gcc", so it can be a program name with args.
4670 set dummy gcc; ac_word=$2
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4672 $as_echo_n "checking for $ac_word... " >&6; }
4673 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4674 $as_echo_n "(cached) " >&6
4676 if test -n "$ac_ct_CC"; then
4677 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683 test -z "$as_dir" && as_dir=.
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4686 ac_cv_prog_ac_ct_CC="gcc"
4687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4697 if test -n "$ac_ct_CC"; then
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4699 $as_echo "$ac_ct_CC" >&6; }
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 $as_echo "no" >&6; }
4705 if test "x$ac_ct_CC" = x; then
4708 case $cross_compiling:$ac_tool_warned in
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4712 ac_tool_warned=yes ;;
4720 if test -z "$CC"; then
4721 if test -n "$ac_tool_prefix"; then
4722 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4723 set dummy ${ac_tool_prefix}cc; ac_word=$2
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4725 $as_echo_n "checking for $ac_word... " >&6; }
4726 if ${ac_cv_prog_CC+:} false; then :
4727 $as_echo_n "(cached) " >&6
4729 if test -n "$CC"; then
4730 ac_cv_prog_CC="$CC" # Let the user override the test.
4732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4736 test -z "$as_dir" && as_dir=.
4737 for ac_exec_ext in '' $ac_executable_extensions; do
4738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4739 ac_cv_prog_CC="${ac_tool_prefix}cc"
4740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4750 if test -n "$CC"; then
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4752 $as_echo "$CC" >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4761 if test -z "$CC"; then
4762 # Extract the first word of "cc", so it can be a program name with args.
4763 set dummy cc; ac_word=$2
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765 $as_echo_n "checking for $ac_word... " >&6; }
4766 if ${ac_cv_prog_CC+:} false; then :
4767 $as_echo_n "(cached) " >&6
4769 if test -n "$CC"; then
4770 ac_cv_prog_CC="$CC" # Let the user override the test.
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777 test -z "$as_dir" && as_dir=.
4778 for ac_exec_ext in '' $ac_executable_extensions; do
4779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4780 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4781 ac_prog_rejected=yes
4785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4792 if test $ac_prog_rejected = yes; then
4793 # We found a bogon in the path, so make sure we never use it.
4794 set dummy $ac_cv_prog_CC
4796 if test $# != 0; then
4797 # We chose a different compiler from the bogus one.
4798 # However, it has the same basename, so the bogon will be chosen
4799 # first if we set CC to just the basename; use the full file name.
4801 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4807 if test -n "$CC"; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4809 $as_echo "$CC" >&6; }
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4817 if test -z "$CC"; then
4818 if test -n "$ac_tool_prefix"; then
4819 for ac_prog in cl.exe
4821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4824 $as_echo_n "checking for $ac_word... " >&6; }
4825 if ${ac_cv_prog_CC+:} false; then :
4826 $as_echo_n "(cached) " >&6
4828 if test -n "$CC"; then
4829 ac_cv_prog_CC="$CC" # Let the user override the test.
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 test -z "$as_dir" && as_dir=.
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 if test -n "$CC"; then
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4851 $as_echo "$CC" >&6; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 $as_echo "no" >&6; }
4858 test -n "$CC" && break
4861 if test -z "$CC"; then
4863 for ac_prog in cl.exe
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy $ac_prog; ac_word=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$ac_ct_CC"; then
4873 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir=.
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_ac_ct_CC="$ac_prog"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4893 if test -n "$ac_ct_CC"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4895 $as_echo "$ac_ct_CC" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4902 test -n "$ac_ct_CC" && break
4905 if test "x$ac_ct_CC" = x; then
4908 case $cross_compiling:$ac_tool_warned in
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912 ac_tool_warned=yes ;;
4921 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4922 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
4923 as_fn_error $? "no acceptable C compiler found in \$PATH
4924 See \`config.log
' for more details" "$LINENO" 5; }
4926 # Provide some information about the compiler.
4927 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4930 for ac_option in --version -v -V -qversion; do
4931 { { ac_try="$ac_compiler $ac_option >&5"
4933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4937 $as_echo "$ac_try_echo"; } >&5
4938 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4940 if test -s conftest.err; then
4942 ... rest of stderr output deleted ...
4943 10q
' conftest.err >conftest.er1
4944 cat conftest.er1 >&5
4946 rm -f conftest.er1 conftest.err
4947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4948 test $ac_status = 0; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4952 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4953 if ${ac_cv_c_compiler_gnu+:} false; then :
4954 $as_echo_n "(cached) " >&6
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4970 if ac_fn_c_try_compile "$LINENO"; then :
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4980 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4981 if test $ac_compiler_gnu = yes; then
4986 ac_test_CFLAGS=${CFLAGS+set}
4987 ac_save_CFLAGS=$CFLAGS
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4989 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4990 if ${ac_cv_prog_cc_g+:} false; then :
4991 $as_echo_n "(cached) " >&6
4993 ac_save_c_werror_flag=$ac_c_werror_flag
4994 ac_c_werror_flag=yes
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5008 if ac_fn_c_try_compile "$LINENO"; then :
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5023 if ac_fn_c_try_compile "$LINENO"; then :
5026 ac_c_werror_flag=$ac_save_c_werror_flag
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5039 if ac_fn_c_try_compile "$LINENO"; then :
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5047 ac_c_werror_flag=$ac_save_c_werror_flag
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5050 $as_echo "$ac_cv_prog_cc_g" >&6; }
5051 if test "$ac_test_CFLAGS" = set; then
5052 CFLAGS=$ac_save_CFLAGS
5053 elif test $ac_cv_prog_cc_g = yes; then
5054 if test "$GCC" = yes; then
5060 if test "$GCC" = yes; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5067 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5068 if ${ac_cv_prog_cc_c89+:} false; then :
5069 $as_echo_n "(cached) " >&6
5071 ac_cv_prog_cc_c89=no
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5078 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
5079 struct buf
{ int x
; };
5080 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
5081 static char
*e
(p
, i
)
5087 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
5092 s
= g
(p
, va_arg
(v
,int
));
5097 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
5098 function prototypes and stuff
, but not
'\xHH' hex character constants.
5099 These don
't provoke an error unfortunately, instead are silently treated
5100 as 'x
'. The following induces an error, until -std is added to get
5101 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
5102 array size at least. It's necessary to
write '\x00'==0 to get something
5103 that
's true only with -std. */
5104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5107 inside strings and character constants. */
5109 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
5111 int test (int i, double x);
5112 struct s1 {int (*f) (int a);};
5113 struct s2 {int (*f) (double a);};
5114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5128 CC="$ac_save_CC $ac_arg"
5129 if ac_fn_c_try_compile "$LINENO"; then :
5130 ac_cv_prog_cc_c89=$ac_arg
5132 rm -f core conftest.err conftest.$ac_objext
5133 test "x$ac_cv_prog_cc_c89" != "xno" && break
5135 rm -f conftest.$ac_ext
5140 case "x$ac_cv_prog_cc_c89" in
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5143 $as_echo "none needed" >&6; } ;;
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5146 $as_echo "unsupported" >&6; } ;;
5148 CC="$CC $ac_cv_prog_cc_c89"
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5150 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5152 if test "x$ac_cv_prog_cc_c89" != xno; then :
5157 ac_cpp='$CPP $CPPFLAGS'
5158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5159 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5163 ac_cpp='$CPP $CPPFLAGS'
5164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5165 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5168 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5169 if ${am_cv_prog_cc_c_o+:} false; then :
5170 $as_echo_n "(cached) " >&6
5172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5183 # Make sure it works both with $CC and with simple cc.
5184 # Following AC_PROG_CC_C_O, we do the test twice because some
5185 # compilers refuse to overwrite an existing .o file with -o,
5186 # though they will create one.
5187 am_cv_prog_cc_c_o=yes
5189 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5190 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); } \
5194 && test -f conftest2.$ac_objext; then
5197 am_cv_prog_cc_c_o=no
5201 rm -f core conftest*
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5205 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5206 if test "$am_cv_prog_cc_c_o" != yes; then
5207 # Losing compiler, so override with the script.
5208 # FIXME: It is wrong to rewrite CC.
5209 # But if we don't
then we get into trouble of one
sort or another.
5210 # A longer-term fix would be to have automake use am__CC in this case,
5211 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5212 CC
="$am_aux_dir/compile $CC"
5215 ac_cpp
='$CPP $CPPFLAGS'
5216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5221 if test -n "$ac_tool_prefix"; then
5222 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5223 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_prog_RANLIB+:} false
; then :
5227 $as_echo_n "(cached) " >&6
5229 if test -n "$RANLIB"; then
5230 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir
=.
5237 for ac_exec_ext
in '' $ac_executable_extensions; do
5238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5239 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 RANLIB
=$ac_cv_prog_RANLIB
5250 if test -n "$RANLIB"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5252 $as_echo "$RANLIB" >&6; }
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5260 if test -z "$ac_cv_prog_RANLIB"; then
5261 ac_ct_RANLIB
=$RANLIB
5262 # Extract the first word of "ranlib", so it can be a program name with args.
5263 set dummy ranlib
; ac_word
=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5267 $as_echo_n "(cached) " >&6
5269 if test -n "$ac_ct_RANLIB"; then
5270 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir
=.
5277 for ac_exec_ext
in '' $ac_executable_extensions; do
5278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5290 if test -n "$ac_ct_RANLIB"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5292 $as_echo "$ac_ct_RANLIB" >&6; }
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5298 if test "x$ac_ct_RANLIB" = x
; then
5301 case $cross_compiling:$ac_tool_warned in
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5305 ac_tool_warned
=yes ;;
5307 RANLIB
=$ac_ct_RANLIB
5310 RANLIB
="$ac_cv_prog_RANLIB"
5313 if test -n "$ac_tool_prefix"; then
5314 for ac_prog
in ar lib
"link -lib"
5316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5317 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if ${ac_cv_prog_AR+:} false
; then :
5321 $as_echo_n "(cached) " >&6
5323 if test -n "$AR"; then
5324 ac_cv_prog_AR
="$AR" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5333 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 if test -n "$AR"; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5346 $as_echo "$AR" >&6; }
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5353 test -n "$AR" && break
5356 if test -z "$AR"; then
5358 for ac_prog
in ar lib
"link -lib"
5360 # Extract the first word of "$ac_prog", so it can be a program name with args.
5361 set dummy
$ac_prog; ac_word
=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5365 $as_echo_n "(cached) " >&6
5367 if test -n "$ac_ct_AR"; then
5368 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5374 test -z "$as_dir" && as_dir
=.
5375 for ac_exec_ext
in '' $ac_executable_extensions; do
5376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_ac_ct_AR
="$ac_prog"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5388 if test -n "$ac_ct_AR"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5390 $as_echo "$ac_ct_AR" >&6; }
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5397 test -n "$ac_ct_AR" && break
5400 if test "x$ac_ct_AR" = x
; then
5403 case $cross_compiling:$ac_tool_warned in
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5407 ac_tool_warned
=yes ;;
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5416 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5417 if ${am_cv_ar_interface+:} false
; then :
5418 $as_echo_n "(cached) " >&6
5421 ac_cpp
='$CPP $CPPFLAGS'
5422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5426 am_cv_ar_interface
=ar
5427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5429 int some_variable = 0;
5431 if ac_fn_c_try_compile
"$LINENO"; then :
5432 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
5433 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5434 (eval $am_ar_try) 2>&5
5436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5437 test $ac_status = 0; }
5438 if test "$ac_status" -eq 0; then
5439 am_cv_ar_interface
=ar
5441 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5442 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5443 (eval $am_ar_try) 2>&5
5445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5446 test $ac_status = 0; }
5447 if test "$ac_status" -eq 0; then
5448 am_cv_ar_interface
=lib
5450 am_cv_ar_interface
=unknown
5453 rm -f conftest.lib libconftest.a
5456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5458 ac_cpp
='$CPP $CPPFLAGS'
5459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5465 $as_echo "$am_cv_ar_interface" >&6; }
5467 case $am_cv_ar_interface in
5471 # Microsoft lib, so override with the ar-lib wrapper script.
5472 # FIXME: It is wrong to rewrite AR.
5473 # But if we don't then we get into trouble of one sort or another.
5474 # A longer-term fix would be to have automake use am__AR in this case,
5475 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5477 AR
="$am_aux_dir/ar-lib $AR"
5480 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
5486 if test -n "$ac_aux_dir"; then
5487 case "$ac_aux_dir" in
5488 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5489 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5492 if test -z "$MKINSTALLDIRS"; then
5493 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5499 $as_echo_n "checking whether NLS is requested... " >&6; }
5500 # Check whether --enable-nls was given.
5501 if test "${enable_nls+set}" = set; then :
5502 enableval
=$enable_nls; USE_NLS
=$enableval
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5508 $as_echo "$USE_NLS" >&6; }
5515 # Prepare PATH_SEPARATOR.
5516 # The user is always right.
5517 if test "${PATH_SEPARATOR+set}" != set; then
5518 echo "#! /bin/sh" >conf$$.sh
5519 echo "exit 0" >>conf$$.sh
5521 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5529 # Find out how to test for executable files. Don't use a zero-byte file,
5530 # as systems may use methods other than mode bits to determine executability.
5531 cat >conf$$.
file <<_ASEOF
5535 chmod +x conf$$.
file
5536 if test -x conf$$.
file >/dev
/null
2>&1; then
5537 ac_executable_p
="test -x"
5539 ac_executable_p
="test -f"
5543 # Extract the first word of "msgfmt", so it can be a program name with args.
5544 set dummy msgfmt
; ac_word
=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_path_MSGFMT+:} false
; then :
5548 $as_echo_n "(cached) " >&6
5552 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5555 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5556 for ac_dir
in $PATH; do
5558 test -z "$ac_dir" && ac_dir
=.
5559 for ac_exec_ext
in '' $ac_executable_extensions; do
5560 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5561 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5562 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5563 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5570 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5574 MSGFMT
="$ac_cv_path_MSGFMT"
5575 if test "$MSGFMT" != ":"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5577 $as_echo "$MSGFMT" >&6; }
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5583 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5584 set dummy gmsgfmt
; ac_word
=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_path_GMSGFMT+:} false
; then :
5588 $as_echo_n "(cached) " >&6
5592 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir
=.
5600 for ac_exec_ext
in '' $ac_executable_extensions; do
5601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5602 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5614 GMSGFMT
=$ac_cv_path_GMSGFMT
5615 if test -n "$GMSGFMT"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5617 $as_echo "$GMSGFMT" >&6; }
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5620 $as_echo "no" >&6; }
5626 # Prepare PATH_SEPARATOR.
5627 # The user is always right.
5628 if test "${PATH_SEPARATOR+set}" != set; then
5629 echo "#! /bin/sh" >conf$$.sh
5630 echo "exit 0" >>conf$$.sh
5632 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5640 # Find out how to test for executable files. Don't use a zero-byte file,
5641 # as systems may use methods other than mode bits to determine executability.
5642 cat >conf$$.
file <<_ASEOF
5646 chmod +x conf$$.
file
5647 if test -x conf$$.
file >/dev
/null
2>&1; then
5648 ac_executable_p
="test -x"
5650 ac_executable_p
="test -f"
5654 # Extract the first word of "xgettext", so it can be a program name with args.
5655 set dummy xgettext
; ac_word
=$2
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if ${ac_cv_path_XGETTEXT+:} false
; then :
5659 $as_echo_n "(cached) " >&6
5663 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5666 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5667 for ac_dir
in $PATH; do
5669 test -z "$ac_dir" && ac_dir
=.
5670 for ac_exec_ext
in '' $ac_executable_extensions; do
5671 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5672 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5673 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5674 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5681 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5685 XGETTEXT
="$ac_cv_path_XGETTEXT"
5686 if test "$XGETTEXT" != ":"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5688 $as_echo "$XGETTEXT" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5697 # Prepare PATH_SEPARATOR.
5698 # The user is always right.
5699 if test "${PATH_SEPARATOR+set}" != set; then
5700 echo "#! /bin/sh" >conf$$.sh
5701 echo "exit 0" >>conf$$.sh
5703 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5711 # Find out how to test for executable files. Don't use a zero-byte file,
5712 # as systems may use methods other than mode bits to determine executability.
5713 cat >conf$$.
file <<_ASEOF
5717 chmod +x conf$$.
file
5718 if test -x conf$$.
file >/dev
/null
2>&1; then
5719 ac_executable_p
="test -x"
5721 ac_executable_p
="test -f"
5725 # Extract the first word of "msgmerge", so it can be a program name with args.
5726 set dummy msgmerge
; ac_word
=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_path_MSGMERGE+:} false
; then :
5730 $as_echo_n "(cached) " >&6
5734 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5737 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5738 for ac_dir
in $PATH; do
5740 test -z "$ac_dir" && ac_dir
=.
5741 for ac_exec_ext
in '' $ac_executable_extensions; do
5742 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5743 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5744 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5751 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5755 MSGMERGE
="$ac_cv_path_MSGMERGE"
5756 if test "$MSGMERGE" != ":"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5758 $as_echo "$MSGMERGE" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5765 if test "$GMSGFMT" != ":"; then
5766 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5767 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5770 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5772 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5777 if test "$XGETTEXT" != ":"; then
5778 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5779 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5783 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5789 ac_config_commands
="$ac_config_commands default-1"
5793 if test "X$prefix" = "XNONE"; then
5794 acl_final_prefix
="$ac_default_prefix"
5796 acl_final_prefix
="$prefix"
5798 if test "X$exec_prefix" = "XNONE"; then
5799 acl_final_exec_prefix
='${prefix}'
5801 acl_final_exec_prefix
="$exec_prefix"
5803 acl_save_prefix
="$prefix"
5804 prefix
="$acl_final_prefix"
5805 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5806 prefix
="$acl_save_prefix"
5809 # Check whether --with-gnu-ld was given.
5810 if test "${with_gnu_ld+set}" = set; then :
5811 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5816 # Prepare PATH_SEPARATOR.
5817 # The user is always right.
5818 if test "${PATH_SEPARATOR+set}" != set; then
5819 echo "#! /bin/sh" >conf$$.sh
5820 echo "exit 0" >>conf$$.sh
5822 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5830 if test "$GCC" = yes; then
5831 # Check if gcc -print-prog-name=ld gives a path.
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5833 $as_echo_n "checking for ld used by GCC... " >&6; }
5836 # gcc leaves a trailing carriage return which upsets mingw
5837 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5839 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5842 # Accept absolute paths.
5843 [\\/]* |
[A-Za-z
]:[\\/]*)
5844 re_direlt
='/[^/][^/]*/\.\./'
5845 # Canonicalize the path of ld
5846 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5847 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5848 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5850 test -z "$LD" && LD
="$ac_prog"
5853 # If it fails, then pretend we aren't using GCC.
5857 # If it is relative, then search for the first ld in PATH.
5861 elif test "$with_gnu_ld" = yes; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5863 $as_echo_n "checking for GNU ld... " >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5866 $as_echo_n "checking for non-GNU ld... " >&6; }
5868 if ${acl_cv_path_LD+:} false
; then :
5869 $as_echo_n "(cached) " >&6
5871 if test -z "$LD"; then
5872 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5873 for ac_dir
in $PATH; do
5874 test -z "$ac_dir" && ac_dir
=.
5875 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5876 acl_cv_path_LD
="$ac_dir/$ac_prog"
5877 # Check to see if the program is GNU ld. I'd rather use --version,
5878 # but apparently some GNU ld's only accept -v.
5879 # Break only if it was the GNU/non-GNU ld that we prefer.
5880 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
$EGREP '(GNU|with BFD)' > /dev
/null
; then
5881 test "$with_gnu_ld" != no
&& break
5883 test "$with_gnu_ld" != yes && break
5889 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5893 LD
="$acl_cv_path_LD"
5894 if test -n "$LD"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5896 $as_echo "$LD" >&6; }
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5901 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5903 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5904 if ${acl_cv_prog_gnu_ld+:} false
; then :
5905 $as_echo_n "(cached) " >&6
5907 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5908 if $LD -v 2>&1 </dev
/null |
$EGREP '(GNU|with BFD)' 1>&5; then
5909 acl_cv_prog_gnu_ld
=yes
5911 acl_cv_prog_gnu_ld
=no
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5915 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5916 with_gnu_ld
=$acl_cv_prog_gnu_ld
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5921 $as_echo_n "checking for shared library run path origin... " >&6; }
5922 if ${acl_cv_rpath+:} false
; then :
5923 $as_echo_n "(cached) " >&6
5926 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5927 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5934 $as_echo "$acl_cv_rpath" >&6; }
5936 libext
="$acl_cv_libext"
5937 shlibext
="$acl_cv_shlibext"
5938 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5939 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5940 hardcode_direct
="$acl_cv_hardcode_direct"
5941 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5942 # Check whether --enable-rpath was given.
5943 if test "${enable_rpath+set}" = set; then :
5944 enableval
=$enable_rpath; :
5958 acl_save_prefix
="$prefix"
5959 prefix
="$acl_final_prefix"
5960 acl_save_exec_prefix
="$exec_prefix"
5961 exec_prefix
="$acl_final_exec_prefix"
5963 eval additional_includedir
=\"$includedir\"
5964 eval additional_libdir
=\"$libdir\"
5966 exec_prefix
="$acl_save_exec_prefix"
5967 prefix
="$acl_save_prefix"
5970 # Check whether --with-libiconv-prefix was given.
5971 if test "${with_libiconv_prefix+set}" = set; then :
5972 withval
=$with_libiconv_prefix;
5973 if test "X$withval" = "Xno"; then
5976 if test "X$withval" = "X"; then
5978 acl_save_prefix
="$prefix"
5979 prefix
="$acl_final_prefix"
5980 acl_save_exec_prefix
="$exec_prefix"
5981 exec_prefix
="$acl_final_exec_prefix"
5983 eval additional_includedir
=\"$includedir\"
5984 eval additional_libdir
=\"$libdir\"
5986 exec_prefix
="$acl_save_exec_prefix"
5987 prefix
="$acl_save_prefix"
5990 additional_includedir
="$withval/include"
5991 additional_libdir
="$withval/lib"
5998 # Check whether --with-libiconv-type was given.
5999 if test "${with_libiconv_type+set}" = set; then :
6000 withval
=$with_libiconv_type; with_libiconv_type
=$withval
6002 with_libiconv_type
=auto
6005 lib_type
=`eval echo \$with_libiconv_type`
6012 names_already_handled
=
6013 names_next_round
='iconv '
6014 while test -n "$names_next_round"; do
6015 names_this_round
="$names_next_round"
6017 for name
in $names_this_round; do
6019 for n
in $names_already_handled; do
6020 if test "$n" = "$name"; then
6025 if test -z "$already_handled"; then
6026 names_already_handled
="$names_already_handled $name"
6027 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6028 eval value
=\"\
$HAVE_LIB$uppername\"
6029 if test -n "$value"; then
6030 if test "$value" = yes; then
6031 eval value
=\"\
$LIB$uppername\"
6032 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6033 eval value
=\"\
$LTLIB$uppername\"
6034 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6043 if test $use_additional = yes; then
6044 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6045 found_dir
="$additional_libdir"
6046 found_so
="$additional_libdir/lib$name.$shlibext"
6047 if test -f "$additional_libdir/lib$name.la"; then
6048 found_la
="$additional_libdir/lib$name.la"
6050 elif test x
$lib_type != xshared
; then
6051 if test -f "$additional_libdir/lib$name.$libext"; then
6052 found_dir
="$additional_libdir"
6053 found_a
="$additional_libdir/lib$name.$libext"
6054 if test -f "$additional_libdir/lib$name.la"; then
6055 found_la
="$additional_libdir/lib$name.la"
6060 if test "X$found_dir" = "X"; then
6061 for x
in $LDFLAGS $LTLIBICONV; do
6063 acl_save_prefix
="$prefix"
6064 prefix
="$acl_final_prefix"
6065 acl_save_exec_prefix
="$exec_prefix"
6066 exec_prefix
="$acl_final_exec_prefix"
6068 exec_prefix
="$acl_save_exec_prefix"
6069 prefix
="$acl_save_prefix"
6073 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6074 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6076 found_so
="$dir/lib$name.$shlibext"
6077 if test -f "$dir/lib$name.la"; then
6078 found_la
="$dir/lib$name.la"
6080 elif test x
$lib_type != xshared
; then
6081 if test -f "$dir/lib$name.$libext"; then
6083 found_a
="$dir/lib$name.$libext"
6084 if test -f "$dir/lib$name.la"; then
6085 found_la
="$dir/lib$name.la"
6091 if test "X$found_dir" != "X"; then
6096 if test "X$found_dir" != "X"; then
6097 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6098 if test "X$found_so" != "X"; then
6099 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6100 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6103 for x
in $ltrpathdirs; do
6104 if test "X$x" = "X$found_dir"; then
6109 if test -z "$haveit"; then
6110 ltrpathdirs
="$ltrpathdirs $found_dir"
6112 if test "$hardcode_direct" = yes; then
6113 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6115 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6116 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6118 for x
in $rpathdirs; do
6119 if test "X$x" = "X$found_dir"; then
6124 if test -z "$haveit"; then
6125 rpathdirs
="$rpathdirs $found_dir"
6129 for x
in $LDFLAGS $LIBICONV; do
6131 acl_save_prefix
="$prefix"
6132 prefix
="$acl_final_prefix"
6133 acl_save_exec_prefix
="$exec_prefix"
6134 exec_prefix
="$acl_final_exec_prefix"
6136 exec_prefix
="$acl_save_exec_prefix"
6137 prefix
="$acl_save_prefix"
6139 if test "X$x" = "X-L$found_dir"; then
6144 if test -z "$haveit"; then
6145 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6147 if test "$hardcode_minus_L" != no
; then
6148 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6150 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6156 if test "X$found_a" != "X"; then
6157 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6159 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6162 additional_includedir
=
6163 case "$found_dir" in
6165 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6166 additional_includedir
="$basedir/include"
6169 if test "X$additional_includedir" != "X"; then
6170 if test "X$additional_includedir" != "X/usr/include"; then
6172 if test "X$additional_includedir" = "X/usr/local/include"; then
6173 if test -n "$GCC"; then
6175 linux
*) haveit
=yes;;
6179 if test -z "$haveit"; then
6180 for x
in $CPPFLAGS $INCICONV; do
6182 acl_save_prefix
="$prefix"
6183 prefix
="$acl_final_prefix"
6184 acl_save_exec_prefix
="$exec_prefix"
6185 exec_prefix
="$acl_final_exec_prefix"
6187 exec_prefix
="$acl_save_exec_prefix"
6188 prefix
="$acl_save_prefix"
6190 if test "X$x" = "X-I$additional_includedir"; then
6195 if test -z "$haveit"; then
6196 if test -d "$additional_includedir"; then
6197 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6203 if test -n "$found_la"; then
6204 save_libdir
="$libdir"
6206 */* |
*\\*) .
"$found_la" ;;
6207 *) .
"./$found_la" ;;
6209 libdir
="$save_libdir"
6210 for dep
in $dependency_libs; do
6213 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6214 if test "X$additional_libdir" != "X/usr/lib"; then
6216 if test "X$additional_libdir" = "X/usr/local/lib"; then
6217 if test -n "$GCC"; then
6219 linux
*) haveit
=yes;;
6223 if test -z "$haveit"; then
6225 for x
in $LDFLAGS $LIBICONV; do
6227 acl_save_prefix
="$prefix"
6228 prefix
="$acl_final_prefix"
6229 acl_save_exec_prefix
="$exec_prefix"
6230 exec_prefix
="$acl_final_exec_prefix"
6232 exec_prefix
="$acl_save_exec_prefix"
6233 prefix
="$acl_save_prefix"
6235 if test "X$x" = "X-L$additional_libdir"; then
6240 if test -z "$haveit"; then
6241 if test -d "$additional_libdir"; then
6242 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6246 for x
in $LDFLAGS $LTLIBICONV; do
6248 acl_save_prefix
="$prefix"
6249 prefix
="$acl_final_prefix"
6250 acl_save_exec_prefix
="$exec_prefix"
6251 exec_prefix
="$acl_final_exec_prefix"
6253 exec_prefix
="$acl_save_exec_prefix"
6254 prefix
="$acl_save_prefix"
6256 if test "X$x" = "X-L$additional_libdir"; then
6261 if test -z "$haveit"; then
6262 if test -d "$additional_libdir"; then
6263 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6270 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6271 if test "$enable_rpath" != no
; then
6273 for x
in $rpathdirs; do
6274 if test "X$x" = "X$dir"; then
6279 if test -z "$haveit"; then
6280 rpathdirs
="$rpathdirs $dir"
6283 for x
in $ltrpathdirs; do
6284 if test "X$x" = "X$dir"; then
6289 if test -z "$haveit"; then
6290 ltrpathdirs
="$ltrpathdirs $dir"
6295 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6298 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6301 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6302 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6308 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
6309 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6310 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6312 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
6313 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
6320 if test "X$rpathdirs" != "X"; then
6321 if test -n "$hardcode_libdir_separator"; then
6323 for found_dir
in $rpathdirs; do
6324 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6326 acl_save_libdir
="$libdir"
6328 eval flag
=\"$hardcode_libdir_flag_spec\"
6329 libdir
="$acl_save_libdir"
6330 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6332 for found_dir
in $rpathdirs; do
6333 acl_save_libdir
="$libdir"
6335 eval flag
=\"$hardcode_libdir_flag_spec\"
6336 libdir
="$acl_save_libdir"
6337 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6341 if test "X$ltrpathdirs" != "X"; then
6342 for found_dir
in $ltrpathdirs; do
6343 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6351 if test -f ..
/gettext
/uninstalled-config.sh
; then
6352 relative_builddir
='$(top_builddir)/../gettext'
6353 . ..
/gettext
/uninstalled-config.sh
6355 # The sister gettext directory doesn't exist and won't collect information on
6356 # using gettext for us. Call a bundled AM_GNU_GETTEXT.
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6381 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6382 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
6383 $as_echo_n "(cached) " >&6
6385 gt_save_LIBS
="$LIBS"
6386 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6389 #include <CoreFoundation/CFPreferences.h>
6393 CFPreferencesCopyAppValue(NULL, NULL)
6398 if ac_fn_c_try_link
"$LINENO"; then :
6399 gt_cv_func_CFPreferencesCopyAppValue
=yes
6401 gt_cv_func_CFPreferencesCopyAppValue
=no
6403 rm -f core conftest.err conftest.
$ac_objext \
6404 conftest
$ac_exeext conftest.
$ac_ext
6405 LIBS
="$gt_save_LIBS"
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6408 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6409 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6411 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
6415 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
6416 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false
; then :
6417 $as_echo_n "(cached) " >&6
6419 gt_save_LIBS
="$LIBS"
6420 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6423 #include <CoreFoundation/CFLocale.h>
6427 CFLocaleCopyPreferredLanguages();
6432 if ac_fn_c_try_link
"$LINENO"; then :
6433 gt_cv_func_CFLocaleCopyPreferredLanguages
=yes
6435 gt_cv_func_CFLocaleCopyPreferredLanguages
=no
6437 rm -f core conftest.err conftest.
$ac_objext \
6438 conftest
$ac_exeext conftest.
$ac_ext
6439 LIBS
="$gt_save_LIBS"
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
6442 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
6443 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
6445 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
6449 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
6450 ||
test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
6451 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
6463 case " $gt_needs " in
6464 *" need-formatstring-macros "*) gt_api_version
=3 ;;
6465 *" need-ngettext "*) gt_api_version
=2 ;;
6466 *) gt_api_version
=1 ;;
6468 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
6469 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
6471 if test "$USE_NLS" = "yes"; then
6472 gt_use_preinstalled_gnugettext
=no
6475 if test $gt_api_version -ge 3; then
6476 gt_revision_test_code
='
6477 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6478 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6480 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6483 gt_revision_test_code
=
6485 if test $gt_api_version -ge 2; then
6486 gt_expression_test_code
=' + * ngettext ("", "", 0)'
6488 gt_expression_test_code
=
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6492 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6493 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
6494 $as_echo_n "(cached) " >&6
6496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6497 /* end confdefs.h. */
6499 #include <libintl.h>
6500 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6501 extern int _nl_msg_cat_cntr;
6502 extern int *_nl_domain_bindings;
6503 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
6505 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6507 $gt_revision_test_code
6513 bindtextdomain ("", "");
6514 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
6520 if ac_fn_c_try_link
"$LINENO"; then :
6521 eval "$gt_func_gnugettext_libc=yes"
6523 eval "$gt_func_gnugettext_libc=no"
6525 rm -f core conftest.err conftest.
$ac_objext \
6526 conftest
$ac_exeext conftest.
$ac_ext
6528 eval ac_res
=\$
$gt_func_gnugettext_libc
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6530 $as_echo "$ac_res" >&6; }
6532 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6538 am_save_CPPFLAGS
="$CPPFLAGS"
6540 for element
in $INCICONV; do
6542 for x
in $CPPFLAGS; do
6544 acl_save_prefix
="$prefix"
6545 prefix
="$acl_final_prefix"
6546 acl_save_exec_prefix
="$exec_prefix"
6547 exec_prefix
="$acl_final_exec_prefix"
6549 exec_prefix
="$acl_save_exec_prefix"
6550 prefix
="$acl_save_prefix"
6552 if test "X$x" = "X$element"; then
6557 if test -z "$haveit"; then
6558 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6564 $as_echo_n "checking for iconv... " >&6; }
6565 if ${am_cv_func_iconv+:} false
; then :
6566 $as_echo_n "(cached) " >&6
6569 am_cv_func_iconv
="no, consider installing GNU libiconv"
6571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6580 iconv_t cd = iconv_open("","");
6581 iconv(cd,NULL,NULL,NULL,NULL);
6587 if ac_fn_c_try_link
"$LINENO"; then :
6588 am_cv_func_iconv
=yes
6590 rm -f core conftest.err conftest.
$ac_objext \
6591 conftest
$ac_exeext conftest.
$ac_ext
6592 if test "$am_cv_func_iconv" != yes; then
6593 am_save_LIBS
="$LIBS"
6594 LIBS
="$LIBS $LIBICONV"
6595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6604 iconv_t cd = iconv_open("","");
6605 iconv(cd,NULL,NULL,NULL,NULL);
6611 if ac_fn_c_try_link
"$LINENO"; then :
6613 am_cv_func_iconv
=yes
6615 rm -f core conftest.err conftest.
$ac_objext \
6616 conftest
$ac_exeext conftest.
$ac_ext
6617 LIBS
="$am_save_LIBS"
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6622 $as_echo "$am_cv_func_iconv" >&6; }
6623 if test "$am_cv_func_iconv" = yes; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6625 $as_echo_n "checking for working iconv... " >&6; }
6626 if ${am_cv_func_iconv_works+:} false
; then :
6627 $as_echo_n "(cached) " >&6
6630 am_save_LIBS
="$LIBS"
6631 if test $am_cv_lib_iconv = yes; then
6632 LIBS
="$LIBS $LIBICONV"
6634 am_cv_func_iconv_works
=no
6635 for ac_iconv_const
in '' 'const'; do
6636 if test "$cross_compiling" = yes; then :
6638 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
6639 *) am_cv_func_iconv_works
="guessing yes" ;;
6642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6649 # define ICONV_CONST $ac_iconv_const
6656 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
6657 successful returns. This is even documented in
6658 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
6660 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6661 if (cd_utf8_to_88591 != (iconv_t)(-1))
6663 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
6665 ICONV_CONST char *inptr = input;
6666 size_t inbytesleft = strlen (input);
6668 size_t outbytesleft = sizeof (buf);
6669 size_t res = iconv (cd_utf8_to_88591,
6670 &inptr, &inbytesleft,
6671 &outptr, &outbytesleft);
6674 iconv_close (cd_utf8_to_88591);
6677 /* Test against Solaris 10 bug: Failures are not distinguishable from
6678 successful returns. */
6680 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6681 if (cd_ascii_to_88591 != (iconv_t)(-1))
6683 static ICONV_CONST char input[] = "\263";
6685 ICONV_CONST char *inptr = input;
6686 size_t inbytesleft = strlen (input);
6688 size_t outbytesleft = sizeof (buf);
6689 size_t res = iconv (cd_ascii_to_88591,
6690 &inptr, &inbytesleft,
6691 &outptr, &outbytesleft);
6694 iconv_close (cd_ascii_to_88591);
6697 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
6699 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
6700 if (cd_88591_to_utf8 != (iconv_t)(-1))
6702 static ICONV_CONST char input[] = "\304";
6703 static char buf[2] = { (char)0xDE, (char)0xAD };
6704 ICONV_CONST char *inptr = input;
6705 size_t inbytesleft = 1;
6707 size_t outbytesleft = 1;
6708 size_t res = iconv (cd_88591_to_utf8,
6709 &inptr, &inbytesleft,
6710 &outptr, &outbytesleft);
6711 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
6713 iconv_close (cd_88591_to_utf8);
6716 #if 0 /* This bug could be worked around by the caller. */
6717 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6719 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6720 if (cd_88591_to_utf8 != (iconv_t)(-1))
6722 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6724 ICONV_CONST char *inptr = input;
6725 size_t inbytesleft = strlen (input);
6727 size_t outbytesleft = sizeof (buf);
6728 size_t res = iconv (cd_88591_to_utf8,
6729 &inptr, &inbytesleft,
6730 &outptr, &outbytesleft);
6733 iconv_close (cd_88591_to_utf8);
6737 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6740 /* Try standardized names. */
6741 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
6742 /* Try IRIX, OSF/1 names. */
6743 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
6744 /* Try AIX names. */
6745 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
6746 /* Try HP-UX names. */
6747 iconv_t cd4 = iconv_open ("utf8", "eucJP");
6748 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
6749 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
6751 if (cd1 != (iconv_t)(-1))
6753 if (cd2 != (iconv_t)(-1))
6755 if (cd3 != (iconv_t)(-1))
6757 if (cd4 != (iconv_t)(-1))
6766 if ac_fn_c_try_run
"$LINENO"; then :
6767 am_cv_func_iconv_works
=yes
6769 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6770 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6773 test "$am_cv_func_iconv_works" = no ||
break
6775 LIBS
="$am_save_LIBS"
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6779 $as_echo "$am_cv_func_iconv_works" >&6; }
6780 case "$am_cv_func_iconv_works" in
6781 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
6782 *) am_func_iconv
=yes ;;
6785 am_func_iconv
=no am_cv_lib_iconv
=no
6787 if test "$am_func_iconv" = yes; then
6789 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6792 if test "$am_cv_lib_iconv" = yes; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6794 $as_echo_n "checking how to link with libiconv... " >&6; }
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6796 $as_echo "$LIBICONV" >&6; }
6798 CPPFLAGS
="$am_save_CPPFLAGS"
6810 acl_save_prefix
="$prefix"
6811 prefix
="$acl_final_prefix"
6812 acl_save_exec_prefix
="$exec_prefix"
6813 exec_prefix
="$acl_final_exec_prefix"
6815 eval additional_includedir
=\"$includedir\"
6816 eval additional_libdir
=\"$libdir\"
6818 exec_prefix
="$acl_save_exec_prefix"
6819 prefix
="$acl_save_prefix"
6822 # Check whether --with-libintl-prefix was given.
6823 if test "${with_libintl_prefix+set}" = set; then :
6824 withval
=$with_libintl_prefix;
6825 if test "X$withval" = "Xno"; then
6828 if test "X$withval" = "X"; then
6830 acl_save_prefix
="$prefix"
6831 prefix
="$acl_final_prefix"
6832 acl_save_exec_prefix
="$exec_prefix"
6833 exec_prefix
="$acl_final_exec_prefix"
6835 eval additional_includedir
=\"$includedir\"
6836 eval additional_libdir
=\"$libdir\"
6838 exec_prefix
="$acl_save_exec_prefix"
6839 prefix
="$acl_save_prefix"
6842 additional_includedir
="$withval/include"
6843 additional_libdir
="$withval/lib"
6850 # Check whether --with-libintl-type was given.
6851 if test "${with_libintl_type+set}" = set; then :
6852 withval
=$with_libintl_type; with_libintl_type
=$withval
6854 with_libintl_type
=auto
6857 lib_type
=`eval echo \$with_libintl_type`
6864 names_already_handled
=
6865 names_next_round
='intl '
6866 while test -n "$names_next_round"; do
6867 names_this_round
="$names_next_round"
6869 for name
in $names_this_round; do
6871 for n
in $names_already_handled; do
6872 if test "$n" = "$name"; then
6877 if test -z "$already_handled"; then
6878 names_already_handled
="$names_already_handled $name"
6879 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6880 eval value
=\"\
$HAVE_LIB$uppername\"
6881 if test -n "$value"; then
6882 if test "$value" = yes; then
6883 eval value
=\"\
$LIB$uppername\"
6884 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6885 eval value
=\"\
$LTLIB$uppername\"
6886 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6895 if test $use_additional = yes; then
6896 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6897 found_dir
="$additional_libdir"
6898 found_so
="$additional_libdir/lib$name.$shlibext"
6899 if test -f "$additional_libdir/lib$name.la"; then
6900 found_la
="$additional_libdir/lib$name.la"
6902 elif test x
$lib_type != xshared
; then
6903 if test -f "$additional_libdir/lib$name.$libext"; then
6904 found_dir
="$additional_libdir"
6905 found_a
="$additional_libdir/lib$name.$libext"
6906 if test -f "$additional_libdir/lib$name.la"; then
6907 found_la
="$additional_libdir/lib$name.la"
6912 if test "X$found_dir" = "X"; then
6913 for x
in $LDFLAGS $LTLIBINTL; do
6915 acl_save_prefix
="$prefix"
6916 prefix
="$acl_final_prefix"
6917 acl_save_exec_prefix
="$exec_prefix"
6918 exec_prefix
="$acl_final_exec_prefix"
6920 exec_prefix
="$acl_save_exec_prefix"
6921 prefix
="$acl_save_prefix"
6925 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6926 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6928 found_so
="$dir/lib$name.$shlibext"
6929 if test -f "$dir/lib$name.la"; then
6930 found_la
="$dir/lib$name.la"
6932 elif test x
$lib_type != xshared
; then
6933 if test -f "$dir/lib$name.$libext"; then
6935 found_a
="$dir/lib$name.$libext"
6936 if test -f "$dir/lib$name.la"; then
6937 found_la
="$dir/lib$name.la"
6943 if test "X$found_dir" != "X"; then
6948 if test "X$found_dir" != "X"; then
6949 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6950 if test "X$found_so" != "X"; then
6951 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6952 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6955 for x
in $ltrpathdirs; do
6956 if test "X$x" = "X$found_dir"; then
6961 if test -z "$haveit"; then
6962 ltrpathdirs
="$ltrpathdirs $found_dir"
6964 if test "$hardcode_direct" = yes; then
6965 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6967 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6968 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6970 for x
in $rpathdirs; do
6971 if test "X$x" = "X$found_dir"; then
6976 if test -z "$haveit"; then
6977 rpathdirs
="$rpathdirs $found_dir"
6981 for x
in $LDFLAGS $LIBINTL; do
6983 acl_save_prefix
="$prefix"
6984 prefix
="$acl_final_prefix"
6985 acl_save_exec_prefix
="$exec_prefix"
6986 exec_prefix
="$acl_final_exec_prefix"
6988 exec_prefix
="$acl_save_exec_prefix"
6989 prefix
="$acl_save_prefix"
6991 if test "X$x" = "X-L$found_dir"; then
6996 if test -z "$haveit"; then
6997 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6999 if test "$hardcode_minus_L" != no
; then
7000 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
7002 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
7008 if test "X$found_a" != "X"; then
7009 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
7011 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
7014 additional_includedir
=
7015 case "$found_dir" in
7017 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7018 additional_includedir
="$basedir/include"
7021 if test "X$additional_includedir" != "X"; then
7022 if test "X$additional_includedir" != "X/usr/include"; then
7024 if test "X$additional_includedir" = "X/usr/local/include"; then
7025 if test -n "$GCC"; then
7027 linux
*) haveit
=yes;;
7031 if test -z "$haveit"; then
7032 for x
in $CPPFLAGS $INCINTL; do
7034 acl_save_prefix
="$prefix"
7035 prefix
="$acl_final_prefix"
7036 acl_save_exec_prefix
="$exec_prefix"
7037 exec_prefix
="$acl_final_exec_prefix"
7039 exec_prefix
="$acl_save_exec_prefix"
7040 prefix
="$acl_save_prefix"
7042 if test "X$x" = "X-I$additional_includedir"; then
7047 if test -z "$haveit"; then
7048 if test -d "$additional_includedir"; then
7049 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
7055 if test -n "$found_la"; then
7056 save_libdir
="$libdir"
7058 */* |
*\\*) .
"$found_la" ;;
7059 *) .
"./$found_la" ;;
7061 libdir
="$save_libdir"
7062 for dep
in $dependency_libs; do
7065 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7066 if test "X$additional_libdir" != "X/usr/lib"; then
7068 if test "X$additional_libdir" = "X/usr/local/lib"; then
7069 if test -n "$GCC"; then
7071 linux
*) haveit
=yes;;
7075 if test -z "$haveit"; then
7077 for x
in $LDFLAGS $LIBINTL; do
7079 acl_save_prefix
="$prefix"
7080 prefix
="$acl_final_prefix"
7081 acl_save_exec_prefix
="$exec_prefix"
7082 exec_prefix
="$acl_final_exec_prefix"
7084 exec_prefix
="$acl_save_exec_prefix"
7085 prefix
="$acl_save_prefix"
7087 if test "X$x" = "X-L$additional_libdir"; then
7092 if test -z "$haveit"; then
7093 if test -d "$additional_libdir"; then
7094 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
7098 for x
in $LDFLAGS $LTLIBINTL; do
7100 acl_save_prefix
="$prefix"
7101 prefix
="$acl_final_prefix"
7102 acl_save_exec_prefix
="$exec_prefix"
7103 exec_prefix
="$acl_final_exec_prefix"
7105 exec_prefix
="$acl_save_exec_prefix"
7106 prefix
="$acl_save_prefix"
7108 if test "X$x" = "X-L$additional_libdir"; then
7113 if test -z "$haveit"; then
7114 if test -d "$additional_libdir"; then
7115 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
7122 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7123 if test "$enable_rpath" != no
; then
7125 for x
in $rpathdirs; do
7126 if test "X$x" = "X$dir"; then
7131 if test -z "$haveit"; then
7132 rpathdirs
="$rpathdirs $dir"
7135 for x
in $ltrpathdirs; do
7136 if test "X$x" = "X$dir"; then
7141 if test -z "$haveit"; then
7142 ltrpathdirs
="$ltrpathdirs $dir"
7147 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7150 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7153 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
7154 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
7160 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
7161 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
7162 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
7164 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
7165 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
7172 if test "X$rpathdirs" != "X"; then
7173 if test -n "$hardcode_libdir_separator"; then
7175 for found_dir
in $rpathdirs; do
7176 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7178 acl_save_libdir
="$libdir"
7180 eval flag
=\"$hardcode_libdir_flag_spec\"
7181 libdir
="$acl_save_libdir"
7182 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
7184 for found_dir
in $rpathdirs; do
7185 acl_save_libdir
="$libdir"
7187 eval flag
=\"$hardcode_libdir_flag_spec\"
7188 libdir
="$acl_save_libdir"
7189 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
7193 if test "X$ltrpathdirs" != "X"; then
7194 for found_dir
in $ltrpathdirs; do
7195 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7200 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
7201 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
7202 $as_echo_n "(cached) " >&6
7204 gt_save_CPPFLAGS
="$CPPFLAGS"
7205 CPPFLAGS
="$CPPFLAGS $INCINTL"
7206 gt_save_LIBS
="$LIBS"
7207 LIBS
="$LIBS $LIBINTL"
7208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7209 /* end confdefs.h. */
7211 #include <libintl.h>
7212 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7213 extern int _nl_msg_cat_cntr;
7218 const char *_nl_expand_alias (const char *);
7219 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
7221 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7223 $gt_revision_test_code
7229 bindtextdomain ("", "");
7230 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7236 if ac_fn_c_try_link
"$LINENO"; then :
7237 eval "$gt_func_gnugettext_libintl=yes"
7239 eval "$gt_func_gnugettext_libintl=no"
7241 rm -f core conftest.err conftest.
$ac_objext \
7242 conftest
$ac_exeext conftest.
$ac_ext
7243 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
7244 LIBS
="$LIBS $LIBICONV"
7245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7248 #include <libintl.h>
7249 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7250 extern int _nl_msg_cat_cntr;
7255 const char *_nl_expand_alias (const char *);
7256 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
7258 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7260 $gt_revision_test_code
7266 bindtextdomain ("", "");
7267 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7273 if ac_fn_c_try_link
"$LINENO"; then :
7274 LIBINTL
="$LIBINTL $LIBICONV"
7275 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
7276 eval "$gt_func_gnugettext_libintl=yes"
7279 rm -f core conftest.err conftest.
$ac_objext \
7280 conftest
$ac_exeext conftest.
$ac_ext
7282 CPPFLAGS
="$gt_save_CPPFLAGS"
7283 LIBS
="$gt_save_LIBS"
7285 eval ac_res
=\$
$gt_func_gnugettext_libintl
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7287 $as_echo "$ac_res" >&6; }
7290 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
7291 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
7292 && test "$PACKAGE" != gettext-runtime \
7293 && test "$PACKAGE" != gettext-tools
; }; then
7294 gt_use_preinstalled_gnugettext
=yes
7303 if test -n "$INTL_MACOSX_LIBS"; then
7304 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7305 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
7306 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
7307 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
7311 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7312 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
7314 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7322 $as_echo_n "checking whether to use NLS... " >&6; }
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7324 $as_echo "$USE_NLS" >&6; }
7325 if test "$USE_NLS" = "yes"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7327 $as_echo_n "checking where the gettext function comes from... " >&6; }
7328 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7329 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7330 gt_source
="external libintl"
7335 gt_source
="included intl directory"
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7338 $as_echo "$gt_source" >&6; }
7341 if test "$USE_NLS" = "yes"; then
7343 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7344 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7346 $as_echo_n "checking how to link with libintl... " >&6; }
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7348 $as_echo "$LIBINTL" >&6; }
7350 for element
in $INCINTL; do
7352 for x
in $CPPFLAGS; do
7354 acl_save_prefix
="$prefix"
7355 prefix
="$acl_final_prefix"
7356 acl_save_exec_prefix
="$exec_prefix"
7357 exec_prefix
="$acl_final_exec_prefix"
7359 exec_prefix
="$acl_save_exec_prefix"
7360 prefix
="$acl_save_prefix"
7362 if test "X$x" = "X$element"; then
7367 if test -z "$haveit"; then
7368 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7375 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7378 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7407 $as_echo_n "checking whether NLS is requested... " >&6; }
7408 if test x
"$USE_NLS" != xyes
; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410 $as_echo "no" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7413 $as_echo "yes" >&6; }
7415 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
7419 $as_echo_n "checking for catalogs to be installed... " >&6; }
7420 # Look for .po and .gmo files in the source directory.
7423 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
7424 # If there aren't any .gmo files the shell will give us the
7425 # literal string "../path/to/srcdir/po/*.gmo" which has to be
7427 case "$cat" in *\
**)
7430 # The quadruple backslash is collapsed to a double backslash
7431 # by the backticks, then collapsed again by the double quotes,
7432 # leaving us with one backslash in the sed expression (right
7433 # before the dot that mustn't act as a wildcard).
7434 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
7435 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
7436 # The user is allowed to set LINGUAS to a list of languages to
7437 # install catalogs for. If it's empty that means "all of them."
7438 if test "x$LINGUAS" = x
; then
7439 CATALOGS
="$CATALOGS $cat"
7440 XLINGUAS
="$XLINGUAS $lang"
7442 case "$LINGUAS" in *$lang*)
7443 CATALOGS
="$CATALOGS $cat"
7444 XLINGUAS
="$XLINGUAS $lang"
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
7451 $as_echo "$LINGUAS" >&6; }
7464 # Check whether --enable-shared was given.
7465 if test "${enable_shared+set}" = set; then :
7466 enableval
=$enable_shared; p
=${PACKAGE-default}
7468 yes) enable_shared
=yes ;;
7469 no
) enable_shared
=no
;;
7472 # Look at the argument we got. We use all the common list separators.
7473 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7474 for pkg
in $enableval; do
7476 if test "X$pkg" = "X$p"; then
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7499 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7504 macro_version
='2.2.7a'
7505 macro_revision
='1.3134'
7519 ltmain
="$ac_aux_dir/ltmain.sh"
7521 # Backslashify metacharacters that are still active within
7522 # double-quoted strings.
7523 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7525 # Same as above, but do not quote variable references.
7526 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7528 # Sed substitution to delay expansion of an escaped shell variable in a
7529 # double_quote_subst'ed string.
7530 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7532 # Sed substitution to delay expansion of an escaped single quote.
7533 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7535 # Sed substitution to avoid accidental globbing in evaled expressions
7536 no_glob_subst
='s/\*/\\\*/g'
7538 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7539 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7540 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7543 $as_echo_n "checking how to print strings... " >&6; }
7544 # Test print first, because it will be a builtin if present.
7545 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
7546 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7548 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7551 # Use this function as a fallback that always works.
7552 func_fallback_echo ()
7554 eval 'cat <<_LTECHO_EOF
7558 ECHO='func_fallback_echo
'
7561 # func_echo_all arg...
7562 # Invoke $ECHO with all args, space-separated.
7569 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7570 $as_echo "printf" >&6; } ;;
7571 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7572 $as_echo "print -r" >&6; } ;;
7573 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7574 $as_echo "cat" >&6; } ;;
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7591 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7592 if ${ac_cv_path_SED+:} false; then :
7593 $as_echo_n "(cached) " >&6
7595 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7596 for ac_i in 1 2 3 4 5 6 7; do
7597 ac_script="$ac_script$as_nl$ac_script"
7599 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7600 { ac_script=; unset ac_script;}
7601 if test -z "$SED"; then
7602 ac_path_SED_found=false
7603 # Loop through the user's path and
test for each of PROGNAME-LIST
7604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7608 test -z "$as_dir" && as_dir
=.
7609 for ac_prog
in sed gsed
; do
7610 for ac_exec_ext
in '' $ac_executable_extensions; do
7611 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
7612 as_fn_executable_p
"$ac_path_SED" ||
continue
7613 # Check for GNU ac_path_SED and select it if it is found.
7614 # Check for GNU $ac_path_SED
7615 case `"$ac_path_SED" --version 2>&1` in
7617 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7620 $as_echo_n 0123456789 >"conftest.in"
7623 cat "conftest.in" "conftest.in" >"conftest.tmp"
7624 mv "conftest.tmp" "conftest.in"
7625 cp "conftest.in" "conftest.nl"
7626 $as_echo '' >> "conftest.nl"
7627 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7628 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7629 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7630 if test $ac_count -gt ${ac_path_SED_max-0}; then
7631 # Best one so far, save it but keep looking for a better one
7632 ac_cv_path_SED
="$ac_path_SED"
7633 ac_path_SED_max
=$ac_count
7635 # 10*(2^10) chars as input seems more than enough
7636 test $ac_count -gt 10 && break
7638 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7641 $ac_path_SED_found && break 3
7646 if test -z "$ac_cv_path_SED"; then
7647 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7655 $as_echo "$ac_cv_path_SED" >&6; }
7656 SED
="$ac_cv_path_SED"
7659 test -z "$SED" && SED
=sed
7660 Xsed
="$SED -e 1s/^X//"
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7673 $as_echo_n "checking for fgrep... " >&6; }
7674 if ${ac_cv_path_FGREP+:} false
; then :
7675 $as_echo_n "(cached) " >&6
7677 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
7678 then ac_cv_path_FGREP
="$GREP -F"
7680 if test -z "$FGREP"; then
7681 ac_path_FGREP_found
=false
7682 # Loop through the user's path and test for each of PROGNAME-LIST
7683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7684 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7687 test -z "$as_dir" && as_dir
=.
7688 for ac_prog
in fgrep
; do
7689 for ac_exec_ext
in '' $ac_executable_extensions; do
7690 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7691 as_fn_executable_p
"$ac_path_FGREP" ||
continue
7692 # Check for GNU ac_path_FGREP and select it if it is found.
7693 # Check for GNU $ac_path_FGREP
7694 case `"$ac_path_FGREP" --version 2>&1` in
7696 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7699 $as_echo_n 0123456789 >"conftest.in"
7702 cat "conftest.in" "conftest.in" >"conftest.tmp"
7703 mv "conftest.tmp" "conftest.in"
7704 cp "conftest.in" "conftest.nl"
7705 $as_echo 'FGREP' >> "conftest.nl"
7706 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7707 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7708 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7709 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7710 # Best one so far, save it but keep looking for a better one
7711 ac_cv_path_FGREP
="$ac_path_FGREP"
7712 ac_path_FGREP_max
=$ac_count
7714 # 10*(2^10) chars as input seems more than enough
7715 test $ac_count -gt 10 && break
7717 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7720 $ac_path_FGREP_found && break 3
7725 if test -z "$ac_cv_path_FGREP"; then
7726 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7729 ac_cv_path_FGREP
=$FGREP
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7735 $as_echo "$ac_cv_path_FGREP" >&6; }
7736 FGREP
="$ac_cv_path_FGREP"
7739 test -z "$GREP" && GREP
=grep
7759 # Check whether --with-gnu-ld was given.
7760 if test "${with_gnu_ld+set}" = set; then :
7761 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7767 if test "$GCC" = yes; then
7768 # Check if gcc -print-prog-name=ld gives a path.
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7770 $as_echo_n "checking for ld used by $CC... " >&6; }
7773 # gcc leaves a trailing carriage return which upsets mingw
7774 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7776 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7779 # Accept absolute paths.
7781 re_direlt
='/[^/][^/]*/\.\./'
7782 # Canonicalize the pathname of ld
7783 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7784 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7785 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7787 test -z "$LD" && LD
="$ac_prog"
7790 # If it fails, then pretend we aren't using GCC.
7794 # If it is relative, then search for the first ld in PATH.
7798 elif test "$with_gnu_ld" = yes; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7800 $as_echo_n "checking for GNU ld... " >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7803 $as_echo_n "checking for non-GNU ld... " >&6; }
7805 if ${lt_cv_path_LD+:} false
; then :
7806 $as_echo_n "(cached) " >&6
7808 if test -z "$LD"; then
7809 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7810 for ac_dir
in $PATH; do
7812 test -z "$ac_dir" && ac_dir
=.
7813 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7814 lt_cv_path_LD
="$ac_dir/$ac_prog"
7815 # Check to see if the program is GNU ld. I'd rather use --version,
7816 # but apparently some variants of GNU ld only accept -v.
7817 # Break only if it was the GNU/non-GNU ld that we prefer.
7818 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7819 *GNU
* |
*'with BFD'*)
7820 test "$with_gnu_ld" != no
&& break
7823 test "$with_gnu_ld" != yes && break
7830 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7835 if test -n "$LD"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7837 $as_echo "$LD" >&6; }
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7842 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7844 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7845 if ${lt_cv_prog_gnu_ld+:} false
; then :
7846 $as_echo_n "(cached) " >&6
7848 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7849 case `$LD -v 2>&1 </dev/null` in
7850 *GNU
* |
*'with BFD'*)
7851 lt_cv_prog_gnu_ld
=yes
7854 lt_cv_prog_gnu_ld
=no
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7859 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7860 with_gnu_ld
=$lt_cv_prog_gnu_ld
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7871 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7872 if ${lt_cv_path_NM+:} false
; then :
7873 $as_echo_n "(cached) " >&6
7875 if test -n "$NM"; then
7876 # Let the user override the nm to test.
7877 lt_nm_to_check
="$NM"
7879 lt_nm_to_check
="${ac_tool_prefix}nm"
7880 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7881 lt_nm_to_check
="$lt_nm_to_check nm"
7884 for lt_tmp_nm
in "$lt_nm_to_check"; do
7885 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7886 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7888 test -z "$ac_dir" && ac_dir
=.
7889 # Strip out any user-provided options from the nm to test twice,
7890 # the first time to test to see if nm (rather than its options) has
7891 # an explicit path, the second time to yield a file which can be
7893 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
7894 case "$tmp_nm_path" in
7895 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
7896 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
7898 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
7899 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
7900 # Check to see if the nm accepts a BSD-compat flag.
7901 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7902 # nm: unknown option "B" ignored
7903 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7904 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
7908 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7910 lt_cv_path_NM
="$tmp_nm -p"
7914 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7915 continue # so that we can try to find one that supports BSD flags
7924 : ${lt_cv_path_NM=no}
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7927 $as_echo "$lt_cv_path_NM" >&6; }
7928 if test "$lt_cv_path_NM" != "no"; then
7931 # Didn't find any BSD compatible name lister, look for dumpbin.
7932 if test -n "$DUMPBIN"; then :
7933 # Let the user override the test.
7935 if test -n "$ac_tool_prefix"; then
7936 for ac_prog
in dumpbin
"link -dump"
7938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7939 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7941 $as_echo_n "checking for $ac_word... " >&6; }
7942 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7943 $as_echo_n "(cached) " >&6
7945 if test -n "$DUMPBIN"; then
7946 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7952 test -z "$as_dir" && as_dir
=.
7953 for ac_exec_ext
in '' $ac_executable_extensions; do
7954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7955 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7965 DUMPBIN
=$ac_cv_prog_DUMPBIN
7966 if test -n "$DUMPBIN"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7968 $as_echo "$DUMPBIN" >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7975 test -n "$DUMPBIN" && break
7978 if test -z "$DUMPBIN"; then
7979 ac_ct_DUMPBIN
=$DUMPBIN
7980 for ac_prog
in dumpbin
"link -dump"
7982 # Extract the first word of "$ac_prog", so it can be a program name with args.
7983 set dummy
$ac_prog; ac_word
=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7985 $as_echo_n "checking for $ac_word... " >&6; }
7986 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7987 $as_echo_n "(cached) " >&6
7989 if test -n "$ac_ct_DUMPBIN"; then
7990 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7996 test -z "$as_dir" && as_dir
=.
7997 for ac_exec_ext
in '' $ac_executable_extensions; do
7998 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7999 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8009 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
8010 if test -n "$ac_ct_DUMPBIN"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8012 $as_echo "$ac_ct_DUMPBIN" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8019 test -n "$ac_ct_DUMPBIN" && break
8022 if test "x$ac_ct_DUMPBIN" = x
; then
8025 case $cross_compiling:$ac_tool_warned in
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8029 ac_tool_warned
=yes ;;
8031 DUMPBIN
=$ac_ct_DUMPBIN
8035 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8037 DUMPBIN
="$DUMPBIN -symbols"
8045 if test "$DUMPBIN" != ":"; then
8049 test -z "$NM" && NM
=nm
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8057 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8058 if ${lt_cv_nm_interface+:} false
; then :
8059 $as_echo_n "(cached) " >&6
8061 lt_cv_nm_interface
="BSD nm"
8062 echo "int some_variable = 0;" > conftest.
$ac_ext
8063 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8064 (eval "$ac_compile" 2>conftest.err
)
8065 cat conftest.err
>&5
8066 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8067 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
8068 cat conftest.err
>&5
8069 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8070 cat conftest.out
>&5
8071 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
8072 lt_cv_nm_interface
="MS dumpbin"
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8077 $as_echo "$lt_cv_nm_interface" >&6; }
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8080 $as_echo_n "checking whether ln -s works... " >&6; }
8082 if test "$LN_S" = "ln -s"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8084 $as_echo "yes" >&6; }
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8087 $as_echo "no, using $LN_S" >&6; }
8090 # find the maximum length of command line arguments
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8092 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8093 if ${lt_cv_sys_max_cmd_len+:} false
; then :
8094 $as_echo_n "(cached) " >&6
8101 # On DJGPP, this test can blow up pretty badly due to problems in libc
8102 # (any single argument exceeding 2000 bytes causes a buffer overrun
8103 # during glob expansion). Even if it were fixed, the result of this
8104 # check would be larger than it should be.
8105 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
8109 # Under GNU Hurd, this test is not required because there is
8110 # no limit to the length of command line arguments.
8111 # Libtool will interpret -1 as no limit whatsoever
8112 lt_cv_sys_max_cmd_len
=-1;
8115 cygwin
* | mingw
* | cegcc
*)
8116 # On Win9x/ME, this test blows up -- it succeeds, but takes
8117 # about 5 minutes as the teststring grows exponentially.
8118 # Worse, since 9x/ME are not pre-emptively multitasking,
8119 # you end up with a "frozen" computer, even though with patience
8120 # the test eventually succeeds (with a max line length of 256k).
8121 # Instead, let's just punt: use the minimum linelength reported by
8122 # all of the supported platforms: 8192 (on NT/2K/XP).
8123 lt_cv_sys_max_cmd_len
=8192;
8127 # On MiNT this can take a long time and run out of memory.
8128 lt_cv_sys_max_cmd_len
=8192;
8132 # On AmigaOS with pdksh, this test takes hours, literally.
8133 # So we just punt and use a minimum line length of 8192.
8134 lt_cv_sys_max_cmd_len
=8192;
8137 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
8138 # This has been around since 386BSD, at least. Likely further.
8139 if test -x /sbin
/sysctl
; then
8140 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
8141 elif test -x /usr
/sbin
/sysctl
; then
8142 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
8144 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
8146 # And add a safety zone
8147 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8148 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8152 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8153 lt_cv_sys_max_cmd_len
=196608
8157 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8158 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8159 # nice to cause kernel panics so lets avoid the loop below.
8160 # First set a reasonable default.
8161 lt_cv_sys_max_cmd_len
=16384
8163 if test -x /sbin
/sysconfig
; then
8164 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8165 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
8170 lt_cv_sys_max_cmd_len
=102400
8172 sysv5
* | sco5v6
* | sysv4.2uw2
*)
8173 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8174 if test -n "$kargmax"; then
8175 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
8177 lt_cv_sys_max_cmd_len
=32768
8181 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
8182 if test -n "$lt_cv_sys_max_cmd_len"; then
8183 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8184 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8186 # Make teststring a little bigger before we do anything with it.
8187 # a 1K string should be a reasonable start.
8188 for i
in 1 2 3 4 5 6 7 8 ; do
8189 teststring
=$teststring$teststring
8191 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
8192 # If test is not a shell built-in, we'll probably end up computing a
8193 # maximum length that is only half of the actual maximum length, but
8195 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
8196 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
8197 test $i != 17 # 1/2 MB should be enough
8200 teststring
=$teststring$teststring
8202 # Only check the string length outside the loop.
8203 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
8205 # Add a significant safety factor because C++ compilers can tack on
8206 # massive amounts of additional arguments before passing them to the
8207 # linker. It appears as though 1/2 is a usable value.
8208 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
8215 if test -n $lt_cv_sys_max_cmd_len ; then
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8217 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8220 $as_echo "none" >&6; }
8222 max_cmd_len
=$lt_cv_sys_max_cmd_len
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8234 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8235 # Try some XSI features
8238 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
8240 && eval 'test $(( 1 + 1 )) -eq 2 \
8241 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
8244 $as_echo "$xsi_shell" >&6; }
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
8248 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
8250 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
8252 && lt_shell_append=yes
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
8254 $as_echo "$lt_shell_append" >&6; }
8257 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8267 # test EBCDIC or ASCII
8268 case `echo X|tr X '\101'` in
8269 A) # ASCII based system
8270 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8271 lt_SP2NL='tr \040 \012'
8272 lt_NL2SP='tr \015\012 \040\040'
8274 *) # EBCDIC based system
8275 lt_SP2NL='tr \100 \n'
8276 lt_NL2SP='tr \r\n \100\100'
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
8289 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
8290 if ${lt_cv_ld_reload_flag+:} false; then :
8291 $as_echo_n "(cached
) " >&6
8293 lt_cv_ld_reload_flag='-r'
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
8296 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8297 reload_flag=$lt_cv_ld_reload_flag
8298 case $reload_flag in
8300 *) reload_flag=" $reload_flag" ;;
8302 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8305 if test "$GCC" = yes; then
8306 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8308 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8321 if test -n "$ac_tool_prefix"; then
8322 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
8323 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8325 $as_echo_n "checking
for $ac_word...
" >&6; }
8326 if ${ac_cv_prog_OBJDUMP+:} false; then :
8327 $as_echo_n "(cached
) " >&6
8329 if test -n "$OBJDUMP"; then
8330 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8339 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8349 OBJDUMP=$ac_cv_prog_OBJDUMP
8350 if test -n "$OBJDUMP"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
8352 $as_echo "$OBJDUMP" >&6; }
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8355 $as_echo "no
" >&6; }
8360 if test -z "$ac_cv_prog_OBJDUMP"; then
8361 ac_ct_OBJDUMP=$OBJDUMP
8362 # Extract the first word of "objdump
", so it can be a program name with args.
8363 set dummy objdump; ac_word=$2
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8365 $as_echo_n "checking
for $ac_word...
" >&6; }
8366 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8367 $as_echo_n "(cached
) " >&6
8369 if test -n "$ac_ct_OBJDUMP"; then
8370 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8376 test -z "$as_dir" && as_dir=.
8377 for ac_exec_ext in '' $ac_executable_extensions; do
8378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8379 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
8380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8389 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8390 if test -n "$ac_ct_OBJDUMP"; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
8392 $as_echo "$ac_ct_OBJDUMP" >&6; }
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8395 $as_echo "no
" >&6; }
8398 if test "x
$ac_ct_OBJDUMP" = x; then
8401 case $cross_compiling:$ac_tool_warned in
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8404 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8405 ac_tool_warned=yes ;;
8407 OBJDUMP=$ac_ct_OBJDUMP
8410 OBJDUMP="$ac_cv_prog_OBJDUMP"
8413 test -z "$OBJDUMP" && OBJDUMP=objdump
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
8424 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
8425 if ${lt_cv_deplibs_check_method+:} false; then :
8426 $as_echo_n "(cached
) " >&6
8428 lt_cv_file_magic_cmd='$MAGIC_CMD'
8429 lt_cv_file_magic_test_file=
8430 lt_cv_deplibs_check_method='unknown'
8431 # Need to set the preceding variable on all platforms that support
8432 # interlibrary dependencies.
8433 # 'none' -- dependencies not supported.
8434 # `unknown' -- same as none, but documents that we really don't know.
8435 # 'pass_all' -- all dependencies passed with no checks.
8436 # 'test_compile' -- check by making test program.
8437 # 'file_magic [[regex]]' -- check by looking for files in library path
8438 # which responds to the $file_magic_cmd with a given extended regex.
8439 # If you have `file' or equivalent on your system and you're not sure
8440 # whether `pass_all' will *always* work, you probably want this one.
8444 lt_cv_deplibs_check_method=pass_all
8448 lt_cv_deplibs_check_method=pass_all
8452 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8453 lt_cv_file_magic_cmd='/usr/bin/file -L'
8454 lt_cv_file_magic_test_file=/shlib/libc.so
8458 # func_win32_libid is a shell function defined in ltmain.sh
8459 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8460 lt_cv_file_magic_cmd='func_win32_libid'
8464 # Base MSYS/MinGW do not provide the 'file' command needed by
8465 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8466 # unless we find 'file', for example because we are cross-compiling.
8467 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8468 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
8469 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8470 lt_cv_file_magic_cmd='func_win32_libid'
8472 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
8473 lt_cv_file_magic_cmd='$OBJDUMP -f'
8478 # use the weaker test based on 'objdump'. See mingw*.
8479 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8480 lt_cv_file_magic_cmd='$OBJDUMP -f'
8483 darwin* | rhapsody*)
8484 lt_cv_deplibs_check_method=pass_all
8487 freebsd* | dragonfly*)
8488 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8491 # Not sure whether the presence of OpenBSD here was a mistake.
8492 # Let's accept both of them until this is cleared up.
8493 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8494 lt_cv_file_magic_cmd=/usr/bin/file
8495 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8499 lt_cv_deplibs_check_method=pass_all
8504 lt_cv_deplibs_check_method=pass_all
8508 lt_cv_deplibs_check_method=pass_all
8511 hpux10.20* | hpux11*)
8512 lt_cv_file_magic_cmd=/usr/bin/file
8515 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8516 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8519 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]'
8520 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8523 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8524 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8530 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8531 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8534 irix5* | irix6* | nonstopux*)
8536 *-32|*"-32 ") libmagic=32-bit;;
8537 *-n32|*"-n32 ") libmagic=N32;;
8538 *-64|*"-64 ") libmagic=64-bit;;
8539 *) libmagic=never-match;;
8541 lt_cv_deplibs_check_method=pass_all
8544 # This must be Linux ELF.
8545 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
8546 lt_cv_deplibs_check_method=pass_all
8550 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8551 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8553 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8558 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8559 lt_cv_file_magic_cmd=/usr/bin/file
8560 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8564 lt_cv_deplibs_check_method=pass_all
8568 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
8569 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8571 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8575 osf3* | osf4* | osf5*)
8576 lt_cv_deplibs_check_method=pass_all
8580 lt_cv_deplibs_check_method=pass_all
8584 lt_cv_deplibs_check_method=pass_all
8587 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8588 lt_cv_deplibs_check_method=pass_all
8592 case $host_vendor in
8594 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]'
8595 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8598 lt_cv_deplibs_check_method=pass_all
8601 lt_cv_file_magic_cmd='/bin/file'
8602 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8605 lt_cv_file_magic_cmd='/bin/file'
8606 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
8607 lt_cv_file_magic_test_file=/lib/libc.so
8610 lt_cv_deplibs_check_method=pass_all
8613 lt_cv_deplibs_check_method=pass_all
8619 lt_cv_deplibs_check_method=pass_all
8622 # Assume VxWorks cross toolchains are built on Linux, possibly
8623 # as canadian for Windows hosts.
8624 lt_cv_deplibs_check_method=pass_all
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
8630 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8631 file_magic_cmd=$lt_cv_file_magic_cmd
8632 deplibs_check_method=$lt_cv_deplibs_check_method
8633 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8647 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
8648 for plugin in $plugin_names; do
8649 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
8650 if test x$plugin_so = x$plugin; then
8651 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
8653 if test x$plugin_so != x$plugin; then
8654 plugin_option="--plugin $plugin_so"
8659 if test -n "$ac_tool_prefix"; then
8660 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8661 set dummy ${ac_tool_prefix}ar; ac_word=$2
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8663 $as_echo_n "checking
for $ac_word...
" >&6; }
8664 if ${ac_cv_prog_AR+:} false; then :
8665 $as_echo_n "(cached
) " >&6
8667 if test -n "$AR"; then
8668 ac_cv_prog_AR="$AR" # Let the user override the test.
8670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8674 test -z "$as_dir" && as_dir=.
8675 for ac_exec_ext in '' $ac_executable_extensions; do
8676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8677 ac_cv_prog_AR="${ac_tool_prefix}ar"
8678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8688 if test -n "$AR"; then
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8690 $as_echo "$AR" >&6; }
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8693 $as_echo "no
" >&6; }
8698 if test -z "$ac_cv_prog_AR"; then
8700 # Extract the first word of "ar", so it can be a program name with args.
8701 set dummy ar; ac_word=$2
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8703 $as_echo_n "checking
for $ac_word...
" >&6; }
8704 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8705 $as_echo_n "(cached
) " >&6
8707 if test -n "$ac_ct_AR"; then
8708 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8714 test -z "$as_dir" && as_dir=.
8715 for ac_exec_ext in '' $ac_executable_extensions; do
8716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8717 ac_cv_prog_ac_ct_AR="ar"
8718 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8727 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8728 if test -n "$ac_ct_AR"; then
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
8730 $as_echo "$ac_ct_AR" >&6; }
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8733 $as_echo "no
" >&6; }
8736 if test "x
$ac_ct_AR" = x; then
8739 case $cross_compiling:$ac_tool_warned in
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8742 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8743 ac_tool_warned=yes ;;
8751 test -z "$AR" && AR=ar
8752 if test -n "$plugin_option"; then
8753 if $AR --help 2>&1 | grep -q "\
--plugin"; then
8755 $AR $plugin_option rc conftest.a conftest.c
8756 if test "$?
" != 0; then
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
8758 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
8760 AR="$AR $plugin_option"
8765 test -z "$AR_FLAGS" && AR_FLAGS=cru
8777 if test -n "$ac_tool_prefix"; then
8778 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
8779 set dummy ${ac_tool_prefix}strip; ac_word=$2
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8781 $as_echo_n "checking
for $ac_word...
" >&6; }
8782 if ${ac_cv_prog_STRIP+:} false; then :
8783 $as_echo_n "(cached
) " >&6
8785 if test -n "$STRIP"; then
8786 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8792 test -z "$as_dir" && as_dir=.
8793 for ac_exec_ext in '' $ac_executable_extensions; do
8794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8795 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
8796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8805 STRIP=$ac_cv_prog_STRIP
8806 if test -n "$STRIP"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8808 $as_echo "$STRIP" >&6; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8811 $as_echo "no
" >&6; }
8816 if test -z "$ac_cv_prog_STRIP"; then
8818 # Extract the first word of "strip
", so it can be a program name with args.
8819 set dummy strip; ac_word=$2
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8821 $as_echo_n "checking
for $ac_word...
" >&6; }
8822 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8823 $as_echo_n "(cached
) " >&6
8825 if test -n "$ac_ct_STRIP"; then
8826 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8832 test -z "$as_dir" && as_dir=.
8833 for ac_exec_ext in '' $ac_executable_extensions; do
8834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8835 ac_cv_prog_ac_ct_STRIP="strip
"
8836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8845 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8846 if test -n "$ac_ct_STRIP"; then
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
8848 $as_echo "$ac_ct_STRIP" >&6; }
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8851 $as_echo "no
" >&6; }
8854 if test "x
$ac_ct_STRIP" = x; then
8857 case $cross_compiling:$ac_tool_warned in
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8860 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8861 ac_tool_warned=yes ;;
8866 STRIP="$ac_cv_prog_STRIP"
8869 test -z "$STRIP" && STRIP=:
8876 if test -n "$ac_tool_prefix"; then
8877 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8878 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8880 $as_echo_n "checking
for $ac_word...
" >&6; }
8881 if ${ac_cv_prog_RANLIB+:} false; then :
8882 $as_echo_n "(cached
) " >&6
8884 if test -n "$RANLIB"; then
8885 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8891 test -z "$as_dir" && as_dir=.
8892 for ac_exec_ext in '' $ac_executable_extensions; do
8893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8894 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8904 RANLIB=$ac_cv_prog_RANLIB
8905 if test -n "$RANLIB"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8907 $as_echo "$RANLIB" >&6; }
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8910 $as_echo "no
" >&6; }
8915 if test -z "$ac_cv_prog_RANLIB"; then
8916 ac_ct_RANLIB=$RANLIB
8917 # Extract the first word of "ranlib
", so it can be a program name with args.
8918 set dummy ranlib; ac_word=$2
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8920 $as_echo_n "checking
for $ac_word...
" >&6; }
8921 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8922 $as_echo_n "(cached
) " >&6
8924 if test -n "$ac_ct_RANLIB"; then
8925 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8931 test -z "$as_dir" && as_dir=.
8932 for ac_exec_ext in '' $ac_executable_extensions; do
8933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8934 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8944 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8945 if test -n "$ac_ct_RANLIB"; then
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8947 $as_echo "$ac_ct_RANLIB" >&6; }
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8950 $as_echo "no
" >&6; }
8953 if test "x
$ac_ct_RANLIB" = x; then
8956 case $cross_compiling:$ac_tool_warned in
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8959 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8960 ac_tool_warned=yes ;;
8962 RANLIB=$ac_ct_RANLIB
8965 RANLIB="$ac_cv_prog_RANLIB"
8968 test -z "$RANLIB" && RANLIB=:
8969 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8970 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
8971 RANLIB="$RANLIB $plugin_option"
8980 # Determine commands to create old-style static archives.
8981 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8982 old_postinstall_cmds='chmod 644 $oldlib'
8983 old_postuninstall_cmds=
8985 if test -n "$RANLIB"; then
8988 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8991 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8994 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8999 lock_old_archive_extraction=yes ;;
9001 lock_old_archive_extraction=no ;;
9042 # If no C compiler was specified, use CC.
9045 # If no C compiler flags were specified, use CFLAGS.
9046 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9048 # Allow CC to be a program name with arguments.
9052 # Check for command to grab the raw symbol name followed by C symbol from nm.
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
9054 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
9055 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9056 $as_echo_n "(cached
) " >&6
9059 # These are sane defaults that work on at least a few old systems.
9060 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9062 # Character class describing NM global symbol codes.
9063 symcode='[BCDEGRST]'
9065 # Regexp to match symbols that can be accessed directly from C.
9066 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9068 # Define system-specific variables.
9073 cygwin* | mingw* | pw32* | cegcc*)
9074 symcode='[ABCDGISTW]'
9077 if test "$host_cpu" = ia64; then
9078 symcode='[ABCDEGRST]'
9082 symcode='[BCDEGRST]'
9085 symcode='[BCDEGQRST]'
9096 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9104 # If we're using GNU nm, then use its standard symbol codes.
9105 case `$NM -V 2>&1` in
9106 *GNU* | *'with BFD'*)
9107 symcode='[ABCDGIRSTW]' ;;
9110 # Transform an extracted symbol line into a proper C declaration.
9111 # Some systems (esp. on ia64) link data and code symbols differently,
9112 # so use this general approach.
9113 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9115 # Transform an extracted symbol line into symbol name and symbol address
9116 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9117 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'"
9119 # Handle CRLF in mingw tool chain
9123 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9127 # Try without a prefix underscore, then with it.
9128 for ac_symprfx in "" "_
"; do
9130 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9131 symxfrm="\\1 $ac_symprfx\\2 \\2"
9133 # Write the raw and C identifiers.
9134 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
9135 # Fake it for dumpbin and say T for any non-static function
9136 # and D for any global variable.
9137 # Also find C++ and __fastcall symbols from MSVC++,
9138 # which start with @ or ?.
9139 lt_cv_sys_global_symbol_pipe="$AWK '"\
9140 " {last_section=section; section=\$ 3};"\
9141 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9142 " \$ 0!~/External *\|/{next};"\
9143 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9144 " {if(hide[section]) next};"\
9145 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9146 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9147 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9148 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9149 " ' prfx
=^
$ac_symprfx"
9151 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9154 # Check to see that the pipe works correctly.
9158 cat > conftest.$ac_ext <<_LT_EOF
9163 void nm_test_func(void);
9164 void nm_test_func(void){}
9168 int main(){nm_test_var='a';nm_test_func();return(0);}
9171 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9172 (eval $ac_compile) 2>&5
9174 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
9175 test $ac_status = 0; }; then
9176 # Now try to grab the symbols.
9178 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
9179 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9181 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
9182 test $ac_status = 0; } && test -s "$nlist"; then
9183 # Try sorting and uniquifying the output.
9184 if sort "$nlist" | uniq > "$nlist"T; then
9185 mv -f "$nlist"T "$nlist"
9190 # Make sure that we snagged all the symbols we need.
9191 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9192 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9193 cat <<_LT_EOF > conftest.$ac_ext
9199 # Now generate the symbol file.
9200 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9202 cat <<_LT_EOF >> conftest.$ac_ext
9204 /* The mapping between symbol names and symbols. */
9209 lt__PROGRAM__LTX_preloaded_symbols[] =
9211 { "@PROGRAM@
", (void *) 0 },
9213 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9214 cat <<\_LT_EOF >> conftest.$ac_ext
9218 /* This works around a problem in FreeBSD linker */
9219 #ifdef FREEBSD_WORKAROUND
9220 static const void *lt_preloaded_setup() {
9221 return lt__PROGRAM__LTX_preloaded_symbols;
9229 # Now try linking the two files.
9230 mv conftest.$ac_objext conftstm.$ac_objext
9231 lt_save_LIBS="$LIBS"
9232 lt_save_CFLAGS="$CFLAGS"
9233 LIBS="conftstm.
$ac_objext"
9234 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9235 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9236 (eval $ac_link) 2>&5
9238 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
9239 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9242 LIBS="$lt_save_LIBS"
9243 CFLAGS="$lt_save_CFLAGS"
9245 echo "cannot
find nm_test_func
in $nlist" >&5
9248 echo "cannot
find nm_test_var
in $nlist" >&5
9251 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
9254 echo "$progname: failed program was
:" >&5
9255 cat conftest.$ac_ext >&5
9257 rm -rf conftest* conftst*
9259 # Do not use the global_symbol_pipe unless it works.
9260 if test "$pipe_works" = yes; then
9263 lt_cv_sys_global_symbol_pipe=
9269 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9270 lt_cv_sys_global_symbol_to_cdecl=
9272 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
9274 $as_echo "failed
" >&6; }
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
9277 $as_echo "ok
" >&6; }
9301 # Check whether --enable-libtool-lock was given.
9302 if test "${enable_libtool_lock+set}" = set; then :
9303 enableval=$enable_libtool_lock;
9306 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
9308 # Some flags need to be propagated to the compiler or linker for good
9312 # Find out which ABI we are using.
9313 echo 'int i;' > conftest.$ac_ext
9314 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9315 (eval $ac_compile) 2>&5
9317 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
9318 test $ac_status = 0; }; then
9319 case `/usr/bin/file conftest.$ac_objext` in
9331 # Find out which ABI we are using.
9332 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
9333 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9334 (eval $ac_compile) 2>&5
9336 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
9337 test $ac_status = 0; }; then
9338 if test "$lt_cv_prog_gnu_ld" = yes; then
9339 case `/usr/bin/file conftest.$ac_objext` in
9341 LD="${LD-ld} -melf32bsmip"
9344 LD="${LD-ld} -melf32bmipn32"
9347 LD="${LD-ld} -melf64bmip"
9351 case `/usr/bin/file conftest.$ac_objext` in
9367 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9368 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9369 # Find out which ABI we are using.
9370 echo 'int i;' > conftest.$ac_ext
9371 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9372 (eval $ac_compile) 2>&5
9374 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
9375 test $ac_status = 0; }; then
9376 case `/usr/bin/file conftest.o` in
9379 x86_64-*kfreebsd*-gnu)
9380 LD="${LD-ld} -m elf_i386_fbsd
"
9383 case `/usr/bin/file conftest.o` in
9385 LD="${LD-ld} -m elf32_x86_64
"
9388 LD="${LD-ld} -m elf_i386
"
9392 powerpc64le-*linux*)
9393 LD="${LD-ld} -m elf32lppclinux
"
9396 LD="${LD-ld} -m elf32ppclinux
"
9399 LD="${LD-ld} -m elf_s390
"
9402 LD="${LD-ld} -m elf32_sparc
"
9408 x86_64-*kfreebsd*-gnu)
9409 LD="${LD-ld} -m elf_x86_64_fbsd
"
9412 LD="${LD-ld} -m elf_x86_64
"
9415 LD="${LD-ld} -m elf64lppc
"
9418 LD="${LD-ld} -m elf64ppc
"
9420 s390*-*linux*|s390*-*tpf*)
9421 LD="${LD-ld} -m elf64_s390
"
9424 LD="${LD-ld} -m elf64_sparc
"
9434 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9435 SAVE_CFLAGS="$CFLAGS"
9436 CFLAGS="$CFLAGS -belf"
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
9438 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
9439 if ${lt_cv_cc_needs_belf+:} false; then :
9440 $as_echo_n "(cached
) " >&6
9443 ac_cpp='$CPP $CPPFLAGS'
9444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 lt_cv_cc_needs_belf=yes
9462 lt_cv_cc_needs_belf=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9467 ac_cpp='$CPP $CPPFLAGS'
9468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
9474 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9475 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9476 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9477 CFLAGS="$SAVE_CFLAGS"
9481 # Find out which ABI we are using.
9482 echo 'int i;' > conftest.$ac_ext
9483 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9484 (eval $ac_compile) 2>&5
9486 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
9487 test $ac_status = 0; }; then
9488 case `/usr/bin/file conftest.o` in
9490 case $lt_cv_prog_gnu_ld in
9491 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
9493 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9505 need_locks="$enable_libtool_lock"
9509 rhapsody* | darwin*)
9510 if test -n "$ac_tool_prefix"; then
9511 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
9512 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9514 $as_echo_n "checking
for $ac_word...
" >&6; }
9515 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9516 $as_echo_n "(cached
) " >&6
9518 if test -n "$DSYMUTIL"; then
9519 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9525 test -z "$as_dir" && as_dir=.
9526 for ac_exec_ext in '' $ac_executable_extensions; do
9527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9528 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
9529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9538 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9539 if test -n "$DSYMUTIL"; then
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
9541 $as_echo "$DSYMUTIL" >&6; }
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9544 $as_echo "no
" >&6; }
9549 if test -z "$ac_cv_prog_DSYMUTIL"; then
9550 ac_ct_DSYMUTIL=$DSYMUTIL
9551 # Extract the first word of "dsymutil
", so it can be a program name with args.
9552 set dummy dsymutil; ac_word=$2
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9554 $as_echo_n "checking
for $ac_word...
" >&6; }
9555 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9556 $as_echo_n "(cached
) " >&6
9558 if test -n "$ac_ct_DSYMUTIL"; then
9559 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9565 test -z "$as_dir" && as_dir=.
9566 for ac_exec_ext in '' $ac_executable_extensions; do
9567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9568 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
9569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9578 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9579 if test -n "$ac_ct_DSYMUTIL"; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
9581 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9584 $as_echo "no
" >&6; }
9587 if test "x
$ac_ct_DSYMUTIL" = x; then
9590 case $cross_compiling:$ac_tool_warned in
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9593 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9594 ac_tool_warned=yes ;;
9596 DSYMUTIL=$ac_ct_DSYMUTIL
9599 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9602 if test -n "$ac_tool_prefix"; then
9603 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
9604 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9606 $as_echo_n "checking
for $ac_word...
" >&6; }
9607 if ${ac_cv_prog_NMEDIT+:} false; then :
9608 $as_echo_n "(cached
) " >&6
9610 if test -n "$NMEDIT"; then
9611 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9617 test -z "$as_dir" && as_dir=.
9618 for ac_exec_ext in '' $ac_executable_extensions; do
9619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9620 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
9621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9630 NMEDIT=$ac_cv_prog_NMEDIT
9631 if test -n "$NMEDIT"; then
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
9633 $as_echo "$NMEDIT" >&6; }
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9636 $as_echo "no
" >&6; }
9641 if test -z "$ac_cv_prog_NMEDIT"; then
9642 ac_ct_NMEDIT=$NMEDIT
9643 # Extract the first word of "nmedit
", so it can be a program name with args.
9644 set dummy nmedit; ac_word=$2
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9646 $as_echo_n "checking
for $ac_word...
" >&6; }
9647 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9648 $as_echo_n "(cached
) " >&6
9650 if test -n "$ac_ct_NMEDIT"; then
9651 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9657 test -z "$as_dir" && as_dir=.
9658 for ac_exec_ext in '' $ac_executable_extensions; do
9659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9660 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
9661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9670 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9671 if test -n "$ac_ct_NMEDIT"; then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
9673 $as_echo "$ac_ct_NMEDIT" >&6; }
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9676 $as_echo "no
" >&6; }
9679 if test "x
$ac_ct_NMEDIT" = x; then
9682 case $cross_compiling:$ac_tool_warned in
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9685 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9686 ac_tool_warned=yes ;;
9688 NMEDIT=$ac_ct_NMEDIT
9691 NMEDIT="$ac_cv_prog_NMEDIT"
9694 if test -n "$ac_tool_prefix"; then
9695 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
9696 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9698 $as_echo_n "checking
for $ac_word...
" >&6; }
9699 if ${ac_cv_prog_LIPO+:} false; then :
9700 $as_echo_n "(cached
) " >&6
9702 if test -n "$LIPO"; then
9703 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9709 test -z "$as_dir" && as_dir=.
9710 for ac_exec_ext in '' $ac_executable_extensions; do
9711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9712 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9722 LIPO=$ac_cv_prog_LIPO
9723 if test -n "$LIPO"; then
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9725 $as_echo "$LIPO" >&6; }
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9728 $as_echo "no
" >&6; }
9733 if test -z "$ac_cv_prog_LIPO"; then
9735 # Extract the first word of "lipo
", so it can be a program name with args.
9736 set dummy lipo; ac_word=$2
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9738 $as_echo_n "checking
for $ac_word...
" >&6; }
9739 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9740 $as_echo_n "(cached
) " >&6
9742 if test -n "$ac_ct_LIPO"; then
9743 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9749 test -z "$as_dir" && as_dir=.
9750 for ac_exec_ext in '' $ac_executable_extensions; do
9751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9752 ac_cv_prog_ac_ct_LIPO="lipo
"
9753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9762 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9763 if test -n "$ac_ct_LIPO"; then
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9765 $as_echo "$ac_ct_LIPO" >&6; }
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9768 $as_echo "no
" >&6; }
9771 if test "x
$ac_ct_LIPO" = x; then
9774 case $cross_compiling:$ac_tool_warned in
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9777 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9778 ac_tool_warned=yes ;;
9783 LIPO="$ac_cv_prog_LIPO"
9786 if test -n "$ac_tool_prefix"; then
9787 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9788 set dummy ${ac_tool_prefix}otool; ac_word=$2
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9790 $as_echo_n "checking
for $ac_word...
" >&6; }
9791 if ${ac_cv_prog_OTOOL+:} false; then :
9792 $as_echo_n "(cached
) " >&6
9794 if test -n "$OTOOL"; then
9795 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9801 test -z "$as_dir" && as_dir=.
9802 for ac_exec_ext in '' $ac_executable_extensions; do
9803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9804 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9805 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9814 OTOOL=$ac_cv_prog_OTOOL
9815 if test -n "$OTOOL"; then
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9817 $as_echo "$OTOOL" >&6; }
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9820 $as_echo "no
" >&6; }
9825 if test -z "$ac_cv_prog_OTOOL"; then
9827 # Extract the first word of "otool
", so it can be a program name with args.
9828 set dummy otool; ac_word=$2
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9830 $as_echo_n "checking
for $ac_word...
" >&6; }
9831 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9832 $as_echo_n "(cached
) " >&6
9834 if test -n "$ac_ct_OTOOL"; then
9835 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9841 test -z "$as_dir" && as_dir=.
9842 for ac_exec_ext in '' $ac_executable_extensions; do
9843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9844 ac_cv_prog_ac_ct_OTOOL="otool
"
9845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9854 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9855 if test -n "$ac_ct_OTOOL"; then
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9857 $as_echo "$ac_ct_OTOOL" >&6; }
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9860 $as_echo "no
" >&6; }
9863 if test "x
$ac_ct_OTOOL" = x; then
9866 case $cross_compiling:$ac_tool_warned in
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9869 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9870 ac_tool_warned=yes ;;
9875 OTOOL="$ac_cv_prog_OTOOL"
9878 if test -n "$ac_tool_prefix"; then
9879 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9880 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9882 $as_echo_n "checking
for $ac_word...
" >&6; }
9883 if ${ac_cv_prog_OTOOL64+:} false; then :
9884 $as_echo_n "(cached
) " >&6
9886 if test -n "$OTOOL64"; then
9887 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9893 test -z "$as_dir" && as_dir=.
9894 for ac_exec_ext in '' $ac_executable_extensions; do
9895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9896 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9897 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9906 OTOOL64=$ac_cv_prog_OTOOL64
9907 if test -n "$OTOOL64"; then
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9909 $as_echo "$OTOOL64" >&6; }
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9912 $as_echo "no
" >&6; }
9917 if test -z "$ac_cv_prog_OTOOL64"; then
9918 ac_ct_OTOOL64=$OTOOL64
9919 # Extract the first word of "otool64
", so it can be a program name with args.
9920 set dummy otool64; ac_word=$2
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9922 $as_echo_n "checking
for $ac_word...
" >&6; }
9923 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9924 $as_echo_n "(cached
) " >&6
9926 if test -n "$ac_ct_OTOOL64"; then
9927 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9933 test -z "$as_dir" && as_dir=.
9934 for ac_exec_ext in '' $ac_executable_extensions; do
9935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9936 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9946 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9947 if test -n "$ac_ct_OTOOL64"; then
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9949 $as_echo "$ac_ct_OTOOL64" >&6; }
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9952 $as_echo "no
" >&6; }
9955 if test "x
$ac_ct_OTOOL64" = x; then
9958 case $cross_compiling:$ac_tool_warned in
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9961 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9962 ac_tool_warned=yes ;;
9964 OTOOL64=$ac_ct_OTOOL64
9967 OTOOL64="$ac_cv_prog_OTOOL64"
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9997 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9998 if ${lt_cv_apple_cc_single_mod+:} false; then :
9999 $as_echo_n "(cached
) " >&6
10001 lt_cv_apple_cc_single_mod=no
10002 if test -z "${LT_MULTI_MODULE}"; then
10003 # By default we will add the -single_module flag. You can override
10004 # by either setting the environment variable LT_MULTI_MODULE
10005 # non-empty at configure time, or by adding -multi_module to the
10007 rm -rf libconftest.dylib*
10008 echo "int foo
(void
){return 1;}" > conftest.c
10009 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10010 -dynamiclib -Wl,-single_module conftest.c
" >&5
10011 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10012 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10014 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
10015 lt_cv_apple_cc_single_mod=yes
10017 cat conftest.err >&5
10019 rm -rf libconftest.dylib*
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
10024 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
10026 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
10027 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10028 $as_echo_n "(cached
) " >&6
10030 lt_cv_ld_exported_symbols_list=no
10031 save_LDFLAGS=$LDFLAGS
10032 echo "_main
" > conftest.sym
10033 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 lt_cv_ld_exported_symbols_list=yes
10048 lt_cv_ld_exported_symbols_list=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LDFLAGS="$save_LDFLAGS"
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
10056 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
10058 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
10059 if ${lt_cv_ld_force_load+:} false; then :
10060 $as_echo_n "(cached
) " >&6
10062 lt_cv_ld_force_load=no
10063 cat > conftest.c << _LT_EOF
10064 int forced_loaded() { return 2;}
10066 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
10067 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10068 echo "$AR cru libconftest.a conftest.o
" >&5
10069 $AR cru libconftest.a conftest.o 2>&5
10070 cat > conftest.c << _LT_EOF
10071 int main() { return 0;}
10073 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
10074 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10076 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
10077 lt_cv_ld_force_load=yes
10079 cat conftest.err >&5
10081 rm -f conftest.err libconftest.a conftest conftest.c
10082 rm -rf conftest.dSYM
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
10086 $as_echo "$lt_cv_ld_force_load" >&6; }
10087 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
10088 # build without first building modern cctools / linker.
10089 case $host_cpu-$host_os in
10090 *-rhapsody* | *-darwin1.[012])
10091 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10093 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10095 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
10096 # deployment target is forced to an earlier version.
10097 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
10098 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
10101 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10108 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10109 _lt_dar_single_mod='$single_module'
10111 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10112 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10114 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10116 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
10117 _lt_dsymutil='~$DSYMUTIL $lib || :'
10124 for ac_header in dlfcn.h
10126 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
10128 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
10129 cat >>confdefs.h <<_ACEOF
10130 #define HAVE_DLFCN_H 1
10148 enable_win32_dll=no
10152 # Check whether --enable-static was given.
10153 if test "${enable_static+set}" = set; then :
10154 enableval=$enable_static; p=${PACKAGE-default}
10156 yes) enable_static=yes ;;
10157 no) enable_static=no ;;
10160 # Look at the argument we got. We use all the common list separators.
10161 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10162 for pkg in $enableval; do
10164 if test "X
$pkg" = "X
$p"; then
10184 # Check whether --with-pic was given.
10185 if test "${with_pic+set}" = set; then :
10186 withval=$with_pic; pic_mode="$withval"
10192 test -z "$pic_mode" && pic_mode=default
10200 # Check whether --enable-fast-install was given.
10201 if test "${enable_fast_install+set}" = set; then :
10202 enableval=$enable_fast_install; p=${PACKAGE-default}
10204 yes) enable_fast_install=yes ;;
10205 no) enable_fast_install=no ;;
10207 enable_fast_install=no
10208 # Look at the argument we got. We use all the common list separators.
10209 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10210 for pkg in $enableval; do
10212 if test "X
$pkg" = "X
$p"; then
10213 enable_fast_install=yes
10220 enable_fast_install=yes
10233 # This can be used to rebuild libtool when needed
10234 LIBTOOL_DEPS="$ltmain"
10236 # Always use our own libtool.
10237 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10264 test -z "$LN_S" && LN_S="ln -s"
10279 if test -n "${ZSH_VERSION+set}" ; then
10280 setopt NO_GLOB_SUBST
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
10284 $as_echo_n "checking
for objdir...
" >&6; }
10285 if ${lt_cv_objdir+:} false; then :
10286 $as_echo_n "(cached
) " >&6
10288 rm -f .libs 2>/dev/null
10289 mkdir .libs 2>/dev/null
10290 if test -d .libs; then
10293 # MS-DOS does not allow filenames that begin with a dot.
10296 rmdir .libs 2>/dev/null
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
10299 $as_echo "$lt_cv_objdir" >&6; }
10300 objdir=$lt_cv_objdir
10306 cat >>confdefs.h <<_ACEOF
10307 #define LT_OBJDIR "$lt_cv_objdir/"
10315 # AIX sometimes has problems with the GCC collect2 program. For some
10316 # reason, if we set the COLLECT_NAMES environment variable, the problems
10317 # vanish in a puff of smoke.
10318 if test "X
${COLLECT_NAMES+set}" != Xset; then
10320 export COLLECT_NAMES
10325 # Global variables:
10327 can_build_shared=yes
10329 # All known linkers require a `.a' archive for static linking (except MSVC,
10330 # which needs '.lib').
10333 with_gnu_ld="$lt_cv_prog_gnu_ld"
10336 old_CFLAGS="$CFLAGS"
10338 # Set sane defaults for various variables
10339 test -z "$CC" && CC=cc
10340 test -z "$LTCC" && LTCC=$CC
10341 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10342 test -z "$LD" && LD=ld
10343 test -z "$ac_objext" && ac_objext=o
10345 for cc_temp in $compiler""; do
10347 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10348 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10353 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
10356 # Only perform the check for file, if the check method requires it
10357 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10358 case $deplibs_check_method in
10360 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
10362 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
10363 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10364 $as_echo_n "(cached
) " >&6
10368 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10371 lt_save_MAGIC_CMD="$MAGIC_CMD"
10372 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10373 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
10374 for ac_dir in $ac_dummy; do
10376 test -z "$ac_dir" && ac_dir=.
10377 if test -f $ac_dir/${ac_tool_prefix}file; then
10378 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10379 if test -n "$file_magic_test_file"; then
10380 case $deplibs_check_method in
10382 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
10383 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10384 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10385 $EGREP "$file_magic_regex" > /dev/null; then
10390 *** Warning: the command libtool uses to detect shared libraries,
10391 *** $file_magic_cmd, produces output that libtool cannot recognize.
10392 *** The result is that libtool may fail to recognize shared libraries
10393 *** as such. This will affect the creation of libtool libraries that
10394 *** depend on shared libraries, but programs linked with such libtool
10395 *** libraries will work regardless of this problem. Nevertheless, you
10396 *** may want to report the problem to your system manager and/or to
10397 *** bug-libtool@gnu.org
10407 MAGIC_CMD="$lt_save_MAGIC_CMD"
10412 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10413 if test -n "$MAGIC_CMD"; then
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
10415 $as_echo "$MAGIC_CMD" >&6; }
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10418 $as_echo "no
" >&6; }
10425 if test -z "$lt_cv_path_MAGIC_CMD"; then
10426 if test -n "$ac_tool_prefix"; then
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
10428 $as_echo_n "checking
for file...
" >&6; }
10429 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10430 $as_echo_n "(cached
) " >&6
10434 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10437 lt_save_MAGIC_CMD="$MAGIC_CMD"
10438 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10439 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
10440 for ac_dir in $ac_dummy; do
10442 test -z "$ac_dir" && ac_dir=.
10443 if test -f $ac_dir/file; then
10444 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10445 if test -n "$file_magic_test_file"; then
10446 case $deplibs_check_method in
10448 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
10449 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10450 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10451 $EGREP "$file_magic_regex" > /dev/null; then
10456 *** Warning: the command libtool uses to detect shared libraries,
10457 *** $file_magic_cmd, produces output that libtool cannot recognize.
10458 *** The result is that libtool may fail to recognize shared libraries
10459 *** as such. This will affect the creation of libtool libraries that
10460 *** depend on shared libraries, but programs linked with such libtool
10461 *** libraries will work regardless of this problem. Nevertheless, you
10462 *** may want to report the problem to your system manager and/or to
10463 *** bug-libtool@gnu.org
10473 MAGIC_CMD="$lt_save_MAGIC_CMD"
10478 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10479 if test -n "$MAGIC_CMD"; then
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
10481 $as_echo "$MAGIC_CMD" >&6; }
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10484 $as_echo "no
" >&6; }
10497 # Use C for the default configuration in the libtool script
10501 ac_cpp='$CPP $CPPFLAGS'
10502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10507 # Source file extension for C test sources.
10510 # Object file extension for compiled C test sources.
10514 # Code to be used in simple compile tests
10515 lt_simple_compile_test_code="int some_variable
= 0;"
10517 # Code to be used in simple link tests
10518 lt_simple_link_test_code='int main(){return(0);}'
10526 # If no C compiler was specified, use CC.
10529 # If no C compiler flags were specified, use CFLAGS.
10530 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10532 # Allow CC to be a program name with arguments.
10535 # Save the default compiler, since it gets overwritten when the other
10536 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10537 compiler_DEFAULT=$CC
10539 # save warnings/boilerplate of simple test code
10540 ac_outfile=conftest.$ac_objext
10541 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10542 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10543 _lt_compiler_boilerplate=`cat conftest.err`
10546 ac_outfile=conftest.$ac_objext
10547 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10548 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10549 _lt_linker_boilerplate=`cat conftest.err`
10554 ## There is no encapsulation within the following macros, do not change
10555 ## the running order or otherwise move them around unless you know exactly
10556 ## what you are doing...
10557 if test -n "$compiler"; then
10559 lt_prog_compiler_no_builtin_flag=
10561 if test "$GCC" = yes; then
10562 case $cc_basename in
10564 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10566 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
10570 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
10571 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10572 $as_echo_n "(cached
) " >&6
10574 lt_cv_prog_compiler_rtti_exceptions=no
10575 ac_outfile=conftest.$ac_objext
10576 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10577 lt_compiler_flag="-fno-rtti -fno-exceptions"
10578 # Insert the option either (1) after the last *FLAGS variable, or
10579 # (2) before a word containing "conftest.
", or (3) at the end.
10580 # Note that $ac_compile itself does not contain backslashes and begins
10581 # with a dollar sign (not a hyphen), so the echo should work correctly.
10582 # The option is referenced via a variable to avoid confusing sed.
10583 lt_compile=`echo "$ac_compile" | $SED \
10584 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10585 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10586 -e 's:$: $lt_compiler_flag:'`
10587 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10588 (eval "$lt_compile" 2>conftest.err)
10590 cat conftest.err >&5
10591 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10592 if (exit $ac_status) && test -s "$ac_outfile"; then
10593 # The compiler can only warn and ignore the option if not recognized
10594 # So say no if there are warnings other than the usual output.
10595 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10596 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10597 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10598 lt_cv_prog_compiler_rtti_exceptions=yes
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
10605 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10607 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10608 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10620 lt_prog_compiler_wl=
10621 lt_prog_compiler_pic=
10622 lt_prog_compiler_static=
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
10625 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
10627 if test "$GCC" = yes; then
10628 lt_prog_compiler_wl='-Wl,'
10629 lt_prog_compiler_static='-static'
10633 # All AIX code is PIC.
10634 if test "$host_cpu" = ia64; then
10635 # AIX 5 now supports IA64 processor
10636 lt_prog_compiler_static='-Bstatic'
10638 lt_prog_compiler_pic='-fPIC'
10644 # see comment about AmigaOS4 .so support
10645 lt_prog_compiler_pic='-fPIC'
10648 # FIXME: we need at least 68020 code to build shared libraries, but
10649 # adding the `-m68020' flag to GCC prevents building anything better,
10651 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10656 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10657 # PIC is the default for these OSes.
10660 mingw* | cygwin* | pw32* | os2* | cegcc*)
10661 # This hack is so that the source file can tell whether it is being
10662 # built for inclusion in a dll (and should export symbols for example).
10663 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10664 # (--disable-auto-import) libraries
10665 lt_prog_compiler_pic='-DDLL_EXPORT'
10668 darwin* | rhapsody*)
10669 # PIC is the default on this platform
10670 # Common symbols not allowed in MH_DYLIB files
10671 lt_prog_compiler_pic='-fno-common'
10675 # PIC is the default for Haiku.
10676 # The "-static" flag exists, but is broken.
10677 lt_prog_compiler_static=
10681 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10682 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10683 # sets the default TLS model and affects inlining.
10689 lt_prog_compiler_pic='-fPIC'
10695 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10696 # Instead, we relocate shared libraries at runtime.
10700 # Just because we use GCC doesn't mean we suddenly get shared libraries
10701 # on systems that don't support them.
10702 lt_prog_compiler_can_build_shared=no
10707 # QNX uses GNU C++, but need to define -shared option too, otherwise
10708 # it will coredump.
10709 lt_prog_compiler_pic='-fPIC -shared'
10713 if test -d /usr/nec; then
10714 lt_prog_compiler_pic=-Kconform_pic
10719 lt_prog_compiler_pic='-fPIC'
10723 case $cc_basename in
10724 nvcc*) # Cuda Compiler Driver 2.2
10725 lt_prog_compiler_wl='-Xlinker '
10726 lt_prog_compiler_pic='-Xcompiler -fPIC'
10730 # PORTME Check for flag to pass linker flags through the system compiler.
10733 lt_prog_compiler_wl='-Wl,'
10734 if test "$host_cpu" = ia64; then
10735 # AIX 5 now supports IA64 processor
10736 lt_prog_compiler_static='-Bstatic'
10738 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10742 mingw* | cygwin* | pw32* | os2* | cegcc*)
10743 # This hack is so that the source file can tell whether it is being
10744 # built for inclusion in a dll (and should export symbols for example).
10745 lt_prog_compiler_pic='-DDLL_EXPORT'
10748 hpux9* | hpux10* | hpux11*)
10749 lt_prog_compiler_wl='-Wl,'
10750 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10751 # not for PA HP-UX.
10757 lt_prog_compiler_pic='+Z'
10760 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10761 lt_prog_compiler_static='${wl}-a ${wl}archive'
10764 irix5* | irix6* | nonstopux*)
10765 lt_prog_compiler_wl='-Wl,'
10766 # PIC (with -KPIC) is the default.
10767 lt_prog_compiler_static='-non_shared'
10770 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10771 case $cc_basename in
10772 # old Intel for x86_64 which still supported -KPIC.
10774 lt_prog_compiler_wl='-Wl,'
10775 lt_prog_compiler_pic='-KPIC'
10776 lt_prog_compiler_static='-static'
10778 # icc used to be incompatible with GCC.
10779 # ICC 10 doesn't accept -KPIC any more.
10781 lt_prog_compiler_wl='-Wl,'
10782 lt_prog_compiler_pic='-fPIC'
10783 lt_prog_compiler_static='-static'
10785 # Lahey Fortran 8.1.
10787 lt_prog_compiler_wl='-Wl,'
10788 lt_prog_compiler_pic='--shared'
10789 lt_prog_compiler_static='--static'
10791 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10792 # Portland Group compilers (*not* the Pentium gcc compiler,
10793 # which looks to be a dead project)
10794 lt_prog_compiler_wl='-Wl,'
10795 lt_prog_compiler_pic='-fpic'
10796 lt_prog_compiler_static='-Bstatic'
10799 lt_prog_compiler_wl='-Wl,'
10800 # All Alpha code is PIC.
10801 lt_prog_compiler_static='-non_shared'
10803 xl* | bgxl* | bgf* | mpixl*)
10804 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10805 lt_prog_compiler_wl='-Wl,'
10806 lt_prog_compiler_pic='-qpic'
10807 lt_prog_compiler_static='-qstaticlink'
10810 case `$CC -V 2>&1 | sed 5q` in
10811 *Sun\ F* | *Sun*Fortran*)
10812 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10813 lt_prog_compiler_pic='-KPIC'
10814 lt_prog_compiler_static='-Bstatic'
10815 lt_prog_compiler_wl=''
10819 lt_prog_compiler_pic='-KPIC'
10820 lt_prog_compiler_static='-Bstatic'
10821 lt_prog_compiler_wl='-Wl,'
10829 lt_prog_compiler_pic='-KPIC'
10830 lt_prog_compiler_static='-Bstatic'
10834 # QNX uses GNU C++, but need to define -shared option too, otherwise
10835 # it will coredump.
10836 lt_prog_compiler_pic='-fPIC -shared'
10839 osf3* | osf4* | osf5*)
10840 lt_prog_compiler_wl='-Wl,'
10841 # All OSF/1 code is PIC.
10842 lt_prog_compiler_static='-non_shared'
10846 lt_prog_compiler_static='-non_shared'
10850 lt_prog_compiler_pic='-KPIC'
10851 lt_prog_compiler_static='-Bstatic'
10852 case $cc_basename in
10853 f77* | f90* | f95*)
10854 lt_prog_compiler_wl='-Qoption ld ';;
10856 lt_prog_compiler_wl='-Wl,';;
10861 lt_prog_compiler_wl='-Qoption ld '
10862 lt_prog_compiler_pic='-PIC'
10863 lt_prog_compiler_static='-Bstatic'
10866 sysv4 | sysv4.2uw2* | sysv4.3*)
10867 lt_prog_compiler_wl='-Wl,'
10868 lt_prog_compiler_pic='-KPIC'
10869 lt_prog_compiler_static='-Bstatic'
10873 if test -d /usr/nec ;then
10874 lt_prog_compiler_pic='-Kconform_pic'
10875 lt_prog_compiler_static='-Bstatic'
10879 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10880 lt_prog_compiler_wl='-Wl,'
10881 lt_prog_compiler_pic='-KPIC'
10882 lt_prog_compiler_static='-Bstatic'
10886 lt_prog_compiler_wl='-Wl,'
10887 lt_prog_compiler_can_build_shared=no
10891 lt_prog_compiler_pic='-pic'
10892 lt_prog_compiler_static='-Bstatic'
10896 lt_prog_compiler_can_build_shared=no
10902 # For platforms which do not support PIC, -DPIC is meaningless:
10904 lt_prog_compiler_pic=
10907 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
10911 $as_echo "$lt_prog_compiler_pic" >&6; }
10919 # Check to make sure the PIC flag actually works.
10921 if test -n "$lt_prog_compiler_pic"; then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
10923 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
10924 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10925 $as_echo_n "(cached
) " >&6
10927 lt_cv_prog_compiler_pic_works=no
10928 ac_outfile=conftest.$ac_objext
10929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10930 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10931 # Insert the option either (1) after the last *FLAGS variable, or
10932 # (2) before a word containing "conftest.
", or (3) at the end.
10933 # Note that $ac_compile itself does not contain backslashes and begins
10934 # with a dollar sign (not a hyphen), so the echo should work correctly.
10935 # The option is referenced via a variable to avoid confusing sed.
10936 lt_compile=`echo "$ac_compile" | $SED \
10937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10939 -e 's:$: $lt_compiler_flag:'`
10940 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10941 (eval "$lt_compile" 2>conftest.err)
10943 cat conftest.err >&5
10944 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10945 if (exit $ac_status) && test -s "$ac_outfile"; then
10946 # The compiler can only warn and ignore the option if not recognized
10947 # So say no if there are warnings other than the usual output.
10948 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10949 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10950 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10951 lt_cv_prog_compiler_pic_works=yes
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
10958 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10960 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10961 case $lt_prog_compiler_pic in
10963 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10966 lt_prog_compiler_pic=
10967 lt_prog_compiler_can_build_shared=no
10978 # Check to make sure the static flag actually works.
10980 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10982 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10983 if ${lt_cv_prog_compiler_static_works+:} false; then :
10984 $as_echo_n "(cached
) " >&6
10986 lt_cv_prog_compiler_static_works=no
10987 save_LDFLAGS="$LDFLAGS"
10988 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10989 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10990 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10991 # The linker can only warn and ignore the option if not recognized
10992 # So say no if there are warnings
10993 if test -s conftest.err; then
10994 # Append any errors to the config.log.
10995 cat conftest.err 1>&5
10996 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10997 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10998 if diff conftest.exp conftest.er2 >/dev/null; then
10999 lt_cv_prog_compiler_static_works=yes
11002 lt_cv_prog_compiler_static_works=yes
11006 LDFLAGS="$save_LDFLAGS"
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
11010 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11012 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11015 lt_prog_compiler_static=
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
11025 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
11026 if ${lt_cv_prog_compiler_c_o+:} false; then :
11027 $as_echo_n "(cached
) " >&6
11029 lt_cv_prog_compiler_c_o=no
11030 $RM -r conftest 2>/dev/null
11034 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11036 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
11037 # Insert the option either (1) after the last *FLAGS variable, or
11038 # (2) before a word containing "conftest.
", or (3) at the end.
11039 # Note that $ac_compile itself does not contain backslashes and begins
11040 # with a dollar sign (not a hyphen), so the echo should work correctly.
11041 lt_compile=`echo "$ac_compile" | $SED \
11042 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11043 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11044 -e 's:$: $lt_compiler_flag:'`
11045 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11046 (eval "$lt_compile" 2>out/conftest.err)
11048 cat out/conftest.err >&5
11049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11050 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11052 # The compiler can only warn and ignore the option if not recognized
11053 # So say no if there are warnings
11054 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11055 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11056 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11057 lt_cv_prog_compiler_c_o=yes
11062 # SGI C++ compiler will create directory out/ii_files/ for
11063 # template instantiation
11064 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11065 $RM out/* && rmdir out
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
11072 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
11080 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
11081 if ${lt_cv_prog_compiler_c_o+:} false; then :
11082 $as_echo_n "(cached
) " >&6
11084 lt_cv_prog_compiler_c_o=no
11085 $RM -r conftest 2>/dev/null
11089 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11091 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
11092 # Insert the option either (1) after the last *FLAGS variable, or
11093 # (2) before a word containing "conftest.
", or (3) at the end.
11094 # Note that $ac_compile itself does not contain backslashes and begins
11095 # with a dollar sign (not a hyphen), so the echo should work correctly.
11096 lt_compile=`echo "$ac_compile" | $SED \
11097 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11098 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11099 -e 's:$: $lt_compiler_flag:'`
11100 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11101 (eval "$lt_compile" 2>out/conftest.err)
11103 cat out/conftest.err >&5
11104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11105 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11107 # The compiler can only warn and ignore the option if not recognized
11108 # So say no if there are warnings
11109 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11110 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11111 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11112 lt_cv_prog_compiler_c_o=yes
11117 # SGI C++ compiler will create directory out/ii_files/ for
11118 # template instantiation
11119 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11120 $RM out/* && rmdir out
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
11127 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11132 hard_links="nottested
"
11133 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11134 # do not overwrite the value of need_locks provided by the user
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
11136 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
11139 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11141 ln conftest.a conftest.b 2>&5 || hard_links=no
11142 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
11144 $as_echo "$hard_links" >&6; }
11145 if test "$hard_links" = no; then
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
11147 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
11160 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
11163 allow_undefined_flag=
11164 always_export_symbols=no
11166 archive_expsym_cmds=
11167 compiler_needs_object=no
11168 enable_shared_with_static_runtimes=no
11169 export_dynamic_flag_spec=
11170 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11171 hardcode_automatic=no
11173 hardcode_direct_absolute=no
11174 hardcode_libdir_flag_spec=
11175 hardcode_libdir_flag_spec_ld=
11176 hardcode_libdir_separator=
11177 hardcode_minus_L=no
11178 hardcode_shlibpath_var=unsupported
11180 link_all_deplibs=unknown
11182 module_expsym_cmds=
11183 old_archive_from_new_cmds=
11184 old_archive_from_expsyms_cmds=
11185 thread_safe_flag_spec=
11186 whole_archive_flag_spec=
11187 # include_expsyms should be a list of space-separated symbols to be *always*
11188 # included in the symbol list
11190 # exclude_expsyms can be an extended regexp of symbols to exclude
11191 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11192 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11193 # as well as any symbol that contains `d'.
11194 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11195 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11196 # platforms (ab)use it in PIC code, but their linkers get confused if
11197 # the symbol is explicitly referenced. Since portable code cannot
11198 # rely on this symbol name, it's probably fine to never include it in
11199 # preloaded symbol tables.
11200 # Exclude shared library initialization/finalization symbols.
11201 extract_expsyms_cmds=
11204 cygwin* | mingw* | pw32* | cegcc*)
11205 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11206 # When not using gcc, we currently assume that we are using
11207 # Microsoft Visual C++.
11208 if test "$GCC" != yes; then
11213 # we just hope/assume this is gcc and not c89 (= MSVC++)
11223 # On some targets, GNU ld is compatible enough with the native linker
11224 # that we're better off using the native interface for both.
11225 lt_use_gnu_ld_interface=no
11226 if test "$with_gnu_ld" = yes; then
11229 # The AIX port of GNU ld has always aspired to compatibility
11230 # with the native linker. However, as the warning in the GNU ld
11231 # block says, versions before 2.19.5* couldn't really create working
11232 # shared libraries, regardless of the interface used.
11233 case `$LD -v 2>&1` in
11234 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11235 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11236 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11238 lt_use_gnu_ld_interface=yes
11243 lt_use_gnu_ld_interface=yes
11248 if test "$lt_use_gnu_ld_interface" = yes; then
11249 # If archive_cmds runs LD, not CC, wlarc should be empty
11252 # Set some defaults for GNU ld with shared library support. These
11253 # are reset later if shared libraries are not supported. Putting them
11254 # here allows them to be overridden if necessary.
11255 runpath_var=LD_RUN_PATH
11256 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11257 export_dynamic_flag_spec='${wl}--export-dynamic'
11258 # ancient GNU ld didn't support --whole-archive et. al.
11259 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11260 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11262 whole_archive_flag_spec=
11264 supports_anon_versioning=no
11265 case `$LD -v 2>&1` in
11266 *GNU\ gold*) supports_anon_versioning=yes ;;
11267 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11268 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11269 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11270 *\ 2.11.*) ;; # other 2.11 versions
11271 *) supports_anon_versioning=yes ;;
11274 # See if GNU ld supports shared libraries.
11277 # On AIX/PPC, the GNU linker is very broken
11278 if test "$host_cpu" != ia64; then
11282 *** Warning: the GNU linker, at least up to release 2.19, is reported
11283 *** to be unable to reliably create shared libraries on AIX.
11284 *** Therefore, libtool is disabling shared libraries support. If you
11285 *** really care for shared libraries, you may want to install binutils
11286 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11287 *** You will then need to restart the configuration process.
11296 # see comment about AmigaOS4 .so support
11297 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11298 archive_expsym_cmds=''
11301 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)'
11302 hardcode_libdir_flag_spec
='-L$libdir'
11303 hardcode_minus_L
=yes
11309 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11310 allow_undefined_flag
=unsupported
11311 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11312 # support --undefined. This deserves some investigation. FIXME
11313 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11319 cygwin
* | mingw
* | pw32
* | cegcc
*)
11320 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11321 # as there is no search path for DLLs.
11322 hardcode_libdir_flag_spec
='-L$libdir'
11323 export_dynamic_flag_spec
='${wl}--export-all-symbols'
11324 allow_undefined_flag
=unsupported
11325 always_export_symbols
=no
11326 enable_shared_with_static_runtimes
=yes
11327 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11329 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11330 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11331 # If the export-symbols file already is a .def file (1st line
11332 # is EXPORTS), use it as is; otherwise, prepend...
11333 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11334 cp $export_symbols $output_objdir/$soname.def;
11336 echo EXPORTS > $output_objdir/$soname.def;
11337 cat $export_symbols >> $output_objdir/$soname.def;
11339 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11346 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11347 link_all_deplibs
=yes
11352 hardcode_shlibpath_var
=no
11353 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11354 export_dynamic_flag_spec
='${wl}-E'
11355 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11356 # Instead, shared libraries are loaded at an image base (0x10000000 by
11357 # default) and relocated if they conflict, which is a slow very memory
11358 # consuming and fragmenting process. To avoid this, we pick a random,
11359 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11360 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11361 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11362 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'
11365 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
11367 if test "$host_os" = linux-dietlibc
; then
11368 case $cc_basename in
11369 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11372 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11373 && test "$tmp_diet" = no
11375 tmp_addflag
=' $pic_flag'
11376 tmp_sharedflag
='-shared'
11377 case $cc_basename,$host_cpu in
11378 pgcc
*) # Portland Group C compiler
11379 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'
11380 tmp_addflag
=' $pic_flag'
11382 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11383 # Portland Group f77 and f90 compilers
11384 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'
11385 tmp_addflag
=' $pic_flag -Mnomain' ;;
11386 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11387 tmp_addflag
=' -i_dynamic' ;;
11388 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11389 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11390 ifc
* | ifort
*) # Intel Fortran compiler
11391 tmp_addflag
=' -nofor_main' ;;
11392 lf95
*) # Lahey Fortran 8.1
11393 whole_archive_flag_spec
=
11394 tmp_sharedflag
='--shared' ;;
11395 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11396 tmp_sharedflag
='-qmkshrobj'
11398 nvcc
*) # Cuda Compiler Driver 2.2
11399 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'
11400 compiler_needs_object
=yes
11403 case `$CC -V 2>&1 | sed 5q` in
11404 *Sun\ C
*) # Sun C 5.9
11405 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'
11406 compiler_needs_object
=yes
11407 tmp_sharedflag
='-G' ;;
11408 *Sun\ F
*) # Sun Fortran 8.3
11409 tmp_sharedflag
='-G' ;;
11411 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11413 if test "x$supports_anon_versioning" = xyes
; then
11414 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11415 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11416 echo "local: *; };" >> $output_objdir/$libname.ver~
11417 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11420 case $cc_basename in
11421 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11422 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11423 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11424 hardcode_libdir_flag_spec
=
11425 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11426 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11427 if test "x$supports_anon_versioning" = xyes
; then
11428 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11429 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11430 echo "local: *; };" >> $output_objdir/$libname.ver~
11431 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11441 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11442 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11445 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11446 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11451 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11455 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11456 *** create shared libraries on Solaris systems. Therefore, libtool
11457 *** is disabling shared libraries support. We urge you to upgrade GNU
11458 *** binutils to release 2.9.1 or newer. Another option is to modify
11459 *** your PATH or compiler configuration so that the native linker is
11460 *** used, and then restart.
11463 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11464 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11465 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11471 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11472 case `$LD -v 2>&1` in
11473 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11477 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11478 *** reliably create shared libraries on SCO systems. Therefore, libtool
11479 *** is disabling shared libraries support. We urge you to upgrade GNU
11480 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11481 *** your PATH or compiler configuration so that the native linker is
11482 *** used, and then restart.
11487 # For security reasons, it is highly recommended that you always
11488 # use absolute paths for naming shared libraries, and exclude the
11489 # DT_RUNPATH tag from executables and libraries. But doing so
11490 # requires that you compile everything twice, which is a pain.
11491 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11492 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11493 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11494 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11503 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11505 hardcode_direct
=yes
11506 hardcode_shlibpath_var
=no
11510 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11511 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11512 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11519 if test "$ld_shlibs" = no
; then
11521 hardcode_libdir_flag_spec
=
11522 export_dynamic_flag_spec
=
11523 whole_archive_flag_spec
=
11526 # PORTME fill in a description of your system's linker (not GNU ld)
11529 allow_undefined_flag
=unsupported
11530 always_export_symbols
=yes
11531 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'
11532 # Note: this linker hardcodes the directories in LIBPATH if there
11533 # are no directories specified by -L.
11534 hardcode_minus_L
=yes
11535 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11536 # Neither direct hardcoding nor static linking is supported with a
11538 hardcode_direct
=unsupported
11543 if test "$host_cpu" = ia64
; then
11544 # On IA64, the linker does run time linking by default, so we don't
11545 # have to do anything special.
11546 aix_use_runtimelinking
=no
11547 exp_sym_flag
='-Bexport'
11550 # If we're using GNU nm, then we don't want the "-C" option.
11551 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11552 # Also, AIX nm treats weak defined symbols like other global
11553 # defined symbols, whereas GNU nm marks them as "W".
11554 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11555 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'
11557 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'
11559 aix_use_runtimelinking
=no
11561 # Test if we are trying to use run time linking or normal
11562 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11563 # need to do runtime linking.
11564 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11565 for ld_flag
in $LDFLAGS; do
11566 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11567 aix_use_runtimelinking
=yes
11574 exp_sym_flag
='-bexport'
11575 no_entry_flag
='-bnoentry'
11578 # When large executables or shared objects are built, AIX ld can
11579 # have problems creating the table of contents. If linking a library
11580 # or program results in "error TOC overflow" add -mminimal-toc to
11581 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11582 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11585 hardcode_direct
=yes
11586 hardcode_direct_absolute
=yes
11587 hardcode_libdir_separator
=':'
11588 link_all_deplibs
=yes
11589 file_list_spec
='${wl}-f,'
11591 if test "$GCC" = yes; then
11592 case $host_os in aix4.
[012]|aix4.
[012].
*)
11593 # We only want to do this on AIX 4.2 and lower, the check
11594 # below for broken collect2 doesn't work under 4.3+
11595 collect2name
=`${CC} -print-prog-name=collect2`
11596 if test -f "$collect2name" &&
11597 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11599 # We have reworked collect2
11602 # We have old collect2
11603 hardcode_direct
=unsupported
11604 # It fails to find uninstalled libraries when the uninstalled
11605 # path is not listed in the libpath. Setting hardcode_minus_L
11606 # to unsupported forces relinking
11607 hardcode_minus_L
=yes
11608 hardcode_libdir_flag_spec
='-L$libdir'
11609 hardcode_libdir_separator
=
11613 shared_flag
='-shared'
11614 if test "$aix_use_runtimelinking" = yes; then
11615 shared_flag
="$shared_flag "'${wl}-G'
11619 if test "$host_cpu" = ia64
; then
11620 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11621 # chokes on -Wl,-G. The following line is correct:
11624 if test "$aix_use_runtimelinking" = yes; then
11625 shared_flag
='${wl}-G'
11627 shared_flag
='${wl}-bM:SRE'
11632 export_dynamic_flag_spec
='${wl}-bexpall'
11633 # It seems that -bexpall does not export symbols beginning with
11634 # underscore (_), so it is better to generate a list of symbols to export.
11635 always_export_symbols
=yes
11636 if test "$aix_use_runtimelinking" = yes; then
11637 # Warning - without using the other runtime loading flags (-brtl),
11638 # -berok will link without error, but may produce a broken library.
11639 allow_undefined_flag
='-berok'
11640 # Determine the default libpath from the value encoded in an
11641 # empty executable.
11642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11653 if ac_fn_c_try_link
"$LINENO"; then :
11655 lt_aix_libpath_sed
='
11656 /Import File Strings/,/^$/ {
11662 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11663 # Check for a 64-bit object if we didn't find anything.
11664 if test -z "$aix_libpath"; then
11665 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11668 rm -f core conftest.err conftest.
$ac_objext \
11669 conftest
$ac_exeext conftest.
$ac_ext
11670 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11672 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11673 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"
11675 if test "$host_cpu" = ia64
; then
11676 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11677 allow_undefined_flag
="-z nodefs"
11678 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"
11680 # Determine the default libpath from the value encoded in an
11681 # empty executable.
11682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11693 if ac_fn_c_try_link
"$LINENO"; then :
11695 lt_aix_libpath_sed
='
11696 /Import File Strings/,/^$/ {
11702 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11703 # Check for a 64-bit object if we didn't find anything.
11704 if test -z "$aix_libpath"; then
11705 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11708 rm -f core conftest.err conftest.
$ac_objext \
11709 conftest
$ac_exeext conftest.
$ac_ext
11710 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11712 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11713 # Warning - without using the other run time loading flags,
11714 # -berok will link without error, but may produce a broken library.
11715 no_undefined_flag
=' ${wl}-bernotok'
11716 allow_undefined_flag
=' ${wl}-berok'
11717 if test "$with_gnu_ld" = yes; then
11718 # We only use this code for GNU lds that support --whole-archive.
11719 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11721 # Exported symbols can be pulled into shared objects from archives
11722 whole_archive_flag_spec
='$convenience'
11724 archive_cmds_need_lc
=yes
11725 # This is similar to how AIX traditionally builds its shared libraries.
11726 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'
11734 # see comment about AmigaOS4 .so support
11735 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11736 archive_expsym_cmds
=''
11739 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)'
11740 hardcode_libdir_flag_spec
='-L$libdir'
11741 hardcode_minus_L
=yes
11747 export_dynamic_flag_spec
=-rdynamic
11750 cygwin
* | mingw
* | pw32
* | cegcc
*)
11751 # When not using gcc, we currently assume that we are using
11752 # Microsoft Visual C++.
11753 # hardcode_libdir_flag_spec is actually meaningless, as there is
11754 # no search path for DLLs.
11755 hardcode_libdir_flag_spec
=' '
11756 allow_undefined_flag
=unsupported
11757 # Tell ltmain to make .lib files, not .a files.
11759 # Tell ltmain to make .dll files, not .so files.
11761 # FIXME: Setting linknames here is a bad hack.
11762 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11763 # The linker will automatically build a .lib file if we build a DLL.
11764 old_archive_from_new_cmds
='true'
11765 # FIXME: Should let the user specify the lib program.
11766 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11767 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11768 enable_shared_with_static_runtimes
=yes
11771 darwin
* | rhapsody
*)
11774 archive_cmds_need_lc
=no
11776 hardcode_automatic
=yes
11777 hardcode_shlibpath_var
=unsupported
11778 if test "$lt_cv_ld_force_load" = "yes"; then
11779 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\"`'
11781 whole_archive_flag_spec
=''
11783 link_all_deplibs
=yes
11784 allow_undefined_flag
="$_lt_dar_allow_undefined"
11785 case $cc_basename in
11786 ifort
*) _lt_dar_can_shared
=yes ;;
11787 *) _lt_dar_can_shared
=$GCC ;;
11789 if test "$_lt_dar_can_shared" = "yes"; then
11790 output_verbose_link_cmd
=func_echo_all
11791 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11792 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11793 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}"
11794 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}"
11803 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11804 hardcode_libdir_flag_spec
='-L$libdir'
11805 hardcode_shlibpath_var
=no
11808 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11809 # support. Future versions do this automatically, but an explicit c++rt0.o
11810 # does not break anything, and helps significantly (at the cost of a little
11813 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11814 hardcode_libdir_flag_spec
='-R$libdir'
11815 hardcode_direct
=yes
11816 hardcode_shlibpath_var
=no
11819 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11821 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11822 hardcode_direct
=yes
11823 hardcode_minus_L
=yes
11824 hardcode_shlibpath_var
=no
11827 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11828 freebsd
* | dragonfly
*)
11829 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11830 hardcode_libdir_flag_spec
='-R$libdir'
11831 hardcode_direct
=yes
11832 hardcode_shlibpath_var
=no
11836 if test "$GCC" = yes; then
11837 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'
11839 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'
11841 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11842 hardcode_libdir_separator
=:
11843 hardcode_direct
=yes
11845 # hardcode_minus_L: Not really in the search PATH,
11846 # but as the default location of the library.
11847 hardcode_minus_L
=yes
11848 export_dynamic_flag_spec
='${wl}-E'
11852 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11853 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11855 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11857 if test "$with_gnu_ld" = no
; then
11858 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11859 hardcode_libdir_flag_spec_ld
='+b $libdir'
11860 hardcode_libdir_separator
=:
11861 hardcode_direct
=yes
11862 hardcode_direct_absolute
=yes
11863 export_dynamic_flag_spec
='${wl}-E'
11864 # hardcode_minus_L: Not really in the search PATH,
11865 # but as the default location of the library.
11866 hardcode_minus_L
=yes
11871 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11874 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11877 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11880 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11886 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11889 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11893 # Older versions of the 11.00 compiler do not understand -b yet
11894 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11896 $as_echo_n "checking if $CC understands -b... " >&6; }
11897 if ${lt_cv_prog_compiler__b+:} false
; then :
11898 $as_echo_n "(cached) " >&6
11900 lt_cv_prog_compiler__b
=no
11901 save_LDFLAGS
="$LDFLAGS"
11902 LDFLAGS
="$LDFLAGS -b"
11903 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11904 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11905 # The linker can only warn and ignore the option if not recognized
11906 # So say no if there are warnings
11907 if test -s conftest.err
; then
11908 # Append any errors to the config.log.
11909 cat conftest.err
1>&5
11910 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11911 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11912 if diff conftest.exp conftest.er2
>/dev
/null
; then
11913 lt_cv_prog_compiler__b
=yes
11916 lt_cv_prog_compiler__b
=yes
11920 LDFLAGS
="$save_LDFLAGS"
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11924 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11926 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11927 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11929 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11935 if test "$with_gnu_ld" = no
; then
11936 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11937 hardcode_libdir_separator
=:
11942 hardcode_shlibpath_var
=no
11945 hardcode_direct
=yes
11946 hardcode_direct_absolute
=yes
11947 export_dynamic_flag_spec
='${wl}-E'
11949 # hardcode_minus_L: Not really in the search PATH,
11950 # but as the default location of the library.
11951 hardcode_minus_L
=yes
11957 irix5
* | irix6
* | nonstopux
*)
11958 if test "$GCC" = yes; then
11959 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'
11960 # Try to use the -exported_symbol ld option, if it does not
11961 # work, assume that -exports_file does not work either and
11962 # implicitly export all symbols.
11963 save_LDFLAGS
="$LDFLAGS"
11964 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11969 if ac_fn_c_try_link
"$LINENO"; then :
11970 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'
11973 rm -f core conftest.err conftest.
$ac_objext \
11974 conftest
$ac_exeext conftest.
$ac_ext
11975 LDFLAGS
="$save_LDFLAGS"
11977 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'
11978 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'
11980 archive_cmds_need_lc
='no'
11981 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11982 hardcode_libdir_separator
=:
11984 link_all_deplibs
=yes
11988 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11989 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11991 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11993 hardcode_libdir_flag_spec
='-R$libdir'
11994 hardcode_direct
=yes
11995 hardcode_shlibpath_var
=no
11999 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12000 hardcode_direct
=yes
12001 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12002 hardcode_libdir_separator
=:
12003 hardcode_shlibpath_var
=no
12010 if test -f /usr
/libexec
/ld.so
; then
12011 hardcode_direct
=yes
12012 hardcode_shlibpath_var
=no
12013 hardcode_direct_absolute
=yes
12014 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12015 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12016 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12017 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12018 export_dynamic_flag_spec
='${wl}-E'
12021 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12022 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12023 hardcode_libdir_flag_spec
='-R$libdir'
12026 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12027 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12037 hardcode_libdir_flag_spec
='-L$libdir'
12038 hardcode_minus_L
=yes
12039 allow_undefined_flag
=unsupported
12040 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'
12041 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12045 if test "$GCC" = yes; then
12046 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12047 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'
12049 allow_undefined_flag
=' -expect_unresolved \*'
12050 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'
12052 archive_cmds_need_lc
='no'
12053 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12054 hardcode_libdir_separator
=:
12057 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12058 if test "$GCC" = yes; then
12059 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12060 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'
12061 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12063 allow_undefined_flag
=' -expect_unresolved \*'
12064 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'
12065 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~
12066 $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'
12068 # Both c and cxx compiler support -rpath directly
12069 hardcode_libdir_flag_spec
='-rpath $libdir'
12071 archive_cmds_need_lc
='no'
12072 hardcode_libdir_separator
=:
12076 no_undefined_flag
=' -z defs'
12077 if test "$GCC" = yes; then
12079 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12080 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12081 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12083 case `$CC -V 2>&1` in
12086 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12087 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12088 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12092 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12093 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12094 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12098 hardcode_libdir_flag_spec
='-R$libdir'
12099 hardcode_shlibpath_var
=no
12101 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12103 # The compiler driver will combine and reorder linker options,
12104 # but understands `-z linker_flag'. GCC discards it without `$wl',
12105 # but is careful enough not to reorder.
12106 # Supported since Solaris 2.6 (maybe 2.5.1?)
12107 if test "$GCC" = yes; then
12108 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12110 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12114 link_all_deplibs
=yes
12118 if test "x$host_vendor" = xsequent
; then
12119 # Use $CC to link under sequent, because it throws in some extra .o
12120 # files that make .init and .fini sections work.
12121 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12123 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12125 hardcode_libdir_flag_spec
='-L$libdir'
12126 hardcode_direct
=yes
12127 hardcode_minus_L
=yes
12128 hardcode_shlibpath_var
=no
12132 case $host_vendor in
12134 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12135 hardcode_direct
=yes # is this really true???
12138 ## LD is ld it makes a PLAMLIB
12139 ## CC just makes a GrossModule.
12140 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12141 reload_cmds
='$CC -r -o $output$reload_objs'
12145 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12146 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12149 runpath_var
='LD_RUN_PATH'
12150 hardcode_shlibpath_var
=no
12154 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12155 hardcode_shlibpath_var
=no
12156 export_dynamic_flag_spec
='-Bexport'
12160 if test -d /usr
/nec
; then
12161 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12162 hardcode_shlibpath_var
=no
12163 runpath_var
=LD_RUN_PATH
12164 hardcode_runpath_var
=yes
12169 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12170 no_undefined_flag
='${wl}-z,text'
12171 archive_cmds_need_lc
=no
12172 hardcode_shlibpath_var
=no
12173 runpath_var
='LD_RUN_PATH'
12175 if test "$GCC" = yes; then
12176 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12177 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12179 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12180 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12184 sysv5
* | sco3.2v5
* | sco5v6
*)
12185 # Note: We can NOT use -z defs as we might desire, because we do not
12186 # link with -lc, and that would cause any symbols used from libc to
12187 # always be unresolved, which means just about no library would
12188 # ever link correctly. If we're not using GNU ld we use -z text
12189 # though, which does catch some bad symbols but isn't as heavy-handed
12191 no_undefined_flag
='${wl}-z,text'
12192 allow_undefined_flag
='${wl}-z,nodefs'
12193 archive_cmds_need_lc
=no
12194 hardcode_shlibpath_var
=no
12195 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
12196 hardcode_libdir_separator
=':'
12197 link_all_deplibs
=yes
12198 export_dynamic_flag_spec
='${wl}-Bexport'
12199 runpath_var
='LD_RUN_PATH'
12201 if test "$GCC" = yes; then
12202 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12203 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12205 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12206 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12211 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12212 hardcode_libdir_flag_spec
='-L$libdir'
12213 hardcode_shlibpath_var
=no
12221 if test x
$host_vendor = xsni
; then
12223 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12224 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12231 $as_echo "$ld_shlibs" >&6; }
12232 test "$ld_shlibs" = no
&& can_build_shared
=no
12234 with_gnu_ld
=$with_gnu_ld
12251 # Do we need to explicitly link libc?
12253 case "x$archive_cmds_need_lc" in
12255 # Assume -lc should be added
12256 archive_cmds_need_lc
=yes
12258 if test "$enable_shared" = yes && test "$GCC" = yes; then
12259 case $archive_cmds in
12261 # FIXME: we may have to deal with multi-command sequences.
12264 # Test whether the compiler implicitly links with -lc since on some
12265 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12266 # to ld, don't add -lc before -lgcc.
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12268 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12269 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
12270 $as_echo_n "(cached) " >&6
12273 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12276 (eval $ac_compile) 2>&5
12278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12279 test $ac_status = 0; } 2>conftest.err
; then
12282 libobjs
=conftest.
$ac_objext
12284 wl
=$lt_prog_compiler_wl
12285 pic_flag
=$lt_prog_compiler_pic
12291 lt_save_allow_undefined_flag
=$allow_undefined_flag
12292 allow_undefined_flag
=
12293 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12294 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12297 test $ac_status = 0; }
12299 lt_cv_archive_cmds_need_lc
=no
12301 lt_cv_archive_cmds_need_lc
=yes
12303 allow_undefined_flag
=$lt_save_allow_undefined_flag
12305 cat conftest.err
1>&5
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12311 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12312 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12476 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12478 if test "$GCC" = yes; then
12480 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12481 *) lt_awk_arg
="/^libraries:/" ;;
12484 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
12485 *) lt_sed_strip_eq
="s,=/,/,g" ;;
12487 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12488 case $lt_search_path_spec in
12490 # if the path contains ";" then we assume it to be the separator
12491 # otherwise default to the standard path separator (i.e. ":") - it is
12492 # assumed that no part of a normal pathname contains ";" but that should
12493 # okay in the real world where ";" in dirpaths is itself problematic.
12494 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12497 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12500 # Ok, now we have the path, separated by spaces, we can step through it
12501 # and add multilib dir if necessary.
12502 lt_tmp_lt_search_path_spec
=
12503 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12504 for lt_sys_path
in $lt_search_path_spec; do
12505 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12506 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12508 test -d "$lt_sys_path" && \
12509 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12512 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12513 BEGIN {RS=" "; FS="/|\n";} {
12516 for (lt_i = NF; lt_i > 0; lt_i--) {
12517 if ($lt_i != "" && $lt_i != ".") {
12518 if ($lt_i == "..") {
12521 if (lt_count == 0) {
12522 lt_foo="/" $lt_i lt_foo;
12529 if (lt_foo != "") { lt_freq[lt_foo]++; }
12530 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12532 # AWK program above erroneously prepends '/' to C:/dos/paths
12535 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12536 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12538 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12540 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12542 library_names_spec
=
12543 libname_spec
='lib$name'
12547 postuninstall_cmds
=
12551 shlibpath_overrides_runpath
=unknown
12553 dynamic_linker
="$host_os ld.so"
12554 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12555 need_lib_prefix
=unknown
12556 hardcode_into_libs
=no
12558 # when you set need_version to no, make sure it does not cause -set_version
12559 # flags to be left without arguments
12560 need_version
=unknown
12565 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12566 shlibpath_var
=LIBPATH
12568 # AIX 3 has no versioning support, so we append a major version to the name.
12569 soname_spec
='${libname}${release}${shared_ext}$major'
12576 hardcode_into_libs
=yes
12577 if test "$host_cpu" = ia64
; then
12578 # AIX 5 supports IA64
12579 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12580 shlibpath_var
=LD_LIBRARY_PATH
12582 # With GCC up to 2.95.x, collect2 would create an import file
12583 # for dependence libraries. The import file would start with
12584 # the line `#! .'. This would cause the generated library to
12585 # depend on `.', always an invalid library. This was fixed in
12586 # development snapshots of GCC prior to 3.0.
12588 aix4 | aix4.
[01] | aix4.
[01].
*)
12589 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12591 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12594 can_build_shared
=no
12598 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12599 # soname into executable. Probably we can add versioning support to
12600 # collect2, so additional links can be useful in future.
12601 if test "$aix_use_runtimelinking" = yes; then
12602 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12603 # instead of lib<name>.a to let people know that these are not
12604 # typical AIX shared libraries.
12605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12607 # We preserve .a as extension for shared libraries through AIX4.2
12608 # and later when we are not doing run time linking.
12609 library_names_spec
='${libname}${release}.a $libname.a'
12610 soname_spec
='${libname}${release}${shared_ext}$major'
12612 shlibpath_var
=LIBPATH
12619 # Since July 2007 AmigaOS4 officially supports .so libraries.
12620 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12624 library_names_spec
='$libname.ixlibrary $libname.a'
12625 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12626 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'
12632 library_names_spec
='${libname}${shared_ext}'
12633 dynamic_linker
="$host_os ld.so"
12634 shlibpath_var
=LIBRARY_PATH
12640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12641 soname_spec
='${libname}${release}${shared_ext}$major'
12642 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12643 shlibpath_var
=LD_LIBRARY_PATH
12644 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12645 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12646 # the default ld.so.conf also contains /usr/contrib/lib and
12647 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12648 # libtool to hard-code these into programs
12651 cygwin
* | mingw
* | pw32
* | cegcc
*)
12652 version_type
=windows
12657 case $GCC,$host_os in
12658 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
12659 library_names_spec
='$libname.dll.a'
12660 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12661 postinstall_cmds
='base_file=`basename \${file}`~
12662 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12663 dldir=$destdir/`dirname \$dlpath`~
12664 test -d \$dldir || mkdir -p \$dldir~
12665 $install_prog $dir/$dlname \$dldir/$dlname~
12666 chmod a+x \$dldir/$dlname~
12667 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12668 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12670 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12671 dlpath=$dir/\$dldll~
12673 shlibpath_overrides_runpath
=yes
12677 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12678 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12680 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12683 # MinGW DLLs use traditional 'lib' prefix
12684 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12687 # pw32 DLLs use 'pw' prefix rather than 'lib'
12688 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12694 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12697 dynamic_linker
='Win32 ld.exe'
12698 # FIXME: first we should search . and the directory the executable is in
12702 darwin
* | rhapsody
*)
12703 dynamic_linker
="$host_os dyld"
12704 version_type
=darwin
12707 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12708 soname_spec
='${libname}${release}${major}$shared_ext'
12709 shlibpath_overrides_runpath
=yes
12710 shlibpath_var
=DYLD_LIBRARY_PATH
12711 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12713 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12714 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12722 soname_spec
='${libname}${release}${shared_ext}$major'
12723 shlibpath_var
=LD_LIBRARY_PATH
12726 freebsd
* | dragonfly
*)
12727 # DragonFly does not have aout. When/if they implement a new
12728 # versioning mechanism, adjust this.
12729 if test -x /usr
/bin
/objformat
; then
12730 objformat
=`/usr/bin/objformat`
12733 freebsd
[23].
*) objformat
=aout
;;
12734 *) objformat
=elf
;;
12737 version_type
=freebsd-
$objformat
12738 case $version_type in
12740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12745 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12749 shlibpath_var
=LD_LIBRARY_PATH
12752 shlibpath_overrides_runpath
=yes
12754 freebsd3.
[01]* | freebsdelf3.
[01]*)
12755 shlibpath_overrides_runpath
=yes
12756 hardcode_into_libs
=yes
12758 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12759 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12760 shlibpath_overrides_runpath
=no
12761 hardcode_into_libs
=yes
12763 *) # from 4.6 on, and DragonFly
12764 shlibpath_overrides_runpath
=yes
12765 hardcode_into_libs
=yes
12774 dynamic_linker
="$host_os runtime_loader"
12775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12776 soname_spec
='${libname}${release}${shared_ext}$major'
12777 shlibpath_var
=LIBRARY_PATH
12778 shlibpath_overrides_runpath
=yes
12779 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12780 hardcode_into_libs
=yes
12783 hpux9
* | hpux10
* | hpux11
*)
12784 # Give a soname corresponding to the major version so that dld.sl refuses to
12785 # link against other versions.
12792 hardcode_into_libs
=yes
12793 dynamic_linker
="$host_os dld.so"
12794 shlibpath_var
=LD_LIBRARY_PATH
12795 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12797 soname_spec
='${libname}${release}${shared_ext}$major'
12798 if test "X$HPUX_IA64_MODE" = X32
; then
12799 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12801 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12803 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12807 hardcode_into_libs
=yes
12808 dynamic_linker
="$host_os dld.sl"
12809 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12810 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12812 soname_spec
='${libname}${release}${shared_ext}$major'
12813 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12814 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12818 dynamic_linker
="$host_os dld.sl"
12819 shlibpath_var
=SHLIB_PATH
12820 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12822 soname_spec
='${libname}${release}${shared_ext}$major'
12825 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12826 postinstall_cmds
='chmod 555 $lib'
12827 # or fails outright, so override atomically:
12828 install_override_mode
=555
12835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12836 soname_spec
='${libname}${release}${shared_ext}$major'
12837 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12838 shlibpath_var
=LD_LIBRARY_PATH
12839 shlibpath_overrides_runpath
=no
12840 hardcode_into_libs
=yes
12843 irix5
* | irix6
* | nonstopux
*)
12845 nonstopux
*) version_type
=nonstopux
;;
12847 if test "$lt_cv_prog_gnu_ld" = yes; then
12855 soname_spec
='${libname}${release}${shared_ext}$major'
12856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12858 irix5
* | nonstopux
*)
12859 libsuff
= shlibsuff
=
12862 case $LD in # libtool.m4 will add one of these switches to LD
12863 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12864 libsuff
= shlibsuff
= libmagic
=32-bit;;
12865 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12866 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12867 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12868 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12869 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12873 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12874 shlibpath_overrides_runpath
=no
12875 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12876 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12877 hardcode_into_libs
=yes
12880 # No shared lib support for Linux oldld, aout, or coff.
12881 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12885 # This must be Linux ELF.
12887 # uclinux* changes (here and below) have been submitted to the libtool
12888 # project, but have not yet been accepted: they are GCC-local changes
12889 # for the time being. (See
12890 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12891 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12896 soname_spec
='${libname}${release}${shared_ext}$major'
12897 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12898 shlibpath_var
=LD_LIBRARY_PATH
12899 shlibpath_overrides_runpath
=no
12901 # Some binutils ld are patched to set DT_RUNPATH
12902 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12903 $as_echo_n "(cached) " >&6
12905 lt_cv_shlibpath_overrides_runpath
=no
12906 save_LDFLAGS
=$LDFLAGS
12907 save_libdir
=$libdir
12908 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12909 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12911 /* end confdefs.h. */
12921 if ac_fn_c_try_link
"$LINENO"; then :
12922 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12923 lt_cv_shlibpath_overrides_runpath
=yes
12926 rm -f core conftest.err conftest.
$ac_objext \
12927 conftest
$ac_exeext conftest.
$ac_ext
12928 LDFLAGS
=$save_LDFLAGS
12929 libdir
=$save_libdir
12933 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12935 # This implies no fast_install, which is unacceptable.
12936 # Some rework will be needed to allow for fast_install
12937 # before this can be enabled.
12938 hardcode_into_libs
=yes
12940 # Append ld.so.conf contents to the search path
12941 if test -f /etc
/ld.so.conf
; then
12942 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' ' '`
12943 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12946 # We used to test for /lib/ld.so.1 and disable shared libraries on
12947 # powerpc, because MkLinux only supported shared libraries with the
12948 # GNU dynamic linker. Since this was broken with cross compilers,
12949 # most powerpc-linux boxes support dynamic linking these days and
12950 # people can always --disable-shared, the test was removed, and we
12951 # assume the GNU/Linux dynamic linker is in use.
12952 dynamic_linker
='GNU/Linux ld.so'
12959 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12961 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12962 dynamic_linker
='NetBSD (a.out) ld.so'
12964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12965 soname_spec
='${libname}${release}${shared_ext}$major'
12966 dynamic_linker
='NetBSD ld.elf_so'
12968 shlibpath_var
=LD_LIBRARY_PATH
12969 shlibpath_overrides_runpath
=yes
12970 hardcode_into_libs
=yes
12975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12976 shlibpath_var
=LD_LIBRARY_PATH
12977 shlibpath_overrides_runpath
=yes
12984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12985 soname_spec
='${libname}${release}${shared_ext}$major'
12986 shlibpath_var
=LD_LIBRARY_PATH
12987 shlibpath_overrides_runpath
=no
12988 hardcode_into_libs
=yes
12989 dynamic_linker
='ldqnx.so'
12994 sys_lib_dlsearch_path_spec
="/usr/lib"
12996 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12998 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12999 *) need_version
=no
;;
13001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13002 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13003 shlibpath_var
=LD_LIBRARY_PATH
13004 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13006 openbsd2.
[89] | openbsd2.
[89].
*)
13007 shlibpath_overrides_runpath
=no
13010 shlibpath_overrides_runpath
=yes
13014 shlibpath_overrides_runpath
=yes
13019 libname_spec
='$name'
13022 library_names_spec
='$libname${shared_ext} $libname.a'
13023 dynamic_linker
='OS/2 ld.exe'
13024 shlibpath_var
=LIBPATH
13027 osf3
* | osf4
* | osf5
*)
13031 soname_spec
='${libname}${release}${shared_ext}$major'
13032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13033 shlibpath_var
=LD_LIBRARY_PATH
13034 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13035 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13047 soname_spec
='${libname}${release}${shared_ext}$major'
13048 shlibpath_var
=LD_LIBRARY_PATH
13049 shlibpath_overrides_runpath
=yes
13050 hardcode_into_libs
=yes
13051 # ldd complains unless libraries are executable
13052 postinstall_cmds
='chmod +x $lib'
13057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13058 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13059 shlibpath_var
=LD_LIBRARY_PATH
13060 shlibpath_overrides_runpath
=yes
13061 if test "$with_gnu_ld" = yes; then
13069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13070 soname_spec
='${libname}${release}${shared_ext}$major'
13071 shlibpath_var
=LD_LIBRARY_PATH
13072 case $host_vendor in
13074 shlibpath_overrides_runpath
=no
13076 runpath_var
=LD_RUN_PATH
13084 shlibpath_overrides_runpath
=no
13085 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13091 if test -d /usr
/nec
;then
13093 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13094 soname_spec
='$libname${shared_ext}.$major'
13095 shlibpath_var
=LD_LIBRARY_PATH
13099 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13100 version_type
=freebsd-elf
13103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13104 soname_spec
='${libname}${release}${shared_ext}$major'
13105 shlibpath_var
=LD_LIBRARY_PATH
13106 shlibpath_overrides_runpath
=yes
13107 hardcode_into_libs
=yes
13108 if test "$with_gnu_ld" = yes; then
13109 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13111 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13114 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13118 sys_lib_dlsearch_path_spec
='/usr/lib'
13122 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13127 shlibpath_var
=LD_LIBRARY_PATH
13128 shlibpath_overrides_runpath
=no
13129 hardcode_into_libs
=yes
13134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13135 soname_spec
='${libname}${release}${shared_ext}$major'
13136 shlibpath_var
=LD_LIBRARY_PATH
13139 # Shared libraries for VwWorks, >= 7 only at this stage
13140 # and (fpic) still incompatible with "large" code models
13141 # in a few configurations. Only for RTP mode in any case,
13142 # and upon explicit request at configure time.
13145 case ${with_multisubdir}-${enable_shared} in
13152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13153 soname_spec
='${libname}${release}${shared_ext}$major'
13154 dynamic_linker
="$host_os module_loader"
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13163 $as_echo "$dynamic_linker" >&6; }
13164 test "$dynamic_linker" = no
&& can_build_shared
=no
13166 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13167 if test "$GCC" = yes; then
13168 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13171 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13172 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13174 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13175 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13270 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13272 if test -n "$hardcode_libdir_flag_spec" ||
13273 test -n "$runpath_var" ||
13274 test "X$hardcode_automatic" = "Xyes" ; then
13276 # We can hardcode non-existent directories.
13277 if test "$hardcode_direct" != no
&&
13278 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13279 # have to relink, otherwise we might link with an installed library
13280 # when we should be linking with a yet-to-be-installed one
13281 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13282 test "$hardcode_minus_L" != no
; then
13283 # Linking always hardcodes the temporary library directory.
13284 hardcode_action
=relink
13286 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13287 hardcode_action
=immediate
13290 # We cannot hardcode anything, or else we can only hardcode existing
13292 hardcode_action
=unsupported
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13295 $as_echo "$hardcode_action" >&6; }
13297 if test "$hardcode_action" = relink ||
13298 test "$inherit_rpath" = yes; then
13299 # Fast installation is not supported
13300 enable_fast_install
=no
13301 elif test "$shlibpath_overrides_runpath" = yes ||
13302 test "$enable_shared" = no
; then
13303 # Fast installation is not necessary
13304 enable_fast_install
=needless
13312 if test "x$enable_dlopen" != xyes
; then
13313 enable_dlopen
=unknown
13314 enable_dlopen_self
=unknown
13315 enable_dlopen_self_static
=unknown
13322 lt_cv_dlopen
="load_add_on"
13324 lt_cv_dlopen_self
=yes
13327 mingw
* | pw32
* | cegcc
*)
13328 lt_cv_dlopen
="LoadLibrary"
13333 lt_cv_dlopen
="dlopen"
13338 # if libdl is installed we need to link against it
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13340 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13341 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 ac_check_lib_save_LIBS
=$LIBS
13346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13364 if ac_fn_c_try_link
"$LINENO"; then :
13365 ac_cv_lib_dl_dlopen
=yes
13367 ac_cv_lib_dl_dlopen
=no
13369 rm -f core conftest.err conftest.
$ac_objext \
13370 conftest
$ac_exeext conftest.
$ac_ext
13371 LIBS
=$ac_check_lib_save_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13374 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13375 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13376 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13379 lt_cv_dlopen
="dyld"
13381 lt_cv_dlopen_self
=yes
13388 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13389 if test "x$ac_cv_func_shl_load" = xyes
; then :
13390 lt_cv_dlopen
="shl_load"
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13393 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13394 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13395 $as_echo_n "(cached) " >&6
13397 ac_check_lib_save_LIBS
=$LIBS
13399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13400 /* end confdefs.h. */
13402 /* Override any GCC internal prototype to avoid an error.
13403 Use char because int might match the return type of a GCC
13404 builtin and then its argument prototype would still apply. */
13412 return shl_load ();
13417 if ac_fn_c_try_link
"$LINENO"; then :
13418 ac_cv_lib_dld_shl_load
=yes
13420 ac_cv_lib_dld_shl_load
=no
13422 rm -f core conftest.err conftest.
$ac_objext \
13423 conftest
$ac_exeext conftest.
$ac_ext
13424 LIBS
=$ac_check_lib_save_LIBS
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13427 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13428 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13429 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13431 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13432 if test "x$ac_cv_func_dlopen" = xyes
; then :
13433 lt_cv_dlopen
="dlopen"
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13436 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13437 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13438 $as_echo_n "(cached) " >&6
13440 ac_check_lib_save_LIBS
=$LIBS
13442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13445 /* Override any GCC internal prototype to avoid an error.
13446 Use char because int might match the return type of a GCC
13447 builtin and then its argument prototype would still apply. */
13460 if ac_fn_c_try_link
"$LINENO"; then :
13461 ac_cv_lib_dl_dlopen
=yes
13463 ac_cv_lib_dl_dlopen
=no
13465 rm -f core conftest.err conftest.
$ac_objext \
13466 conftest
$ac_exeext conftest.
$ac_ext
13467 LIBS
=$ac_check_lib_save_LIBS
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13470 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13471 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13472 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13475 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13476 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13477 $as_echo_n "(cached) " >&6
13479 ac_check_lib_save_LIBS
=$LIBS
13480 LIBS
="-lsvld $LIBS"
13481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h. */
13484 /* Override any GCC internal prototype to avoid an error.
13485 Use char because int might match the return type of a GCC
13486 builtin and then its argument prototype would still apply. */
13499 if ac_fn_c_try_link
"$LINENO"; then :
13500 ac_cv_lib_svld_dlopen
=yes
13502 ac_cv_lib_svld_dlopen
=no
13504 rm -f core conftest.err conftest.
$ac_objext \
13505 conftest
$ac_exeext conftest.
$ac_ext
13506 LIBS
=$ac_check_lib_save_LIBS
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13509 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13510 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13511 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13514 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13515 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13516 $as_echo_n "(cached) " >&6
13518 ac_check_lib_save_LIBS
=$LIBS
13520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13523 /* Override any GCC internal prototype to avoid an error.
13524 Use char because int might match the return type of a GCC
13525 builtin and then its argument prototype would still apply. */
13533 return dld_link ();
13538 if ac_fn_c_try_link
"$LINENO"; then :
13539 ac_cv_lib_dld_dld_link
=yes
13541 ac_cv_lib_dld_dld_link
=no
13543 rm -f core conftest.err conftest.
$ac_objext \
13544 conftest
$ac_exeext conftest.
$ac_ext
13545 LIBS
=$ac_check_lib_save_LIBS
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13548 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13549 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13550 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13571 if test "x$lt_cv_dlopen" != xno
; then
13577 case $lt_cv_dlopen in
13579 save_CPPFLAGS
="$CPPFLAGS"
13580 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13582 save_LDFLAGS
="$LDFLAGS"
13583 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13586 LIBS
="$lt_cv_dlopen_libs $LIBS"
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13589 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13590 if ${lt_cv_dlopen_self+:} false
; then :
13591 $as_echo_n "(cached) " >&6
13593 if test "$cross_compiling" = yes; then :
13594 lt_cv_dlopen_self
=cross
13596 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13597 lt_status
=$lt_dlunknown
13598 cat > conftest.
$ac_ext <<_LT_EOF
13599 #line 13599 "configure"
13600 #include "confdefs.h"
13609 # define LT_DLGLOBAL RTLD_GLOBAL
13612 # define LT_DLGLOBAL DL_GLOBAL
13614 # define LT_DLGLOBAL 0
13618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13619 find out it does not work in some platform. */
13620 #ifndef LT_DLLAZY_OR_NOW
13622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13625 # define LT_DLLAZY_OR_NOW DL_LAZY
13628 # define LT_DLLAZY_OR_NOW RTLD_NOW
13631 # define LT_DLLAZY_OR_NOW DL_NOW
13633 # define LT_DLLAZY_OR_NOW 0
13640 /* When -fvisbility=hidden is used, assume the code has been annotated
13641 correspondingly for the symbols needed. */
13642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13643 void fnord () __attribute__((visibility("default")));
13646 void fnord () { int i=42; }
13649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13650 int status = $lt_dlunknown;
13654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13658 else puts (dlerror ());
13660 /* dlclose (self); */
13668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13669 (eval $ac_link) 2>&5
13671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13672 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13673 (.
/conftest
; exit; ) >&5 2>/dev
/null
13675 case x
$lt_status in
13676 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13677 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13678 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13681 # compilation failed
13682 lt_cv_dlopen_self
=no
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13690 $as_echo "$lt_cv_dlopen_self" >&6; }
13692 if test "x$lt_cv_dlopen_self" = xyes
; then
13693 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13695 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13696 if ${lt_cv_dlopen_self_static+:} false
; then :
13697 $as_echo_n "(cached) " >&6
13699 if test "$cross_compiling" = yes; then :
13700 lt_cv_dlopen_self_static
=cross
13702 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13703 lt_status
=$lt_dlunknown
13704 cat > conftest.
$ac_ext <<_LT_EOF
13705 #line 13705 "configure"
13706 #include "confdefs.h"
13715 # define LT_DLGLOBAL RTLD_GLOBAL
13718 # define LT_DLGLOBAL DL_GLOBAL
13720 # define LT_DLGLOBAL 0
13724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13725 find out it does not work in some platform. */
13726 #ifndef LT_DLLAZY_OR_NOW
13728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13731 # define LT_DLLAZY_OR_NOW DL_LAZY
13734 # define LT_DLLAZY_OR_NOW RTLD_NOW
13737 # define LT_DLLAZY_OR_NOW DL_NOW
13739 # define LT_DLLAZY_OR_NOW 0
13746 /* When -fvisbility=hidden is used, assume the code has been annotated
13747 correspondingly for the symbols needed. */
13748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13749 void fnord () __attribute__((visibility("default")));
13752 void fnord () { int i=42; }
13755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13756 int status = $lt_dlunknown;
13760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13764 else puts (dlerror ());
13766 /* dlclose (self); */
13774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13775 (eval $ac_link) 2>&5
13777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13778 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13779 (.
/conftest
; exit; ) >&5 2>/dev
/null
13781 case x
$lt_status in
13782 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13783 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13784 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13787 # compilation failed
13788 lt_cv_dlopen_self_static
=no
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13796 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13799 CPPFLAGS
="$save_CPPFLAGS"
13800 LDFLAGS
="$save_LDFLAGS"
13805 case $lt_cv_dlopen_self in
13806 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13807 *) enable_dlopen_self
=unknown
;;
13810 case $lt_cv_dlopen_self_static in
13811 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13812 *) enable_dlopen_self_static
=unknown
;;
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13836 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13837 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13838 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13840 $as_echo "yes" >&6; }
13842 # FIXME - insert some real tests, host_os isn't really good enough
13845 if test -n "$STRIP" ; then
13846 striplib
="$STRIP -x"
13847 old_striplib
="$STRIP -S"
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13849 $as_echo "yes" >&6; }
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13852 $as_echo "no" >&6; }
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13857 $as_echo "no" >&6; }
13873 # Report which library types will actually be built
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13875 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13877 $as_echo "$can_build_shared" >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13880 $as_echo_n "checking whether to build shared libraries... " >&6; }
13881 test "$can_build_shared" = "no" && enable_shared
=no
13883 # On AIX, shared libraries and static libraries use the same namespace, and
13884 # are all built from PIC.
13887 test "$enable_shared" = yes && enable_static
=no
13888 if test -n "$RANLIB"; then
13889 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13890 postinstall_cmds
='$RANLIB $lib'
13895 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13896 test "$enable_shared" = yes && enable_static
=no
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13901 $as_echo "$enable_shared" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13904 $as_echo_n "checking whether to build static libraries... " >&6; }
13905 # Make sure either enable_shared or enable_static is yes.
13906 test "$enable_shared" = yes || enable_static
=yes
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13908 $as_echo "$enable_static" >&6; }
13915 ac_cpp
='$CPP $CPPFLAGS'
13916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13934 ac_config_commands
="$ac_config_commands libtool"
13939 # Only expand once:
13942 # Check whether --enable-largefile was given.
13943 if test "${enable_largefile+set}" = set; then :
13944 enableval
=$enable_largefile;
13947 if test "$enable_largefile" != no
; then
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13950 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13951 if ${ac_cv_sys_largefile_CC+:} false
; then :
13952 $as_echo_n "(cached) " >&6
13954 ac_cv_sys_largefile_CC
=no
13955 if test "$GCC" != yes; then
13958 # IRIX 6.2 and later do not support large files by default,
13959 # so use the C compiler's -n32 option if that helps.
13960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13962 #include <sys/types.h>
13963 /* Check that off_t can represent 2**63 - 1 correctly.
13964 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13965 since some C++ compilers masquerading as C compilers
13966 incorrectly reject 9223372036854775807. */
13967 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13968 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13969 && LARGE_OFF_T % 2147483647 == 1)
13979 if ac_fn_c_try_compile
"$LINENO"; then :
13982 rm -f core conftest.err conftest.
$ac_objext
13984 if ac_fn_c_try_compile
"$LINENO"; then :
13985 ac_cv_sys_largefile_CC
=' -n32'; break
13987 rm -f core conftest.err conftest.
$ac_objext
13991 rm -f conftest.
$ac_ext
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13995 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13996 if test "$ac_cv_sys_largefile_CC" != no
; then
13997 CC
=$CC$ac_cv_sys_largefile_CC
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14001 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14002 if ${ac_cv_sys_file_offset_bits+:} false
; then :
14003 $as_echo_n "(cached) " >&6
14006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 #include <sys/types.h>
14009 /* Check that off_t can represent 2**63 - 1 correctly.
14010 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14011 since some C++ compilers masquerading as C compilers
14012 incorrectly reject 9223372036854775807. */
14013 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14014 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14015 && LARGE_OFF_T % 2147483647 == 1)
14025 if ac_fn_c_try_compile
"$LINENO"; then :
14026 ac_cv_sys_file_offset_bits
=no
; break
14028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 #define _FILE_OFFSET_BITS 64
14032 #include <sys/types.h>
14033 /* Check that off_t can represent 2**63 - 1 correctly.
14034 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14035 since some C++ compilers masquerading as C compilers
14036 incorrectly reject 9223372036854775807. */
14037 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14038 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14039 && LARGE_OFF_T % 2147483647 == 1)
14049 if ac_fn_c_try_compile
"$LINENO"; then :
14050 ac_cv_sys_file_offset_bits
=64; break
14052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14053 ac_cv_sys_file_offset_bits
=unknown
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14058 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14059 case $ac_cv_sys_file_offset_bits in #(
14062 cat >>confdefs.h
<<_ACEOF
14063 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14068 if test $ac_cv_sys_file_offset_bits = unknown
; then
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14070 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14071 if ${ac_cv_sys_large_files+:} false
; then :
14072 $as_echo_n "(cached) " >&6
14075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 #include <sys/types.h>
14078 /* Check that off_t can represent 2**63 - 1 correctly.
14079 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14080 since some C++ compilers masquerading as C compilers
14081 incorrectly reject 9223372036854775807. */
14082 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14083 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14084 && LARGE_OFF_T % 2147483647 == 1)
14094 if ac_fn_c_try_compile
"$LINENO"; then :
14095 ac_cv_sys_large_files
=no
; break
14097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 #define _LARGE_FILES 1
14101 #include <sys/types.h>
14102 /* Check that off_t can represent 2**63 - 1 correctly.
14103 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14104 since some C++ compilers masquerading as C compilers
14105 incorrectly reject 9223372036854775807. */
14106 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14107 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14108 && LARGE_OFF_T % 2147483647 == 1)
14118 if ac_fn_c_try_compile
"$LINENO"; then :
14119 ac_cv_sys_large_files
=1; break
14121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14122 ac_cv_sys_large_files
=unknown
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14127 $as_echo "$ac_cv_sys_large_files" >&6; }
14128 case $ac_cv_sys_large_files in #(
14131 cat >>confdefs.h
<<_ACEOF
14132 #define _LARGE_FILES $ac_cv_sys_large_files
14142 : ${CONFIG_LT=./config.lt}
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
14144 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
14146 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
14148 # Generated by $as_me.
14149 # Run this file to recreate a libtool stub with the current configuration.
14150 SHELL=\${CONFIG_SHELL-$SHELL}
14153 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail
=1
14154 ## -------------------- ##
14155 ## M4sh Initialization. ##
14156 ## -------------------- ##
14158 # Be more Bourne compatible
14159 DUALCASE
=1; export DUALCASE
# for MKS sh
14160 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14163 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14164 # is contrary to our usage. Disable this feature.
14165 alias -g '${1+"$@"}'='"$@"'
14166 setopt NO_GLOB_SUBST
14168 case `(set -o) 2>/dev/null` in #(
14180 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14181 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14182 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14183 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14184 # Prefer a ksh shell builtin over an external printf program on Solaris,
14185 # but without wasting forks for bash or zsh.
14186 if test -z "$BASH_VERSION$ZSH_VERSION" \
14187 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14188 as_echo='print
-r --'
14189 as_echo_n='print
-rn --'
14190 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14191 as_echo='printf %s
\n'
14192 as_echo_n='printf %s
'
14194 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14195 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14196 as_echo_n='/usr
/ucb
/echo -n'
14198 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14199 as_echo_n_body='eval
14203 expr "X$arg" : "X\\(.*\\)$as_nl";
14204 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14206 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14208 export as_echo_n_body
14209 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14211 export as_echo_body
14212 as_echo='sh
-c $as_echo_body as_echo
'
14215 # The user is always right.
14216 if test "${PATH_SEPARATOR+set}" != set; then
14218 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14219 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14226 # We need space, tab and new line, in precisely that order. Quoting is
14227 # there to prevent editors from complaining about space-tab.
14228 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14229 # splitting by setting IFS to empty value.)
14232 # Find who we are. Look in the path if we contain no directory separator.
14235 *[\\/]* ) as_myself=$0 ;;
14236 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14237 for as_dir in $PATH
14240 test -z "$as_dir" && as_dir=.
14241 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14247 # We did not find ourselves, most probably we were run as `sh COMMAND'
14248 # in which case we are not to be found in the path.
14249 if test "x$as_myself" = x
; then
14252 if test ! -f "$as_myself"; then
14253 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14257 # Unset variables that we do not need and which cause bugs (e.g. in
14258 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14259 # suppresses any "Segmentation fault" message there. '((' could
14260 # trigger a bug in pdksh 5.2.14.
14261 for as_var
in BASH_ENV ENV MAIL MAILPATH
14262 do eval test x\
${$as_var+set} = xset \
14263 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14276 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14279 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14280 # ----------------------------------------
14281 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14282 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14283 # script with STATUS, using 1 if that was 0.
14286 as_status
=$1; test $as_status -eq 0 && as_status
=1
14288 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14289 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14291 $as_echo "$as_me: error: $2" >&2
14292 as_fn_exit
$as_status
14296 # as_fn_set_status STATUS
14297 # -----------------------
14298 # Set $? to STATUS, without forking.
14299 as_fn_set_status
()
14302 } # as_fn_set_status
14304 # as_fn_exit STATUS
14305 # -----------------
14306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14310 as_fn_set_status
$1
14316 # Portably unset VAR.
14319 { eval $1=; unset $1;}
14321 as_unset
=as_fn_unset
14322 # as_fn_append VAR VALUE
14323 # ----------------------
14324 # Append the text in VALUE to the end of the definition contained in VAR. Take
14325 # advantage of any shell optimizations that allow amortized linear growth over
14326 # repeated appends, instead of the typical quadratic growth present in naive
14328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14329 eval 'as_fn_append ()
14340 # as_fn_arith ARG...
14341 # ------------------
14342 # Perform arithmetic evaluation on the ARGs, and store the result in the
14343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14344 # must be portable across $(()) and expr.
14345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14346 eval 'as_fn_arith ()
14353 as_val
=`expr "$@" || test $? -eq 1`
14358 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14359 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14365 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14366 as_basename
=basename
14371 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14377 as_me
=`$as_basename -- "$0" ||
14378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14379 X"$0" : 'X\(//\)$' \| \
14380 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14382 sed '/^.*\/\([^/][^/]*\)\/*$/{
14396 # Avoid depending upon Character Ranges.
14397 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14398 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14399 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14400 as_cr_digits
='0123456789'
14401 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14403 ECHO_C
= ECHO_N
= ECHO_T
=
14404 case `echo -n x` in #(((((
14406 case `echo 'xy\c'` in
14407 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14409 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14416 rm -f conf$$ conf$$.exe conf$$.
file
14417 if test -d conf$$.dir
; then
14418 rm -f conf$$.dir
/conf$$.
file
14421 mkdir conf$$.dir
2>/dev
/null
14423 if (echo >conf$$.
file) 2>/dev
/null
; then
14424 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14426 # ... but there are two gotchas:
14427 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14428 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14429 # In both cases, we have to default to `cp -pR'.
14430 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14432 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14440 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14441 rmdir conf$$.dir
2>/dev
/null
14446 # Create "$as_dir" as a directory, including parents if necessary.
14451 -*) as_dir
=.
/$as_dir;;
14453 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14457 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14458 *) as_qdir
=$as_dir;;
14460 as_dirs
="'$as_qdir' $as_dirs"
14461 as_dir
=`$as_dirname -- "$as_dir" ||
14462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14463 X"$as_dir" : 'X\(//\)[^/]' \| \
14464 X"$as_dir" : 'X\(//\)$' \| \
14465 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14466 $as_echo X"$as_dir" |
14467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14471 /^X\(\/\/\)[^/].*/{
14484 test -d "$as_dir" && break
14486 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14487 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14491 if mkdir
-p .
2>/dev
/null
; then
14492 as_mkdir_p
='mkdir -p "$as_dir"'
14494 test -d .
/-p && rmdir .
/-p
14499 # as_fn_executable_p FILE
14500 # -----------------------
14501 # Test if FILE is an executable regular file.
14502 as_fn_executable_p
()
14504 test -f "$1" && test -x "$1"
14505 } # as_fn_executable_p
14506 as_test_x
='test -x'
14507 as_executable_p
=as_fn_executable_p
14509 # Sed expression to map a string onto a valid CPP name.
14510 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14512 # Sed expression to map a string onto a valid variable name.
14513 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14517 ## --------------------------------- ##
14518 ## Main body of "$CONFIG_LT" script. ##
14519 ## --------------------------------- ##
14521 test $as_write_fail = 0 && chmod +x
"$CONFIG_LT"
14523 cat >>"$CONFIG_LT" <<\_LTEOF
14528 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14529 ## Running $as_me. ##
14534 \`$as_me' creates a local libtool stub from the current configuration,
14535 for use in further configure time tests before the real libtool is
14538 Usage: $0 [OPTIONS]
14540 -h, --help print this help, then exit
14541 -V, --version print version number, then exit
14542 -q, --quiet do not print progress messages
14543 -d, --debug don't remove temporary files
14545 Report bugs to <bug-libtool@gnu.org>."
14548 libctf config.lt 1.2.0
14549 configured by $0, generated by GNU Autoconf 2.69.
14551 Copyright (C) 2009 Free Software Foundation, Inc.
14552 This config.lt script is free software; the Free Software Foundation
14553 gives unlimited permision to copy, distribute and modify it."
14558 --version |
--v* |
-V )
14559 echo "$lt_cl_version"; exit 0 ;;
14560 --help |
--h* |
-h )
14561 echo "$lt_cl_help"; exit 0 ;;
14562 --debug |
--d* |
-d )
14564 --quiet |
--q* |
--silent |
--s* |
-q )
14567 -*) as_fn_error $?
"unrecognized option: $1
14568 Try \`$0 --help' for more information." "$LINENO" 5 ;;
14570 *) as_fn_error $?
"unrecognized argument: $1
14571 Try \`$0 --help' for more information." "$LINENO" 5 ;;
14576 if $lt_cl_silent; then
14581 cat >>"$CONFIG_LT" <<_LTEOF
14584 # The HP-UX ksh and POSIX shell print the target directory to stdout
14585 # if CDPATH is set.
14586 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14588 sed_quote_subst='$sed_quote_subst'
14589 double_quote_subst='$double_quote_subst'
14590 delay_variable_subst='$delay_variable_subst'
14591 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14592 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14593 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14594 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14595 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14596 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14597 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14598 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14599 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14600 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14601 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14602 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14603 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14604 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14605 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14606 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14607 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14608 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14609 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14610 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14611 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14612 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14613 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14614 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14615 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14616 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14617 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14618 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14619 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14620 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14621 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14622 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14623 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14624 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14625 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14626 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14627 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14628 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14629 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14630 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14631 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14632 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14633 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14634 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14635 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14636 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14637 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14638 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14639 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"`'
14640 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14641 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14642 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14643 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14644 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14645 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14646 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14647 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14648 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14649 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14650 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14651 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14652 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14653 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14654 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14655 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14656 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14657 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14658 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14659 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14660 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14661 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14662 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14663 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14664 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14665 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14666 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14667 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14668 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14669 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14670 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14671 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14672 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14673 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14674 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14675 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14676 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14677 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14678 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14679 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14680 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14681 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14682 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14683 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14684 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14685 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14686 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14687 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14688 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14689 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14690 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14691 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14692 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14693 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14694 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14695 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14696 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14697 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14698 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14699 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14700 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14701 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14702 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14703 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14704 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14705 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14706 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14707 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14708 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14709 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14710 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14713 LTCFLAGS='$LTCFLAGS'
14714 compiler='$compiler_DEFAULT'
14716 # A function that is used when there is no print builtin or printf.
14717 func_fallback_echo ()
14719 eval 'cat <<_LTECHO_EOF
14724 # Quote evaled strings.
14738 deplibs_check_method \
14747 lt_cv_sys_global_symbol_pipe \
14748 lt_cv_sys_global_symbol_to_cdecl \
14749 lt_cv_sys_global_symbol_to_c_name_address \
14750 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14751 lt_prog_compiler_no_builtin_flag \
14752 lt_prog_compiler_wl \
14753 lt_prog_compiler_pic \
14754 lt_prog_compiler_static \
14755 lt_cv_prog_compiler_c_o \
14763 export_dynamic_flag_spec \
14764 whole_archive_flag_spec \
14765 compiler_needs_object \
14767 allow_undefined_flag \
14768 no_undefined_flag \
14769 hardcode_libdir_flag_spec \
14770 hardcode_libdir_flag_spec_ld \
14771 hardcode_libdir_separator \
14776 variables_saved_for_relink \
14778 library_names_spec \
14780 install_override_mode \
14784 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14785 *[\\\\\\\`\\"\\\$]*)
14786 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14789 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14794 # Double-quote double-evaled strings.
14795 for var in reload_cmds \
14796 old_postinstall_cmds \
14797 old_postuninstall_cmds \
14799 extract_expsyms_cmds \
14800 old_archive_from_new_cmds \
14801 old_archive_from_expsyms_cmds \
14803 archive_expsym_cmds \
14805 module_expsym_cmds \
14806 export_symbols_cmds \
14809 postuninstall_cmds \
14811 sys_lib_search_path_spec \
14812 sys_lib_dlsearch_path_spec; do
14813 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14814 *[\\\\\\\`\\"\\\$]*)
14815 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14818 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14823 ac_aux_dir='$ac_aux_dir'
14824 xsi_shell='$xsi_shell'
14825 lt_shell_append='$lt_shell_append'
14827 # See if we are running on zsh, and set the options which allow our
14828 # commands through without removal of \ escapes INIT.
14829 if test -n "\${ZSH_VERSION+set}" ; then
14830 setopt NO_GLOB_SUBST
14836 TIMESTAMP='$TIMESTAMP'
14844 cat >>"$CONFIG_LT" <<\_LTEOF
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
14846 $as_echo "$as_me: creating $ofile" >&6;}
14849 # See if we are running on zsh, and set the options which allow our
14850 # commands through without removal of \ escapes.
14851 if test -n "${ZSH_VERSION+set}" ; then
14852 setopt NO_GLOB_SUBST
14855 cfgfile
="${ofile}T"
14856 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14859 cat <<_LT_EOF >> "$cfgfile"
14862 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14863 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14864 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14865 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14867 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14868 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14869 # Written by Gordon Matzigkeit, 1996
14871 # This file is part of GNU Libtool.
14873 # GNU Libtool is free software; you can redistribute it and/or
14874 # modify it under the terms of the GNU General Public License as
14875 # published by the Free Software Foundation; either version 2 of
14876 # the License, or (at your option) any later version.
14878 # As a special exception to the GNU General Public License,
14879 # if you distribute this file as part of a program or library that
14880 # is built using GNU Libtool, you may include this file under the
14881 # same distribution terms that you use for the rest of that program.
14883 # GNU Libtool is distributed in the hope that it will be useful,
14884 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14885 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14886 # GNU General Public License for more details.
14888 # You should have received a copy of the GNU General Public License
14889 # along with GNU Libtool; see the file COPYING. If not, a copy
14890 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14891 # obtained by writing to the Free Software Foundation, Inc.,
14892 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14895 # The names of the tagged configurations supported by this script.
14898 # ### BEGIN LIBTOOL CONFIG
14900 # Whether or not to build shared libraries.
14901 build_libtool_libs=$enable_shared
14903 # Which release of libtool.m4 was used?
14904 macro_version=$macro_version
14905 macro_revision=$macro_revision
14907 # Whether or not to build static libraries.
14908 build_old_libs=$enable_static
14910 # What type of objects to build.
14913 # Whether or not to optimize for fast installation.
14914 fast_install=$enable_fast_install
14916 # Shell to use when invoking shell scripts.
14919 # An echo program that protects backslashes.
14923 host_alias=$host_alias
14927 # The build system.
14928 build_alias=$build_alias
14932 # A sed program that does not truncate output.
14935 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14936 Xsed="\$SED -e 1s/^X//"
14938 # A grep program that handles long lines.
14944 # A literal string matcher.
14947 # A BSD- or MS-compatible name lister.
14950 # Whether we need soft or hard links.
14953 # What is the maximum length of a command?
14954 max_cmd_len=$max_cmd_len
14956 # Object file suffix (normally "o").
14959 # Executable file suffix (normally "").
14962 # whether the shell understands "unset".
14965 # turn spaces into newlines.
14968 # turn newlines into spaces.
14971 # An object symbol dumper.
14972 OBJDUMP=$lt_OBJDUMP
14974 # Method to check whether dependent libraries are shared objects.
14975 deplibs_check_method=$lt_deplibs_check_method
14977 # Command to use when deplibs_check_method == "file_magic".
14978 file_magic_cmd=$lt_file_magic_cmd
14982 AR_FLAGS=$lt_AR_FLAGS
14984 # A symbol stripping program.
14987 # Commands used to install an old-style archive.
14989 old_postinstall_cmds=$lt_old_postinstall_cmds
14990 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14992 # Whether to use a lock for old archive extraction.
14993 lock_old_archive_extraction=$lock_old_archive_extraction
14998 # LTCC compiler flags.
14999 LTCFLAGS=$lt_CFLAGS
15001 # Take the output of nm and produce a listing of raw symbols and C names.
15002 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15004 # Transform the output of nm in a proper C declaration.
15005 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15007 # Transform the output of nm in a C name address pair.
15008 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15010 # Transform the output of nm in a C name address pair when lib prefix is needed.
15011 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15013 # The name of the directory that contains temporary libtool files.
15016 # Used to examine libraries when file_magic_cmd begins with "file".
15017 MAGIC_CMD=$MAGIC_CMD
15019 # Must we lock files when doing compilation?
15020 need_locks=$lt_need_locks
15022 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15023 DSYMUTIL=$lt_DSYMUTIL
15025 # Tool to change global to local symbols on Mac OS X.
15028 # Tool to manipulate fat objects and archives on Mac OS X.
15031 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15034 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15035 OTOOL64=$lt_OTOOL64
15037 # Old archive suffix (normally "a").
15040 # Shared library suffix (normally ".so").
15041 shrext_cmds=$lt_shrext_cmds
15043 # The commands to extract the exported symbol list from a shared archive.
15044 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15046 # Variables whose values should be saved in libtool wrapper scripts and
15047 # restored at link time.
15048 variables_saved_for_relink=$lt_variables_saved_for_relink
15050 # Do we need the "lib" prefix for modules?
15051 need_lib_prefix=$need_lib_prefix
15053 # Do we need a version for libraries?
15054 need_version=$need_version
15056 # Library versioning type.
15057 version_type=$version_type
15059 # Shared library runtime path variable.
15060 runpath_var=$runpath_var
15062 # Shared library path variable.
15063 shlibpath_var=$shlibpath_var
15065 # Is shlibpath searched before the hard-coded library search path?
15066 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15068 # Format of library name prefix.
15069 libname_spec=$lt_libname_spec
15071 # List of archive names. First name is the real one, the rest are links.
15072 # The last name is the one that the linker finds with -lNAME
15073 library_names_spec=$lt_library_names_spec
15075 # The coded name of the library, if different from the real name.
15076 soname_spec=$lt_soname_spec
15078 # Permission mode override for installation of shared libraries.
15079 install_override_mode=$lt_install_override_mode
15081 # Command to use after installation of a shared archive.
15082 postinstall_cmds=$lt_postinstall_cmds
15084 # Command to use after uninstallation of a shared archive.
15085 postuninstall_cmds=$lt_postuninstall_cmds
15087 # Commands used to finish a libtool library installation in a directory.
15088 finish_cmds=$lt_finish_cmds
15090 # As "finish_cmds", except a single script fragment to be evaled but
15092 finish_eval=$lt_finish_eval
15094 # Whether we should hardcode library paths into libraries.
15095 hardcode_into_libs=$hardcode_into_libs
15097 # Compile-time system search path for libraries.
15098 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15100 # Run-time system search path for libraries.
15101 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15103 # Whether dlopen is supported.
15104 dlopen_support=$enable_dlopen
15106 # Whether dlopen of programs is supported.
15107 dlopen_self=$enable_dlopen_self
15109 # Whether dlopen of statically linked programs is supported.
15110 dlopen_self_static=$enable_dlopen_self_static
15112 # Commands to strip libraries.
15113 old_striplib=$lt_old_striplib
15114 striplib=$lt_striplib
15117 # The linker used to build libraries.
15120 # How to create reloadable object files.
15121 reload_flag=$lt_reload_flag
15122 reload_cmds=$lt_reload_cmds
15124 # Commands used to build an old-style archive.
15125 old_archive_cmds=$lt_old_archive_cmds
15127 # A language specific compiler.
15130 # Is the compiler the GNU compiler?
15133 # Compiler flag to turn off builtin functions.
15134 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15136 # How to pass a linker flag through the compiler.
15137 wl=$lt_lt_prog_compiler_wl
15139 # Additional compiler flags for building library objects.
15140 pic_flag=$lt_lt_prog_compiler_pic
15142 # Compiler flag to prevent dynamic linking.
15143 link_static_flag=$lt_lt_prog_compiler_static
15145 # Does compiler simultaneously support -c and -o options?
15146 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15148 # Whether or not to add -lc for building shared libraries.
15149 build_libtool_need_lc=$archive_cmds_need_lc
15151 # Whether or not to disallow shared libs when runtime libs are static.
15152 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15154 # Compiler flag to allow reflexive dlopens.
15155 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15157 # Compiler flag to generate shared objects directly from archives.
15158 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15160 # Whether the compiler copes with passing no objects directly.
15161 compiler_needs_object=$lt_compiler_needs_object
15163 # Create an old-style archive from a shared archive.
15164 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15166 # Create a temporary old-style archive to link instead of a shared archive.
15167 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15169 # Commands used to build a shared archive.
15170 archive_cmds=$lt_archive_cmds
15171 archive_expsym_cmds=$lt_archive_expsym_cmds
15173 # Commands used to build a loadable module if different from building
15174 # a shared archive.
15175 module_cmds=$lt_module_cmds
15176 module_expsym_cmds=$lt_module_expsym_cmds
15178 # Whether we are building with GNU ld or not.
15179 with_gnu_ld=$lt_with_gnu_ld
15181 # Flag that allows shared libraries with undefined symbols to be built.
15182 allow_undefined_flag=$lt_allow_undefined_flag
15184 # Flag that enforces no undefined symbols.
15185 no_undefined_flag=$lt_no_undefined_flag
15187 # Flag to hardcode \$libdir into a binary during linking.
15188 # This must work even if \$libdir does not exist
15189 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15191 # If ld is used when linking, flag to hardcode \$libdir into a binary
15192 # during linking. This must work even if \$libdir does not exist.
15193 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15195 # Whether we need a single "-rpath" flag with a separated argument.
15196 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15198 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15199 # DIR into the resulting binary.
15200 hardcode_direct=$hardcode_direct
15202 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15203 # DIR into the resulting binary and the resulting library dependency is
15204 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15205 # library is relocated.
15206 hardcode_direct_absolute=$hardcode_direct_absolute
15208 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15209 # into the resulting binary.
15210 hardcode_minus_L=$hardcode_minus_L
15212 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15213 # into the resulting binary.
15214 hardcode_shlibpath_var=$hardcode_shlibpath_var
15216 # Set to "yes" if building a shared library automatically hardcodes DIR
15217 # into the library and all subsequent libraries and executables linked
15219 hardcode_automatic=$hardcode_automatic
15221 # Set to yes if linker adds runtime paths of dependent libraries
15222 # to runtime path list.
15223 inherit_rpath=$inherit_rpath
15225 # Whether libtool must link a program against all its dependency libraries.
15226 link_all_deplibs=$link_all_deplibs
15228 # Fix the shell variable \$srcfile for the compiler.
15229 fix_srcfile_path=$lt_fix_srcfile_path
15231 # Set to "yes" if exported symbols are required.
15232 always_export_symbols=$always_export_symbols
15234 # The commands to list exported symbols.
15235 export_symbols_cmds=$lt_export_symbols_cmds
15237 # Symbols that should not be listed in the preloaded symbols.
15238 exclude_expsyms=$lt_exclude_expsyms
15240 # Symbols that must always be exported.
15241 include_expsyms=$lt_include_expsyms
15243 # Commands necessary for linking programs (against libraries) with templates.
15244 prelink_cmds=$lt_prelink_cmds
15246 # Specify filename containing input files.
15247 file_list_spec=$lt_file_list_spec
15249 # How to hardcode a shared library path into an executable.
15250 hardcode_action=$hardcode_action
15252 # ### END LIBTOOL CONFIG
15258 cat <<\_LT_EOF
>> "$cfgfile"
15259 # AIX sometimes has problems with the GCC collect2 program. For some
15260 # reason, if we set the COLLECT_NAMES environment variable, the problems
15261 # vanish in a puff of smoke.
15262 if test "X${COLLECT_NAMES+set}" != Xset
; then
15264 export COLLECT_NAMES
15271 ltmain
="$ac_aux_dir/ltmain.sh"
15274 # We use sed instead of cat because bash on DJGPP gets confused if
15275 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15276 # text mode, it properly converts lines to CR/LF. This bash problem
15277 # is reportedly fixed, but why not run on old versions too?
15278 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15279 ||
(rm -f "$cfgfile"; exit 1)
15283 cat << \_LT_EOF
>> "$cfgfile"
15285 # func_dirname file append nondir_replacement
15286 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15287 # otherwise set result to NONDIR_REPLACEMENT.
15291 */*) func_dirname_result
="${1%/*}${2}" ;;
15292 * ) func_dirname_result
="${3}" ;;
15296 # func_basename file
15299 func_basename_result
="${1##*/}"
15302 # func_dirname_and_basename file append nondir_replacement
15303 # perform func_basename and func_dirname in a single function
15305 # dirname: Compute the dirname of FILE. If nonempty,
15306 # add APPEND to the result, otherwise set result
15307 # to NONDIR_REPLACEMENT.
15308 # value returned in "$func_dirname_result"
15309 # basename: Compute filename of FILE.
15310 # value retuned in "$func_basename_result"
15311 # Implementation must be kept synchronized with func_dirname
15312 # and func_basename. For efficiency, we do not delegate to
15313 # those functions but instead duplicate the functionality here.
15314 func_dirname_and_basename
()
15317 */*) func_dirname_result
="${1%/*}${2}" ;;
15318 * ) func_dirname_result
="${3}" ;;
15320 func_basename_result
="${1##*/}"
15323 # func_stripname prefix suffix name
15324 # strip PREFIX and SUFFIX off of NAME.
15325 # PREFIX and SUFFIX must not contain globbing or regex special
15326 # characters, hashes, percent signs, but SUFFIX may contain a leading
15327 # dot (in which case that matches only a dot).
15330 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15331 # positional parameters, so assign one to ordinary parameter first.
15332 func_stripname_result
=${3}
15333 func_stripname_result
=${func_stripname_result#"${1}"}
15334 func_stripname_result
=${func_stripname_result%"${2}"}
15340 func_opt_split_opt
=${1%%=*}
15341 func_opt_split_arg
=${1#*=}
15348 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15349 *) func_lo2o_result
=${1} ;;
15353 # func_xform libobj-or-source
15356 func_xform_result
=${1%.*}.lo
15359 # func_arith arithmetic-term...
15362 func_arith_result
=$
(( $
* ))
15366 # STRING may not start with a hyphen.
15369 func_len_result
=${#1}
15374 *) # Bourne compatible functions.
15375 cat << \_LT_EOF
>> "$cfgfile"
15377 # func_dirname file append nondir_replacement
15378 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15379 # otherwise set result to NONDIR_REPLACEMENT.
15382 # Extract subdirectory from the argument.
15383 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15384 if test "X$func_dirname_result" = "X${1}"; then
15385 func_dirname_result
="${3}"
15387 func_dirname_result
="$func_dirname_result${2}"
15391 # func_basename file
15394 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15398 # func_stripname prefix suffix name
15399 # strip PREFIX and SUFFIX off of NAME.
15400 # PREFIX and SUFFIX must not contain globbing or regex special
15401 # characters, hashes, percent signs, but SUFFIX may contain a leading
15402 # dot (in which case that matches only a dot).
15403 # func_strip_suffix prefix name
15407 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15408 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15413 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15414 my_sed_long_arg
='1s/^-[^=]*=//'
15419 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15420 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15426 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15429 # func_xform libobj-or-source
15432 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15435 # func_arith arithmetic-term...
15438 func_arith_result
=`expr "$@"`
15442 # STRING may not start with a hyphen.
15445 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15451 case $lt_shell_append in
15453 cat << \_LT_EOF
>> "$cfgfile"
15455 # func_append var value
15456 # Append VALUE to the end of shell variable VAR.
15464 cat << \_LT_EOF
>> "$cfgfile"
15466 # func_append var value
15467 # Append VALUE to the end of shell variable VAR.
15478 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15479 ||
(rm -f "$cfgfile"; exit 1)
15481 mv -f "$cfgfile" "$ofile" ||
15482 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15488 chmod +x
"$CONFIG_LT"
15490 # configure is writing to config.log, but config.lt does its own redirection,
15491 # appending to config.log, which fails on DOS, as config.log is still kept
15492 # open by configure. Here we exec the FD to /dev/null, effectively closing
15493 # config.log, so it can be properly (re)opened and appended to by config.lt.
15495 test "$silent" = yes &&
15496 lt_config_lt_args
="$lt_config_lt_args --quiet"
15498 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success
=false
15500 $lt_cl_success || as_fn_exit
1
15503 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
15504 for ac_prog
in aclocal
15506 # Extract the first word of "$ac_prog", so it can be a program name with args.
15507 set dummy
$ac_prog; ac_word
=$2
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15509 $as_echo_n "checking for $ac_word... " >&6; }
15510 if ${ac_cv_prog_ACLOCAL+:} false
; then :
15511 $as_echo_n "(cached) " >&6
15513 if test -n "$ACLOCAL"; then
15514 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
15516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15517 for as_dir
in $PATH
15520 test -z "$as_dir" && as_dir
=.
15521 for ac_exec_ext
in '' $ac_executable_extensions; do
15522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15523 ac_cv_prog_ACLOCAL
="$ac_prog"
15524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15533 ACLOCAL
=$ac_cv_prog_ACLOCAL
15534 if test -n "$ACLOCAL"; then
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
15536 $as_echo "$ACLOCAL" >&6; }
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15539 $as_echo "no" >&6; }
15543 test -n "$ACLOCAL" && break
15545 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
15547 for ac_prog
in autoconf
15549 # Extract the first word of "$ac_prog", so it can be a program name with args.
15550 set dummy
$ac_prog; ac_word
=$2
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15552 $as_echo_n "checking for $ac_word... " >&6; }
15553 if ${ac_cv_prog_AUTOCONF+:} false
; then :
15554 $as_echo_n "(cached) " >&6
15556 if test -n "$AUTOCONF"; then
15557 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
15559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15560 for as_dir
in $PATH
15563 test -z "$as_dir" && as_dir
=.
15564 for ac_exec_ext
in '' $ac_executable_extensions; do
15565 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15566 ac_cv_prog_AUTOCONF
="$ac_prog"
15567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15576 AUTOCONF
=$ac_cv_prog_AUTOCONF
15577 if test -n "$AUTOCONF"; then
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
15579 $as_echo "$AUTOCONF" >&6; }
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15582 $as_echo "no" >&6; }
15586 test -n "$AUTOCONF" && break
15588 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
15590 for ac_prog
in autoheader
15592 # Extract the first word of "$ac_prog", so it can be a program name with args.
15593 set dummy
$ac_prog; ac_word
=$2
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15595 $as_echo_n "checking for $ac_word... " >&6; }
15596 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
15597 $as_echo_n "(cached) " >&6
15599 if test -n "$AUTOHEADER"; then
15600 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
15602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15603 for as_dir
in $PATH
15606 test -z "$as_dir" && as_dir
=.
15607 for ac_exec_ext
in '' $ac_executable_extensions; do
15608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15609 ac_cv_prog_AUTOHEADER
="$ac_prog"
15610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15619 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
15620 if test -n "$AUTOHEADER"; then
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
15622 $as_echo "$AUTOHEADER" >&6; }
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15625 $as_echo "no" >&6; }
15629 test -n "$AUTOHEADER" && break
15631 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
15634 # Figure out what compiler warnings we can enable.
15635 # See config/warnings.m4 for details.
15638 ac_cpp
='$CPP $CPPFLAGS'
15639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15644 save_CFLAGS
="$CFLAGS"
15645 for real_option
in -W -Wall -Wno-narrowing -Wwrite-strings \
15646 -Wmissing-format-attribute; do
15647 # Do the check with the no- prefix removed since gcc silently
15648 # accepts any -Wno-* option on purpose
15649 case $real_option in
15650 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
15651 *) option
=$real_option ;;
15653 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
15656 $as_echo_n "checking whether $CC supports $option... " >&6; }
15657 if eval \
${$as_acx_Woption+:} false
; then :
15658 $as_echo_n "(cached) " >&6
15661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15662 /* end confdefs.h. */
15672 if ac_fn_c_try_compile
"$LINENO"; then :
15673 eval "$as_acx_Woption=yes"
15675 eval "$as_acx_Woption=no"
15677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15680 eval ac_res
=\$
$as_acx_Woption
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15682 $as_echo "$ac_res" >&6; }
15683 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
15684 warn
="$warn${warn:+ }$real_option"
15687 CFLAGS
="$save_CFLAGS"
15689 ac_cpp
='$CPP $CPPFLAGS'
15690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15696 ac_cpp
='$CPP $CPPFLAGS'
15697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15702 save_CFLAGS
="$CFLAGS"
15703 for real_option
in -Wstrict-prototypes -Wmissing-prototypes \
15704 -Wold-style-definition; do
15705 # Do the check with the no- prefix removed since gcc silently
15706 # accepts any -Wno-* option on purpose
15707 case $real_option in
15708 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
15709 *) option
=$real_option ;;
15711 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
15714 $as_echo_n "checking whether $CC supports $option... " >&6; }
15715 if eval \
${$as_acx_Woption+:} false
; then :
15716 $as_echo_n "(cached) " >&6
15719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15730 if ac_fn_c_try_compile
"$LINENO"; then :
15731 eval "$as_acx_Woption=yes"
15733 eval "$as_acx_Woption=no"
15735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15738 eval ac_res
=\$
$as_acx_Woption
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15740 $as_echo "$ac_res" >&6; }
15741 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
15742 c_warn
="$c_warn${c_warn:+ }$real_option"
15745 CFLAGS
="$save_CFLAGS"
15747 ac_cpp
='$CPP $CPPFLAGS'
15748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15754 ac_cpp
='$CPP $CPPFLAGS'
15755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15760 # Do the check with the no- prefix removed from the warning options
15761 # since gcc silently accepts any -Wno-* option on purpose
15762 if test "$GCC" = yes; then :
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
15764 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
15765 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false
; then :
15766 $as_echo_n "(cached) " >&6
15768 save_CFLAGS
="$CFLAGS"
15769 CFLAGS
="-pedantic -Wlong-long"
15770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15781 if ac_fn_c_try_compile
"$LINENO"; then :
15782 acx_cv_prog_cc_pedantic__Wlong_long
=yes
15784 acx_cv_prog_cc_pedantic__Wlong_long
=no
15786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15787 CFLAGS
="$save_CFLAGS"
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
15790 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
15791 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
15792 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
15797 ac_cpp
='$CPP $CPPFLAGS'
15798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15804 # Only enable with --enable-werror-always until existing warnings are
15807 ac_cpp
='$CPP $CPPFLAGS'
15808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15813 # Check whether --enable-werror-always was given.
15814 if test "${enable_werror_always+set}" = set; then :
15815 enableval
=$enable_werror_always;
15817 enable_werror_always
=no
15820 if test $enable_werror_always = yes; then :
15821 WERROR
="$WERROR${WERROR:+ }-Werror"
15825 ac_cpp
='$CPP $CPPFLAGS'
15826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
15834 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
15835 # Check whether --enable-maintainer-mode was given.
15836 if test "${enable_maintainer_mode+set}" = set; then :
15837 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
15839 USE_MAINTAINER_MODE
=no
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
15843 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15844 if test $USE_MAINTAINER_MODE = yes; then
15845 MAINTAINER_MODE_TRUE
=
15846 MAINTAINER_MODE_FALSE
='#'
15848 MAINTAINER_MODE_TRUE
='#'
15849 MAINTAINER_MODE_FALSE
=
15852 MAINT
=$MAINTAINER_MODE_TRUE
15855 case ${build_alias} in
15856 "") build_noncanonical
=${build} ;;
15857 *) build_noncanonical
=${build_alias} ;;
15860 case ${host_alias} in
15861 "") host_noncanonical
=${build_noncanonical} ;;
15862 *) host_noncanonical
=${host_alias} ;;
15865 case ${target_alias} in
15866 "") target_noncanonical
=${host_noncanonical} ;;
15867 *) target_noncanonical
=${target_alias} ;;
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
15871 $as_echo_n "checking whether to install libbfd... " >&6; }
15872 # Check whether --enable-install-libbfd was given.
15873 if test "${enable_install_libbfd+set}" = set; then :
15874 enableval
=$enable_install_libbfd; install_libbfd_p
=$enableval
15876 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
15877 install_libbfd_p
=yes
15879 install_libbfd_p
=no
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
15884 $as_echo "$install_libbfd_p" >&6; }
15885 if test $install_libbfd_p = yes; then
15886 INSTALL_LIBBFD_TRUE
=
15887 INSTALL_LIBBFD_FALSE
='#'
15889 INSTALL_LIBBFD_TRUE
='#'
15890 INSTALL_LIBBFD_FALSE
=
15893 # Need _noncanonical variables for this.
15898 # libbfd.a is a host library containing target dependent code
15899 bfdlibdir
='$(libdir)'
15900 bfdincludedir
='$(includedir)'
15901 if test "${host}" != "${target}"; then
15902 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
15903 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
15912 ac_cpp
='$CPP $CPPFLAGS'
15913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15917 ac_libctf_warn_cflags
=
15918 save_CFLAGS
="$CFLAGS"
15919 for real_option
in -Wall; do
15920 # Do the check with the no- prefix removed since gcc silently
15921 # accepts any -Wno-* option on purpose
15922 case $real_option in
15923 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
15924 *) option
=$real_option ;;
15926 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
15929 $as_echo_n "checking whether $CC supports $option... " >&6; }
15930 if eval \
${$as_acx_Woption+:} false
; then :
15931 $as_echo_n "(cached) " >&6
15934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15945 if ac_fn_c_try_compile
"$LINENO"; then :
15946 eval "$as_acx_Woption=yes"
15948 eval "$as_acx_Woption=no"
15950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15953 eval ac_res
=\$
$as_acx_Woption
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15955 $as_echo "$ac_res" >&6; }
15956 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
15957 ac_libctf_warn_cflags
="$ac_libctf_warn_cflags${ac_libctf_warn_cflags:+ }$real_option"
15960 CFLAGS
="$save_CFLAGS"
15962 ac_cpp
='$CPP $CPPFLAGS'
15963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15972 for ac_header
in $ac_header_list
15974 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15975 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15977 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15978 cat >>confdefs.h
<<_ACEOF
15979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15992 save_ASAN_OPTIONS
="$ASAN_OPTIONS"
15993 ASAN_OPTIONS
=detect_leaks
=0
15994 export ASAN_OPTIONS
15996 for ac_func
in getpagesize
15998 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
15999 if test "x$ac_cv_func_getpagesize" = xyes
; then :
16000 cat >>confdefs.h
<<_ACEOF
16001 #define HAVE_GETPAGESIZE 1
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
16008 $as_echo_n "checking for working mmap... " >&6; }
16009 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
16010 $as_echo_n "(cached) " >&6
16012 if test "$cross_compiling" = yes; then :
16013 ac_cv_func_mmap_fixed_mapped
=no
16015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16017 $ac_includes_default
16018 /* malloc might have been renamed as rpl_malloc. */
16021 /* Thanks to Mike Haertel and Jim Avera for this test.
16022 Here is a matrix of mmap possibilities:
16023 mmap private not fixed
16024 mmap private fixed at somewhere currently unmapped
16025 mmap private fixed at somewhere already mapped
16026 mmap shared not fixed
16027 mmap shared fixed at somewhere currently unmapped
16028 mmap shared fixed at somewhere already mapped
16029 For private mappings, we should verify that changes cannot be read()
16030 back from the file, nor mmap's back from the file at a different
16031 address. (There have been systems where private was not correctly
16032 implemented like the infamous i386 svr4.0, and systems where the
16033 VM page cache was not coherent with the file system buffer cache
16034 like early versions of FreeBSD and possibly contemporary NetBSD.)
16035 For shared mappings, we should conversely verify that changes get
16036 propagated back to all the places they're supposed to be.
16038 Grep wants private fixed already mapped.
16039 The main things grep needs to know about mmap are:
16040 * does it exist and is it safe to write into the mmap'd area
16041 * how to use it (BSD variants) */
16044 #include <sys/mman.h>
16046 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
16050 /* This mess was copied from the GNU getpagesize.h. */
16051 #ifndef HAVE_GETPAGESIZE
16052 # ifdef _SC_PAGESIZE
16053 # define getpagesize() sysconf(_SC_PAGESIZE)
16054 # else /* no _SC_PAGESIZE */
16055 # ifdef HAVE_SYS_PARAM_H
16056 # include <sys/param.h>
16057 # ifdef EXEC_PAGESIZE
16058 # define getpagesize() EXEC_PAGESIZE
16059 # else /* no EXEC_PAGESIZE */
16061 # define getpagesize() NBPG * CLSIZE
16064 # endif /* no CLSIZE */
16065 # else /* no NBPG */
16067 # define getpagesize() NBPC
16068 # else /* no NBPC */
16070 # define getpagesize() PAGESIZE
16071 # endif /* PAGESIZE */
16072 # endif /* no NBPC */
16073 # endif /* no NBPG */
16074 # endif /* no EXEC_PAGESIZE */
16075 # else /* no HAVE_SYS_PARAM_H */
16076 # define getpagesize() 8192 /* punt totally */
16077 # endif /* no HAVE_SYS_PARAM_H */
16078 # endif /* no _SC_PAGESIZE */
16080 #endif /* no HAVE_GETPAGESIZE */
16085 char *data, *data2, *data3;
16086 const char *cdata2;
16090 pagesize = getpagesize ();
16092 /* First, make a file with some known garbage in it. */
16093 data = (char *) malloc (pagesize);
16096 for (i = 0; i < pagesize; ++i)
16097 *(data + i) = rand ();
16099 fd = creat ("conftest.mmap", 0600);
16102 if (write (fd, data, pagesize) != pagesize)
16106 /* Next, check that the tail of a page is zero-filled. File must have
16107 non-zero length, otherwise we risk SIGBUS for entire page. */
16108 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
16112 if (write (fd2, cdata2, 1) != 1)
16114 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
16115 if (data2 == MAP_FAILED)
16117 for (i = 0; i < pagesize; ++i)
16121 if (munmap (data2, pagesize))
16124 /* Next, try to mmap the file at a fixed address which already has
16125 something else allocated at it. If we can, also make sure that
16126 we see the same garbage. */
16127 fd = open ("conftest.mmap", O_RDWR);
16130 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16131 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16133 for (i = 0; i < pagesize; ++i)
16134 if (*(data + i) != *(data2 + i))
16137 /* Finally, make sure that changes to the mapped area do not
16138 percolate back to the file as seen by read(). (This is a bug on
16139 some variants of i386 svr4.0.) */
16140 for (i = 0; i < pagesize; ++i)
16141 *(data2 + i) = *(data2 + i) + 1;
16142 data3 = (char *) malloc (pagesize);
16145 if (read (fd, data3, pagesize) != pagesize)
16147 for (i = 0; i < pagesize; ++i)
16148 if (*(data + i) != *(data3 + i))
16154 if ac_fn_c_try_run
"$LINENO"; then :
16155 ac_cv_func_mmap_fixed_mapped
=yes
16157 ac_cv_func_mmap_fixed_mapped
=no
16159 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16160 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
16165 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
16166 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16168 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
16171 rm -f conftest.mmap conftest.txt
16173 ASAN_OPTIONS
="$save_ASAN_OPTIONS"
16175 # Needed for BFD capability checks.
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
16177 $as_echo_n "checking for library containing dlsym... " >&6; }
16178 if ${ac_cv_search_dlsym+:} false
; then :
16179 $as_echo_n "(cached) " >&6
16181 ac_func_search_save_LIBS
=$LIBS
16182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16183 /* end confdefs.h. */
16185 /* Override any GCC internal prototype to avoid an error.
16186 Use char because int might match the return type of a GCC
16187 builtin and then its argument prototype would still apply. */
16200 for ac_lib
in '' dl
; do
16201 if test -z "$ac_lib"; then
16202 ac_res
="none required"
16205 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16207 if ac_fn_c_try_link
"$LINENO"; then :
16208 ac_cv_search_dlsym
=$ac_res
16210 rm -f core conftest.err conftest.
$ac_objext \
16212 if ${ac_cv_search_dlsym+:} false
; then :
16216 if ${ac_cv_search_dlsym+:} false
; then :
16219 ac_cv_search_dlsym
=no
16221 rm conftest.
$ac_ext
16222 LIBS
=$ac_func_search_save_LIBS
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
16225 $as_echo "$ac_cv_search_dlsym" >&6; }
16226 ac_res
=$ac_cv_search_dlsym
16227 if test "$ac_res" != no
; then :
16228 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16233 # Use the system's zlib library.
16234 zlibdir
="-L\$(top_builddir)/../zlib"
16235 zlibinc
="-I\$(top_srcdir)/../zlib"
16237 # Check whether --with-system-zlib was given.
16238 if test "${with_system_zlib+set}" = set; then :
16239 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
16250 # Check whether --enable-libctf-hash-debugging was given.
16251 if test "${enable_libctf_hash_debugging+set}" = set; then :
16252 enableval
=$enable_libctf_hash_debugging;
16253 case "$enableval" in
16255 *) as_fn_error $?
"Argument to enable/disable libctf-hash-debugging must be yes or no" "$LINENO" 5 ;;
16259 enable_libctf_hash_debugging
=no
16263 if test "${enable_libctf_hash_debugging}" = yes; then
16265 $as_echo "#define ENABLE_LIBCTF_HASH_DEBUGGING 1" >>confdefs.h
16268 if test "${enable_libctf_hash_debugging}" = yes; then
16269 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
=
16270 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
='#'
16272 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
='#'
16273 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
=
16277 # Similar to GDB_AC_CHECK_BFD.
16279 OLD_LDFLAGS
=$LDFLAGS
16282 # Put the old CFLAGS/LDFLAGS last, in case the user's (C|LD)FLAGS
16283 # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We
16284 # always want our bfd.
16285 CC
="./libtool --quiet --mode=link $OLD_CC"
16286 CFLAGS
="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
16287 LDFLAGS
="-L../bfd -L../libiberty $LDFLAGS"
16288 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
16289 LIBS
="-lbfd -liberty $intl $LIBS"
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5
16291 $as_echo_n "checking for ELF support in BFD... " >&6; }
16292 if ${ac_cv_libctf_bfd_elf+:} false
; then :
16293 $as_echo_n "(cached) " >&6
16295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16296 /* end confdefs.h. */
16297 #include <stdlib.h>
16298 #include <string.h>
16300 #include "elf-bfd.h"
16304 (void) bfd_section_from_elf_index (NULL, 0);
16310 if ac_fn_c_try_link
"$LINENO"; then :
16311 ac_cv_libctf_bfd_elf
=yes
16313 ac_cv_libctf_bfd_elf
=no
16315 rm -f core conftest.err conftest.
$ac_objext \
16316 conftest
$ac_exeext conftest.
$ac_ext
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_bfd_elf" >&5
16319 $as_echo "$ac_cv_libctf_bfd_elf" >&6; }
16321 LDFLAGS
=$OLD_LDFLAGS
16325 if test $ac_cv_libctf_bfd_elf = yes; then
16327 $as_echo "#define HAVE_BFD_ELF 1" >>confdefs.h
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16332 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16333 if ${ac_cv_c_bigendian+:} false
; then :
16334 $as_echo_n "(cached) " >&6
16336 ac_cv_c_bigendian
=unknown
16337 # See if we're dealing with a universal compiler.
16338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h. */
16340 #ifndef __APPLE_CC__
16341 not a universal capable compiler
16346 if ac_fn_c_try_compile
"$LINENO"; then :
16348 # Check for potential -arch flags. It is not universal unless
16349 # there are at least two -arch flags with different values.
16352 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16353 if test -n "$ac_prev"; then
16355 i?
86 | x86_64 | ppc | ppc64
)
16356 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
16359 ac_cv_c_bigendian
=universal
16365 elif test "x$ac_word" = "x-arch"; then
16370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16371 if test $ac_cv_c_bigendian = unknown
; then
16372 # See if sys/param.h defines the BYTE_ORDER macro.
16373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16375 #include <sys/types.h>
16376 #include <sys/param.h>
16381 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16382 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16384 bogus endian macros
16391 if ac_fn_c_try_compile
"$LINENO"; then :
16392 # It does; now see whether it defined to BIG_ENDIAN or not.
16393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16395 #include <sys/types.h>
16396 #include <sys/param.h>
16401 #if BYTE_ORDER != BIG_ENDIAN
16409 if ac_fn_c_try_compile
"$LINENO"; then :
16410 ac_cv_c_bigendian
=yes
16412 ac_cv_c_bigendian
=no
16414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16418 if test $ac_cv_c_bigendian = unknown
; then
16419 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #include <limits.h>
16427 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16428 bogus endian macros
16435 if ac_fn_c_try_compile
"$LINENO"; then :
16436 # It does; now see whether it defined to _BIG_ENDIAN or not.
16437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16438 /* end confdefs.h. */
16439 #include <limits.h>
16444 #ifndef _BIG_ENDIAN
16452 if ac_fn_c_try_compile
"$LINENO"; then :
16453 ac_cv_c_bigendian
=yes
16455 ac_cv_c_bigendian
=no
16457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16461 if test $ac_cv_c_bigendian = unknown
; then
16462 # Compile a test program.
16463 if test "$cross_compiling" = yes; then :
16464 # Try to guess by grepping values from an object file.
16465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h. */
16467 short int ascii_mm[] =
16468 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16469 short int ascii_ii[] =
16470 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16471 int use_ascii (int i) {
16472 return ascii_mm[i] + ascii_ii[i];
16474 short int ebcdic_ii[] =
16475 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16476 short int ebcdic_mm[] =
16477 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16478 int use_ebcdic (int i) {
16479 return ebcdic_mm[i] + ebcdic_ii[i];
16486 return use_ascii (foo) == use_ebcdic (foo);
16491 if ac_fn_c_try_compile
"$LINENO"; then :
16492 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
16493 ac_cv_c_bigendian
=yes
16495 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
16496 if test "$ac_cv_c_bigendian" = unknown
; then
16497 ac_cv_c_bigendian
=no
16499 # finding both strings is unlikely to happen, but who knows?
16500 ac_cv_c_bigendian
=unknown
16504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16507 /* end confdefs.h. */
16508 $ac_includes_default
16513 /* Are we little or big endian? From Harbison&Steele. */
16517 char c[sizeof (long int)];
16520 return u.c[sizeof (long int) - 1] == 1;
16526 if ac_fn_c_try_run
"$LINENO"; then :
16527 ac_cv_c_bigendian
=no
16529 ac_cv_c_bigendian
=yes
16531 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16532 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16538 $as_echo "$ac_cv_c_bigendian" >&6; }
16539 case $ac_cv_c_bigendian in #(
16541 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16547 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16551 as_fn_error $?
"unknown endianness
16552 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16555 for ac_header
in byteswap.h endian.h valgrind
/valgrind.h
16557 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16558 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16559 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16560 cat >>confdefs.h
<<_ACEOF
16561 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16568 for ac_func
in pread
16570 ac_fn_c_check_func
"$LINENO" "pread" "ac_cv_func_pread"
16571 if test "x$ac_cv_func_pread" = xyes
; then :
16572 cat >>confdefs.h
<<_ACEOF
16573 #define HAVE_PREAD 1
16580 ac_fn_c_check_decl
"$LINENO" "bswap_16" "ac_cv_have_decl_bswap_16" "#include <byteswap.h>
16582 if test "x$ac_cv_have_decl_bswap_16" = xyes
; then :
16588 cat >>confdefs.h
<<_ACEOF
16589 #define HAVE_DECL_BSWAP_16 $ac_have_decl
16591 ac_fn_c_check_decl
"$LINENO" "bswap_32" "ac_cv_have_decl_bswap_32" "#include <byteswap.h>
16593 if test "x$ac_cv_have_decl_bswap_32" = xyes
; then :
16599 cat >>confdefs.h
<<_ACEOF
16600 #define HAVE_DECL_BSWAP_32 $ac_have_decl
16602 ac_fn_c_check_decl
"$LINENO" "bswap_64" "ac_cv_have_decl_bswap_64" "#include <byteswap.h>
16604 if test "x$ac_cv_have_decl_bswap_64" = xyes
; then :
16610 cat >>confdefs.h
<<_ACEOF
16611 #define HAVE_DECL_BSWAP_64 $ac_have_decl
16614 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
16615 if test "x$ac_cv_have_decl_asprintf" = xyes
; then :
16621 cat >>confdefs.h
<<_ACEOF
16622 #define HAVE_DECL_ASPRINTF $ac_have_decl
16624 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
16625 if test "x$ac_cv_have_decl_vasprintf" = xyes
; then :
16631 cat >>confdefs.h
<<_ACEOF
16632 #define HAVE_DECL_VASPRINTF $ac_have_decl
16634 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
16635 if test "x$ac_cv_have_decl_stpcpy" = xyes
; then :
16641 cat >>confdefs.h
<<_ACEOF
16642 #define HAVE_DECL_STPCPY $ac_have_decl
16649 for ac_func
in $ac_func_list
16651 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16652 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16653 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16654 cat >>confdefs.h
<<_ACEOF
16655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16664 if test $ac_cv_func_qsort_r = yes; then
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qsort_r signature" >&5
16666 $as_echo_n "checking for qsort_r signature... " >&6; }
16667 if ${ac_cv_libctf_qsort_r_signature+:} false
; then :
16668 $as_echo_n "(cached) " >&6
16670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16673 #include <stdlib.h>
16674 void qsort_r (void *, size_t, size_t,
16675 int (*) (void const *, void const *,
16678 void (*p) (void *, size_t, size_t,
16679 int (*) (void const *, void const *,
16691 if ac_fn_c_try_link
"$LINENO"; then :
16692 ac_cv_libctf_qsort_r_signature
=GNU
16694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16697 #include <stdlib.h>
16698 void qsort_r (void *, size_t, size_t, void *,
16702 void (*p) (void *, size_t, size_t, void *,
16703 int (*) (void *, void const *,
16704 void const *)) = qsort_r;
16714 if ac_fn_c_try_link
"$LINENO"; then :
16715 ac_cv_libctf_qsort_r_signature
=BSD
16717 ac_cv_libctf_qsort_r_signature
=unknown
16719 rm -f core conftest.err conftest.
$ac_objext \
16720 conftest
$ac_exeext conftest.
$ac_ext
16722 rm -f core conftest.err conftest.
$ac_objext \
16723 conftest
$ac_exeext conftest.
$ac_ext
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_qsort_r_signature" >&5
16726 $as_echo "$ac_cv_libctf_qsort_r_signature" >&6; }
16729 case x
$ac_cv_libctf_qsort_r_signature in
16731 $as_echo "#define HAVE_QSORT_R_ARG_LAST 1" >>confdefs.h
16734 $as_echo "#define HAVE_QSORT_R_COMPAR_LAST 1" >>confdefs.h
16736 *) ac_cv_libctf_qsort_r_signature
=unknown
;;
16739 if test "${ac_cv_libctf_qsort_r_signature}" = unknown
; then
16740 NEED_CTF_QSORT_R_TRUE
=
16741 NEED_CTF_QSORT_R_FALSE
='#'
16743 NEED_CTF_QSORT_R_TRUE
='#'
16744 NEED_CTF_QSORT_R_FALSE
=
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
16749 $as_echo_n "checking for O_CLOEXEC... " >&6; }
16750 if ${ac_cv_libctf_macro_O_CLOEXEC+:} false
; then :
16751 $as_echo_n "(cached) " >&6
16753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16768 if ac_fn_c_try_link
"$LINENO"; then :
16769 ac_cv_libctf_macro_O_CLOEXEC
=yes
16771 ac_cv_libctf_macro_O_CLOEXEC
=no
16773 rm -f core conftest.err conftest.
$ac_objext \
16774 conftest
$ac_exeext conftest.
$ac_ext
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_macro_O_CLOEXEC" >&5
16777 $as_echo "$ac_cv_libctf_macro_O_CLOEXEC" >&6; }
16779 if test $ac_cv_libctf_macro_O_CLOEXEC = yes; then
16781 $as_echo "#define HAVE_O_CLOEXEC 1" >>confdefs.h
16787 for ac_prog
in makeinfo
16789 # Extract the first word of "$ac_prog", so it can be a program name with args.
16790 set dummy
$ac_prog; ac_word
=$2
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16792 $as_echo_n "checking for $ac_word... " >&6; }
16793 if ${ac_cv_prog_MAKEINFO+:} false
; then :
16794 $as_echo_n "(cached) " >&6
16796 if test -n "$MAKEINFO"; then
16797 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
16799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16800 for as_dir
in $PATH
16803 test -z "$as_dir" && as_dir
=.
16804 for ac_exec_ext
in '' $ac_executable_extensions; do
16805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16806 ac_cv_prog_MAKEINFO
="$ac_prog"
16807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16816 MAKEINFO
=$ac_cv_prog_MAKEINFO
16817 if test -n "$MAKEINFO"; then
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
16819 $as_echo "$MAKEINFO" >&6; }
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16822 $as_echo "no" >&6; }
16826 test -n "$MAKEINFO" && break
16828 test -n "$MAKEINFO" || MAKEINFO
="$MISSING makeinfo"
16830 case " $build_configdirs " in
16831 *" texinfo "*) MAKEINFO
='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
16834 # We require texinfo to be 6.3 or later, for a working synindex
16835 # and validatemenus: otherwise we fall back to /bin/true.
16836 if ${MAKEINFO} --version \
16837 |
egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9]|[1-6][0-9])' >/dev
/null
2>&1; then
16844 if test -n "$makeinfo_too_old"; then
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16846 *** Makeinfo is too old. Info documentation will not be built." >&5
16847 $as_echo "$as_me: WARNING:
16848 *** Makeinfo is too old. Info documentation will not be built." >&2;}
16851 if test "${build_info}" = yes; then
16853 BUILD_INFO_FALSE
='#'
16855 BUILD_INFO_TRUE
='#'
16860 CTF_LIBADD
="-L`pwd`/../libiberty -liberty"
16863 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
16864 if test "$enable_shared" = "yes"; then
16865 # When building a shared libctf, link against the pic version of libiberty
16866 # so that apps that use libctf won't need libiberty just to satisfy any
16867 # libctf references. We can't do that if a pic libiberty is unavailable
16868 # since including non-pic # code would insert text relocations into libctf.
16869 # Note that linking against libbfd as we do here, which is itself linked
16870 # against libiberty, may not satisfy all the libctf libiberty references
16871 # since libbfd may not pull in the entirety of libiberty.
16872 # Also, jam libintl into the right place in all of this: after libiberty,
16873 # which uses it, but before -lcygwin, which it uses.
16874 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
16875 if test -n "$x"; then
16876 CTF_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
16880 CTF_LIBADD
="$CTF_LIBADD $LTLIBINTL"
16882 if test "$enable_shared" = "yes"; then
16884 # More hacks to build DLLs on Windows.
16886 SHARED_LDFLAGS
="-no-undefined"
16887 CTF_LIBADD
="$CTF_LIBADD -lcygwin"
16894 # Extract the first word of "expect", so it can be a program name with args.
16895 set dummy expect
; ac_word
=$2
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16897 $as_echo_n "checking for $ac_word... " >&6; }
16898 if ${ac_cv_path_EXPECT+:} false
; then :
16899 $as_echo_n "(cached) " >&6
16903 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
16906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16907 for as_dir
in $PATH
16910 test -z "$as_dir" && as_dir
=.
16911 for ac_exec_ext
in '' $ac_executable_extensions; do
16912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16913 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
16914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16924 EXPECT
=$ac_cv_path_EXPECT
16925 if test -n "$EXPECT"; then
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
16927 $as_echo "$EXPECT" >&6; }
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16930 $as_echo "no" >&6; }
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl supporting try/catch" >&5
16935 $as_echo_n "checking for Tcl supporting try/catch... " >&6; }
16936 if ${ac_cv_libctf_tcl_try+:} false
; then :
16937 $as_echo_n "(cached) " >&6
16939 ac_cv_libctf_tcl_try
=`if test -z $EXPECT; then echo no; else $EXPECT << EOF
16940 if [llength [info commands try]] then { puts yes } else { puts no }
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_tcl_try" >&5
16946 $as_echo "$ac_cv_libctf_tcl_try" >&6; }
16949 if test "${ac_cv_libctf_tcl_try}" = "yes"; then
16954 # Use a version script, if possible, or an -export-symbols-regex otherwise.
16955 # First figure out the version script flag: then massage the script, if
16957 decommented_version_script
=
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker versioning flags" >&5
16960 $as_echo_n "checking for linker versioning flags... " >&6; }
16961 if ${ac_cv_libctf_version_script+:} false
; then :
16962 $as_echo_n "(cached) " >&6
16964 echo 'FOO { global: mai*; local: ctf_fo*; };' > conftest.ver
16965 old_LDFLAGS
="$LDFLAGS"
16966 old_CFLAGS
="$CFLAGS"
16967 LDFLAGS
="$LDFLAGS -shared -Wl,--version-script=conftest.ver"
16968 CFLAGS
="$CFLAGS -fPIC"
16969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 int ctf_foo (void) { return 0; }
16972 int main (void) { return ctf_foo(); }
16974 if ac_fn_c_try_link
"$LINENO"; then :
16975 ac_cv_libctf_version_script
="-Wl,--version-script"
16977 rm -f core conftest.err conftest.
$ac_objext \
16978 conftest
$ac_exeext conftest.
$ac_ext
16979 LDFLAGS
="$old_LDFLAGS"
16981 if test -z "$ac_cv_libctf_version_script"; then
16982 LDFLAGS
="$LDFLAGS -shared -Wl,-B,local -Wl,-z,gnu-version-script=conftest.ver"
16983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 int ctf_foo (void) { return 0; }
16986 int main (void) { return ctf_foo(); }
16988 if ac_fn_c_try_link
"$LINENO"; then :
16989 ac_cv_libctf_version_script
="-Wl,-B,local -Wl,-z,gnu-version-script"
16990 decommented_version_script
=t
16992 rm -f core conftest.err conftest.
$ac_objext \
16993 conftest
$ac_exeext conftest.
$ac_ext
16994 LDFLAGS
="$old_LDFLAGS"
16996 CFLAGS
="$old_CFLAGS"
16998 if test -z "$ac_cv_libctf_version_script"; then
16999 ac_cv_libctf_version_script
='-export-symbols-regex ctf_.*'
17000 no_version_script
=t
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_version_script" >&5
17005 $as_echo "$ac_cv_libctf_version_script" >&6; }
17007 # Ensure that no symbols exist in the version script for libctf-nobfd.so
17008 # that do not exist in the shared library itself, since some linkers (Solaris)
17009 # add such symbols with type NOTYPE, and others (LLVM) complain loudly
17010 # and fail to link.
17011 grep -v 'libctf only' $srcdir/libctf.ver
> libctf-nobfd.ver
17013 if test -n "$decommented_version_script"; then
17014 # Solaris's version scripts use shell-style comments rather than the C-style
17015 # used by GNU ld. Use cpp to strip the comments out. (cpp exists under this
17016 # name on all platforms that support ld -z gnu-version-script.)
17017 /lib
/cpp
< $srcdir/libctf.ver
> libctf-decommented.ver
17018 /lib
/cpp
< $srcdir/libctf-nobfd.ver
> libctf-nobfd-decommented.ver
17019 VERSION_FLAGS
="$ac_cv_libctf_version_script='libctf-decommented.ver'"
17020 VERSION_FLAGS_NOBFD
="$ac_cv_libctf_version_script='libctf-nobfd-decommented.ver'"
17021 elif test -z "$no_version_script"; then
17022 VERSION_FLAGS
="$ac_cv_libctf_version_script='$srcdir/libctf.ver'"
17023 VERSION_FLAGS_NOBFD
="$ac_cv_libctf_version_script='libctf-nobfd.ver'"
17025 VERSION_FLAGS
="$ac_cv_libctf_version_script"
17026 VERSION_FLAGS_NOBFD
="$ac_cv_libctf_version_script"
17031 ac_config_files
="$ac_config_files Makefile"
17033 ac_config_headers
="$ac_config_headers config.h"
17035 cat >confcache
<<\_ACEOF
17036 # This file is a shell script that caches the results of configure
17037 # tests run on this system so they can be shared between configure
17038 # scripts and configure runs, see configure's option --config-cache.
17039 # It is not useful on other systems. If it contains results you don't
17040 # want to keep, you may remove or edit it.
17042 # config.status only pays attention to the cache file if you give it
17043 # the --recheck option to rerun configure.
17045 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17046 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17047 # following values.
17051 # The following way of writing the cache mishandles newlines in values,
17052 # but we know of no workaround that is simple, portable, and efficient.
17053 # So, we kill variables containing newlines.
17054 # Ultrix sh set writes to stderr and can't be redirected directly,
17055 # and sets the high bit in the cache file unless we assign to the vars.
17057 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17058 eval ac_val
=\$
$ac_var
17062 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17063 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17066 _ | IFS | as_nl
) ;; #(
17067 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17068 *) { eval $ac_var=; unset $ac_var;} ;;
17074 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17075 *${as_nl}ac_space
=\
*)
17076 # `set' does not quote correctly, so add quotes: double-quote
17077 # substitution turns \\\\ into \\, and sed turns \\ into \.
17080 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17083 # `set' quotes correctly as required by POSIX, so do not add quotes.
17084 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17093 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17095 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17097 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17098 if test -w "$cache_file"; then
17099 if test "x$cache_file" != "x/dev/null"; then
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17101 $as_echo "$as_me: updating cache $cache_file" >&6;}
17102 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17103 cat confcache
>"$cache_file"
17105 case $cache_file in #(
17107 mv -f confcache
"$cache_file"$$
&&
17108 mv -f "$cache_file"$$
"$cache_file" ;; #(
17110 mv -f confcache
"$cache_file" ;;
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17116 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17121 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17122 # Let make expand exec_prefix.
17123 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17125 DEFS
=-DHAVE_CONFIG_H
17130 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17131 # 1. Remove the extension, and $U if already installed.
17132 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17133 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17134 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17135 # will be set to the directory where LIBOBJS objects are built.
17136 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17137 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17139 LIBOBJS
=$ac_libobjs
17141 LTLIBOBJS
=$ac_ltlibobjs
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17145 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17146 if test -n "$am_sleep_pid"; then
17147 # Hide warnings about reused PIDs.
17148 wait $am_sleep_pid 2>/dev
/null
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17151 $as_echo "done" >&6; }
17152 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17153 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17156 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17157 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17160 if test -n "$EXEEXT"; then
17162 am__EXEEXT_FALSE
='#'
17164 am__EXEEXT_TRUE
='#'
17168 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17169 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17172 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
17173 as_fn_error $?
"conditional \"INSTALL_LIBBFD\" was never defined.
17174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17176 if test -z "${ENABLE_LIBCTF_HASH_DEBUGGING_TRUE}" && test -z "${ENABLE_LIBCTF_HASH_DEBUGGING_FALSE}"; then
17177 as_fn_error $?
"conditional \"ENABLE_LIBCTF_HASH_DEBUGGING\" was never defined.
17178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17181 if test -z "${NEED_CTF_QSORT_R_TRUE}" && test -z "${NEED_CTF_QSORT_R_FALSE}"; then
17182 as_fn_error $?
"conditional \"NEED_CTF_QSORT_R\" was never defined.
17183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17185 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
17186 as_fn_error $?
"conditional \"BUILD_INFO\" was never defined.
17187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17190 : "${CONFIG_STATUS=./config.status}"
17192 ac_clean_files_save
=$ac_clean_files
17193 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17195 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17197 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17199 # Generated by $as_me.
17200 # Run this file to recreate the current configuration.
17201 # Compiler output produced by configure, useful for debugging
17202 # configure, is in config.log if it exists.
17205 ac_cs_recheck=false
17208 SHELL=\${CONFIG_SHELL-$SHELL}
17211 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17212 ## -------------------- ##
17213 ## M4sh Initialization. ##
17214 ## -------------------- ##
17216 # Be more Bourne compatible
17217 DUALCASE
=1; export DUALCASE
# for MKS sh
17218 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17221 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17222 # is contrary to our usage. Disable this feature.
17223 alias -g '${1+"$@"}'='"$@"'
17224 setopt NO_GLOB_SUBST
17226 case `(set -o) 2>/dev/null` in #(
17238 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17239 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17240 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17241 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17242 # Prefer a ksh shell builtin over an external printf program on Solaris,
17243 # but without wasting forks for bash or zsh.
17244 if test -z "$BASH_VERSION$ZSH_VERSION" \
17245 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17246 as_echo='print
-r --'
17247 as_echo_n='print
-rn --'
17248 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17249 as_echo='printf %s
\n'
17250 as_echo_n='printf %s
'
17252 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17253 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17254 as_echo_n='/usr
/ucb
/echo -n'
17256 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17257 as_echo_n_body='eval
17261 expr "X$arg" : "X\\(.*\\)$as_nl";
17262 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17264 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17266 export as_echo_n_body
17267 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17269 export as_echo_body
17270 as_echo='sh
-c $as_echo_body as_echo
'
17273 # The user is always right.
17274 if test "${PATH_SEPARATOR+set}" != set; then
17276 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17277 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17284 # We need space, tab and new line, in precisely that order. Quoting is
17285 # there to prevent editors from complaining about space-tab.
17286 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17287 # splitting by setting IFS to empty value.)
17290 # Find who we are. Look in the path if we contain no directory separator.
17293 *[\\/]* ) as_myself=$0 ;;
17294 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17295 for as_dir in $PATH
17298 test -z "$as_dir" && as_dir=.
17299 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17305 # We did not find ourselves, most probably we were run as `sh COMMAND'
17306 # in which case we are not to be found in the path.
17307 if test "x$as_myself" = x
; then
17310 if test ! -f "$as_myself"; then
17311 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17315 # Unset variables that we do not need and which cause bugs (e.g. in
17316 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17317 # suppresses any "Segmentation fault" message there. '((' could
17318 # trigger a bug in pdksh 5.2.14.
17319 for as_var
in BASH_ENV ENV MAIL MAILPATH
17320 do eval test x\
${$as_var+set} = xset \
17321 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17334 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17337 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17338 # ----------------------------------------
17339 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17340 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17341 # script with STATUS, using 1 if that was 0.
17344 as_status
=$1; test $as_status -eq 0 && as_status
=1
17346 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17347 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17349 $as_echo "$as_me: error: $2" >&2
17350 as_fn_exit
$as_status
17354 # as_fn_set_status STATUS
17355 # -----------------------
17356 # Set $? to STATUS, without forking.
17357 as_fn_set_status
()
17360 } # as_fn_set_status
17362 # as_fn_exit STATUS
17363 # -----------------
17364 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17368 as_fn_set_status
$1
17374 # Portably unset VAR.
17377 { eval $1=; unset $1;}
17379 as_unset
=as_fn_unset
17380 # as_fn_append VAR VALUE
17381 # ----------------------
17382 # Append the text in VALUE to the end of the definition contained in VAR. Take
17383 # advantage of any shell optimizations that allow amortized linear growth over
17384 # repeated appends, instead of the typical quadratic growth present in naive
17386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17387 eval 'as_fn_append ()
17398 # as_fn_arith ARG...
17399 # ------------------
17400 # Perform arithmetic evaluation on the ARGs, and store the result in the
17401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17402 # must be portable across $(()) and expr.
17403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17404 eval 'as_fn_arith ()
17411 as_val
=`expr "$@" || test $? -eq 1`
17416 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17417 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17423 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17424 as_basename
=basename
17429 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17435 as_me
=`$as_basename -- "$0" ||
17436 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17437 X"$0" : 'X\(//\)$' \| \
17438 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17440 sed '/^.*\/\([^/][^/]*\)\/*$/{
17454 # Avoid depending upon Character Ranges.
17455 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17456 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17457 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17458 as_cr_digits
='0123456789'
17459 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17461 ECHO_C
= ECHO_N
= ECHO_T
=
17462 case `echo -n x` in #(((((
17464 case `echo 'xy\c'` in
17465 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17467 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17474 rm -f conf$$ conf$$.exe conf$$.
file
17475 if test -d conf$$.dir
; then
17476 rm -f conf$$.dir
/conf$$.
file
17479 mkdir conf$$.dir
2>/dev
/null
17481 if (echo >conf$$.
file) 2>/dev
/null
; then
17482 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17484 # ... but there are two gotchas:
17485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17487 # In both cases, we have to default to `cp -pR'.
17488 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17490 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17498 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17499 rmdir conf$$.dir
2>/dev
/null
17504 # Create "$as_dir" as a directory, including parents if necessary.
17509 -*) as_dir
=.
/$as_dir;;
17511 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17515 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17516 *) as_qdir
=$as_dir;;
17518 as_dirs
="'$as_qdir' $as_dirs"
17519 as_dir
=`$as_dirname -- "$as_dir" ||
17520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17521 X"$as_dir" : 'X\(//\)[^/]' \| \
17522 X"$as_dir" : 'X\(//\)$' \| \
17523 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17524 $as_echo X"$as_dir" |
17525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17529 /^X\(\/\/\)[^/].*/{
17542 test -d "$as_dir" && break
17544 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17545 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17549 if mkdir
-p .
2>/dev
/null
; then
17550 as_mkdir_p
='mkdir -p "$as_dir"'
17552 test -d .
/-p && rmdir .
/-p
17557 # as_fn_executable_p FILE
17558 # -----------------------
17559 # Test if FILE is an executable regular file.
17560 as_fn_executable_p
()
17562 test -f "$1" && test -x "$1"
17563 } # as_fn_executable_p
17564 as_test_x
='test -x'
17565 as_executable_p
=as_fn_executable_p
17567 # Sed expression to map a string onto a valid CPP name.
17568 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17570 # Sed expression to map a string onto a valid variable name.
17571 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17575 ## ----------------------------------- ##
17576 ## Main body of $CONFIG_STATUS script. ##
17577 ## ----------------------------------- ##
17579 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17582 # Save the log message, to keep $0 and so on meaningful, and to
17583 # report actual input values of CONFIG_FILES etc. instead of their
17584 # values after options handling.
17586 This file was extended by libctf $as_me 1.2.0, which was
17587 generated by GNU Autoconf 2.69. Invocation command line was
17589 CONFIG_FILES = $CONFIG_FILES
17590 CONFIG_HEADERS = $CONFIG_HEADERS
17591 CONFIG_LINKS = $CONFIG_LINKS
17592 CONFIG_COMMANDS = $CONFIG_COMMANDS
17595 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17600 case $ac_config_files in *"
17601 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17604 case $ac_config_headers in *"
17605 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17610 # Files that config.status was made for.
17611 config_files="$ac_config_files"
17612 config_headers="$ac_config_headers"
17613 config_commands="$ac_config_commands"
17617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17619 \`$as_me' instantiates files and other configuration actions
17620 from templates according to the current configuration. Unless the files
17621 and actions are specified as TAGs, all are instantiated by default.
17623 Usage: $0 [OPTION]... [TAG]...
17625 -h, --help print this help, then exit
17626 -V, --version print version number and configuration settings, then exit
17627 --config print configuration, then exit
17628 -q, --quiet, --silent
17629 do not print progress messages
17630 -d, --debug don't remove temporary files
17631 --recheck update $as_me by reconfiguring in the same conditions
17632 --file=FILE[:TEMPLATE]
17633 instantiate the configuration file FILE
17634 --header=FILE[:TEMPLATE]
17635 instantiate the configuration header FILE
17637 Configuration files:
17640 Configuration headers:
17643 Configuration commands:
17646 Report bugs to the package provider."
17649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17650 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17652 libctf config.status 1.2.0
17653 configured by $0, generated by GNU Autoconf 2.69,
17654 with options \\"\$ac_cs_config\\"
17656 Copyright (C) 2012 Free Software Foundation, Inc.
17657 This config.status script is free software; the Free Software Foundation
17658 gives unlimited permission to copy, distribute and modify it."
17665 test -n "\$AWK" || AWK=awk
17668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17669 # The default lists apply if the user does not specify any file.
17675 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17676 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17680 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17692 # Handling of the options.
17693 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17695 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17696 $as_echo "$ac_cs_version"; exit ;;
17697 --config |
--confi |
--conf |
--con |
--co |
--c )
17698 $as_echo "$ac_cs_config"; exit ;;
17699 --debug |
--debu |
--deb |
--de |
--d |
-d )
17701 --file |
--fil |
--fi |
--f )
17704 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17705 '') as_fn_error $?
"missing file argument" ;;
17707 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17708 ac_need_defaults
=false
;;
17709 --header |
--heade |
--head |
--hea )
17712 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17714 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17715 ac_need_defaults
=false
;;
17717 # Conflict between --help and --header
17718 as_fn_error $?
"ambiguous option: \`$1'
17719 Try \`$0 --help' for more information.";;
17720 --help |
--hel |
-h )
17721 $as_echo "$ac_cs_usage"; exit ;;
17722 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17723 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17726 # This is an error.
17727 -*) as_fn_error $?
"unrecognized option: \`$1'
17728 Try \`$0 --help' for more information." ;;
17730 *) as_fn_append ac_config_targets
" $1"
17731 ac_need_defaults
=false
;;
17737 ac_configure_extra_args
=
17739 if $ac_cs_silent; then
17741 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17746 if \$ac_cs_recheck; then
17747 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17749 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17750 CONFIG_SHELL='$SHELL'
17751 export CONFIG_SHELL
17756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17760 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17761 ## Running $as_me. ##
17767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17771 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17772 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17773 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
17775 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17776 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17777 LINGUAS="${LINGUAS-%UNSET%}"
17781 # The HP-UX ksh and POSIX shell print the target directory to stdout
17782 # if CDPATH is set.
17783 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17785 sed_quote_subst='$sed_quote_subst'
17786 double_quote_subst='$double_quote_subst'
17787 delay_variable_subst='$delay_variable_subst'
17788 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17789 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17790 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17791 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17792 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17793 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17794 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17795 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17796 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17797 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17798 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17799 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17800 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17801 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17802 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17803 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17804 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17805 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17806 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17807 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17808 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17809 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17810 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17811 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17812 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17813 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17814 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17815 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17816 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17817 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17818 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17819 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17820 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17821 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17822 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17823 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17824 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17825 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17826 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17827 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17828 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17829 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17830 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17831 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17832 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17833 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17834 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17835 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17836 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"`'
17837 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17838 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17839 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17840 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17841 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17842 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17843 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17844 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17845 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17846 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17847 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17848 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17849 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17850 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17851 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17852 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17853 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17854 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17855 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17856 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17857 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17858 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17859 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17860 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17861 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17862 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17863 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17864 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17865 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17866 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17867 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17868 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17869 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17870 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17871 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17872 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17873 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17874 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17875 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17876 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17877 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17878 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17879 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17880 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17881 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17882 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17883 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17884 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17885 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17886 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17887 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17888 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17889 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17890 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17891 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17892 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17893 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17894 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17895 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17896 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17897 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17898 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17899 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17900 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17901 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17902 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17903 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17904 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17905 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17906 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17907 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17910 LTCFLAGS='$LTCFLAGS'
17911 compiler='$compiler_DEFAULT'
17913 # A function that is used when there is no print builtin or printf.
17914 func_fallback_echo ()
17916 eval 'cat <<_LTECHO_EOF
17921 # Quote evaled strings.
17935 deplibs_check_method \
17944 lt_cv_sys_global_symbol_pipe \
17945 lt_cv_sys_global_symbol_to_cdecl \
17946 lt_cv_sys_global_symbol_to_c_name_address \
17947 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17948 lt_prog_compiler_no_builtin_flag \
17949 lt_prog_compiler_wl \
17950 lt_prog_compiler_pic \
17951 lt_prog_compiler_static \
17952 lt_cv_prog_compiler_c_o \
17960 export_dynamic_flag_spec \
17961 whole_archive_flag_spec \
17962 compiler_needs_object \
17964 allow_undefined_flag \
17965 no_undefined_flag \
17966 hardcode_libdir_flag_spec \
17967 hardcode_libdir_flag_spec_ld \
17968 hardcode_libdir_separator \
17973 variables_saved_for_relink \
17975 library_names_spec \
17977 install_override_mode \
17981 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17982 *[\\\\\\\`\\"\\\$]*)
17983 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17986 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17991 # Double-quote double-evaled strings.
17992 for var in reload_cmds \
17993 old_postinstall_cmds \
17994 old_postuninstall_cmds \
17996 extract_expsyms_cmds \
17997 old_archive_from_new_cmds \
17998 old_archive_from_expsyms_cmds \
18000 archive_expsym_cmds \
18002 module_expsym_cmds \
18003 export_symbols_cmds \
18006 postuninstall_cmds \
18008 sys_lib_search_path_spec \
18009 sys_lib_dlsearch_path_spec; do
18010 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18011 *[\\\\\\\`\\"\\\$]*)
18012 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18015 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18020 ac_aux_dir='$ac_aux_dir'
18021 xsi_shell='$xsi_shell'
18022 lt_shell_append='$lt_shell_append'
18024 # See if we are running on zsh, and set the options which allow our
18025 # commands through without removal of \ escapes INIT.
18026 if test -n "\${ZSH_VERSION+set}" ; then
18027 setopt NO_GLOB_SUBST
18033 TIMESTAMP='$TIMESTAMP'
18037 ac_aux_dir='$ac_aux_dir'
18043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18045 # Handling of arguments.
18046 for ac_config_target
in $ac_config_targets
18048 case $ac_config_target in
18049 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18050 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18051 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18052 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18053 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18055 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18060 # If the user did not use the arguments to specify the items to instantiate,
18061 # then the envvar interface is used. Set only those that are not.
18062 # We use the long form for the default assignment because of an extremely
18063 # bizarre bug on SunOS 4.1.3.
18064 if $ac_need_defaults; then
18065 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18066 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18067 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18070 # Have a temporary directory for convenience. Make it in the build tree
18071 # simply because there is no reason against having it here, and in addition,
18072 # creating and moving files from /tmp can sometimes cause problems.
18073 # Hook for its removal unless debugging.
18074 # Note that there is a small window in which the directory will not be cleaned:
18075 # after its creation but before its name has been assigned to `$tmp'.
18079 trap 'exit_status=$?
18080 : "${ac_tmp:=$tmp}"
18081 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18083 trap 'as_fn_exit 1' 1 2 13 15
18085 # Create a (secure) tmp directory for tmp files.
18088 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18092 tmp
=.
/conf$$
-$RANDOM
18093 (umask 077 && mkdir
"$tmp")
18094 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18097 # Set up the scripts for CONFIG_FILES section.
18098 # No need to generate them if there are no CONFIG_FILES.
18099 # This happens for instance with `./config.status config.h'.
18100 if test -n "$CONFIG_FILES"; then
18103 ac_cr
=`echo X | tr X '\015'`
18104 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18105 # But we know of no other shell where ac_cr would be empty at this
18106 # point, so we can use a bashism as a fallback.
18107 if test "x$ac_cr" = x
; then
18108 eval ac_cr
=\$
\'\\r
\'
18110 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18111 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18114 ac_cs_awk_cr
=$ac_cr
18117 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18122 echo "cat >conf$$subs.awk <<_ACEOF" &&
18123 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18125 } >conf$$subs.sh ||
18126 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18127 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18129 for ac_last_try in false false false false false :; do
18130 . ./conf$$subs.sh ||
18131 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18133 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18134 if test $ac_delim_n = $ac_delim_num; then
18136 elif $ac_last_try; then
18137 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18139 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18142 rm -f conf$$subs.sh
18144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18145 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18149 s/^/S["/; s
/!.
*/"]=/
18159 s/\(.\{148\}\)..*/\1/
18161 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18166 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18173 s/\(.\{148\}\)..*/\1/
18175 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18179 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18184 ' <conf$$subs.awk | sed '
18189 ' >>$CONFIG_STATUS || ac_write_fail=1
18190 rm -f conf$$subs.awk
18191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18193 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18194 for (key in S) S_is_set[key] = 1
18200 nfields = split(line, field, "@
")
18202 len = length(field[1])
18203 for (i = 2; i < nfields; i++) {
18205 keylen = length(key)
18206 if (S_is_set[key]) {
18208 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18209 len += length(value) + length(field[++i])
18220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18221 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18222 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18225 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18226 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18229 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18230 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18231 # trailing colons and then remove the whole line if VPATH becomes empty
18232 # (actually we leave an empty line to preserve line numbers).
18233 if test "x
$srcdir" = x.; then
18234 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18253 fi # test -n "$CONFIG_FILES"
18255 # Set up the scripts for CONFIG_HEADERS section.
18256 # No need to generate them if there are no CONFIG_HEADERS.
18257 # This happens for instance with `./config.status Makefile'.
18258 if test -n "$CONFIG_HEADERS"; then
18259 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18263 # Transform confdefs.h into an awk script `defines.awk', embedded as
18264 # here-document in config.status, that substitutes the proper values into
18265 # config.h.in to produce config.h.
18267 # Create a delimiter string that does not exist in confdefs.h, to ease
18268 # handling of long lines.
18270 for ac_last_try in false false :; do
18271 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18272 if test -z "$ac_tt"; then
18274 elif $ac_last_try; then
18275 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18277 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18281 # For the awk script, D is an array of macro values keyed by name,
18282 # likewise P contains macro parameters if any. Preserve backslash
18283 # newline sequences.
18285 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18287 s/.\{148\}/&'"$ac_delim"'/g
18290 s/^[ ]*#[ ]*define[ ][ ]*/ /
18297 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18299 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18303 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18304 D["\
1"]=" \
3\\\\\\n
"\\/p
18306 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18311 s/.\{148\}/&'"$ac_delim"'/g
18316 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18319 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18321 ' <confdefs.h | sed '
18322 s/'"$ac_delim"'/"\\\
18323 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18326 for (key in D) D_is_set[key] = 1
18329 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18331 split(line, arg, " ")
18332 if (arg[1] == "#") {
18336 defundef
= substr
(arg
[1], 2)
18339 split(mac1
, mac2
, "(") #)
18341 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18342 if (D_is_set
[macro
]) {
18343 # Preserve the white space surrounding the "#".
18344 print prefix
"define", macro P
[macro
] D
[macro
]
18347 # Replace #undef with comments. This is necessary, for example,
18348 # in the case of _POSIX_SOURCE, which is predefined and required
18349 # on some systems where configure will not decide to define it.
18350 if (defundef
== "undef") {
18351 print
"/*", prefix defundef
, macro
, "*/"
18359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18360 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18361 fi # test -n "$CONFIG_HEADERS"
18364 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18369 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18371 case $ac_mode$ac_tag in
18373 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18374 :[FH
]-) ac_tag
=-:-;;
18375 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18392 -) ac_f
="$ac_tmp/stdin";;
18393 *) # Look for the file first in the build tree, then in the source tree
18394 # (if the path is not absolute). The absolute path cannot be DOS-style,
18395 # because $ac_f cannot contain `:'.
18399 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18401 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18403 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18404 as_fn_append ac_file_inputs
" '$ac_f'"
18407 # Let's still pretend it is `configure' which instantiates (i.e., don't
18408 # use $as_me), people would be surprised to read:
18409 # /* config.h. Generated by config.status. */
18410 configure_input
='Generated from '`
18411 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18413 if test x
"$ac_file" != x-
; then
18414 configure_input
="$ac_file. $configure_input"
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18416 $as_echo "$as_me: creating $ac_file" >&6;}
18418 # Neutralize special characters interpreted by sed in replacement strings.
18419 case $configure_input in #(
18420 *\
&* |
*\|
* |
*\\* )
18421 ac_sed_conf_input
=`$as_echo "$configure_input" |
18422 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18423 *) ac_sed_conf_input
=$configure_input;;
18427 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18428 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18433 ac_dir
=`$as_dirname -- "$ac_file" ||
18434 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18435 X"$ac_file" : 'X\(//\)[^/]' \| \
18436 X"$ac_file" : 'X\(//\)$' \| \
18437 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18438 $as_echo X"$ac_file" |
18439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18443 /^X\(\/\/\)[^/].*/{
18456 as_dir
="$ac_dir"; as_fn_mkdir_p
18460 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18462 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18463 # A ".." for each directory in $ac_dir_suffix.
18464 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18465 case $ac_top_builddir_sub in
18466 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18467 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18470 ac_abs_top_builddir
=$ac_pwd
18471 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18472 # for backward compatibility:
18473 ac_top_builddir
=$ac_top_build_prefix
18476 .
) # We are building in place.
18478 ac_top_srcdir
=$ac_top_builddir_sub
18479 ac_abs_top_srcdir
=$ac_pwd ;;
18480 [\\/]* | ?
:[\\/]* ) # Absolute name.
18481 ac_srcdir
=$srcdir$ac_dir_suffix;
18482 ac_top_srcdir
=$srcdir
18483 ac_abs_top_srcdir
=$srcdir ;;
18484 *) # Relative name.
18485 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18486 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18487 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18489 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18499 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18500 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18502 ac_MKDIR_P
=$MKDIR_P
18504 [\\/$
]* | ?
:[\\/]* ) ;;
18505 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18510 # If the template does not know about datarootdir, expand it.
18511 # FIXME: This hack should be removed a few years after 2.60.
18512 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18523 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18524 *datarootdir
*) ac_datarootdir_seen
=yes;;
18525 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18527 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18530 ac_datarootdir_hack='
18531 s&@datadir@&$datadir&g
18532 s&@docdir@&$docdir&g
18533 s&@infodir@&$infodir&g
18534 s&@localedir@&$localedir&g
18535 s&@mandir@&$mandir&g
18536 s&\\\${datarootdir}&$datarootdir&g' ;;
18540 # Neutralize VPATH when `$srcdir' = `.'.
18541 # Shell code in configure.ac might set extrasub.
18542 # FIXME: do we really want to maintain this feature?
18543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18544 ac_sed_extra="$ac_vpsub
18547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18549 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18550 s|@configure_input@|
$ac_sed_conf_input|
;t t
18551 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18552 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18553 s
&@srcdir@
&$ac_srcdir&;t t
18554 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18555 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18556 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18557 s
&@builddir@
&$ac_builddir&;t t
18558 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18559 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18560 s
&@INSTALL@
&$ac_INSTALL&;t t
18561 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18562 $ac_datarootdir_hack
18564 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18565 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18567 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18568 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18569 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18570 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18572 which seems to be undefined. Please make sure it is defined" >&5
18573 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18574 which seems to be undefined. Please make sure it is defined" >&2;}
18576 rm -f "$ac_tmp/stdin"
18578 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18579 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18581 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18587 if test x"$ac_file" != x-; then
18589 $as_echo "/* $configure_input */" \
18590 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18591 } >"$ac_tmp/config.h" \
18592 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18593 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18595 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18598 mv "$ac_tmp/config.h" "$ac_file" \
18599 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18602 $as_echo "/* $configure_input */" \
18603 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18604 || as_fn_error $? "could not create -" "$LINENO" 5
18606 # Compute "$ac_file"'s index
in $config_headers.
18609 for _am_header
in $config_headers :; do
18610 case $_am_header in
18611 $_am_arg |
$_am_arg:* )
18614 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18617 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18618 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18619 X"$_am_arg" : 'X\(//\)[^/]' \| \
18620 X"$_am_arg" : 'X\(//\)$' \| \
18621 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18622 $as_echo X"$_am_arg" |
18623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18627 /^X\(\/\/\)[^/].*/{
18639 s/.*/./; q'`/stamp-h
$_am_stamp_count
18642 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18643 $as_echo "$as_me: executing $ac_file commands" >&6;}
18648 case $ac_file$ac_mode in
18649 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18650 # Older Autoconf quotes --file arguments for eval, but not when files
18651 # are listed without --file. Let's play safe and only enable the eval
18652 # if we detect the quoting.
18653 case $CONFIG_FILES in
18654 *\'*) eval set x
"$CONFIG_FILES" ;;
18655 *) set x
$CONFIG_FILES ;;
18660 # Strip MF so we end up with the name of the file.
18661 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18662 # Check whether this is an Automake generated Makefile or not.
18663 # We used to match only the files named 'Makefile.in', but
18664 # some people rename them; so instead we look at the file content.
18665 # Grep'ing the first line is not enough: some people post-process
18666 # each Makefile.in and add a new line on top of each file to say so.
18667 # Grep'ing the whole file is not good either: AIX grep has a line
18668 # limit of 2048, but all sed's we know have understand at least 4000.
18669 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18670 dirpart
=`$as_dirname -- "$mf" ||
18671 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18672 X"$mf" : 'X\(//\)[^/]' \| \
18673 X"$mf" : 'X\(//\)$' \| \
18674 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18680 /^X\(\/\/\)[^/].*/{
18696 # Extract the definition of DEPDIR, am__include, and am__quote
18697 # from the Makefile without running 'make'.
18698 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18699 test -z "$DEPDIR" && continue
18700 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18701 test -z "$am__include" && continue
18702 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18703 # Find all dependency output files, they are included files with
18704 # $(DEPDIR) in their names. We invoke sed twice because it is the
18705 # simplest approach to changing $(DEPDIR) to its actual value in the
18707 for file in `sed -n "
18708 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18709 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18710 # Make sure the directory exists.
18711 test -f "$dirpart/$file" && continue
18712 fdir
=`$as_dirname -- "$file" ||
18713 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18714 X"$file" : 'X\(//\)[^/]' \| \
18715 X"$file" : 'X\(//\)$' \| \
18716 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18717 $as_echo X"$file" |
18718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18722 /^X\(\/\/\)[^/].*/{
18735 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18736 # echo "creating $dirpart/$file"
18737 echo '# dummy' > "$dirpart/$file"
18743 for ac_file
in $CONFIG_FILES; do
18744 # Support "outfile[:infile[:infile...]]"
18746 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18748 # PO directories have a Makefile.in generated from Makefile.in.in.
18749 case "$ac_file" in */Makefile.
in)
18750 # Adjust a relative srcdir.
18751 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18752 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
18753 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18754 # In autoconf-2.13 it is called $ac_given_srcdir.
18755 # In autoconf-2.50 it is called $srcdir.
18756 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
18757 case "$ac_given_srcdir" in
18758 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
18759 /*) top_srcdir
="$ac_given_srcdir" ;;
18760 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18762 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18763 rm -f "$ac_dir/POTFILES"
18764 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
18765 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18766 POMAKEFILEDEPS
="POTFILES.in"
18767 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
18768 # on $ac_dir but don't depend on user-specified configuration
18770 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18771 # The LINGUAS file contains the set of available languages.
18772 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18773 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
18775 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18776 # Hide the ALL_LINGUAS assigment from automake.
18777 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18778 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
18780 # The set of available languages was given in configure.ac.
18781 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18783 case "$ac_given_srcdir" in
18785 *) srcdirpre
='$(srcdir)/' ;;
18791 for lang
in $ALL_LINGUAS; do
18792 POFILES
="$POFILES $srcdirpre$lang.po"
18793 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
18794 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
18795 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
18797 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18798 # environment variable.
18800 if test -n "$ALL_LINGUAS"; then
18801 for presentlang
in $ALL_LINGUAS; do
18803 if test "%UNSET%" != "$LINGUAS"; then
18804 desiredlanguages
="$LINGUAS"
18806 desiredlanguages
="$ALL_LINGUAS"
18808 for desiredlang
in $desiredlanguages; do
18809 # Use the presentlang catalog if desiredlang is
18810 # a. equal to presentlang, or
18811 # b. a variant of presentlang (because in this case,
18812 # presentlang can be used as a fallback for messages
18813 # which are not translated in the desiredlang catalog).
18814 case "$desiredlang" in
18815 "$presentlang"*) useit
=yes;;
18818 if test $useit = yes; then
18819 INST_LINGUAS
="$INST_LINGUAS $presentlang"
18824 if test -n "$INST_LINGUAS"; then
18825 for lang
in $INST_LINGUAS; do
18826 CATALOGS
="$CATALOGS $lang.gmo"
18829 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
18830 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18831 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
18832 if test -f "$f"; then
18834 *.orig |
*.bak |
*~
) ;;
18835 *) cat "$f" >> "$ac_dir/Makefile" ;;
18845 # See if we are running on zsh, and set the options which allow our
18846 # commands through without removal of \ escapes.
18847 if test -n "${ZSH_VERSION+set}" ; then
18848 setopt NO_GLOB_SUBST
18851 cfgfile
="${ofile}T"
18852 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18855 cat <<_LT_EOF >> "$cfgfile"
18858 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18859 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18860 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18861 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18863 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18864 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18865 # Written by Gordon Matzigkeit, 1996
18867 # This file is part of GNU Libtool.
18869 # GNU Libtool is free software; you can redistribute it and/or
18870 # modify it under the terms of the GNU General Public License as
18871 # published by the Free Software Foundation; either version 2 of
18872 # the License, or (at your option) any later version.
18874 # As a special exception to the GNU General Public License,
18875 # if you distribute this file as part of a program or library that
18876 # is built using GNU Libtool, you may include this file under the
18877 # same distribution terms that you use for the rest of that program.
18879 # GNU Libtool is distributed in the hope that it will be useful,
18880 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18881 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18882 # GNU General Public License for more details.
18884 # You should have received a copy of the GNU General Public License
18885 # along with GNU Libtool; see the file COPYING. If not, a copy
18886 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18887 # obtained by writing to the Free Software Foundation, Inc.,
18888 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18891 # The names of the tagged configurations supported by this script.
18894 # ### BEGIN LIBTOOL CONFIG
18896 # Whether or not to build shared libraries.
18897 build_libtool_libs=$enable_shared
18899 # Which release of libtool.m4 was used?
18900 macro_version=$macro_version
18901 macro_revision=$macro_revision
18903 # Whether or not to build static libraries.
18904 build_old_libs=$enable_static
18906 # What type of objects to build.
18909 # Whether or not to optimize for fast installation.
18910 fast_install=$enable_fast_install
18912 # Shell to use when invoking shell scripts.
18915 # An echo program that protects backslashes.
18919 host_alias=$host_alias
18923 # The build system.
18924 build_alias=$build_alias
18928 # A sed program that does not truncate output.
18931 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18932 Xsed="\$SED -e 1s/^X//"
18934 # A grep program that handles long lines.
18940 # A literal string matcher.
18943 # A BSD- or MS-compatible name lister.
18946 # Whether we need soft or hard links.
18949 # What is the maximum length of a command?
18950 max_cmd_len=$max_cmd_len
18952 # Object file suffix (normally "o").
18955 # Executable file suffix (normally "").
18958 # whether the shell understands "unset".
18961 # turn spaces into newlines.
18964 # turn newlines into spaces.
18967 # An object symbol dumper.
18968 OBJDUMP=$lt_OBJDUMP
18970 # Method to check whether dependent libraries are shared objects.
18971 deplibs_check_method=$lt_deplibs_check_method
18973 # Command to use when deplibs_check_method == "file_magic".
18974 file_magic_cmd=$lt_file_magic_cmd
18978 AR_FLAGS=$lt_AR_FLAGS
18980 # A symbol stripping program.
18983 # Commands used to install an old-style archive.
18985 old_postinstall_cmds=$lt_old_postinstall_cmds
18986 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18988 # Whether to use a lock for old archive extraction.
18989 lock_old_archive_extraction=$lock_old_archive_extraction
18994 # LTCC compiler flags.
18995 LTCFLAGS=$lt_CFLAGS
18997 # Take the output of nm and produce a listing of raw symbols and C names.
18998 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19000 # Transform the output of nm in a proper C declaration.
19001 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19003 # Transform the output of nm in a C name address pair.
19004 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19006 # Transform the output of nm in a C name address pair when lib prefix is needed.
19007 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19009 # The name of the directory that contains temporary libtool files.
19012 # Used to examine libraries when file_magic_cmd begins with "file".
19013 MAGIC_CMD=$MAGIC_CMD
19015 # Must we lock files when doing compilation?
19016 need_locks=$lt_need_locks
19018 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19019 DSYMUTIL=$lt_DSYMUTIL
19021 # Tool to change global to local symbols on Mac OS X.
19024 # Tool to manipulate fat objects and archives on Mac OS X.
19027 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19030 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19031 OTOOL64=$lt_OTOOL64
19033 # Old archive suffix (normally "a").
19036 # Shared library suffix (normally ".so").
19037 shrext_cmds=$lt_shrext_cmds
19039 # The commands to extract the exported symbol list from a shared archive.
19040 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19042 # Variables whose values should be saved in libtool wrapper scripts and
19043 # restored at link time.
19044 variables_saved_for_relink=$lt_variables_saved_for_relink
19046 # Do we need the "lib" prefix for modules?
19047 need_lib_prefix=$need_lib_prefix
19049 # Do we need a version for libraries?
19050 need_version=$need_version
19052 # Library versioning type.
19053 version_type=$version_type
19055 # Shared library runtime path variable.
19056 runpath_var=$runpath_var
19058 # Shared library path variable.
19059 shlibpath_var=$shlibpath_var
19061 # Is shlibpath searched before the hard-coded library search path?
19062 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19064 # Format of library name prefix.
19065 libname_spec=$lt_libname_spec
19067 # List of archive names. First name is the real one, the rest are links.
19068 # The last name is the one that the linker finds with -lNAME
19069 library_names_spec=$lt_library_names_spec
19071 # The coded name of the library, if different from the real name.
19072 soname_spec=$lt_soname_spec
19074 # Permission mode override for installation of shared libraries.
19075 install_override_mode=$lt_install_override_mode
19077 # Command to use after installation of a shared archive.
19078 postinstall_cmds=$lt_postinstall_cmds
19080 # Command to use after uninstallation of a shared archive.
19081 postuninstall_cmds=$lt_postuninstall_cmds
19083 # Commands used to finish a libtool library installation in a directory.
19084 finish_cmds=$lt_finish_cmds
19086 # As "finish_cmds", except a single script fragment to be evaled but
19088 finish_eval=$lt_finish_eval
19090 # Whether we should hardcode library paths into libraries.
19091 hardcode_into_libs=$hardcode_into_libs
19093 # Compile-time system search path for libraries.
19094 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19096 # Run-time system search path for libraries.
19097 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19099 # Whether dlopen is supported.
19100 dlopen_support=$enable_dlopen
19102 # Whether dlopen of programs is supported.
19103 dlopen_self=$enable_dlopen_self
19105 # Whether dlopen of statically linked programs is supported.
19106 dlopen_self_static=$enable_dlopen_self_static
19108 # Commands to strip libraries.
19109 old_striplib=$lt_old_striplib
19110 striplib=$lt_striplib
19113 # The linker used to build libraries.
19116 # How to create reloadable object files.
19117 reload_flag=$lt_reload_flag
19118 reload_cmds=$lt_reload_cmds
19120 # Commands used to build an old-style archive.
19121 old_archive_cmds=$lt_old_archive_cmds
19123 # A language specific compiler.
19126 # Is the compiler the GNU compiler?
19129 # Compiler flag to turn off builtin functions.
19130 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19132 # How to pass a linker flag through the compiler.
19133 wl=$lt_lt_prog_compiler_wl
19135 # Additional compiler flags for building library objects.
19136 pic_flag=$lt_lt_prog_compiler_pic
19138 # Compiler flag to prevent dynamic linking.
19139 link_static_flag=$lt_lt_prog_compiler_static
19141 # Does compiler simultaneously support -c and -o options?
19142 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19144 # Whether or not to add -lc for building shared libraries.
19145 build_libtool_need_lc=$archive_cmds_need_lc
19147 # Whether or not to disallow shared libs when runtime libs are static.
19148 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19150 # Compiler flag to allow reflexive dlopens.
19151 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19153 # Compiler flag to generate shared objects directly from archives.
19154 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19156 # Whether the compiler copes with passing no objects directly.
19157 compiler_needs_object=$lt_compiler_needs_object
19159 # Create an old-style archive from a shared archive.
19160 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19162 # Create a temporary old-style archive to link instead of a shared archive.
19163 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19165 # Commands used to build a shared archive.
19166 archive_cmds=$lt_archive_cmds
19167 archive_expsym_cmds=$lt_archive_expsym_cmds
19169 # Commands used to build a loadable module if different from building
19170 # a shared archive.
19171 module_cmds=$lt_module_cmds
19172 module_expsym_cmds=$lt_module_expsym_cmds
19174 # Whether we are building with GNU ld or not.
19175 with_gnu_ld=$lt_with_gnu_ld
19177 # Flag that allows shared libraries with undefined symbols to be built.
19178 allow_undefined_flag=$lt_allow_undefined_flag
19180 # Flag that enforces no undefined symbols.
19181 no_undefined_flag=$lt_no_undefined_flag
19183 # Flag to hardcode \$libdir into a binary during linking.
19184 # This must work even if \$libdir does not exist
19185 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19187 # If ld is used when linking, flag to hardcode \$libdir into a binary
19188 # during linking. This must work even if \$libdir does not exist.
19189 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19191 # Whether we need a single "-rpath" flag with a separated argument.
19192 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19194 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19195 # DIR into the resulting binary.
19196 hardcode_direct=$hardcode_direct
19198 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19199 # DIR into the resulting binary and the resulting library dependency is
19200 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19201 # library is relocated.
19202 hardcode_direct_absolute=$hardcode_direct_absolute
19204 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19205 # into the resulting binary.
19206 hardcode_minus_L=$hardcode_minus_L
19208 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19209 # into the resulting binary.
19210 hardcode_shlibpath_var=$hardcode_shlibpath_var
19212 # Set to "yes" if building a shared library automatically hardcodes DIR
19213 # into the library and all subsequent libraries and executables linked
19215 hardcode_automatic=$hardcode_automatic
19217 # Set to yes if linker adds runtime paths of dependent libraries
19218 # to runtime path list.
19219 inherit_rpath=$inherit_rpath
19221 # Whether libtool must link a program against all its dependency libraries.
19222 link_all_deplibs=$link_all_deplibs
19224 # Fix the shell variable \$srcfile for the compiler.
19225 fix_srcfile_path=$lt_fix_srcfile_path
19227 # Set to "yes" if exported symbols are required.
19228 always_export_symbols=$always_export_symbols
19230 # The commands to list exported symbols.
19231 export_symbols_cmds=$lt_export_symbols_cmds
19233 # Symbols that should not be listed in the preloaded symbols.
19234 exclude_expsyms=$lt_exclude_expsyms
19236 # Symbols that must always be exported.
19237 include_expsyms=$lt_include_expsyms
19239 # Commands necessary for linking programs (against libraries) with templates.
19240 prelink_cmds=$lt_prelink_cmds
19242 # Specify filename containing input files.
19243 file_list_spec=$lt_file_list_spec
19245 # How to hardcode a shared library path into an executable.
19246 hardcode_action=$hardcode_action
19248 # ### END LIBTOOL CONFIG
19254 cat <<\_LT_EOF
>> "$cfgfile"
19255 # AIX sometimes has problems with the GCC collect2 program. For some
19256 # reason, if we set the COLLECT_NAMES environment variable, the problems
19257 # vanish in a puff of smoke.
19258 if test "X${COLLECT_NAMES+set}" != Xset
; then
19260 export COLLECT_NAMES
19267 ltmain
="$ac_aux_dir/ltmain.sh"
19270 # We use sed instead of cat because bash on DJGPP gets confused if
19271 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19272 # text mode, it properly converts lines to CR/LF. This bash problem
19273 # is reportedly fixed, but why not run on old versions too?
19274 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19275 ||
(rm -f "$cfgfile"; exit 1)
19279 cat << \_LT_EOF
>> "$cfgfile"
19281 # func_dirname file append nondir_replacement
19282 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19283 # otherwise set result to NONDIR_REPLACEMENT.
19287 */*) func_dirname_result
="${1%/*}${2}" ;;
19288 * ) func_dirname_result
="${3}" ;;
19292 # func_basename file
19295 func_basename_result
="${1##*/}"
19298 # func_dirname_and_basename file append nondir_replacement
19299 # perform func_basename and func_dirname in a single function
19301 # dirname: Compute the dirname of FILE. If nonempty,
19302 # add APPEND to the result, otherwise set result
19303 # to NONDIR_REPLACEMENT.
19304 # value returned in "$func_dirname_result"
19305 # basename: Compute filename of FILE.
19306 # value retuned in "$func_basename_result"
19307 # Implementation must be kept synchronized with func_dirname
19308 # and func_basename. For efficiency, we do not delegate to
19309 # those functions but instead duplicate the functionality here.
19310 func_dirname_and_basename
()
19313 */*) func_dirname_result
="${1%/*}${2}" ;;
19314 * ) func_dirname_result
="${3}" ;;
19316 func_basename_result
="${1##*/}"
19319 # func_stripname prefix suffix name
19320 # strip PREFIX and SUFFIX off of NAME.
19321 # PREFIX and SUFFIX must not contain globbing or regex special
19322 # characters, hashes, percent signs, but SUFFIX may contain a leading
19323 # dot (in which case that matches only a dot).
19326 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19327 # positional parameters, so assign one to ordinary parameter first.
19328 func_stripname_result
=${3}
19329 func_stripname_result
=${func_stripname_result#"${1}"}
19330 func_stripname_result
=${func_stripname_result%"${2}"}
19336 func_opt_split_opt
=${1%%=*}
19337 func_opt_split_arg
=${1#*=}
19344 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19345 *) func_lo2o_result
=${1} ;;
19349 # func_xform libobj-or-source
19352 func_xform_result
=${1%.*}.lo
19355 # func_arith arithmetic-term...
19358 func_arith_result
=$
(( $
* ))
19362 # STRING may not start with a hyphen.
19365 func_len_result
=${#1}
19370 *) # Bourne compatible functions.
19371 cat << \_LT_EOF
>> "$cfgfile"
19373 # func_dirname file append nondir_replacement
19374 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19375 # otherwise set result to NONDIR_REPLACEMENT.
19378 # Extract subdirectory from the argument.
19379 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19380 if test "X$func_dirname_result" = "X${1}"; then
19381 func_dirname_result
="${3}"
19383 func_dirname_result
="$func_dirname_result${2}"
19387 # func_basename file
19390 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19394 # func_stripname prefix suffix name
19395 # strip PREFIX and SUFFIX off of NAME.
19396 # PREFIX and SUFFIX must not contain globbing or regex special
19397 # characters, hashes, percent signs, but SUFFIX may contain a leading
19398 # dot (in which case that matches only a dot).
19399 # func_strip_suffix prefix name
19403 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19404 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19409 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19410 my_sed_long_arg
='1s/^-[^=]*=//'
19415 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19416 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19422 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19425 # func_xform libobj-or-source
19428 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19431 # func_arith arithmetic-term...
19434 func_arith_result
=`expr "$@"`
19438 # STRING may not start with a hyphen.
19441 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19447 case $lt_shell_append in
19449 cat << \_LT_EOF
>> "$cfgfile"
19451 # func_append var value
19452 # Append VALUE to the end of shell variable VAR.
19460 cat << \_LT_EOF
>> "$cfgfile"
19462 # func_append var value
19463 # Append VALUE to the end of shell variable VAR.
19474 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19475 ||
(rm -f "$cfgfile"; exit 1)
19477 mv -f "$cfgfile" "$ofile" ||
19478 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19489 ac_clean_files
=$ac_clean_files_save
19491 test $ac_write_fail = 0 ||
19492 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19495 # configure is writing to config.log, and then calls config.status.
19496 # config.status does its own redirection, appending to config.log.
19497 # Unfortunately, on DOS this fails, as config.log is still kept open
19498 # by configure, so config.status won't be able to write to it; its
19499 # output is simply discarded. So we exec the FD to /dev/null,
19500 # effectively closing config.log, so it can be properly (re)opened and
19501 # appended to by config.status. When coming back to configure, we
19502 # need to make the FD available again.
19503 if test "$no_create" != yes; then
19505 ac_config_status_args
=
19506 test "$silent" = yes &&
19507 ac_config_status_args
="$ac_config_status_args --quiet"
19509 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19511 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19512 # would make configure fail if this is the last instruction.
19513 $ac_cs_success || as_fn_exit
1
19515 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19517 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19522 touch config.status.tmp
19523 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
19524 sed '/as_fn_exit 0/i \
19525 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
19526 touch --reference=Makefile Makefile.tmp \
19527 mv Makefile.tmp Makefile \
19528 ' config.status
> config.status.tmp
19529 touch --reference=config.status config.status.tmp
19530 mv config.status.tmp config.status
19531 chmod +x config.status
19532 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
19533 touch --reference=Makefile Makefile.tmp
19534 mv Makefile.tmp Makefile
19536 rm -f config.status.tmp