2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libctf 1.2.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='libctf'
589 PACKAGE_TARNAME
='libctf'
590 PACKAGE_VERSION
='1.2.0'
591 PACKAGE_STRING
='libctf 1.2.0'
595 ac_unique_file
="ctf-impl.h"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
634 ac_subst_vars
='am__EXEEXT_FALSE
644 NEED_CTF_QSORT_R_FALSE
645 NEED_CTF_QSORT_R_TRUE
646 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
647 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
650 ac_libctf_warn_cflags
658 MAINTAINER_MODE_FALSE
715 INSTALL_STRIP_PROGRAM
779 program_transform_name
792 enable_option_checking
793 enable_dependency_tracking
803 enable_maintainer_mode
804 enable_install_libbfd
806 enable_libctf_hash_debugging
808 ac_precious_vars
='build_alias
819 # Initialize some variables set by options.
821 ac_init_version
=false
822 ac_unrecognized_opts
=
824 # The variables have the same names as the options, with
825 # dashes changed to underlines.
833 program_transform_name
=s
,x
,x
,
841 # Installation directory options.
842 # These are left unexpanded so users can "make install exec_prefix=/foo"
843 # and all the variables that are supposed to be based on exec_prefix
844 # by default will actually change.
845 # Use braces instead of parens because sh, perl, etc. also accept them.
846 # (The list follows the same order as the GNU Coding Standards.)
847 bindir
='${exec_prefix}/bin'
848 sbindir
='${exec_prefix}/sbin'
849 libexecdir
='${exec_prefix}/libexec'
850 datarootdir
='${prefix}/share'
851 datadir
='${datarootdir}'
852 sysconfdir
='${prefix}/etc'
853 sharedstatedir
='${prefix}/com'
854 localstatedir
='${prefix}/var'
855 includedir
='${prefix}/include'
856 oldincludedir
='/usr/include'
857 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
858 infodir
='${datarootdir}/info'
863 libdir
='${exec_prefix}/lib'
864 localedir
='${datarootdir}/locale'
865 mandir
='${datarootdir}/man'
871 # If the previous option needs an argument, assign it.
872 if test -n "$ac_prev"; then
873 eval $ac_prev=\
$ac_option
879 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884 # Accept the important Cygnus configure options, so we can diagnose typos.
886 case $ac_dashdash$ac_option in
890 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
892 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
895 -build |
--build |
--buil |
--bui |
--bu)
896 ac_prev
=build_alias
;;
897 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
898 build_alias
=$ac_optarg ;;
900 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
901 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
902 ac_prev
=cache_file
;;
903 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
904 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
905 cache_file
=$ac_optarg ;;
908 cache_file
=config.cache
;;
910 -datadir |
--datadir |
--datadi |
--datad)
912 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
913 datadir
=$ac_optarg ;;
915 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
916 |
--dataroo |
--dataro |
--datar)
917 ac_prev
=datarootdir
;;
918 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
919 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
920 datarootdir
=$ac_optarg ;;
922 -disable-* |
--disable-*)
923 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
926 as_fn_error $?
"invalid feature name: $ac_useropt"
927 ac_useropt_orig
=$ac_useropt
928 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
933 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934 ac_unrecognized_sep
=', ';;
936 eval enable_
$ac_useropt=no
;;
938 -docdir |
--docdir |
--docdi |
--doc |
--do)
940 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
943 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
945 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
948 -enable-* |
--enable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error $?
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=\
$ac_optarg ;;
964 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
965 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
966 |
--exec |
--exe |
--ex)
967 ac_prev
=exec_prefix
;;
968 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
969 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
970 |
--exec=* |
--exe=* |
--ex=*)
971 exec_prefix
=$ac_optarg ;;
973 -gas |
--gas |
--ga |
--g)
974 # Obsolete; use --with-gas.
977 -help |
--help |
--hel |
--he |
-h)
979 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
980 ac_init_help
=recursive
;;
981 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
982 ac_init_help
=short
;;
984 -host |
--host |
--hos |
--ho)
985 ac_prev
=host_alias
;;
986 -host=* |
--host=* |
--hos=* |
--ho=*)
987 host_alias
=$ac_optarg ;;
989 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
991 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
993 htmldir
=$ac_optarg ;;
995 -includedir |
--includedir |
--includedi |
--included |
--include \
996 |
--includ |
--inclu |
--incl |
--inc)
997 ac_prev
=includedir
;;
998 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
999 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1000 includedir
=$ac_optarg ;;
1002 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1004 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1005 infodir
=$ac_optarg ;;
1007 -libdir |
--libdir |
--libdi |
--libd)
1009 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1010 libdir
=$ac_optarg ;;
1012 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1013 |
--libexe |
--libex |
--libe)
1014 ac_prev
=libexecdir
;;
1015 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1016 |
--libexe=* |
--libex=* |
--libe=*)
1017 libexecdir
=$ac_optarg ;;
1019 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1020 ac_prev
=localedir
;;
1021 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1022 localedir
=$ac_optarg ;;
1024 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1025 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1026 ac_prev
=localstatedir
;;
1027 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1028 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1029 localstatedir
=$ac_optarg ;;
1031 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1033 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1034 mandir
=$ac_optarg ;;
1036 -nfp |
--nfp |
--nf)
1037 # Obsolete; use --without-fp.
1040 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1041 |
--no-cr |
--no-c |
-n)
1044 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1045 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1048 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1049 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1050 |
--oldin |
--oldi |
--old |
--ol |
--o)
1051 ac_prev
=oldincludedir
;;
1052 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1053 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1054 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1055 oldincludedir
=$ac_optarg ;;
1057 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1059 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1060 prefix
=$ac_optarg ;;
1062 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1063 |
--program-pre |
--program-pr |
--program-p)
1064 ac_prev
=program_prefix
;;
1065 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1066 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1067 program_prefix
=$ac_optarg ;;
1069 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1070 |
--program-suf |
--program-su |
--program-s)
1071 ac_prev
=program_suffix
;;
1072 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1073 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1074 program_suffix
=$ac_optarg ;;
1076 -program-transform-name |
--program-transform-name \
1077 |
--program-transform-nam |
--program-transform-na \
1078 |
--program-transform-n |
--program-transform- \
1079 |
--program-transform |
--program-transfor \
1080 |
--program-transfo |
--program-transf \
1081 |
--program-trans |
--program-tran \
1082 |
--progr-tra |
--program-tr |
--program-t)
1083 ac_prev
=program_transform_name
;;
1084 -program-transform-name=* |
--program-transform-name=* \
1085 |
--program-transform-nam=* |
--program-transform-na=* \
1086 |
--program-transform-n=* |
--program-transform-=* \
1087 |
--program-transform=* |
--program-transfor=* \
1088 |
--program-transfo=* |
--program-transf=* \
1089 |
--program-trans=* |
--program-tran=* \
1090 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1091 program_transform_name
=$ac_optarg ;;
1093 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1095 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1096 pdfdir
=$ac_optarg ;;
1098 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1100 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1103 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1104 |
-silent |
--silent |
--silen |
--sile |
--sil)
1107 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1109 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1111 sbindir
=$ac_optarg ;;
1113 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1114 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1115 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1117 ac_prev
=sharedstatedir
;;
1118 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1119 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1120 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1122 sharedstatedir
=$ac_optarg ;;
1124 -site |
--site |
--sit)
1126 -site=* |
--site=* |
--sit=*)
1129 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1131 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1132 srcdir
=$ac_optarg ;;
1134 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1135 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1136 ac_prev
=sysconfdir
;;
1137 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1138 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1139 sysconfdir
=$ac_optarg ;;
1141 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1142 ac_prev
=target_alias
;;
1143 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1144 target_alias
=$ac_optarg ;;
1146 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1149 -version |
--version |
--versio |
--versi |
--vers |
-V)
1150 ac_init_version
=: ;;
1153 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1156 as_fn_error $?
"invalid package name: $ac_useropt"
1157 ac_useropt_orig
=$ac_useropt
1158 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1163 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1164 ac_unrecognized_sep
=', ';;
1166 eval with_
$ac_useropt=\
$ac_optarg ;;
1168 -without-* |
--without-*)
1169 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1172 as_fn_error $?
"invalid package name: $ac_useropt"
1173 ac_useropt_orig
=$ac_useropt
1174 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175 case $ac_user_opts in
1179 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1180 ac_unrecognized_sep
=', ';;
1182 eval with_
$ac_useropt=no
;;
1185 # Obsolete; use --with-x.
1188 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1189 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1190 ac_prev
=x_includes
;;
1191 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1192 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1193 x_includes
=$ac_optarg ;;
1195 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1196 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1197 ac_prev
=x_libraries
;;
1198 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1199 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1200 x_libraries
=$ac_optarg ;;
1202 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1203 Try \`$0 --help' for more information"
1207 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1208 # Reject names that are not valid shell variable names.
1209 case $ac_envvar in #(
1210 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1211 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1213 eval $ac_envvar=\
$ac_optarg
1214 export $ac_envvar ;;
1217 # FIXME: should be removed in autoconf 3.0.
1218 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1220 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1227 if test -n "$ac_prev"; then
1228 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1229 as_fn_error $?
"missing argument to $ac_option"
1232 if test -n "$ac_unrecognized_opts"; then
1233 case $enable_option_checking in
1235 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1236 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1240 # Check all directory arguments for consistency.
1241 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1242 datadir sysconfdir sharedstatedir localstatedir includedir \
1243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1244 libdir localedir mandir
1246 eval ac_val
=\$
$ac_var
1247 # Remove trailing slashes.
1250 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1251 eval $ac_var=\
$ac_val;;
1253 # Be sure to have absolute directory names.
1255 [\\/$
]* | ?
:[\\/]* ) continue;;
1256 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1258 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1261 # There might be people who depend on the old broken behavior: `$host'
1262 # used to hold the argument of --host etc.
1263 # FIXME: To remove some day.
1266 target
=$target_alias
1268 # FIXME: To remove some day.
1269 if test "x$host_alias" != x
; then
1270 if test "x$build_alias" = x
; then
1271 cross_compiling
=maybe
1272 elif test "x$build_alias" != "x$host_alias"; then
1278 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1280 test "$silent" = yes && exec 6>/dev
/null
1283 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1284 ac_ls_di
=`ls -di .` &&
1285 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1286 as_fn_error $?
"working directory cannot be determined"
1287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288 as_fn_error $?
"pwd does not report name of working directory"
1291 # Find the source files, if location was not specified.
1292 if test -z "$srcdir"; then
1293 ac_srcdir_defaulted
=yes
1294 # Try the directory containing this script, then the parent directory.
1295 ac_confdir
=`$as_dirname -- "$as_myself" ||
1296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297 X"$as_myself" : 'X\(//\)[^/]' \| \
1298 X"$as_myself" : 'X\(//\)$' \| \
1299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300 $as_echo X"$as_myself" |
1301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1319 if test ! -r "$srcdir/$ac_unique_file"; then
1323 ac_srcdir_defaulted
=no
1325 if test ! -r "$srcdir/$ac_unique_file"; then
1326 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1327 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1329 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1333 # When building in place, set srcdir=.
1334 if test "$ac_abs_confdir" = "$ac_pwd"; then
1337 # Remove unnecessary trailing slashes from srcdir.
1338 # Double slashes in file names in object file debugging info
1339 # mess up M-x gdb in Emacs.
1341 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1343 for ac_var
in $ac_precious_vars; do
1344 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1345 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1346 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1347 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1351 # Report the --help message.
1353 if test "$ac_init_help" = "long"; then
1354 # Omit some internal or obsolete options to make the list less imposing.
1355 # This message is too long to be a string in the A/UX 3.1 sh.
1357 \`configure' configures libctf 1.2.0 to adapt to many kinds of systems.
1359 Usage: $0 [OPTION]... [VAR=VALUE]...
1361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1362 VAR=VALUE. See below for descriptions of some of the useful variables.
1364 Defaults for the options are specified in brackets.
1367 -h, --help display this help and exit
1368 --help=short display options specific to this package
1369 --help=recursive display the short help of all the included packages
1370 -V, --version display version information and exit
1371 -q, --quiet, --silent do not print \`checking ...' messages
1372 --cache-file=FILE cache test results in FILE [disabled]
1373 -C, --config-cache alias for \`--cache-file=config.cache'
1374 -n, --no-create do not create output files
1375 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1377 Installation directories:
1378 --prefix=PREFIX install architecture-independent files in PREFIX
1379 [$ac_default_prefix]
1380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1383 By default, \`make install' will install all the files in
1384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1386 for instance \`--prefix=\$HOME'.
1388 For better control, use the options below.
1390 Fine tuning of the installation directories:
1391 --bindir=DIR user executables [EPREFIX/bin]
1392 --sbindir=DIR system admin executables [EPREFIX/sbin]
1393 --libexecdir=DIR program executables [EPREFIX/libexec]
1394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1397 --libdir=DIR object code libraries [EPREFIX/lib]
1398 --includedir=DIR C header files [PREFIX/include]
1399 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1400 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1401 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1402 --infodir=DIR info documentation [DATAROOTDIR/info]
1403 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1404 --mandir=DIR man documentation [DATAROOTDIR/man]
1405 --docdir=DIR documentation root [DATAROOTDIR/doc/libctf]
1406 --htmldir=DIR html documentation [DOCDIR]
1407 --dvidir=DIR dvi documentation [DOCDIR]
1408 --pdfdir=DIR pdf documentation [DOCDIR]
1409 --psdir=DIR ps documentation [DOCDIR]
1415 --program-prefix=PREFIX prepend PREFIX to installed program names
1416 --program-suffix=SUFFIX append SUFFIX to installed program names
1417 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1420 --build=BUILD configure
for building on BUILD
[guessed
]
1421 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1422 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1426 if test -n "$ac_init_help"; then
1427 case $ac_init_help in
1428 short | recursive
) echo "Configuration of libctf 1.2.0:";;
1433 --disable-option-checking ignore unrecognized
--enable/--with options
1434 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1435 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1436 --enable-dependency-tracking
1437 do not reject slow dependency extractors
1438 --disable-dependency-tracking
1439 speeds up one-time build
1440 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1441 --disable-silent-rules verbose build output
(undo
: "make V=0")
1442 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1443 --enable-static[=PKGS
] build static libraries
[default
=yes]
1444 --enable-fast-install[=PKGS
]
1445 optimize
for fast installation
[default
=yes]
1446 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1447 --disable-largefile omit support
for large files
1448 --enable-werror-always enable -Werror despite compiler version
1449 --enable-maintainer-mode
1450 enable make rules and dependencies not useful
(and
1451 sometimes confusing
) to the casual installer
1452 --enable-install-libbfd controls installation of libbfd and related headers
1453 --enable-libctf-hash-debugging
1454 Enable expensive debugging of CTF deduplication
type
1455 hashing
[default
=no
]
1458 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1459 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1460 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1462 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1463 --with-system-zlib use installed libz
1465 Some influential environment variables
:
1466 CC C compiler
command
1467 CFLAGS C compiler flags
1468 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1469 nonstandard directory
<lib dir
>
1470 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1471 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1472 you have headers
in a nonstandard directory
<include dir
>
1475 Use these variables to override the choices made by
`configure' or to help
1476 it to find libraries and programs with nonstandard names/locations.
1478 Report bugs to the package provider.
1483 if test "$ac_init_help" = "recursive"; then
1484 # If there are subdirs, report their specific --help.
1485 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1486 test -d "$ac_dir" ||
1487 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1492 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1494 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1495 # A ".." for each directory in $ac_dir_suffix.
1496 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1497 case $ac_top_builddir_sub in
1498 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1499 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1502 ac_abs_top_builddir=$ac_pwd
1503 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1504 # for backward compatibility:
1505 ac_top_builddir=$ac_top_build_prefix
1508 .) # We are building in place.
1510 ac_top_srcdir=$ac_top_builddir_sub
1511 ac_abs_top_srcdir=$ac_pwd ;;
1512 [\\/]* | ?:[\\/]* ) # Absolute name.
1513 ac_srcdir=$srcdir$ac_dir_suffix;
1514 ac_top_srcdir=$srcdir
1515 ac_abs_top_srcdir=$srcdir ;;
1517 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1518 ac_top_srcdir=$ac_top_build_prefix$srcdir
1519 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1521 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1523 cd "$ac_dir" || { ac_status=$?; continue; }
1524 # Check for guested configure.
1525 if test -f "$ac_srcdir/configure.gnu"; then
1527 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1528 elif test -f "$ac_srcdir/configure"; then
1530 $SHELL "$ac_srcdir/configure" --help=recursive
1532 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1534 cd "$ac_pwd" || { ac_status=$?; break; }
1538 test -n "$ac_init_help" && exit $ac_status
1539 if $ac_init_version; then
1541 libctf configure 1.2.0
1542 generated by GNU Autoconf 2.69
1544 Copyright (C) 2012 Free Software Foundation, Inc.
1545 This configure script is free software; the Free Software Foundation
1546 gives unlimited permission to copy, distribute and modify it.
1551 ## ------------------------ ##
1552 ## Autoconf initialization. ##
1553 ## ------------------------ ##
1555 # ac_fn_c_try_compile LINENO
1556 # --------------------------
1557 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1558 ac_fn_c_try_compile ()
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 rm -f conftest.$ac_objext
1562 if { { ac_try="$ac_compile"
1564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1565 *) ac_try_echo
=$ac_try;;
1567 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 $as_echo "$ac_try_echo"; } >&5
1569 (eval "$ac_compile") 2>conftest.err
1571 if test -s conftest.err
; then
1572 grep -v '^ *+' conftest.err
>conftest.er1
1573 cat conftest.er1
>&5
1574 mv -f conftest.er1 conftest.err
1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 test $ac_status = 0; } && {
1578 test -z "$ac_c_werror_flag" ||
1579 test ! -s conftest.err
1580 } && test -s conftest.
$ac_objext; then :
1583 $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.
$ac_ext >&5
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 as_fn_set_status
$ac_retval
1591 } # ac_fn_c_try_compile
1593 # ac_fn_c_try_cpp LINENO
1594 # ----------------------
1595 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1598 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1599 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1602 *) ac_try_echo=$ac_try;;
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1608 if test -s conftest.err; then
1609 grep -v '^ *+' conftest.err >conftest.er1
1610 cat conftest.er1 >&5
1611 mv -f conftest.er1 conftest.err
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } > conftest.i && {
1615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1616 test ! -s conftest.err
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status $ac_retval
1630 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1631 # -------------------------------------------------------
1632 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1633 # the include files in INCLUDES and setting the cache variable VAR
1635 ac_fn_c_check_header_mongrel ()
1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638 if eval \${$3+:} false; then :
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1640 $as_echo_n "checking for $2... " >&6; }
1641 if eval \${$3+:} false; then :
1642 $as_echo_n "(cached) " >&6
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1646 $as_echo "$ac_res" >&6; }
1648 # Is the header compilable?
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1650 $as_echo_n "checking $2 usability... " >&6; }
1651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1652 /* end confdefs.h. */
1656 if ac_fn_c_try_compile "$LINENO"; then :
1657 ac_header_compiler=yes
1659 ac_header_compiler=no
1661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1663 $as_echo "$ac_header_compiler" >&6; }
1665 # Is the header present?
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1667 $as_echo_n "checking $2 presence... " >&6; }
1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1669 /* end confdefs.h. */
1672 if ac_fn_c_try_cpp "$LINENO"; then :
1673 ac_header_preproc=yes
1675 ac_header_preproc=no
1677 rm -f conftest.err conftest.i conftest.$ac_ext
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1679 $as_echo "$ac_header_preproc" >&6; }
1681 # So? What about this header?
1682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1685 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1687 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1691 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1693 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1695 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1697 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1699 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if eval \${$3+:} false; then :
1705 $as_echo_n "(cached) " >&6
1707 eval "$3=\$ac_header_compiler"
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1711 $as_echo "$ac_res" >&6; }
1713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 } # ac_fn_c_check_header_mongrel
1717 # ac_fn_c_try_run LINENO
1718 # ----------------------
1719 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1720 # that executables *can* be run.
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 if { { ac_try="$ac_link"
1726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1727 *) ac_try_echo
=$ac_try;;
1729 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_link") 2>&5
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1735 { { case "(($ac_try" in
1736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1737 *) ac_try_echo=$ac_try;;
1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_try") 2>&5
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; }; }; then :
1747 $as_echo "$as_me: program exited with status $ac_status" >&5
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1751 ac_retval=$ac_status
1753 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 as_fn_set_status $ac_retval
1759 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1760 # -------------------------------------------------------
1761 # Tests whether HEADER exists and can be compiled using the include files in
1762 # INCLUDES, setting the cache variable VAR accordingly.
1763 ac_fn_c_check_header_compile ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1767 $as_echo_n "checking for $2... " >&6; }
1768 if eval \${$3+:} false; then :
1769 $as_echo_n "(cached) " >&6
1771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1772 /* end confdefs.h. */
1776 if ac_fn_c_try_compile "$LINENO"; then :
1781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 } # ac_fn_c_check_header_compile
1790 # ac_fn_c_try_link LINENO
1791 # -----------------------
1792 # Try to link conftest.$ac_ext, and return whether this succeeded.
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 rm -f conftest.$ac_objext conftest$ac_exeext
1797 if { { ac_try="$ac_link"
1799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1800 *) ac_try_echo
=$ac_try;;
1802 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_link") 2>conftest.err
1806 if test -s conftest.err
; then
1807 grep -v '^ *+' conftest.err
>conftest.er1
1808 cat conftest.er1
>&5
1809 mv -f conftest.er1 conftest.err
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } && {
1813 test -z "$ac_c_werror_flag" ||
1814 test ! -s conftest.err
1815 } && test -s conftest
$ac_exeext && {
1816 test "$cross_compiling" = yes ||
1817 test -x conftest
$ac_exeext
1821 $as_echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.
$ac_ext >&5
1826 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1827 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1828 # interfere with the next link command; also delete a directory that is
1829 # left behind by Apple's compiler. We do this before executing the actions.
1830 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832 as_fn_set_status
$ac_retval
1834 } # ac_fn_c_try_link
1836 # ac_fn_c_check_func LINENO FUNC VAR
1837 # ----------------------------------
1838 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1839 ac_fn_c_check_func
()
1841 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1843 $as_echo_n "checking for $2... " >&6; }
1844 if eval \
${$3+:} false
; then :
1845 $as_echo_n "(cached) " >&6
1847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h. */
1849 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1851 #define $2 innocuous_$2
1853 /* System header to define __stub macros and hopefully few prototypes,
1854 which can conflict with char $2 (); below.
1855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1856 <limits.h> exists even on freestanding compilers. */
1859 # include <limits.h>
1861 # include <assert.h>
1866 /* Override any GCC internal prototype to avoid an error.
1867 Use char because int might match the return type of a GCC
1868 builtin and then its argument prototype would still apply. */
1873 /* The GNU C library defines this for functions which it implements
1874 to always fail with ENOSYS. Some functions are actually named
1875 something starting with __ and the normal name is an alias. */
1876 #if defined __stub_$2 || defined __stub___$2
1888 if ac_fn_c_try_link
"$LINENO"; then :
1893 rm -f core conftest.err conftest.
$ac_objext \
1894 conftest
$ac_exeext conftest.
$ac_ext
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 $as_echo "$ac_res" >&6; }
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901 } # ac_fn_c_check_func
1903 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1904 # ---------------------------------------------
1905 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1907 ac_fn_c_check_decl
()
1909 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1910 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1911 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1913 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1914 if eval \
${$3+:} false
; then :
1915 $as_echo_n "(cached) " >&6
1917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1923 #ifndef $as_decl_name
1925 (void) $as_decl_use;
1927 (void) $as_decl_name;
1935 if ac_fn_c_try_compile
"$LINENO"; then :
1940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947 } # ac_fn_c_check_decl
1948 cat >config.log
<<_ACEOF
1949 This file contains any messages produced by compilers while
1950 running configure, to aid debugging if configure makes a mistake.
1952 It was created by libctf $as_me 1.2.0, which was
1953 generated by GNU Autoconf 2.69. Invocation command line was
1965 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1966 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1967 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1968 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1969 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1971 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1972 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1974 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1975 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1976 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1977 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1978 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1979 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1980 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1988 test -z "$as_dir" && as_dir
=.
1989 $as_echo "PATH: $as_dir"
2005 # Keep a trace of the command line.
2006 # Strip out --no-create and --no-recursion so they do not pile up.
2007 # Strip out --silent because we don't want to record it for future runs.
2008 # Also quote any args containing shell meta-characters.
2009 # Make two passes to allow for proper duplicate-argument suppression.
2013 ac_must_keep_next
=false
2019 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2020 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2021 |
-silent |
--silent |
--silen |
--sile |
--sil)
2024 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2027 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2029 as_fn_append ac_configure_args1
" '$ac_arg'"
2030 if test $ac_must_keep_next = true
; then
2031 ac_must_keep_next
=false
# Got value, back to normal.
2034 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2035 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2036 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2037 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2038 case "$ac_configure_args0 " in
2039 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2042 -* ) ac_must_keep_next
=true
;;
2045 as_fn_append ac_configure_args
" '$ac_arg'"
2050 { ac_configure_args0
=; unset ac_configure_args0
;}
2051 { ac_configure_args1
=; unset ac_configure_args1
;}
2053 # When interrupted or exit'd, cleanup temporary files, and complete
2054 # config.log. We remove comments because anyway the quotes in there
2055 # would cause problems or look ugly.
2056 # WARNING: Use '\'' to represent an apostrophe within the trap.
2057 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2058 trap 'exit_status=$?
2059 # Save into config.log some information that might help in debugging.
2063 $as_echo "## ---------------- ##
2064 ## Cache variables. ##
2065 ## ---------------- ##"
2067 # The following way of writing the cache mishandles newlines in values,
2069 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2070 eval ac_val=\$$ac_var
2074 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2075 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2078 _ | IFS | as_nl) ;; #(
2079 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2080 *) { eval $ac_var=; unset $ac_var;} ;;
2085 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2086 *${as_nl}ac_space=\ *)
2088 "s/'\''/'\''\\\\'\'''\''/g;
2089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2092 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2099 $as_echo "## ----------------- ##
2100 ## Output variables. ##
2101 ## ----------------- ##"
2103 for ac_var in $ac_subst_vars
2105 eval ac_val=\$$ac_var
2107 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2109 $as_echo "$ac_var='\''$ac_val'\''"
2113 if test -n "$ac_subst_files"; then
2114 $as_echo "## ------------------- ##
2115 ## File substitutions. ##
2116 ## ------------------- ##"
2118 for ac_var
in $ac_subst_files
2120 eval ac_val
=\$
$ac_var
2122 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2124 $as_echo "$ac_var='\''$ac_val'\''"
2129 if test -s confdefs.h; then
2130 $as_echo "## ----------- ##
2137 test "$ac_signal" != 0 &&
2138 $as_echo "$as_me: caught signal $ac_signal"
2139 $as_echo "$as_me: exit $exit_status"
2141 rm -f core *.core core.conftest.* &&
2142 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2145 for ac_signal
in 1 2 13 15; do
2146 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2150 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2151 rm -f -r conftest
* confdefs.h
2153 $as_echo "/* confdefs.h */" > confdefs.h
2155 # Predefined preprocessor variables.
2157 cat >>confdefs.h
<<_ACEOF
2158 #define PACKAGE_NAME "$PACKAGE_NAME"
2161 cat >>confdefs.h
<<_ACEOF
2162 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2165 cat >>confdefs.h
<<_ACEOF
2166 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2169 cat >>confdefs.h
<<_ACEOF
2170 #define PACKAGE_STRING "$PACKAGE_STRING"
2173 cat >>confdefs.h
<<_ACEOF
2174 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2177 cat >>confdefs.h
<<_ACEOF
2178 #define PACKAGE_URL "$PACKAGE_URL"
2182 # Let the site file select an alternate cache file if it wants to.
2183 # Prefer an explicitly selected file to automatically selected ones.
2186 if test -n "$CONFIG_SITE"; then
2187 # We do not want a PATH search for config.site.
2188 case $CONFIG_SITE in #((
2189 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2190 */*) ac_site_file1
=$CONFIG_SITE;;
2191 *) ac_site_file1
=.
/$CONFIG_SITE;;
2193 elif test "x$prefix" != xNONE
; then
2194 ac_site_file1
=$prefix/share
/config.site
2195 ac_site_file2
=$prefix/etc
/config.site
2197 ac_site_file1
=$ac_default_prefix/share
/config.site
2198 ac_site_file2
=$ac_default_prefix/etc
/config.site
2200 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2202 test "x$ac_site_file" = xNONE
&& continue
2203 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2205 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2206 sed 's/^/| /' "$ac_site_file" >&5
2208 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2210 as_fn_error $?
"failed to load site script $ac_site_file
2211 See \`config.log' for more details" "$LINENO" 5; }
2215 if test -r "$cache_file"; then
2216 # Some versions of bash will fail to source /dev/null (special files
2217 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2218 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2220 $as_echo "$as_me: loading cache $cache_file" >&6;}
2222 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2223 *) .
"./$cache_file";;
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2228 $as_echo "$as_me: creating cache $cache_file" >&6;}
2232 as_fn_append ac_header_list
" stdlib.h"
2233 as_fn_append ac_header_list
" unistd.h"
2234 as_fn_append ac_header_list
" sys/param.h"
2235 as_fn_append ac_func_list
" qsort_r"
2236 # Check that the precious variables saved in the cache have kept the same
2238 ac_cache_corrupted
=false
2239 for ac_var
in $ac_precious_vars; do
2240 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2241 eval ac_new_set
=\
$ac_env_${ac_var}_set
2242 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2243 eval ac_new_val
=\
$ac_env_${ac_var}_value
2244 case $ac_old_set,$ac_new_set in
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2247 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2248 ac_cache_corrupted
=: ;;
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2251 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2252 ac_cache_corrupted
=: ;;
2255 if test "x$ac_old_val" != "x$ac_new_val"; then
2256 # differences in whitespace do not lead to failure.
2257 ac_old_val_w
=`echo x $ac_old_val`
2258 ac_new_val_w
=`echo x $ac_new_val`
2259 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2261 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2262 ac_cache_corrupted
=:
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2265 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2266 eval $ac_var=\
$ac_old_val
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2269 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2271 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2274 # Pass precious variables to config.status.
2275 if test "$ac_new_set" = set; then
2277 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2278 *) ac_arg
=$ac_var=$ac_new_val ;;
2280 case " $ac_configure_args " in
2281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2282 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2286 if $ac_cache_corrupted; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2290 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2291 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2293 ## -------------------- ##
2294 ## Main body of script. ##
2295 ## -------------------- ##
2298 ac_cpp
='$CPP $CPPFLAGS'
2299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2312 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2313 if test -f "$ac_dir/install-sh"; then
2315 ac_install_sh
="$ac_aux_dir/install-sh -c"
2317 elif test -f "$ac_dir/install.sh"; then
2319 ac_install_sh
="$ac_aux_dir/install.sh -c"
2321 elif test -f "$ac_dir/shtool"; then
2323 ac_install_sh
="$ac_aux_dir/shtool install -c"
2327 if test -z "$ac_aux_dir"; then
2328 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2331 # These three variables are undocumented and unsupported,
2332 # and are intended to be withdrawn in a future Autoconf release.
2333 # They can cause serious problems if a builder's source tree is in a directory
2334 # whose full name contains unusual characters.
2335 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2336 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2337 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2340 # Make sure we can run config.sub.
2341 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2342 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2345 $as_echo_n "checking build system type... " >&6; }
2346 if ${ac_cv_build+:} false
; then :
2347 $as_echo_n "(cached) " >&6
2349 ac_build_alias
=$build_alias
2350 test "x$ac_build_alias" = x
&&
2351 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2352 test "x$ac_build_alias" = x
&&
2353 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2354 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2355 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2359 $as_echo "$ac_cv_build" >&6; }
2360 case $ac_cv_build in
2362 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2365 ac_save_IFS
=$IFS; IFS
='-'
2371 # Remember, the first character of IFS is used to create $*,
2372 # except with old shells:
2375 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2379 $as_echo_n "checking host system type... " >&6; }
2380 if ${ac_cv_host+:} false
; then :
2381 $as_echo_n "(cached) " >&6
2383 if test "x$host_alias" = x
; then
2384 ac_cv_host
=$ac_cv_build
2386 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2387 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2392 $as_echo "$ac_cv_host" >&6; }
2395 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2398 ac_save_IFS
=$IFS; IFS
='-'
2404 # Remember, the first character of IFS is used to create $*,
2405 # except with old shells:
2408 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2412 $as_echo_n "checking target system type... " >&6; }
2413 if ${ac_cv_target+:} false
; then :
2414 $as_echo_n "(cached) " >&6
2416 if test "x$target_alias" = x
; then
2417 ac_cv_target
=$ac_cv_host
2419 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2420 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2425 $as_echo "$ac_cv_target" >&6; }
2426 case $ac_cv_target in
2428 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2430 target
=$ac_cv_target
2431 ac_save_IFS
=$IFS; IFS
='-'
2437 # Remember, the first character of IFS is used to create $*,
2438 # except with old shells:
2441 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2444 # The aliases save the names the user supplied, while $host etc.
2445 # will get canonicalized.
2446 test -n "$target_alias" &&
2447 test "$program_prefix$program_suffix$program_transform_name" = \
2449 program_prefix
=${target_alias}-
2450 # Expand $ac_aux_dir to an absolute path.
2451 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2454 ac_cpp
='$CPP $CPPFLAGS'
2455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2458 if test -n "$ac_tool_prefix"; then
2459 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2460 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462 $as_echo_n "checking for $ac_word... " >&6; }
2463 if ${ac_cv_prog_CC+:} false
; then :
2464 $as_echo_n "(cached) " >&6
2466 if test -n "$CC"; then
2467 ac_cv_prog_CC
="$CC" # Let the user override the test.
2469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2473 test -z "$as_dir" && as_dir
=.
2474 for ac_exec_ext
in '' $ac_executable_extensions; do
2475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2476 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 if test -n "$CC"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2489 $as_echo "$CC" >&6; }
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492 $as_echo "no" >&6; }
2497 if test -z "$ac_cv_prog_CC"; then
2499 # Extract the first word of "gcc", so it can be a program name with args.
2500 set dummy gcc
; ac_word
=$2
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502 $as_echo_n "checking for $ac_word... " >&6; }
2503 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2504 $as_echo_n "(cached) " >&6
2506 if test -n "$ac_ct_CC"; then
2507 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir
=.
2514 for ac_exec_ext
in '' $ac_executable_extensions; do
2515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2516 ac_cv_prog_ac_ct_CC
="gcc"
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2527 if test -n "$ac_ct_CC"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2529 $as_echo "$ac_ct_CC" >&6; }
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 $as_echo "no" >&6; }
2535 if test "x$ac_ct_CC" = x
; then
2538 case $cross_compiling:$ac_tool_warned in
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2542 ac_tool_warned
=yes ;;
2550 if test -z "$CC"; then
2551 if test -n "$ac_tool_prefix"; then
2552 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2553 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2555 $as_echo_n "checking for $ac_word... " >&6; }
2556 if ${ac_cv_prog_CC+:} false
; then :
2557 $as_echo_n "(cached) " >&6
2559 if test -n "$CC"; then
2560 ac_cv_prog_CC
="$CC" # Let the user override the test.
2562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2566 test -z "$as_dir" && as_dir
=.
2567 for ac_exec_ext
in '' $ac_executable_extensions; do
2568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2569 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2580 if test -n "$CC"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2582 $as_echo "$CC" >&6; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2585 $as_echo "no" >&6; }
2591 if test -z "$CC"; then
2592 # Extract the first word of "cc", so it can be a program name with args.
2593 set dummy cc
; ac_word
=$2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if ${ac_cv_prog_CC+:} false
; then :
2597 $as_echo_n "(cached) " >&6
2599 if test -n "$CC"; then
2600 ac_cv_prog_CC
="$CC" # Let the user override the test.
2603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2607 test -z "$as_dir" && as_dir
=.
2608 for ac_exec_ext
in '' $ac_executable_extensions; do
2609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2610 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2611 ac_prog_rejected
=yes
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 if test $ac_prog_rejected = yes; then
2623 # We found a bogon in the path, so make sure we never use it.
2624 set dummy
$ac_cv_prog_CC
2626 if test $# != 0; then
2627 # We chose a different compiler from the bogus one.
2628 # However, it has the same basename, so the bogon will be chosen
2629 # first if we set CC to just the basename; use the full file name.
2631 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2637 if test -n "$CC"; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2639 $as_echo "$CC" >&6; }
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2642 $as_echo "no" >&6; }
2647 if test -z "$CC"; then
2648 if test -n "$ac_tool_prefix"; then
2649 for ac_prog
in cl.exe
2651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2652 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_CC+:} false
; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$CC"; then
2659 ac_cv_prog_CC
="$CC" # Let the user override the test.
2661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir
=.
2666 for ac_exec_ext
in '' $ac_executable_extensions; do
2667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 if test -n "$CC"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2681 $as_echo "$CC" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2688 test -n "$CC" && break
2691 if test -z "$CC"; then
2693 for ac_prog
in cl.exe
2695 # Extract the first word of "$ac_prog", so it can be a program name with args.
2696 set dummy
$ac_prog; ac_word
=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$ac_ct_CC"; then
2703 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2712 ac_cv_prog_ac_ct_CC
="$ac_prog"
2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2723 if test -n "$ac_ct_CC"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2725 $as_echo "$ac_ct_CC" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2732 test -n "$ac_ct_CC" && break
2735 if test "x$ac_ct_CC" = x
; then
2738 case $cross_compiling:$ac_tool_warned in
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2742 ac_tool_warned
=yes ;;
2751 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753 as_fn_error $?
"no acceptable C compiler found in \$PATH
2754 See \`config.log' for more details" "$LINENO" 5; }
2756 # Provide some information about the compiler.
2757 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2760 for ac_option
in --version -v -V -qversion; do
2761 { { ac_try
="$ac_compiler $ac_option >&5"
2763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 $as_echo "$ac_try_echo"; } >&5
2768 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2770 if test -s conftest.err; then
2772 ... rest of stderr output deleted ...
2773 10q' conftest.err >conftest.er1
2774 cat conftest.er1 >&5
2776 rm -f conftest.er1 conftest.err
2777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2778 test $ac_status = 0; }
2781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2792 ac_clean_files_save=$ac_clean_files
2793 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2794 # Try to create an executable without -o first, disregard a.out.
2795 # It will help us diagnose broken compilers, and finding out an intuition
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2798 $as_echo_n "checking whether the C compiler works... " >&6; }
2799 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2801 # The possible output files:
2802 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2805 for ac_file in $ac_files
2808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2809 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2814 if { { ac_try="$ac_link_default"
2816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2817 *) ac_try_echo
=$ac_try;;
2819 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2820 $as_echo "$ac_try_echo"; } >&5
2821 (eval "$ac_link_default") 2>&5
2823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2824 test $ac_status = 0; }; then :
2825 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2826 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2827 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2828 # so that the user can short-circuit this test for compilers unknown to
2830 for ac_file
in $ac_files ''
2832 test -f "$ac_file" ||
continue
2834 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2837 # We found the default executable, but exeext='' is most
2841 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2843 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2845 # We set ac_cv_exeext here because the later test for it is not
2846 # safe: cross compilers may not add the suffix if given an `-o'
2847 # argument, so we may need to know it at that point already.
2848 # Even if this section looks crufty: it has the advantage of
2855 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2860 if test -z "$ac_file"; then :
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862 $as_echo "no" >&6; }
2863 $as_echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.
$ac_ext >&5
2866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2868 as_fn_error
77 "C compiler cannot create executables
2869 See \`config.log' for more details" "$LINENO" 5; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872 $as_echo "yes" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2875 $as_echo_n "checking for C compiler default output file name... " >&6; }
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2877 $as_echo "$ac_file" >&6; }
2878 ac_exeext
=$ac_cv_exeext
2880 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2881 ac_clean_files
=$ac_clean_files_save
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2883 $as_echo_n "checking for suffix of executables... " >&6; }
2884 if { { ac_try
="$ac_link"
2886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2890 $as_echo "$ac_try_echo"; } >&5
2891 (eval "$ac_link") 2>&5
2893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894 test $ac_status = 0; }; then :
2895 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2896 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2897 # work properly (i.e., refer to `conftest.exe'), while it won't with
2899 for ac_file
in conftest.exe conftest conftest.
*; do
2900 test -f "$ac_file" ||
continue
2902 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2903 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2911 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2912 See \`config.log' for more details" "$LINENO" 5; }
2914 rm -f conftest conftest
$ac_cv_exeext
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2916 $as_echo "$ac_cv_exeext" >&6; }
2918 rm -f conftest.
$ac_ext
2919 EXEEXT
=$ac_cv_exeext
2921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2922 /* end confdefs.h. */
2927 FILE *f = fopen ("conftest.out", "w");
2928 return ferror (f) || fclose (f) != 0;
2934 ac_clean_files
="$ac_clean_files conftest.out"
2935 # Check that the compiler produces executables we can run. If not, either
2936 # the compiler is broken, or we cross compile.
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2938 $as_echo_n "checking whether we are cross compiling... " >&6; }
2939 if test "$cross_compiling" != yes; then
2940 { { ac_try
="$ac_link"
2942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2946 $as_echo "$ac_try_echo"; } >&5
2947 (eval "$ac_link") 2>&5
2949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2950 test $ac_status = 0; }
2951 if { ac_try='./conftest$ac_cv_exeext'
2952 { { case "(($ac_try" in
2953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2954 *) ac_try_echo
=$ac_try;;
2956 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2957 $as_echo "$ac_try_echo"; } >&5
2958 (eval "$ac_try") 2>&5
2960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961 test $ac_status = 0; }; }; then
2964 if test "$cross_compiling" = maybe
; then
2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969 as_fn_error $?
"cannot run C compiled programs.
2970 If you meant to cross compile, use \`--host'.
2971 See \`config.log' for more details" "$LINENO" 5; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2976 $as_echo "$cross_compiling" >&6; }
2978 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2979 ac_clean_files
=$ac_clean_files_save
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2981 $as_echo_n "checking for suffix of object files... " >&6; }
2982 if ${ac_cv_objext+:} false
; then :
2983 $as_echo_n "(cached) " >&6
2985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2996 rm -f conftest.o conftest.obj
2997 if { { ac_try
="$ac_compile"
2999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3003 $as_echo "$ac_try_echo"; } >&5
3004 (eval "$ac_compile") 2>&5
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }; then :
3008 for ac_file in conftest.o conftest.obj conftest.*; do
3009 test -f "$ac_file" || continue;
3011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3012 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3017 $as_echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3023 See \
`config.log' for more details" "$LINENO" 5; }
3025 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3028 $as_echo "$ac_cv_objext" >&6; }
3029 OBJEXT=$ac_cv_objext
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3032 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3033 if ${ac_cv_c_compiler_gnu+:} false; then :
3034 $as_echo_n "(cached) " >&6
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3050 if ac_fn_c_try_compile "$LINENO"; then :
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3060 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3061 if test $ac_compiler_gnu = yes; then
3066 ac_test_CFLAGS=${CFLAGS+set}
3067 ac_save_CFLAGS=$CFLAGS
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3069 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3070 if ${ac_cv_prog_cc_g+:} false; then :
3071 $as_echo_n "(cached) " >&6
3073 ac_save_c_werror_flag=$ac_c_werror_flag
3074 ac_c_werror_flag=yes
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3088 if ac_fn_c_try_compile "$LINENO"; then :
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3103 if ac_fn_c_try_compile "$LINENO"; then :
3106 ac_c_werror_flag=$ac_save_c_werror_flag
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3119 if ac_fn_c_try_compile "$LINENO"; then :
3122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 ac_c_werror_flag=$ac_save_c_werror_flag
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3130 $as_echo "$ac_cv_prog_cc_g" >&6; }
3131 if test "$ac_test_CFLAGS" = set; then
3132 CFLAGS=$ac_save_CFLAGS
3133 elif test $ac_cv_prog_cc_g = yes; then
3134 if test "$GCC" = yes; then
3140 if test "$GCC" = yes; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3147 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3148 if ${ac_cv_prog_cc_c89+:} false; then :
3149 $as_echo_n "(cached) " >&6
3151 ac_cv_prog_cc_c89=no
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3158 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3159 struct buf { int x; };
3160 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3161 static char *e (p, i)
3167 static char *f (char * (*g) (char **, int), char **p, ...)
3172 s = g (p, va_arg (v,int));
3177 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3178 function prototypes and stuff, but not '\xHH' hex character constants.
3179 These don't provoke an error unfortunately, instead are silently treated
3180 as 'x'. The following induces an error, until -std is added to get
3181 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3182 array size at least. It's necessary to write '\x00'==0 to get something
3183 that's true only with -std. */
3184 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3186 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3187 inside strings and character constants. */
3189 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3191 int test (int i, double x);
3192 struct s1 {int (*f) (int a);};
3193 struct s2 {int (*f) (double a);};
3194 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3200 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3205 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3206 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3208 CC="$ac_save_CC $ac_arg"
3209 if ac_fn_c_try_compile "$LINENO"; then :
3210 ac_cv_prog_cc_c89=$ac_arg
3212 rm -f core conftest.err conftest.$ac_objext
3213 test "x$ac_cv_prog_cc_c89" != "xno" && break
3215 rm -f conftest.$ac_ext
3220 case "x$ac_cv_prog_cc_c89" in
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3223 $as_echo "none needed" >&6; } ;;
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3226 $as_echo "unsupported" >&6; } ;;
3228 CC="$CC $ac_cv_prog_cc_c89"
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3230 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3232 if test "x$ac_cv_prog_cc_c89" != xno; then :
3237 ac_cpp='$CPP $CPPFLAGS'
3238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3243 ac_cpp='$CPP $CPPFLAGS'
3244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3248 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3249 if ${am_cv_prog_cc_c_o+:} false; then :
3250 $as_echo_n "(cached) " >&6
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3263 # Make sure it works both with $CC and with simple cc.
3264 # Following AC_PROG_CC_C_O, we do the test twice because some
3265 # compilers refuse to overwrite an existing .o file with -o,
3266 # though they will create one.
3267 am_cv_prog_cc_c_o=yes
3269 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3270 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); } \
3274 && test -f conftest2.$ac_objext; then
3277 am_cv_prog_cc_c_o=no
3281 rm -f core conftest*
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3285 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3286 if test "$am_cv_prog_cc_c_o" != yes; then
3287 # Losing compiler, so override with the script.
3288 # FIXME: It is wrong to rewrite CC.
3289 # But if we don't then we get into trouble of one sort or another.
3290 # A longer-term fix would be to have automake use am__CC in this case,
3291 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3292 CC="$am_aux_dir/compile $CC"
3295 ac_cpp='$CPP $CPPFLAGS'
3296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3303 ac_cpp='$CPP $CPPFLAGS'
3304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3308 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3309 # On Suns, sometimes $CPP names a directory.
3310 if test -n "$CPP" && test -d "$CPP"; then
3313 if test -z "$CPP"; then
3314 if ${ac_cv_prog_CPP+:} false; then :
3315 $as_echo_n "(cached) " >&6
3317 # Double quotes because CPP needs to be expanded
3318 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3321 for ac_c_preproc_warn_flag in '' yes
3323 # Use a header file that comes with gcc, so configuring glibc
3324 # with a fresh cross-compiler works.
3325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3326 # <limits.h> exists even on freestanding compilers.
3327 # On the NeXT, cc -E runs the code through the compiler's parser,
3328 # not just through cpp. "Syntax error" is here to catch this case.
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3332 # include <limits.h>
3334 # include <assert.h>
3338 if ac_fn_c_try_cpp "$LINENO"; then :
3341 # Broken: fails on valid input.
3344 rm -f conftest.err conftest.i conftest.$ac_ext
3346 # OK, works on sane cases. Now check whether nonexistent headers
3347 # can be detected and how.
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3350 #include <ac_nonexistent.h>
3352 if ac_fn_c_try_cpp "$LINENO"; then :
3353 # Broken: success on invalid input.
3356 # Passes both tests.
3360 rm -f conftest.err conftest.i conftest.$ac_ext
3363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3364 rm -f conftest.i conftest.err conftest.
$ac_ext
3365 if $ac_preproc_ok; then :
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3378 $as_echo "$CPP" >&6; }
3380 for ac_c_preproc_warn_flag
in '' yes
3382 # Use a header file that comes with gcc, so configuring glibc
3383 # with a fresh cross-compiler works.
3384 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3385 # <limits.h> exists even on freestanding compilers.
3386 # On the NeXT, cc -E runs the code through the compiler's parser,
3387 # not just through cpp. "Syntax error" is here to catch this case.
3388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3391 # include <limits.h>
3393 # include <assert.h>
3397 if ac_fn_c_try_cpp
"$LINENO"; then :
3400 # Broken: fails on valid input.
3403 rm -f conftest.err conftest.i conftest.
$ac_ext
3405 # OK, works on sane cases. Now check whether nonexistent headers
3406 # can be detected and how.
3407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3409 #include <ac_nonexistent.h>
3411 if ac_fn_c_try_cpp
"$LINENO"; then :
3412 # Broken: success on invalid input.
3415 # Passes both tests.
3419 rm -f conftest.err conftest.i conftest.
$ac_ext
3422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3423 rm -f conftest.i conftest.err conftest.
$ac_ext
3424 if $ac_preproc_ok; then :
3427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3430 See \`config.log' for more details" "$LINENO" 5; }
3434 ac_cpp
='$CPP $CPPFLAGS'
3435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3441 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3442 if ${ac_cv_path_GREP+:} false
; then :
3443 $as_echo_n "(cached) " >&6
3445 if test -z "$GREP"; then
3446 ac_path_GREP_found
=false
3447 # Loop through the user's path and test for each of PROGNAME-LIST
3448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3449 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3452 test -z "$as_dir" && as_dir
=.
3453 for ac_prog
in grep ggrep
; do
3454 for ac_exec_ext
in '' $ac_executable_extensions; do
3455 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3456 as_fn_executable_p
"$ac_path_GREP" ||
continue
3457 # Check for GNU ac_path_GREP and select it if it is found.
3458 # Check for GNU $ac_path_GREP
3459 case `"$ac_path_GREP" --version 2>&1` in
3461 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3464 $as_echo_n 0123456789 >"conftest.in"
3467 cat "conftest.in" "conftest.in" >"conftest.tmp"
3468 mv "conftest.tmp" "conftest.in"
3469 cp "conftest.in" "conftest.nl"
3470 $as_echo 'GREP' >> "conftest.nl"
3471 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3472 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3473 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3474 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3475 # Best one so far, save it but keep looking for a better one
3476 ac_cv_path_GREP
="$ac_path_GREP"
3477 ac_path_GREP_max
=$ac_count
3479 # 10*(2^10) chars as input seems more than enough
3480 test $ac_count -gt 10 && break
3482 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3485 $ac_path_GREP_found && break 3
3490 if test -z "$ac_cv_path_GREP"; then
3491 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3494 ac_cv_path_GREP
=$GREP
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3499 $as_echo "$ac_cv_path_GREP" >&6; }
3500 GREP
="$ac_cv_path_GREP"
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3504 $as_echo_n "checking for egrep... " >&6; }
3505 if ${ac_cv_path_EGREP+:} false
; then :
3506 $as_echo_n "(cached) " >&6
3508 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3509 then ac_cv_path_EGREP
="$GREP -E"
3511 if test -z "$EGREP"; then
3512 ac_path_EGREP_found
=false
3513 # Loop through the user's path and test for each of PROGNAME-LIST
3514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3515 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3518 test -z "$as_dir" && as_dir
=.
3519 for ac_prog
in egrep; do
3520 for ac_exec_ext
in '' $ac_executable_extensions; do
3521 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3522 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3523 # Check for GNU ac_path_EGREP and select it if it is found.
3524 # Check for GNU $ac_path_EGREP
3525 case `"$ac_path_EGREP" --version 2>&1` in
3527 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3530 $as_echo_n 0123456789 >"conftest.in"
3533 cat "conftest.in" "conftest.in" >"conftest.tmp"
3534 mv "conftest.tmp" "conftest.in"
3535 cp "conftest.in" "conftest.nl"
3536 $as_echo 'EGREP' >> "conftest.nl"
3537 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3538 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3539 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3540 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3541 # Best one so far, save it but keep looking for a better one
3542 ac_cv_path_EGREP
="$ac_path_EGREP"
3543 ac_path_EGREP_max
=$ac_count
3545 # 10*(2^10) chars as input seems more than enough
3546 test $ac_count -gt 10 && break
3548 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3551 $ac_path_EGREP_found && break 3
3556 if test -z "$ac_cv_path_EGREP"; then
3557 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3560 ac_cv_path_EGREP
=$EGREP
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3566 $as_echo "$ac_cv_path_EGREP" >&6; }
3567 EGREP
="$ac_cv_path_EGREP"
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3571 $as_echo_n "checking for ANSI C header files... " >&6; }
3572 if ${ac_cv_header_stdc+:} false
; then :
3573 $as_echo_n "(cached) " >&6
3575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3590 if ac_fn_c_try_compile
"$LINENO"; then :
3591 ac_cv_header_stdc
=yes
3593 ac_cv_header_stdc
=no
3595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3597 if test $ac_cv_header_stdc = yes; then
3598 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3605 $EGREP "memchr" >/dev
/null
2>&1; then :
3608 ac_cv_header_stdc
=no
3614 if test $ac_cv_header_stdc = yes; then
3615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3617 /* end confdefs.h. */
3621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3622 $EGREP "free" >/dev
/null
2>&1; then :
3625 ac_cv_header_stdc
=no
3631 if test $ac_cv_header_stdc = yes; then
3632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3633 if test "$cross_compiling" = yes; then :
3636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */
3640 #if ((' ' & 0x0FF) == 0x020)
3641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3644 # define ISLOWER(c) \
3645 (('a' <= (c) && (c) <= 'i') \
3646 || ('j' <= (c) && (c) <= 'r') \
3647 || ('s' <= (c) && (c) <= 'z'))
3648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3656 for (i = 0; i < 256; i++)
3657 if (XOR (islower (i), ISLOWER (i))
3658 || toupper (i) != TOUPPER (i))
3663 if ac_fn_c_try_run
"$LINENO"; then :
3666 ac_cv_header_stdc
=no
3668 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3669 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3675 $as_echo "$ac_cv_header_stdc" >&6; }
3676 if test $ac_cv_header_stdc = yes; then
3678 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3682 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3683 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3684 inttypes.h stdint.h unistd.h
3686 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3687 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3689 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3690 cat >>confdefs.h
<<_ACEOF
3691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3700 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3701 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3708 if test "$MINIX" = yes; then
3710 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3713 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3716 $as_echo "#define _MINIX 1" >>confdefs.h
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3722 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3723 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3724 $as_echo_n "(cached) " >&6
3726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3729 # define __EXTENSIONS__ 1
3730 $ac_includes_default
3739 if ac_fn_c_try_compile
"$LINENO"; then :
3740 ac_cv_safe_to_define___extensions__
=yes
3742 ac_cv_safe_to_define___extensions__
=no
3744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3747 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3748 test $ac_cv_safe_to_define___extensions__ = yes &&
3749 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3751 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3753 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3755 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3757 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3760 am__api_version
='1.15'
3762 # Find a good install program. We prefer a C program (faster),
3763 # so one script is as good as another. But avoid the broken or
3764 # incompatible versions:
3765 # SysV /etc/install, /usr/sbin/install
3766 # SunOS /usr/etc/install
3767 # IRIX /sbin/install
3769 # AmigaOS /C/install, which installs bootblocks on floppy discs
3770 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3771 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3772 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3773 # OS/2's system install, which has a completely different semantic
3774 # ./install, which can be erroneously created by make from ./install.sh.
3775 # Reject install programs that cannot install multiple files.
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3777 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3778 if test -z "$INSTALL"; then
3779 if ${ac_cv_path_install+:} false
; then :
3780 $as_echo_n "(cached) " >&6
3782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3786 test -z "$as_dir" && as_dir
=.
3787 # Account for people who put trailing slashes in PATH elements.
3788 case $as_dir/ in #((
3789 .
/ | .
// |
/[cC
]/* | \
3790 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3791 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3794 # OSF1 and SCO ODT 3.0 have their own names for install.
3795 # Don't use installbsd from OSF since it installs stuff as root
3797 for ac_prog
in ginstall scoinst
install; do
3798 for ac_exec_ext
in '' $ac_executable_extensions; do
3799 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3800 if test $ac_prog = install &&
3801 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3802 # AIX install. It has an incompatible calling convention.
3804 elif test $ac_prog = install &&
3805 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3806 # program-specific install script used by HP pwplus--don't use.
3809 rm -rf conftest.one conftest.two conftest.dir
3810 echo one
> conftest.one
3811 echo two
> conftest.two
3813 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3814 test -s conftest.one
&& test -s conftest.two
&&
3815 test -s conftest.dir
/conftest.one
&&
3816 test -s conftest.dir
/conftest.two
3818 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3831 rm -rf conftest.one conftest.two conftest.dir
3834 if test "${ac_cv_path_install+set}" = set; then
3835 INSTALL
=$ac_cv_path_install
3837 # As a last resort, use the slow shell script. Don't cache a
3838 # value for INSTALL within a source directory, because that will
3839 # break other packages using the cache if that directory is
3840 # removed, or if the value is a relative name.
3841 INSTALL
=$ac_install_sh
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3845 $as_echo "$INSTALL" >&6; }
3847 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3848 # It thinks the first close brace ends the variable substitution.
3849 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3851 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3853 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3856 $as_echo_n "checking whether build environment is sane... " >&6; }
3857 # Reject unsafe characters in $srcdir or the absolute working directory
3858 # name. Accept space and tab only in the latter.
3862 *[\\\"\
#\$\&\'\`$am_lf]*)
3863 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3866 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3867 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3870 # Do 'set' in a subshell so we don't clobber the current shell's
3871 # arguments. Must try -L first in case configure is actually a
3872 # symlink; some systems play weird games with the mod time of symlinks
3873 # (eg FreeBSD returns the mod time of the symlink's containing
3877 for am_try
in 1 2; do
3878 echo "timestamp, slept: $am_has_slept" > conftest.
file
3879 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3880 if test "$*" = "X"; then
3882 set X
`ls -t "$srcdir/configure" conftest.file`
3884 if test "$*" != "X $srcdir/configure conftest.file" \
3885 && test "$*" != "X conftest.file $srcdir/configure"; then
3887 # If neither matched, then we have a broken ls. This can happen
3888 # if, for instance, CONFIG_SHELL is bash and it inherits a
3889 # broken ls alias from the environment. This has actually
3890 # happened. Such a system could not be considered "sane".
3891 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3892 alias in your environment" "$LINENO" 5
3894 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3901 test "$2" = conftest.
file
3907 as_fn_error $?
"newly created file is older than distributed files!
3908 Check your system clock" "$LINENO" 5
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3911 $as_echo "yes" >&6; }
3912 # If we didn't sleep, we still need to ensure time stamps of config.status and
3913 # generated files are strictly newer.
3915 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3922 test "$program_prefix" != NONE
&&
3923 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3924 # Use a double $ so make ignores it.
3925 test "$program_suffix" != NONE
&&
3926 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3927 # Double any \ or $.
3928 # By default was `s,x,x', remove it if useless.
3929 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3930 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3932 if test x
"${MISSING+set}" != xset
; then
3935 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3937 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3940 # Use eval to expand $SHELL
3941 if eval "$MISSING --is-lightweight"; then
3942 am_missing_run
="$MISSING "
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3946 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3949 if test x
"${install_sh+set}" != xset
; then
3952 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3954 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3958 # Installed binaries are usually stripped using 'strip' when the user
3959 # run "make install-strip". However 'strip' might not be the right
3960 # tool to use in cross-compilation environments, therefore Automake
3961 # will honor the 'STRIP' environment variable to overrule this program.
3962 if test "$cross_compiling" != no
; then
3963 if test -n "$ac_tool_prefix"; then
3964 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3965 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if ${ac_cv_prog_STRIP+:} false
; then :
3969 $as_echo_n "(cached) " >&6
3971 if test -n "$STRIP"; then
3972 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3978 test -z "$as_dir" && as_dir
=.
3979 for ac_exec_ext
in '' $ac_executable_extensions; do
3980 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3981 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3991 STRIP
=$ac_cv_prog_STRIP
3992 if test -n "$STRIP"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3994 $as_echo "$STRIP" >&6; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
4002 if test -z "$ac_cv_prog_STRIP"; then
4004 # Extract the first word of "strip", so it can be a program name with args.
4005 set dummy strip
; ac_word
=$2
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007 $as_echo_n "checking for $ac_word... " >&6; }
4008 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4009 $as_echo_n "(cached) " >&6
4011 if test -n "$ac_ct_STRIP"; then
4012 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4018 test -z "$as_dir" && as_dir
=.
4019 for ac_exec_ext
in '' $ac_executable_extensions; do
4020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4021 ac_cv_prog_ac_ct_STRIP
="strip"
4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4032 if test -n "$ac_ct_STRIP"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4034 $as_echo "$ac_ct_STRIP" >&6; }
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4040 if test "x$ac_ct_STRIP" = x
; then
4043 case $cross_compiling:$ac_tool_warned in
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4047 ac_tool_warned
=yes ;;
4052 STRIP
="$ac_cv_prog_STRIP"
4056 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4059 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4060 if test -z "$MKDIR_P"; then
4061 if ${ac_cv_path_mkdir+:} false
; then :
4062 $as_echo_n "(cached) " >&6
4064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4065 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4068 test -z "$as_dir" && as_dir
=.
4069 for ac_prog
in mkdir gmkdir
; do
4070 for ac_exec_ext
in '' $ac_executable_extensions; do
4071 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4072 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4073 'mkdir (GNU coreutils) '* | \
4074 'mkdir (coreutils) '* | \
4075 'mkdir (fileutils) '4.1*)
4076 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4086 test -d .
/--version && rmdir .
/--version
4087 if test "${ac_cv_path_mkdir+set}" = set; then
4088 MKDIR_P
="$ac_cv_path_mkdir -p"
4090 # As a last resort, use the slow shell script. Don't cache a
4091 # value for MKDIR_P within a source directory, because that will
4092 # break other packages using the cache if that directory is
4093 # removed, or if the value is a relative name.
4094 MKDIR_P
="$ac_install_sh -d"
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4098 $as_echo "$MKDIR_P" >&6; }
4100 for ac_prog
in gawk mawk nawk
awk
4102 # Extract the first word of "$ac_prog", so it can be a program name with args.
4103 set dummy
$ac_prog; ac_word
=$2
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4105 $as_echo_n "checking for $ac_word... " >&6; }
4106 if ${ac_cv_prog_AWK+:} false
; then :
4107 $as_echo_n "(cached) " >&6
4109 if test -n "$AWK"; then
4110 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4116 test -z "$as_dir" && as_dir
=.
4117 for ac_exec_ext
in '' $ac_executable_extensions; do
4118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4119 ac_cv_prog_AWK
="$ac_prog"
4120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 if test -n "$AWK"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4132 $as_echo "$AWK" >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4139 test -n "$AWK" && break
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4143 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4145 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4146 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4147 $as_echo_n "(cached) " >&6
4149 cat >conftest.
make <<\_ACEOF
4152 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4154 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4155 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4157 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4159 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4163 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4165 $as_echo "yes" >&6; }
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4169 $as_echo "no" >&6; }
4170 SET_MAKE
="MAKE=${MAKE-make}"
4173 rm -rf .tst
2>/dev
/null
4174 mkdir .tst
2>/dev
/null
4175 if test -d .tst
; then
4180 rmdir .tst
2>/dev
/null
4182 DEPDIR
="${am__leading_dot}deps"
4184 ac_config_commands
="$ac_config_commands depfiles"
4187 am_make
=${MAKE-make}
4188 cat > confinc
<< 'END'
4190 @
echo this is the am__doit target
4193 # If we don't find an include directive, just comment out the code.
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4195 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4199 # First try GNU make style include.
4200 echo "include confinc" > confmf
4201 # Ignore all kinds of additional output from 'make'.
4202 case `$am_make -s -f confmf 2> /dev/null` in #(
4203 *the\ am__doit\ target
*)
4209 # Now try BSD make style include.
4210 if test "$am__include" = "#"; then
4211 echo '.include "confinc"' > confmf
4212 case `$am_make -s -f confmf 2> /dev/null` in #(
4213 *the\ am__doit\ target
*)
4214 am__include
=.include
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4223 $as_echo "$_am_result" >&6; }
4224 rm -f confinc confmf
4226 # Check whether --enable-dependency-tracking was given.
4227 if test "${enable_dependency_tracking+set}" = set; then :
4228 enableval
=$enable_dependency_tracking;
4231 if test "x$enable_dependency_tracking" != xno
; then
4232 am_depcomp
="$ac_aux_dir/depcomp"
4236 if test "x$enable_dependency_tracking" != xno; then
4245 # Check whether --enable-silent-rules was given.
4246 if test "${enable_silent_rules+set}" = set; then :
4247 enableval
=$enable_silent_rules;
4250 case $enable_silent_rules in # (((
4251 yes) AM_DEFAULT_VERBOSITY
=0;;
4252 no
) AM_DEFAULT_VERBOSITY
=1;;
4253 *) AM_DEFAULT_VERBOSITY
=1;;
4255 am_make
=${MAKE-make}
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4257 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4258 if ${am_cv_make_support_nested_variables+:} false
; then :
4259 $as_echo_n "(cached) " >&6
4261 if $as_echo 'TRUE=$(BAR$(V))
4267 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4268 am_cv_make_support_nested_variables
=yes
4270 am_cv_make_support_nested_variables
=no
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4274 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4275 if test $am_cv_make_support_nested_variables = yes; then
4277 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4279 AM_V
=$AM_DEFAULT_VERBOSITY
4280 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4284 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4285 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4286 # is not polluted with repeated "-I."
4287 am__isrc
=' -I$(srcdir)'
4288 # test to see if srcdir already configured
4289 if test -f $srcdir/config.status
; then
4290 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4294 # test whether we have cygpath
4295 if test -z "$CYGPATH_W"; then
4296 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4297 CYGPATH_W
='cygpath -w'
4304 # Define the identity of the package.
4309 cat >>confdefs.h
<<_ACEOF
4310 #define PACKAGE "$PACKAGE"
4314 cat >>confdefs.h
<<_ACEOF
4315 #define VERSION "$VERSION"
4318 # Some tools Automake needs.
4320 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4323 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4326 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4329 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4332 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4334 # For better backward compatibility. To be removed once Automake 1.9.x
4335 # dies out for good. For more background, see:
4336 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4337 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4338 mkdir_p
='$(MKDIR_P)'
4340 # We need awk for the "check" target (and possibly the TAP driver). The
4341 # system "awk" is bad on some platforms.
4342 # Always define AMTAR for backward compatibility. Yes, it's still used
4343 # in the wild :-( We should find a proper way to deprecate it ...
4347 # We'll loop over all known methods to create a tar archive until one works.
4348 _am_tools
='gnutar pax cpio none'
4350 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4356 depcc
="$CC" am_compiler_list
=
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4359 $as_echo_n "checking dependency style of $depcc... " >&6; }
4360 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4361 $as_echo_n "(cached) " >&6
4363 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4364 # We make a subdir and do the tests there. Otherwise we can end up
4365 # making bogus files that we don't know about and never remove. For
4366 # instance it was reported that on HP-UX the gcc test will end up
4367 # making a dummy file named 'D' -- because '-MD' means "put the output
4371 # Copy depcomp to subdir because otherwise we won't find it if we're
4372 # using a relative directory.
4373 cp "$am_depcomp" conftest.dir
4375 # We will build objects and dependencies in a subdirectory because
4376 # it helps to detect inapplicable dependency modes. For instance
4377 # both Tru64's cc and ICC support -MD to output dependencies as a
4378 # side effect of compilation, but ICC will put the dependencies in
4379 # the current directory while Tru64 will put them in the object
4383 am_cv_CC_dependencies_compiler_type
=none
4384 if test "$am_compiler_list" = ""; then
4385 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4388 case " $depcc " in #(
4389 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4392 for depmode
in $am_compiler_list; do
4393 # Setup a source with many dependencies, because some compilers
4394 # like to wrap large dependency lists on column 80 (with \), and
4395 # we should not choose a depcomp mode which is confused by this.
4397 # We need to recreate these files for each test, as the compiler may
4398 # overwrite some of them when testing with obscure command lines.
4399 # This happens at least with the AIX C compiler.
4401 for i
in 1 2 3 4 5 6; do
4402 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4403 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4404 # Solaris 10 /bin/sh.
4405 echo '/* dummy */' > sub
/conftst
$i.h
4407 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4409 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4410 # mode. It turns out that the SunPro C++ compiler does not properly
4411 # handle '-M -o', and we need to detect this. Also, some Intel
4412 # versions had trouble with output in subdirs.
4413 am__obj
=sub
/conftest.
${OBJEXT-o}
4414 am__minus_obj
="-o $am__obj"
4417 # This depmode causes a compiler race in universal mode.
4418 test "$am__universal" = false ||
continue
4421 # After this tag, mechanisms are not by side-effect, so they'll
4422 # only be used when explicitly requested.
4423 if test "x$enable_dependency_tracking" = xyes
; then
4429 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4430 # This compiler won't grok '-c -o', but also, the minuso test has
4431 # not run yet. These depmodes are late enough in the game, and
4432 # so weak that their functioning should not be impacted.
4433 am__obj
=conftest.
${OBJEXT-o}
4438 if depmode
=$depmode \
4439 source=sub
/conftest.c object
=$am__obj \
4440 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4441 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4442 >/dev
/null
2>conftest.err
&&
4443 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4444 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4445 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4446 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4447 # icc doesn't choke on unknown options, it will just issue warnings
4448 # or remarks (even with -Werror). So we grep stderr for any message
4449 # that says an option was ignored or not supported.
4450 # When given -MP, icc 7.0 and 7.1 complain thusly:
4451 # icc: Command line warning: ignoring option '-M'; no argument required
4452 # The diagnosis changed in icc 8.0:
4453 # icc: Command line remark: option '-MP' not supported
4454 if (grep 'ignoring option' conftest.err ||
4455 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4456 am_cv_CC_dependencies_compiler_type
=$depmode
4465 am_cv_CC_dependencies_compiler_type
=none
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4470 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4471 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4474 test "x$enable_dependency_tracking" != xno \
4475 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4477 am__fastdepCC_FALSE
='#'
4479 am__fastdepCC_TRUE
='#'
4480 am__fastdepCC_FALSE
=
4485 # POSIX will say in a future version that running "rm -f" with no argument
4486 # is OK; and we want to be able to make that assumption in our Makefile
4487 # recipes. So use an aggressive probe to check that the usage we want is
4488 # actually supported "in the wild" to an acceptable degree.
4489 # See automake bug#10828.
4490 # To make any issue more visible, cause the running configure to be aborted
4491 # by default if the 'rm' program in use doesn't match our expectations; the
4492 # user can still override this though.
4493 if rm -f && rm -fr && rm -rf; then : OK
; else
4497 Your 'rm' program seems unable to run without file operands specified
4498 on the command line, even when the '-f' option is present. This is contrary
4499 to the behaviour of most rm programs out there, and not conforming with
4500 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4502 Please tell bug-automake@gnu.org about your system, including the value
4503 of your $PATH and any error possibly output before this message. This
4504 can help us improve future automake versions.
4507 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4508 echo 'Configuration will proceed anyway, since you have set the' >&2
4509 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4513 Aborting the configuration process, to ensure you take notice of the issue.
4515 You can download and install GNU coreutils to get an 'rm' implementation
4516 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4518 If you want to complete the configuration process using your problematic
4519 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4520 to "yes", and re-run configure.
4523 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4528 # Checks for programs.
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4530 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4532 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4533 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4534 $as_echo_n "(cached) " >&6
4536 cat >conftest.
make <<\_ACEOF
4539 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4541 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4542 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4544 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4546 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4550 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4552 $as_echo "yes" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4557 SET_MAKE
="MAKE=${MAKE-make}"
4561 ac_cpp
='$CPP $CPPFLAGS'
4562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4565 if test -n "$ac_tool_prefix"; then
4566 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4567 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if ${ac_cv_prog_CC+:} false
; then :
4571 $as_echo_n "(cached) " >&6
4573 if test -n "$CC"; then
4574 ac_cv_prog_CC
="$CC" # Let the user override the test.
4576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir
=.
4581 for ac_exec_ext
in '' $ac_executable_extensions; do
4582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4583 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 if test -n "$CC"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4596 $as_echo "$CC" >&6; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4604 if test -z "$ac_cv_prog_CC"; then
4606 # Extract the first word of "gcc", so it can be a program name with args.
4607 set dummy gcc
; ac_word
=$2
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 $as_echo_n "checking for $ac_word... " >&6; }
4610 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4611 $as_echo_n "(cached) " >&6
4613 if test -n "$ac_ct_CC"; then
4614 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir
=.
4621 for ac_exec_ext
in '' $ac_executable_extensions; do
4622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4623 ac_cv_prog_ac_ct_CC
="gcc"
4624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4634 if test -n "$ac_ct_CC"; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4636 $as_echo "$ac_ct_CC" >&6; }
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
4642 if test "x$ac_ct_CC" = x
; then
4645 case $cross_compiling:$ac_tool_warned in
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4649 ac_tool_warned
=yes ;;
4657 if test -z "$CC"; then
4658 if test -n "$ac_tool_prefix"; then
4659 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4660 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if ${ac_cv_prog_CC+:} false
; then :
4664 $as_echo_n "(cached) " >&6
4666 if test -n "$CC"; then
4667 ac_cv_prog_CC
="$CC" # Let the user override the test.
4669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir
=.
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 if test -n "$CC"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4689 $as_echo "$CC" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4698 if test -z "$CC"; then
4699 # Extract the first word of "cc", so it can be a program name with args.
4700 set dummy cc
; ac_word
=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if ${ac_cv_prog_CC+:} false
; then :
4704 $as_echo_n "(cached) " >&6
4706 if test -n "$CC"; then
4707 ac_cv_prog_CC
="$CC" # Let the user override the test.
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 test -z "$as_dir" && as_dir
=.
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4717 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4718 ac_prog_rejected
=yes
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 if test $ac_prog_rejected = yes; then
4730 # We found a bogon in the path, so make sure we never use it.
4731 set dummy
$ac_cv_prog_CC
4733 if test $# != 0; then
4734 # We chose a different compiler from the bogus one.
4735 # However, it has the same basename, so the bogon will be chosen
4736 # first if we set CC to just the basename; use the full file name.
4738 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4744 if test -n "$CC"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4746 $as_echo "$CC" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4754 if test -z "$CC"; then
4755 if test -n "$ac_tool_prefix"; then
4756 for ac_prog
in cl.exe
4758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4759 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 $as_echo_n "checking for $ac_word... " >&6; }
4762 if ${ac_cv_prog_CC+:} false
; then :
4763 $as_echo_n "(cached) " >&6
4765 if test -n "$CC"; then
4766 ac_cv_prog_CC
="$CC" # Let the user override the test.
4768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4772 test -z "$as_dir" && as_dir
=.
4773 for ac_exec_ext
in '' $ac_executable_extensions; do
4774 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4775 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4786 if test -n "$CC"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4788 $as_echo "$CC" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4795 test -n "$CC" && break
4798 if test -z "$CC"; then
4800 for ac_prog
in cl.exe
4802 # Extract the first word of "$ac_prog", so it can be a program name with args.
4803 set dummy
$ac_prog; ac_word
=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4807 $as_echo_n "(cached) " >&6
4809 if test -n "$ac_ct_CC"; then
4810 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4816 test -z "$as_dir" && as_dir
=.
4817 for ac_exec_ext
in '' $ac_executable_extensions; do
4818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4819 ac_cv_prog_ac_ct_CC
="$ac_prog"
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4830 if test -n "$ac_ct_CC"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4832 $as_echo "$ac_ct_CC" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4839 test -n "$ac_ct_CC" && break
4842 if test "x$ac_ct_CC" = x
; then
4845 case $cross_compiling:$ac_tool_warned in
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4849 ac_tool_warned
=yes ;;
4858 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error $?
"no acceptable C compiler found in \$PATH
4861 See \`config.log' for more details" "$LINENO" 5; }
4863 # Provide some information about the compiler.
4864 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4867 for ac_option
in --version -v -V -qversion; do
4868 { { ac_try
="$ac_compiler $ac_option >&5"
4870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4871 *) ac_try_echo=$ac_try;;
4873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4874 $as_echo "$ac_try_echo"; } >&5
4875 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4877 if test -s conftest.err; then
4879 ... rest of stderr output deleted ...
4880 10q' conftest.err >conftest.er1
4881 cat conftest.er1 >&5
4883 rm -f conftest.er1 conftest.err
4884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4885 test $ac_status = 0; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4889 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4890 if ${ac_cv_c_compiler_gnu+:} false; then :
4891 $as_echo_n "(cached) " >&6
4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4907 if ac_fn_c_try_compile "$LINENO"; then :
4912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4913 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4917 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4918 if test $ac_compiler_gnu = yes; then
4923 ac_test_CFLAGS=${CFLAGS+set}
4924 ac_save_CFLAGS=$CFLAGS
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4926 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4927 if ${ac_cv_prog_cc_g+:} false; then :
4928 $as_echo_n "(cached) " >&6
4930 ac_save_c_werror_flag=$ac_c_werror_flag
4931 ac_c_werror_flag=yes
4934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4945 if ac_fn_c_try_compile "$LINENO"; then :
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4960 if ac_fn_c_try_compile "$LINENO"; then :
4963 ac_c_werror_flag=$ac_save_c_werror_flag
4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4976 if ac_fn_c_try_compile "$LINENO"; then :
4979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4984 ac_c_werror_flag=$ac_save_c_werror_flag
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4987 $as_echo "$ac_cv_prog_cc_g" >&6; }
4988 if test "$ac_test_CFLAGS" = set; then
4989 CFLAGS=$ac_save_CFLAGS
4990 elif test $ac_cv_prog_cc_g = yes; then
4991 if test "$GCC" = yes; then
4997 if test "$GCC" = yes; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5004 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5005 if ${ac_cv_prog_cc_c89+:} false; then :
5006 $as_echo_n "(cached) " >&6
5008 ac_cv_prog_cc_c89=no
5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5015 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5016 struct buf { int x; };
5017 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5018 static char *e (p, i)
5024 static char *f (char * (*g) (char **, int), char **p, ...)
5029 s = g (p, va_arg (v,int));
5034 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5035 function prototypes and stuff, but not '\xHH' hex character constants.
5036 These don't provoke an error unfortunately, instead are silently treated
5037 as 'x'. The following induces an error, until -std is added to get
5038 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5039 array size at least. It's necessary to write '\x00'==0 to get something
5040 that's true only with -std. */
5041 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5043 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5044 inside strings and character constants. */
5046 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5048 int test (int i, double x);
5049 struct s1 {int (*f) (int a);};
5050 struct s2 {int (*f) (double a);};
5051 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5057 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5062 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5063 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5065 CC="$ac_save_CC $ac_arg"
5066 if ac_fn_c_try_compile "$LINENO"; then :
5067 ac_cv_prog_cc_c89=$ac_arg
5069 rm -f core conftest.err conftest.$ac_objext
5070 test "x$ac_cv_prog_cc_c89" != "xno" && break
5072 rm -f conftest.$ac_ext
5077 case "x$ac_cv_prog_cc_c89" in
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5080 $as_echo "none needed" >&6; } ;;
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5083 $as_echo "unsupported" >&6; } ;;
5085 CC="$CC $ac_cv_prog_cc_c89"
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5087 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5089 if test "x$ac_cv_prog_cc_c89" != xno; then :
5094 ac_cpp='$CPP $CPPFLAGS'
5095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5100 ac_cpp='$CPP $CPPFLAGS'
5101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5105 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5106 if ${am_cv_prog_cc_c_o+:} false; then :
5107 $as_echo_n "(cached) " >&6
5109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5120 # Make sure it works both with $CC and with simple cc.
5121 # Following AC_PROG_CC_C_O, we do the test twice because some
5122 # compilers refuse to overwrite an existing .o file with -o,
5123 # though they will create one.
5124 am_cv_prog_cc_c_o=yes
5126 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5127 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } \
5131 && test -f conftest2.$ac_objext; then
5134 am_cv_prog_cc_c_o=no
5138 rm -f core conftest*
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5142 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5143 if test "$am_cv_prog_cc_c_o" != yes; then
5144 # Losing compiler, so override with the script.
5145 # FIXME: It is wrong to rewrite CC.
5146 # But if we don't then we get into trouble of one sort or another.
5147 # A longer-term fix would be to have automake use am__CC in this case,
5148 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5149 CC="$am_aux_dir/compile $CC"
5152 ac_cpp='$CPP $CPPFLAGS'
5153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5158 if test -n "$ac_tool_prefix"; then
5159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5160 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_prog_RANLIB+:} false; then :
5164 $as_echo_n "(cached) " >&6
5166 if test -n "$RANLIB"; then
5167 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 RANLIB=$ac_cv_prog_RANLIB
5187 if test -n "$RANLIB"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5189 $as_echo "$RANLIB" >&6; }
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5197 if test -z "$ac_cv_prog_RANLIB"; then
5198 ac_ct_RANLIB=$RANLIB
5199 # Extract the first word of "ranlib", so it can be a program name with args.
5200 set dummy ranlib; ac_word=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202 $as_echo_n "checking for $ac_word... " >&6; }
5203 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5204 $as_echo_n "(cached) " >&6
5206 if test -n "$ac_ct_RANLIB"; then
5207 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_ac_ct_RANLIB="ranlib"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5227 if test -n "$ac_ct_RANLIB"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5229 $as_echo "$ac_ct_RANLIB" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5235 if test "x$ac_ct_RANLIB" = x; then
5238 case $cross_compiling:$ac_tool_warned in
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5242 ac_tool_warned=yes ;;
5244 RANLIB=$ac_ct_RANLIB
5247 RANLIB="$ac_cv_prog_RANLIB"
5250 if test -n "$ac_tool_prefix"; then
5251 for ac_prog in ar lib "link -lib"
5253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5254 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5256 $as_echo_n "checking for $ac_word... " >&6; }
5257 if ${ac_cv_prog_AR+:} false; then :
5258 $as_echo_n "(cached) " >&6
5260 if test -n "$AR"; then
5261 ac_cv_prog_AR="$AR" # Let the user override the test.
5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 test -z "$as_dir" && as_dir=.
5268 for ac_exec_ext in '' $ac_executable_extensions; do
5269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 if test -n "$AR"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5283 $as_echo "$AR" >&6; }
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5290 test -n "$AR" && break
5293 if test -z "$AR"; then
5295 for ac_prog in ar lib "link -lib"
5297 # Extract the first word of "$ac_prog", so it can be a program name with args.
5298 set dummy $ac_prog; ac_word=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -n "$ac_ct_AR"; then
5305 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_ac_ct_AR="$ac_prog"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5325 if test -n "$ac_ct_AR"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5327 $as_echo "$ac_ct_AR" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5334 test -n "$ac_ct_AR" && break
5337 if test "x$ac_ct_AR" = x; then
5340 case $cross_compiling:$ac_tool_warned in
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5344 ac_tool_warned=yes ;;
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5353 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5354 if ${am_cv_ar_interface+:} false; then :
5355 $as_echo_n "(cached) " >&6
5358 ac_cpp='$CPP $CPPFLAGS'
5359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5363 am_cv_ar_interface=ar
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5366 int some_variable = 0;
5368 if ac_fn_c_try_compile "$LINENO"; then :
5369 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5370 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5371 (eval $am_ar_try) 2>&5
5373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5374 test $ac_status = 0; }
5375 if test "$ac_status" -eq 0; then
5376 am_cv_ar_interface=ar
5378 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5379 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5380 (eval $am_ar_try) 2>&5
5382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5383 test $ac_status = 0; }
5384 if test "$ac_status" -eq 0; then
5385 am_cv_ar_interface=lib
5387 am_cv_ar_interface=unknown
5390 rm -f conftest.lib libconftest.a
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 ac_cpp='$CPP $CPPFLAGS'
5396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5402 $as_echo "$am_cv_ar_interface" >&6; }
5404 case $am_cv_ar_interface in
5408 # Microsoft lib, so override with the ar-lib wrapper script.
5409 # FIXME: It is wrong to rewrite AR.
5410 # But if we don't then we get into trouble of one sort or another.
5411 # A longer-term fix would be to have automake use am__AR in this case,
5412 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5414 AR="$am_aux_dir/ar-lib $AR"
5417 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5421 # If we haven't got the data from the intl directory,
5422 # assume NLS is disabled.
5431 if test -f ../intl/config.intl; then
5432 . ../intl/config.intl
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5435 $as_echo_n "checking whether NLS is requested... " >&6; }
5436 if test x"$USE_NLS" != xyes; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5441 $as_echo "yes" >&6; }
5443 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5447 $as_echo_n "checking for catalogs to be installed... " >&6; }
5448 # Look for .po and .gmo files in the source directory.
5451 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
5452 # If there aren't any .gmo files the shell will give us the
5453 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5455 case "$cat" in *\**)
5458 # The quadruple backslash is collapsed to a double backslash
5459 # by the backticks, then collapsed again by the double quotes,
5460 # leaving us with one backslash in the sed expression (right
5461 # before the dot that mustn't act as a wildcard).
5462 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5463 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
5464 # The user is allowed to set LINGUAS to a list of languages to
5465 # install catalogs for. If it's empty that means "all of them."
5466 if test "x$LINGUAS" = x; then
5467 CATALOGS="$CATALOGS $cat"
5468 XLINGUAS="$XLINGUAS $lang"
5470 case "$LINGUAS" in *$lang*)
5471 CATALOGS="$CATALOGS $cat"
5472 XLINGUAS="$XLINGUAS $lang"
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5479 $as_echo "$LINGUAS" >&6; }
5492 # Check whether --enable-shared was given.
5493 if test "${enable_shared+set}" = set; then :
5494 enableval=$enable_shared; p=${PACKAGE-default}
5496 yes) enable_shared=yes ;;
5497 no) enable_shared=no ;;
5500 # Look at the argument we got. We use all the common list separators.
5501 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5502 for pkg in $enableval; do
5504 if test "X$pkg" = "X$p"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5527 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5532 macro_version='2.2.7a'
5533 macro_revision='1.3134'
5547 ltmain="$ac_aux_dir/ltmain.sh"
5549 # Backslashify metacharacters that are still active within
5550 # double-quoted strings.
5551 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5553 # Same as above, but do not quote variable references.
5554 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5556 # Sed substitution to delay expansion of an escaped shell variable in a
5557 # double_quote_subst'ed string.
5558 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5560 # Sed substitution to delay expansion of an escaped single quote.
5561 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5563 # Sed substitution to avoid accidental globbing in evaled expressions
5564 no_glob_subst='s/\*/\\\*/g'
5566 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5567 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5568 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5571 $as_echo_n "checking how to print
strings...
" >&6; }
5572 # Test print first, because it will be a builtin if present.
5573 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5574 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5576 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5579 # Use this function as a fallback that always works.
5580 func_fallback_echo ()
5582 eval 'cat <<_LTECHO_EOF
5586 ECHO='func_fallback_echo'
5589 # func_echo_all arg...
5590 # Invoke $ECHO with all args, space-separated.
5597 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5598 $as_echo "printf" >&6; } ;;
5599 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5600 $as_echo "print
-r" >&6; } ;;
5601 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5602 $as_echo "cat" >&6; } ;;
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5619 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5620 if ${ac_cv_path_SED+:} false; then :
5621 $as_echo_n "(cached
) " >&6
5623 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5624 for ac_i in 1 2 3 4 5 6 7; do
5625 ac_script="$ac_script$as_nl$ac_script"
5627 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5628 { ac_script=; unset ac_script;}
5629 if test -z "$SED"; then
5630 ac_path_SED_found=false
5631 # Loop through the user's path and test for each of PROGNAME-LIST
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir=.
5637 for ac_prog in sed gsed; do
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5640 as_fn_executable_p "$ac_path_SED" || continue
5641 # Check for GNU ac_path_SED and select it if it is found.
5642 # Check for GNU $ac_path_SED
5643 case `"$ac_path_SED" --version 2>&1` in
5645 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5648 $as_echo_n 0123456789 >"conftest.
in"
5651 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5652 mv "conftest.tmp
" "conftest.
in"
5653 cp "conftest.
in" "conftest.
nl"
5654 $as_echo '' >> "conftest.
nl"
5655 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5656 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5657 as_fn_arith $ac_count + 1 && ac_count=$as_val
5658 if test $ac_count -gt ${ac_path_SED_max-0}; then
5659 # Best one so far, save it but keep looking for a better one
5660 ac_cv_path_SED="$ac_path_SED"
5661 ac_path_SED_max=$ac_count
5663 # 10*(2^10) chars as input seems more than enough
5664 test $ac_count -gt 10 && break
5666 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5669 $ac_path_SED_found && break 3
5674 if test -z "$ac_cv_path_SED"; then
5675 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5683 $as_echo "$ac_cv_path_SED" >&6; }
5684 SED="$ac_cv_path_SED"
5687 test -z "$SED" && SED=sed
5688 Xsed="$SED -e 1s
/^X
//"
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5701 $as_echo_n "checking
for fgrep...
" >&6; }
5702 if ${ac_cv_path_FGREP+:} false; then :
5703 $as_echo_n "(cached
) " >&6
5705 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5706 then ac_cv_path_FGREP="$GREP -F"
5708 if test -z "$FGREP"; then
5709 ac_path_FGREP_found=false
5710 # Loop through the user's path and test for each of PROGNAME-LIST
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5715 test -z "$as_dir" && as_dir=.
5716 for ac_prog in fgrep; do
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5719 as_fn_executable_p "$ac_path_FGREP" || continue
5720 # Check for GNU ac_path_FGREP and select it if it is found.
5721 # Check for GNU $ac_path_FGREP
5722 case `"$ac_path_FGREP" --version 2>&1` in
5724 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5727 $as_echo_n 0123456789 >"conftest.
in"
5730 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5731 mv "conftest.tmp
" "conftest.
in"
5732 cp "conftest.
in" "conftest.
nl"
5733 $as_echo 'FGREP' >> "conftest.
nl"
5734 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5735 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5736 as_fn_arith $ac_count + 1 && ac_count=$as_val
5737 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5738 # Best one so far, save it but keep looking for a better one
5739 ac_cv_path_FGREP="$ac_path_FGREP"
5740 ac_path_FGREP_max=$ac_count
5742 # 10*(2^10) chars as input seems more than enough
5743 test $ac_count -gt 10 && break
5745 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5748 $ac_path_FGREP_found && break 3
5753 if test -z "$ac_cv_path_FGREP"; then
5754 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5757 ac_cv_path_FGREP=$FGREP
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5763 $as_echo "$ac_cv_path_FGREP" >&6; }
5764 FGREP="$ac_cv_path_FGREP"
5767 test -z "$GREP" && GREP=grep
5787 # Check whether --with-gnu-ld was given.
5788 if test "${with_gnu_ld+set}" = set; then :
5789 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5795 if test "$GCC" = yes; then
5796 # Check if gcc -print-prog-name=ld gives a path.
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5798 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5801 # gcc leaves a trailing carriage return which upsets mingw
5802 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5804 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5807 # Accept absolute paths.
5809 re_direlt='/[^/][^/]*/\.\./'
5810 # Canonicalize the pathname of ld
5811 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5812 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5813 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5815 test -z "$LD" && LD="$ac_prog"
5818 # If it fails, then pretend we aren't using GCC.
5822 # If it is relative, then search for the first ld in PATH.
5826 elif test "$with_gnu_ld" = yes; then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5828 $as_echo_n "checking
for GNU ld...
" >&6; }
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5831 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5833 if ${lt_cv_path_LD+:} false; then :
5834 $as_echo_n "(cached
) " >&6
5836 if test -z "$LD"; then
5837 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5838 for ac_dir in $PATH; do
5840 test -z "$ac_dir" && ac_dir=.
5841 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5842 lt_cv_path_LD="$ac_dir/$ac_prog"
5843 # Check to see if the program is GNU ld. I'd rather use --version,
5844 # but apparently some variants of GNU ld only accept -v.
5845 # Break only if it was the GNU/non-GNU ld that we prefer.
5846 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5847 *GNU* | *'with BFD'*)
5848 test "$with_gnu_ld" != no && break
5851 test "$with_gnu_ld" != yes && break
5858 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5863 if test -n "$LD"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5865 $as_echo "$LD" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5868 $as_echo "no
" >&6; }
5870 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5872 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5873 if ${lt_cv_prog_gnu_ld+:} false; then :
5874 $as_echo_n "(cached
) " >&6
5876 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5877 case `$LD -v 2>&1 </dev/null` in
5878 *GNU* | *'with BFD'*)
5879 lt_cv_prog_gnu_ld=yes
5882 lt_cv_prog_gnu_ld=no
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5887 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5888 with_gnu_ld=$lt_cv_prog_gnu_ld
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5899 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5900 if ${lt_cv_path_NM+:} false; then :
5901 $as_echo_n "(cached
) " >&6
5903 if test -n "$NM"; then
5904 # Let the user override the test.
5907 lt_nm_to_check="${ac_tool_prefix}nm
"
5908 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5909 lt_nm_to_check="$lt_nm_to_check nm
"
5911 for lt_tmp_nm in $lt_nm_to_check; do
5912 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5913 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5915 test -z "$ac_dir" && ac_dir=.
5916 tmp_nm="$ac_dir/$lt_tmp_nm"
5917 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5918 # Check to see if the nm accepts a BSD-compat flag.
5919 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5920 # nm: unknown option "B
" ignored
5921 # Tru64's nm complains that /dev/null is an invalid object file
5922 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5923 */dev/null* | *'Invalid file or object type'*)
5924 lt_cv_path_NM="$tmp_nm -B"
5928 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5930 lt_cv_path_NM="$tmp_nm -p"
5934 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5935 continue # so that we can try to find one that supports BSD flags
5944 : ${lt_cv_path_NM=no}
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5948 $as_echo "$lt_cv_path_NM" >&6; }
5949 if test "$lt_cv_path_NM" != "no
"; then
5952 # Didn't find any BSD compatible name lister, look for dumpbin.
5953 if test -n "$DUMPBIN"; then :
5954 # Let the user override the test.
5956 if test -n "$ac_tool_prefix"; then
5957 for ac_prog in dumpbin "link
-dump"
5959 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5960 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5962 $as_echo_n "checking
for $ac_word...
" >&6; }
5963 if ${ac_cv_prog_DUMPBIN+:} false; then :
5964 $as_echo_n "(cached
) " >&6
5966 if test -n "$DUMPBIN"; then
5967 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5976 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5977 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5986 DUMPBIN=$ac_cv_prog_DUMPBIN
5987 if test -n "$DUMPBIN"; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5989 $as_echo "$DUMPBIN" >&6; }
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5992 $as_echo "no
" >&6; }
5996 test -n "$DUMPBIN" && break
5999 if test -z "$DUMPBIN"; then
6000 ac_ct_DUMPBIN=$DUMPBIN
6001 for ac_prog in dumpbin "link
-dump"
6003 # Extract the first word of "$ac_prog", so it can be a program name with args.
6004 set dummy $ac_prog; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6006 $as_echo_n "checking
for $ac_word...
" >&6; }
6007 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6008 $as_echo_n "(cached
) " >&6
6010 if test -n "$ac_ct_DUMPBIN"; then
6011 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6030 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6031 if test -n "$ac_ct_DUMPBIN"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6033 $as_echo "$ac_ct_DUMPBIN" >&6; }
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6036 $as_echo "no
" >&6; }
6040 test -n "$ac_ct_DUMPBIN" && break
6043 if test "x
$ac_ct_DUMPBIN" = x; then
6046 case $cross_compiling:$ac_tool_warned in
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6049 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6050 ac_tool_warned=yes ;;
6052 DUMPBIN=$ac_ct_DUMPBIN
6056 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6058 DUMPBIN="$DUMPBIN -symbols"
6066 if test "$DUMPBIN" != ":"; then
6070 test -z "$NM" && NM=nm
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6078 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6079 if ${lt_cv_nm_interface+:} false; then :
6080 $as_echo_n "(cached
) " >&6
6082 lt_cv_nm_interface="BSD nm
"
6083 echo "int some_variable
= 0;" > conftest.$ac_ext
6084 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6085 (eval "$ac_compile" 2>conftest.err)
6086 cat conftest.err >&5
6087 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6088 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6089 cat conftest.err >&5
6090 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6091 cat conftest.out >&5
6092 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6093 lt_cv_nm_interface="MS dumpbin
"
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6098 $as_echo "$lt_cv_nm_interface" >&6; }
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6101 $as_echo_n "checking whether
ln -s works...
" >&6; }
6103 if test "$LN_S" = "ln -s"; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6105 $as_echo "yes" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6108 $as_echo "no
, using
$LN_S" >&6; }
6111 # find the maximum length of command line arguments
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6113 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6114 if ${lt_cv_sys_max_cmd_len+:} false; then :
6115 $as_echo_n "(cached
) " >&6
6122 # On DJGPP, this test can blow up pretty badly due to problems in libc
6123 # (any single argument exceeding 2000 bytes causes a buffer overrun
6124 # during glob expansion). Even if it were fixed, the result of this
6125 # check would be larger than it should be.
6126 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6130 # Under GNU Hurd, this test is not required because there is
6131 # no limit to the length of command line arguments.
6132 # Libtool will interpret -1 as no limit whatsoever
6133 lt_cv_sys_max_cmd_len=-1;
6136 cygwin* | mingw* | cegcc*)
6137 # On Win9x/ME, this test blows up -- it succeeds, but takes
6138 # about 5 minutes as the teststring grows exponentially.
6139 # Worse, since 9x/ME are not pre-emptively multitasking,
6140 # you end up with a "frozen
" computer, even though with patience
6141 # the test eventually succeeds (with a max line length of 256k).
6142 # Instead, let's just punt: use the minimum linelength reported by
6143 # all of the supported platforms: 8192 (on NT/2K/XP).
6144 lt_cv_sys_max_cmd_len=8192;
6148 # On MiNT this can take a long time and run out of memory.
6149 lt_cv_sys_max_cmd_len=8192;
6153 # On AmigaOS with pdksh, this test takes hours, literally.
6154 # So we just punt and use a minimum line length of 8192.
6155 lt_cv_sys_max_cmd_len=8192;
6158 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6159 # This has been around since 386BSD, at least. Likely further.
6160 if test -x /sbin/sysctl; then
6161 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6162 elif test -x /usr/sbin/sysctl; then
6163 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6165 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6167 # And add a safety zone
6168 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6169 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6173 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6174 lt_cv_sys_max_cmd_len=196608
6178 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6179 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6180 # nice to cause kernel panics so lets avoid the loop below.
6181 # First set a reasonable default.
6182 lt_cv_sys_max_cmd_len=16384
6184 if test -x /sbin/sysconfig; then
6185 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6186 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6191 lt_cv_sys_max_cmd_len=102400
6193 sysv5* | sco5v6* | sysv4.2uw2*)
6194 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6195 if test -n "$kargmax"; then
6196 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6198 lt_cv_sys_max_cmd_len=32768
6202 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6203 if test -n "$lt_cv_sys_max_cmd_len"; then
6204 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6205 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6207 # Make teststring a little bigger before we do anything with it.
6208 # a 1K string should be a reasonable start.
6209 for i in 1 2 3 4 5 6 7 8 ; do
6210 teststring=$teststring$teststring
6212 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6213 # If test is not a shell built-in, we'll probably end up computing a
6214 # maximum length that is only half of the actual maximum length, but
6216 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6217 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6218 test $i != 17 # 1/2 MB should be enough
6221 teststring=$teststring$teststring
6223 # Only check the string length outside the loop.
6224 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6226 # Add a significant safety factor because C++ compilers can tack on
6227 # massive amounts of additional arguments before passing them to the
6228 # linker. It appears as though 1/2 is a usable value.
6229 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6236 if test -n $lt_cv_sys_max_cmd_len ; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6238 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6241 $as_echo "none
" >&6; }
6243 max_cmd_len=$lt_cv_sys_max_cmd_len
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6255 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6256 # Try some XSI features
6259 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6261 && eval 'test $(( 1 + 1 )) -eq 2 \
6262 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6265 $as_echo "$xsi_shell" >&6; }
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6269 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6271 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6273 && lt_shell_append
=yes
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6275 $as_echo "$lt_shell_append" >&6; }
6278 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6288 # test EBCDIC or ASCII
6289 case `echo X|tr X '\101'` in
6290 A
) # ASCII based system
6291 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6292 lt_SP2NL
='tr \040 \012'
6293 lt_NL2SP
='tr \015\012 \040\040'
6295 *) # EBCDIC based system
6296 lt_SP2NL
='tr \100 \n'
6297 lt_NL2SP
='tr \r\n \100\100'
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6310 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6311 if ${lt_cv_ld_reload_flag+:} false
; then :
6312 $as_echo_n "(cached) " >&6
6314 lt_cv_ld_reload_flag
='-r'
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6317 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6318 reload_flag
=$lt_cv_ld_reload_flag
6319 case $reload_flag in
6321 *) reload_flag
=" $reload_flag" ;;
6323 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6326 if test "$GCC" = yes; then
6327 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6329 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6342 if test -n "$ac_tool_prefix"; then
6343 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6344 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6346 $as_echo_n "checking for $ac_word... " >&6; }
6347 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6348 $as_echo_n "(cached) " >&6
6350 if test -n "$OBJDUMP"; then
6351 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6357 test -z "$as_dir" && as_dir
=.
6358 for ac_exec_ext
in '' $ac_executable_extensions; do
6359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6360 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 OBJDUMP
=$ac_cv_prog_OBJDUMP
6371 if test -n "$OBJDUMP"; then
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6373 $as_echo "$OBJDUMP" >&6; }
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6376 $as_echo "no" >&6; }
6381 if test -z "$ac_cv_prog_OBJDUMP"; then
6382 ac_ct_OBJDUMP
=$OBJDUMP
6383 # Extract the first word of "objdump", so it can be a program name with args.
6384 set dummy objdump
; ac_word
=$2
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6386 $as_echo_n "checking for $ac_word... " >&6; }
6387 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6388 $as_echo_n "(cached) " >&6
6390 if test -n "$ac_ct_OBJDUMP"; then
6391 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6397 test -z "$as_dir" && as_dir
=.
6398 for ac_exec_ext
in '' $ac_executable_extensions; do
6399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6400 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6410 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6411 if test -n "$ac_ct_OBJDUMP"; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6413 $as_echo "$ac_ct_OBJDUMP" >&6; }
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6416 $as_echo "no" >&6; }
6419 if test "x$ac_ct_OBJDUMP" = x
; then
6422 case $cross_compiling:$ac_tool_warned in
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6426 ac_tool_warned
=yes ;;
6428 OBJDUMP
=$ac_ct_OBJDUMP
6431 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6434 test -z "$OBJDUMP" && OBJDUMP
=objdump
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6445 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6446 if ${lt_cv_deplibs_check_method+:} false
; then :
6447 $as_echo_n "(cached) " >&6
6449 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6450 lt_cv_file_magic_test_file
=
6451 lt_cv_deplibs_check_method
='unknown'
6452 # Need to set the preceding variable on all platforms that support
6453 # interlibrary dependencies.
6454 # 'none' -- dependencies not supported.
6455 # `unknown' -- same as none, but documents that we really don't know.
6456 # 'pass_all' -- all dependencies passed with no checks.
6457 # 'test_compile' -- check by making test program.
6458 # 'file_magic [[regex]]' -- check by looking for files in library path
6459 # which responds to the $file_magic_cmd with a given extended regex.
6460 # If you have `file' or equivalent on your system and you're not sure
6461 # whether `pass_all' will *always* work, you probably want this one.
6465 lt_cv_deplibs_check_method
=pass_all
6469 lt_cv_deplibs_check_method
=pass_all
6473 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6474 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6475 lt_cv_file_magic_test_file
=/shlib
/libc.so
6479 # func_win32_libid is a shell function defined in ltmain.sh
6480 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6481 lt_cv_file_magic_cmd
='func_win32_libid'
6485 # Base MSYS/MinGW do not provide the 'file' command needed by
6486 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6487 # unless we find 'file', for example because we are cross-compiling.
6488 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6489 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6490 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6491 lt_cv_file_magic_cmd
='func_win32_libid'
6493 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6494 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6499 # use the weaker test based on 'objdump'. See mingw*.
6500 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6501 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6504 darwin
* | rhapsody
*)
6505 lt_cv_deplibs_check_method
=pass_all
6508 freebsd
* | dragonfly
*)
6509 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6512 # Not sure whether the presence of OpenBSD here was a mistake.
6513 # Let's accept both of them until this is cleared up.
6514 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6515 lt_cv_file_magic_cmd
=/usr
/bin
/file
6516 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6520 lt_cv_deplibs_check_method
=pass_all
6525 lt_cv_deplibs_check_method
=pass_all
6529 lt_cv_deplibs_check_method
=pass_all
6532 hpux10.20
* | hpux11
*)
6533 lt_cv_file_magic_cmd
=/usr
/bin
/file
6536 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6537 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6540 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]'
6541 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6544 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6545 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6551 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6552 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6555 irix5
* | irix6
* | nonstopux
*)
6557 *-32|
*"-32 ") libmagic
=32-bit;;
6558 *-n32|
*"-n32 ") libmagic
=N32
;;
6559 *-64|
*"-64 ") libmagic
=64-bit;;
6560 *) libmagic
=never-match
;;
6562 lt_cv_deplibs_check_method
=pass_all
6565 # This must be Linux ELF.
6566 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6567 lt_cv_deplibs_check_method
=pass_all
6571 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6572 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6574 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6579 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6580 lt_cv_file_magic_cmd
=/usr
/bin
/file
6581 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6585 lt_cv_deplibs_check_method
=pass_all
6589 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6590 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6592 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6596 osf3
* | osf4
* | osf5
*)
6597 lt_cv_deplibs_check_method
=pass_all
6601 lt_cv_deplibs_check_method
=pass_all
6605 lt_cv_deplibs_check_method
=pass_all
6608 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6609 lt_cv_deplibs_check_method
=pass_all
6613 case $host_vendor in
6615 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]'
6616 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6619 lt_cv_deplibs_check_method
=pass_all
6622 lt_cv_file_magic_cmd
='/bin/file'
6623 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6626 lt_cv_file_magic_cmd
='/bin/file'
6627 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6628 lt_cv_file_magic_test_file
=/lib
/libc.so
6631 lt_cv_deplibs_check_method
=pass_all
6634 lt_cv_deplibs_check_method
=pass_all
6640 lt_cv_deplibs_check_method
=pass_all
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6646 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6647 file_magic_cmd
=$lt_cv_file_magic_cmd
6648 deplibs_check_method
=$lt_cv_deplibs_check_method
6649 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6663 plugin_names
="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
6664 for plugin
in $plugin_names; do
6665 plugin_so
=`${CC} ${CFLAGS} --print-prog-name $plugin`
6666 if test x
$plugin_so = x
$plugin; then
6667 plugin_so
=`${CC} ${CFLAGS} --print-file-name $plugin`
6669 if test x
$plugin_so != x
$plugin; then
6670 plugin_option
="--plugin $plugin_so"
6675 if test -n "$ac_tool_prefix"; then
6676 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6677 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if ${ac_cv_prog_AR+:} false
; then :
6681 $as_echo_n "(cached) " >&6
6683 if test -n "$AR"; then
6684 ac_cv_prog_AR
="$AR" # Let the user override the test.
6686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir
=.
6691 for ac_exec_ext
in '' $ac_executable_extensions; do
6692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6693 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 if test -n "$AR"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6706 $as_echo "$AR" >&6; }
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6714 if test -z "$ac_cv_prog_AR"; then
6716 # Extract the first word of "ar", so it can be a program name with args.
6717 set dummy
ar; ac_word
=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6719 $as_echo_n "checking for $ac_word... " >&6; }
6720 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6721 $as_echo_n "(cached) " >&6
6723 if test -n "$ac_ct_AR"; then
6724 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir
=.
6731 for ac_exec_ext
in '' $ac_executable_extensions; do
6732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_ac_ct_AR
="ar"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6743 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6744 if test -n "$ac_ct_AR"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6746 $as_echo "$ac_ct_AR" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 $as_echo "no" >&6; }
6752 if test "x$ac_ct_AR" = x
; then
6755 case $cross_compiling:$ac_tool_warned in
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6759 ac_tool_warned
=yes ;;
6767 test -z "$AR" && AR
=ar
6768 if test -n "$plugin_option"; then
6769 if $AR --help 2>&1 |
grep -q "\--plugin"; then
6771 $AR $plugin_option rc conftest.a conftest.c
6772 if test "$?" != 0; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
6774 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
6776 AR
="$AR $plugin_option"
6781 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6793 if test -n "$ac_tool_prefix"; then
6794 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6795 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797 $as_echo_n "checking for $ac_word... " >&6; }
6798 if ${ac_cv_prog_STRIP+:} false
; then :
6799 $as_echo_n "(cached) " >&6
6801 if test -n "$STRIP"; then
6802 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6808 test -z "$as_dir" && as_dir
=.
6809 for ac_exec_ext
in '' $ac_executable_extensions; do
6810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6811 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821 STRIP
=$ac_cv_prog_STRIP
6822 if test -n "$STRIP"; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6824 $as_echo "$STRIP" >&6; }
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6827 $as_echo "no" >&6; }
6832 if test -z "$ac_cv_prog_STRIP"; then
6834 # Extract the first word of "strip", so it can be a program name with args.
6835 set dummy strip
; ac_word
=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 $as_echo_n "checking for $ac_word... " >&6; }
6838 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6839 $as_echo_n "(cached) " >&6
6841 if test -n "$ac_ct_STRIP"; then
6842 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6848 test -z "$as_dir" && as_dir
=.
6849 for ac_exec_ext
in '' $ac_executable_extensions; do
6850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_ac_ct_STRIP
="strip"
6852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6862 if test -n "$ac_ct_STRIP"; then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6864 $as_echo "$ac_ct_STRIP" >&6; }
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 $as_echo "no" >&6; }
6870 if test "x$ac_ct_STRIP" = x
; then
6873 case $cross_compiling:$ac_tool_warned in
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6877 ac_tool_warned
=yes ;;
6882 STRIP
="$ac_cv_prog_STRIP"
6885 test -z "$STRIP" && STRIP
=:
6892 if test -n "$ac_tool_prefix"; then
6893 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6894 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6896 $as_echo_n "checking for $ac_word... " >&6; }
6897 if ${ac_cv_prog_RANLIB+:} false
; then :
6898 $as_echo_n "(cached) " >&6
6900 if test -n "$RANLIB"; then
6901 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6907 test -z "$as_dir" && as_dir
=.
6908 for ac_exec_ext
in '' $ac_executable_extensions; do
6909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6910 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6920 RANLIB
=$ac_cv_prog_RANLIB
6921 if test -n "$RANLIB"; then
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6923 $as_echo "$RANLIB" >&6; }
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6926 $as_echo "no" >&6; }
6931 if test -z "$ac_cv_prog_RANLIB"; then
6932 ac_ct_RANLIB
=$RANLIB
6933 # Extract the first word of "ranlib", so it can be a program name with args.
6934 set dummy ranlib
; ac_word
=$2
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6936 $as_echo_n "checking for $ac_word... " >&6; }
6937 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6938 $as_echo_n "(cached) " >&6
6940 if test -n "$ac_ct_RANLIB"; then
6941 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6947 test -z "$as_dir" && as_dir
=.
6948 for ac_exec_ext
in '' $ac_executable_extensions; do
6949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6950 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6960 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6961 if test -n "$ac_ct_RANLIB"; then
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6963 $as_echo "$ac_ct_RANLIB" >&6; }
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6966 $as_echo "no" >&6; }
6969 if test "x$ac_ct_RANLIB" = x
; then
6972 case $cross_compiling:$ac_tool_warned in
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6976 ac_tool_warned
=yes ;;
6978 RANLIB
=$ac_ct_RANLIB
6981 RANLIB
="$ac_cv_prog_RANLIB"
6984 test -z "$RANLIB" && RANLIB
=:
6985 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6986 if $RANLIB --help 2>&1 |
grep -q "\--plugin"; then
6987 RANLIB
="$RANLIB $plugin_option"
6996 # Determine commands to create old-style static archives.
6997 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6998 old_postinstall_cmds
='chmod 644 $oldlib'
6999 old_postuninstall_cmds
=
7001 if test -n "$RANLIB"; then
7004 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7007 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7010 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7015 lock_old_archive_extraction
=yes ;;
7017 lock_old_archive_extraction
=no
;;
7058 # If no C compiler was specified, use CC.
7061 # If no C compiler flags were specified, use CFLAGS.
7062 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7064 # Allow CC to be a program name with arguments.
7068 # Check for command to grab the raw symbol name followed by C symbol from nm.
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7070 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7071 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7072 $as_echo_n "(cached) " >&6
7075 # These are sane defaults that work on at least a few old systems.
7076 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7078 # Character class describing NM global symbol codes.
7079 symcode
='[BCDEGRST]'
7081 # Regexp to match symbols that can be accessed directly from C.
7082 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7084 # Define system-specific variables.
7089 cygwin
* | mingw
* | pw32
* | cegcc
*)
7090 symcode
='[ABCDGISTW]'
7093 if test "$host_cpu" = ia64
; then
7094 symcode
='[ABCDEGRST]'
7098 symcode
='[BCDEGRST]'
7101 symcode
='[BCDEGQRST]'
7112 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7120 # If we're using GNU nm, then use its standard symbol codes.
7121 case `$NM -V 2>&1` in
7122 *GNU
* |
*'with BFD'*)
7123 symcode
='[ABCDGIRSTW]' ;;
7126 # Transform an extracted symbol line into a proper C declaration.
7127 # Some systems (esp. on ia64) link data and code symbols differently,
7128 # so use this general approach.
7129 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7131 # Transform an extracted symbol line into symbol name and symbol address
7132 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7133 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'"
7135 # Handle CRLF in mingw tool chain
7139 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7143 # Try without a prefix underscore, then with it.
7144 for ac_symprfx
in "" "_"; do
7146 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7147 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7149 # Write the raw and C identifiers.
7150 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7151 # Fake it for dumpbin and say T for any non-static function
7152 # and D for any global variable.
7153 # Also find C++ and __fastcall symbols from MSVC++,
7154 # which start with @ or ?.
7155 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7156 " {last_section=section; section=\$ 3};"\
7157 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7158 " \$ 0!~/External *\|/{next};"\
7159 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7160 " {if(hide[section]) next};"\
7161 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7162 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7163 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7164 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7165 " ' prfx=^$ac_symprfx"
7167 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7170 # Check to see that the pipe works correctly.
7174 cat > conftest.
$ac_ext <<_LT_EOF
7179 void nm_test_func(void);
7180 void nm_test_func(void){}
7184 int main(){nm_test_var='a';nm_test_func();return(0);}
7187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7188 (eval $ac_compile) 2>&5
7190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7191 test $ac_status = 0; }; then
7192 # Now try to grab the symbols.
7194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7195 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7198 test $ac_status = 0; } && test -s "$nlist"; then
7199 # Try sorting and uniquifying the output.
7200 if sort "$nlist" |
uniq > "$nlist"T
; then
7201 mv -f "$nlist"T
"$nlist"
7206 # Make sure that we snagged all the symbols we need.
7207 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7208 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7209 cat <<_LT_EOF > conftest.$ac_ext
7215 # Now generate the symbol file.
7216 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7218 cat <<_LT_EOF >> conftest.$ac_ext
7220 /* The mapping between symbol names and symbols. */
7225 lt__PROGRAM__LTX_preloaded_symbols[] =
7227 { "@PROGRAM@", (void *) 0 },
7229 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7230 cat <<\_LT_EOF
>> conftest.
$ac_ext
7234 /* This works around a problem
in FreeBSD linker
*/
7235 #ifdef FREEBSD_WORKAROUND
7236 static const void
*lt_preloaded_setup
() {
7237 return lt__PROGRAM__LTX_preloaded_symbols
;
7245 # Now try linking the two files.
7246 mv conftest.
$ac_objext conftstm.
$ac_objext
7247 lt_save_LIBS
="$LIBS"
7248 lt_save_CFLAGS
="$CFLAGS"
7249 LIBS
="conftstm.$ac_objext"
7250 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7252 (eval $ac_link) 2>&5
7254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7255 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7258 LIBS
="$lt_save_LIBS"
7259 CFLAGS
="$lt_save_CFLAGS"
7261 echo "cannot find nm_test_func in $nlist" >&5
7264 echo "cannot find nm_test_var in $nlist" >&5
7267 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7270 echo "$progname: failed program was:" >&5
7271 cat conftest.
$ac_ext >&5
7273 rm -rf conftest
* conftst
*
7275 # Do not use the global_symbol_pipe unless it works.
7276 if test "$pipe_works" = yes; then
7279 lt_cv_sys_global_symbol_pipe
=
7285 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7286 lt_cv_sys_global_symbol_to_cdecl
=
7288 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7290 $as_echo "failed" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7293 $as_echo "ok" >&6; }
7317 # Check whether --enable-libtool-lock was given.
7318 if test "${enable_libtool_lock+set}" = set; then :
7319 enableval
=$enable_libtool_lock;
7322 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7324 # Some flags need to be propagated to the compiler or linker for good
7328 # Find out which ABI we are using.
7329 echo 'int i;' > conftest.
$ac_ext
7330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7331 (eval $ac_compile) 2>&5
7333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7334 test $ac_status = 0; }; then
7335 case `/usr/bin/file conftest.$ac_objext` in
7347 # Find out which ABI we are using.
7348 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7350 (eval $ac_compile) 2>&5
7352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7353 test $ac_status = 0; }; then
7354 if test "$lt_cv_prog_gnu_ld" = yes; then
7355 case `/usr/bin/file conftest.$ac_objext` in
7357 LD
="${LD-ld} -melf32bsmip"
7360 LD
="${LD-ld} -melf32bmipn32"
7363 LD
="${LD-ld} -melf64bmip"
7367 case `/usr/bin/file conftest.$ac_objext` in
7383 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7384 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7385 # Find out which ABI we are using.
7386 echo 'int i;' > conftest.
$ac_ext
7387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7388 (eval $ac_compile) 2>&5
7390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7391 test $ac_status = 0; }; then
7392 case `/usr/bin/file conftest.o` in
7395 x86_64-
*kfreebsd
*-gnu)
7396 LD
="${LD-ld} -m elf_i386_fbsd"
7399 case `/usr/bin/file conftest.o` in
7401 LD
="${LD-ld} -m elf32_x86_64"
7404 LD
="${LD-ld} -m elf_i386"
7408 powerpc64le-
*linux
*)
7409 LD
="${LD-ld} -m elf32lppclinux"
7412 LD
="${LD-ld} -m elf32ppclinux"
7415 LD
="${LD-ld} -m elf_s390"
7418 LD
="${LD-ld} -m elf32_sparc"
7424 x86_64-
*kfreebsd
*-gnu)
7425 LD
="${LD-ld} -m elf_x86_64_fbsd"
7428 LD
="${LD-ld} -m elf_x86_64"
7431 LD
="${LD-ld} -m elf64lppc"
7434 LD
="${LD-ld} -m elf64ppc"
7436 s390
*-*linux
*|s390
*-*tpf
*)
7437 LD
="${LD-ld} -m elf64_s390"
7440 LD
="${LD-ld} -m elf64_sparc"
7450 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7451 SAVE_CFLAGS
="$CFLAGS"
7452 CFLAGS
="$CFLAGS -belf"
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7454 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7455 if ${lt_cv_cc_needs_belf+:} false
; then :
7456 $as_echo_n "(cached) " >&6
7459 ac_cpp
='$CPP $CPPFLAGS'
7460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7465 /* end confdefs.h. */
7475 if ac_fn_c_try_link
"$LINENO"; then :
7476 lt_cv_cc_needs_belf
=yes
7478 lt_cv_cc_needs_belf
=no
7480 rm -f core conftest.err conftest.
$ac_objext \
7481 conftest
$ac_exeext conftest.
$ac_ext
7483 ac_cpp
='$CPP $CPPFLAGS'
7484 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7485 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7486 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7490 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7491 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7492 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7493 CFLAGS
="$SAVE_CFLAGS"
7497 # Find out which ABI we are using.
7498 echo 'int i;' > conftest.
$ac_ext
7499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7500 (eval $ac_compile) 2>&5
7502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7503 test $ac_status = 0; }; then
7504 case `/usr/bin/file conftest.o` in
7506 case $lt_cv_prog_gnu_ld in
7507 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7509 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7521 need_locks
="$enable_libtool_lock"
7525 rhapsody
* | darwin
*)
7526 if test -n "$ac_tool_prefix"; then
7527 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7528 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7532 $as_echo_n "(cached) " >&6
7534 if test -n "$DSYMUTIL"; then
7535 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7541 test -z "$as_dir" && as_dir
=.
7542 for ac_exec_ext
in '' $ac_executable_extensions; do
7543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7544 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7554 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7555 if test -n "$DSYMUTIL"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7557 $as_echo "$DSYMUTIL" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7565 if test -z "$ac_cv_prog_DSYMUTIL"; then
7566 ac_ct_DSYMUTIL
=$DSYMUTIL
7567 # Extract the first word of "dsymutil", so it can be a program name with args.
7568 set dummy dsymutil
; ac_word
=$2
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7570 $as_echo_n "checking for $ac_word... " >&6; }
7571 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7572 $as_echo_n "(cached) " >&6
7574 if test -n "$ac_ct_DSYMUTIL"; then
7575 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7581 test -z "$as_dir" && as_dir
=.
7582 for ac_exec_ext
in '' $ac_executable_extensions; do
7583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7584 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7594 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7595 if test -n "$ac_ct_DSYMUTIL"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7597 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600 $as_echo "no" >&6; }
7603 if test "x$ac_ct_DSYMUTIL" = x
; then
7606 case $cross_compiling:$ac_tool_warned in
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7610 ac_tool_warned
=yes ;;
7612 DSYMUTIL
=$ac_ct_DSYMUTIL
7615 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7618 if test -n "$ac_tool_prefix"; then
7619 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7620 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7622 $as_echo_n "checking for $ac_word... " >&6; }
7623 if ${ac_cv_prog_NMEDIT+:} false
; then :
7624 $as_echo_n "(cached) " >&6
7626 if test -n "$NMEDIT"; then
7627 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7633 test -z "$as_dir" && as_dir
=.
7634 for ac_exec_ext
in '' $ac_executable_extensions; do
7635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7636 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7646 NMEDIT
=$ac_cv_prog_NMEDIT
7647 if test -n "$NMEDIT"; then
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7649 $as_echo "$NMEDIT" >&6; }
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7652 $as_echo "no" >&6; }
7657 if test -z "$ac_cv_prog_NMEDIT"; then
7658 ac_ct_NMEDIT
=$NMEDIT
7659 # Extract the first word of "nmedit", so it can be a program name with args.
7660 set dummy nmedit
; ac_word
=$2
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7662 $as_echo_n "checking for $ac_word... " >&6; }
7663 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7664 $as_echo_n "(cached) " >&6
7666 if test -n "$ac_ct_NMEDIT"; then
7667 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7673 test -z "$as_dir" && as_dir
=.
7674 for ac_exec_ext
in '' $ac_executable_extensions; do
7675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7676 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7686 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7687 if test -n "$ac_ct_NMEDIT"; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7689 $as_echo "$ac_ct_NMEDIT" >&6; }
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7692 $as_echo "no" >&6; }
7695 if test "x$ac_ct_NMEDIT" = x
; then
7698 case $cross_compiling:$ac_tool_warned in
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7702 ac_tool_warned
=yes ;;
7704 NMEDIT
=$ac_ct_NMEDIT
7707 NMEDIT
="$ac_cv_prog_NMEDIT"
7710 if test -n "$ac_tool_prefix"; then
7711 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7712 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7714 $as_echo_n "checking for $ac_word... " >&6; }
7715 if ${ac_cv_prog_LIPO+:} false
; then :
7716 $as_echo_n "(cached) " >&6
7718 if test -n "$LIPO"; then
7719 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7725 test -z "$as_dir" && as_dir
=.
7726 for ac_exec_ext
in '' $ac_executable_extensions; do
7727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7728 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7738 LIPO
=$ac_cv_prog_LIPO
7739 if test -n "$LIPO"; then
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7741 $as_echo "$LIPO" >&6; }
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7744 $as_echo "no" >&6; }
7749 if test -z "$ac_cv_prog_LIPO"; then
7751 # Extract the first word of "lipo", so it can be a program name with args.
7752 set dummy lipo
; ac_word
=$2
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7754 $as_echo_n "checking for $ac_word... " >&6; }
7755 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7756 $as_echo_n "(cached) " >&6
7758 if test -n "$ac_ct_LIPO"; then
7759 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7765 test -z "$as_dir" && as_dir
=.
7766 for ac_exec_ext
in '' $ac_executable_extensions; do
7767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7768 ac_cv_prog_ac_ct_LIPO
="lipo"
7769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7778 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7779 if test -n "$ac_ct_LIPO"; then
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7781 $as_echo "$ac_ct_LIPO" >&6; }
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7784 $as_echo "no" >&6; }
7787 if test "x$ac_ct_LIPO" = x
; then
7790 case $cross_compiling:$ac_tool_warned in
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7794 ac_tool_warned
=yes ;;
7799 LIPO
="$ac_cv_prog_LIPO"
7802 if test -n "$ac_tool_prefix"; then
7803 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7804 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7806 $as_echo_n "checking for $ac_word... " >&6; }
7807 if ${ac_cv_prog_OTOOL+:} false
; then :
7808 $as_echo_n "(cached) " >&6
7810 if test -n "$OTOOL"; then
7811 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7817 test -z "$as_dir" && as_dir
=.
7818 for ac_exec_ext
in '' $ac_executable_extensions; do
7819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7820 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 OTOOL
=$ac_cv_prog_OTOOL
7831 if test -n "$OTOOL"; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7833 $as_echo "$OTOOL" >&6; }
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7836 $as_echo "no" >&6; }
7841 if test -z "$ac_cv_prog_OTOOL"; then
7843 # Extract the first word of "otool", so it can be a program name with args.
7844 set dummy otool
; ac_word
=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846 $as_echo_n "checking for $ac_word... " >&6; }
7847 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7848 $as_echo_n "(cached) " >&6
7850 if test -n "$ac_ct_OTOOL"; then
7851 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7857 test -z "$as_dir" && as_dir
=.
7858 for ac_exec_ext
in '' $ac_executable_extensions; do
7859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_prog_ac_ct_OTOOL
="otool"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7870 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7871 if test -n "$ac_ct_OTOOL"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7873 $as_echo "$ac_ct_OTOOL" >&6; }
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876 $as_echo "no" >&6; }
7879 if test "x$ac_ct_OTOOL" = x
; then
7882 case $cross_compiling:$ac_tool_warned in
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7886 ac_tool_warned
=yes ;;
7891 OTOOL
="$ac_cv_prog_OTOOL"
7894 if test -n "$ac_tool_prefix"; then
7895 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7896 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if ${ac_cv_prog_OTOOL64+:} false
; then :
7900 $as_echo_n "(cached) " >&6
7902 if test -n "$OTOOL64"; then
7903 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir
=.
7910 for ac_exec_ext
in '' $ac_executable_extensions; do
7911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 OTOOL64
=$ac_cv_prog_OTOOL64
7923 if test -n "$OTOOL64"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7925 $as_echo "$OTOOL64" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7933 if test -z "$ac_cv_prog_OTOOL64"; then
7934 ac_ct_OTOOL64
=$OTOOL64
7935 # Extract the first word of "otool64", so it can be a program name with args.
7936 set dummy otool64
; ac_word
=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7940 $as_echo_n "(cached) " >&6
7942 if test -n "$ac_ct_OTOOL64"; then
7943 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir
=.
7950 for ac_exec_ext
in '' $ac_executable_extensions; do
7951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7962 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7963 if test -n "$ac_ct_OTOOL64"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7965 $as_echo "$ac_ct_OTOOL64" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7971 if test "x$ac_ct_OTOOL64" = x
; then
7974 case $cross_compiling:$ac_tool_warned in
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7978 ac_tool_warned
=yes ;;
7980 OTOOL64
=$ac_ct_OTOOL64
7983 OTOOL64
="$ac_cv_prog_OTOOL64"
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8013 $as_echo_n "checking for -single_module linker flag... " >&6; }
8014 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8015 $as_echo_n "(cached) " >&6
8017 lt_cv_apple_cc_single_mod
=no
8018 if test -z "${LT_MULTI_MODULE}"; then
8019 # By default we will add the -single_module flag. You can override
8020 # by either setting the environment variable LT_MULTI_MODULE
8021 # non-empty at configure time, or by adding -multi_module to the
8023 rm -rf libconftest.dylib
*
8024 echo "int foo(void){return 1;}" > conftest.c
8025 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8026 -dynamiclib -Wl,-single_module conftest.c" >&5
8027 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8028 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8030 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8031 lt_cv_apple_cc_single_mod
=yes
8033 cat conftest.err
>&5
8035 rm -rf libconftest.dylib
*
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8040 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8042 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8043 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8044 $as_echo_n "(cached) " >&6
8046 lt_cv_ld_exported_symbols_list
=no
8047 save_LDFLAGS
=$LDFLAGS
8048 echo "_main" > conftest.sym
8049 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8051 /* end confdefs.h. */
8061 if ac_fn_c_try_link
"$LINENO"; then :
8062 lt_cv_ld_exported_symbols_list
=yes
8064 lt_cv_ld_exported_symbols_list
=no
8066 rm -f core conftest.err conftest.
$ac_objext \
8067 conftest
$ac_exeext conftest.
$ac_ext
8068 LDFLAGS
="$save_LDFLAGS"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8072 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8074 $as_echo_n "checking for -force_load linker flag... " >&6; }
8075 if ${lt_cv_ld_force_load+:} false
; then :
8076 $as_echo_n "(cached) " >&6
8078 lt_cv_ld_force_load
=no
8079 cat > conftest.c
<< _LT_EOF
8080 int forced_loaded() { return 2;}
8082 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8083 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8084 echo "$AR cru libconftest.a conftest.o" >&5
8085 $AR cru libconftest.a conftest.o
2>&5
8086 cat > conftest.c
<< _LT_EOF
8087 int main() { return 0;}
8089 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8090 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8092 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8093 lt_cv_ld_force_load
=yes
8095 cat conftest.err
>&5
8097 rm -f conftest.err libconftest.a conftest conftest.c
8098 rm -rf conftest.dSYM
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8102 $as_echo "$lt_cv_ld_force_load" >&6; }
8104 rhapsody
* | darwin1.
[012])
8105 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8107 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8108 darwin
*) # darwin 5.x on
8109 # if running on 10.5 or later, the deployment target defaults
8110 # to the OS version, if on x86, and 10.4, the deployment
8111 # target defaults to 10.4. Don't you love it?
8112 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8113 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8114 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8116 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8118 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8122 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8123 _lt_dar_single_mod
='$single_module'
8125 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8126 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8128 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8130 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8131 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8138 for ac_header
in dlfcn.h
8140 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8142 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8143 cat >>confdefs.h
<<_ACEOF
8144 #define HAVE_DLFCN_H 1
8166 # Check whether --enable-static was given.
8167 if test "${enable_static+set}" = set; then :
8168 enableval
=$enable_static; p
=${PACKAGE-default}
8170 yes) enable_static
=yes ;;
8171 no
) enable_static
=no
;;
8174 # Look at the argument we got. We use all the common list separators.
8175 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8176 for pkg
in $enableval; do
8178 if test "X$pkg" = "X$p"; then
8198 # Check whether --with-pic was given.
8199 if test "${with_pic+set}" = set; then :
8200 withval
=$with_pic; pic_mode
="$withval"
8206 test -z "$pic_mode" && pic_mode
=default
8214 # Check whether --enable-fast-install was given.
8215 if test "${enable_fast_install+set}" = set; then :
8216 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8218 yes) enable_fast_install
=yes ;;
8219 no
) enable_fast_install
=no
;;
8221 enable_fast_install
=no
8222 # Look at the argument we got. We use all the common list separators.
8223 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8224 for pkg
in $enableval; do
8226 if test "X$pkg" = "X$p"; then
8227 enable_fast_install
=yes
8234 enable_fast_install
=yes
8247 # This can be used to rebuild libtool when needed
8248 LIBTOOL_DEPS
="$ltmain"
8250 # Always use our own libtool.
8251 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8278 test -z "$LN_S" && LN_S
="ln -s"
8293 if test -n "${ZSH_VERSION+set}" ; then
8294 setopt NO_GLOB_SUBST
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8298 $as_echo_n "checking for objdir... " >&6; }
8299 if ${lt_cv_objdir+:} false
; then :
8300 $as_echo_n "(cached) " >&6
8302 rm -f .libs
2>/dev
/null
8303 mkdir .libs
2>/dev
/null
8304 if test -d .libs
; then
8307 # MS-DOS does not allow filenames that begin with a dot.
8310 rmdir .libs
2>/dev
/null
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8313 $as_echo "$lt_cv_objdir" >&6; }
8314 objdir
=$lt_cv_objdir
8320 cat >>confdefs.h
<<_ACEOF
8321 #define LT_OBJDIR "$lt_cv_objdir/"
8329 # AIX sometimes has problems with the GCC collect2 program. For some
8330 # reason, if we set the COLLECT_NAMES environment variable, the problems
8331 # vanish in a puff of smoke.
8332 if test "X${COLLECT_NAMES+set}" != Xset
; then
8334 export COLLECT_NAMES
8341 can_build_shared
=yes
8343 # All known linkers require a `.a' archive for static linking (except MSVC,
8344 # which needs '.lib').
8347 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8350 old_CFLAGS
="$CFLAGS"
8352 # Set sane defaults for various variables
8353 test -z "$CC" && CC
=cc
8354 test -z "$LTCC" && LTCC
=$CC
8355 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8356 test -z "$LD" && LD
=ld
8357 test -z "$ac_objext" && ac_objext
=o
8359 for cc_temp
in $compiler""; do
8361 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8362 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8367 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8370 # Only perform the check for file, if the check method requires it
8371 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8372 case $deplibs_check_method in
8374 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8376 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8377 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8378 $as_echo_n "(cached) " >&6
8382 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8385 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8386 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8387 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8388 for ac_dir
in $ac_dummy; do
8390 test -z "$ac_dir" && ac_dir
=.
8391 if test -f $ac_dir/${ac_tool_prefix}file; then
8392 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8393 if test -n "$file_magic_test_file"; then
8394 case $deplibs_check_method in
8396 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8397 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8398 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8399 $EGREP "$file_magic_regex" > /dev
/null
; then
8404 *** Warning: the command libtool uses to detect shared libraries,
8405 *** $file_magic_cmd, produces output that libtool cannot recognize.
8406 *** The result is that libtool may fail to recognize shared libraries
8407 *** as such. This will affect the creation of libtool libraries that
8408 *** depend on shared libraries, but programs linked with such libtool
8409 *** libraries will work regardless of this problem. Nevertheless, you
8410 *** may want to report the problem to your system manager and/or to
8411 *** bug-libtool@gnu.org
8421 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8426 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8427 if test -n "$MAGIC_CMD"; then
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8429 $as_echo "$MAGIC_CMD" >&6; }
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8432 $as_echo "no" >&6; }
8439 if test -z "$lt_cv_path_MAGIC_CMD"; then
8440 if test -n "$ac_tool_prefix"; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8442 $as_echo_n "checking for file... " >&6; }
8443 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8444 $as_echo_n "(cached) " >&6
8448 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8451 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8452 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8453 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8454 for ac_dir
in $ac_dummy; do
8456 test -z "$ac_dir" && ac_dir
=.
8457 if test -f $ac_dir/file; then
8458 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8459 if test -n "$file_magic_test_file"; then
8460 case $deplibs_check_method in
8462 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8463 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8464 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8465 $EGREP "$file_magic_regex" > /dev
/null
; then
8470 *** Warning: the command libtool uses to detect shared libraries,
8471 *** $file_magic_cmd, produces output that libtool cannot recognize.
8472 *** The result is that libtool may fail to recognize shared libraries
8473 *** as such. This will affect the creation of libtool libraries that
8474 *** depend on shared libraries, but programs linked with such libtool
8475 *** libraries will work regardless of this problem. Nevertheless, you
8476 *** may want to report the problem to your system manager and/or to
8477 *** bug-libtool@gnu.org
8487 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8492 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8493 if test -n "$MAGIC_CMD"; then
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8495 $as_echo "$MAGIC_CMD" >&6; }
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8498 $as_echo "no" >&6; }
8511 # Use C for the default configuration in the libtool script
8515 ac_cpp
='$CPP $CPPFLAGS'
8516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8521 # Source file extension for C test sources.
8524 # Object file extension for compiled C test sources.
8528 # Code to be used in simple compile tests
8529 lt_simple_compile_test_code
="int some_variable = 0;"
8531 # Code to be used in simple link tests
8532 lt_simple_link_test_code
='int main(){return(0);}'
8540 # If no C compiler was specified, use CC.
8543 # If no C compiler flags were specified, use CFLAGS.
8544 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8546 # Allow CC to be a program name with arguments.
8549 # Save the default compiler, since it gets overwritten when the other
8550 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8551 compiler_DEFAULT
=$CC
8553 # save warnings/boilerplate of simple test code
8554 ac_outfile
=conftest.
$ac_objext
8555 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8556 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8557 _lt_compiler_boilerplate
=`cat conftest.err`
8560 ac_outfile
=conftest.
$ac_objext
8561 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8562 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8563 _lt_linker_boilerplate
=`cat conftest.err`
8568 ## There is no encapsulation within the following macros, do not change
8569 ## the running order or otherwise move them around unless you know exactly
8570 ## what you are doing...
8571 if test -n "$compiler"; then
8573 lt_prog_compiler_no_builtin_flag
=
8575 if test "$GCC" = yes; then
8576 case $cc_basename in
8578 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8580 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8584 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8585 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8586 $as_echo_n "(cached) " >&6
8588 lt_cv_prog_compiler_rtti_exceptions
=no
8589 ac_outfile
=conftest.
$ac_objext
8590 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8591 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8592 # Insert the option either (1) after the last *FLAGS variable, or
8593 # (2) before a word containing "conftest.", or (3) at the end.
8594 # Note that $ac_compile itself does not contain backslashes and begins
8595 # with a dollar sign (not a hyphen), so the echo should work correctly.
8596 # The option is referenced via a variable to avoid confusing sed.
8597 lt_compile
=`echo "$ac_compile" | $SED \
8598 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8599 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8600 -e 's:$: $lt_compiler_flag:'`
8601 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8602 (eval "$lt_compile" 2>conftest.err
)
8604 cat conftest.err
>&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 if (exit $ac_status) && test -s "$ac_outfile"; then
8607 # The compiler can only warn and ignore the option if not recognized
8608 # So say no if there are warnings other than the usual output.
8609 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8610 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8611 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8612 lt_cv_prog_compiler_rtti_exceptions
=yes
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8619 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8621 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8622 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8634 lt_prog_compiler_wl
=
8635 lt_prog_compiler_pic
=
8636 lt_prog_compiler_static
=
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8639 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8641 if test "$GCC" = yes; then
8642 lt_prog_compiler_wl
='-Wl,'
8643 lt_prog_compiler_static
='-static'
8647 # All AIX code is PIC.
8648 if test "$host_cpu" = ia64
; then
8649 # AIX 5 now supports IA64 processor
8650 lt_prog_compiler_static
='-Bstatic'
8652 lt_prog_compiler_pic
='-fPIC'
8658 # see comment about AmigaOS4 .so support
8659 lt_prog_compiler_pic
='-fPIC'
8662 # FIXME: we need at least 68020 code to build shared libraries, but
8663 # adding the `-m68020' flag to GCC prevents building anything better,
8665 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8670 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8671 # PIC is the default for these OSes.
8674 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8675 # This hack is so that the source file can tell whether it is being
8676 # built for inclusion in a dll (and should export symbols for example).
8677 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8678 # (--disable-auto-import) libraries
8679 lt_prog_compiler_pic
='-DDLL_EXPORT'
8682 darwin
* | rhapsody
*)
8683 # PIC is the default on this platform
8684 # Common symbols not allowed in MH_DYLIB files
8685 lt_prog_compiler_pic
='-fno-common'
8689 # PIC is the default for Haiku.
8690 # The "-static" flag exists, but is broken.
8691 lt_prog_compiler_static
=
8695 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8696 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8697 # sets the default TLS model and affects inlining.
8703 lt_prog_compiler_pic
='-fPIC'
8709 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8710 # Instead, we relocate shared libraries at runtime.
8714 # Just because we use GCC doesn't mean we suddenly get shared libraries
8715 # on systems that don't support them.
8716 lt_prog_compiler_can_build_shared
=no
8721 # QNX uses GNU C++, but need to define -shared option too, otherwise
8723 lt_prog_compiler_pic
='-fPIC -shared'
8727 if test -d /usr
/nec
; then
8728 lt_prog_compiler_pic
=-Kconform_pic
8733 lt_prog_compiler_pic
='-fPIC'
8737 case $cc_basename in
8738 nvcc
*) # Cuda Compiler Driver 2.2
8739 lt_prog_compiler_wl
='-Xlinker '
8740 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8744 # PORTME Check for flag to pass linker flags through the system compiler.
8747 lt_prog_compiler_wl
='-Wl,'
8748 if test "$host_cpu" = ia64
; then
8749 # AIX 5 now supports IA64 processor
8750 lt_prog_compiler_static
='-Bstatic'
8752 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8756 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8757 # This hack is so that the source file can tell whether it is being
8758 # built for inclusion in a dll (and should export symbols for example).
8759 lt_prog_compiler_pic
='-DDLL_EXPORT'
8762 hpux9
* | hpux10
* | hpux11
*)
8763 lt_prog_compiler_wl
='-Wl,'
8764 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8771 lt_prog_compiler_pic
='+Z'
8774 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8775 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8778 irix5
* | irix6
* | nonstopux
*)
8779 lt_prog_compiler_wl
='-Wl,'
8780 # PIC (with -KPIC) is the default.
8781 lt_prog_compiler_static
='-non_shared'
8784 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8785 case $cc_basename in
8786 # old Intel for x86_64 which still supported -KPIC.
8788 lt_prog_compiler_wl
='-Wl,'
8789 lt_prog_compiler_pic
='-KPIC'
8790 lt_prog_compiler_static
='-static'
8792 # icc used to be incompatible with GCC.
8793 # ICC 10 doesn't accept -KPIC any more.
8795 lt_prog_compiler_wl
='-Wl,'
8796 lt_prog_compiler_pic
='-fPIC'
8797 lt_prog_compiler_static
='-static'
8799 # Lahey Fortran 8.1.
8801 lt_prog_compiler_wl
='-Wl,'
8802 lt_prog_compiler_pic
='--shared'
8803 lt_prog_compiler_static
='--static'
8805 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8806 # Portland Group compilers (*not* the Pentium gcc compiler,
8807 # which looks to be a dead project)
8808 lt_prog_compiler_wl
='-Wl,'
8809 lt_prog_compiler_pic
='-fpic'
8810 lt_prog_compiler_static
='-Bstatic'
8813 lt_prog_compiler_wl
='-Wl,'
8814 # All Alpha code is PIC.
8815 lt_prog_compiler_static
='-non_shared'
8817 xl
* | bgxl
* | bgf
* | mpixl
*)
8818 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8819 lt_prog_compiler_wl
='-Wl,'
8820 lt_prog_compiler_pic
='-qpic'
8821 lt_prog_compiler_static
='-qstaticlink'
8824 case `$CC -V 2>&1 | sed 5q` in
8825 *Sun\ F
* |
*Sun
*Fortran
*)
8826 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8827 lt_prog_compiler_pic
='-KPIC'
8828 lt_prog_compiler_static
='-Bstatic'
8829 lt_prog_compiler_wl
=''
8833 lt_prog_compiler_pic
='-KPIC'
8834 lt_prog_compiler_static
='-Bstatic'
8835 lt_prog_compiler_wl
='-Wl,'
8843 lt_prog_compiler_pic
='-KPIC'
8844 lt_prog_compiler_static
='-Bstatic'
8848 # QNX uses GNU C++, but need to define -shared option too, otherwise
8850 lt_prog_compiler_pic
='-fPIC -shared'
8853 osf3
* | osf4
* | osf5
*)
8854 lt_prog_compiler_wl
='-Wl,'
8855 # All OSF/1 code is PIC.
8856 lt_prog_compiler_static
='-non_shared'
8860 lt_prog_compiler_static
='-non_shared'
8864 lt_prog_compiler_pic
='-KPIC'
8865 lt_prog_compiler_static
='-Bstatic'
8866 case $cc_basename in
8868 lt_prog_compiler_wl
='-Qoption ld ';;
8870 lt_prog_compiler_wl
='-Wl,';;
8875 lt_prog_compiler_wl
='-Qoption ld '
8876 lt_prog_compiler_pic
='-PIC'
8877 lt_prog_compiler_static
='-Bstatic'
8880 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8881 lt_prog_compiler_wl
='-Wl,'
8882 lt_prog_compiler_pic
='-KPIC'
8883 lt_prog_compiler_static
='-Bstatic'
8887 if test -d /usr
/nec
;then
8888 lt_prog_compiler_pic
='-Kconform_pic'
8889 lt_prog_compiler_static
='-Bstatic'
8893 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8894 lt_prog_compiler_wl
='-Wl,'
8895 lt_prog_compiler_pic
='-KPIC'
8896 lt_prog_compiler_static
='-Bstatic'
8900 lt_prog_compiler_wl
='-Wl,'
8901 lt_prog_compiler_can_build_shared
=no
8905 lt_prog_compiler_pic
='-pic'
8906 lt_prog_compiler_static
='-Bstatic'
8910 lt_prog_compiler_can_build_shared
=no
8916 # For platforms which do not support PIC, -DPIC is meaningless:
8918 lt_prog_compiler_pic
=
8921 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8925 $as_echo "$lt_prog_compiler_pic" >&6; }
8933 # Check to make sure the PIC flag actually works.
8935 if test -n "$lt_prog_compiler_pic"; then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8937 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8938 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8939 $as_echo_n "(cached) " >&6
8941 lt_cv_prog_compiler_pic_works
=no
8942 ac_outfile
=conftest.
$ac_objext
8943 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8944 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8945 # Insert the option either (1) after the last *FLAGS variable, or
8946 # (2) before a word containing "conftest.", or (3) at the end.
8947 # Note that $ac_compile itself does not contain backslashes and begins
8948 # with a dollar sign (not a hyphen), so the echo should work correctly.
8949 # The option is referenced via a variable to avoid confusing sed.
8950 lt_compile
=`echo "$ac_compile" | $SED \
8951 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8952 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8953 -e 's:$: $lt_compiler_flag:'`
8954 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8955 (eval "$lt_compile" 2>conftest.err
)
8957 cat conftest.err
>&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 if (exit $ac_status) && test -s "$ac_outfile"; then
8960 # The compiler can only warn and ignore the option if not recognized
8961 # So say no if there are warnings other than the usual output.
8962 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8963 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8964 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8965 lt_cv_prog_compiler_pic_works
=yes
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8972 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8974 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8975 case $lt_prog_compiler_pic in
8977 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8980 lt_prog_compiler_pic
=
8981 lt_prog_compiler_can_build_shared
=no
8992 # Check to make sure the static flag actually works.
8994 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8996 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8997 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8998 $as_echo_n "(cached) " >&6
9000 lt_cv_prog_compiler_static_works
=no
9001 save_LDFLAGS
="$LDFLAGS"
9002 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9003 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9004 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9005 # The linker can only warn and ignore the option if not recognized
9006 # So say no if there are warnings
9007 if test -s conftest.err
; then
9008 # Append any errors to the config.log.
9009 cat conftest.err
1>&5
9010 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9011 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9012 if diff conftest.exp conftest.er2
>/dev
/null
; then
9013 lt_cv_prog_compiler_static_works
=yes
9016 lt_cv_prog_compiler_static_works
=yes
9020 LDFLAGS
="$save_LDFLAGS"
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9024 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9026 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9029 lt_prog_compiler_static
=
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9039 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9040 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9041 $as_echo_n "(cached) " >&6
9043 lt_cv_prog_compiler_c_o
=no
9044 $RM -r conftest
2>/dev
/null
9048 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9050 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9051 # Insert the option either (1) after the last *FLAGS variable, or
9052 # (2) before a word containing "conftest.", or (3) at the end.
9053 # Note that $ac_compile itself does not contain backslashes and begins
9054 # with a dollar sign (not a hyphen), so the echo should work correctly.
9055 lt_compile
=`echo "$ac_compile" | $SED \
9056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9058 -e 's:$: $lt_compiler_flag:'`
9059 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9060 (eval "$lt_compile" 2>out
/conftest.err
)
9062 cat out
/conftest.err
>&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9066 # The compiler can only warn and ignore the option if not recognized
9067 # So say no if there are warnings
9068 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9069 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9070 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9071 lt_cv_prog_compiler_c_o
=yes
9076 # SGI C++ compiler will create directory out/ii_files/ for
9077 # template instantiation
9078 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9079 $RM out
/* && rmdir out
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9086 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9094 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9095 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9096 $as_echo_n "(cached) " >&6
9098 lt_cv_prog_compiler_c_o
=no
9099 $RM -r conftest
2>/dev
/null
9103 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9105 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9106 # Insert the option either (1) after the last *FLAGS variable, or
9107 # (2) before a word containing "conftest.", or (3) at the end.
9108 # Note that $ac_compile itself does not contain backslashes and begins
9109 # with a dollar sign (not a hyphen), so the echo should work correctly.
9110 lt_compile
=`echo "$ac_compile" | $SED \
9111 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9112 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9113 -e 's:$: $lt_compiler_flag:'`
9114 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9115 (eval "$lt_compile" 2>out
/conftest.err
)
9117 cat out
/conftest.err
>&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9121 # The compiler can only warn and ignore the option if not recognized
9122 # So say no if there are warnings
9123 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9124 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9125 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9126 lt_cv_prog_compiler_c_o
=yes
9131 # SGI C++ compiler will create directory out/ii_files/ for
9132 # template instantiation
9133 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9134 $RM out
/* && rmdir out
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9141 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9146 hard_links
="nottested"
9147 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9148 # do not overwrite the value of need_locks provided by the user
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9150 $as_echo_n "checking if we can lock with hard links... " >&6; }
9153 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9155 ln conftest.a conftest.b
2>&5 || hard_links
=no
9156 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9158 $as_echo "$hard_links" >&6; }
9159 if test "$hard_links" = no
; then
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9161 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9174 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9177 allow_undefined_flag
=
9178 always_export_symbols
=no
9180 archive_expsym_cmds
=
9181 compiler_needs_object
=no
9182 enable_shared_with_static_runtimes
=no
9183 export_dynamic_flag_spec
=
9184 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9185 hardcode_automatic
=no
9187 hardcode_direct_absolute
=no
9188 hardcode_libdir_flag_spec
=
9189 hardcode_libdir_flag_spec_ld
=
9190 hardcode_libdir_separator
=
9192 hardcode_shlibpath_var
=unsupported
9194 link_all_deplibs
=unknown
9197 old_archive_from_new_cmds
=
9198 old_archive_from_expsyms_cmds
=
9199 thread_safe_flag_spec
=
9200 whole_archive_flag_spec
=
9201 # include_expsyms should be a list of space-separated symbols to be *always*
9202 # included in the symbol list
9204 # exclude_expsyms can be an extended regexp of symbols to exclude
9205 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9206 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9207 # as well as any symbol that contains `d'.
9208 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9209 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9210 # platforms (ab)use it in PIC code, but their linkers get confused if
9211 # the symbol is explicitly referenced. Since portable code cannot
9212 # rely on this symbol name, it's probably fine to never include it in
9213 # preloaded symbol tables.
9214 # Exclude shared library initialization/finalization symbols.
9215 extract_expsyms_cmds
=
9218 cygwin
* | mingw
* | pw32
* | cegcc
*)
9219 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9220 # When not using gcc, we currently assume that we are using
9221 # Microsoft Visual C++.
9222 if test "$GCC" != yes; then
9227 # we just hope/assume this is gcc and not c89 (= MSVC++)
9237 # On some targets, GNU ld is compatible enough with the native linker
9238 # that we're better off using the native interface for both.
9239 lt_use_gnu_ld_interface
=no
9240 if test "$with_gnu_ld" = yes; then
9243 # The AIX port of GNU ld has always aspired to compatibility
9244 # with the native linker. However, as the warning in the GNU ld
9245 # block says, versions before 2.19.5* couldn't really create working
9246 # shared libraries, regardless of the interface used.
9247 case `$LD -v 2>&1` in
9248 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9249 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9250 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9252 lt_use_gnu_ld_interface
=yes
9257 lt_use_gnu_ld_interface
=yes
9262 if test "$lt_use_gnu_ld_interface" = yes; then
9263 # If archive_cmds runs LD, not CC, wlarc should be empty
9266 # Set some defaults for GNU ld with shared library support. These
9267 # are reset later if shared libraries are not supported. Putting them
9268 # here allows them to be overridden if necessary.
9269 runpath_var
=LD_RUN_PATH
9270 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9271 export_dynamic_flag_spec
='${wl}--export-dynamic'
9272 # ancient GNU ld didn't support --whole-archive et. al.
9273 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9274 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9276 whole_archive_flag_spec
=
9278 supports_anon_versioning
=no
9279 case `$LD -v 2>&1` in
9280 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9281 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9282 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9283 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9284 *\
2.11.
*) ;; # other 2.11 versions
9285 *) supports_anon_versioning
=yes ;;
9288 # See if GNU ld supports shared libraries.
9291 # On AIX/PPC, the GNU linker is very broken
9292 if test "$host_cpu" != ia64
; then
9296 *** Warning: the GNU linker, at least up to release 2.19, is reported
9297 *** to be unable to reliably create shared libraries on AIX.
9298 *** Therefore, libtool is disabling shared libraries support. If you
9299 *** really care for shared libraries, you may want to install binutils
9300 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9301 *** You will then need to restart the configuration process.
9310 # see comment about AmigaOS4 .so support
9311 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9312 archive_expsym_cmds
=''
9315 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)'
9316 hardcode_libdir_flag_spec
='-L$libdir'
9317 hardcode_minus_L
=yes
9323 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9324 allow_undefined_flag
=unsupported
9325 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9326 # support --undefined. This deserves some investigation. FIXME
9327 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333 cygwin
* | mingw
* | pw32
* | cegcc
*)
9334 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9335 # as there is no search path for DLLs.
9336 hardcode_libdir_flag_spec
='-L$libdir'
9337 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9338 allow_undefined_flag
=unsupported
9339 always_export_symbols
=no
9340 enable_shared_with_static_runtimes
=yes
9341 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9343 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9344 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9345 # If the export-symbols file already is a .def file (1st line
9346 # is EXPORTS), use it as is; otherwise, prepend...
9347 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9348 cp $export_symbols $output_objdir/$soname.def;
9350 echo EXPORTS > $output_objdir/$soname.def;
9351 cat $export_symbols >> $output_objdir/$soname.def;
9353 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9360 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9361 link_all_deplibs
=yes
9366 hardcode_shlibpath_var
=no
9367 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9368 export_dynamic_flag_spec
='${wl}-E'
9369 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9370 # Instead, shared libraries are loaded at an image base (0x10000000 by
9371 # default) and relocated if they conflict, which is a slow very memory
9372 # consuming and fragmenting process. To avoid this, we pick a random,
9373 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9374 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9375 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9376 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'
9379 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9381 if test "$host_os" = linux-dietlibc
; then
9382 case $cc_basename in
9383 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9386 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9387 && test "$tmp_diet" = no
9389 tmp_addflag
=' $pic_flag'
9390 tmp_sharedflag
='-shared'
9391 case $cc_basename,$host_cpu in
9392 pgcc
*) # Portland Group C compiler
9393 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'
9394 tmp_addflag
=' $pic_flag'
9396 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9397 # Portland Group f77 and f90 compilers
9398 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'
9399 tmp_addflag
=' $pic_flag -Mnomain' ;;
9400 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9401 tmp_addflag
=' -i_dynamic' ;;
9402 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9403 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9404 ifc
* | ifort
*) # Intel Fortran compiler
9405 tmp_addflag
=' -nofor_main' ;;
9406 lf95
*) # Lahey Fortran 8.1
9407 whole_archive_flag_spec
=
9408 tmp_sharedflag
='--shared' ;;
9409 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9410 tmp_sharedflag
='-qmkshrobj'
9412 nvcc
*) # Cuda Compiler Driver 2.2
9413 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'
9414 compiler_needs_object
=yes
9417 case `$CC -V 2>&1 | sed 5q` in
9418 *Sun\ C
*) # Sun C 5.9
9419 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'
9420 compiler_needs_object
=yes
9421 tmp_sharedflag
='-G' ;;
9422 *Sun\ F
*) # Sun Fortran 8.3
9423 tmp_sharedflag
='-G' ;;
9425 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9427 if test "x$supports_anon_versioning" = xyes
; then
9428 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9429 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9430 echo "local: *; };" >> $output_objdir/$libname.ver~
9431 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9434 case $cc_basename in
9435 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9436 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9437 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9438 hardcode_libdir_flag_spec
=
9439 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9440 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9441 if test "x$supports_anon_versioning" = xyes
; then
9442 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9443 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9444 echo "local: *; };" >> $output_objdir/$libname.ver~
9445 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9455 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9456 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9459 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9460 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9465 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9469 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9470 *** create shared libraries on Solaris systems. Therefore, libtool
9471 *** is disabling shared libraries support. We urge you to upgrade GNU
9472 *** binutils to release 2.9.1 or newer. Another option is to modify
9473 *** your PATH or compiler configuration so that the native linker is
9474 *** used, and then restart.
9477 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9478 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9479 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9485 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9486 case `$LD -v 2>&1` in
9487 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9491 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9492 *** reliably create shared libraries on SCO systems. Therefore, libtool
9493 *** is disabling shared libraries support. We urge you to upgrade GNU
9494 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9495 *** your PATH or compiler configuration so that the native linker is
9496 *** used, and then restart.
9501 # For security reasons, it is highly recommended that you always
9502 # use absolute paths for naming shared libraries, and exclude the
9503 # DT_RUNPATH tag from executables and libraries. But doing so
9504 # requires that you compile everything twice, which is a pain.
9505 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9506 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9507 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9508 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9517 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9520 hardcode_shlibpath_var
=no
9524 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9525 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9526 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9533 if test "$ld_shlibs" = no
; then
9535 hardcode_libdir_flag_spec
=
9536 export_dynamic_flag_spec
=
9537 whole_archive_flag_spec
=
9540 # PORTME fill in a description of your system's linker (not GNU ld)
9543 allow_undefined_flag
=unsupported
9544 always_export_symbols
=yes
9545 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'
9546 # Note: this linker hardcodes the directories in LIBPATH if there
9547 # are no directories specified by -L.
9548 hardcode_minus_L
=yes
9549 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9550 # Neither direct hardcoding nor static linking is supported with a
9552 hardcode_direct
=unsupported
9557 if test "$host_cpu" = ia64
; then
9558 # On IA64, the linker does run time linking by default, so we don't
9559 # have to do anything special.
9560 aix_use_runtimelinking
=no
9561 exp_sym_flag
='-Bexport'
9564 # If we're using GNU nm, then we don't want the "-C" option.
9565 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9566 # Also, AIX nm treats weak defined symbols like other global
9567 # defined symbols, whereas GNU nm marks them as "W".
9568 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9569 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'
9571 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'
9573 aix_use_runtimelinking
=no
9575 # Test if we are trying to use run time linking or normal
9576 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9577 # need to do runtime linking.
9578 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9579 for ld_flag
in $LDFLAGS; do
9580 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9581 aix_use_runtimelinking
=yes
9588 exp_sym_flag
='-bexport'
9589 no_entry_flag
='-bnoentry'
9592 # When large executables or shared objects are built, AIX ld can
9593 # have problems creating the table of contents. If linking a library
9594 # or program results in "error TOC overflow" add -mminimal-toc to
9595 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9596 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9600 hardcode_direct_absolute
=yes
9601 hardcode_libdir_separator
=':'
9602 link_all_deplibs
=yes
9603 file_list_spec
='${wl}-f,'
9605 if test "$GCC" = yes; then
9606 case $host_os in aix4.
[012]|aix4.
[012].
*)
9607 # We only want to do this on AIX 4.2 and lower, the check
9608 # below for broken collect2 doesn't work under 4.3+
9609 collect2name
=`${CC} -print-prog-name=collect2`
9610 if test -f "$collect2name" &&
9611 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9613 # We have reworked collect2
9616 # We have old collect2
9617 hardcode_direct
=unsupported
9618 # It fails to find uninstalled libraries when the uninstalled
9619 # path is not listed in the libpath. Setting hardcode_minus_L
9620 # to unsupported forces relinking
9621 hardcode_minus_L
=yes
9622 hardcode_libdir_flag_spec
='-L$libdir'
9623 hardcode_libdir_separator
=
9627 shared_flag
='-shared'
9628 if test "$aix_use_runtimelinking" = yes; then
9629 shared_flag
="$shared_flag "'${wl}-G'
9633 if test "$host_cpu" = ia64
; then
9634 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9635 # chokes on -Wl,-G. The following line is correct:
9638 if test "$aix_use_runtimelinking" = yes; then
9639 shared_flag
='${wl}-G'
9641 shared_flag
='${wl}-bM:SRE'
9646 export_dynamic_flag_spec
='${wl}-bexpall'
9647 # It seems that -bexpall does not export symbols beginning with
9648 # underscore (_), so it is better to generate a list of symbols to export.
9649 always_export_symbols
=yes
9650 if test "$aix_use_runtimelinking" = yes; then
9651 # Warning - without using the other runtime loading flags (-brtl),
9652 # -berok will link without error, but may produce a broken library.
9653 allow_undefined_flag
='-berok'
9654 # Determine the default libpath from the value encoded in an
9656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9657 /* end confdefs.h. */
9667 if ac_fn_c_try_link
"$LINENO"; then :
9669 lt_aix_libpath_sed
='
9670 /Import File Strings/,/^$/ {
9676 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9677 # Check for a 64-bit object if we didn't find anything.
9678 if test -z "$aix_libpath"; then
9679 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9682 rm -f core conftest.err conftest.
$ac_objext \
9683 conftest
$ac_exeext conftest.
$ac_ext
9684 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9686 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9687 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"
9689 if test "$host_cpu" = ia64
; then
9690 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9691 allow_undefined_flag
="-z nodefs"
9692 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"
9694 # Determine the default libpath from the value encoded in an
9696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9697 /* end confdefs.h. */
9707 if ac_fn_c_try_link
"$LINENO"; then :
9709 lt_aix_libpath_sed
='
9710 /Import File Strings/,/^$/ {
9716 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9717 # Check for a 64-bit object if we didn't find anything.
9718 if test -z "$aix_libpath"; then
9719 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9722 rm -f core conftest.err conftest.
$ac_objext \
9723 conftest
$ac_exeext conftest.
$ac_ext
9724 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9726 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9727 # Warning - without using the other run time loading flags,
9728 # -berok will link without error, but may produce a broken library.
9729 no_undefined_flag
=' ${wl}-bernotok'
9730 allow_undefined_flag
=' ${wl}-berok'
9731 if test "$with_gnu_ld" = yes; then
9732 # We only use this code for GNU lds that support --whole-archive.
9733 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9735 # Exported symbols can be pulled into shared objects from archives
9736 whole_archive_flag_spec
='$convenience'
9738 archive_cmds_need_lc
=yes
9739 # This is similar to how AIX traditionally builds its shared libraries.
9740 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'
9748 # see comment about AmigaOS4 .so support
9749 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9750 archive_expsym_cmds
=''
9753 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)'
9754 hardcode_libdir_flag_spec
='-L$libdir'
9755 hardcode_minus_L
=yes
9761 export_dynamic_flag_spec
=-rdynamic
9764 cygwin
* | mingw
* | pw32
* | cegcc
*)
9765 # When not using gcc, we currently assume that we are using
9766 # Microsoft Visual C++.
9767 # hardcode_libdir_flag_spec is actually meaningless, as there is
9768 # no search path for DLLs.
9769 hardcode_libdir_flag_spec
=' '
9770 allow_undefined_flag
=unsupported
9771 # Tell ltmain to make .lib files, not .a files.
9773 # Tell ltmain to make .dll files, not .so files.
9775 # FIXME: Setting linknames here is a bad hack.
9776 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9777 # The linker will automatically build a .lib file if we build a DLL.
9778 old_archive_from_new_cmds
='true'
9779 # FIXME: Should let the user specify the lib program.
9780 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9781 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9782 enable_shared_with_static_runtimes
=yes
9785 darwin
* | rhapsody
*)
9788 archive_cmds_need_lc
=no
9790 hardcode_automatic
=yes
9791 hardcode_shlibpath_var
=unsupported
9792 if test "$lt_cv_ld_force_load" = "yes"; then
9793 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\"`'
9795 whole_archive_flag_spec
=''
9797 link_all_deplibs
=yes
9798 allow_undefined_flag
="$_lt_dar_allow_undefined"
9799 case $cc_basename in
9800 ifort
*) _lt_dar_can_shared
=yes ;;
9801 *) _lt_dar_can_shared
=$GCC ;;
9803 if test "$_lt_dar_can_shared" = "yes"; then
9804 output_verbose_link_cmd
=func_echo_all
9805 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9806 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9807 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}"
9808 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}"
9817 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9818 hardcode_libdir_flag_spec
='-L$libdir'
9819 hardcode_shlibpath_var
=no
9822 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9823 # support. Future versions do this automatically, but an explicit c++rt0.o
9824 # does not break anything, and helps significantly (at the cost of a little
9827 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9828 hardcode_libdir_flag_spec
='-R$libdir'
9830 hardcode_shlibpath_var
=no
9833 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9835 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9837 hardcode_minus_L
=yes
9838 hardcode_shlibpath_var
=no
9841 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9842 freebsd
* | dragonfly
*)
9843 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9844 hardcode_libdir_flag_spec
='-R$libdir'
9846 hardcode_shlibpath_var
=no
9850 if test "$GCC" = yes; then
9851 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'
9853 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'
9855 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9856 hardcode_libdir_separator
=:
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L
=yes
9862 export_dynamic_flag_spec
='${wl}-E'
9866 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9867 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9869 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9871 if test "$with_gnu_ld" = no
; then
9872 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9873 hardcode_libdir_flag_spec_ld
='+b $libdir'
9874 hardcode_libdir_separator
=:
9876 hardcode_direct_absolute
=yes
9877 export_dynamic_flag_spec
='${wl}-E'
9878 # hardcode_minus_L: Not really in the search PATH,
9879 # but as the default location of the library.
9880 hardcode_minus_L
=yes
9885 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9888 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9891 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9894 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9900 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9903 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9907 # Older versions of the 11.00 compiler do not understand -b yet
9908 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9910 $as_echo_n "checking if $CC understands -b... " >&6; }
9911 if ${lt_cv_prog_compiler__b+:} false
; then :
9912 $as_echo_n "(cached) " >&6
9914 lt_cv_prog_compiler__b
=no
9915 save_LDFLAGS
="$LDFLAGS"
9916 LDFLAGS
="$LDFLAGS -b"
9917 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9918 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9919 # The linker can only warn and ignore the option if not recognized
9920 # So say no if there are warnings
9921 if test -s conftest.err
; then
9922 # Append any errors to the config.log.
9923 cat conftest.err
1>&5
9924 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9925 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9926 if diff conftest.exp conftest.er2
>/dev
/null
; then
9927 lt_cv_prog_compiler__b
=yes
9930 lt_cv_prog_compiler__b
=yes
9934 LDFLAGS
="$save_LDFLAGS"
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9938 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9940 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9941 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9949 if test "$with_gnu_ld" = no
; then
9950 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9951 hardcode_libdir_separator
=:
9956 hardcode_shlibpath_var
=no
9960 hardcode_direct_absolute
=yes
9961 export_dynamic_flag_spec
='${wl}-E'
9963 # hardcode_minus_L: Not really in the search PATH,
9964 # but as the default location of the library.
9965 hardcode_minus_L
=yes
9971 irix5
* | irix6
* | nonstopux
*)
9972 if test "$GCC" = yes; then
9973 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'
9974 # Try to use the -exported_symbol ld option, if it does not
9975 # work, assume that -exports_file does not work either and
9976 # implicitly export all symbols.
9977 save_LDFLAGS
="$LDFLAGS"
9978 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9983 if ac_fn_c_try_link
"$LINENO"; then :
9984 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'
9987 rm -f core conftest.err conftest.
$ac_objext \
9988 conftest
$ac_exeext conftest.
$ac_ext
9989 LDFLAGS
="$save_LDFLAGS"
9991 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'
9992 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'
9994 archive_cmds_need_lc
='no'
9995 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9996 hardcode_libdir_separator
=:
9998 link_all_deplibs
=yes
10002 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10003 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10005 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10007 hardcode_libdir_flag_spec
='-R$libdir'
10008 hardcode_direct
=yes
10009 hardcode_shlibpath_var
=no
10013 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10014 hardcode_direct
=yes
10015 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10016 hardcode_libdir_separator
=:
10017 hardcode_shlibpath_var
=no
10024 if test -f /usr
/libexec
/ld.so
; then
10025 hardcode_direct
=yes
10026 hardcode_shlibpath_var
=no
10027 hardcode_direct_absolute
=yes
10028 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10029 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10030 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10031 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10032 export_dynamic_flag_spec
='${wl}-E'
10035 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10036 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10037 hardcode_libdir_flag_spec
='-R$libdir'
10040 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10041 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10051 hardcode_libdir_flag_spec
='-L$libdir'
10052 hardcode_minus_L
=yes
10053 allow_undefined_flag
=unsupported
10054 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'
10055 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10059 if test "$GCC" = yes; then
10060 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10061 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'
10063 allow_undefined_flag
=' -expect_unresolved \*'
10064 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'
10066 archive_cmds_need_lc
='no'
10067 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10068 hardcode_libdir_separator
=:
10071 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10072 if test "$GCC" = yes; then
10073 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10074 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'
10075 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10077 allow_undefined_flag
=' -expect_unresolved \*'
10078 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'
10079 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~
10080 $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'
10082 # Both c and cxx compiler support -rpath directly
10083 hardcode_libdir_flag_spec
='-rpath $libdir'
10085 archive_cmds_need_lc
='no'
10086 hardcode_libdir_separator
=:
10090 no_undefined_flag
=' -z defs'
10091 if test "$GCC" = yes; then
10093 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10095 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10097 case `$CC -V 2>&1` in
10100 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10101 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10102 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10106 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10107 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10108 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10112 hardcode_libdir_flag_spec
='-R$libdir'
10113 hardcode_shlibpath_var
=no
10115 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10117 # The compiler driver will combine and reorder linker options,
10118 # but understands `-z linker_flag'. GCC discards it without `$wl',
10119 # but is careful enough not to reorder.
10120 # Supported since Solaris 2.6 (maybe 2.5.1?)
10121 if test "$GCC" = yes; then
10122 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10124 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10128 link_all_deplibs
=yes
10132 if test "x$host_vendor" = xsequent
; then
10133 # Use $CC to link under sequent, because it throws in some extra .o
10134 # files that make .init and .fini sections work.
10135 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10139 hardcode_libdir_flag_spec
='-L$libdir'
10140 hardcode_direct
=yes
10141 hardcode_minus_L
=yes
10142 hardcode_shlibpath_var
=no
10146 case $host_vendor in
10148 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_direct
=yes # is this really true???
10152 ## LD is ld it makes a PLAMLIB
10153 ## CC just makes a GrossModule.
10154 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10155 reload_cmds
='$CC -r -o $output$reload_objs'
10159 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10160 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10163 runpath_var
='LD_RUN_PATH'
10164 hardcode_shlibpath_var
=no
10168 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10169 hardcode_shlibpath_var
=no
10170 export_dynamic_flag_spec
='-Bexport'
10174 if test -d /usr
/nec
; then
10175 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10176 hardcode_shlibpath_var
=no
10177 runpath_var
=LD_RUN_PATH
10178 hardcode_runpath_var
=yes
10183 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10184 no_undefined_flag
='${wl}-z,text'
10185 archive_cmds_need_lc
=no
10186 hardcode_shlibpath_var
=no
10187 runpath_var
='LD_RUN_PATH'
10189 if test "$GCC" = yes; then
10190 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10191 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10193 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10194 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 sysv5
* | sco3.2v5
* | sco5v6
*)
10199 # Note: We can NOT use -z defs as we might desire, because we do not
10200 # link with -lc, and that would cause any symbols used from libc to
10201 # always be unresolved, which means just about no library would
10202 # ever link correctly. If we're not using GNU ld we use -z text
10203 # though, which does catch some bad symbols but isn't as heavy-handed
10205 no_undefined_flag
='${wl}-z,text'
10206 allow_undefined_flag
='${wl}-z,nodefs'
10207 archive_cmds_need_lc
=no
10208 hardcode_shlibpath_var
=no
10209 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10210 hardcode_libdir_separator
=':'
10211 link_all_deplibs
=yes
10212 export_dynamic_flag_spec
='${wl}-Bexport'
10213 runpath_var
='LD_RUN_PATH'
10215 if test "$GCC" = yes; then
10216 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10217 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10219 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10225 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10226 hardcode_libdir_flag_spec
='-L$libdir'
10227 hardcode_shlibpath_var
=no
10235 if test x
$host_vendor = xsni
; then
10237 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10238 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10245 $as_echo "$ld_shlibs" >&6; }
10246 test "$ld_shlibs" = no
&& can_build_shared
=no
10248 with_gnu_ld
=$with_gnu_ld
10265 # Do we need to explicitly link libc?
10267 case "x$archive_cmds_need_lc" in
10269 # Assume -lc should be added
10270 archive_cmds_need_lc
=yes
10272 if test "$enable_shared" = yes && test "$GCC" = yes; then
10273 case $archive_cmds in
10275 # FIXME: we may have to deal with multi-command sequences.
10278 # Test whether the compiler implicitly links with -lc since on some
10279 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10280 # to ld, don't add -lc before -lgcc.
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10282 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10283 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10284 $as_echo_n "(cached) " >&6
10287 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10290 (eval $ac_compile) 2>&5
10292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10293 test $ac_status = 0; } 2>conftest.err
; then
10296 libobjs
=conftest.
$ac_objext
10298 wl
=$lt_prog_compiler_wl
10299 pic_flag
=$lt_prog_compiler_pic
10305 lt_save_allow_undefined_flag
=$allow_undefined_flag
10306 allow_undefined_flag
=
10307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10308 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10311 test $ac_status = 0; }
10313 lt_cv_archive_cmds_need_lc
=no
10315 lt_cv_archive_cmds_need_lc
=yes
10317 allow_undefined_flag
=$lt_save_allow_undefined_flag
10319 cat conftest.err
1>&5
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10325 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10326 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10490 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10492 if test "$GCC" = yes; then
10494 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10495 *) lt_awk_arg
="/^libraries:/" ;;
10498 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10499 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10501 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10502 case $lt_search_path_spec in
10504 # if the path contains ";" then we assume it to be the separator
10505 # otherwise default to the standard path separator (i.e. ":") - it is
10506 # assumed that no part of a normal pathname contains ";" but that should
10507 # okay in the real world where ";" in dirpaths is itself problematic.
10508 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10511 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10514 # Ok, now we have the path, separated by spaces, we can step through it
10515 # and add multilib dir if necessary.
10516 lt_tmp_lt_search_path_spec
=
10517 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10518 for lt_sys_path
in $lt_search_path_spec; do
10519 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10520 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10522 test -d "$lt_sys_path" && \
10523 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10526 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10527 BEGIN {RS=" "; FS="/|\n";} {
10530 for (lt_i = NF; lt_i > 0; lt_i--) {
10531 if ($lt_i != "" && $lt_i != ".") {
10532 if ($lt_i == "..") {
10535 if (lt_count == 0) {
10536 lt_foo="/" $lt_i lt_foo;
10543 if (lt_foo != "") { lt_freq[lt_foo]++; }
10544 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10546 # AWK program above erroneously prepends '/' to C:/dos/paths
10549 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10550 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10552 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10554 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10556 library_names_spec
=
10557 libname_spec
='lib$name'
10561 postuninstall_cmds
=
10565 shlibpath_overrides_runpath
=unknown
10567 dynamic_linker
="$host_os ld.so"
10568 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10569 need_lib_prefix
=unknown
10570 hardcode_into_libs
=no
10572 # when you set need_version to no, make sure it does not cause -set_version
10573 # flags to be left without arguments
10574 need_version
=unknown
10579 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10580 shlibpath_var
=LIBPATH
10582 # AIX 3 has no versioning support, so we append a major version to the name.
10583 soname_spec
='${libname}${release}${shared_ext}$major'
10590 hardcode_into_libs
=yes
10591 if test "$host_cpu" = ia64
; then
10592 # AIX 5 supports IA64
10593 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10594 shlibpath_var
=LD_LIBRARY_PATH
10596 # With GCC up to 2.95.x, collect2 would create an import file
10597 # for dependence libraries. The import file would start with
10598 # the line `#! .'. This would cause the generated library to
10599 # depend on `.', always an invalid library. This was fixed in
10600 # development snapshots of GCC prior to 3.0.
10602 aix4 | aix4.
[01] | aix4.
[01].
*)
10603 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10605 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10608 can_build_shared
=no
10612 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10613 # soname into executable. Probably we can add versioning support to
10614 # collect2, so additional links can be useful in future.
10615 if test "$aix_use_runtimelinking" = yes; then
10616 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10617 # instead of lib<name>.a to let people know that these are not
10618 # typical AIX shared libraries.
10619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10621 # We preserve .a as extension for shared libraries through AIX4.2
10622 # and later when we are not doing run time linking.
10623 library_names_spec
='${libname}${release}.a $libname.a'
10624 soname_spec
='${libname}${release}${shared_ext}$major'
10626 shlibpath_var
=LIBPATH
10633 # Since July 2007 AmigaOS4 officially supports .so libraries.
10634 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 library_names_spec
='$libname.ixlibrary $libname.a'
10639 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10640 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'
10646 library_names_spec
='${libname}${shared_ext}'
10647 dynamic_linker
="$host_os ld.so"
10648 shlibpath_var
=LIBRARY_PATH
10654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655 soname_spec
='${libname}${release}${shared_ext}$major'
10656 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10657 shlibpath_var
=LD_LIBRARY_PATH
10658 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10659 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10660 # the default ld.so.conf also contains /usr/contrib/lib and
10661 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10662 # libtool to hard-code these into programs
10665 cygwin
* | mingw
* | pw32
* | cegcc
*)
10666 version_type
=windows
10671 case $GCC,$host_os in
10672 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10673 library_names_spec
='$libname.dll.a'
10674 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10675 postinstall_cmds
='base_file=`basename \${file}`~
10676 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10677 dldir=$destdir/`dirname \$dlpath`~
10678 test -d \$dldir || mkdir -p \$dldir~
10679 $install_prog $dir/$dlname \$dldir/$dlname~
10680 chmod a+x \$dldir/$dlname~
10681 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10682 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10684 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10685 dlpath=$dir/\$dldll~
10687 shlibpath_overrides_runpath
=yes
10691 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10692 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10694 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10697 # MinGW DLLs use traditional 'lib' prefix
10698 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10701 # pw32 DLLs use 'pw' prefix rather than 'lib'
10702 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10708 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10711 dynamic_linker
='Win32 ld.exe'
10712 # FIXME: first we should search . and the directory the executable is in
10716 darwin
* | rhapsody
*)
10717 dynamic_linker
="$host_os dyld"
10718 version_type
=darwin
10721 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10722 soname_spec
='${libname}${release}${major}$shared_ext'
10723 shlibpath_overrides_runpath
=yes
10724 shlibpath_var
=DYLD_LIBRARY_PATH
10725 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10727 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10728 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10736 soname_spec
='${libname}${release}${shared_ext}$major'
10737 shlibpath_var
=LD_LIBRARY_PATH
10740 freebsd
* | dragonfly
*)
10741 # DragonFly does not have aout. When/if they implement a new
10742 # versioning mechanism, adjust this.
10743 if test -x /usr
/bin
/objformat
; then
10744 objformat
=`/usr/bin/objformat`
10747 freebsd
[23].
*) objformat
=aout
;;
10748 *) objformat
=elf
;;
10751 version_type
=freebsd-
$objformat
10752 case $version_type in
10754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10759 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10763 shlibpath_var
=LD_LIBRARY_PATH
10766 shlibpath_overrides_runpath
=yes
10768 freebsd3.
[01]* | freebsdelf3.
[01]*)
10769 shlibpath_overrides_runpath
=yes
10770 hardcode_into_libs
=yes
10772 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10773 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10774 shlibpath_overrides_runpath
=no
10775 hardcode_into_libs
=yes
10777 *) # from 4.6 on, and DragonFly
10778 shlibpath_overrides_runpath
=yes
10779 hardcode_into_libs
=yes
10788 dynamic_linker
="$host_os runtime_loader"
10789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10790 soname_spec
='${libname}${release}${shared_ext}$major'
10791 shlibpath_var
=LIBRARY_PATH
10792 shlibpath_overrides_runpath
=yes
10793 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10794 hardcode_into_libs
=yes
10797 hpux9
* | hpux10
* | hpux11
*)
10798 # Give a soname corresponding to the major version so that dld.sl refuses to
10799 # link against other versions.
10806 hardcode_into_libs
=yes
10807 dynamic_linker
="$host_os dld.so"
10808 shlibpath_var
=LD_LIBRARY_PATH
10809 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10811 soname_spec
='${libname}${release}${shared_ext}$major'
10812 if test "X$HPUX_IA64_MODE" = X32
; then
10813 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10815 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10817 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10821 hardcode_into_libs
=yes
10822 dynamic_linker
="$host_os dld.sl"
10823 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10824 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 soname_spec
='${libname}${release}${shared_ext}$major'
10827 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10828 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10832 dynamic_linker
="$host_os dld.sl"
10833 shlibpath_var
=SHLIB_PATH
10834 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10836 soname_spec
='${libname}${release}${shared_ext}$major'
10839 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10840 postinstall_cmds
='chmod 555 $lib'
10841 # or fails outright, so override atomically:
10842 install_override_mode
=555
10849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10850 soname_spec
='${libname}${release}${shared_ext}$major'
10851 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10852 shlibpath_var
=LD_LIBRARY_PATH
10853 shlibpath_overrides_runpath
=no
10854 hardcode_into_libs
=yes
10857 irix5
* | irix6
* | nonstopux
*)
10859 nonstopux
*) version_type
=nonstopux
;;
10861 if test "$lt_cv_prog_gnu_ld" = yes; then
10869 soname_spec
='${libname}${release}${shared_ext}$major'
10870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10872 irix5
* | nonstopux
*)
10873 libsuff
= shlibsuff
=
10876 case $LD in # libtool.m4 will add one of these switches to LD
10877 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10878 libsuff
= shlibsuff
= libmagic
=32-bit;;
10879 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10880 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10881 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10882 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10883 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10887 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10888 shlibpath_overrides_runpath
=no
10889 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10890 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10891 hardcode_into_libs
=yes
10894 # No shared lib support for Linux oldld, aout, or coff.
10895 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10899 # This must be Linux ELF.
10900 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905 soname_spec
='${libname}${release}${shared_ext}$major'
10906 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10907 shlibpath_var
=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath
=no
10910 # Some binutils ld are patched to set DT_RUNPATH
10911 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10912 $as_echo_n "(cached) " >&6
10914 lt_cv_shlibpath_overrides_runpath
=no
10915 save_LDFLAGS
=$LDFLAGS
10916 save_libdir
=$libdir
10917 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10918 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10930 if ac_fn_c_try_link
"$LINENO"; then :
10931 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10932 lt_cv_shlibpath_overrides_runpath
=yes
10935 rm -f core conftest.err conftest.
$ac_objext \
10936 conftest
$ac_exeext conftest.
$ac_ext
10937 LDFLAGS
=$save_LDFLAGS
10938 libdir
=$save_libdir
10942 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10944 # This implies no fast_install, which is unacceptable.
10945 # Some rework will be needed to allow for fast_install
10946 # before this can be enabled.
10947 hardcode_into_libs
=yes
10949 # Append ld.so.conf contents to the search path
10950 if test -f /etc
/ld.so.conf
; then
10951 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' ' '`
10952 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10955 # We used to test for /lib/ld.so.1 and disable shared libraries on
10956 # powerpc, because MkLinux only supported shared libraries with the
10957 # GNU dynamic linker. Since this was broken with cross compilers,
10958 # most powerpc-linux boxes support dynamic linking these days and
10959 # people can always --disable-shared, the test was removed, and we
10960 # assume the GNU/Linux dynamic linker is in use.
10961 dynamic_linker
='GNU/Linux ld.so'
10968 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10970 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10971 dynamic_linker
='NetBSD (a.out) ld.so'
10973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10974 soname_spec
='${libname}${release}${shared_ext}$major'
10975 dynamic_linker
='NetBSD ld.elf_so'
10977 shlibpath_var
=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath
=yes
10979 hardcode_into_libs
=yes
10984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10985 shlibpath_var
=LD_LIBRARY_PATH
10986 shlibpath_overrides_runpath
=yes
10993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994 soname_spec
='${libname}${release}${shared_ext}$major'
10995 shlibpath_var
=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath
=no
10997 hardcode_into_libs
=yes
10998 dynamic_linker
='ldqnx.so'
11003 sys_lib_dlsearch_path_spec
="/usr/lib"
11005 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11007 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11008 *) need_version
=no
;;
11010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11011 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11012 shlibpath_var
=LD_LIBRARY_PATH
11013 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11015 openbsd2.
[89] | openbsd2.
[89].
*)
11016 shlibpath_overrides_runpath
=no
11019 shlibpath_overrides_runpath
=yes
11023 shlibpath_overrides_runpath
=yes
11028 libname_spec
='$name'
11031 library_names_spec
='$libname${shared_ext} $libname.a'
11032 dynamic_linker
='OS/2 ld.exe'
11033 shlibpath_var
=LIBPATH
11036 osf3
* | osf4
* | osf5
*)
11040 soname_spec
='${libname}${release}${shared_ext}$major'
11041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11042 shlibpath_var
=LD_LIBRARY_PATH
11043 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11044 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec
='${libname}${release}${shared_ext}$major'
11057 shlibpath_var
=LD_LIBRARY_PATH
11058 shlibpath_overrides_runpath
=yes
11059 hardcode_into_libs
=yes
11060 # ldd complains unless libraries are executable
11061 postinstall_cmds
='chmod +x $lib'
11066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11067 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11068 shlibpath_var
=LD_LIBRARY_PATH
11069 shlibpath_overrides_runpath
=yes
11070 if test "$with_gnu_ld" = yes; then
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11079 soname_spec
='${libname}${release}${shared_ext}$major'
11080 shlibpath_var
=LD_LIBRARY_PATH
11081 case $host_vendor in
11083 shlibpath_overrides_runpath
=no
11085 runpath_var
=LD_RUN_PATH
11093 shlibpath_overrides_runpath
=no
11094 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11100 if test -d /usr
/nec
;then
11102 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11103 soname_spec
='$libname${shared_ext}.$major'
11104 shlibpath_var
=LD_LIBRARY_PATH
11108 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11109 version_type
=freebsd-elf
11112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11113 soname_spec
='${libname}${release}${shared_ext}$major'
11114 shlibpath_var
=LD_LIBRARY_PATH
11115 shlibpath_overrides_runpath
=yes
11116 hardcode_into_libs
=yes
11117 if test "$with_gnu_ld" = yes; then
11118 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11120 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11123 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11127 sys_lib_dlsearch_path_spec
='/usr/lib'
11131 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11136 shlibpath_var
=LD_LIBRARY_PATH
11137 shlibpath_overrides_runpath
=no
11138 hardcode_into_libs
=yes
11143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11144 soname_spec
='${libname}${release}${shared_ext}$major'
11145 shlibpath_var
=LD_LIBRARY_PATH
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11153 $as_echo "$dynamic_linker" >&6; }
11154 test "$dynamic_linker" = no
&& can_build_shared
=no
11156 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11157 if test "$GCC" = yes; then
11158 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11161 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11162 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11164 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11165 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11260 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11262 if test -n "$hardcode_libdir_flag_spec" ||
11263 test -n "$runpath_var" ||
11264 test "X$hardcode_automatic" = "Xyes" ; then
11266 # We can hardcode non-existent directories.
11267 if test "$hardcode_direct" != no
&&
11268 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11269 # have to relink, otherwise we might link with an installed library
11270 # when we should be linking with a yet-to-be-installed one
11271 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11272 test "$hardcode_minus_L" != no
; then
11273 # Linking always hardcodes the temporary library directory.
11274 hardcode_action
=relink
11276 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11277 hardcode_action
=immediate
11280 # We cannot hardcode anything, or else we can only hardcode existing
11282 hardcode_action
=unsupported
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11285 $as_echo "$hardcode_action" >&6; }
11287 if test "$hardcode_action" = relink ||
11288 test "$inherit_rpath" = yes; then
11289 # Fast installation is not supported
11290 enable_fast_install
=no
11291 elif test "$shlibpath_overrides_runpath" = yes ||
11292 test "$enable_shared" = no
; then
11293 # Fast installation is not necessary
11294 enable_fast_install
=needless
11302 if test "x$enable_dlopen" != xyes
; then
11303 enable_dlopen
=unknown
11304 enable_dlopen_self
=unknown
11305 enable_dlopen_self_static
=unknown
11312 lt_cv_dlopen
="load_add_on"
11314 lt_cv_dlopen_self
=yes
11317 mingw
* | pw32
* | cegcc
*)
11318 lt_cv_dlopen
="LoadLibrary"
11323 lt_cv_dlopen
="dlopen"
11328 # if libdl is installed we need to link against it
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11330 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11331 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11332 $as_echo_n "(cached) " >&6
11334 ac_check_lib_save_LIBS
=$LIBS
11336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11354 if ac_fn_c_try_link
"$LINENO"; then :
11355 ac_cv_lib_dl_dlopen
=yes
11357 ac_cv_lib_dl_dlopen
=no
11359 rm -f core conftest.err conftest.
$ac_objext \
11360 conftest
$ac_exeext conftest.
$ac_ext
11361 LIBS
=$ac_check_lib_save_LIBS
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11364 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11365 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11366 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11369 lt_cv_dlopen
="dyld"
11371 lt_cv_dlopen_self
=yes
11378 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11379 if test "x$ac_cv_func_shl_load" = xyes
; then :
11380 lt_cv_dlopen
="shl_load"
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11383 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11384 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11385 $as_echo_n "(cached) " >&6
11387 ac_check_lib_save_LIBS
=$LIBS
11389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11402 return shl_load ();
11407 if ac_fn_c_try_link
"$LINENO"; then :
11408 ac_cv_lib_dld_shl_load
=yes
11410 ac_cv_lib_dld_shl_load
=no
11412 rm -f core conftest.err conftest.
$ac_objext \
11413 conftest
$ac_exeext conftest.
$ac_ext
11414 LIBS
=$ac_check_lib_save_LIBS
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11417 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11418 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11419 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11421 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11422 if test "x$ac_cv_func_dlopen" = xyes
; then :
11423 lt_cv_dlopen
="dlopen"
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11426 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11427 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11428 $as_echo_n "(cached) " >&6
11430 ac_check_lib_save_LIBS
=$LIBS
11432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11450 if ac_fn_c_try_link
"$LINENO"; then :
11451 ac_cv_lib_dl_dlopen
=yes
11453 ac_cv_lib_dl_dlopen
=no
11455 rm -f core conftest.err conftest.
$ac_objext \
11456 conftest
$ac_exeext conftest.
$ac_ext
11457 LIBS
=$ac_check_lib_save_LIBS
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11460 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11461 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11462 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11465 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11466 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11467 $as_echo_n "(cached) " >&6
11469 ac_check_lib_save_LIBS
=$LIBS
11470 LIBS
="-lsvld $LIBS"
11471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11474 /* Override any GCC internal prototype to avoid an error.
11475 Use char because int might match the return type of a GCC
11476 builtin and then its argument prototype would still apply. */
11489 if ac_fn_c_try_link
"$LINENO"; then :
11490 ac_cv_lib_svld_dlopen
=yes
11492 ac_cv_lib_svld_dlopen
=no
11494 rm -f core conftest.err conftest.
$ac_objext \
11495 conftest
$ac_exeext conftest.
$ac_ext
11496 LIBS
=$ac_check_lib_save_LIBS
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11499 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11500 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11501 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11504 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11505 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11506 $as_echo_n "(cached) " >&6
11508 ac_check_lib_save_LIBS
=$LIBS
11510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11523 return dld_link ();
11528 if ac_fn_c_try_link
"$LINENO"; then :
11529 ac_cv_lib_dld_dld_link
=yes
11531 ac_cv_lib_dld_dld_link
=no
11533 rm -f core conftest.err conftest.
$ac_objext \
11534 conftest
$ac_exeext conftest.
$ac_ext
11535 LIBS
=$ac_check_lib_save_LIBS
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11538 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11539 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11540 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11561 if test "x$lt_cv_dlopen" != xno
; then
11567 case $lt_cv_dlopen in
11569 save_CPPFLAGS
="$CPPFLAGS"
11570 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11572 save_LDFLAGS
="$LDFLAGS"
11573 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11576 LIBS
="$lt_cv_dlopen_libs $LIBS"
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11579 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11580 if ${lt_cv_dlopen_self+:} false
; then :
11581 $as_echo_n "(cached) " >&6
11583 if test "$cross_compiling" = yes; then :
11584 lt_cv_dlopen_self
=cross
11586 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11587 lt_status
=$lt_dlunknown
11588 cat > conftest.
$ac_ext <<_LT_EOF
11589 #line 11589 "configure"
11590 #include "confdefs.h"
11599 # define LT_DLGLOBAL RTLD_GLOBAL
11602 # define LT_DLGLOBAL DL_GLOBAL
11604 # define LT_DLGLOBAL 0
11608 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11609 find out it does not work in some platform. */
11610 #ifndef LT_DLLAZY_OR_NOW
11612 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11615 # define LT_DLLAZY_OR_NOW DL_LAZY
11618 # define LT_DLLAZY_OR_NOW RTLD_NOW
11621 # define LT_DLLAZY_OR_NOW DL_NOW
11623 # define LT_DLLAZY_OR_NOW 0
11630 /* When -fvisbility=hidden is used, assume the code has been annotated
11631 correspondingly for the symbols needed. */
11632 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11633 void fnord () __attribute__((visibility("default")));
11636 void fnord () { int i=42; }
11639 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11640 int status = $lt_dlunknown;
11644 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11647 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11648 else puts (dlerror ());
11650 /* dlclose (self); */
11658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11659 (eval $ac_link) 2>&5
11661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11662 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11663 (.
/conftest
; exit; ) >&5 2>/dev
/null
11665 case x
$lt_status in
11666 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11667 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11668 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11671 # compilation failed
11672 lt_cv_dlopen_self
=no
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11680 $as_echo "$lt_cv_dlopen_self" >&6; }
11682 if test "x$lt_cv_dlopen_self" = xyes
; then
11683 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11685 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11686 if ${lt_cv_dlopen_self_static+:} false
; then :
11687 $as_echo_n "(cached) " >&6
11689 if test "$cross_compiling" = yes; then :
11690 lt_cv_dlopen_self_static
=cross
11692 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11693 lt_status
=$lt_dlunknown
11694 cat > conftest.
$ac_ext <<_LT_EOF
11695 #line 11695 "configure"
11696 #include "confdefs.h"
11705 # define LT_DLGLOBAL RTLD_GLOBAL
11708 # define LT_DLGLOBAL DL_GLOBAL
11710 # define LT_DLGLOBAL 0
11714 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11715 find out it does not work in some platform. */
11716 #ifndef LT_DLLAZY_OR_NOW
11718 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11721 # define LT_DLLAZY_OR_NOW DL_LAZY
11724 # define LT_DLLAZY_OR_NOW RTLD_NOW
11727 # define LT_DLLAZY_OR_NOW DL_NOW
11729 # define LT_DLLAZY_OR_NOW 0
11736 /* When -fvisbility=hidden is used, assume the code has been annotated
11737 correspondingly for the symbols needed. */
11738 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11739 void fnord () __attribute__((visibility("default")));
11742 void fnord () { int i=42; }
11745 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11746 int status = $lt_dlunknown;
11750 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11753 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11754 else puts (dlerror ());
11756 /* dlclose (self); */
11764 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11765 (eval $ac_link) 2>&5
11767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11768 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11769 (.
/conftest
; exit; ) >&5 2>/dev
/null
11771 case x
$lt_status in
11772 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11773 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11774 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11777 # compilation failed
11778 lt_cv_dlopen_self_static
=no
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11786 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11789 CPPFLAGS
="$save_CPPFLAGS"
11790 LDFLAGS
="$save_LDFLAGS"
11795 case $lt_cv_dlopen_self in
11796 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11797 *) enable_dlopen_self
=unknown
;;
11800 case $lt_cv_dlopen_self_static in
11801 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11802 *) enable_dlopen_self_static
=unknown
;;
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11825 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11826 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11827 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11828 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11830 $as_echo "yes" >&6; }
11832 # FIXME - insert some real tests, host_os isn't really good enough
11835 if test -n "$STRIP" ; then
11836 striplib
="$STRIP -x"
11837 old_striplib
="$STRIP -S"
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11839 $as_echo "yes" >&6; }
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11842 $as_echo "no" >&6; }
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11847 $as_echo "no" >&6; }
11863 # Report which library types will actually be built
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11865 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11867 $as_echo "$can_build_shared" >&6; }
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11870 $as_echo_n "checking whether to build shared libraries... " >&6; }
11871 test "$can_build_shared" = "no" && enable_shared
=no
11873 # On AIX, shared libraries and static libraries use the same namespace, and
11874 # are all built from PIC.
11877 test "$enable_shared" = yes && enable_static
=no
11878 if test -n "$RANLIB"; then
11879 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11880 postinstall_cmds
='$RANLIB $lib'
11885 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11886 test "$enable_shared" = yes && enable_static
=no
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11891 $as_echo "$enable_shared" >&6; }
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11894 $as_echo_n "checking whether to build static libraries... " >&6; }
11895 # Make sure either enable_shared or enable_static is yes.
11896 test "$enable_shared" = yes || enable_static
=yes
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11898 $as_echo "$enable_static" >&6; }
11905 ac_cpp
='$CPP $CPPFLAGS'
11906 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11907 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11908 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11924 ac_config_commands
="$ac_config_commands libtool"
11929 # Only expand once:
11932 # Check whether --enable-largefile was given.
11933 if test "${enable_largefile+set}" = set; then :
11934 enableval
=$enable_largefile;
11937 if test "$enable_largefile" != no
; then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11940 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11941 if ${ac_cv_sys_largefile_CC+:} false
; then :
11942 $as_echo_n "(cached) " >&6
11944 ac_cv_sys_largefile_CC
=no
11945 if test "$GCC" != yes; then
11948 # IRIX 6.2 and later do not support large files by default,
11949 # so use the C compiler's -n32 option if that helps.
11950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #include <sys/types.h>
11953 /* Check that off_t can represent 2**63 - 1 correctly.
11954 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11955 since some C++ compilers masquerading as C compilers
11956 incorrectly reject 9223372036854775807. */
11957 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11958 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11959 && LARGE_OFF_T % 2147483647 == 1)
11969 if ac_fn_c_try_compile
"$LINENO"; then :
11972 rm -f core conftest.err conftest.
$ac_objext
11974 if ac_fn_c_try_compile
"$LINENO"; then :
11975 ac_cv_sys_largefile_CC
=' -n32'; break
11977 rm -f core conftest.err conftest.
$ac_objext
11981 rm -f conftest.
$ac_ext
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11985 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11986 if test "$ac_cv_sys_largefile_CC" != no
; then
11987 CC
=$CC$ac_cv_sys_largefile_CC
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11991 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11992 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11993 $as_echo_n "(cached) " >&6
11996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11998 #include <sys/types.h>
11999 /* Check that off_t can represent 2**63 - 1 correctly.
12000 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12001 since some C++ compilers masquerading as C compilers
12002 incorrectly reject 9223372036854775807. */
12003 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12004 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12005 && LARGE_OFF_T % 2147483647 == 1)
12015 if ac_fn_c_try_compile
"$LINENO"; then :
12016 ac_cv_sys_file_offset_bits
=no
; break
12018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12021 #define _FILE_OFFSET_BITS 64
12022 #include <sys/types.h>
12023 /* Check that off_t can represent 2**63 - 1 correctly.
12024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12025 since some C++ compilers masquerading as C compilers
12026 incorrectly reject 9223372036854775807. */
12027 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12029 && LARGE_OFF_T % 2147483647 == 1)
12039 if ac_fn_c_try_compile
"$LINENO"; then :
12040 ac_cv_sys_file_offset_bits
=64; break
12042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12043 ac_cv_sys_file_offset_bits
=unknown
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12048 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12049 case $ac_cv_sys_file_offset_bits in #(
12052 cat >>confdefs.h
<<_ACEOF
12053 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12058 if test $ac_cv_sys_file_offset_bits = unknown
; then
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12060 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12061 if ${ac_cv_sys_large_files+:} false
; then :
12062 $as_echo_n "(cached) " >&6
12065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12067 #include <sys/types.h>
12068 /* Check that off_t can represent 2**63 - 1 correctly.
12069 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12070 since some C++ compilers masquerading as C compilers
12071 incorrectly reject 9223372036854775807. */
12072 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12073 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12074 && LARGE_OFF_T % 2147483647 == 1)
12084 if ac_fn_c_try_compile
"$LINENO"; then :
12085 ac_cv_sys_large_files
=no
; break
12087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12090 #define _LARGE_FILES 1
12091 #include <sys/types.h>
12092 /* Check that off_t can represent 2**63 - 1 correctly.
12093 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12094 since some C++ compilers masquerading as C compilers
12095 incorrectly reject 9223372036854775807. */
12096 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12097 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12098 && LARGE_OFF_T % 2147483647 == 1)
12108 if ac_fn_c_try_compile
"$LINENO"; then :
12109 ac_cv_sys_large_files
=1; break
12111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12112 ac_cv_sys_large_files
=unknown
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12117 $as_echo "$ac_cv_sys_large_files" >&6; }
12118 case $ac_cv_sys_large_files in #(
12121 cat >>confdefs.h
<<_ACEOF
12122 #define _LARGE_FILES $ac_cv_sys_large_files
12133 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
12134 for ac_prog
in aclocal
12136 # Extract the first word of "$ac_prog", so it can be a program name with args.
12137 set dummy
$ac_prog; ac_word
=$2
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12139 $as_echo_n "checking for $ac_word... " >&6; }
12140 if ${ac_cv_prog_ACLOCAL+:} false
; then :
12141 $as_echo_n "(cached) " >&6
12143 if test -n "$ACLOCAL"; then
12144 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
12146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12147 for as_dir
in $PATH
12150 test -z "$as_dir" && as_dir
=.
12151 for ac_exec_ext
in '' $ac_executable_extensions; do
12152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12153 ac_cv_prog_ACLOCAL
="$ac_prog"
12154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12163 ACLOCAL
=$ac_cv_prog_ACLOCAL
12164 if test -n "$ACLOCAL"; then
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
12166 $as_echo "$ACLOCAL" >&6; }
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12169 $as_echo "no" >&6; }
12173 test -n "$ACLOCAL" && break
12175 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
12177 for ac_prog
in autoconf
12179 # Extract the first word of "$ac_prog", so it can be a program name with args.
12180 set dummy
$ac_prog; ac_word
=$2
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12182 $as_echo_n "checking for $ac_word... " >&6; }
12183 if ${ac_cv_prog_AUTOCONF+:} false
; then :
12184 $as_echo_n "(cached) " >&6
12186 if test -n "$AUTOCONF"; then
12187 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
12189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12190 for as_dir
in $PATH
12193 test -z "$as_dir" && as_dir
=.
12194 for ac_exec_ext
in '' $ac_executable_extensions; do
12195 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12196 ac_cv_prog_AUTOCONF
="$ac_prog"
12197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12206 AUTOCONF
=$ac_cv_prog_AUTOCONF
12207 if test -n "$AUTOCONF"; then
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
12209 $as_echo "$AUTOCONF" >&6; }
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12212 $as_echo "no" >&6; }
12216 test -n "$AUTOCONF" && break
12218 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
12220 for ac_prog
in autoheader
12222 # Extract the first word of "$ac_prog", so it can be a program name with args.
12223 set dummy
$ac_prog; ac_word
=$2
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12225 $as_echo_n "checking for $ac_word... " >&6; }
12226 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
12227 $as_echo_n "(cached) " >&6
12229 if test -n "$AUTOHEADER"; then
12230 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
12232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12233 for as_dir
in $PATH
12236 test -z "$as_dir" && as_dir
=.
12237 for ac_exec_ext
in '' $ac_executable_extensions; do
12238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12239 ac_cv_prog_AUTOHEADER
="$ac_prog"
12240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12249 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
12250 if test -n "$AUTOHEADER"; then
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
12252 $as_echo "$AUTOHEADER" >&6; }
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12255 $as_echo "no" >&6; }
12259 test -n "$AUTOHEADER" && break
12261 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
12264 # Figure out what compiler warnings we can enable.
12265 # See config/warnings.m4 for details.
12268 ac_cpp
='$CPP $CPPFLAGS'
12269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12274 save_CFLAGS
="$CFLAGS"
12275 for real_option
in -W -Wall -Wno-narrowing -Wwrite-strings \
12276 -Wmissing-format-attribute; do
12277 # Do the check with the no- prefix removed since gcc silently
12278 # accepts any -Wno-* option on purpose
12279 case $real_option in
12280 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
12281 *) option
=$real_option ;;
12283 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
12286 $as_echo_n "checking whether $CC supports $option... " >&6; }
12287 if eval \
${$as_acx_Woption+:} false
; then :
12288 $as_echo_n "(cached) " >&6
12291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12302 if ac_fn_c_try_compile
"$LINENO"; then :
12303 eval "$as_acx_Woption=yes"
12305 eval "$as_acx_Woption=no"
12307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12310 eval ac_res
=\$
$as_acx_Woption
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12312 $as_echo "$ac_res" >&6; }
12313 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
12314 warn
="$warn${warn:+ }$real_option"
12317 CFLAGS
="$save_CFLAGS"
12319 ac_cpp
='$CPP $CPPFLAGS'
12320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12326 ac_cpp
='$CPP $CPPFLAGS'
12327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12332 save_CFLAGS
="$CFLAGS"
12333 for real_option
in -Wstrict-prototypes -Wmissing-prototypes \
12334 -Wold-style-definition; do
12335 # Do the check with the no- prefix removed since gcc silently
12336 # accepts any -Wno-* option on purpose
12337 case $real_option in
12338 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
12339 *) option
=$real_option ;;
12341 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
12344 $as_echo_n "checking whether $CC supports $option... " >&6; }
12345 if eval \
${$as_acx_Woption+:} false
; then :
12346 $as_echo_n "(cached) " >&6
12349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12360 if ac_fn_c_try_compile
"$LINENO"; then :
12361 eval "$as_acx_Woption=yes"
12363 eval "$as_acx_Woption=no"
12365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12368 eval ac_res
=\$
$as_acx_Woption
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12370 $as_echo "$ac_res" >&6; }
12371 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
12372 c_warn
="$c_warn${c_warn:+ }$real_option"
12375 CFLAGS
="$save_CFLAGS"
12377 ac_cpp
='$CPP $CPPFLAGS'
12378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12384 ac_cpp
='$CPP $CPPFLAGS'
12385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12390 # Do the check with the no- prefix removed from the warning options
12391 # since gcc silently accepts any -Wno-* option on purpose
12392 if test "$GCC" = yes; then :
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
12394 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
12395 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false
; then :
12396 $as_echo_n "(cached) " >&6
12398 save_CFLAGS
="$CFLAGS"
12399 CFLAGS
="-pedantic -Wlong-long"
12400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12411 if ac_fn_c_try_compile
"$LINENO"; then :
12412 acx_cv_prog_cc_pedantic__Wlong_long
=yes
12414 acx_cv_prog_cc_pedantic__Wlong_long
=no
12416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12417 CFLAGS
="$save_CFLAGS"
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
12420 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
12421 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
12422 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
12427 ac_cpp
='$CPP $CPPFLAGS'
12428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12434 # Only enable with --enable-werror-always until existing warnings are
12437 ac_cpp
='$CPP $CPPFLAGS'
12438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12443 # Check whether --enable-werror-always was given.
12444 if test "${enable_werror_always+set}" = set; then :
12445 enableval
=$enable_werror_always;
12447 enable_werror_always
=no
12450 if test $enable_werror_always = yes; then :
12451 WERROR
="$WERROR${WERROR:+ }-Werror"
12455 ac_cpp
='$CPP $CPPFLAGS'
12456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12464 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12465 # Check whether --enable-maintainer-mode was given.
12466 if test "${enable_maintainer_mode+set}" = set; then :
12467 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
12469 USE_MAINTAINER_MODE
=no
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12473 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12474 if test $USE_MAINTAINER_MODE = yes; then
12475 MAINTAINER_MODE_TRUE
=
12476 MAINTAINER_MODE_FALSE
='#'
12478 MAINTAINER_MODE_TRUE
='#'
12479 MAINTAINER_MODE_FALSE
=
12482 MAINT
=$MAINTAINER_MODE_TRUE
12485 case ${build_alias} in
12486 "") build_noncanonical
=${build} ;;
12487 *) build_noncanonical
=${build_alias} ;;
12490 case ${host_alias} in
12491 "") host_noncanonical
=${build_noncanonical} ;;
12492 *) host_noncanonical
=${host_alias} ;;
12495 case ${target_alias} in
12496 "") target_noncanonical
=${host_noncanonical} ;;
12497 *) target_noncanonical
=${target_alias} ;;
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
12501 $as_echo_n "checking whether to install libbfd... " >&6; }
12502 # Check whether --enable-install-libbfd was given.
12503 if test "${enable_install_libbfd+set}" = set; then :
12504 enableval
=$enable_install_libbfd; install_libbfd_p
=$enableval
12506 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
12507 install_libbfd_p
=yes
12509 install_libbfd_p
=no
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
12514 $as_echo "$install_libbfd_p" >&6; }
12515 if test $install_libbfd_p = yes; then
12516 INSTALL_LIBBFD_TRUE
=
12517 INSTALL_LIBBFD_FALSE
='#'
12519 INSTALL_LIBBFD_TRUE
='#'
12520 INSTALL_LIBBFD_FALSE
=
12523 # Need _noncanonical variables for this.
12528 # libbfd.a is a host library containing target dependent code
12529 bfdlibdir
='$(libdir)'
12530 bfdincludedir
='$(includedir)'
12531 if test "${host}" != "${target}"; then
12532 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
12533 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
12542 ac_cpp
='$CPP $CPPFLAGS'
12543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12547 ac_libctf_warn_cflags
=
12548 save_CFLAGS
="$CFLAGS"
12549 for real_option
in -Wall; do
12550 # Do the check with the no- prefix removed since gcc silently
12551 # accepts any -Wno-* option on purpose
12552 case $real_option in
12553 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
12554 *) option
=$real_option ;;
12556 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
12559 $as_echo_n "checking whether $CC supports $option... " >&6; }
12560 if eval \
${$as_acx_Woption+:} false
; then :
12561 $as_echo_n "(cached) " >&6
12564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12575 if ac_fn_c_try_compile
"$LINENO"; then :
12576 eval "$as_acx_Woption=yes"
12578 eval "$as_acx_Woption=no"
12580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12583 eval ac_res
=\$
$as_acx_Woption
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12585 $as_echo "$ac_res" >&6; }
12586 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
12587 ac_libctf_warn_cflags
="$ac_libctf_warn_cflags${ac_libctf_warn_cflags:+ }$real_option"
12590 CFLAGS
="$save_CFLAGS"
12592 ac_cpp
='$CPP $CPPFLAGS'
12593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12602 for ac_header
in $ac_header_list
12604 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12605 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12607 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12608 cat >>confdefs.h
<<_ACEOF
12609 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12623 for ac_func
in getpagesize
12625 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12626 if test "x$ac_cv_func_getpagesize" = xyes
; then :
12627 cat >>confdefs.h
<<_ACEOF
12628 #define HAVE_GETPAGESIZE 1
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12635 $as_echo_n "checking for working mmap... " >&6; }
12636 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
12637 $as_echo_n "(cached) " >&6
12639 if test "$cross_compiling" = yes; then :
12640 ac_cv_func_mmap_fixed_mapped
=no
12642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12643 /* end confdefs.h. */
12644 $ac_includes_default
12645 /* malloc might have been renamed as rpl_malloc. */
12648 /* Thanks to Mike Haertel and Jim Avera for this test.
12649 Here is a matrix of mmap possibilities:
12650 mmap private not fixed
12651 mmap private fixed at somewhere currently unmapped
12652 mmap private fixed at somewhere already mapped
12653 mmap shared not fixed
12654 mmap shared fixed at somewhere currently unmapped
12655 mmap shared fixed at somewhere already mapped
12656 For private mappings, we should verify that changes cannot be read()
12657 back from the file, nor mmap's back from the file at a different
12658 address. (There have been systems where private was not correctly
12659 implemented like the infamous i386 svr4.0, and systems where the
12660 VM page cache was not coherent with the file system buffer cache
12661 like early versions of FreeBSD and possibly contemporary NetBSD.)
12662 For shared mappings, we should conversely verify that changes get
12663 propagated back to all the places they're supposed to be.
12665 Grep wants private fixed already mapped.
12666 The main things grep needs to know about mmap are:
12667 * does it exist and is it safe to write into the mmap'd area
12668 * how to use it (BSD variants) */
12671 #include <sys/mman.h>
12673 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12677 /* This mess was copied from the GNU getpagesize.h. */
12678 #ifndef HAVE_GETPAGESIZE
12679 # ifdef _SC_PAGESIZE
12680 # define getpagesize() sysconf(_SC_PAGESIZE)
12681 # else /* no _SC_PAGESIZE */
12682 # ifdef HAVE_SYS_PARAM_H
12683 # include <sys/param.h>
12684 # ifdef EXEC_PAGESIZE
12685 # define getpagesize() EXEC_PAGESIZE
12686 # else /* no EXEC_PAGESIZE */
12688 # define getpagesize() NBPG * CLSIZE
12691 # endif /* no CLSIZE */
12692 # else /* no NBPG */
12694 # define getpagesize() NBPC
12695 # else /* no NBPC */
12697 # define getpagesize() PAGESIZE
12698 # endif /* PAGESIZE */
12699 # endif /* no NBPC */
12700 # endif /* no NBPG */
12701 # endif /* no EXEC_PAGESIZE */
12702 # else /* no HAVE_SYS_PARAM_H */
12703 # define getpagesize() 8192 /* punt totally */
12704 # endif /* no HAVE_SYS_PARAM_H */
12705 # endif /* no _SC_PAGESIZE */
12707 #endif /* no HAVE_GETPAGESIZE */
12712 char *data, *data2, *data3;
12713 const char *cdata2;
12717 pagesize = getpagesize ();
12719 /* First, make a file with some known garbage in it. */
12720 data = (char *) malloc (pagesize);
12723 for (i = 0; i < pagesize; ++i)
12724 *(data + i) = rand ();
12726 fd = creat ("conftest.mmap", 0600);
12729 if (write (fd, data, pagesize) != pagesize)
12733 /* Next, check that the tail of a page is zero-filled. File must have
12734 non-zero length, otherwise we risk SIGBUS for entire page. */
12735 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12739 if (write (fd2, cdata2, 1) != 1)
12741 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12742 if (data2 == MAP_FAILED)
12744 for (i = 0; i < pagesize; ++i)
12748 if (munmap (data2, pagesize))
12751 /* Next, try to mmap the file at a fixed address which already has
12752 something else allocated at it. If we can, also make sure that
12753 we see the same garbage. */
12754 fd = open ("conftest.mmap", O_RDWR);
12757 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12758 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12760 for (i = 0; i < pagesize; ++i)
12761 if (*(data + i) != *(data2 + i))
12764 /* Finally, make sure that changes to the mapped area do not
12765 percolate back to the file as seen by read(). (This is a bug on
12766 some variants of i386 svr4.0.) */
12767 for (i = 0; i < pagesize; ++i)
12768 *(data2 + i) = *(data2 + i) + 1;
12769 data3 = (char *) malloc (pagesize);
12772 if (read (fd, data3, pagesize) != pagesize)
12774 for (i = 0; i < pagesize; ++i)
12775 if (*(data + i) != *(data3 + i))
12781 if ac_fn_c_try_run
"$LINENO"; then :
12782 ac_cv_func_mmap_fixed_mapped
=yes
12784 ac_cv_func_mmap_fixed_mapped
=no
12786 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12787 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12792 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12793 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12795 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
12798 rm -f conftest.mmap conftest.txt
12800 # Needed for BFD capability checks.
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
12802 $as_echo_n "checking for library containing dlsym... " >&6; }
12803 if ${ac_cv_search_dlsym+:} false
; then :
12804 $as_echo_n "(cached) " >&6
12806 ac_func_search_save_LIBS
=$LIBS
12807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12825 for ac_lib
in '' dl
; do
12826 if test -z "$ac_lib"; then
12827 ac_res
="none required"
12830 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12832 if ac_fn_c_try_link
"$LINENO"; then :
12833 ac_cv_search_dlsym
=$ac_res
12835 rm -f core conftest.err conftest.
$ac_objext \
12837 if ${ac_cv_search_dlsym+:} false
; then :
12841 if ${ac_cv_search_dlsym+:} false
; then :
12844 ac_cv_search_dlsym
=no
12846 rm conftest.
$ac_ext
12847 LIBS
=$ac_func_search_save_LIBS
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
12850 $as_echo "$ac_cv_search_dlsym" >&6; }
12851 ac_res
=$ac_cv_search_dlsym
12852 if test "$ac_res" != no
; then :
12853 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12858 # Use the system's zlib library.
12859 zlibdir
="-L\$(top_builddir)/../zlib"
12860 zlibinc
="-I\$(top_srcdir)/../zlib"
12862 # Check whether --with-system-zlib was given.
12863 if test "${with_system_zlib+set}" = set; then :
12864 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
12875 # Check whether --enable-libctf-hash-debugging was given.
12876 if test "${enable_libctf_hash_debugging+set}" = set; then :
12877 enableval
=$enable_libctf_hash_debugging;
12878 case "$enableval" in
12880 *) as_fn_error $?
"Argument to enable/disable libctf-hash-debugging must be yes or no" "$LINENO" 5 ;;
12884 enable_libctf_hash_debugging
=no
12888 if test "${enable_libctf_hash_debugging}" = yes; then
12890 $as_echo "#define ENABLE_LIBCTF_HASH_DEBUGGING 1" >>confdefs.h
12893 if test "${enable_libctf_hash_debugging}" = yes; then
12894 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
=
12895 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
='#'
12897 ENABLE_LIBCTF_HASH_DEBUGGING_TRUE
='#'
12898 ENABLE_LIBCTF_HASH_DEBUGGING_FALSE
=
12902 # Similar to GDB_AC_CHECK_BFD.
12904 OLD_LDFLAGS
=$LDFLAGS
12906 # Put the old CFLAGS/LDFLAGS last, in case the user's (C|LD)FLAGS
12907 # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We
12908 # always want our bfd.
12909 CFLAGS
="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
12910 ZLIBDIR
=`echo $zlibdir | sed 's,\$(top_builddir)/,,g'`
12911 LDFLAGS
="-L../bfd -L../libiberty $ZLIBDIR $LDFLAGS"
12912 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
12913 LIBS
="-lbfd -liberty -lz $intl $LIBS"
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5
12915 $as_echo_n "checking for ELF support in BFD... " >&6; }
12916 if ${ac_cv_libctf_bfd_elf+:} false
; then :
12917 $as_echo_n "(cached) " >&6
12919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12920 /* end confdefs.h. */
12921 #include <stdlib.h>
12922 #include <string.h>
12924 #include "elf-bfd.h"
12928 (void) bfd_section_from_elf_index (NULL, 0);
12934 if ac_fn_c_try_link
"$LINENO"; then :
12935 ac_cv_libctf_bfd_elf
=yes
12937 ac_cv_libctf_bfd_elf
=no
12939 rm -f core conftest.err conftest.
$ac_objext \
12940 conftest
$ac_exeext conftest.
$ac_ext
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_bfd_elf" >&5
12943 $as_echo "$ac_cv_libctf_bfd_elf" >&6; }
12945 LDFLAGS
=$OLD_LDFLAGS
12948 if test $ac_cv_libctf_bfd_elf = yes; then
12950 $as_echo "#define HAVE_BFD_ELF 1" >>confdefs.h
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12955 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12956 if ${ac_cv_c_bigendian+:} false
; then :
12957 $as_echo_n "(cached) " >&6
12959 ac_cv_c_bigendian
=unknown
12960 # See if we're dealing with a universal compiler.
12961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12962 /* end confdefs.h. */
12963 #ifndef __APPLE_CC__
12964 not a universal capable compiler
12969 if ac_fn_c_try_compile
"$LINENO"; then :
12971 # Check for potential -arch flags. It is not universal unless
12972 # there are at least two -arch flags with different values.
12975 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12976 if test -n "$ac_prev"; then
12978 i?
86 | x86_64 | ppc | ppc64
)
12979 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
12982 ac_cv_c_bigendian
=universal
12988 elif test "x$ac_word" = "x-arch"; then
12993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12994 if test $ac_cv_c_bigendian = unknown
; then
12995 # See if sys/param.h defines the BYTE_ORDER macro.
12996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
12998 #include <sys/types.h>
12999 #include <sys/param.h>
13004 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13005 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13007 bogus endian macros
13014 if ac_fn_c_try_compile
"$LINENO"; then :
13015 # It does; now see whether it defined to BIG_ENDIAN or not.
13016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13018 #include <sys/types.h>
13019 #include <sys/param.h>
13024 #if BYTE_ORDER != BIG_ENDIAN
13032 if ac_fn_c_try_compile
"$LINENO"; then :
13033 ac_cv_c_bigendian
=yes
13035 ac_cv_c_bigendian
=no
13037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13041 if test $ac_cv_c_bigendian = unknown
; then
13042 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13045 #include <limits.h>
13050 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13051 bogus endian macros
13058 if ac_fn_c_try_compile
"$LINENO"; then :
13059 # It does; now see whether it defined to _BIG_ENDIAN or not.
13060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13062 #include <limits.h>
13067 #ifndef _BIG_ENDIAN
13075 if ac_fn_c_try_compile
"$LINENO"; then :
13076 ac_cv_c_bigendian
=yes
13078 ac_cv_c_bigendian
=no
13080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13084 if test $ac_cv_c_bigendian = unknown
; then
13085 # Compile a test program.
13086 if test "$cross_compiling" = yes; then :
13087 # Try to guess by grepping values from an object file.
13088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13089 /* end confdefs.h. */
13090 short int ascii_mm[] =
13091 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13092 short int ascii_ii[] =
13093 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13094 int use_ascii (int i) {
13095 return ascii_mm[i] + ascii_ii[i];
13097 short int ebcdic_ii[] =
13098 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13099 short int ebcdic_mm[] =
13100 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13101 int use_ebcdic (int i) {
13102 return ebcdic_mm[i] + ebcdic_ii[i];
13109 return use_ascii (foo) == use_ebcdic (foo);
13114 if ac_fn_c_try_compile
"$LINENO"; then :
13115 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
13116 ac_cv_c_bigendian
=yes
13118 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
13119 if test "$ac_cv_c_bigendian" = unknown
; then
13120 ac_cv_c_bigendian
=no
13122 # finding both strings is unlikely to happen, but who knows?
13123 ac_cv_c_bigendian
=unknown
13127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13131 $ac_includes_default
13136 /* Are we little or big endian? From Harbison&Steele. */
13140 char c[sizeof (long int)];
13143 return u.c[sizeof (long int) - 1] == 1;
13149 if ac_fn_c_try_run
"$LINENO"; then :
13150 ac_cv_c_bigendian
=no
13152 ac_cv_c_bigendian
=yes
13154 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13155 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13161 $as_echo "$ac_cv_c_bigendian" >&6; }
13162 case $ac_cv_c_bigendian in #(
13164 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13170 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13174 as_fn_error $?
"unknown endianness
13175 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13178 for ac_header
in byteswap.h endian.h
13180 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13181 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13182 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13183 cat >>confdefs.h
<<_ACEOF
13184 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13191 for ac_func
in pread
13193 ac_fn_c_check_func
"$LINENO" "pread" "ac_cv_func_pread"
13194 if test "x$ac_cv_func_pread" = xyes
; then :
13195 cat >>confdefs.h
<<_ACEOF
13196 #define HAVE_PREAD 1
13203 ac_fn_c_check_decl
"$LINENO" "bswap_16" "ac_cv_have_decl_bswap_16" "#include <byteswap.h>
13205 if test "x$ac_cv_have_decl_bswap_16" = xyes
; then :
13211 cat >>confdefs.h
<<_ACEOF
13212 #define HAVE_DECL_BSWAP_16 $ac_have_decl
13214 ac_fn_c_check_decl
"$LINENO" "bswap_32" "ac_cv_have_decl_bswap_32" "#include <byteswap.h>
13216 if test "x$ac_cv_have_decl_bswap_32" = xyes
; then :
13222 cat >>confdefs.h
<<_ACEOF
13223 #define HAVE_DECL_BSWAP_32 $ac_have_decl
13225 ac_fn_c_check_decl
"$LINENO" "bswap_64" "ac_cv_have_decl_bswap_64" "#include <byteswap.h>
13227 if test "x$ac_cv_have_decl_bswap_64" = xyes
; then :
13233 cat >>confdefs.h
<<_ACEOF
13234 #define HAVE_DECL_BSWAP_64 $ac_have_decl
13237 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
13238 if test "x$ac_cv_have_decl_asprintf" = xyes
; then :
13244 cat >>confdefs.h
<<_ACEOF
13245 #define HAVE_DECL_ASPRINTF $ac_have_decl
13247 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
13248 if test "x$ac_cv_have_decl_vasprintf" = xyes
; then :
13254 cat >>confdefs.h
<<_ACEOF
13255 #define HAVE_DECL_VASPRINTF $ac_have_decl
13257 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
13258 if test "x$ac_cv_have_decl_stpcpy" = xyes
; then :
13264 cat >>confdefs.h
<<_ACEOF
13265 #define HAVE_DECL_STPCPY $ac_have_decl
13272 for ac_func
in $ac_func_list
13274 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13275 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13276 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13277 cat >>confdefs.h
<<_ACEOF
13278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13287 if test $ac_cv_func_qsort_r = yes; then
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qsort_r signature" >&5
13289 $as_echo_n "checking for qsort_r signature... " >&6; }
13290 if ${ac_cv_libctf_qsort_r_signature+:} false
; then :
13291 $as_echo_n "(cached) " >&6
13293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13294 /* end confdefs.h. */
13296 #include <stdlib.h>
13297 void qsort_r (void *, size_t, size_t,
13298 int (*) (void const *, void const *,
13301 void (*p) (void *, size_t, size_t,
13302 int (*) (void const *, void const *,
13314 if ac_fn_c_try_link
"$LINENO"; then :
13315 ac_cv_libctf_qsort_r_signature
=GNU
13317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13320 #include <stdlib.h>
13321 void qsort_r (void *, size_t, size_t, void *,
13325 void (*p) (void *, size_t, size_t, void *,
13326 int (*) (void *, void const *,
13327 void const *)) = qsort_r;
13337 if ac_fn_c_try_link
"$LINENO"; then :
13338 ac_cv_libctf_qsort_r_signature
=BSD
13340 ac_cv_libctf_qsort_r_signature
=unknown
13342 rm -f core conftest.err conftest.
$ac_objext \
13343 conftest
$ac_exeext conftest.
$ac_ext
13345 rm -f core conftest.err conftest.
$ac_objext \
13346 conftest
$ac_exeext conftest.
$ac_ext
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_qsort_r_signature" >&5
13349 $as_echo "$ac_cv_libctf_qsort_r_signature" >&6; }
13352 case x
$ac_cv_libctf_qsort_r_signature in
13354 $as_echo "#define HAVE_QSORT_R_ARG_LAST 1" >>confdefs.h
13357 $as_echo "#define HAVE_QSORT_R_COMPAR_LAST 1" >>confdefs.h
13359 *) ac_cv_libctf_qsort_r_signature
=unknown
;;
13362 if test "${ac_cv_libctf_qsort_r_signature}" = unknown
; then
13363 NEED_CTF_QSORT_R_TRUE
=
13364 NEED_CTF_QSORT_R_FALSE
='#'
13366 NEED_CTF_QSORT_R_TRUE
='#'
13367 NEED_CTF_QSORT_R_FALSE
=
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
13372 $as_echo_n "checking for O_CLOEXEC... " >&6; }
13373 if ${ac_cv_libctf_macro_O_CLOEXEC+:} false
; then :
13374 $as_echo_n "(cached) " >&6
13376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13377 /* end confdefs.h. */
13391 if ac_fn_c_try_link
"$LINENO"; then :
13392 ac_cv_libctf_macro_O_CLOEXEC
=yes
13394 ac_cv_libctf_macro_O_CLOEXEC
=no
13396 rm -f core conftest.err conftest.
$ac_objext \
13397 conftest
$ac_exeext conftest.
$ac_ext
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_macro_O_CLOEXEC" >&5
13400 $as_echo "$ac_cv_libctf_macro_O_CLOEXEC" >&6; }
13402 if test $ac_cv_libctf_macro_O_CLOEXEC = yes; then
13404 $as_echo "#define HAVE_O_CLOEXEC 1" >>confdefs.h
13408 CTF_LIBADD
="-L`pwd`/../libiberty -liberty"
13411 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
13412 if test "$enable_shared" = "yes"; then
13413 # When building a shared libctf, link against the pic version of libiberty
13414 # so that apps that use libctf won't need libiberty just to satisfy any
13415 # libctf references. We can't do that if a pic libiberty is unavailable
13416 # since including non-pic # code would insert text relocations into libctf.
13417 # Note that linking against libbfd as we do here, which is itself linked
13418 # against libiberty, may not satisfy all the libctf libiberty references
13419 # since libbfd may not pull in the entirety of libiberty.
13420 # Also, jam libintl into the right place in all of this: after libiberty,
13421 # which uses it, but before -lcygwin, which it uses.
13422 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
13423 if test -n "$x"; then
13424 CTF_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
13428 CTF_LIBADD
="$CTF_LIBADD $LIBINTL"
13430 if test "$enable_shared" = "yes"; then
13432 # More hacks to build DLLs on Windows.
13434 SHARED_LDFLAGS
="-no-undefined"
13435 CTF_LIBADD
="$CTF_LIBADD -lcygwin"
13442 # Extract the first word of "expect", so it can be a program name with args.
13443 set dummy expect
; ac_word
=$2
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13445 $as_echo_n "checking for $ac_word... " >&6; }
13446 if ${ac_cv_path_EXPECT+:} false
; then :
13447 $as_echo_n "(cached) " >&6
13451 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
13454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13455 for as_dir
in $PATH
13458 test -z "$as_dir" && as_dir
=.
13459 for ac_exec_ext
in '' $ac_executable_extensions; do
13460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13461 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
13462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13472 EXPECT
=$ac_cv_path_EXPECT
13473 if test -n "$EXPECT"; then
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
13475 $as_echo "$EXPECT" >&6; }
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13478 $as_echo "no" >&6; }
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl supporting try/catch" >&5
13483 $as_echo_n "checking for Tcl supporting try/catch... " >&6; }
13484 if ${ac_cv_libctf_tcl_try+:} false
; then :
13485 $as_echo_n "(cached) " >&6
13487 ac_cv_libctf_tcl_try
=`if test -z $EXPECT; then echo no; else $EXPECT << EOF
13488 if [llength [info commands try]] then { puts yes } else { puts no }
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_tcl_try" >&5
13494 $as_echo "$ac_cv_libctf_tcl_try" >&6; }
13495 if test "${ac_cv_libctf_tcl_try}" = yes; then
13504 # Use a version script, if possible, or an -export-symbols-regex otherwise.
13505 VERSION_FLAGS
='-export-symbols-regex ctf_.*'
13506 if $LD --help 2>&1 |
grep -- --version-script >/dev
/null
; then
13507 VERSION_FLAGS
="-Wl,--version-script='$srcdir/libctf.ver'"
13511 ac_config_files
="$ac_config_files Makefile"
13513 ac_config_headers
="$ac_config_headers config.h"
13515 cat >confcache
<<\_ACEOF
13516 # This file is a shell script that caches the results of configure
13517 # tests run on this system so they can be shared between configure
13518 # scripts and configure runs, see configure's option --config-cache.
13519 # It is not useful on other systems. If it contains results you don't
13520 # want to keep, you may remove or edit it.
13522 # config.status only pays attention to the cache file if you give it
13523 # the --recheck option to rerun configure.
13525 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13526 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13527 # following values.
13531 # The following way of writing the cache mishandles newlines in values,
13532 # but we know of no workaround that is simple, portable, and efficient.
13533 # So, we kill variables containing newlines.
13534 # Ultrix sh set writes to stderr and can't be redirected directly,
13535 # and sets the high bit in the cache file unless we assign to the vars.
13537 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13538 eval ac_val
=\$
$ac_var
13542 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13543 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13546 _ | IFS | as_nl
) ;; #(
13547 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13548 *) { eval $ac_var=; unset $ac_var;} ;;
13554 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13555 *${as_nl}ac_space
=\
*)
13556 # `set' does not quote correctly, so add quotes: double-quote
13557 # substitution turns \\\\ into \\, and sed turns \\ into \.
13560 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13563 # `set' quotes correctly as required by POSIX, so do not add quotes.
13564 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13573 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13575 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13577 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13578 if test -w "$cache_file"; then
13579 if test "x$cache_file" != "x/dev/null"; then
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13581 $as_echo "$as_me: updating cache $cache_file" >&6;}
13582 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13583 cat confcache
>"$cache_file"
13585 case $cache_file in #(
13587 mv -f confcache
"$cache_file"$$
&&
13588 mv -f "$cache_file"$$
"$cache_file" ;; #(
13590 mv -f confcache
"$cache_file" ;;
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13596 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13601 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13602 # Let make expand exec_prefix.
13603 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13605 DEFS
=-DHAVE_CONFIG_H
13610 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13611 # 1. Remove the extension, and $U if already installed.
13612 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13613 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13614 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13615 # will be set to the directory where LIBOBJS objects are built.
13616 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13617 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13619 LIBOBJS
=$ac_libobjs
13621 LTLIBOBJS
=$ac_ltlibobjs
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13625 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13626 if test -n "$am_sleep_pid"; then
13627 # Hide warnings about reused PIDs.
13628 wait $am_sleep_pid 2>/dev
/null
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13631 $as_echo "done" >&6; }
13632 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13633 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13636 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13637 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13640 if test -n "$EXEEXT"; then
13642 am__EXEEXT_FALSE
='#'
13644 am__EXEEXT_TRUE
='#'
13648 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13649 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13652 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
13653 as_fn_error $?
"conditional \"INSTALL_LIBBFD\" was never defined.
13654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13656 if test -z "${ENABLE_LIBCTF_HASH_DEBUGGING_TRUE}" && test -z "${ENABLE_LIBCTF_HASH_DEBUGGING_FALSE}"; then
13657 as_fn_error $?
"conditional \"ENABLE_LIBCTF_HASH_DEBUGGING\" was never defined.
13658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13661 if test -z "${NEED_CTF_QSORT_R_TRUE}" && test -z "${NEED_CTF_QSORT_R_FALSE}"; then
13662 as_fn_error $?
"conditional \"NEED_CTF_QSORT_R\" was never defined.
13663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13665 if test -z "${TCL_TRY_TRUE}" && test -z "${TCL_TRY_FALSE}"; then
13666 as_fn_error $?
"conditional \"TCL_TRY\" was never defined.
13667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13670 : "${CONFIG_STATUS=./config.status}"
13672 ac_clean_files_save
=$ac_clean_files
13673 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13675 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13677 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13679 # Generated by $as_me.
13680 # Run this file to recreate the current configuration.
13681 # Compiler output produced by configure, useful for debugging
13682 # configure, is in config.log if it exists.
13685 ac_cs_recheck=false
13688 SHELL=\${CONFIG_SHELL-$SHELL}
13691 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13692 ## -------------------- ##
13693 ## M4sh Initialization. ##
13694 ## -------------------- ##
13696 # Be more Bourne compatible
13697 DUALCASE
=1; export DUALCASE
# for MKS sh
13698 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13701 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13702 # is contrary to our usage. Disable this feature.
13703 alias -g '${1+"$@"}'='"$@"'
13704 setopt NO_GLOB_SUBST
13706 case `(set -o) 2>/dev/null` in #(
13718 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13719 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13720 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13721 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13722 # Prefer a ksh shell builtin over an external printf program on Solaris,
13723 # but without wasting forks for bash or zsh.
13724 if test -z "$BASH_VERSION$ZSH_VERSION" \
13725 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13726 as_echo='print
-r --'
13727 as_echo_n='print
-rn --'
13728 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13729 as_echo='printf %s
\n'
13730 as_echo_n='printf %s
'
13732 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13733 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13734 as_echo_n='/usr
/ucb
/echo -n'
13736 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13737 as_echo_n_body='eval
13741 expr "X$arg" : "X\\(.*\\)$as_nl";
13742 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13744 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13746 export as_echo_n_body
13747 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13749 export as_echo_body
13750 as_echo='sh
-c $as_echo_body as_echo
'
13753 # The user is always right.
13754 if test "${PATH_SEPARATOR+set}" != set; then
13756 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13757 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13764 # We need space, tab and new line, in precisely that order. Quoting is
13765 # there to prevent editors from complaining about space-tab.
13766 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13767 # splitting by setting IFS to empty value.)
13770 # Find who we are. Look in the path if we contain no directory separator.
13773 *[\\/]* ) as_myself=$0 ;;
13774 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13775 for as_dir in $PATH
13778 test -z "$as_dir" && as_dir=.
13779 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13785 # We did not find ourselves, most probably we were run as `sh COMMAND'
13786 # in which case we are not to be found in the path.
13787 if test "x$as_myself" = x
; then
13790 if test ! -f "$as_myself"; then
13791 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13795 # Unset variables that we do not need and which cause bugs (e.g. in
13796 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13797 # suppresses any "Segmentation fault" message there. '((' could
13798 # trigger a bug in pdksh 5.2.14.
13799 for as_var
in BASH_ENV ENV MAIL MAILPATH
13800 do eval test x\
${$as_var+set} = xset \
13801 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13814 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13817 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13818 # ----------------------------------------
13819 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13820 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13821 # script with STATUS, using 1 if that was 0.
13824 as_status
=$1; test $as_status -eq 0 && as_status
=1
13826 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13827 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13829 $as_echo "$as_me: error: $2" >&2
13830 as_fn_exit
$as_status
13834 # as_fn_set_status STATUS
13835 # -----------------------
13836 # Set $? to STATUS, without forking.
13837 as_fn_set_status
()
13840 } # as_fn_set_status
13842 # as_fn_exit STATUS
13843 # -----------------
13844 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13848 as_fn_set_status
$1
13854 # Portably unset VAR.
13857 { eval $1=; unset $1;}
13859 as_unset
=as_fn_unset
13860 # as_fn_append VAR VALUE
13861 # ----------------------
13862 # Append the text in VALUE to the end of the definition contained in VAR. Take
13863 # advantage of any shell optimizations that allow amortized linear growth over
13864 # repeated appends, instead of the typical quadratic growth present in naive
13866 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13867 eval 'as_fn_append ()
13878 # as_fn_arith ARG...
13879 # ------------------
13880 # Perform arithmetic evaluation on the ARGs, and store the result in the
13881 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13882 # must be portable across $(()) and expr.
13883 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13884 eval 'as_fn_arith ()
13891 as_val
=`expr "$@" || test $? -eq 1`
13896 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13897 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13903 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13904 as_basename
=basename
13909 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13915 as_me
=`$as_basename -- "$0" ||
13916 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13917 X"$0" : 'X\(//\)$' \| \
13918 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13920 sed '/^.*\/\([^/][^/]*\)\/*$/{
13934 # Avoid depending upon Character Ranges.
13935 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13936 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13937 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13938 as_cr_digits
='0123456789'
13939 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13941 ECHO_C
= ECHO_N
= ECHO_T
=
13942 case `echo -n x` in #(((((
13944 case `echo 'xy\c'` in
13945 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13947 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13954 rm -f conf$$ conf$$.exe conf$$.
file
13955 if test -d conf$$.dir
; then
13956 rm -f conf$$.dir
/conf$$.
file
13959 mkdir conf$$.dir
2>/dev
/null
13961 if (echo >conf$$.
file) 2>/dev
/null
; then
13962 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13964 # ... but there are two gotchas:
13965 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13966 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13967 # In both cases, we have to default to `cp -pR'.
13968 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13970 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13978 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13979 rmdir conf$$.dir
2>/dev
/null
13984 # Create "$as_dir" as a directory, including parents if necessary.
13989 -*) as_dir
=.
/$as_dir;;
13991 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13995 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13996 *) as_qdir
=$as_dir;;
13998 as_dirs
="'$as_qdir' $as_dirs"
13999 as_dir
=`$as_dirname -- "$as_dir" ||
14000 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14001 X"$as_dir" : 'X\(//\)[^/]' \| \
14002 X"$as_dir" : 'X\(//\)$' \| \
14003 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14004 $as_echo X"$as_dir" |
14005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14009 /^X\(\/\/\)[^/].*/{
14022 test -d "$as_dir" && break
14024 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14025 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14029 if mkdir
-p .
2>/dev
/null
; then
14030 as_mkdir_p
='mkdir -p "$as_dir"'
14032 test -d .
/-p && rmdir .
/-p
14037 # as_fn_executable_p FILE
14038 # -----------------------
14039 # Test if FILE is an executable regular file.
14040 as_fn_executable_p
()
14042 test -f "$1" && test -x "$1"
14043 } # as_fn_executable_p
14044 as_test_x
='test -x'
14045 as_executable_p
=as_fn_executable_p
14047 # Sed expression to map a string onto a valid CPP name.
14048 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14050 # Sed expression to map a string onto a valid variable name.
14051 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14055 ## ----------------------------------- ##
14056 ## Main body of $CONFIG_STATUS script. ##
14057 ## ----------------------------------- ##
14059 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14062 # Save the log message, to keep $0 and so on meaningful, and to
14063 # report actual input values of CONFIG_FILES etc. instead of their
14064 # values after options handling.
14066 This file was extended by libctf $as_me 1.2.0, which was
14067 generated by GNU Autoconf 2.69. Invocation command line was
14069 CONFIG_FILES = $CONFIG_FILES
14070 CONFIG_HEADERS = $CONFIG_HEADERS
14071 CONFIG_LINKS = $CONFIG_LINKS
14072 CONFIG_COMMANDS = $CONFIG_COMMANDS
14075 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14080 case $ac_config_files in *"
14081 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14084 case $ac_config_headers in *"
14085 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14090 # Files that config.status was made for.
14091 config_files="$ac_config_files"
14092 config_headers="$ac_config_headers"
14093 config_commands="$ac_config_commands"
14097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14099 \`$as_me' instantiates files and other configuration actions
14100 from templates according to the current configuration. Unless the files
14101 and actions are specified as TAGs, all are instantiated by default.
14103 Usage: $0 [OPTION]... [TAG]...
14105 -h, --help print this help, then exit
14106 -V, --version print version number and configuration settings, then exit
14107 --config print configuration, then exit
14108 -q, --quiet, --silent
14109 do not print progress messages
14110 -d, --debug don't remove temporary files
14111 --recheck update $as_me by reconfiguring in the same conditions
14112 --file=FILE[:TEMPLATE]
14113 instantiate the configuration file FILE
14114 --header=FILE[:TEMPLATE]
14115 instantiate the configuration header FILE
14117 Configuration files:
14120 Configuration headers:
14123 Configuration commands:
14126 Report bugs to the package provider."
14129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14130 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14132 libctf config.status 1.2.0
14133 configured by $0, generated by GNU Autoconf 2.69,
14134 with options \\"\$ac_cs_config\\"
14136 Copyright (C) 2012 Free Software Foundation, Inc.
14137 This config.status script is free software; the Free Software Foundation
14138 gives unlimited permission to copy, distribute and modify it."
14145 test -n "\$AWK" || AWK=awk
14148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14149 # The default lists apply if the user does not specify any file.
14155 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14156 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14160 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14172 # Handling of the options.
14173 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14175 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14176 $as_echo "$ac_cs_version"; exit ;;
14177 --config |
--confi |
--conf |
--con |
--co |
--c )
14178 $as_echo "$ac_cs_config"; exit ;;
14179 --debug |
--debu |
--deb |
--de |
--d |
-d )
14181 --file |
--fil |
--fi |
--f )
14184 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14185 '') as_fn_error $?
"missing file argument" ;;
14187 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14188 ac_need_defaults
=false
;;
14189 --header |
--heade |
--head |
--hea )
14192 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14194 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14195 ac_need_defaults
=false
;;
14197 # Conflict between --help and --header
14198 as_fn_error $?
"ambiguous option: \`$1'
14199 Try \`$0 --help' for more information.";;
14200 --help |
--hel |
-h )
14201 $as_echo "$ac_cs_usage"; exit ;;
14202 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14203 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14206 # This is an error.
14207 -*) as_fn_error $?
"unrecognized option: \`$1'
14208 Try \`$0 --help' for more information." ;;
14210 *) as_fn_append ac_config_targets
" $1"
14211 ac_need_defaults
=false
;;
14217 ac_configure_extra_args
=
14219 if $ac_cs_silent; then
14221 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14226 if \$ac_cs_recheck; then
14227 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14229 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14230 CONFIG_SHELL='$SHELL'
14231 export CONFIG_SHELL
14236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14240 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14241 ## Running $as_me. ##
14247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14251 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14254 # The HP-UX ksh and POSIX shell print the target directory to stdout
14255 # if CDPATH is set.
14256 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14258 sed_quote_subst='$sed_quote_subst'
14259 double_quote_subst='$double_quote_subst'
14260 delay_variable_subst='$delay_variable_subst'
14261 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14262 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14263 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14264 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14265 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14266 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14267 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14268 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14269 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14270 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14271 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14272 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14273 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14274 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14275 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14276 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14277 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14278 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14279 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14280 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14281 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14282 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14283 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14284 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14285 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14286 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14287 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14288 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14289 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14290 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14291 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14292 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14293 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14294 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14295 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14296 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14297 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14298 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14299 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14300 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14301 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14302 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14303 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14304 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14305 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14306 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14307 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14308 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14309 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"`'
14310 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14311 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14312 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14313 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14314 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14315 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14316 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14317 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14318 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14319 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14320 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14321 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14322 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14323 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14324 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14325 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14326 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14327 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14328 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14329 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14330 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14331 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14332 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14333 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14334 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14335 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14336 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14337 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14338 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14339 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14340 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14341 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14342 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14343 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14344 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14345 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14346 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14347 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14348 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14349 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14350 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14351 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14352 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14353 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14354 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14355 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14356 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14357 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14358 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14359 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14360 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14361 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14362 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14363 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14364 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14365 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14366 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14367 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14368 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14369 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14370 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14371 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14372 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14373 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14374 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14375 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14376 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14377 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14378 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14379 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14380 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14383 LTCFLAGS='$LTCFLAGS'
14384 compiler='$compiler_DEFAULT'
14386 # A function that is used when there is no print builtin or printf.
14387 func_fallback_echo ()
14389 eval 'cat <<_LTECHO_EOF
14394 # Quote evaled strings.
14408 deplibs_check_method \
14417 lt_cv_sys_global_symbol_pipe \
14418 lt_cv_sys_global_symbol_to_cdecl \
14419 lt_cv_sys_global_symbol_to_c_name_address \
14420 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14421 lt_prog_compiler_no_builtin_flag \
14422 lt_prog_compiler_wl \
14423 lt_prog_compiler_pic \
14424 lt_prog_compiler_static \
14425 lt_cv_prog_compiler_c_o \
14433 export_dynamic_flag_spec \
14434 whole_archive_flag_spec \
14435 compiler_needs_object \
14437 allow_undefined_flag \
14438 no_undefined_flag \
14439 hardcode_libdir_flag_spec \
14440 hardcode_libdir_flag_spec_ld \
14441 hardcode_libdir_separator \
14446 variables_saved_for_relink \
14448 library_names_spec \
14450 install_override_mode \
14454 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14455 *[\\\\\\\`\\"\\\$]*)
14456 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14459 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14464 # Double-quote double-evaled strings.
14465 for var in reload_cmds \
14466 old_postinstall_cmds \
14467 old_postuninstall_cmds \
14469 extract_expsyms_cmds \
14470 old_archive_from_new_cmds \
14471 old_archive_from_expsyms_cmds \
14473 archive_expsym_cmds \
14475 module_expsym_cmds \
14476 export_symbols_cmds \
14479 postuninstall_cmds \
14481 sys_lib_search_path_spec \
14482 sys_lib_dlsearch_path_spec; do
14483 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14484 *[\\\\\\\`\\"\\\$]*)
14485 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14488 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14493 ac_aux_dir='$ac_aux_dir'
14494 xsi_shell='$xsi_shell'
14495 lt_shell_append='$lt_shell_append'
14497 # See if we are running on zsh, and set the options which allow our
14498 # commands through without removal of \ escapes INIT.
14499 if test -n "\${ZSH_VERSION+set}" ; then
14500 setopt NO_GLOB_SUBST
14506 TIMESTAMP='$TIMESTAMP'
14515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14517 # Handling of arguments.
14518 for ac_config_target
in $ac_config_targets
14520 case $ac_config_target in
14521 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14522 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14523 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14524 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14526 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14531 # If the user did not use the arguments to specify the items to instantiate,
14532 # then the envvar interface is used. Set only those that are not.
14533 # We use the long form for the default assignment because of an extremely
14534 # bizarre bug on SunOS 4.1.3.
14535 if $ac_need_defaults; then
14536 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14537 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14538 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14541 # Have a temporary directory for convenience. Make it in the build tree
14542 # simply because there is no reason against having it here, and in addition,
14543 # creating and moving files from /tmp can sometimes cause problems.
14544 # Hook for its removal unless debugging.
14545 # Note that there is a small window in which the directory will not be cleaned:
14546 # after its creation but before its name has been assigned to `$tmp'.
14550 trap 'exit_status=$?
14551 : "${ac_tmp:=$tmp}"
14552 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14554 trap 'as_fn_exit 1' 1 2 13 15
14556 # Create a (secure) tmp directory for tmp files.
14559 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14563 tmp
=.
/conf$$
-$RANDOM
14564 (umask 077 && mkdir
"$tmp")
14565 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14568 # Set up the scripts for CONFIG_FILES section.
14569 # No need to generate them if there are no CONFIG_FILES.
14570 # This happens for instance with `./config.status config.h'.
14571 if test -n "$CONFIG_FILES"; then
14574 ac_cr
=`echo X | tr X '\015'`
14575 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14576 # But we know of no other shell where ac_cr would be empty at this
14577 # point, so we can use a bashism as a fallback.
14578 if test "x$ac_cr" = x
; then
14579 eval ac_cr
=\$
\'\\r
\'
14581 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14582 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14585 ac_cs_awk_cr
=$ac_cr
14588 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14593 echo "cat >conf$$subs.awk <<_ACEOF" &&
14594 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14596 } >conf$$subs.sh ||
14597 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14598 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14600 for ac_last_try in false false false false false :; do
14601 . ./conf$$subs.sh ||
14602 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14604 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14605 if test $ac_delim_n = $ac_delim_num; then
14607 elif $ac_last_try; then
14608 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14610 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14613 rm -f conf$$subs.sh
14615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14616 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14620 s/^/S["/; s
/!.
*/"]=/
14630 s/\(.\{148\}\)..*/\1/
14632 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14637 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14644 s/\(.\{148\}\)..*/\1/
14646 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14650 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14655 ' <conf$$subs.awk | sed '
14660 ' >>$CONFIG_STATUS || ac_write_fail=1
14661 rm -f conf$$subs.awk
14662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14664 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14665 for (key in S) S_is_set[key] = 1
14671 nfields = split(line, field, "@
")
14673 len = length(field[1])
14674 for (i = 2; i < nfields; i++) {
14676 keylen = length(key)
14677 if (S_is_set[key]) {
14679 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14680 len += length(value) + length(field[++i])
14691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14692 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14693 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14696 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14697 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14700 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14701 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14702 # trailing colons and then remove the whole line if VPATH becomes empty
14703 # (actually we leave an empty line to preserve line numbers).
14704 if test "x
$srcdir" = x.; then
14705 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14724 fi # test -n "$CONFIG_FILES"
14726 # Set up the scripts for CONFIG_HEADERS section.
14727 # No need to generate them if there are no CONFIG_HEADERS.
14728 # This happens for instance with `./config.status Makefile'.
14729 if test -n "$CONFIG_HEADERS"; then
14730 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14734 # Transform confdefs.h into an awk script `defines.awk', embedded as
14735 # here-document in config.status, that substitutes the proper values into
14736 # config.h.in to produce config.h.
14738 # Create a delimiter string that does not exist in confdefs.h, to ease
14739 # handling of long lines.
14741 for ac_last_try in false false :; do
14742 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14743 if test -z "$ac_tt"; then
14745 elif $ac_last_try; then
14746 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14748 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14752 # For the awk script, D is an array of macro values keyed by name,
14753 # likewise P contains macro parameters if any. Preserve backslash
14754 # newline sequences.
14756 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14758 s/.\{148\}/&'"$ac_delim"'/g
14761 s/^[ ]*#[ ]*define[ ][ ]*/ /
14768 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14770 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14774 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14775 D["\
1"]=" \
3\\\\\\n
"\\/p
14777 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14782 s/.\{148\}/&'"$ac_delim"'/g
14787 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14790 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14792 ' <confdefs.h | sed '
14793 s/'"$ac_delim"'/"\\\
14794 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14797 for (key in D) D_is_set[key] = 1
14800 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14802 split(line, arg, " ")
14803 if (arg[1] == "#") {
14807 defundef
= substr
(arg
[1], 2)
14810 split(mac1
, mac2
, "(") #)
14812 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14813 if (D_is_set
[macro
]) {
14814 # Preserve the white space surrounding the "#".
14815 print prefix
"define", macro P
[macro
] D
[macro
]
14818 # Replace #undef with comments. This is necessary, for example,
14819 # in the case of _POSIX_SOURCE, which is predefined and required
14820 # on some systems where configure will not decide to define it.
14821 if (defundef
== "undef") {
14822 print
"/*", prefix defundef
, macro
, "*/"
14830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14831 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14832 fi # test -n "$CONFIG_HEADERS"
14835 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14840 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14842 case $ac_mode$ac_tag in
14844 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14845 :[FH
]-) ac_tag
=-:-;;
14846 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14863 -) ac_f
="$ac_tmp/stdin";;
14864 *) # Look for the file first in the build tree, then in the source tree
14865 # (if the path is not absolute). The absolute path cannot be DOS-style,
14866 # because $ac_f cannot contain `:'.
14870 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14872 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14874 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14875 as_fn_append ac_file_inputs
" '$ac_f'"
14878 # Let's still pretend it is `configure' which instantiates (i.e., don't
14879 # use $as_me), people would be surprised to read:
14880 # /* config.h. Generated by config.status. */
14881 configure_input
='Generated from '`
14882 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14884 if test x
"$ac_file" != x-
; then
14885 configure_input
="$ac_file. $configure_input"
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14887 $as_echo "$as_me: creating $ac_file" >&6;}
14889 # Neutralize special characters interpreted by sed in replacement strings.
14890 case $configure_input in #(
14891 *\
&* |
*\|
* |
*\\* )
14892 ac_sed_conf_input
=`$as_echo "$configure_input" |
14893 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14894 *) ac_sed_conf_input
=$configure_input;;
14898 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14899 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14904 ac_dir
=`$as_dirname -- "$ac_file" ||
14905 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14906 X"$ac_file" : 'X\(//\)[^/]' \| \
14907 X"$ac_file" : 'X\(//\)$' \| \
14908 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14909 $as_echo X"$ac_file" |
14910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14914 /^X\(\/\/\)[^/].*/{
14927 as_dir
="$ac_dir"; as_fn_mkdir_p
14931 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14933 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14934 # A ".." for each directory in $ac_dir_suffix.
14935 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14936 case $ac_top_builddir_sub in
14937 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14938 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14941 ac_abs_top_builddir
=$ac_pwd
14942 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14943 # for backward compatibility:
14944 ac_top_builddir
=$ac_top_build_prefix
14947 .
) # We are building in place.
14949 ac_top_srcdir
=$ac_top_builddir_sub
14950 ac_abs_top_srcdir
=$ac_pwd ;;
14951 [\\/]* | ?
:[\\/]* ) # Absolute name.
14952 ac_srcdir
=$srcdir$ac_dir_suffix;
14953 ac_top_srcdir
=$srcdir
14954 ac_abs_top_srcdir
=$srcdir ;;
14955 *) # Relative name.
14956 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14957 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14958 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14960 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14970 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14971 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14973 ac_MKDIR_P
=$MKDIR_P
14975 [\\/$
]* | ?
:[\\/]* ) ;;
14976 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14981 # If the template does not know about datarootdir, expand it.
14982 # FIXME: This hack should be removed a few years after 2.60.
14983 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14994 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14995 *datarootdir
*) ac_datarootdir_seen
=yes;;
14996 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14998 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15001 ac_datarootdir_hack='
15002 s&@datadir@&$datadir&g
15003 s&@docdir@&$docdir&g
15004 s&@infodir@&$infodir&g
15005 s&@localedir@&$localedir&g
15006 s&@mandir@&$mandir&g
15007 s&\\\${datarootdir}&$datarootdir&g' ;;
15011 # Neutralize VPATH when `$srcdir' = `.'.
15012 # Shell code in configure.ac might set extrasub.
15013 # FIXME: do we really want to maintain this feature?
15014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15015 ac_sed_extra="$ac_vpsub
15018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15020 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15021 s|@configure_input@|
$ac_sed_conf_input|
;t t
15022 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15023 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15024 s
&@srcdir@
&$ac_srcdir&;t t
15025 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15026 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15027 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15028 s
&@builddir@
&$ac_builddir&;t t
15029 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15030 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15031 s
&@INSTALL@
&$ac_INSTALL&;t t
15032 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15033 $ac_datarootdir_hack
15035 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15036 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15038 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15039 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15040 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15041 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15043 which seems to be undefined. Please make sure it is defined" >&5
15044 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15045 which seems to be undefined. Please make sure it is defined" >&2;}
15047 rm -f "$ac_tmp/stdin"
15049 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15050 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15052 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15058 if test x"$ac_file" != x-; then
15060 $as_echo "/* $configure_input */" \
15061 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15062 } >"$ac_tmp/config.h" \
15063 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15064 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15066 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15069 mv "$ac_tmp/config.h" "$ac_file" \
15070 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15073 $as_echo "/* $configure_input */" \
15074 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15075 || as_fn_error $? "could not create -" "$LINENO" 5
15077 # Compute "$ac_file"'s index
in $config_headers.
15080 for _am_header
in $config_headers :; do
15081 case $_am_header in
15082 $_am_arg |
$_am_arg:* )
15085 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15088 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15089 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15090 X"$_am_arg" : 'X\(//\)[^/]' \| \
15091 X"$_am_arg" : 'X\(//\)$' \| \
15092 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15093 $as_echo X"$_am_arg" |
15094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15098 /^X\(\/\/\)[^/].*/{
15110 s/.*/./; q'`/stamp-h
$_am_stamp_count
15113 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15114 $as_echo "$as_me: executing $ac_file commands" >&6;}
15119 case $ac_file$ac_mode in
15120 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15121 # Older Autoconf quotes --file arguments for eval, but not when files
15122 # are listed without --file. Let's play safe and only enable the eval
15123 # if we detect the quoting.
15124 case $CONFIG_FILES in
15125 *\'*) eval set x
"$CONFIG_FILES" ;;
15126 *) set x
$CONFIG_FILES ;;
15131 # Strip MF so we end up with the name of the file.
15132 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15133 # Check whether this is an Automake generated Makefile or not.
15134 # We used to match only the files named 'Makefile.in', but
15135 # some people rename them; so instead we look at the file content.
15136 # Grep'ing the first line is not enough: some people post-process
15137 # each Makefile.in and add a new line on top of each file to say so.
15138 # Grep'ing the whole file is not good either: AIX grep has a line
15139 # limit of 2048, but all sed's we know have understand at least 4000.
15140 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15141 dirpart
=`$as_dirname -- "$mf" ||
15142 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15143 X"$mf" : 'X\(//\)[^/]' \| \
15144 X"$mf" : 'X\(//\)$' \| \
15145 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15151 /^X\(\/\/\)[^/].*/{
15167 # Extract the definition of DEPDIR, am__include, and am__quote
15168 # from the Makefile without running 'make'.
15169 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15170 test -z "$DEPDIR" && continue
15171 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15172 test -z "$am__include" && continue
15173 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15174 # Find all dependency output files, they are included files with
15175 # $(DEPDIR) in their names. We invoke sed twice because it is the
15176 # simplest approach to changing $(DEPDIR) to its actual value in the
15178 for file in `sed -n "
15179 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15180 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15181 # Make sure the directory exists.
15182 test -f "$dirpart/$file" && continue
15183 fdir
=`$as_dirname -- "$file" ||
15184 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15185 X"$file" : 'X\(//\)[^/]' \| \
15186 X"$file" : 'X\(//\)$' \| \
15187 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15188 $as_echo X"$file" |
15189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15193 /^X\(\/\/\)[^/].*/{
15206 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15207 # echo "creating $dirpart/$file"
15208 echo '# dummy' > "$dirpart/$file"
15215 # See if we are running on zsh, and set the options which allow our
15216 # commands through without removal of \ escapes.
15217 if test -n "${ZSH_VERSION+set}" ; then
15218 setopt NO_GLOB_SUBST
15221 cfgfile
="${ofile}T"
15222 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15225 cat <<_LT_EOF >> "$cfgfile"
15228 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15229 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15230 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15231 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15233 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15234 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15235 # Written by Gordon Matzigkeit, 1996
15237 # This file is part of GNU Libtool.
15239 # GNU Libtool is free software; you can redistribute it and/or
15240 # modify it under the terms of the GNU General Public License as
15241 # published by the Free Software Foundation; either version 2 of
15242 # the License, or (at your option) any later version.
15244 # As a special exception to the GNU General Public License,
15245 # if you distribute this file as part of a program or library that
15246 # is built using GNU Libtool, you may include this file under the
15247 # same distribution terms that you use for the rest of that program.
15249 # GNU Libtool is distributed in the hope that it will be useful,
15250 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15251 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15252 # GNU General Public License for more details.
15254 # You should have received a copy of the GNU General Public License
15255 # along with GNU Libtool; see the file COPYING. If not, a copy
15256 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15257 # obtained by writing to the Free Software Foundation, Inc.,
15258 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15261 # The names of the tagged configurations supported by this script.
15264 # ### BEGIN LIBTOOL CONFIG
15266 # Whether or not to build shared libraries.
15267 build_libtool_libs=$enable_shared
15269 # Which release of libtool.m4 was used?
15270 macro_version=$macro_version
15271 macro_revision=$macro_revision
15273 # Whether or not to build static libraries.
15274 build_old_libs=$enable_static
15276 # What type of objects to build.
15279 # Whether or not to optimize for fast installation.
15280 fast_install=$enable_fast_install
15282 # Shell to use when invoking shell scripts.
15285 # An echo program that protects backslashes.
15289 host_alias=$host_alias
15293 # The build system.
15294 build_alias=$build_alias
15298 # A sed program that does not truncate output.
15301 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15302 Xsed="\$SED -e 1s/^X//"
15304 # A grep program that handles long lines.
15310 # A literal string matcher.
15313 # A BSD- or MS-compatible name lister.
15316 # Whether we need soft or hard links.
15319 # What is the maximum length of a command?
15320 max_cmd_len=$max_cmd_len
15322 # Object file suffix (normally "o").
15325 # Executable file suffix (normally "").
15328 # whether the shell understands "unset".
15331 # turn spaces into newlines.
15334 # turn newlines into spaces.
15337 # An object symbol dumper.
15338 OBJDUMP=$lt_OBJDUMP
15340 # Method to check whether dependent libraries are shared objects.
15341 deplibs_check_method=$lt_deplibs_check_method
15343 # Command to use when deplibs_check_method == "file_magic".
15344 file_magic_cmd=$lt_file_magic_cmd
15348 AR_FLAGS=$lt_AR_FLAGS
15350 # A symbol stripping program.
15353 # Commands used to install an old-style archive.
15355 old_postinstall_cmds=$lt_old_postinstall_cmds
15356 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15358 # Whether to use a lock for old archive extraction.
15359 lock_old_archive_extraction=$lock_old_archive_extraction
15364 # LTCC compiler flags.
15365 LTCFLAGS=$lt_CFLAGS
15367 # Take the output of nm and produce a listing of raw symbols and C names.
15368 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15370 # Transform the output of nm in a proper C declaration.
15371 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15373 # Transform the output of nm in a C name address pair.
15374 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15376 # Transform the output of nm in a C name address pair when lib prefix is needed.
15377 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15379 # The name of the directory that contains temporary libtool files.
15382 # Used to examine libraries when file_magic_cmd begins with "file".
15383 MAGIC_CMD=$MAGIC_CMD
15385 # Must we lock files when doing compilation?
15386 need_locks=$lt_need_locks
15388 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15389 DSYMUTIL=$lt_DSYMUTIL
15391 # Tool to change global to local symbols on Mac OS X.
15394 # Tool to manipulate fat objects and archives on Mac OS X.
15397 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15400 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15401 OTOOL64=$lt_OTOOL64
15403 # Old archive suffix (normally "a").
15406 # Shared library suffix (normally ".so").
15407 shrext_cmds=$lt_shrext_cmds
15409 # The commands to extract the exported symbol list from a shared archive.
15410 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15412 # Variables whose values should be saved in libtool wrapper scripts and
15413 # restored at link time.
15414 variables_saved_for_relink=$lt_variables_saved_for_relink
15416 # Do we need the "lib" prefix for modules?
15417 need_lib_prefix=$need_lib_prefix
15419 # Do we need a version for libraries?
15420 need_version=$need_version
15422 # Library versioning type.
15423 version_type=$version_type
15425 # Shared library runtime path variable.
15426 runpath_var=$runpath_var
15428 # Shared library path variable.
15429 shlibpath_var=$shlibpath_var
15431 # Is shlibpath searched before the hard-coded library search path?
15432 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15434 # Format of library name prefix.
15435 libname_spec=$lt_libname_spec
15437 # List of archive names. First name is the real one, the rest are links.
15438 # The last name is the one that the linker finds with -lNAME
15439 library_names_spec=$lt_library_names_spec
15441 # The coded name of the library, if different from the real name.
15442 soname_spec=$lt_soname_spec
15444 # Permission mode override for installation of shared libraries.
15445 install_override_mode=$lt_install_override_mode
15447 # Command to use after installation of a shared archive.
15448 postinstall_cmds=$lt_postinstall_cmds
15450 # Command to use after uninstallation of a shared archive.
15451 postuninstall_cmds=$lt_postuninstall_cmds
15453 # Commands used to finish a libtool library installation in a directory.
15454 finish_cmds=$lt_finish_cmds
15456 # As "finish_cmds", except a single script fragment to be evaled but
15458 finish_eval=$lt_finish_eval
15460 # Whether we should hardcode library paths into libraries.
15461 hardcode_into_libs=$hardcode_into_libs
15463 # Compile-time system search path for libraries.
15464 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15466 # Run-time system search path for libraries.
15467 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15469 # Whether dlopen is supported.
15470 dlopen_support=$enable_dlopen
15472 # Whether dlopen of programs is supported.
15473 dlopen_self=$enable_dlopen_self
15475 # Whether dlopen of statically linked programs is supported.
15476 dlopen_self_static=$enable_dlopen_self_static
15478 # Commands to strip libraries.
15479 old_striplib=$lt_old_striplib
15480 striplib=$lt_striplib
15483 # The linker used to build libraries.
15486 # How to create reloadable object files.
15487 reload_flag=$lt_reload_flag
15488 reload_cmds=$lt_reload_cmds
15490 # Commands used to build an old-style archive.
15491 old_archive_cmds=$lt_old_archive_cmds
15493 # A language specific compiler.
15496 # Is the compiler the GNU compiler?
15499 # Compiler flag to turn off builtin functions.
15500 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15502 # How to pass a linker flag through the compiler.
15503 wl=$lt_lt_prog_compiler_wl
15505 # Additional compiler flags for building library objects.
15506 pic_flag=$lt_lt_prog_compiler_pic
15508 # Compiler flag to prevent dynamic linking.
15509 link_static_flag=$lt_lt_prog_compiler_static
15511 # Does compiler simultaneously support -c and -o options?
15512 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15514 # Whether or not to add -lc for building shared libraries.
15515 build_libtool_need_lc=$archive_cmds_need_lc
15517 # Whether or not to disallow shared libs when runtime libs are static.
15518 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15520 # Compiler flag to allow reflexive dlopens.
15521 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15523 # Compiler flag to generate shared objects directly from archives.
15524 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15526 # Whether the compiler copes with passing no objects directly.
15527 compiler_needs_object=$lt_compiler_needs_object
15529 # Create an old-style archive from a shared archive.
15530 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15532 # Create a temporary old-style archive to link instead of a shared archive.
15533 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15535 # Commands used to build a shared archive.
15536 archive_cmds=$lt_archive_cmds
15537 archive_expsym_cmds=$lt_archive_expsym_cmds
15539 # Commands used to build a loadable module if different from building
15540 # a shared archive.
15541 module_cmds=$lt_module_cmds
15542 module_expsym_cmds=$lt_module_expsym_cmds
15544 # Whether we are building with GNU ld or not.
15545 with_gnu_ld=$lt_with_gnu_ld
15547 # Flag that allows shared libraries with undefined symbols to be built.
15548 allow_undefined_flag=$lt_allow_undefined_flag
15550 # Flag that enforces no undefined symbols.
15551 no_undefined_flag=$lt_no_undefined_flag
15553 # Flag to hardcode \$libdir into a binary during linking.
15554 # This must work even if \$libdir does not exist
15555 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15557 # If ld is used when linking, flag to hardcode \$libdir into a binary
15558 # during linking. This must work even if \$libdir does not exist.
15559 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15561 # Whether we need a single "-rpath" flag with a separated argument.
15562 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15564 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15565 # DIR into the resulting binary.
15566 hardcode_direct=$hardcode_direct
15568 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15569 # DIR into the resulting binary and the resulting library dependency is
15570 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15571 # library is relocated.
15572 hardcode_direct_absolute=$hardcode_direct_absolute
15574 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15575 # into the resulting binary.
15576 hardcode_minus_L=$hardcode_minus_L
15578 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15579 # into the resulting binary.
15580 hardcode_shlibpath_var=$hardcode_shlibpath_var
15582 # Set to "yes" if building a shared library automatically hardcodes DIR
15583 # into the library and all subsequent libraries and executables linked
15585 hardcode_automatic=$hardcode_automatic
15587 # Set to yes if linker adds runtime paths of dependent libraries
15588 # to runtime path list.
15589 inherit_rpath=$inherit_rpath
15591 # Whether libtool must link a program against all its dependency libraries.
15592 link_all_deplibs=$link_all_deplibs
15594 # Fix the shell variable \$srcfile for the compiler.
15595 fix_srcfile_path=$lt_fix_srcfile_path
15597 # Set to "yes" if exported symbols are required.
15598 always_export_symbols=$always_export_symbols
15600 # The commands to list exported symbols.
15601 export_symbols_cmds=$lt_export_symbols_cmds
15603 # Symbols that should not be listed in the preloaded symbols.
15604 exclude_expsyms=$lt_exclude_expsyms
15606 # Symbols that must always be exported.
15607 include_expsyms=$lt_include_expsyms
15609 # Commands necessary for linking programs (against libraries) with templates.
15610 prelink_cmds=$lt_prelink_cmds
15612 # Specify filename containing input files.
15613 file_list_spec=$lt_file_list_spec
15615 # How to hardcode a shared library path into an executable.
15616 hardcode_action=$hardcode_action
15618 # ### END LIBTOOL CONFIG
15624 cat <<\_LT_EOF
>> "$cfgfile"
15625 # AIX sometimes has problems with the GCC collect2 program. For some
15626 # reason, if we set the COLLECT_NAMES environment variable, the problems
15627 # vanish in a puff of smoke.
15628 if test "X${COLLECT_NAMES+set}" != Xset
; then
15630 export COLLECT_NAMES
15637 ltmain
="$ac_aux_dir/ltmain.sh"
15640 # We use sed instead of cat because bash on DJGPP gets confused if
15641 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15642 # text mode, it properly converts lines to CR/LF. This bash problem
15643 # is reportedly fixed, but why not run on old versions too?
15644 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15645 ||
(rm -f "$cfgfile"; exit 1)
15649 cat << \_LT_EOF
>> "$cfgfile"
15651 # func_dirname file append nondir_replacement
15652 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15653 # otherwise set result to NONDIR_REPLACEMENT.
15657 */*) func_dirname_result
="${1%/*}${2}" ;;
15658 * ) func_dirname_result
="${3}" ;;
15662 # func_basename file
15665 func_basename_result
="${1##*/}"
15668 # func_dirname_and_basename file append nondir_replacement
15669 # perform func_basename and func_dirname in a single function
15671 # dirname: Compute the dirname of FILE. If nonempty,
15672 # add APPEND to the result, otherwise set result
15673 # to NONDIR_REPLACEMENT.
15674 # value returned in "$func_dirname_result"
15675 # basename: Compute filename of FILE.
15676 # value retuned in "$func_basename_result"
15677 # Implementation must be kept synchronized with func_dirname
15678 # and func_basename. For efficiency, we do not delegate to
15679 # those functions but instead duplicate the functionality here.
15680 func_dirname_and_basename
()
15683 */*) func_dirname_result
="${1%/*}${2}" ;;
15684 * ) func_dirname_result
="${3}" ;;
15686 func_basename_result
="${1##*/}"
15689 # func_stripname prefix suffix name
15690 # strip PREFIX and SUFFIX off of NAME.
15691 # PREFIX and SUFFIX must not contain globbing or regex special
15692 # characters, hashes, percent signs, but SUFFIX may contain a leading
15693 # dot (in which case that matches only a dot).
15696 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15697 # positional parameters, so assign one to ordinary parameter first.
15698 func_stripname_result
=${3}
15699 func_stripname_result
=${func_stripname_result#"${1}"}
15700 func_stripname_result
=${func_stripname_result%"${2}"}
15706 func_opt_split_opt
=${1%%=*}
15707 func_opt_split_arg
=${1#*=}
15714 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15715 *) func_lo2o_result
=${1} ;;
15719 # func_xform libobj-or-source
15722 func_xform_result
=${1%.*}.lo
15725 # func_arith arithmetic-term...
15728 func_arith_result
=$
(( $
* ))
15732 # STRING may not start with a hyphen.
15735 func_len_result
=${#1}
15740 *) # Bourne compatible functions.
15741 cat << \_LT_EOF
>> "$cfgfile"
15743 # func_dirname file append nondir_replacement
15744 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15745 # otherwise set result to NONDIR_REPLACEMENT.
15748 # Extract subdirectory from the argument.
15749 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15750 if test "X$func_dirname_result" = "X${1}"; then
15751 func_dirname_result
="${3}"
15753 func_dirname_result
="$func_dirname_result${2}"
15757 # func_basename file
15760 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15764 # func_stripname prefix suffix name
15765 # strip PREFIX and SUFFIX off of NAME.
15766 # PREFIX and SUFFIX must not contain globbing or regex special
15767 # characters, hashes, percent signs, but SUFFIX may contain a leading
15768 # dot (in which case that matches only a dot).
15769 # func_strip_suffix prefix name
15773 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15774 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15779 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15780 my_sed_long_arg
='1s/^-[^=]*=//'
15785 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15786 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15792 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15795 # func_xform libobj-or-source
15798 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15801 # func_arith arithmetic-term...
15804 func_arith_result
=`expr "$@"`
15808 # STRING may not start with a hyphen.
15811 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15817 case $lt_shell_append in
15819 cat << \_LT_EOF
>> "$cfgfile"
15821 # func_append var value
15822 # Append VALUE to the end of shell variable VAR.
15830 cat << \_LT_EOF
>> "$cfgfile"
15832 # func_append var value
15833 # Append VALUE to the end of shell variable VAR.
15844 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15845 ||
(rm -f "$cfgfile"; exit 1)
15847 mv -f "$cfgfile" "$ofile" ||
15848 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15859 ac_clean_files
=$ac_clean_files_save
15861 test $ac_write_fail = 0 ||
15862 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15865 # configure is writing to config.log, and then calls config.status.
15866 # config.status does its own redirection, appending to config.log.
15867 # Unfortunately, on DOS this fails, as config.log is still kept open
15868 # by configure, so config.status won't be able to write to it; its
15869 # output is simply discarded. So we exec the FD to /dev/null,
15870 # effectively closing config.log, so it can be properly (re)opened and
15871 # appended to by config.status. When coming back to configure, we
15872 # need to make the FD available again.
15873 if test "$no_create" != yes; then
15875 ac_config_status_args
=
15876 test "$silent" = yes &&
15877 ac_config_status_args
="$ac_config_status_args --quiet"
15879 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15881 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15882 # would make configure fail if this is the last instruction.
15883 $ac_cs_success || as_fn_exit
1
15885 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15887 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15892 touch config.status.tmp
15893 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
15894 sed '/as_fn_exit 0/i \
15895 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
15896 touch --reference=Makefile Makefile.tmp \
15897 mv Makefile.tmp Makefile \
15898 ' config.status
> config.status.tmp
15899 touch --reference=config.status config.status.tmp
15900 mv config.status.tmp config.status
15901 chmod +x config.status
15902 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
15903 touch --reference=Makefile Makefile.tmp
15904 mv Makefile.tmp Makefile
15906 rm -f config.status.tmp