2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for opcodes 2.41.50.
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
='opcodes'
589 PACKAGE_TARNAME
='opcodes'
590 PACKAGE_VERSION
='2.41.50'
591 PACKAGE_STRING
='opcodes 2.41.50'
595 ac_unique_file
="z8k-dis.c"
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>
633 ac_subst_vars
='am__EXEEXT_FALSE
649 ENABLE_BFD_64_BIT_FALSE
650 ENABLE_BFD_64_BIT_TRUE
680 MAINTAINER_MODE_FALSE
684 WARN_CFLAGS_FOR_BUILD
734 INSTALL_STRIP_PROGRAM
788 program_transform_name
801 enable_option_checking
803 enable_dependency_tracking
813 enable_build_warnings
814 enable_maintainer_mode
815 enable_install_libbfd
825 ac_precious_vars
='build_alias
836 # Initialize some variables set by options.
838 ac_init_version
=false
839 ac_unrecognized_opts
=
841 # The variables have the same names as the options, with
842 # dashes changed to underlines.
850 program_transform_name
=s
,x
,x
,
858 # Installation directory options.
859 # These are left unexpanded so users can "make install exec_prefix=/foo"
860 # and all the variables that are supposed to be based on exec_prefix
861 # by default will actually change.
862 # Use braces instead of parens because sh, perl, etc. also accept them.
863 # (The list follows the same order as the GNU Coding Standards.)
864 bindir
='${exec_prefix}/bin'
865 sbindir
='${exec_prefix}/sbin'
866 libexecdir
='${exec_prefix}/libexec'
867 datarootdir
='${prefix}/share'
868 datadir
='${datarootdir}'
869 sysconfdir
='${prefix}/etc'
870 sharedstatedir
='${prefix}/com'
871 localstatedir
='${prefix}/var'
872 includedir
='${prefix}/include'
873 oldincludedir
='/usr/include'
874 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
875 infodir
='${datarootdir}/info'
880 libdir
='${exec_prefix}/lib'
881 localedir
='${datarootdir}/locale'
882 mandir
='${datarootdir}/man'
888 # If the previous option needs an argument, assign it.
889 if test -n "$ac_prev"; then
890 eval $ac_prev=\
$ac_option
896 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
907 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
909 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
912 -build |
--build |
--buil |
--bui |
--bu)
913 ac_prev
=build_alias
;;
914 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
915 build_alias
=$ac_optarg ;;
917 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
918 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
919 ac_prev
=cache_file
;;
920 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
921 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
922 cache_file
=$ac_optarg ;;
925 cache_file
=config.cache
;;
927 -datadir |
--datadir |
--datadi |
--datad)
929 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
930 datadir
=$ac_optarg ;;
932 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
933 |
--dataroo |
--dataro |
--datar)
934 ac_prev
=datarootdir
;;
935 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
936 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
937 datarootdir
=$ac_optarg ;;
939 -disable-* |
--disable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error $?
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error $?
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=\
$ac_optarg ;;
981 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
982 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
983 |
--exec |
--exe |
--ex)
984 ac_prev
=exec_prefix
;;
985 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
986 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
987 |
--exec=* |
--exe=* |
--ex=*)
988 exec_prefix
=$ac_optarg ;;
990 -gas |
--gas |
--ga |
--g)
991 # Obsolete; use --with-gas.
994 -help |
--help |
--hel |
--he |
-h)
996 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
997 ac_init_help
=recursive
;;
998 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
999 ac_init_help
=short
;;
1001 -host |
--host |
--hos |
--ho)
1002 ac_prev
=host_alias
;;
1003 -host=* |
--host=* |
--hos=* |
--ho=*)
1004 host_alias
=$ac_optarg ;;
1006 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1008 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1010 htmldir
=$ac_optarg ;;
1012 -includedir |
--includedir |
--includedi |
--included |
--include \
1013 |
--includ |
--inclu |
--incl |
--inc)
1014 ac_prev
=includedir
;;
1015 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1016 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1017 includedir
=$ac_optarg ;;
1019 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1021 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1022 infodir
=$ac_optarg ;;
1024 -libdir |
--libdir |
--libdi |
--libd)
1026 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1027 libdir
=$ac_optarg ;;
1029 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1030 |
--libexe |
--libex |
--libe)
1031 ac_prev
=libexecdir
;;
1032 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1033 |
--libexe=* |
--libex=* |
--libe=*)
1034 libexecdir
=$ac_optarg ;;
1036 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1037 ac_prev
=localedir
;;
1038 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1039 localedir
=$ac_optarg ;;
1041 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1042 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1043 ac_prev
=localstatedir
;;
1044 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1045 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1046 localstatedir
=$ac_optarg ;;
1048 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1050 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1051 mandir
=$ac_optarg ;;
1053 -nfp |
--nfp |
--nf)
1054 # Obsolete; use --without-fp.
1057 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1058 |
--no-cr |
--no-c |
-n)
1061 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1062 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1065 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1066 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1067 |
--oldin |
--oldi |
--old |
--ol |
--o)
1068 ac_prev
=oldincludedir
;;
1069 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1070 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1071 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1072 oldincludedir
=$ac_optarg ;;
1074 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1076 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1077 prefix
=$ac_optarg ;;
1079 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1080 |
--program-pre |
--program-pr |
--program-p)
1081 ac_prev
=program_prefix
;;
1082 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1083 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1084 program_prefix
=$ac_optarg ;;
1086 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1087 |
--program-suf |
--program-su |
--program-s)
1088 ac_prev
=program_suffix
;;
1089 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1090 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1091 program_suffix
=$ac_optarg ;;
1093 -program-transform-name |
--program-transform-name \
1094 |
--program-transform-nam |
--program-transform-na \
1095 |
--program-transform-n |
--program-transform- \
1096 |
--program-transform |
--program-transfor \
1097 |
--program-transfo |
--program-transf \
1098 |
--program-trans |
--program-tran \
1099 |
--progr-tra |
--program-tr |
--program-t)
1100 ac_prev
=program_transform_name
;;
1101 -program-transform-name=* |
--program-transform-name=* \
1102 |
--program-transform-nam=* |
--program-transform-na=* \
1103 |
--program-transform-n=* |
--program-transform-=* \
1104 |
--program-transform=* |
--program-transfor=* \
1105 |
--program-transfo=* |
--program-transf=* \
1106 |
--program-trans=* |
--program-tran=* \
1107 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1108 program_transform_name
=$ac_optarg ;;
1110 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1112 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1113 pdfdir
=$ac_optarg ;;
1115 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1117 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1121 |
-silent |
--silent |
--silen |
--sile |
--sil)
1124 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1126 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1128 sbindir
=$ac_optarg ;;
1130 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1131 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1132 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1134 ac_prev
=sharedstatedir
;;
1135 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1136 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1137 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1139 sharedstatedir
=$ac_optarg ;;
1141 -site |
--site |
--sit)
1143 -site=* |
--site=* |
--sit=*)
1146 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1148 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1149 srcdir
=$ac_optarg ;;
1151 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1152 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1153 ac_prev
=sysconfdir
;;
1154 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1155 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1156 sysconfdir
=$ac_optarg ;;
1158 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1159 ac_prev
=target_alias
;;
1160 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1161 target_alias
=$ac_optarg ;;
1163 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1166 -version |
--version |
--versio |
--versi |
--vers |
-V)
1167 ac_init_version
=: ;;
1170 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1173 as_fn_error $?
"invalid package name: $ac_useropt"
1174 ac_useropt_orig
=$ac_useropt
1175 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1181 ac_unrecognized_sep
=', ';;
1183 eval with_
$ac_useropt=\
$ac_optarg ;;
1185 -without-* |
--without-*)
1186 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error $?
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=no
;;
1202 # Obsolete; use --with-x.
1205 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1206 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1207 ac_prev
=x_includes
;;
1208 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1209 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1210 x_includes
=$ac_optarg ;;
1212 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1213 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1214 ac_prev
=x_libraries
;;
1215 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1216 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1217 x_libraries
=$ac_optarg ;;
1219 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1220 Try \`$0 --help' for more information"
1224 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1225 # Reject names that are not valid shell variable names.
1226 case $ac_envvar in #(
1227 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1228 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1230 eval $ac_envvar=\
$ac_optarg
1231 export $ac_envvar ;;
1234 # FIXME: should be removed in autoconf 3.0.
1235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1244 if test -n "$ac_prev"; then
1245 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1246 as_fn_error $?
"missing argument to $ac_option"
1249 if test -n "$ac_unrecognized_opts"; then
1250 case $enable_option_checking in
1252 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 # Check all directory arguments for consistency.
1258 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val
=\$
$ac_var
1264 # Remove trailing slashes.
1267 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1268 eval $ac_var=\
$ac_val;;
1270 # Be sure to have absolute directory names.
1272 [\\/$
]* | ?
:[\\/]* ) continue;;
1273 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1275 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target
=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x
; then
1287 if test "x$build_alias" = x
; then
1288 cross_compiling
=maybe
1289 elif test "x$build_alias" != "x$host_alias"; then
1295 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1297 test "$silent" = yes && exec 6>/dev
/null
1300 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1301 ac_ls_di
=`ls -di .` &&
1302 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1303 as_fn_error $?
"working directory cannot be determined"
1304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1305 as_fn_error $?
"pwd does not report name of working directory"
1308 # Find the source files, if location was not specified.
1309 if test -z "$srcdir"; then
1310 ac_srcdir_defaulted
=yes
1311 # Try the directory containing this script, then the parent directory.
1312 ac_confdir
=`$as_dirname -- "$as_myself" ||
1313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1314 X"$as_myself" : 'X\(//\)[^/]' \| \
1315 X"$as_myself" : 'X\(//\)$' \| \
1316 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1317 $as_echo X"$as_myself" |
1318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1340 ac_srcdir_defaulted
=no
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1344 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1346 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1348 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1350 # When building in place, set srcdir=.
1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
1354 # Remove unnecessary trailing slashes from srcdir.
1355 # Double slashes in file names in object file debugging info
1356 # mess up M-x gdb in Emacs.
1358 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360 for ac_var
in $ac_precious_vars; do
1361 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1362 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1363 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1364 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1368 # Report the --help message.
1370 if test "$ac_init_help" = "long"; then
1371 # Omit some internal or obsolete options to make the list less imposing.
1372 # This message is too long to be a string in the A/UX 3.1 sh.
1374 \`configure' configures opcodes 2.41.50 to adapt to many kinds of systems.
1376 Usage: $0 [OPTION]... [VAR=VALUE]...
1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1379 VAR=VALUE. See below for descriptions of some of the useful variables.
1381 Defaults for the options are specified in brackets.
1384 -h, --help display this help and exit
1385 --help=short display options specific to this package
1386 --help=recursive display the short help of all the included packages
1387 -V, --version display version information and exit
1388 -q, --quiet, --silent do not print \`checking ...' messages
1389 --cache-file=FILE cache test results in FILE [disabled]
1390 -C, --config-cache alias for \`--cache-file=config.cache'
1391 -n, --no-create do not create output files
1392 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1394 Installation directories:
1395 --prefix=PREFIX install architecture-independent files in PREFIX
1396 [$ac_default_prefix]
1397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1400 By default, \`make install' will install all the files in
1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1403 for instance \`--prefix=\$HOME'.
1405 For better control, use the options below.
1407 Fine tuning of the installation directories:
1408 --bindir=DIR user executables [EPREFIX/bin]
1409 --sbindir=DIR system admin executables [EPREFIX/sbin]
1410 --libexecdir=DIR program executables [EPREFIX/libexec]
1411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1413 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1414 --libdir=DIR object code libraries [EPREFIX/lib]
1415 --includedir=DIR C header files [PREFIX/include]
1416 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1419 --infodir=DIR info documentation [DATAROOTDIR/info]
1420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1421 --mandir=DIR man documentation [DATAROOTDIR/man]
1422 --docdir=DIR documentation root [DATAROOTDIR/doc/opcodes]
1423 --htmldir=DIR html documentation [DOCDIR]
1424 --dvidir=DIR dvi documentation [DOCDIR]
1425 --pdfdir=DIR pdf documentation [DOCDIR]
1426 --psdir=DIR ps documentation [DOCDIR]
1432 --program-prefix=PREFIX prepend PREFIX to installed program names
1433 --program-suffix=SUFFIX append SUFFIX to installed program names
1434 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1437 --build=BUILD configure
for building on BUILD
[guessed
]
1438 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1439 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1443 if test -n "$ac_init_help"; then
1444 case $ac_init_help in
1445 short | recursive
) echo "Configuration of opcodes 2.41.50:";;
1450 --disable-option-checking ignore unrecognized
--enable/--with options
1451 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1452 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1453 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1454 --disable-silent-rules verbose build output
(undo
: "make V=0")
1455 --enable-dependency-tracking
1456 do not reject slow dependency extractors
1457 --disable-dependency-tracking
1458 speeds up one-time build
1459 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1460 --enable-static[=PKGS
] build static libraries
[default
=yes]
1461 --enable-fast-install[=PKGS
]
1462 optimize
for fast installation
[default
=yes]
1463 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1464 --enable-checking enable run-time checks
1465 --enable-targets alternative target configurations
1466 --enable-werror treat compile warnings as errors
1467 --enable-build-warnings enable build-time compiler warnings
1468 --enable-maintainer-mode
1469 enable make rules and dependencies not useful
(and
1470 sometimes confusing
) to the casual installer
1471 --enable-install-libbfd controls installation of libbfd and related headers
1472 --disable-nls do not use Native Language Support
1473 --disable-rpath do not hardcode runtime library paths
1474 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1475 --enable-cgen-maint=dir build cgen generated files
1478 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1479 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1480 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1482 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1483 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1484 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1485 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1486 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1487 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1488 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1489 --with-libintl-type=TYPE
type of library to search
for (auto
/static
/shared
)
1491 Some influential environment variables
:
1492 CC C compiler
command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1495 nonstandard directory
<lib dir
>
1496 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1497 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1498 you have headers
in a nonstandard directory
<include dir
>
1501 Use these variables to override the choices made by
`configure' or to help
1502 it to find libraries and programs with nonstandard names/locations.
1504 Report bugs to the package provider.
1509 if test "$ac_init_help" = "recursive"; then
1510 # If there are subdirs, report their specific --help.
1511 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1512 test -d "$ac_dir" ||
1513 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1521 # A ".." for each directory in $ac_dir_suffix.
1522 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1523 case $ac_top_builddir_sub in
1524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1528 ac_abs_top_builddir=$ac_pwd
1529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1530 # for backward compatibility:
1531 ac_top_builddir=$ac_top_build_prefix
1534 .) # We are building in place.
1536 ac_top_srcdir=$ac_top_builddir_sub
1537 ac_abs_top_srcdir=$ac_pwd ;;
1538 [\\/]* | ?:[\\/]* ) # Absolute name.
1539 ac_srcdir=$srcdir$ac_dir_suffix;
1540 ac_top_srcdir=$srcdir
1541 ac_abs_top_srcdir=$srcdir ;;
1543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1544 ac_top_srcdir=$ac_top_build_prefix$srcdir
1545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1549 cd "$ac_dir" || { ac_status=$?; continue; }
1550 # Check for guested configure.
1551 if test -f "$ac_srcdir/configure.gnu"; then
1553 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1554 elif test -f "$ac_srcdir/configure"; then
1556 $SHELL "$ac_srcdir/configure" --help=recursive
1558 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1560 cd "$ac_pwd" || { ac_status=$?; break; }
1564 test -n "$ac_init_help" && exit $ac_status
1565 if $ac_init_version; then
1567 opcodes configure 2.41.50
1568 generated by GNU Autoconf 2.69
1570 Copyright (C) 2012 Free Software Foundation, Inc.
1571 This configure script is free software; the Free Software Foundation
1572 gives unlimited permission to copy, distribute and modify it.
1577 ## ------------------------ ##
1578 ## Autoconf initialization. ##
1579 ## ------------------------ ##
1581 # ac_fn_c_try_compile LINENO
1582 # --------------------------
1583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1584 ac_fn_c_try_compile ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 rm -f conftest.$ac_objext
1588 if { { ac_try="$ac_compile"
1590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1591 *) ac_try_echo
=$ac_try;;
1593 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_compile") 2>conftest.err
1597 if test -s conftest.err
; then
1598 grep -v '^ *+' conftest.err
>conftest.er1
1599 cat conftest.er1
>&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } && {
1604 test -z "$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1606 } && test -s conftest.
$ac_objext; then :
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.
$ac_ext >&5
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status
$ac_retval
1617 } # ac_fn_c_try_compile
1619 # ac_fn_c_try_cpp LINENO
1620 # ----------------------
1621 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1624 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1625 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } > conftest.i && {
1641 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1656 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1657 # -------------------------------------------------------
1658 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1659 # the include files in INCLUDES and setting the cache variable VAR
1661 ac_fn_c_check_header_mongrel ()
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 if eval \${$3+:} false; then :
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 $as_echo_n "checking for $2... " >&6; }
1667 if eval \${$3+:} false; then :
1668 $as_echo_n "(cached) " >&6
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1672 $as_echo "$ac_res" >&6; }
1674 # Is the header compilable?
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1676 $as_echo_n "checking $2 usability... " >&6; }
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1682 if ac_fn_c_try_compile "$LINENO"; then :
1683 ac_header_compiler=yes
1685 ac_header_compiler=no
1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1689 $as_echo "$ac_header_compiler" >&6; }
1691 # Is the header present?
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1693 $as_echo_n "checking $2 presence... " >&6; }
1694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1698 if ac_fn_c_try_cpp "$LINENO"; then :
1699 ac_header_preproc=yes
1701 ac_header_preproc=no
1703 rm -f conftest.err conftest.i conftest.$ac_ext
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1705 $as_echo "$ac_header_preproc" >&6; }
1707 # So? What about this header?
1708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1711 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1717 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1719 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1721 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1723 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if eval \${$3+:} false; then :
1731 $as_echo_n "(cached) " >&6
1733 eval "$3=\$ac_header_compiler"
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1737 $as_echo "$ac_res" >&6; }
1739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741 } # ac_fn_c_check_header_mongrel
1743 # ac_fn_c_try_run LINENO
1744 # ----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1746 # that executables *can* be run.
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 if { { ac_try="$ac_link"
1752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1753 *) ac_try_echo
=$ac_try;;
1755 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_link") 2>&5
1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1761 { { case "(($ac_try" in
1762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_try") 2>&5
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; }; }; then :
1773 $as_echo "$as_me: program exited with status $ac_status" >&5
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1777 ac_retval=$ac_status
1779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 as_fn_set_status $ac_retval
1785 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1786 # -------------------------------------------------------
1787 # Tests whether HEADER exists and can be compiled using the include files in
1788 # INCLUDES, setting the cache variable VAR accordingly.
1789 ac_fn_c_check_header_compile ()
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if eval \${$3+:} false; then :
1795 $as_echo_n "(cached) " >&6
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1802 if ac_fn_c_try_compile "$LINENO"; then :
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 } # ac_fn_c_check_header_compile
1816 # ac_fn_c_try_link LINENO
1817 # -----------------------
1818 # Try to link conftest.$ac_ext, and return whether this succeeded.
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 rm -f conftest.$ac_objext conftest$ac_exeext
1823 if { { ac_try="$ac_link"
1825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1826 *) ac_try_echo
=$ac_try;;
1828 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_link") 2>conftest.err
1832 if test -s conftest.err
; then
1833 grep -v '^ *+' conftest.err
>conftest.er1
1834 cat conftest.er1
>&5
1835 mv -f conftest.er1 conftest.err
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && {
1839 test -z "$ac_c_werror_flag" ||
1840 test ! -s conftest.err
1841 } && test -s conftest
$ac_exeext && {
1842 test "$cross_compiling" = yes ||
1843 test -x conftest
$ac_exeext
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.
$ac_ext >&5
1852 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1853 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1854 # interfere with the next link command; also delete a directory that is
1855 # left behind by Apple's compiler. We do this before executing the actions.
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858 as_fn_set_status
$ac_retval
1860 } # ac_fn_c_try_link
1862 # ac_fn_c_check_func LINENO FUNC VAR
1863 # ----------------------------------
1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1865 ac_fn_c_check_func
()
1867 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \
${$3+:} false
; then :
1871 $as_echo_n "(cached) " >&6
1873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1875 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1877 #define $2 innocuous_$2
1879 /* System header to define __stub macros and hopefully few prototypes,
1880 which can conflict with char $2 (); below.
1881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1882 <limits.h> exists even on freestanding compilers. */
1885 # include <limits.h>
1887 # include <assert.h>
1892 /* Override any GCC internal prototype to avoid an error.
1893 Use char because int might match the return type of a GCC
1894 builtin and then its argument prototype would still apply. */
1899 /* The GNU C library defines this for functions which it implements
1900 to always fail with ENOSYS. Some functions are actually named
1901 something starting with __ and the normal name is an alias. */
1902 #if defined __stub_$2 || defined __stub___$2
1914 if ac_fn_c_try_link
"$LINENO"; then :
1919 rm -f core conftest.err conftest.
$ac_objext \
1920 conftest
$ac_exeext conftest.
$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927 } # ac_fn_c_check_func
1929 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1930 # --------------------------------------------
1931 # Tries to find the compile-time value of EXPR in a program that includes
1932 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1934 ac_fn_c_compute_int
()
1936 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1937 if test "$cross_compiling" = yes; then
1938 # Depending upon the size, compute the lo and hi bounds.
1939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1945 static int test_array [1 - 2 * !(($2) >= 0)];
1947 return test_array [0];
1953 if ac_fn_c_try_compile
"$LINENO"; then :
1956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1962 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1964 return test_array [0];
1970 if ac_fn_c_try_compile
"$LINENO"; then :
1971 ac_hi
=$ac_mid; break
1973 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1974 if test $ac_lo -le $ac_mid; then
1978 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1984 /* end confdefs.h. */
1989 static int test_array [1 - 2 * !(($2) < 0)];
1991 return test_array [0];
1997 if ac_fn_c_try_compile
"$LINENO"; then :
2000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2006 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2008 return test_array [0];
2014 if ac_fn_c_try_compile
"$LINENO"; then :
2015 ac_lo
=$ac_mid; break
2017 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2018 if test $ac_mid -le $ac_hi; then
2022 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2032 # Binary search between lo and hi bounds.
2033 while test "x$ac_lo" != "x$ac_hi"; do
2034 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2041 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2043 return test_array [0];
2049 if ac_fn_c_try_compile
"$LINENO"; then :
2052 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2057 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2064 static long int longval () { return $2; }
2065 static unsigned long int ulongval () { return $2; }
2072 FILE *f = fopen ("conftest.val", "w");
2077 long int i = longval ();
2080 fprintf (f, "%ld", i);
2084 unsigned long int i = ulongval ();
2087 fprintf (f, "%lu", i);
2089 /* Do not output a trailing newline, as this causes \r\n confusion
2090 on some platforms. */
2091 return ferror (f) || fclose (f) != 0;
2097 if ac_fn_c_try_run
"$LINENO"; then :
2098 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2102 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2103 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2108 as_fn_set_status
$ac_retval
2110 } # ac_fn_c_compute_int
2112 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2113 # ---------------------------------------------
2114 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2116 ac_fn_c_check_decl
()
2118 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2119 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2120 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2122 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2123 if eval \
${$3+:} false
; then :
2124 $as_echo_n "(cached) " >&6
2126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2132 #ifndef $as_decl_name
2134 (void) $as_decl_use;
2136 (void) $as_decl_name;
2144 if ac_fn_c_try_compile
"$LINENO"; then :
2149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2153 $as_echo "$ac_res" >&6; }
2154 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2156 } # ac_fn_c_check_decl
2157 cat >config.log
<<_ACEOF
2158 This file contains any messages produced by compilers while
2159 running configure, to aid debugging if configure makes a mistake.
2161 It was created by opcodes $as_me 2.41.50, which was
2162 generated by GNU Autoconf 2.69. Invocation command line was
2174 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2175 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2176 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2177 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2178 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2180 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2181 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2183 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2184 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2185 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2186 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2187 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2188 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2189 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir
=.
2198 $as_echo "PATH: $as_dir"
2214 # Keep a trace of the command line.
2215 # Strip out --no-create and --no-recursion so they do not pile up.
2216 # Strip out --silent because we don't want to record it for future runs.
2217 # Also quote any args containing shell meta-characters.
2218 # Make two passes to allow for proper duplicate-argument suppression.
2222 ac_must_keep_next
=false
2228 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2229 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2230 |
-silent |
--silent |
--silen |
--sile |
--sil)
2233 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2236 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2238 as_fn_append ac_configure_args1
" '$ac_arg'"
2239 if test $ac_must_keep_next = true
; then
2240 ac_must_keep_next
=false
# Got value, back to normal.
2243 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2244 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2245 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2246 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2247 case "$ac_configure_args0 " in
2248 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2251 -* ) ac_must_keep_next
=true
;;
2254 as_fn_append ac_configure_args
" '$ac_arg'"
2259 { ac_configure_args0
=; unset ac_configure_args0
;}
2260 { ac_configure_args1
=; unset ac_configure_args1
;}
2262 # When interrupted or exit'd, cleanup temporary files, and complete
2263 # config.log. We remove comments because anyway the quotes in there
2264 # would cause problems or look ugly.
2265 # WARNING: Use '\'' to represent an apostrophe within the trap.
2266 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2267 trap 'exit_status=$?
2268 # Save into config.log some information that might help in debugging.
2272 $as_echo "## ---------------- ##
2273 ## Cache variables. ##
2274 ## ---------------- ##"
2276 # The following way of writing the cache mishandles newlines in values,
2278 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2279 eval ac_val=\$$ac_var
2283 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2284 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2287 _ | IFS | as_nl) ;; #(
2288 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2289 *) { eval $ac_var=; unset $ac_var;} ;;
2294 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2295 *${as_nl}ac_space=\ *)
2297 "s/'\''/'\''\\\\'\'''\''/g;
2298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2301 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2308 $as_echo "## ----------------- ##
2309 ## Output variables. ##
2310 ## ----------------- ##"
2312 for ac_var in $ac_subst_vars
2314 eval ac_val=\$$ac_var
2316 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2318 $as_echo "$ac_var='\''$ac_val'\''"
2322 if test -n "$ac_subst_files"; then
2323 $as_echo "## ------------------- ##
2324 ## File substitutions. ##
2325 ## ------------------- ##"
2327 for ac_var
in $ac_subst_files
2329 eval ac_val
=\$
$ac_var
2331 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2333 $as_echo "$ac_var='\''$ac_val'\''"
2338 if test -s confdefs.h; then
2339 $as_echo "## ----------- ##
2346 test "$ac_signal" != 0 &&
2347 $as_echo "$as_me: caught signal $ac_signal"
2348 $as_echo "$as_me: exit $exit_status"
2350 rm -f core *.core core.conftest.* &&
2351 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2354 for ac_signal
in 1 2 13 15; do
2355 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2359 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2360 rm -f -r conftest
* confdefs.h
2362 $as_echo "/* confdefs.h */" > confdefs.h
2364 # Predefined preprocessor variables.
2366 cat >>confdefs.h
<<_ACEOF
2367 #define PACKAGE_NAME "$PACKAGE_NAME"
2370 cat >>confdefs.h
<<_ACEOF
2371 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2374 cat >>confdefs.h
<<_ACEOF
2375 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2378 cat >>confdefs.h
<<_ACEOF
2379 #define PACKAGE_STRING "$PACKAGE_STRING"
2382 cat >>confdefs.h
<<_ACEOF
2383 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2386 cat >>confdefs.h
<<_ACEOF
2387 #define PACKAGE_URL "$PACKAGE_URL"
2391 # Let the site file select an alternate cache file if it wants to.
2392 # Prefer an explicitly selected file to automatically selected ones.
2395 if test -n "$CONFIG_SITE"; then
2396 # We do not want a PATH search for config.site.
2397 case $CONFIG_SITE in #((
2398 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2399 */*) ac_site_file1
=$CONFIG_SITE;;
2400 *) ac_site_file1
=.
/$CONFIG_SITE;;
2402 elif test "x$prefix" != xNONE
; then
2403 ac_site_file1
=$prefix/share
/config.site
2404 ac_site_file2
=$prefix/etc
/config.site
2406 ac_site_file1
=$ac_default_prefix/share
/config.site
2407 ac_site_file2
=$ac_default_prefix/etc
/config.site
2409 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2411 test "x$ac_site_file" = xNONE
&& continue
2412 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2414 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2415 sed 's/^/| /' "$ac_site_file" >&5
2417 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2419 as_fn_error $?
"failed to load site script $ac_site_file
2420 See \`config.log' for more details" "$LINENO" 5; }
2424 if test -r "$cache_file"; then
2425 # Some versions of bash will fail to source /dev/null (special files
2426 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2427 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2429 $as_echo "$as_me: loading cache $cache_file" >&6;}
2431 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2432 *) .
"./$cache_file";;
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2437 $as_echo "$as_me: creating cache $cache_file" >&6;}
2441 gt_needs
="$gt_needs "
2442 # Check that the precious variables saved in the cache have kept the same
2444 ac_cache_corrupted
=false
2445 for ac_var
in $ac_precious_vars; do
2446 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2447 eval ac_new_set
=\
$ac_env_${ac_var}_set
2448 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2449 eval ac_new_val
=\
$ac_env_${ac_var}_value
2450 case $ac_old_set,$ac_new_set in
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2453 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2454 ac_cache_corrupted
=: ;;
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2457 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2458 ac_cache_corrupted
=: ;;
2461 if test "x$ac_old_val" != "x$ac_new_val"; then
2462 # differences in whitespace do not lead to failure.
2463 ac_old_val_w
=`echo x $ac_old_val`
2464 ac_new_val_w
=`echo x $ac_new_val`
2465 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2467 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2468 ac_cache_corrupted
=:
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2471 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2472 eval $ac_var=\
$ac_old_val
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2475 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2477 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2480 # Pass precious variables to config.status.
2481 if test "$ac_new_set" = set; then
2483 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2484 *) ac_arg
=$ac_var=$ac_new_val ;;
2486 case " $ac_configure_args " in
2487 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2488 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2492 if $ac_cache_corrupted; then
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2496 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2497 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2499 ## -------------------- ##
2500 ## Main body of script. ##
2501 ## -------------------- ##
2504 ac_cpp
='$CPP $CPPFLAGS'
2505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2516 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2517 if test -f "$ac_dir/install-sh"; then
2519 ac_install_sh
="$ac_aux_dir/install-sh -c"
2521 elif test -f "$ac_dir/install.sh"; then
2523 ac_install_sh
="$ac_aux_dir/install.sh -c"
2525 elif test -f "$ac_dir/shtool"; then
2527 ac_install_sh
="$ac_aux_dir/shtool install -c"
2531 if test -z "$ac_aux_dir"; then
2532 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2535 # These three variables are undocumented and unsupported,
2536 # and are intended to be withdrawn in a future Autoconf release.
2537 # They can cause serious problems if a builder's source tree is in a directory
2538 # whose full name contains unusual characters.
2539 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2540 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2541 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2544 # Make sure we can run config.sub.
2545 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2546 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2549 $as_echo_n "checking build system type... " >&6; }
2550 if ${ac_cv_build+:} false
; then :
2551 $as_echo_n "(cached) " >&6
2553 ac_build_alias
=$build_alias
2554 test "x$ac_build_alias" = x
&&
2555 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2556 test "x$ac_build_alias" = x
&&
2557 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2558 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2559 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2563 $as_echo "$ac_cv_build" >&6; }
2564 case $ac_cv_build in
2566 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2569 ac_save_IFS
=$IFS; IFS
='-'
2575 # Remember, the first character of IFS is used to create $*,
2576 # except with old shells:
2579 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2583 $as_echo_n "checking host system type... " >&6; }
2584 if ${ac_cv_host+:} false
; then :
2585 $as_echo_n "(cached) " >&6
2587 if test "x$host_alias" = x
; then
2588 ac_cv_host
=$ac_cv_build
2590 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2591 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2596 $as_echo "$ac_cv_host" >&6; }
2599 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2602 ac_save_IFS
=$IFS; IFS
='-'
2608 # Remember, the first character of IFS is used to create $*,
2609 # except with old shells:
2612 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2616 $as_echo_n "checking target system type... " >&6; }
2617 if ${ac_cv_target+:} false
; then :
2618 $as_echo_n "(cached) " >&6
2620 if test "x$target_alias" = x
; then
2621 ac_cv_target
=$ac_cv_host
2623 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2624 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2629 $as_echo "$ac_cv_target" >&6; }
2630 case $ac_cv_target in
2632 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2634 target
=$ac_cv_target
2635 ac_save_IFS
=$IFS; IFS
='-'
2641 # Remember, the first character of IFS is used to create $*,
2642 # except with old shells:
2645 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2648 # The aliases save the names the user supplied, while $host etc.
2649 # will get canonicalized.
2650 test -n "$target_alias" &&
2651 test "$program_prefix$program_suffix$program_transform_name" = \
2653 program_prefix
=${target_alias}-
2655 am__api_version
='1.15'
2657 # Find a good install program. We prefer a C program (faster),
2658 # so one script is as good as another. But avoid the broken or
2659 # incompatible versions:
2660 # SysV /etc/install, /usr/sbin/install
2661 # SunOS /usr/etc/install
2662 # IRIX /sbin/install
2664 # AmigaOS /C/install, which installs bootblocks on floppy discs
2665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2668 # OS/2's system install, which has a completely different semantic
2669 # ./install, which can be erroneously created by make from ./install.sh.
2670 # Reject install programs that cannot install multiple files.
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2672 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2673 if test -z "$INSTALL"; then
2674 if ${ac_cv_path_install+:} false
; then :
2675 $as_echo_n "(cached) " >&6
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 # Account for people who put trailing slashes in PATH elements.
2683 case $as_dir/ in #((
2684 .
/ | .
// |
/[cC
]/* | \
2685 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2686 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2689 # OSF1 and SCO ODT 3.0 have their own names for install.
2690 # Don't use installbsd from OSF since it installs stuff as root
2692 for ac_prog
in ginstall scoinst
install; do
2693 for ac_exec_ext
in '' $ac_executable_extensions; do
2694 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2695 if test $ac_prog = install &&
2696 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2697 # AIX install. It has an incompatible calling convention.
2699 elif test $ac_prog = install &&
2700 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2701 # program-specific install script used by HP pwplus--don't use.
2704 rm -rf conftest.one conftest.two conftest.dir
2705 echo one
> conftest.one
2706 echo two
> conftest.two
2708 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2709 test -s conftest.one
&& test -s conftest.two
&&
2710 test -s conftest.dir
/conftest.one
&&
2711 test -s conftest.dir
/conftest.two
2713 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2726 rm -rf conftest.one conftest.two conftest.dir
2729 if test "${ac_cv_path_install+set}" = set; then
2730 INSTALL
=$ac_cv_path_install
2732 # As a last resort, use the slow shell script. Don't cache a
2733 # value for INSTALL within a source directory, because that will
2734 # break other packages using the cache if that directory is
2735 # removed, or if the value is a relative name.
2736 INSTALL
=$ac_install_sh
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2740 $as_echo "$INSTALL" >&6; }
2742 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2743 # It thinks the first close brace ends the variable substitution.
2744 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2746 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2748 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2751 $as_echo_n "checking whether build environment is sane... " >&6; }
2752 # Reject unsafe characters in $srcdir or the absolute working directory
2753 # name. Accept space and tab only in the latter.
2757 *[\\\"\
#\$\&\'\`$am_lf]*)
2758 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2761 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2762 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2765 # Do 'set' in a subshell so we don't clobber the current shell's
2766 # arguments. Must try -L first in case configure is actually a
2767 # symlink; some systems play weird games with the mod time of symlinks
2768 # (eg FreeBSD returns the mod time of the symlink's containing
2772 for am_try
in 1 2; do
2773 echo "timestamp, slept: $am_has_slept" > conftest.
file
2774 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2775 if test "$*" = "X"; then
2777 set X
`ls -t "$srcdir/configure" conftest.file`
2779 if test "$*" != "X $srcdir/configure conftest.file" \
2780 && test "$*" != "X conftest.file $srcdir/configure"; then
2782 # If neither matched, then we have a broken ls. This can happen
2783 # if, for instance, CONFIG_SHELL is bash and it inherits a
2784 # broken ls alias from the environment. This has actually
2785 # happened. Such a system could not be considered "sane".
2786 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2787 alias in your environment" "$LINENO" 5
2789 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2796 test "$2" = conftest.
file
2802 as_fn_error $?
"newly created file is older than distributed files!
2803 Check your system clock" "$LINENO" 5
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2806 $as_echo "yes" >&6; }
2807 # If we didn't sleep, we still need to ensure time stamps of config.status and
2808 # generated files are strictly newer.
2810 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2817 test "$program_prefix" != NONE
&&
2818 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2819 # Use a double $ so make ignores it.
2820 test "$program_suffix" != NONE
&&
2821 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2822 # Double any \ or $.
2823 # By default was `s,x,x', remove it if useless.
2824 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2825 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2827 # Expand $ac_aux_dir to an absolute path.
2828 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2830 if test x
"${MISSING+set}" != xset
; then
2833 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2835 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2838 # Use eval to expand $SHELL
2839 if eval "$MISSING --is-lightweight"; then
2840 am_missing_run
="$MISSING "
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2844 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2847 if test x
"${install_sh+set}" != xset
; then
2850 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2852 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2856 # Installed binaries are usually stripped using 'strip' when the user
2857 # run "make install-strip". However 'strip' might not be the right
2858 # tool to use in cross-compilation environments, therefore Automake
2859 # will honor the 'STRIP' environment variable to overrule this program.
2860 if test "$cross_compiling" != no
; then
2861 if test -n "$ac_tool_prefix"; then
2862 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2863 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if ${ac_cv_prog_STRIP+:} false
; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$STRIP"; then
2870 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2879 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 STRIP
=$ac_cv_prog_STRIP
2890 if test -n "$STRIP"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2892 $as_echo "$STRIP" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2900 if test -z "$ac_cv_prog_STRIP"; then
2902 # Extract the first word of "strip", so it can be a program name with args.
2903 set dummy strip
; ac_word
=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$ac_ct_STRIP"; then
2910 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir
=.
2917 for ac_exec_ext
in '' $ac_executable_extensions; do
2918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2919 ac_cv_prog_ac_ct_STRIP
="strip"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2930 if test -n "$ac_ct_STRIP"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2932 $as_echo "$ac_ct_STRIP" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2938 if test "x$ac_ct_STRIP" = x
; then
2941 case $cross_compiling:$ac_tool_warned in
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2945 ac_tool_warned
=yes ;;
2950 STRIP
="$ac_cv_prog_STRIP"
2954 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2957 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2958 if test -z "$MKDIR_P"; then
2959 if ${ac_cv_path_mkdir+:} false
; then :
2960 $as_echo_n "(cached) " >&6
2962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2963 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2966 test -z "$as_dir" && as_dir
=.
2967 for ac_prog
in mkdir gmkdir
; do
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2970 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2971 'mkdir (GNU coreutils) '* | \
2972 'mkdir (coreutils) '* | \
2973 'mkdir (fileutils) '4.1*)
2974 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2984 test -d .
/--version && rmdir .
/--version
2985 if test "${ac_cv_path_mkdir+set}" = set; then
2986 MKDIR_P
="$ac_cv_path_mkdir -p"
2988 # As a last resort, use the slow shell script. Don't cache a
2989 # value for MKDIR_P within a source directory, because that will
2990 # break other packages using the cache if that directory is
2991 # removed, or if the value is a relative name.
2992 MKDIR_P
="$ac_install_sh -d"
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2996 $as_echo "$MKDIR_P" >&6; }
2998 for ac_prog
in gawk mawk nawk
awk
3000 # Extract the first word of "$ac_prog", so it can be a program name with args.
3001 set dummy
$ac_prog; ac_word
=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_AWK+:} false
; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$AWK"; then
3008 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir
=.
3015 for ac_exec_ext
in '' $ac_executable_extensions; do
3016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_prog_AWK
="$ac_prog"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 if test -n "$AWK"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3030 $as_echo "$AWK" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3037 test -n "$AWK" && break
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3041 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3043 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3044 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3045 $as_echo_n "(cached) " >&6
3047 cat >conftest.
make <<\_ACEOF
3050 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3052 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3053 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3055 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3057 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3061 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3063 $as_echo "yes" >&6; }
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
3068 SET_MAKE
="MAKE=${MAKE-make}"
3071 rm -rf .tst
2>/dev
/null
3072 mkdir .tst
2>/dev
/null
3073 if test -d .tst
; then
3078 rmdir .tst
2>/dev
/null
3080 # Check whether --enable-silent-rules was given.
3081 if test "${enable_silent_rules+set}" = set; then :
3082 enableval
=$enable_silent_rules;
3085 case $enable_silent_rules in # (((
3086 yes) AM_DEFAULT_VERBOSITY
=0;;
3087 no
) AM_DEFAULT_VERBOSITY
=1;;
3088 *) AM_DEFAULT_VERBOSITY
=1;;
3090 am_make
=${MAKE-make}
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3092 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3093 if ${am_cv_make_support_nested_variables+:} false
; then :
3094 $as_echo_n "(cached) " >&6
3096 if $as_echo 'TRUE=$(BAR$(V))
3102 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3103 am_cv_make_support_nested_variables
=yes
3105 am_cv_make_support_nested_variables
=no
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3109 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3110 if test $am_cv_make_support_nested_variables = yes; then
3112 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3114 AM_V
=$AM_DEFAULT_VERBOSITY
3115 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3119 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3120 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3121 # is not polluted with repeated "-I."
3122 am__isrc
=' -I$(srcdir)'
3123 # test to see if srcdir already configured
3124 if test -f $srcdir/config.status
; then
3125 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3129 # test whether we have cygpath
3130 if test -z "$CYGPATH_W"; then
3131 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3132 CYGPATH_W
='cygpath -w'
3139 # Define the identity of the package.
3144 cat >>confdefs.h
<<_ACEOF
3145 #define PACKAGE "$PACKAGE"
3149 cat >>confdefs.h
<<_ACEOF
3150 #define VERSION "$VERSION"
3153 # Some tools Automake needs.
3155 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3158 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3161 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3164 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3167 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3169 # For better backward compatibility. To be removed once Automake 1.9.x
3170 # dies out for good. For more background, see:
3171 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3172 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3173 mkdir_p
='$(MKDIR_P)'
3175 # We need awk for the "check" target (and possibly the TAP driver). The
3176 # system "awk" is bad on some platforms.
3177 # Always define AMTAR for backward compatibility. Yes, it's still used
3178 # in the wild :-( We should find a proper way to deprecate it ...
3182 # We'll loop over all known methods to create a tar archive until one works.
3183 _am_tools
='gnutar pax cpio none'
3185 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3192 # POSIX will say in a future version that running "rm -f" with no argument
3193 # is OK; and we want to be able to make that assumption in our Makefile
3194 # recipes. So use an aggressive probe to check that the usage we want is
3195 # actually supported "in the wild" to an acceptable degree.
3196 # See automake bug#10828.
3197 # To make any issue more visible, cause the running configure to be aborted
3198 # by default if the 'rm' program in use doesn't match our expectations; the
3199 # user can still override this though.
3200 if rm -f && rm -fr && rm -rf; then : OK
; else
3204 Your 'rm' program seems unable to run without file operands specified
3205 on the command line, even when the '-f' option is present. This is contrary
3206 to the behaviour of most rm programs out there, and not conforming with
3207 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3209 Please tell bug-automake@gnu.org about your system, including the value
3210 of your $PATH and any error possibly output before this message. This
3211 can help us improve future automake versions.
3214 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3215 echo 'Configuration will proceed anyway, since you have set the' >&2
3216 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3220 Aborting the configuration process, to ensure you take notice of the issue.
3222 You can download and install GNU coreutils to get an 'rm' implementation
3223 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3225 If you want to complete the configuration process using your problematic
3226 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3227 to "yes", and re-run configure.
3230 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3234 # Check whether --enable-silent-rules was given.
3235 if test "${enable_silent_rules+set}" = set; then :
3236 enableval
=$enable_silent_rules;
3239 case $enable_silent_rules in # (((
3240 yes) AM_DEFAULT_VERBOSITY
=0;;
3241 no
) AM_DEFAULT_VERBOSITY
=1;;
3242 *) AM_DEFAULT_VERBOSITY
=0;;
3244 am_make
=${MAKE-make}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3246 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3247 if ${am_cv_make_support_nested_variables+:} false
; then :
3248 $as_echo_n "(cached) " >&6
3250 if $as_echo 'TRUE=$(BAR$(V))
3256 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3257 am_cv_make_support_nested_variables
=yes
3259 am_cv_make_support_nested_variables
=no
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3263 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3264 if test $am_cv_make_support_nested_variables = yes; then
3266 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3268 AM_V
=$AM_DEFAULT_VERBOSITY
3269 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3275 ac_cpp='$CPP $CPPFLAGS'
3276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3277 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3279 if test -n "$ac_tool_prefix"; then
3280 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3281 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3283 $as_echo_n "checking for $ac_word... " >&6; }
3284 if ${ac_cv_prog_CC+:} false; then :
3285 $as_echo_n "(cached) " >&6
3287 if test -n "$CC"; then
3288 ac_cv_prog_CC="$CC" # Let the user override the test.
3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3294 test -z "$as_dir" && as_dir=.
3295 for ac_exec_ext in '' $ac_executable_extensions; do
3296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3297 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 if test -n "$CC"; then
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3310 $as_echo "$CC" >&6; }
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3313 $as_echo "no" >&6; }
3318 if test -z "$ac_cv_prog_CC"; then
3320 # Extract the first word of "gcc", so it can be a program name with args.
3321 set dummy gcc; ac_word=$2
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3323 $as_echo_n "checking for $ac_word... " >&6; }
3324 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 if test -n "$ac_ct_CC"; then
3328 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 test -z "$as_dir" && as_dir=.
3335 for ac_exec_ext in '' $ac_executable_extensions; do
3336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3337 ac_cv_prog_ac_ct_CC="gcc"
3338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3347 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3348 if test -n "$ac_ct_CC"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3350 $as_echo "$ac_ct_CC" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3356 if test "x$ac_ct_CC" = x; then
3359 case $cross_compiling:$ac_tool_warned in
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3363 ac_tool_warned=yes ;;
3371 if test -z "$CC"; then
3372 if test -n "$ac_tool_prefix"; then
3373 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3374 set dummy ${ac_tool_prefix}cc; ac_word=$2
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3376 $as_echo_n "checking for $ac_word... " >&6; }
3377 if ${ac_cv_prog_CC+:} false; then :
3378 $as_echo_n "(cached) " >&6
3380 if test -n "$CC"; then
3381 ac_cv_prog_CC="$CC" # Let the user override the test.
3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir=.
3388 for ac_exec_ext in '' $ac_executable_extensions; do
3389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3390 ac_cv_prog_CC="${ac_tool_prefix}cc"
3391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3401 if test -n "$CC"; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3403 $as_echo "$CC" >&6; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 $as_echo "no" >&6; }
3412 if test -z "$CC"; then
3413 # Extract the first word of "cc", so it can be a program name with args.
3414 set dummy cc; ac_word=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if ${ac_cv_prog_CC+:} false; then :
3418 $as_echo_n "(cached) " >&6
3420 if test -n "$CC"; then
3421 ac_cv_prog_CC="$CC" # Let the user override the test.
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3432 ac_prog_rejected=yes
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3443 if test $ac_prog_rejected = yes; then
3444 # We found a bogon in the path, so make sure we never use it.
3445 set dummy $ac_cv_prog_CC
3447 if test $# != 0; then
3448 # We chose a different compiler from the bogus one.
3449 # However, it has the same basename, so the bogon will be chosen
3450 # first if we set CC to just the basename; use the full file name.
3452 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3458 if test -n "$CC"; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3460 $as_echo "$CC" >&6; }
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3468 if test -z "$CC"; then
3469 if test -n "$ac_tool_prefix"; then
3470 for ac_prog in cl.exe
3472 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3473 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475 $as_echo_n "checking for $ac_word... " >&6; }
3476 if ${ac_cv_prog_CC+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 if test -n "$CC"; then
3480 ac_cv_prog_CC="$CC" # Let the user override the test.
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 test -z "$as_dir" && as_dir=.
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3489 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 if test -n "$CC"; then
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3502 $as_echo "$CC" >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3509 test -n "$CC" && break
3512 if test -z "$CC"; then
3514 for ac_prog in cl.exe
3516 # Extract the first word of "$ac_prog", so it can be a program name with args.
3517 set dummy $ac_prog; ac_word=$2
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3519 $as_echo_n "checking for $ac_word... " >&6; }
3520 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3521 $as_echo_n "(cached) " >&6
3523 if test -n "$ac_ct_CC"; then
3524 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 test -z "$as_dir" && as_dir=.
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3533 ac_cv_prog_ac_ct_CC="$ac_prog"
3534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3544 if test -n "$ac_ct_CC"; then
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3546 $as_echo "$ac_ct_CC" >&6; }
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3553 test -n "$ac_ct_CC" && break
3556 if test "x$ac_ct_CC" = x; then
3559 case $cross_compiling:$ac_tool_warned in
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3563 ac_tool_warned=yes ;;
3572 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3573 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3574 as_fn_error $? "no acceptable C compiler found in \$PATH
3575 See \`config.log
' for more details" "$LINENO" 5; }
3577 # Provide some information about the compiler.
3578 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3581 for ac_option in --version -v -V -qversion; do
3582 { { ac_try="$ac_compiler $ac_option >&5"
3584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3585 *) ac_try_echo=$ac_try;;
3587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3588 $as_echo "$ac_try_echo"; } >&5
3589 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3591 if test -s conftest.err; then
3593 ... rest of stderr output deleted ...
3594 10q
' conftest.err >conftest.er1
3595 cat conftest.er1 >&5
3597 rm -f conftest.er1 conftest.err
3598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3599 test $ac_status = 0; }
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3613 ac_clean_files_save=$ac_clean_files
3614 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3615 # Try to create an executable without -o first, disregard a.out.
3616 # It will help us diagnose broken compilers, and finding out an intuition
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3619 $as_echo_n "checking whether the C compiler works... " >&6; }
3620 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3622 # The possible output files:
3623 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3626 for ac_file in $ac_files
3629 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3630 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3635 if { { ac_try="$ac_link_default"
3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638 *) ac_try_echo=$ac_try;;
3640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3641 $as_echo "$ac_try_echo"; } >&5
3642 (eval "$ac_link_default") 2>&5
3644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3645 test $ac_status = 0; }; then :
3646 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3647 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3648 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3649 # so that the user can short-circuit this test for compilers unknown to
3651 for ac_file
in $ac_files ''
3653 test -f "$ac_file" ||
continue
3655 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3658 # We found the default executable, but exeext='' is most
3662 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3664 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3666 # We set ac_cv_exeext here because the later test for it is not
3667 # safe: cross compilers may not add the suffix if given an `-o'
3668 # argument, so we may need to know it at that point already.
3669 # Even if this section looks crufty: it has the advantage of
3676 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3681 if test -z "$ac_file"; then :
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3684 $as_echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.
$ac_ext >&5
3687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3689 as_fn_error
77 "C compiler cannot create executables
3690 See \`config.log' for more details" "$LINENO" 5; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3693 $as_echo "yes" >&6; }
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3696 $as_echo_n "checking for C compiler default output file name... " >&6; }
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3698 $as_echo "$ac_file" >&6; }
3699 ac_exeext
=$ac_cv_exeext
3701 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3702 ac_clean_files
=$ac_clean_files_save
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3704 $as_echo_n "checking for suffix of executables... " >&6; }
3705 if { { ac_try
="$ac_link"
3707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3708 *) ac_try_echo=$ac_try;;
3710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3711 $as_echo "$ac_try_echo"; } >&5
3712 (eval "$ac_link") 2>&5
3714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3715 test $ac_status = 0; }; then :
3716 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3717 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3718 # work properly (i.e., refer to `conftest.exe'), while it won't with
3720 for ac_file
in conftest.exe conftest conftest.
*; do
3721 test -f "$ac_file" ||
continue
3723 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3724 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3732 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3733 See \`config.log' for more details" "$LINENO" 5; }
3735 rm -f conftest conftest
$ac_cv_exeext
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3737 $as_echo "$ac_cv_exeext" >&6; }
3739 rm -f conftest.
$ac_ext
3740 EXEEXT
=$ac_cv_exeext
3742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3748 FILE *f = fopen ("conftest.out", "w");
3749 return ferror (f) || fclose (f) != 0;
3755 ac_clean_files
="$ac_clean_files conftest.out"
3756 # Check that the compiler produces executables we can run. If not, either
3757 # the compiler is broken, or we cross compile.
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3759 $as_echo_n "checking whether we are cross compiling... " >&6; }
3760 if test "$cross_compiling" != yes; then
3761 { { ac_try
="$ac_link"
3763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3764 *) ac_try_echo=$ac_try;;
3766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3767 $as_echo "$ac_try_echo"; } >&5
3768 (eval "$ac_link") 2>&5
3770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771 test $ac_status = 0; }
3772 if { ac_try='./conftest$ac_cv_exeext'
3773 { { case "(($ac_try" in
3774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3775 *) ac_try_echo
=$ac_try;;
3777 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3778 $as_echo "$ac_try_echo"; } >&5
3779 (eval "$ac_try") 2>&5
3781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3782 test $ac_status = 0; }; }; then
3785 if test "$cross_compiling" = maybe
; then
3788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3790 as_fn_error $?
"cannot run C compiled programs.
3791 If you meant to cross compile, use \`--host'.
3792 See \`config.log' for more details" "$LINENO" 5; }
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3797 $as_echo "$cross_compiling" >&6; }
3799 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3800 ac_clean_files
=$ac_clean_files_save
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3802 $as_echo_n "checking for suffix of object files... " >&6; }
3803 if ${ac_cv_objext+:} false
; then :
3804 $as_echo_n "(cached) " >&6
3806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3817 rm -f conftest.o conftest.obj
3818 if { { ac_try
="$ac_compile"
3820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825 (eval "$ac_compile") 2>&5
3827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828 test $ac_status = 0; }; then :
3829 for ac_file in conftest.o conftest.obj conftest.*; do
3830 test -f "$ac_file" || continue;
3832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3833 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3838 $as_echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.$ac_ext >&5
3841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3843 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3844 See \
`config.log' for more details" "$LINENO" 5; }
3846 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3849 $as_echo "$ac_cv_objext" >&6; }
3850 OBJEXT=$ac_cv_objext
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3853 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3854 if ${ac_cv_c_compiler_gnu+:} false; then :
3855 $as_echo_n "(cached) " >&6
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3871 if ac_fn_c_try_compile "$LINENO"; then :
3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3881 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3882 if test $ac_compiler_gnu = yes; then
3887 ac_test_CFLAGS=${CFLAGS+set}
3888 ac_save_CFLAGS=$CFLAGS
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3890 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3891 if ${ac_cv_prog_cc_g+:} false; then :
3892 $as_echo_n "(cached) " >&6
3894 ac_save_c_werror_flag=$ac_c_werror_flag
3895 ac_c_werror_flag=yes
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3909 if ac_fn_c_try_compile "$LINENO"; then :
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3924 if ac_fn_c_try_compile "$LINENO"; then :
3927 ac_c_werror_flag=$ac_save_c_werror_flag
3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3940 if ac_fn_c_try_compile "$LINENO"; then :
3943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3948 ac_c_werror_flag=$ac_save_c_werror_flag
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3951 $as_echo "$ac_cv_prog_cc_g" >&6; }
3952 if test "$ac_test_CFLAGS" = set; then
3953 CFLAGS=$ac_save_CFLAGS
3954 elif test $ac_cv_prog_cc_g = yes; then
3955 if test "$GCC" = yes; then
3961 if test "$GCC" = yes; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3968 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3969 if ${ac_cv_prog_cc_c89+:} false; then :
3970 $as_echo_n "(cached) " >&6
3972 ac_cv_prog_cc_c89=no
3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3979 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3980 struct buf { int x; };
3981 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3982 static char *e (p, i)
3988 static char *f (char * (*g) (char **, int), char **p, ...)
3993 s = g (p, va_arg (v,int));
3998 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3999 function prototypes and stuff, but not '\xHH' hex character constants.
4000 These don't provoke an error unfortunately, instead are silently treated
4001 as 'x'. The following induces an error, until -std is added to get
4002 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4003 array size at least. It's necessary to write '\x00'==0 to get something
4004 that's true only with -std. */
4005 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4007 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4008 inside strings and character constants. */
4010 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4012 int test (int i, double x);
4013 struct s1 {int (*f) (int a);};
4014 struct s2 {int (*f) (double a);};
4015 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4021 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4026 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4027 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4029 CC="$ac_save_CC $ac_arg"
4030 if ac_fn_c_try_compile "$LINENO"; then :
4031 ac_cv_prog_cc_c89=$ac_arg
4033 rm -f core conftest.err conftest.$ac_objext
4034 test "x$ac_cv_prog_cc_c89" != "xno" && break
4036 rm -f conftest.$ac_ext
4041 case "x$ac_cv_prog_cc_c89" in
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4044 $as_echo "none needed" >&6; } ;;
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4047 $as_echo "unsupported" >&6; } ;;
4049 CC="$CC $ac_cv_prog_cc_c89"
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4051 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4053 if test "x$ac_cv_prog_cc_c89" != xno; then :
4058 ac_cpp='$CPP $CPPFLAGS'
4059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4064 ac_cpp='$CPP $CPPFLAGS'
4065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4069 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4070 if ${am_cv_prog_cc_c_o+:} false; then :
4071 $as_echo_n "(cached) " >&6
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 # Make sure it works both with $CC and with simple cc.
4085 # Following AC_PROG_CC_C_O, we do the test twice because some
4086 # compilers refuse to overwrite an existing .o file with -o,
4087 # though they will create one.
4088 am_cv_prog_cc_c_o=yes
4090 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4091 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } \
4095 && test -f conftest2.$ac_objext; then
4098 am_cv_prog_cc_c_o=no
4102 rm -f core conftest*
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4106 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4107 if test "$am_cv_prog_cc_c_o" != yes; then
4108 # Losing compiler, so override with the script.
4109 # FIXME: It is wrong to rewrite CC.
4110 # But if we don't then we get into trouble of one sort or another.
4111 # A longer-term fix would be to have automake use am__CC in this case,
4112 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4113 CC="$am_aux_dir/compile $CC"
4116 ac_cpp='$CPP $CPPFLAGS'
4117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4121 DEPDIR="${am__leading_dot}deps"
4123 ac_config_commands="$ac_config_commands depfiles"
4126 am_make=${MAKE-make}
4127 cat > confinc << 'END'
4129 @echo this is the am__doit target
4132 # If we don't find an include directive, just comment out the code.
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4134 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4138 # First try GNU make style include.
4139 echo "include confinc" > confmf
4140 # Ignore all kinds of additional output from 'make'.
4141 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4142 *the\ am__doit\ target*)
4148 # Now try BSD make style include.
4149 if test "$am__include" = "#"; then
4150 echo '.include "confinc"' > confmf
4151 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4152 *the\ am__doit\ target*)
4153 am__include=.include
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4162 $as_echo "$_am_result" >&6; }
4163 rm -f confinc confmf
4165 # Check whether --enable-dependency-tracking was given.
4166 if test "${enable_dependency_tracking+set}" = set; then :
4167 enableval=$enable_dependency_tracking;
4170 if test "x$enable_dependency_tracking" != xno; then
4171 am_depcomp="$ac_aux_dir/depcomp"
4175 if test "x$enable_dependency_tracking" != xno; then
4185 depcc="$CC" am_compiler_list=
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4188 $as_echo_n "checking dependency style of $depcc... " >&6; }
4189 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4190 $as_echo_n "(cached) " >&6
4192 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4193 # We make a subdir and do the tests there. Otherwise we can end up
4194 # making bogus files that we don't know about and never remove. For
4195 # instance it was reported that on HP-UX the gcc test will end up
4196 # making a dummy file named 'D' -- because '-MD' means "put the output
4200 # Copy depcomp to subdir because otherwise we won't find it if we're
4201 # using a relative directory.
4202 cp "$am_depcomp" conftest.dir
4204 # We will build objects and dependencies in a subdirectory because
4205 # it helps to detect inapplicable dependency modes. For instance
4206 # both Tru64's cc and ICC support -MD to output dependencies as a
4207 # side effect of compilation, but ICC will put the dependencies in
4208 # the current directory while Tru64 will put them in the object
4212 am_cv_CC_dependencies_compiler_type=none
4213 if test "$am_compiler_list" = ""; then
4214 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4217 case " $depcc " in #(
4218 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4221 for depmode in $am_compiler_list; do
4222 # Setup a source with many dependencies, because some compilers
4223 # like to wrap large dependency lists on column 80 (with \), and
4224 # we should not choose a depcomp mode which is confused by this.
4226 # We need to recreate these files for each test, as the compiler may
4227 # overwrite some of them when testing with obscure command lines.
4228 # This happens at least with the AIX C compiler.
4230 for i in 1 2 3 4 5 6; do
4231 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4232 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4233 # Solaris 10 /bin/sh.
4234 echo '/* dummy */' > sub/conftst$i.h
4236 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4238 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4239 # mode. It turns out that the SunPro C++ compiler does not properly
4240 # handle '-M -o', and we need to detect this. Also, some Intel
4241 # versions had trouble with output in subdirs.
4242 am__obj=sub/conftest.${OBJEXT-o}
4243 am__minus_obj="-o $am__obj"
4246 # This depmode causes a compiler race in universal mode.
4247 test "$am__universal" = false || continue
4250 # After this tag, mechanisms are not by side-effect, so they'll
4251 # only be used when explicitly requested.
4252 if test "x$enable_dependency_tracking" = xyes; then
4258 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4259 # This compiler won't grok '-c -o', but also, the minuso test has
4260 # not run yet. These depmodes are late enough in the game, and
4261 # so weak that their functioning should not be impacted.
4262 am__obj=conftest.${OBJEXT-o}
4267 if depmode=$depmode \
4268 source=sub/conftest.c object=$am__obj \
4269 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4270 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4271 >/dev/null 2>conftest.err &&
4272 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4273 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4274 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4275 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4276 # icc doesn't choke on unknown options, it will just issue warnings
4277 # or remarks (even with -Werror). So we grep stderr for any message
4278 # that says an option was ignored or not supported.
4279 # When given -MP, icc 7.0 and 7.1 complain thusly:
4280 # icc: Command line warning: ignoring option '-M'; no argument required
4281 # The diagnosis changed in icc 8.0:
4282 # icc: Command line remark: option '-MP' not supported
4283 if (grep 'ignoring option' conftest.err ||
4284 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4285 am_cv_CC_dependencies_compiler_type=$depmode
4294 am_cv_CC_dependencies_compiler_type=none
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4299 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4300 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4303 test "x$enable_dependency_tracking" != xno \
4304 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4306 am__fastdepCC_FALSE='#'
4308 am__fastdepCC_TRUE='#'
4309 am__fastdepCC_FALSE=
4315 ac_cpp='$CPP $CPPFLAGS'
4316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4320 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4321 # On Suns, sometimes $CPP names a directory.
4322 if test -n "$CPP" && test -d "$CPP"; then
4325 if test -z "$CPP"; then
4326 if ${ac_cv_prog_CPP+:} false; then :
4327 $as_echo_n "(cached) " >&6
4329 # Double quotes because CPP needs to be expanded
4330 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4333 for ac_c_preproc_warn_flag in '' yes
4335 # Use a header file that comes with gcc, so configuring glibc
4336 # with a fresh cross-compiler works.
4337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4338 # <limits.h> exists even on freestanding compilers.
4339 # On the NeXT, cc -E runs the code through the compiler's parser,
4340 # not just through cpp. "Syntax error" is here to catch this case.
4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4344 # include <limits.h>
4346 # include <assert.h>
4350 if ac_fn_c_try_cpp "$LINENO"; then :
4353 # Broken: fails on valid input.
4356 rm -f conftest.err conftest.i conftest.$ac_ext
4358 # OK, works on sane cases. Now check whether nonexistent headers
4359 # can be detected and how.
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4362 #include <ac_nonexistent.h>
4364 if ac_fn_c_try_cpp "$LINENO"; then :
4365 # Broken: success on invalid input.
4368 # Passes both tests.
4372 rm -f conftest.err conftest.i conftest.$ac_ext
4375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4376 rm -f conftest.i conftest.err conftest.
$ac_ext
4377 if $ac_preproc_ok; then :
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4390 $as_echo "$CPP" >&6; }
4392 for ac_c_preproc_warn_flag
in '' yes
4394 # Use a header file that comes with gcc, so configuring glibc
4395 # with a fresh cross-compiler works.
4396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4397 # <limits.h> exists even on freestanding compilers.
4398 # On the NeXT, cc -E runs the code through the compiler's parser,
4399 # not just through cpp. "Syntax error" is here to catch this case.
4400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4403 # include <limits.h>
4405 # include <assert.h>
4409 if ac_fn_c_try_cpp
"$LINENO"; then :
4412 # Broken: fails on valid input.
4415 rm -f conftest.err conftest.i conftest.
$ac_ext
4417 # OK, works on sane cases. Now check whether nonexistent headers
4418 # can be detected and how.
4419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4421 #include <ac_nonexistent.h>
4423 if ac_fn_c_try_cpp
"$LINENO"; then :
4424 # Broken: success on invalid input.
4427 # Passes both tests.
4431 rm -f conftest.err conftest.i conftest.
$ac_ext
4434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4435 rm -f conftest.i conftest.err conftest.
$ac_ext
4436 if $ac_preproc_ok; then :
4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4441 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4442 See \`config.log' for more details" "$LINENO" 5; }
4446 ac_cpp
='$CPP $CPPFLAGS'
4447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4453 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4454 if ${ac_cv_path_GREP+:} false
; then :
4455 $as_echo_n "(cached) " >&6
4457 if test -z "$GREP"; then
4458 ac_path_GREP_found
=false
4459 # Loop through the user's path and test for each of PROGNAME-LIST
4460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4461 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4464 test -z "$as_dir" && as_dir
=.
4465 for ac_prog
in grep ggrep
; do
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4468 as_fn_executable_p
"$ac_path_GREP" ||
continue
4469 # Check for GNU ac_path_GREP and select it if it is found.
4470 # Check for GNU $ac_path_GREP
4471 case `"$ac_path_GREP" --version 2>&1` in
4473 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4476 $as_echo_n 0123456789 >"conftest.in"
4479 cat "conftest.in" "conftest.in" >"conftest.tmp"
4480 mv "conftest.tmp" "conftest.in"
4481 cp "conftest.in" "conftest.nl"
4482 $as_echo 'GREP' >> "conftest.nl"
4483 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4484 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4485 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4486 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4487 # Best one so far, save it but keep looking for a better one
4488 ac_cv_path_GREP
="$ac_path_GREP"
4489 ac_path_GREP_max
=$ac_count
4491 # 10*(2^10) chars as input seems more than enough
4492 test $ac_count -gt 10 && break
4494 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4497 $ac_path_GREP_found && break 3
4502 if test -z "$ac_cv_path_GREP"; then
4503 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4506 ac_cv_path_GREP
=$GREP
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4511 $as_echo "$ac_cv_path_GREP" >&6; }
4512 GREP
="$ac_cv_path_GREP"
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4516 $as_echo_n "checking for egrep... " >&6; }
4517 if ${ac_cv_path_EGREP+:} false
; then :
4518 $as_echo_n "(cached) " >&6
4520 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4521 then ac_cv_path_EGREP
="$GREP -E"
4523 if test -z "$EGREP"; then
4524 ac_path_EGREP_found
=false
4525 # Loop through the user's path and test for each of PROGNAME-LIST
4526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4527 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4530 test -z "$as_dir" && as_dir
=.
4531 for ac_prog
in egrep; do
4532 for ac_exec_ext
in '' $ac_executable_extensions; do
4533 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4534 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4535 # Check for GNU ac_path_EGREP and select it if it is found.
4536 # Check for GNU $ac_path_EGREP
4537 case `"$ac_path_EGREP" --version 2>&1` in
4539 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4542 $as_echo_n 0123456789 >"conftest.in"
4545 cat "conftest.in" "conftest.in" >"conftest.tmp"
4546 mv "conftest.tmp" "conftest.in"
4547 cp "conftest.in" "conftest.nl"
4548 $as_echo 'EGREP' >> "conftest.nl"
4549 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4550 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4551 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4552 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4553 # Best one so far, save it but keep looking for a better one
4554 ac_cv_path_EGREP
="$ac_path_EGREP"
4555 ac_path_EGREP_max
=$ac_count
4557 # 10*(2^10) chars as input seems more than enough
4558 test $ac_count -gt 10 && break
4560 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4563 $ac_path_EGREP_found && break 3
4568 if test -z "$ac_cv_path_EGREP"; then
4569 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4572 ac_cv_path_EGREP
=$EGREP
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4578 $as_echo "$ac_cv_path_EGREP" >&6; }
4579 EGREP
="$ac_cv_path_EGREP"
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4583 $as_echo_n "checking for ANSI C header files... " >&6; }
4584 if ${ac_cv_header_stdc+:} false
; then :
4585 $as_echo_n "(cached) " >&6
4587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4602 if ac_fn_c_try_compile
"$LINENO"; then :
4603 ac_cv_header_stdc
=yes
4605 ac_cv_header_stdc
=no
4607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4609 if test $ac_cv_header_stdc = yes; then
4610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4617 $EGREP "memchr" >/dev
/null
2>&1; then :
4620 ac_cv_header_stdc
=no
4626 if test $ac_cv_header_stdc = yes; then
4627 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4634 $EGREP "free" >/dev
/null
2>&1; then :
4637 ac_cv_header_stdc
=no
4643 if test $ac_cv_header_stdc = yes; then
4644 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4645 if test "$cross_compiling" = yes; then :
4648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4652 #if ((' ' & 0x0FF) == 0x020)
4653 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4654 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4656 # define ISLOWER(c) \
4657 (('a' <= (c) && (c) <= 'i') \
4658 || ('j' <= (c) && (c) <= 'r') \
4659 || ('s' <= (c) && (c) <= 'z'))
4660 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4663 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4668 for (i = 0; i < 256; i++)
4669 if (XOR (islower (i), ISLOWER (i))
4670 || toupper (i) != TOUPPER (i))
4675 if ac_fn_c_try_run
"$LINENO"; then :
4678 ac_cv_header_stdc
=no
4680 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4681 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4687 $as_echo "$ac_cv_header_stdc" >&6; }
4688 if test $ac_cv_header_stdc = yes; then
4690 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4694 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4695 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4696 inttypes.h stdint.h unistd.h
4698 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4699 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4701 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4702 cat >>confdefs.h
<<_ACEOF
4703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4712 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4713 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4720 if test "$MINIX" = yes; then
4722 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4725 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4728 $as_echo "#define _MINIX 1" >>confdefs.h
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4734 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4735 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4736 $as_echo_n "(cached) " >&6
4738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4741 # define __EXTENSIONS__ 1
4742 $ac_includes_default
4751 if ac_fn_c_try_compile
"$LINENO"; then :
4752 ac_cv_safe_to_define___extensions__
=yes
4754 ac_cv_safe_to_define___extensions__
=no
4756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4759 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4760 test $ac_cv_safe_to_define___extensions__ = yes &&
4761 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4763 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4765 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4767 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4769 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4775 if test -n "$ac_tool_prefix"; then
4776 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4777 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779 $as_echo_n "checking for $ac_word... " >&6; }
4780 if ${ac_cv_prog_AR+:} false
; then :
4781 $as_echo_n "(cached) " >&6
4783 if test -n "$AR"; then
4784 ac_cv_prog_AR
="$AR" # Let the user override the test.
4786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4790 test -z "$as_dir" && as_dir
=.
4791 for ac_exec_ext
in '' $ac_executable_extensions; do
4792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4793 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4804 if test -n "$AR"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4806 $as_echo "$AR" >&6; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4814 if test -z "$ac_cv_prog_AR"; then
4816 # Extract the first word of "ar", so it can be a program name with args.
4817 set dummy
ar; ac_word
=$2
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 $as_echo_n "checking for $ac_word... " >&6; }
4820 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4821 $as_echo_n "(cached) " >&6
4823 if test -n "$ac_ct_AR"; then
4824 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4830 test -z "$as_dir" && as_dir
=.
4831 for ac_exec_ext
in '' $ac_executable_extensions; do
4832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4833 ac_cv_prog_ac_ct_AR
="ar"
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4844 if test -n "$ac_ct_AR"; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4846 $as_echo "$ac_ct_AR" >&6; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 $as_echo "no" >&6; }
4852 if test "x$ac_ct_AR" = x
; then
4855 case $cross_compiling:$ac_tool_warned in
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4859 ac_tool_warned
=yes ;;
4867 if test -n "$ac_tool_prefix"; then
4868 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4869 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if ${ac_cv_prog_RANLIB+:} false
; then :
4873 $as_echo_n "(cached) " >&6
4875 if test -n "$RANLIB"; then
4876 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir
=.
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 RANLIB
=$ac_cv_prog_RANLIB
4896 if test -n "$RANLIB"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4898 $as_echo "$RANLIB" >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4906 if test -z "$ac_cv_prog_RANLIB"; then
4907 ac_ct_RANLIB
=$RANLIB
4908 # Extract the first word of "ranlib", so it can be a program name with args.
4909 set dummy ranlib
; ac_word
=$2
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911 $as_echo_n "checking for $ac_word... " >&6; }
4912 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4913 $as_echo_n "(cached) " >&6
4915 if test -n "$ac_ct_RANLIB"; then
4916 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4922 test -z "$as_dir" && as_dir
=.
4923 for ac_exec_ext
in '' $ac_executable_extensions; do
4924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4925 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4935 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4936 if test -n "$ac_ct_RANLIB"; then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4938 $as_echo "$ac_ct_RANLIB" >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4944 if test "x$ac_ct_RANLIB" = x
; then
4947 case $cross_compiling:$ac_tool_warned in
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4951 ac_tool_warned
=yes ;;
4953 RANLIB
=$ac_ct_RANLIB
4956 RANLIB
="$ac_cv_prog_RANLIB"
4960 # Check whether --enable-shared was given.
4961 if test "${enable_shared+set}" = set; then :
4962 enableval
=$enable_shared; p
=${PACKAGE-default}
4964 yes) enable_shared
=yes ;;
4965 no
) enable_shared
=no
;;
4968 # Look at the argument we got. We use all the common list separators.
4969 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4970 for pkg
in $enableval; do
4972 if test "X$pkg" = "X$p"; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4995 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5000 macro_version
='2.2.7a'
5001 macro_revision
='1.3134'
5015 ltmain
="$ac_aux_dir/ltmain.sh"
5017 # Backslashify metacharacters that are still active within
5018 # double-quoted strings.
5019 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5021 # Same as above, but do not quote variable references.
5022 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5024 # Sed substitution to delay expansion of an escaped shell variable in a
5025 # double_quote_subst'ed string.
5026 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5028 # Sed substitution to delay expansion of an escaped single quote.
5029 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5031 # Sed substitution to avoid accidental globbing in evaled expressions
5032 no_glob_subst
='s/\*/\\\*/g'
5034 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5035 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5036 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5039 $as_echo_n "checking how to print strings... " >&6; }
5040 # Test print first, because it will be a builtin if present.
5041 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5042 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5044 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5047 # Use this function as a fallback that always works.
5048 func_fallback_echo ()
5050 eval 'cat <<_LTECHO_EOF
5054 ECHO='func_fallback_echo
'
5057 # func_echo_all arg...
5058 # Invoke $ECHO with all args, space-separated.
5065 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5066 $as_echo "printf" >&6; } ;;
5067 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5068 $as_echo "print -r" >&6; } ;;
5069 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5070 $as_echo "cat" >&6; } ;;
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5087 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5088 if ${ac_cv_path_SED+:} false; then :
5089 $as_echo_n "(cached) " >&6
5091 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5092 for ac_i in 1 2 3 4 5 6 7; do
5093 ac_script="$ac_script$as_nl$ac_script"
5095 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5096 { ac_script=; unset ac_script;}
5097 if test -z "$SED"; then
5098 ac_path_SED_found=false
5099 # Loop through the user's path and
test for each of PROGNAME-LIST
5100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5104 test -z "$as_dir" && as_dir
=.
5105 for ac_prog
in sed gsed
; do
5106 for ac_exec_ext
in '' $ac_executable_extensions; do
5107 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5108 as_fn_executable_p
"$ac_path_SED" ||
continue
5109 # Check for GNU ac_path_SED and select it if it is found.
5110 # Check for GNU $ac_path_SED
5111 case `"$ac_path_SED" --version 2>&1` in
5113 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5116 $as_echo_n 0123456789 >"conftest.in"
5119 cat "conftest.in" "conftest.in" >"conftest.tmp"
5120 mv "conftest.tmp" "conftest.in"
5121 cp "conftest.in" "conftest.nl"
5122 $as_echo '' >> "conftest.nl"
5123 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5124 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5125 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5126 if test $ac_count -gt ${ac_path_SED_max-0}; then
5127 # Best one so far, save it but keep looking for a better one
5128 ac_cv_path_SED
="$ac_path_SED"
5129 ac_path_SED_max
=$ac_count
5131 # 10*(2^10) chars as input seems more than enough
5132 test $ac_count -gt 10 && break
5134 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5137 $ac_path_SED_found && break 3
5142 if test -z "$ac_cv_path_SED"; then
5143 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5151 $as_echo "$ac_cv_path_SED" >&6; }
5152 SED
="$ac_cv_path_SED"
5155 test -z "$SED" && SED
=sed
5156 Xsed
="$SED -e 1s/^X//"
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5169 $as_echo_n "checking for fgrep... " >&6; }
5170 if ${ac_cv_path_FGREP+:} false
; then :
5171 $as_echo_n "(cached) " >&6
5173 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5174 then ac_cv_path_FGREP
="$GREP -F"
5176 if test -z "$FGREP"; then
5177 ac_path_FGREP_found
=false
5178 # Loop through the user's path and test for each of PROGNAME-LIST
5179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5180 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5183 test -z "$as_dir" && as_dir
=.
5184 for ac_prog
in fgrep
; do
5185 for ac_exec_ext
in '' $ac_executable_extensions; do
5186 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5187 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5188 # Check for GNU ac_path_FGREP and select it if it is found.
5189 # Check for GNU $ac_path_FGREP
5190 case `"$ac_path_FGREP" --version 2>&1` in
5192 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5195 $as_echo_n 0123456789 >"conftest.in"
5198 cat "conftest.in" "conftest.in" >"conftest.tmp"
5199 mv "conftest.tmp" "conftest.in"
5200 cp "conftest.in" "conftest.nl"
5201 $as_echo 'FGREP' >> "conftest.nl"
5202 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5203 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5204 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5205 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5206 # Best one so far, save it but keep looking for a better one
5207 ac_cv_path_FGREP
="$ac_path_FGREP"
5208 ac_path_FGREP_max
=$ac_count
5210 # 10*(2^10) chars as input seems more than enough
5211 test $ac_count -gt 10 && break
5213 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5216 $ac_path_FGREP_found && break 3
5221 if test -z "$ac_cv_path_FGREP"; then
5222 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5225 ac_cv_path_FGREP
=$FGREP
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5231 $as_echo "$ac_cv_path_FGREP" >&6; }
5232 FGREP
="$ac_cv_path_FGREP"
5235 test -z "$GREP" && GREP
=grep
5255 # Check whether --with-gnu-ld was given.
5256 if test "${with_gnu_ld+set}" = set; then :
5257 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5263 if test "$GCC" = yes; then
5264 # Check if gcc -print-prog-name=ld gives a path.
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5266 $as_echo_n "checking for ld used by $CC... " >&6; }
5269 # gcc leaves a trailing carriage return which upsets mingw
5270 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5272 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5275 # Accept absolute paths.
5277 re_direlt
='/[^/][^/]*/\.\./'
5278 # Canonicalize the pathname of ld
5279 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5280 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5281 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5283 test -z "$LD" && LD
="$ac_prog"
5286 # If it fails, then pretend we aren't using GCC.
5290 # If it is relative, then search for the first ld in PATH.
5294 elif test "$with_gnu_ld" = yes; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5296 $as_echo_n "checking for GNU ld... " >&6; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5299 $as_echo_n "checking for non-GNU ld... " >&6; }
5301 if ${lt_cv_path_LD+:} false
; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -z "$LD"; then
5305 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5306 for ac_dir
in $PATH; do
5308 test -z "$ac_dir" && ac_dir
=.
5309 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5310 lt_cv_path_LD
="$ac_dir/$ac_prog"
5311 # Check to see if the program is GNU ld. I'd rather use --version,
5312 # but apparently some variants of GNU ld only accept -v.
5313 # Break only if it was the GNU/non-GNU ld that we prefer.
5314 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5315 *GNU
* |
*'with BFD'*)
5316 test "$with_gnu_ld" != no
&& break
5319 test "$with_gnu_ld" != yes && break
5326 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5331 if test -n "$LD"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5333 $as_echo "$LD" >&6; }
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5338 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5340 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5341 if ${lt_cv_prog_gnu_ld+:} false
; then :
5342 $as_echo_n "(cached) " >&6
5344 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5345 case `$LD -v 2>&1 </dev/null` in
5346 *GNU
* |
*'with BFD'*)
5347 lt_cv_prog_gnu_ld
=yes
5350 lt_cv_prog_gnu_ld
=no
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5355 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5356 with_gnu_ld
=$lt_cv_prog_gnu_ld
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5367 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5368 if ${lt_cv_path_NM+:} false
; then :
5369 $as_echo_n "(cached) " >&6
5371 if test -n "$NM"; then
5372 # Let the user override the nm to test.
5373 lt_nm_to_check
="$NM"
5375 lt_nm_to_check
="${ac_tool_prefix}nm"
5376 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5377 lt_nm_to_check
="$lt_nm_to_check nm"
5380 for lt_tmp_nm
in "$lt_nm_to_check"; do
5381 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5382 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5384 test -z "$ac_dir" && ac_dir
=.
5385 # Strip out any user-provided options from the nm to test twice,
5386 # the first time to test to see if nm (rather than its options) has
5387 # an explicit path, the second time to yield a file which can be
5389 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5390 case "$tmp_nm_path" in
5391 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5392 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5394 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5395 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5396 # Check to see if the nm accepts a BSD-compat flag.
5397 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5398 # nm: unknown option "B" ignored
5399 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5400 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5404 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5406 lt_cv_path_NM
="$tmp_nm -p"
5410 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5411 continue # so that we can try to find one that supports BSD flags
5420 : ${lt_cv_path_NM=no}
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5423 $as_echo "$lt_cv_path_NM" >&6; }
5424 if test "$lt_cv_path_NM" != "no"; then
5427 # Didn't find any BSD compatible name lister, look for dumpbin.
5428 if test -n "$DUMPBIN"; then :
5429 # Let the user override the test.
5431 if test -n "$ac_tool_prefix"; then
5432 for ac_prog
in dumpbin
"link -dump"
5434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5435 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$DUMPBIN"; then
5442 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 DUMPBIN
=$ac_cv_prog_DUMPBIN
5462 if test -n "$DUMPBIN"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5464 $as_echo "$DUMPBIN" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5471 test -n "$DUMPBIN" && break
5474 if test -z "$DUMPBIN"; then
5475 ac_ct_DUMPBIN
=$DUMPBIN
5476 for ac_prog
in dumpbin
"link -dump"
5478 # Extract the first word of "$ac_prog", so it can be a program name with args.
5479 set dummy
$ac_prog; ac_word
=$2
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481 $as_echo_n "checking for $ac_word... " >&6; }
5482 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5483 $as_echo_n "(cached) " >&6
5485 if test -n "$ac_ct_DUMPBIN"; then
5486 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5492 test -z "$as_dir" && as_dir
=.
5493 for ac_exec_ext
in '' $ac_executable_extensions; do
5494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5495 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5506 if test -n "$ac_ct_DUMPBIN"; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5508 $as_echo "$ac_ct_DUMPBIN" >&6; }
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5511 $as_echo "no" >&6; }
5515 test -n "$ac_ct_DUMPBIN" && break
5518 if test "x$ac_ct_DUMPBIN" = x
; then
5521 case $cross_compiling:$ac_tool_warned in
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5525 ac_tool_warned
=yes ;;
5527 DUMPBIN
=$ac_ct_DUMPBIN
5531 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5533 DUMPBIN
="$DUMPBIN -symbols"
5541 if test "$DUMPBIN" != ":"; then
5545 test -z "$NM" && NM
=nm
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5553 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5554 if ${lt_cv_nm_interface+:} false
; then :
5555 $as_echo_n "(cached) " >&6
5557 lt_cv_nm_interface
="BSD nm"
5558 echo "int some_variable = 0;" > conftest.
$ac_ext
5559 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5560 (eval "$ac_compile" 2>conftest.err
)
5561 cat conftest.err
>&5
5562 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5563 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5564 cat conftest.err
>&5
5565 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5566 cat conftest.out
>&5
5567 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5568 lt_cv_nm_interface
="MS dumpbin"
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5573 $as_echo "$lt_cv_nm_interface" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5576 $as_echo_n "checking whether ln -s works... " >&6; }
5578 if test "$LN_S" = "ln -s"; then
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5580 $as_echo "yes" >&6; }
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5583 $as_echo "no, using $LN_S" >&6; }
5586 # find the maximum length of command line arguments
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5588 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5589 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5590 $as_echo_n "(cached) " >&6
5597 # On DJGPP, this test can blow up pretty badly due to problems in libc
5598 # (any single argument exceeding 2000 bytes causes a buffer overrun
5599 # during glob expansion). Even if it were fixed, the result of this
5600 # check would be larger than it should be.
5601 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5605 # Under GNU Hurd, this test is not required because there is
5606 # no limit to the length of command line arguments.
5607 # Libtool will interpret -1 as no limit whatsoever
5608 lt_cv_sys_max_cmd_len
=-1;
5611 cygwin
* | mingw
* | cegcc
*)
5612 # On Win9x/ME, this test blows up -- it succeeds, but takes
5613 # about 5 minutes as the teststring grows exponentially.
5614 # Worse, since 9x/ME are not pre-emptively multitasking,
5615 # you end up with a "frozen" computer, even though with patience
5616 # the test eventually succeeds (with a max line length of 256k).
5617 # Instead, let's just punt: use the minimum linelength reported by
5618 # all of the supported platforms: 8192 (on NT/2K/XP).
5619 lt_cv_sys_max_cmd_len
=8192;
5623 # On MiNT this can take a long time and run out of memory.
5624 lt_cv_sys_max_cmd_len
=8192;
5628 # On AmigaOS with pdksh, this test takes hours, literally.
5629 # So we just punt and use a minimum line length of 8192.
5630 lt_cv_sys_max_cmd_len
=8192;
5633 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5634 # This has been around since 386BSD, at least. Likely further.
5635 if test -x /sbin
/sysctl
; then
5636 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5637 elif test -x /usr
/sbin
/sysctl
; then
5638 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5640 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5642 # And add a safety zone
5643 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5644 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5648 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5649 lt_cv_sys_max_cmd_len
=196608
5653 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5654 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5655 # nice to cause kernel panics so lets avoid the loop below.
5656 # First set a reasonable default.
5657 lt_cv_sys_max_cmd_len
=16384
5659 if test -x /sbin
/sysconfig
; then
5660 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5661 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5666 lt_cv_sys_max_cmd_len
=102400
5668 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5669 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5670 if test -n "$kargmax"; then
5671 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5673 lt_cv_sys_max_cmd_len
=32768
5677 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5678 if test -n "$lt_cv_sys_max_cmd_len"; then
5679 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5680 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5682 # Make teststring a little bigger before we do anything with it.
5683 # a 1K string should be a reasonable start.
5684 for i
in 1 2 3 4 5 6 7 8 ; do
5685 teststring
=$teststring$teststring
5687 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5688 # If test is not a shell built-in, we'll probably end up computing a
5689 # maximum length that is only half of the actual maximum length, but
5691 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5692 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5693 test $i != 17 # 1/2 MB should be enough
5696 teststring
=$teststring$teststring
5698 # Only check the string length outside the loop.
5699 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5701 # Add a significant safety factor because C++ compilers can tack on
5702 # massive amounts of additional arguments before passing them to the
5703 # linker. It appears as though 1/2 is a usable value.
5704 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5711 if test -n $lt_cv_sys_max_cmd_len ; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5713 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5716 $as_echo "none" >&6; }
5718 max_cmd_len
=$lt_cv_sys_max_cmd_len
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5730 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5731 # Try some XSI features
5734 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5736 && eval 'test $(( 1 + 1 )) -eq 2 \
5737 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5740 $as_echo "$xsi_shell" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5744 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5746 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5748 && lt_shell_append=yes
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5750 $as_echo "$lt_shell_append" >&6; }
5753 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5763 # test EBCDIC or ASCII
5764 case `echo X|tr X '\101'` in
5765 A) # ASCII based system
5766 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5767 lt_SP2NL='tr \040 \012'
5768 lt_NL2SP='tr \015\012 \040\040'
5770 *) # EBCDIC based system
5771 lt_SP2NL='tr \100 \n'
5772 lt_NL2SP='tr \r\n \100\100'
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5785 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5786 if ${lt_cv_ld_reload_flag+:} false; then :
5787 $as_echo_n "(cached
) " >&6
5789 lt_cv_ld_reload_flag='-r'
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5792 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5793 reload_flag=$lt_cv_ld_reload_flag
5794 case $reload_flag in
5796 *) reload_flag=" $reload_flag" ;;
5798 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5801 if test "$GCC" = yes; then
5802 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5804 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5817 if test -n "$ac_tool_prefix"; then
5818 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5819 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5821 $as_echo_n "checking
for $ac_word...
" >&6; }
5822 if ${ac_cv_prog_OBJDUMP+:} false; then :
5823 $as_echo_n "(cached
) " >&6
5825 if test -n "$OBJDUMP"; then
5826 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5845 OBJDUMP=$ac_cv_prog_OBJDUMP
5846 if test -n "$OBJDUMP"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5848 $as_echo "$OBJDUMP" >&6; }
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5851 $as_echo "no
" >&6; }
5856 if test -z "$ac_cv_prog_OBJDUMP"; then
5857 ac_ct_OBJDUMP=$OBJDUMP
5858 # Extract the first word of "objdump
", so it can be a program name with args.
5859 set dummy objdump; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5861 $as_echo_n "checking
for $ac_word...
" >&6; }
5862 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5863 $as_echo_n "(cached
) " >&6
5865 if test -n "$ac_ct_OBJDUMP"; then
5866 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5885 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5886 if test -n "$ac_ct_OBJDUMP"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5888 $as_echo "$ac_ct_OBJDUMP" >&6; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5891 $as_echo "no
" >&6; }
5894 if test "x
$ac_ct_OBJDUMP" = x; then
5897 case $cross_compiling:$ac_tool_warned in
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5900 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5901 ac_tool_warned=yes ;;
5903 OBJDUMP=$ac_ct_OBJDUMP
5906 OBJDUMP="$ac_cv_prog_OBJDUMP"
5909 test -z "$OBJDUMP" && OBJDUMP=objdump
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5920 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5921 if ${lt_cv_deplibs_check_method+:} false; then :
5922 $as_echo_n "(cached
) " >&6
5924 lt_cv_file_magic_cmd='$MAGIC_CMD'
5925 lt_cv_file_magic_test_file=
5926 lt_cv_deplibs_check_method='unknown'
5927 # Need to set the preceding variable on all platforms that support
5928 # interlibrary dependencies.
5929 # 'none' -- dependencies not supported.
5930 # `unknown' -- same as none, but documents that we really don't know.
5931 # 'pass_all' -- all dependencies passed with no checks.
5932 # 'test_compile' -- check by making test program.
5933 # 'file_magic [[regex]]' -- check by looking for files in library path
5934 # which responds to the $file_magic_cmd with a given extended regex.
5935 # If you have `file' or equivalent on your system and you're not sure
5936 # whether `pass_all' will *always* work, you probably want this one.
5940 lt_cv_deplibs_check_method=pass_all
5944 lt_cv_deplibs_check_method=pass_all
5948 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5949 lt_cv_file_magic_cmd='/usr/bin/file -L'
5950 lt_cv_file_magic_test_file=/shlib/libc.so
5954 # func_win32_libid is a shell function defined in ltmain.sh
5955 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5956 lt_cv_file_magic_cmd='func_win32_libid'
5960 # Base MSYS/MinGW do not provide the 'file' command needed by
5961 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5962 # unless we find 'file', for example because we are cross-compiling.
5963 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5964 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5965 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5966 lt_cv_file_magic_cmd='func_win32_libid'
5968 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5969 lt_cv_file_magic_cmd='$OBJDUMP -f'
5974 # use the weaker test based on 'objdump'. See mingw*.
5975 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5976 lt_cv_file_magic_cmd='$OBJDUMP -f'
5979 darwin* | rhapsody*)
5980 lt_cv_deplibs_check_method=pass_all
5983 freebsd* | dragonfly*)
5984 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5987 # Not sure whether the presence of OpenBSD here was a mistake.
5988 # Let's accept both of them until this is cleared up.
5989 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5990 lt_cv_file_magic_cmd=/usr/bin/file
5991 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5995 lt_cv_deplibs_check_method=pass_all
6000 lt_cv_deplibs_check_method=pass_all
6004 lt_cv_deplibs_check_method=pass_all
6007 hpux10.20* | hpux11*)
6008 lt_cv_file_magic_cmd=/usr/bin/file
6011 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6012 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6015 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]'
6016 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6019 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6020 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6026 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6027 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6030 irix5* | irix6* | nonstopux*)
6032 *-32|*"-32 ") libmagic=32-bit;;
6033 *-n32|*"-n32 ") libmagic=N32;;
6034 *-64|*"-64 ") libmagic=64-bit;;
6035 *) libmagic=never-match;;
6037 lt_cv_deplibs_check_method=pass_all
6040 # This must be Linux ELF.
6041 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6042 lt_cv_deplibs_check_method=pass_all
6046 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6047 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6049 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6054 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6055 lt_cv_file_magic_cmd=/usr/bin/file
6056 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6060 lt_cv_deplibs_check_method=pass_all
6064 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6065 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6067 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6071 osf3* | osf4* | osf5*)
6072 lt_cv_deplibs_check_method=pass_all
6076 lt_cv_deplibs_check_method=pass_all
6080 lt_cv_deplibs_check_method=pass_all
6083 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6084 lt_cv_deplibs_check_method=pass_all
6088 case $host_vendor in
6090 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]'
6091 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6094 lt_cv_deplibs_check_method=pass_all
6097 lt_cv_file_magic_cmd='/bin/file'
6098 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6101 lt_cv_file_magic_cmd='/bin/file'
6102 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6103 lt_cv_file_magic_test_file=/lib/libc.so
6106 lt_cv_deplibs_check_method=pass_all
6109 lt_cv_deplibs_check_method=pass_all
6115 lt_cv_deplibs_check_method=pass_all
6118 # Assume VxWorks cross toolchains are built on Linux, possibly
6119 # as canadian for Windows hosts.
6120 lt_cv_deplibs_check_method=pass_all
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6126 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6127 file_magic_cmd=$lt_cv_file_magic_cmd
6128 deplibs_check_method=$lt_cv_deplibs_check_method
6129 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6143 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6144 for plugin in $plugin_names; do
6145 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6146 if test x$plugin_so = x$plugin; then
6147 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6149 if test x$plugin_so != x$plugin; then
6150 plugin_option="--plugin $plugin_so"
6155 if test -n "$ac_tool_prefix"; then
6156 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6157 set dummy ${ac_tool_prefix}ar; ac_word=$2
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6159 $as_echo_n "checking
for $ac_word...
" >&6; }
6160 if ${ac_cv_prog_AR+:} false; then :
6161 $as_echo_n "(cached
) " >&6
6163 if test -n "$AR"; then
6164 ac_cv_prog_AR="$AR" # Let the user override the test.
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 test -z "$as_dir" && as_dir=.
6171 for ac_exec_ext in '' $ac_executable_extensions; do
6172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6173 ac_cv_prog_AR="${ac_tool_prefix}ar"
6174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6184 if test -n "$AR"; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6186 $as_echo "$AR" >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6189 $as_echo "no
" >&6; }
6194 if test -z "$ac_cv_prog_AR"; then
6196 # Extract the first word of "ar", so it can be a program name with args.
6197 set dummy ar; ac_word=$2
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6199 $as_echo_n "checking
for $ac_word...
" >&6; }
6200 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6201 $as_echo_n "(cached
) " >&6
6203 if test -n "$ac_ct_AR"; then
6204 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 ac_cv_prog_ac_ct_AR="ar"
6214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6223 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6224 if test -n "$ac_ct_AR"; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6226 $as_echo "$ac_ct_AR" >&6; }
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6229 $as_echo "no
" >&6; }
6232 if test "x
$ac_ct_AR" = x; then
6235 case $cross_compiling:$ac_tool_warned in
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6238 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6239 ac_tool_warned=yes ;;
6247 test -z "$AR" && AR=ar
6248 if test -n "$plugin_option"; then
6249 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6251 $AR $plugin_option rc conftest.a conftest.c
6252 if test "$?
" != 0; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6254 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6256 AR="$AR $plugin_option"
6261 test -z "$AR_FLAGS" && AR_FLAGS=cru
6273 if test -n "$ac_tool_prefix"; then
6274 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6275 set dummy ${ac_tool_prefix}strip; ac_word=$2
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6277 $as_echo_n "checking
for $ac_word...
" >&6; }
6278 if ${ac_cv_prog_STRIP+:} false; then :
6279 $as_echo_n "(cached
) " >&6
6281 if test -n "$STRIP"; then
6282 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6301 STRIP=$ac_cv_prog_STRIP
6302 if test -n "$STRIP"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6304 $as_echo "$STRIP" >&6; }
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6307 $as_echo "no
" >&6; }
6312 if test -z "$ac_cv_prog_STRIP"; then
6314 # Extract the first word of "strip
", so it can be a program name with args.
6315 set dummy strip; ac_word=$2
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6317 $as_echo_n "checking
for $ac_word...
" >&6; }
6318 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6319 $as_echo_n "(cached
) " >&6
6321 if test -n "$ac_ct_STRIP"; then
6322 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6331 ac_cv_prog_ac_ct_STRIP="strip
"
6332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6341 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6342 if test -n "$ac_ct_STRIP"; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6344 $as_echo "$ac_ct_STRIP" >&6; }
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6347 $as_echo "no
" >&6; }
6350 if test "x
$ac_ct_STRIP" = x; then
6353 case $cross_compiling:$ac_tool_warned in
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6356 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6357 ac_tool_warned=yes ;;
6362 STRIP="$ac_cv_prog_STRIP"
6365 test -z "$STRIP" && STRIP=:
6372 if test -n "$ac_tool_prefix"; then
6373 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6374 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6376 $as_echo_n "checking
for $ac_word...
" >&6; }
6377 if ${ac_cv_prog_RANLIB+:} false; then :
6378 $as_echo_n "(cached
) " >&6
6380 if test -n "$RANLIB"; then
6381 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6390 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6391 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6400 RANLIB=$ac_cv_prog_RANLIB
6401 if test -n "$RANLIB"; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6403 $as_echo "$RANLIB" >&6; }
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6406 $as_echo "no
" >&6; }
6411 if test -z "$ac_cv_prog_RANLIB"; then
6412 ac_ct_RANLIB=$RANLIB
6413 # Extract the first word of "ranlib
", so it can be a program name with args.
6414 set dummy ranlib; ac_word=$2
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6416 $as_echo_n "checking
for $ac_word...
" >&6; }
6417 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6418 $as_echo_n "(cached
) " >&6
6420 if test -n "$ac_ct_RANLIB"; then
6421 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 test -z "$as_dir" && as_dir=.
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6430 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6440 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6441 if test -n "$ac_ct_RANLIB"; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6443 $as_echo "$ac_ct_RANLIB" >&6; }
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6446 $as_echo "no
" >&6; }
6449 if test "x
$ac_ct_RANLIB" = x; then
6452 case $cross_compiling:$ac_tool_warned in
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6455 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6456 ac_tool_warned=yes ;;
6458 RANLIB=$ac_ct_RANLIB
6461 RANLIB="$ac_cv_prog_RANLIB"
6464 test -z "$RANLIB" && RANLIB=:
6465 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6466 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6467 RANLIB="$RANLIB $plugin_option"
6476 # Determine commands to create old-style static archives.
6477 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6478 old_postinstall_cmds='chmod 644 $oldlib'
6479 old_postuninstall_cmds=
6481 if test -n "$RANLIB"; then
6484 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6487 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6490 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6495 lock_old_archive_extraction=yes ;;
6497 lock_old_archive_extraction=no ;;
6538 # If no C compiler was specified, use CC.
6541 # If no C compiler flags were specified, use CFLAGS.
6542 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6544 # Allow CC to be a program name with arguments.
6548 # Check for command to grab the raw symbol name followed by C symbol from nm.
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6550 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6551 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6552 $as_echo_n "(cached
) " >&6
6555 # These are sane defaults that work on at least a few old systems.
6556 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6558 # Character class describing NM global symbol codes.
6559 symcode='[BCDEGRST]'
6561 # Regexp to match symbols that can be accessed directly from C.
6562 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6564 # Define system-specific variables.
6569 cygwin* | mingw* | pw32* | cegcc*)
6570 symcode='[ABCDGISTW]'
6573 if test "$host_cpu" = ia64; then
6574 symcode='[ABCDEGRST]'
6578 symcode='[BCDEGRST]'
6581 symcode='[BCDEGQRST]'
6592 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6600 # If we're using GNU nm, then use its standard symbol codes.
6601 case `$NM -V 2>&1` in
6602 *GNU* | *'with BFD'*)
6603 symcode='[ABCDGIRSTW]' ;;
6606 # Transform an extracted symbol line into a proper C declaration.
6607 # Some systems (esp. on ia64) link data and code symbols differently,
6608 # so use this general approach.
6609 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6611 # Transform an extracted symbol line into symbol name and symbol address
6612 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6613 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'"
6615 # Handle CRLF in mingw tool chain
6619 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6623 # Try without a prefix underscore, then with it.
6624 for ac_symprfx in "" "_
"; do
6626 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6627 symxfrm="\\1 $ac_symprfx\\2 \\2"
6629 # Write the raw and C identifiers.
6630 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6631 # Fake it for dumpbin and say T for any non-static function
6632 # and D for any global variable.
6633 # Also find C++ and __fastcall symbols from MSVC++,
6634 # which start with @ or ?.
6635 lt_cv_sys_global_symbol_pipe="$AWK '"\
6636 " {last_section=section; section=\$ 3};"\
6637 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6638 " \$ 0!~/External *\|/{next};"\
6639 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6640 " {if(hide[section]) next};"\
6641 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6642 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6643 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6644 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6645 " ' prfx
=^
$ac_symprfx"
6647 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6650 # Check to see that the pipe works correctly.
6654 cat > conftest.$ac_ext <<_LT_EOF
6659 void nm_test_func(void);
6660 void nm_test_func(void){}
6664 int main(){nm_test_var='a';nm_test_func();return(0);}
6667 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6668 (eval $ac_compile) 2>&5
6670 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6671 test $ac_status = 0; }; then
6672 # Now try to grab the symbols.
6674 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6675 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6677 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6678 test $ac_status = 0; } && test -s "$nlist"; then
6679 # Try sorting and uniquifying the output.
6680 if sort "$nlist" | uniq > "$nlist"T; then
6681 mv -f "$nlist"T "$nlist"
6686 # Make sure that we snagged all the symbols we need.
6687 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6688 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6689 cat <<_LT_EOF > conftest.$ac_ext
6695 # Now generate the symbol file.
6696 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6698 cat <<_LT_EOF >> conftest.$ac_ext
6700 /* The mapping between symbol names and symbols. */
6705 lt__PROGRAM__LTX_preloaded_symbols[] =
6707 { "@PROGRAM@
", (void *) 0 },
6709 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6710 cat <<\_LT_EOF >> conftest.$ac_ext
6714 /* This works around a problem in FreeBSD linker */
6715 #ifdef FREEBSD_WORKAROUND
6716 static const void *lt_preloaded_setup() {
6717 return lt__PROGRAM__LTX_preloaded_symbols;
6725 # Now try linking the two files.
6726 mv conftest.$ac_objext conftstm.$ac_objext
6727 lt_save_LIBS="$LIBS"
6728 lt_save_CFLAGS="$CFLAGS"
6729 LIBS="conftstm.
$ac_objext"
6730 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6731 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6732 (eval $ac_link) 2>&5
6734 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6735 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6738 LIBS="$lt_save_LIBS"
6739 CFLAGS="$lt_save_CFLAGS"
6741 echo "cannot
find nm_test_func
in $nlist" >&5
6744 echo "cannot
find nm_test_var
in $nlist" >&5
6747 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6750 echo "$progname: failed program was
:" >&5
6751 cat conftest.$ac_ext >&5
6753 rm -rf conftest* conftst*
6755 # Do not use the global_symbol_pipe unless it works.
6756 if test "$pipe_works" = yes; then
6759 lt_cv_sys_global_symbol_pipe=
6765 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6766 lt_cv_sys_global_symbol_to_cdecl=
6768 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6770 $as_echo "failed
" >&6; }
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6773 $as_echo "ok
" >&6; }
6797 # Check whether --enable-libtool-lock was given.
6798 if test "${enable_libtool_lock+set}" = set; then :
6799 enableval=$enable_libtool_lock;
6802 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6804 # Some flags need to be propagated to the compiler or linker for good
6808 # Find out which ABI we are using.
6809 echo 'int i;' > conftest.$ac_ext
6810 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6811 (eval $ac_compile) 2>&5
6813 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6814 test $ac_status = 0; }; then
6815 case `/usr/bin/file conftest.$ac_objext` in
6827 # Find out which ABI we are using.
6828 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6829 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6830 (eval $ac_compile) 2>&5
6832 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6833 test $ac_status = 0; }; then
6834 if test "$lt_cv_prog_gnu_ld" = yes; then
6835 case `/usr/bin/file conftest.$ac_objext` in
6837 LD="${LD-ld} -melf32bsmip"
6840 LD="${LD-ld} -melf32bmipn32"
6843 LD="${LD-ld} -melf64bmip"
6847 case `/usr/bin/file conftest.$ac_objext` in
6863 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6864 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6865 # Find out which ABI we are using.
6866 echo 'int i;' > conftest.$ac_ext
6867 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6868 (eval $ac_compile) 2>&5
6870 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6871 test $ac_status = 0; }; then
6872 case `/usr/bin/file conftest.o` in
6875 x86_64-*kfreebsd*-gnu)
6876 LD="${LD-ld} -m elf_i386_fbsd
"
6879 case `/usr/bin/file conftest.o` in
6881 LD="${LD-ld} -m elf32_x86_64
"
6884 LD="${LD-ld} -m elf_i386
"
6888 powerpc64le-*linux*)
6889 LD="${LD-ld} -m elf32lppclinux
"
6892 LD="${LD-ld} -m elf32ppclinux
"
6895 LD="${LD-ld} -m elf_s390
"
6898 LD="${LD-ld} -m elf32_sparc
"
6904 x86_64-*kfreebsd*-gnu)
6905 LD="${LD-ld} -m elf_x86_64_fbsd
"
6908 LD="${LD-ld} -m elf_x86_64
"
6911 LD="${LD-ld} -m elf64lppc
"
6914 LD="${LD-ld} -m elf64ppc
"
6916 s390*-*linux*|s390*-*tpf*)
6917 LD="${LD-ld} -m elf64_s390
"
6920 LD="${LD-ld} -m elf64_sparc
"
6930 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6931 SAVE_CFLAGS="$CFLAGS"
6932 CFLAGS="$CFLAGS -belf"
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6934 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6935 if ${lt_cv_cc_needs_belf+:} false; then :
6936 $as_echo_n "(cached
) " >&6
6939 ac_cpp='$CPP $CPPFLAGS'
6940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6945 /* end confdefs.h. */
6955 if ac_fn_c_try_link "$LINENO"; then :
6956 lt_cv_cc_needs_belf=yes
6958 lt_cv_cc_needs_belf=no
6960 rm -f core conftest.err conftest.$ac_objext \
6961 conftest$ac_exeext conftest.$ac_ext
6963 ac_cpp='$CPP $CPPFLAGS'
6964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6970 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6971 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6972 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6973 CFLAGS="$SAVE_CFLAGS"
6977 # Find out which ABI we are using.
6978 echo 'int i;' > conftest.$ac_ext
6979 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6980 (eval $ac_compile) 2>&5
6982 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6983 test $ac_status = 0; }; then
6984 case `/usr/bin/file conftest.o` in
6986 case $lt_cv_prog_gnu_ld in
6987 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6989 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7001 need_locks="$enable_libtool_lock"
7005 rhapsody* | darwin*)
7006 if test -n "$ac_tool_prefix"; then
7007 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7008 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7010 $as_echo_n "checking
for $ac_word...
" >&6; }
7011 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7012 $as_echo_n "(cached
) " >&6
7014 if test -n "$DSYMUTIL"; then
7015 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir=.
7022 for ac_exec_ext in '' $ac_executable_extensions; do
7023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7024 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7034 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7035 if test -n "$DSYMUTIL"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7037 $as_echo "$DSYMUTIL" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7040 $as_echo "no
" >&6; }
7045 if test -z "$ac_cv_prog_DSYMUTIL"; then
7046 ac_ct_DSYMUTIL=$DSYMUTIL
7047 # Extract the first word of "dsymutil
", so it can be a program name with args.
7048 set dummy dsymutil; ac_word=$2
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7050 $as_echo_n "checking
for $ac_word...
" >&6; }
7051 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7052 $as_echo_n "(cached
) " >&6
7054 if test -n "$ac_ct_DSYMUTIL"; then
7055 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061 test -z "$as_dir" && as_dir=.
7062 for ac_exec_ext in '' $ac_executable_extensions; do
7063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7064 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7074 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7075 if test -n "$ac_ct_DSYMUTIL"; then
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7077 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7080 $as_echo "no
" >&6; }
7083 if test "x
$ac_ct_DSYMUTIL" = x; then
7086 case $cross_compiling:$ac_tool_warned in
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7089 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7090 ac_tool_warned=yes ;;
7092 DSYMUTIL=$ac_ct_DSYMUTIL
7095 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7098 if test -n "$ac_tool_prefix"; then
7099 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7100 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7102 $as_echo_n "checking
for $ac_word...
" >&6; }
7103 if ${ac_cv_prog_NMEDIT+:} false; then :
7104 $as_echo_n "(cached
) " >&6
7106 if test -n "$NMEDIT"; then
7107 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir=.
7114 for ac_exec_ext in '' $ac_executable_extensions; do
7115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7116 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7126 NMEDIT=$ac_cv_prog_NMEDIT
7127 if test -n "$NMEDIT"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7129 $as_echo "$NMEDIT" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7132 $as_echo "no
" >&6; }
7137 if test -z "$ac_cv_prog_NMEDIT"; then
7138 ac_ct_NMEDIT=$NMEDIT
7139 # Extract the first word of "nmedit
", so it can be a program name with args.
7140 set dummy nmedit; ac_word=$2
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7142 $as_echo_n "checking
for $ac_word...
" >&6; }
7143 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7144 $as_echo_n "(cached
) " >&6
7146 if test -n "$ac_ct_NMEDIT"; then
7147 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153 test -z "$as_dir" && as_dir=.
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7166 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7167 if test -n "$ac_ct_NMEDIT"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7169 $as_echo "$ac_ct_NMEDIT" >&6; }
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7172 $as_echo "no
" >&6; }
7175 if test "x
$ac_ct_NMEDIT" = x; then
7178 case $cross_compiling:$ac_tool_warned in
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7181 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7182 ac_tool_warned=yes ;;
7184 NMEDIT=$ac_ct_NMEDIT
7187 NMEDIT="$ac_cv_prog_NMEDIT"
7190 if test -n "$ac_tool_prefix"; then
7191 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7192 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7194 $as_echo_n "checking
for $ac_word...
" >&6; }
7195 if ${ac_cv_prog_LIPO+:} false; then :
7196 $as_echo_n "(cached
) " >&6
7198 if test -n "$LIPO"; then
7199 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7218 LIPO=$ac_cv_prog_LIPO
7219 if test -n "$LIPO"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7221 $as_echo "$LIPO" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7224 $as_echo "no
" >&6; }
7229 if test -z "$ac_cv_prog_LIPO"; then
7231 # Extract the first word of "lipo
", so it can be a program name with args.
7232 set dummy lipo; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7234 $as_echo_n "checking
for $ac_word...
" >&6; }
7235 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7236 $as_echo_n "(cached
) " >&6
7238 if test -n "$ac_ct_LIPO"; then
7239 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248 ac_cv_prog_ac_ct_LIPO="lipo
"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7258 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7259 if test -n "$ac_ct_LIPO"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7261 $as_echo "$ac_ct_LIPO" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7264 $as_echo "no
" >&6; }
7267 if test "x
$ac_ct_LIPO" = x; then
7270 case $cross_compiling:$ac_tool_warned in
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7273 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7274 ac_tool_warned=yes ;;
7279 LIPO="$ac_cv_prog_LIPO"
7282 if test -n "$ac_tool_prefix"; then
7283 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7284 set dummy ${ac_tool_prefix}otool; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7286 $as_echo_n "checking
for $ac_word...
" >&6; }
7287 if ${ac_cv_prog_OTOOL+:} false; then :
7288 $as_echo_n "(cached
) " >&6
7290 if test -n "$OTOOL"; then
7291 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7300 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7310 OTOOL=$ac_cv_prog_OTOOL
7311 if test -n "$OTOOL"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7313 $as_echo "$OTOOL" >&6; }
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7316 $as_echo "no
" >&6; }
7321 if test -z "$ac_cv_prog_OTOOL"; then
7323 # Extract the first word of "otool
", so it can be a program name with args.
7324 set dummy otool; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7326 $as_echo_n "checking
for $ac_word...
" >&6; }
7327 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7328 $as_echo_n "(cached
) " >&6
7330 if test -n "$ac_ct_OTOOL"; then
7331 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340 ac_cv_prog_ac_ct_OTOOL="otool
"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7350 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7351 if test -n "$ac_ct_OTOOL"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7353 $as_echo "$ac_ct_OTOOL" >&6; }
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7356 $as_echo "no
" >&6; }
7359 if test "x
$ac_ct_OTOOL" = x; then
7362 case $cross_compiling:$ac_tool_warned in
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7365 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7366 ac_tool_warned=yes ;;
7371 OTOOL="$ac_cv_prog_OTOOL"
7374 if test -n "$ac_tool_prefix"; then
7375 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7376 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7378 $as_echo_n "checking
for $ac_word...
" >&6; }
7379 if ${ac_cv_prog_OTOOL64+:} false; then :
7380 $as_echo_n "(cached
) " >&6
7382 if test -n "$OTOOL64"; then
7383 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 test -z "$as_dir" && as_dir=.
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7392 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7402 OTOOL64=$ac_cv_prog_OTOOL64
7403 if test -n "$OTOOL64"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7405 $as_echo "$OTOOL64" >&6; }
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7408 $as_echo "no
" >&6; }
7413 if test -z "$ac_cv_prog_OTOOL64"; then
7414 ac_ct_OTOOL64=$OTOOL64
7415 # Extract the first word of "otool64
", so it can be a program name with args.
7416 set dummy otool64; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7418 $as_echo_n "checking
for $ac_word...
" >&6; }
7419 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7420 $as_echo_n "(cached
) " >&6
7422 if test -n "$ac_ct_OTOOL64"; then
7423 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7442 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7443 if test -n "$ac_ct_OTOOL64"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7445 $as_echo "$ac_ct_OTOOL64" >&6; }
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7448 $as_echo "no
" >&6; }
7451 if test "x
$ac_ct_OTOOL64" = x; then
7454 case $cross_compiling:$ac_tool_warned in
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7457 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7458 ac_tool_warned=yes ;;
7460 OTOOL64=$ac_ct_OTOOL64
7463 OTOOL64="$ac_cv_prog_OTOOL64"
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7493 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7494 if ${lt_cv_apple_cc_single_mod+:} false; then :
7495 $as_echo_n "(cached
) " >&6
7497 lt_cv_apple_cc_single_mod=no
7498 if test -z "${LT_MULTI_MODULE}"; then
7499 # By default we will add the -single_module flag. You can override
7500 # by either setting the environment variable LT_MULTI_MODULE
7501 # non-empty at configure time, or by adding -multi_module to the
7503 rm -rf libconftest.dylib*
7504 echo "int foo
(void
){return 1;}" > conftest.c
7505 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7506 -dynamiclib -Wl,-single_module conftest.c
" >&5
7507 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7508 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7510 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7511 lt_cv_apple_cc_single_mod=yes
7513 cat conftest.err >&5
7515 rm -rf libconftest.dylib*
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7520 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7522 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7523 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7524 $as_echo_n "(cached
) " >&6
7526 lt_cv_ld_exported_symbols_list=no
7527 save_LDFLAGS=$LDFLAGS
7528 echo "_main
" > conftest.sym
7529 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7541 if ac_fn_c_try_link "$LINENO"; then :
7542 lt_cv_ld_exported_symbols_list=yes
7544 lt_cv_ld_exported_symbols_list=no
7546 rm -f core conftest.err conftest.$ac_objext \
7547 conftest$ac_exeext conftest.$ac_ext
7548 LDFLAGS="$save_LDFLAGS"
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7552 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7554 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7555 if ${lt_cv_ld_force_load+:} false; then :
7556 $as_echo_n "(cached
) " >&6
7558 lt_cv_ld_force_load=no
7559 cat > conftest.c << _LT_EOF
7560 int forced_loaded() { return 2;}
7562 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7563 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7564 echo "$AR cru libconftest.a conftest.o
" >&5
7565 $AR cru libconftest.a conftest.o 2>&5
7566 cat > conftest.c << _LT_EOF
7567 int main() { return 0;}
7569 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7570 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7572 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7573 lt_cv_ld_force_load=yes
7575 cat conftest.err >&5
7577 rm -f conftest.err libconftest.a conftest conftest.c
7578 rm -rf conftest.dSYM
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7582 $as_echo "$lt_cv_ld_force_load" >&6; }
7583 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
7584 # build without first building modern cctools / linker.
7585 case $host_cpu-$host_os in
7586 *-rhapsody* | *-darwin1.[012])
7587 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7589 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7591 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
7592 # deployment target is forced to an earlier version.
7593 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
7594 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
7597 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7604 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7605 _lt_dar_single_mod='$single_module'
7607 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7608 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7610 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7612 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7613 _lt_dsymutil='~$DSYMUTIL $lib || :'
7620 for ac_header in dlfcn.h
7622 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7624 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7625 cat >>confdefs.h <<_ACEOF
7626 #define HAVE_DLFCN_H 1
7648 # Check whether --enable-static was given.
7649 if test "${enable_static+set}" = set; then :
7650 enableval=$enable_static; p=${PACKAGE-default}
7652 yes) enable_static=yes ;;
7653 no) enable_static=no ;;
7656 # Look at the argument we got. We use all the common list separators.
7657 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7658 for pkg in $enableval; do
7660 if test "X
$pkg" = "X
$p"; then
7680 # Check whether --with-pic was given.
7681 if test "${with_pic+set}" = set; then :
7682 withval=$with_pic; pic_mode="$withval"
7688 test -z "$pic_mode" && pic_mode=default
7696 # Check whether --enable-fast-install was given.
7697 if test "${enable_fast_install+set}" = set; then :
7698 enableval=$enable_fast_install; p=${PACKAGE-default}
7700 yes) enable_fast_install=yes ;;
7701 no) enable_fast_install=no ;;
7703 enable_fast_install=no
7704 # Look at the argument we got. We use all the common list separators.
7705 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7706 for pkg in $enableval; do
7708 if test "X
$pkg" = "X
$p"; then
7709 enable_fast_install=yes
7716 enable_fast_install=yes
7729 # This can be used to rebuild libtool when needed
7730 LIBTOOL_DEPS="$ltmain"
7732 # Always use our own libtool.
7733 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7760 test -z "$LN_S" && LN_S="ln -s"
7775 if test -n "${ZSH_VERSION+set}" ; then
7776 setopt NO_GLOB_SUBST
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7780 $as_echo_n "checking
for objdir...
" >&6; }
7781 if ${lt_cv_objdir+:} false; then :
7782 $as_echo_n "(cached
) " >&6
7784 rm -f .libs 2>/dev/null
7785 mkdir .libs 2>/dev/null
7786 if test -d .libs; then
7789 # MS-DOS does not allow filenames that begin with a dot.
7792 rmdir .libs 2>/dev/null
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7795 $as_echo "$lt_cv_objdir" >&6; }
7796 objdir=$lt_cv_objdir
7802 cat >>confdefs.h <<_ACEOF
7803 #define LT_OBJDIR "$lt_cv_objdir/"
7811 # AIX sometimes has problems with the GCC collect2 program. For some
7812 # reason, if we set the COLLECT_NAMES environment variable, the problems
7813 # vanish in a puff of smoke.
7814 if test "X
${COLLECT_NAMES+set}" != Xset; then
7816 export COLLECT_NAMES
7823 can_build_shared=yes
7825 # All known linkers require a `.a' archive for static linking (except MSVC,
7826 # which needs '.lib').
7829 with_gnu_ld="$lt_cv_prog_gnu_ld"
7832 old_CFLAGS="$CFLAGS"
7834 # Set sane defaults for various variables
7835 test -z "$CC" && CC=cc
7836 test -z "$LTCC" && LTCC=$CC
7837 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7838 test -z "$LD" && LD=ld
7839 test -z "$ac_objext" && ac_objext=o
7841 for cc_temp in $compiler""; do
7843 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7844 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7849 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7852 # Only perform the check for file, if the check method requires it
7853 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7854 case $deplibs_check_method in
7856 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7858 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7859 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7860 $as_echo_n "(cached
) " >&6
7864 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7867 lt_save_MAGIC_CMD="$MAGIC_CMD"
7868 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7869 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7870 for ac_dir in $ac_dummy; do
7872 test -z "$ac_dir" && ac_dir=.
7873 if test -f $ac_dir/${ac_tool_prefix}file; then
7874 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7875 if test -n "$file_magic_test_file"; then
7876 case $deplibs_check_method in
7878 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7879 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7880 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7881 $EGREP "$file_magic_regex" > /dev/null; then
7886 *** Warning: the command libtool uses to detect shared libraries,
7887 *** $file_magic_cmd, produces output that libtool cannot recognize.
7888 *** The result is that libtool may fail to recognize shared libraries
7889 *** as such. This will affect the creation of libtool libraries that
7890 *** depend on shared libraries, but programs linked with such libtool
7891 *** libraries will work regardless of this problem. Nevertheless, you
7892 *** may want to report the problem to your system manager and/or to
7893 *** bug-libtool@gnu.org
7903 MAGIC_CMD="$lt_save_MAGIC_CMD"
7908 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7909 if test -n "$MAGIC_CMD"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7911 $as_echo "$MAGIC_CMD" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7914 $as_echo "no
" >&6; }
7921 if test -z "$lt_cv_path_MAGIC_CMD"; then
7922 if test -n "$ac_tool_prefix"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7924 $as_echo_n "checking
for file...
" >&6; }
7925 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7926 $as_echo_n "(cached
) " >&6
7930 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7933 lt_save_MAGIC_CMD="$MAGIC_CMD"
7934 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7935 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7936 for ac_dir in $ac_dummy; do
7938 test -z "$ac_dir" && ac_dir=.
7939 if test -f $ac_dir/file; then
7940 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7941 if test -n "$file_magic_test_file"; then
7942 case $deplibs_check_method in
7944 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7945 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7946 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7947 $EGREP "$file_magic_regex" > /dev/null; then
7952 *** Warning: the command libtool uses to detect shared libraries,
7953 *** $file_magic_cmd, produces output that libtool cannot recognize.
7954 *** The result is that libtool may fail to recognize shared libraries
7955 *** as such. This will affect the creation of libtool libraries that
7956 *** depend on shared libraries, but programs linked with such libtool
7957 *** libraries will work regardless of this problem. Nevertheless, you
7958 *** may want to report the problem to your system manager and/or to
7959 *** bug-libtool@gnu.org
7969 MAGIC_CMD="$lt_save_MAGIC_CMD"
7974 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7975 if test -n "$MAGIC_CMD"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7977 $as_echo "$MAGIC_CMD" >&6; }
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7980 $as_echo "no
" >&6; }
7993 # Use C for the default configuration in the libtool script
7997 ac_cpp='$CPP $CPPFLAGS'
7998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8003 # Source file extension for C test sources.
8006 # Object file extension for compiled C test sources.
8010 # Code to be used in simple compile tests
8011 lt_simple_compile_test_code="int some_variable
= 0;"
8013 # Code to be used in simple link tests
8014 lt_simple_link_test_code='int main(){return(0);}'
8022 # If no C compiler was specified, use CC.
8025 # If no C compiler flags were specified, use CFLAGS.
8026 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8028 # Allow CC to be a program name with arguments.
8031 # Save the default compiler, since it gets overwritten when the other
8032 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8033 compiler_DEFAULT=$CC
8035 # save warnings/boilerplate of simple test code
8036 ac_outfile=conftest.$ac_objext
8037 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8038 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8039 _lt_compiler_boilerplate=`cat conftest.err`
8042 ac_outfile=conftest.$ac_objext
8043 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8044 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8045 _lt_linker_boilerplate=`cat conftest.err`
8050 ## There is no encapsulation within the following macros, do not change
8051 ## the running order or otherwise move them around unless you know exactly
8052 ## what you are doing...
8053 if test -n "$compiler"; then
8055 lt_prog_compiler_no_builtin_flag=
8057 if test "$GCC" = yes; then
8058 case $cc_basename in
8060 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8062 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8066 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8067 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8068 $as_echo_n "(cached
) " >&6
8070 lt_cv_prog_compiler_rtti_exceptions=no
8071 ac_outfile=conftest.$ac_objext
8072 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8073 lt_compiler_flag="-fno-rtti -fno-exceptions"
8074 # Insert the option either (1) after the last *FLAGS variable, or
8075 # (2) before a word containing "conftest.
", or (3) at the end.
8076 # Note that $ac_compile itself does not contain backslashes and begins
8077 # with a dollar sign (not a hyphen), so the echo should work correctly.
8078 # The option is referenced via a variable to avoid confusing sed.
8079 lt_compile=`echo "$ac_compile" | $SED \
8080 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8081 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8082 -e 's:$: $lt_compiler_flag:'`
8083 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8084 (eval "$lt_compile" 2>conftest.err)
8086 cat conftest.err >&5
8087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8088 if (exit $ac_status) && test -s "$ac_outfile"; then
8089 # The compiler can only warn and ignore the option if not recognized
8090 # So say no if there are warnings other than the usual output.
8091 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8092 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8093 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8094 lt_cv_prog_compiler_rtti_exceptions=yes
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8101 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8103 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8104 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8116 lt_prog_compiler_wl=
8117 lt_prog_compiler_pic=
8118 lt_prog_compiler_static=
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8121 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8123 if test "$GCC" = yes; then
8124 lt_prog_compiler_wl='-Wl,'
8125 lt_prog_compiler_static='-static'
8129 # All AIX code is PIC.
8130 if test "$host_cpu" = ia64; then
8131 # AIX 5 now supports IA64 processor
8132 lt_prog_compiler_static='-Bstatic'
8134 lt_prog_compiler_pic='-fPIC'
8140 # see comment about AmigaOS4 .so support
8141 lt_prog_compiler_pic='-fPIC'
8144 # FIXME: we need at least 68020 code to build shared libraries, but
8145 # adding the `-m68020' flag to GCC prevents building anything better,
8147 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8152 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8153 # PIC is the default for these OSes.
8156 mingw* | cygwin* | pw32* | os2* | cegcc*)
8157 # This hack is so that the source file can tell whether it is being
8158 # built for inclusion in a dll (and should export symbols for example).
8159 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8160 # (--disable-auto-import) libraries
8161 lt_prog_compiler_pic='-DDLL_EXPORT'
8164 darwin* | rhapsody*)
8165 # PIC is the default on this platform
8166 # Common symbols not allowed in MH_DYLIB files
8167 lt_prog_compiler_pic='-fno-common'
8171 # PIC is the default for Haiku.
8172 # The "-static" flag exists, but is broken.
8173 lt_prog_compiler_static=
8177 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8178 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8179 # sets the default TLS model and affects inlining.
8185 lt_prog_compiler_pic='-fPIC'
8191 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8192 # Instead, we relocate shared libraries at runtime.
8196 # Just because we use GCC doesn't mean we suddenly get shared libraries
8197 # on systems that don't support them.
8198 lt_prog_compiler_can_build_shared=no
8203 # QNX uses GNU C++, but need to define -shared option too, otherwise
8205 lt_prog_compiler_pic='-fPIC -shared'
8209 if test -d /usr/nec; then
8210 lt_prog_compiler_pic=-Kconform_pic
8215 lt_prog_compiler_pic='-fPIC'
8219 case $cc_basename in
8220 nvcc*) # Cuda Compiler Driver 2.2
8221 lt_prog_compiler_wl='-Xlinker '
8222 lt_prog_compiler_pic='-Xcompiler -fPIC'
8226 # PORTME Check for flag to pass linker flags through the system compiler.
8229 lt_prog_compiler_wl='-Wl,'
8230 if test "$host_cpu" = ia64; then
8231 # AIX 5 now supports IA64 processor
8232 lt_prog_compiler_static='-Bstatic'
8234 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8238 mingw* | cygwin* | pw32* | os2* | cegcc*)
8239 # This hack is so that the source file can tell whether it is being
8240 # built for inclusion in a dll (and should export symbols for example).
8241 lt_prog_compiler_pic='-DDLL_EXPORT'
8244 hpux9* | hpux10* | hpux11*)
8245 lt_prog_compiler_wl='-Wl,'
8246 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8253 lt_prog_compiler_pic='+Z'
8256 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8257 lt_prog_compiler_static='${wl}-a ${wl}archive'
8260 irix5* | irix6* | nonstopux*)
8261 lt_prog_compiler_wl='-Wl,'
8262 # PIC (with -KPIC) is the default.
8263 lt_prog_compiler_static='-non_shared'
8266 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8267 case $cc_basename in
8268 # old Intel for x86_64 which still supported -KPIC.
8270 lt_prog_compiler_wl='-Wl,'
8271 lt_prog_compiler_pic='-KPIC'
8272 lt_prog_compiler_static='-static'
8274 # icc used to be incompatible with GCC.
8275 # ICC 10 doesn't accept -KPIC any more.
8277 lt_prog_compiler_wl='-Wl,'
8278 lt_prog_compiler_pic='-fPIC'
8279 lt_prog_compiler_static='-static'
8281 # Lahey Fortran 8.1.
8283 lt_prog_compiler_wl='-Wl,'
8284 lt_prog_compiler_pic='--shared'
8285 lt_prog_compiler_static='--static'
8287 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8288 # Portland Group compilers (*not* the Pentium gcc compiler,
8289 # which looks to be a dead project)
8290 lt_prog_compiler_wl='-Wl,'
8291 lt_prog_compiler_pic='-fpic'
8292 lt_prog_compiler_static='-Bstatic'
8295 lt_prog_compiler_wl='-Wl,'
8296 # All Alpha code is PIC.
8297 lt_prog_compiler_static='-non_shared'
8299 xl* | bgxl* | bgf* | mpixl*)
8300 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8301 lt_prog_compiler_wl='-Wl,'
8302 lt_prog_compiler_pic='-qpic'
8303 lt_prog_compiler_static='-qstaticlink'
8306 case `$CC -V 2>&1 | sed 5q` in
8307 *Sun\ F* | *Sun*Fortran*)
8308 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8309 lt_prog_compiler_pic='-KPIC'
8310 lt_prog_compiler_static='-Bstatic'
8311 lt_prog_compiler_wl=''
8315 lt_prog_compiler_pic='-KPIC'
8316 lt_prog_compiler_static='-Bstatic'
8317 lt_prog_compiler_wl='-Wl,'
8325 lt_prog_compiler_pic='-KPIC'
8326 lt_prog_compiler_static='-Bstatic'
8330 # QNX uses GNU C++, but need to define -shared option too, otherwise
8332 lt_prog_compiler_pic='-fPIC -shared'
8335 osf3* | osf4* | osf5*)
8336 lt_prog_compiler_wl='-Wl,'
8337 # All OSF/1 code is PIC.
8338 lt_prog_compiler_static='-non_shared'
8342 lt_prog_compiler_static='-non_shared'
8346 lt_prog_compiler_pic='-KPIC'
8347 lt_prog_compiler_static='-Bstatic'
8348 case $cc_basename in
8350 lt_prog_compiler_wl='-Qoption ld ';;
8352 lt_prog_compiler_wl='-Wl,';;
8357 lt_prog_compiler_wl='-Qoption ld '
8358 lt_prog_compiler_pic='-PIC'
8359 lt_prog_compiler_static='-Bstatic'
8362 sysv4 | sysv4.2uw2* | sysv4.3*)
8363 lt_prog_compiler_wl='-Wl,'
8364 lt_prog_compiler_pic='-KPIC'
8365 lt_prog_compiler_static='-Bstatic'
8369 if test -d /usr/nec ;then
8370 lt_prog_compiler_pic='-Kconform_pic'
8371 lt_prog_compiler_static='-Bstatic'
8375 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8376 lt_prog_compiler_wl='-Wl,'
8377 lt_prog_compiler_pic='-KPIC'
8378 lt_prog_compiler_static='-Bstatic'
8382 lt_prog_compiler_wl='-Wl,'
8383 lt_prog_compiler_can_build_shared=no
8387 lt_prog_compiler_pic='-pic'
8388 lt_prog_compiler_static='-Bstatic'
8392 lt_prog_compiler_can_build_shared=no
8398 # For platforms which do not support PIC, -DPIC is meaningless:
8400 lt_prog_compiler_pic=
8403 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8407 $as_echo "$lt_prog_compiler_pic" >&6; }
8415 # Check to make sure the PIC flag actually works.
8417 if test -n "$lt_prog_compiler_pic"; then
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8419 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8420 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8421 $as_echo_n "(cached
) " >&6
8423 lt_cv_prog_compiler_pic_works=no
8424 ac_outfile=conftest.$ac_objext
8425 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8426 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8427 # Insert the option either (1) after the last *FLAGS variable, or
8428 # (2) before a word containing "conftest.
", or (3) at the end.
8429 # Note that $ac_compile itself does not contain backslashes and begins
8430 # with a dollar sign (not a hyphen), so the echo should work correctly.
8431 # The option is referenced via a variable to avoid confusing sed.
8432 lt_compile=`echo "$ac_compile" | $SED \
8433 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8434 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8435 -e 's:$: $lt_compiler_flag:'`
8436 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8437 (eval "$lt_compile" 2>conftest.err)
8439 cat conftest.err >&5
8440 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8441 if (exit $ac_status) && test -s "$ac_outfile"; then
8442 # The compiler can only warn and ignore the option if not recognized
8443 # So say no if there are warnings other than the usual output.
8444 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8445 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8446 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8447 lt_cv_prog_compiler_pic_works=yes
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8454 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8456 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8457 case $lt_prog_compiler_pic in
8459 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8462 lt_prog_compiler_pic=
8463 lt_prog_compiler_can_build_shared=no
8474 # Check to make sure the static flag actually works.
8476 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8478 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8479 if ${lt_cv_prog_compiler_static_works+:} false; then :
8480 $as_echo_n "(cached
) " >&6
8482 lt_cv_prog_compiler_static_works=no
8483 save_LDFLAGS="$LDFLAGS"
8484 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8485 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8486 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8487 # The linker can only warn and ignore the option if not recognized
8488 # So say no if there are warnings
8489 if test -s conftest.err; then
8490 # Append any errors to the config.log.
8491 cat conftest.err 1>&5
8492 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8493 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8494 if diff conftest.exp conftest.er2 >/dev/null; then
8495 lt_cv_prog_compiler_static_works=yes
8498 lt_cv_prog_compiler_static_works=yes
8502 LDFLAGS="$save_LDFLAGS"
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8506 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8508 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8511 lt_prog_compiler_static=
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8521 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8522 if ${lt_cv_prog_compiler_c_o+:} false; then :
8523 $as_echo_n "(cached
) " >&6
8525 lt_cv_prog_compiler_c_o=no
8526 $RM -r conftest 2>/dev/null
8530 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8532 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8533 # Insert the option either (1) after the last *FLAGS variable, or
8534 # (2) before a word containing "conftest.
", or (3) at the end.
8535 # Note that $ac_compile itself does not contain backslashes and begins
8536 # with a dollar sign (not a hyphen), so the echo should work correctly.
8537 lt_compile=`echo "$ac_compile" | $SED \
8538 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8539 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8540 -e 's:$: $lt_compiler_flag:'`
8541 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8542 (eval "$lt_compile" 2>out/conftest.err)
8544 cat out/conftest.err >&5
8545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8546 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8548 # The compiler can only warn and ignore the option if not recognized
8549 # So say no if there are warnings
8550 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8551 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8552 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8553 lt_cv_prog_compiler_c_o=yes
8558 # SGI C++ compiler will create directory out/ii_files/ for
8559 # template instantiation
8560 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8561 $RM out/* && rmdir out
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8568 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8576 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8577 if ${lt_cv_prog_compiler_c_o+:} false; then :
8578 $as_echo_n "(cached
) " >&6
8580 lt_cv_prog_compiler_c_o=no
8581 $RM -r conftest 2>/dev/null
8585 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8587 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8588 # Insert the option either (1) after the last *FLAGS variable, or
8589 # (2) before a word containing "conftest.
", or (3) at the end.
8590 # Note that $ac_compile itself does not contain backslashes and begins
8591 # with a dollar sign (not a hyphen), so the echo should work correctly.
8592 lt_compile=`echo "$ac_compile" | $SED \
8593 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8594 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8595 -e 's:$: $lt_compiler_flag:'`
8596 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8597 (eval "$lt_compile" 2>out/conftest.err)
8599 cat out/conftest.err >&5
8600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8601 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8603 # The compiler can only warn and ignore the option if not recognized
8604 # So say no if there are warnings
8605 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8606 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8607 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8608 lt_cv_prog_compiler_c_o=yes
8613 # SGI C++ compiler will create directory out/ii_files/ for
8614 # template instantiation
8615 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8616 $RM out/* && rmdir out
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8623 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8628 hard_links="nottested
"
8629 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8630 # do not overwrite the value of need_locks provided by the user
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8632 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8635 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8637 ln conftest.a conftest.b 2>&5 || hard_links=no
8638 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8640 $as_echo "$hard_links" >&6; }
8641 if test "$hard_links" = no; then
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8643 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8656 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8659 allow_undefined_flag=
8660 always_export_symbols=no
8662 archive_expsym_cmds=
8663 compiler_needs_object=no
8664 enable_shared_with_static_runtimes=no
8665 export_dynamic_flag_spec=
8666 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8667 hardcode_automatic=no
8669 hardcode_direct_absolute=no
8670 hardcode_libdir_flag_spec=
8671 hardcode_libdir_flag_spec_ld=
8672 hardcode_libdir_separator=
8674 hardcode_shlibpath_var=unsupported
8676 link_all_deplibs=unknown
8679 old_archive_from_new_cmds=
8680 old_archive_from_expsyms_cmds=
8681 thread_safe_flag_spec=
8682 whole_archive_flag_spec=
8683 # include_expsyms should be a list of space-separated symbols to be *always*
8684 # included in the symbol list
8686 # exclude_expsyms can be an extended regexp of symbols to exclude
8687 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8688 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8689 # as well as any symbol that contains `d'.
8690 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8691 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8692 # platforms (ab)use it in PIC code, but their linkers get confused if
8693 # the symbol is explicitly referenced. Since portable code cannot
8694 # rely on this symbol name, it's probably fine to never include it in
8695 # preloaded symbol tables.
8696 # Exclude shared library initialization/finalization symbols.
8697 extract_expsyms_cmds=
8700 cygwin* | mingw* | pw32* | cegcc*)
8701 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8702 # When not using gcc, we currently assume that we are using
8703 # Microsoft Visual C++.
8704 if test "$GCC" != yes; then
8709 # we just hope/assume this is gcc and not c89 (= MSVC++)
8719 # On some targets, GNU ld is compatible enough with the native linker
8720 # that we're better off using the native interface for both.
8721 lt_use_gnu_ld_interface=no
8722 if test "$with_gnu_ld" = yes; then
8725 # The AIX port of GNU ld has always aspired to compatibility
8726 # with the native linker. However, as the warning in the GNU ld
8727 # block says, versions before 2.19.5* couldn't really create working
8728 # shared libraries, regardless of the interface used.
8729 case `$LD -v 2>&1` in
8730 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8731 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8732 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8734 lt_use_gnu_ld_interface=yes
8739 lt_use_gnu_ld_interface=yes
8744 if test "$lt_use_gnu_ld_interface" = yes; then
8745 # If archive_cmds runs LD, not CC, wlarc should be empty
8748 # Set some defaults for GNU ld with shared library support. These
8749 # are reset later if shared libraries are not supported. Putting them
8750 # here allows them to be overridden if necessary.
8751 runpath_var=LD_RUN_PATH
8752 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8753 export_dynamic_flag_spec='${wl}--export-dynamic'
8754 # ancient GNU ld didn't support --whole-archive et. al.
8755 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8756 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8758 whole_archive_flag_spec=
8760 supports_anon_versioning=no
8761 case `$LD -v 2>&1` in
8762 *GNU\ gold*) supports_anon_versioning=yes ;;
8763 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8764 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8765 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8766 *\ 2.11.*) ;; # other 2.11 versions
8767 *) supports_anon_versioning=yes ;;
8770 # See if GNU ld supports shared libraries.
8773 # On AIX/PPC, the GNU linker is very broken
8774 if test "$host_cpu" != ia64; then
8778 *** Warning: the GNU linker, at least up to release 2.19, is reported
8779 *** to be unable to reliably create shared libraries on AIX.
8780 *** Therefore, libtool is disabling shared libraries support. If you
8781 *** really care for shared libraries, you may want to install binutils
8782 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8783 *** You will then need to restart the configuration process.
8792 # see comment about AmigaOS4 .so support
8793 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8794 archive_expsym_cmds=''
8797 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)'
8798 hardcode_libdir_flag_spec
='-L$libdir'
8799 hardcode_minus_L
=yes
8805 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8806 allow_undefined_flag
=unsupported
8807 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8808 # support --undefined. This deserves some investigation. FIXME
8809 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8815 cygwin
* | mingw
* | pw32
* | cegcc
*)
8816 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8817 # as there is no search path for DLLs.
8818 hardcode_libdir_flag_spec
='-L$libdir'
8819 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8820 allow_undefined_flag
=unsupported
8821 always_export_symbols
=no
8822 enable_shared_with_static_runtimes
=yes
8823 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8825 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8826 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8827 # If the export-symbols file already is a .def file (1st line
8828 # is EXPORTS), use it as is; otherwise, prepend...
8829 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8830 cp $export_symbols $output_objdir/$soname.def;
8832 echo EXPORTS > $output_objdir/$soname.def;
8833 cat $export_symbols >> $output_objdir/$soname.def;
8835 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8842 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8843 link_all_deplibs
=yes
8848 hardcode_shlibpath_var
=no
8849 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8850 export_dynamic_flag_spec
='${wl}-E'
8851 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8852 # Instead, shared libraries are loaded at an image base (0x10000000 by
8853 # default) and relocated if they conflict, which is a slow very memory
8854 # consuming and fragmenting process. To avoid this, we pick a random,
8855 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8856 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8857 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8858 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'
8861 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
8863 if test "$host_os" = linux-dietlibc
; then
8864 case $cc_basename in
8865 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8868 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8869 && test "$tmp_diet" = no
8871 tmp_addflag
=' $pic_flag'
8872 tmp_sharedflag
='-shared'
8873 case $cc_basename,$host_cpu in
8874 pgcc
*) # Portland Group C compiler
8875 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'
8876 tmp_addflag
=' $pic_flag'
8878 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8879 # Portland Group f77 and f90 compilers
8880 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'
8881 tmp_addflag
=' $pic_flag -Mnomain' ;;
8882 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8883 tmp_addflag
=' -i_dynamic' ;;
8884 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8885 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8886 ifc
* | ifort
*) # Intel Fortran compiler
8887 tmp_addflag
=' -nofor_main' ;;
8888 lf95
*) # Lahey Fortran 8.1
8889 whole_archive_flag_spec
=
8890 tmp_sharedflag
='--shared' ;;
8891 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8892 tmp_sharedflag
='-qmkshrobj'
8894 nvcc
*) # Cuda Compiler Driver 2.2
8895 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'
8896 compiler_needs_object
=yes
8899 case `$CC -V 2>&1 | sed 5q` in
8900 *Sun\ C
*) # Sun C 5.9
8901 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'
8902 compiler_needs_object
=yes
8903 tmp_sharedflag
='-G' ;;
8904 *Sun\ F
*) # Sun Fortran 8.3
8905 tmp_sharedflag
='-G' ;;
8907 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8909 if test "x$supports_anon_versioning" = xyes
; then
8910 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8911 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8912 echo "local: *; };" >> $output_objdir/$libname.ver~
8913 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8916 case $cc_basename in
8917 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8918 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8919 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8920 hardcode_libdir_flag_spec
=
8921 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8922 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8923 if test "x$supports_anon_versioning" = xyes
; then
8924 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8926 echo "local: *; };" >> $output_objdir/$libname.ver~
8927 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8937 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8938 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8941 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8942 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8947 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8951 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8952 *** create shared libraries on Solaris systems. Therefore, libtool
8953 *** is disabling shared libraries support. We urge you to upgrade GNU
8954 *** binutils to release 2.9.1 or newer. Another option is to modify
8955 *** your PATH or compiler configuration so that the native linker is
8956 *** used, and then restart.
8959 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8960 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8961 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8967 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8968 case `$LD -v 2>&1` in
8969 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8973 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8974 *** reliably create shared libraries on SCO systems. Therefore, libtool
8975 *** is disabling shared libraries support. We urge you to upgrade GNU
8976 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8977 *** your PATH or compiler configuration so that the native linker is
8978 *** used, and then restart.
8983 # For security reasons, it is highly recommended that you always
8984 # use absolute paths for naming shared libraries, and exclude the
8985 # DT_RUNPATH tag from executables and libraries. But doing so
8986 # requires that you compile everything twice, which is a pain.
8987 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8988 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8989 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8990 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8999 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9002 hardcode_shlibpath_var
=no
9006 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9007 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9015 if test "$ld_shlibs" = no
; then
9017 hardcode_libdir_flag_spec
=
9018 export_dynamic_flag_spec
=
9019 whole_archive_flag_spec
=
9022 # PORTME fill in a description of your system's linker (not GNU ld)
9025 allow_undefined_flag
=unsupported
9026 always_export_symbols
=yes
9027 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'
9028 # Note: this linker hardcodes the directories in LIBPATH if there
9029 # are no directories specified by -L.
9030 hardcode_minus_L
=yes
9031 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9032 # Neither direct hardcoding nor static linking is supported with a
9034 hardcode_direct
=unsupported
9039 if test "$host_cpu" = ia64
; then
9040 # On IA64, the linker does run time linking by default, so we don't
9041 # have to do anything special.
9042 aix_use_runtimelinking
=no
9043 exp_sym_flag
='-Bexport'
9046 # If we're using GNU nm, then we don't want the "-C" option.
9047 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9048 # Also, AIX nm treats weak defined symbols like other global
9049 # defined symbols, whereas GNU nm marks them as "W".
9050 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9051 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'
9053 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'
9055 aix_use_runtimelinking
=no
9057 # Test if we are trying to use run time linking or normal
9058 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9059 # need to do runtime linking.
9060 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9061 for ld_flag
in $LDFLAGS; do
9062 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9063 aix_use_runtimelinking
=yes
9070 exp_sym_flag
='-bexport'
9071 no_entry_flag
='-bnoentry'
9074 # When large executables or shared objects are built, AIX ld can
9075 # have problems creating the table of contents. If linking a library
9076 # or program results in "error TOC overflow" add -mminimal-toc to
9077 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9078 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9082 hardcode_direct_absolute
=yes
9083 hardcode_libdir_separator
=':'
9084 link_all_deplibs
=yes
9085 file_list_spec
='${wl}-f,'
9087 if test "$GCC" = yes; then
9088 case $host_os in aix4.
[012]|aix4.
[012].
*)
9089 # We only want to do this on AIX 4.2 and lower, the check
9090 # below for broken collect2 doesn't work under 4.3+
9091 collect2name
=`${CC} -print-prog-name=collect2`
9092 if test -f "$collect2name" &&
9093 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9095 # We have reworked collect2
9098 # We have old collect2
9099 hardcode_direct
=unsupported
9100 # It fails to find uninstalled libraries when the uninstalled
9101 # path is not listed in the libpath. Setting hardcode_minus_L
9102 # to unsupported forces relinking
9103 hardcode_minus_L
=yes
9104 hardcode_libdir_flag_spec
='-L$libdir'
9105 hardcode_libdir_separator
=
9109 shared_flag
='-shared'
9110 if test "$aix_use_runtimelinking" = yes; then
9111 shared_flag
="$shared_flag "'${wl}-G'
9115 if test "$host_cpu" = ia64
; then
9116 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9117 # chokes on -Wl,-G. The following line is correct:
9120 if test "$aix_use_runtimelinking" = yes; then
9121 shared_flag
='${wl}-G'
9123 shared_flag
='${wl}-bM:SRE'
9128 export_dynamic_flag_spec
='${wl}-bexpall'
9129 # It seems that -bexpall does not export symbols beginning with
9130 # underscore (_), so it is better to generate a list of symbols to export.
9131 always_export_symbols
=yes
9132 if test "$aix_use_runtimelinking" = yes; then
9133 # Warning - without using the other runtime loading flags (-brtl),
9134 # -berok will link without error, but may produce a broken library.
9135 allow_undefined_flag
='-berok'
9136 # Determine the default libpath from the value encoded in an
9138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9149 if ac_fn_c_try_link
"$LINENO"; then :
9151 lt_aix_libpath_sed
='
9152 /Import File Strings/,/^$/ {
9158 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9159 # Check for a 64-bit object if we didn't find anything.
9160 if test -z "$aix_libpath"; then
9161 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9164 rm -f core conftest.err conftest.
$ac_objext \
9165 conftest
$ac_exeext conftest.
$ac_ext
9166 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9168 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9169 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"
9171 if test "$host_cpu" = ia64
; then
9172 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9173 allow_undefined_flag
="-z nodefs"
9174 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"
9176 # Determine the default libpath from the value encoded in an
9178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9189 if ac_fn_c_try_link
"$LINENO"; then :
9191 lt_aix_libpath_sed
='
9192 /Import File Strings/,/^$/ {
9198 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9199 # Check for a 64-bit object if we didn't find anything.
9200 if test -z "$aix_libpath"; then
9201 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9204 rm -f core conftest.err conftest.
$ac_objext \
9205 conftest
$ac_exeext conftest.
$ac_ext
9206 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9208 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9209 # Warning - without using the other run time loading flags,
9210 # -berok will link without error, but may produce a broken library.
9211 no_undefined_flag
=' ${wl}-bernotok'
9212 allow_undefined_flag
=' ${wl}-berok'
9213 if test "$with_gnu_ld" = yes; then
9214 # We only use this code for GNU lds that support --whole-archive.
9215 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9217 # Exported symbols can be pulled into shared objects from archives
9218 whole_archive_flag_spec
='$convenience'
9220 archive_cmds_need_lc
=yes
9221 # This is similar to how AIX traditionally builds its shared libraries.
9222 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'
9230 # see comment about AmigaOS4 .so support
9231 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9232 archive_expsym_cmds
=''
9235 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)'
9236 hardcode_libdir_flag_spec
='-L$libdir'
9237 hardcode_minus_L
=yes
9243 export_dynamic_flag_spec
=-rdynamic
9246 cygwin
* | mingw
* | pw32
* | cegcc
*)
9247 # When not using gcc, we currently assume that we are using
9248 # Microsoft Visual C++.
9249 # hardcode_libdir_flag_spec is actually meaningless, as there is
9250 # no search path for DLLs.
9251 hardcode_libdir_flag_spec
=' '
9252 allow_undefined_flag
=unsupported
9253 # Tell ltmain to make .lib files, not .a files.
9255 # Tell ltmain to make .dll files, not .so files.
9257 # FIXME: Setting linknames here is a bad hack.
9258 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9259 # The linker will automatically build a .lib file if we build a DLL.
9260 old_archive_from_new_cmds
='true'
9261 # FIXME: Should let the user specify the lib program.
9262 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9263 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9264 enable_shared_with_static_runtimes
=yes
9267 darwin
* | rhapsody
*)
9270 archive_cmds_need_lc
=no
9272 hardcode_automatic
=yes
9273 hardcode_shlibpath_var
=unsupported
9274 if test "$lt_cv_ld_force_load" = "yes"; then
9275 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\"`'
9277 whole_archive_flag_spec
=''
9279 link_all_deplibs
=yes
9280 allow_undefined_flag
="$_lt_dar_allow_undefined"
9281 case $cc_basename in
9282 ifort
*) _lt_dar_can_shared
=yes ;;
9283 *) _lt_dar_can_shared
=$GCC ;;
9285 if test "$_lt_dar_can_shared" = "yes"; then
9286 output_verbose_link_cmd
=func_echo_all
9287 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9288 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9289 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}"
9290 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}"
9299 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9300 hardcode_libdir_flag_spec
='-L$libdir'
9301 hardcode_shlibpath_var
=no
9304 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9305 # support. Future versions do this automatically, but an explicit c++rt0.o
9306 # does not break anything, and helps significantly (at the cost of a little
9309 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9310 hardcode_libdir_flag_spec
='-R$libdir'
9312 hardcode_shlibpath_var
=no
9315 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9317 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9319 hardcode_minus_L
=yes
9320 hardcode_shlibpath_var
=no
9323 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9324 freebsd
* | dragonfly
*)
9325 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9326 hardcode_libdir_flag_spec
='-R$libdir'
9328 hardcode_shlibpath_var
=no
9332 if test "$GCC" = yes; then
9333 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'
9335 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'
9337 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9338 hardcode_libdir_separator
=:
9341 # hardcode_minus_L: Not really in the search PATH,
9342 # but as the default location of the library.
9343 hardcode_minus_L
=yes
9344 export_dynamic_flag_spec
='${wl}-E'
9348 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9349 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9351 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9353 if test "$with_gnu_ld" = no
; then
9354 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9355 hardcode_libdir_flag_spec_ld
='+b $libdir'
9356 hardcode_libdir_separator
=:
9358 hardcode_direct_absolute
=yes
9359 export_dynamic_flag_spec
='${wl}-E'
9360 # hardcode_minus_L: Not really in the search PATH,
9361 # but as the default location of the library.
9362 hardcode_minus_L
=yes
9367 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9370 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9373 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9376 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9389 # Older versions of the 11.00 compiler do not understand -b yet
9390 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9392 $as_echo_n "checking if $CC understands -b... " >&6; }
9393 if ${lt_cv_prog_compiler__b+:} false
; then :
9394 $as_echo_n "(cached) " >&6
9396 lt_cv_prog_compiler__b
=no
9397 save_LDFLAGS
="$LDFLAGS"
9398 LDFLAGS
="$LDFLAGS -b"
9399 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9400 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9401 # The linker can only warn and ignore the option if not recognized
9402 # So say no if there are warnings
9403 if test -s conftest.err
; then
9404 # Append any errors to the config.log.
9405 cat conftest.err
1>&5
9406 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9407 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9408 if diff conftest.exp conftest.er2
>/dev
/null
; then
9409 lt_cv_prog_compiler__b
=yes
9412 lt_cv_prog_compiler__b
=yes
9416 LDFLAGS
="$save_LDFLAGS"
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9420 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9422 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9423 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9425 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9431 if test "$with_gnu_ld" = no
; then
9432 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9433 hardcode_libdir_separator
=:
9438 hardcode_shlibpath_var
=no
9442 hardcode_direct_absolute
=yes
9443 export_dynamic_flag_spec
='${wl}-E'
9445 # hardcode_minus_L: Not really in the search PATH,
9446 # but as the default location of the library.
9447 hardcode_minus_L
=yes
9453 irix5
* | irix6
* | nonstopux
*)
9454 if test "$GCC" = yes; then
9455 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'
9456 # Try to use the -exported_symbol ld option, if it does not
9457 # work, assume that -exports_file does not work either and
9458 # implicitly export all symbols.
9459 save_LDFLAGS
="$LDFLAGS"
9460 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9465 if ac_fn_c_try_link
"$LINENO"; then :
9466 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'
9469 rm -f core conftest.err conftest.
$ac_objext \
9470 conftest
$ac_exeext conftest.
$ac_ext
9471 LDFLAGS
="$save_LDFLAGS"
9473 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'
9474 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'
9476 archive_cmds_need_lc
='no'
9477 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9478 hardcode_libdir_separator
=:
9480 link_all_deplibs
=yes
9484 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9485 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9487 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9489 hardcode_libdir_flag_spec
='-R$libdir'
9491 hardcode_shlibpath_var
=no
9495 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9497 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9498 hardcode_libdir_separator
=:
9499 hardcode_shlibpath_var
=no
9506 if test -f /usr
/libexec
/ld.so
; then
9508 hardcode_shlibpath_var
=no
9509 hardcode_direct_absolute
=yes
9510 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9511 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9512 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9513 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9514 export_dynamic_flag_spec
='${wl}-E'
9517 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9518 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9519 hardcode_libdir_flag_spec
='-R$libdir'
9522 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9523 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9533 hardcode_libdir_flag_spec
='-L$libdir'
9534 hardcode_minus_L
=yes
9535 allow_undefined_flag
=unsupported
9536 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'
9537 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9541 if test "$GCC" = yes; then
9542 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9543 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'
9545 allow_undefined_flag
=' -expect_unresolved \*'
9546 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'
9548 archive_cmds_need_lc
='no'
9549 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9550 hardcode_libdir_separator
=:
9553 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9554 if test "$GCC" = yes; then
9555 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9556 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'
9557 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9559 allow_undefined_flag
=' -expect_unresolved \*'
9560 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'
9561 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~
9562 $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'
9564 # Both c and cxx compiler support -rpath directly
9565 hardcode_libdir_flag_spec
='-rpath $libdir'
9567 archive_cmds_need_lc
='no'
9568 hardcode_libdir_separator
=:
9572 no_undefined_flag
=' -z defs'
9573 if test "$GCC" = yes; then
9575 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9576 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9577 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9579 case `$CC -V 2>&1` in
9582 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9583 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9584 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9588 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9590 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9594 hardcode_libdir_flag_spec
='-R$libdir'
9595 hardcode_shlibpath_var
=no
9597 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9599 # The compiler driver will combine and reorder linker options,
9600 # but understands `-z linker_flag'. GCC discards it without `$wl',
9601 # but is careful enough not to reorder.
9602 # Supported since Solaris 2.6 (maybe 2.5.1?)
9603 if test "$GCC" = yes; then
9604 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9606 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9610 link_all_deplibs
=yes
9614 if test "x$host_vendor" = xsequent
; then
9615 # Use $CC to link under sequent, because it throws in some extra .o
9616 # files that make .init and .fini sections work.
9617 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9619 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9621 hardcode_libdir_flag_spec
='-L$libdir'
9623 hardcode_minus_L
=yes
9624 hardcode_shlibpath_var
=no
9628 case $host_vendor in
9630 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9631 hardcode_direct
=yes # is this really true???
9634 ## LD is ld it makes a PLAMLIB
9635 ## CC just makes a GrossModule.
9636 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9637 reload_cmds
='$CC -r -o $output$reload_objs'
9641 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9642 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9645 runpath_var
='LD_RUN_PATH'
9646 hardcode_shlibpath_var
=no
9650 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9651 hardcode_shlibpath_var
=no
9652 export_dynamic_flag_spec
='-Bexport'
9656 if test -d /usr
/nec
; then
9657 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9658 hardcode_shlibpath_var
=no
9659 runpath_var
=LD_RUN_PATH
9660 hardcode_runpath_var
=yes
9665 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9666 no_undefined_flag
='${wl}-z,text'
9667 archive_cmds_need_lc
=no
9668 hardcode_shlibpath_var
=no
9669 runpath_var
='LD_RUN_PATH'
9671 if test "$GCC" = yes; then
9672 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9673 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9675 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9676 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9680 sysv5
* | sco3.2v5
* | sco5v6
*)
9681 # Note: We can NOT use -z defs as we might desire, because we do not
9682 # link with -lc, and that would cause any symbols used from libc to
9683 # always be unresolved, which means just about no library would
9684 # ever link correctly. If we're not using GNU ld we use -z text
9685 # though, which does catch some bad symbols but isn't as heavy-handed
9687 no_undefined_flag
='${wl}-z,text'
9688 allow_undefined_flag
='${wl}-z,nodefs'
9689 archive_cmds_need_lc
=no
9690 hardcode_shlibpath_var
=no
9691 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9692 hardcode_libdir_separator
=':'
9693 link_all_deplibs
=yes
9694 export_dynamic_flag_spec
='${wl}-Bexport'
9695 runpath_var
='LD_RUN_PATH'
9697 if test "$GCC" = yes; then
9698 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9699 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9701 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9707 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_libdir_flag_spec
='-L$libdir'
9709 hardcode_shlibpath_var
=no
9717 if test x
$host_vendor = xsni
; then
9719 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9720 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9727 $as_echo "$ld_shlibs" >&6; }
9728 test "$ld_shlibs" = no
&& can_build_shared
=no
9730 with_gnu_ld
=$with_gnu_ld
9747 # Do we need to explicitly link libc?
9749 case "x$archive_cmds_need_lc" in
9751 # Assume -lc should be added
9752 archive_cmds_need_lc
=yes
9754 if test "$enable_shared" = yes && test "$GCC" = yes; then
9755 case $archive_cmds in
9757 # FIXME: we may have to deal with multi-command sequences.
9760 # Test whether the compiler implicitly links with -lc since on some
9761 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9762 # to ld, don't add -lc before -lgcc.
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9764 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9765 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9766 $as_echo_n "(cached) " >&6
9769 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9772 (eval $ac_compile) 2>&5
9774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9775 test $ac_status = 0; } 2>conftest.err
; then
9778 libobjs
=conftest.
$ac_objext
9780 wl
=$lt_prog_compiler_wl
9781 pic_flag
=$lt_prog_compiler_pic
9787 lt_save_allow_undefined_flag
=$allow_undefined_flag
9788 allow_undefined_flag
=
9789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9790 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9793 test $ac_status = 0; }
9795 lt_cv_archive_cmds_need_lc
=no
9797 lt_cv_archive_cmds_need_lc
=yes
9799 allow_undefined_flag
=$lt_save_allow_undefined_flag
9801 cat conftest.err
1>&5
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9807 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9808 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9972 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9974 if test "$GCC" = yes; then
9976 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9977 *) lt_awk_arg
="/^libraries:/" ;;
9980 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9981 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9983 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9984 case $lt_search_path_spec in
9986 # if the path contains ";" then we assume it to be the separator
9987 # otherwise default to the standard path separator (i.e. ":") - it is
9988 # assumed that no part of a normal pathname contains ";" but that should
9989 # okay in the real world where ";" in dirpaths is itself problematic.
9990 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9993 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9996 # Ok, now we have the path, separated by spaces, we can step through it
9997 # and add multilib dir if necessary.
9998 lt_tmp_lt_search_path_spec
=
9999 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10000 for lt_sys_path
in $lt_search_path_spec; do
10001 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10002 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10004 test -d "$lt_sys_path" && \
10005 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10008 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10009 BEGIN {RS=" "; FS="/|\n";} {
10012 for (lt_i = NF; lt_i > 0; lt_i--) {
10013 if ($lt_i != "" && $lt_i != ".") {
10014 if ($lt_i == "..") {
10017 if (lt_count == 0) {
10018 lt_foo="/" $lt_i lt_foo;
10025 if (lt_foo != "") { lt_freq[lt_foo]++; }
10026 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10028 # AWK program above erroneously prepends '/' to C:/dos/paths
10031 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10032 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10034 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10036 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10038 library_names_spec
=
10039 libname_spec
='lib$name'
10043 postuninstall_cmds
=
10047 shlibpath_overrides_runpath
=unknown
10049 dynamic_linker
="$host_os ld.so"
10050 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10051 need_lib_prefix
=unknown
10052 hardcode_into_libs
=no
10054 # when you set need_version to no, make sure it does not cause -set_version
10055 # flags to be left without arguments
10056 need_version
=unknown
10061 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10062 shlibpath_var
=LIBPATH
10064 # AIX 3 has no versioning support, so we append a major version to the name.
10065 soname_spec
='${libname}${release}${shared_ext}$major'
10072 hardcode_into_libs
=yes
10073 if test "$host_cpu" = ia64
; then
10074 # AIX 5 supports IA64
10075 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10076 shlibpath_var
=LD_LIBRARY_PATH
10078 # With GCC up to 2.95.x, collect2 would create an import file
10079 # for dependence libraries. The import file would start with
10080 # the line `#! .'. This would cause the generated library to
10081 # depend on `.', always an invalid library. This was fixed in
10082 # development snapshots of GCC prior to 3.0.
10084 aix4 | aix4.
[01] | aix4.
[01].
*)
10085 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10087 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10090 can_build_shared
=no
10094 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10095 # soname into executable. Probably we can add versioning support to
10096 # collect2, so additional links can be useful in future.
10097 if test "$aix_use_runtimelinking" = yes; then
10098 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10099 # instead of lib<name>.a to let people know that these are not
10100 # typical AIX shared libraries.
10101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10103 # We preserve .a as extension for shared libraries through AIX4.2
10104 # and later when we are not doing run time linking.
10105 library_names_spec
='${libname}${release}.a $libname.a'
10106 soname_spec
='${libname}${release}${shared_ext}$major'
10108 shlibpath_var
=LIBPATH
10115 # Since July 2007 AmigaOS4 officially supports .so libraries.
10116 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10120 library_names_spec
='$libname.ixlibrary $libname.a'
10121 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10122 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'
10128 library_names_spec
='${libname}${shared_ext}'
10129 dynamic_linker
="$host_os ld.so"
10130 shlibpath_var
=LIBRARY_PATH
10136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10137 soname_spec
='${libname}${release}${shared_ext}$major'
10138 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10139 shlibpath_var
=LD_LIBRARY_PATH
10140 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10141 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10142 # the default ld.so.conf also contains /usr/contrib/lib and
10143 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10144 # libtool to hard-code these into programs
10147 cygwin
* | mingw
* | pw32
* | cegcc
*)
10148 version_type
=windows
10153 case $GCC,$host_os in
10154 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10155 library_names_spec
='$libname.dll.a'
10156 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10157 postinstall_cmds
='base_file=`basename \${file}`~
10158 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10159 dldir=$destdir/`dirname \$dlpath`~
10160 test -d \$dldir || mkdir -p \$dldir~
10161 $install_prog $dir/$dlname \$dldir/$dlname~
10162 chmod a+x \$dldir/$dlname~
10163 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10164 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10166 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10167 dlpath=$dir/\$dldll~
10169 shlibpath_overrides_runpath
=yes
10173 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10174 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10176 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10179 # MinGW DLLs use traditional 'lib' prefix
10180 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10183 # pw32 DLLs use 'pw' prefix rather than 'lib'
10184 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10190 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10193 dynamic_linker
='Win32 ld.exe'
10194 # FIXME: first we should search . and the directory the executable is in
10198 darwin
* | rhapsody
*)
10199 dynamic_linker
="$host_os dyld"
10200 version_type
=darwin
10203 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10204 soname_spec
='${libname}${release}${major}$shared_ext'
10205 shlibpath_overrides_runpath
=yes
10206 shlibpath_var
=DYLD_LIBRARY_PATH
10207 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10209 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10210 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10218 soname_spec
='${libname}${release}${shared_ext}$major'
10219 shlibpath_var
=LD_LIBRARY_PATH
10222 freebsd
* | dragonfly
*)
10223 # DragonFly does not have aout. When/if they implement a new
10224 # versioning mechanism, adjust this.
10225 if test -x /usr
/bin
/objformat
; then
10226 objformat
=`/usr/bin/objformat`
10229 freebsd
[23].
*) objformat
=aout
;;
10230 *) objformat
=elf
;;
10233 version_type
=freebsd-
$objformat
10234 case $version_type in
10236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10241 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10245 shlibpath_var
=LD_LIBRARY_PATH
10248 shlibpath_overrides_runpath
=yes
10250 freebsd3.
[01]* | freebsdelf3.
[01]*)
10251 shlibpath_overrides_runpath
=yes
10252 hardcode_into_libs
=yes
10254 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10255 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10256 shlibpath_overrides_runpath
=no
10257 hardcode_into_libs
=yes
10259 *) # from 4.6 on, and DragonFly
10260 shlibpath_overrides_runpath
=yes
10261 hardcode_into_libs
=yes
10270 dynamic_linker
="$host_os runtime_loader"
10271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10272 soname_spec
='${libname}${release}${shared_ext}$major'
10273 shlibpath_var
=LIBRARY_PATH
10274 shlibpath_overrides_runpath
=yes
10275 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10276 hardcode_into_libs
=yes
10279 hpux9
* | hpux10
* | hpux11
*)
10280 # Give a soname corresponding to the major version so that dld.sl refuses to
10281 # link against other versions.
10288 hardcode_into_libs
=yes
10289 dynamic_linker
="$host_os dld.so"
10290 shlibpath_var
=LD_LIBRARY_PATH
10291 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10293 soname_spec
='${libname}${release}${shared_ext}$major'
10294 if test "X$HPUX_IA64_MODE" = X32
; then
10295 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10297 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10299 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10303 hardcode_into_libs
=yes
10304 dynamic_linker
="$host_os dld.sl"
10305 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10306 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308 soname_spec
='${libname}${release}${shared_ext}$major'
10309 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10310 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10314 dynamic_linker
="$host_os dld.sl"
10315 shlibpath_var
=SHLIB_PATH
10316 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10318 soname_spec
='${libname}${release}${shared_ext}$major'
10321 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10322 postinstall_cmds
='chmod 555 $lib'
10323 # or fails outright, so override atomically:
10324 install_override_mode
=555
10331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10332 soname_spec
='${libname}${release}${shared_ext}$major'
10333 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10334 shlibpath_var
=LD_LIBRARY_PATH
10335 shlibpath_overrides_runpath
=no
10336 hardcode_into_libs
=yes
10339 irix5
* | irix6
* | nonstopux
*)
10341 nonstopux
*) version_type
=nonstopux
;;
10343 if test "$lt_cv_prog_gnu_ld" = yes; then
10351 soname_spec
='${libname}${release}${shared_ext}$major'
10352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10354 irix5
* | nonstopux
*)
10355 libsuff
= shlibsuff
=
10358 case $LD in # libtool.m4 will add one of these switches to LD
10359 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10360 libsuff
= shlibsuff
= libmagic
=32-bit;;
10361 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10362 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10363 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10364 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10365 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10369 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10370 shlibpath_overrides_runpath
=no
10371 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10372 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10373 hardcode_into_libs
=yes
10376 # No shared lib support for Linux oldld, aout, or coff.
10377 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10381 # This must be Linux ELF.
10383 # uclinux* changes (here and below) have been submitted to the libtool
10384 # project, but have not yet been accepted: they are GCC-local changes
10385 # for the time being. (See
10386 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10387 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10392 soname_spec
='${libname}${release}${shared_ext}$major'
10393 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10394 shlibpath_var
=LD_LIBRARY_PATH
10395 shlibpath_overrides_runpath
=no
10397 # Some binutils ld are patched to set DT_RUNPATH
10398 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10399 $as_echo_n "(cached) " >&6
10401 lt_cv_shlibpath_overrides_runpath
=no
10402 save_LDFLAGS
=$LDFLAGS
10403 save_libdir
=$libdir
10404 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10405 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10417 if ac_fn_c_try_link
"$LINENO"; then :
10418 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10419 lt_cv_shlibpath_overrides_runpath
=yes
10422 rm -f core conftest.err conftest.
$ac_objext \
10423 conftest
$ac_exeext conftest.
$ac_ext
10424 LDFLAGS
=$save_LDFLAGS
10425 libdir
=$save_libdir
10429 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10431 # This implies no fast_install, which is unacceptable.
10432 # Some rework will be needed to allow for fast_install
10433 # before this can be enabled.
10434 hardcode_into_libs
=yes
10436 # Append ld.so.conf contents to the search path
10437 if test -f /etc
/ld.so.conf
; then
10438 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' ' '`
10439 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10442 # We used to test for /lib/ld.so.1 and disable shared libraries on
10443 # powerpc, because MkLinux only supported shared libraries with the
10444 # GNU dynamic linker. Since this was broken with cross compilers,
10445 # most powerpc-linux boxes support dynamic linking these days and
10446 # people can always --disable-shared, the test was removed, and we
10447 # assume the GNU/Linux dynamic linker is in use.
10448 dynamic_linker
='GNU/Linux ld.so'
10455 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10457 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10458 dynamic_linker
='NetBSD (a.out) ld.so'
10460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10461 soname_spec
='${libname}${release}${shared_ext}$major'
10462 dynamic_linker
='NetBSD ld.elf_so'
10464 shlibpath_var
=LD_LIBRARY_PATH
10465 shlibpath_overrides_runpath
=yes
10466 hardcode_into_libs
=yes
10471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10472 shlibpath_var
=LD_LIBRARY_PATH
10473 shlibpath_overrides_runpath
=yes
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10481 soname_spec
='${libname}${release}${shared_ext}$major'
10482 shlibpath_var
=LD_LIBRARY_PATH
10483 shlibpath_overrides_runpath
=no
10484 hardcode_into_libs
=yes
10485 dynamic_linker
='ldqnx.so'
10490 sys_lib_dlsearch_path_spec
="/usr/lib"
10492 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10494 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10495 *) need_version
=no
;;
10497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10498 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10499 shlibpath_var
=LD_LIBRARY_PATH
10500 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10502 openbsd2.
[89] | openbsd2.
[89].
*)
10503 shlibpath_overrides_runpath
=no
10506 shlibpath_overrides_runpath
=yes
10510 shlibpath_overrides_runpath
=yes
10515 libname_spec
='$name'
10518 library_names_spec
='$libname${shared_ext} $libname.a'
10519 dynamic_linker
='OS/2 ld.exe'
10520 shlibpath_var
=LIBPATH
10523 osf3
* | osf4
* | osf5
*)
10527 soname_spec
='${libname}${release}${shared_ext}$major'
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 shlibpath_var
=LD_LIBRARY_PATH
10530 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10531 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 soname_spec
='${libname}${release}${shared_ext}$major'
10544 shlibpath_var
=LD_LIBRARY_PATH
10545 shlibpath_overrides_runpath
=yes
10546 hardcode_into_libs
=yes
10547 # ldd complains unless libraries are executable
10548 postinstall_cmds
='chmod +x $lib'
10553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10554 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10555 shlibpath_var
=LD_LIBRARY_PATH
10556 shlibpath_overrides_runpath
=yes
10557 if test "$with_gnu_ld" = yes; then
10565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566 soname_spec
='${libname}${release}${shared_ext}$major'
10567 shlibpath_var
=LD_LIBRARY_PATH
10568 case $host_vendor in
10570 shlibpath_overrides_runpath
=no
10572 runpath_var
=LD_RUN_PATH
10580 shlibpath_overrides_runpath
=no
10581 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10587 if test -d /usr
/nec
;then
10589 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10590 soname_spec
='$libname${shared_ext}.$major'
10591 shlibpath_var
=LD_LIBRARY_PATH
10595 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10596 version_type
=freebsd-elf
10599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10600 soname_spec
='${libname}${release}${shared_ext}$major'
10601 shlibpath_var
=LD_LIBRARY_PATH
10602 shlibpath_overrides_runpath
=yes
10603 hardcode_into_libs
=yes
10604 if test "$with_gnu_ld" = yes; then
10605 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10607 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10610 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10614 sys_lib_dlsearch_path_spec
='/usr/lib'
10618 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10623 shlibpath_var
=LD_LIBRARY_PATH
10624 shlibpath_overrides_runpath
=no
10625 hardcode_into_libs
=yes
10630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10631 soname_spec
='${libname}${release}${shared_ext}$major'
10632 shlibpath_var
=LD_LIBRARY_PATH
10635 # Shared libraries for VwWorks, >= 7 only at this stage
10636 # and (fpic) still incompatible with "large" code models
10637 # in a few configurations. Only for RTP mode in any case,
10638 # and upon explicit request at configure time.
10641 case ${with_multisubdir}-${enable_shared} in
10648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 soname_spec
='${libname}${release}${shared_ext}$major'
10650 dynamic_linker
="$host_os module_loader"
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10659 $as_echo "$dynamic_linker" >&6; }
10660 test "$dynamic_linker" = no
&& can_build_shared
=no
10662 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10663 if test "$GCC" = yes; then
10664 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10667 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10668 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10670 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10671 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10766 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10768 if test -n "$hardcode_libdir_flag_spec" ||
10769 test -n "$runpath_var" ||
10770 test "X$hardcode_automatic" = "Xyes" ; then
10772 # We can hardcode non-existent directories.
10773 if test "$hardcode_direct" != no
&&
10774 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10775 # have to relink, otherwise we might link with an installed library
10776 # when we should be linking with a yet-to-be-installed one
10777 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10778 test "$hardcode_minus_L" != no
; then
10779 # Linking always hardcodes the temporary library directory.
10780 hardcode_action
=relink
10782 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10783 hardcode_action
=immediate
10786 # We cannot hardcode anything, or else we can only hardcode existing
10788 hardcode_action
=unsupported
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10791 $as_echo "$hardcode_action" >&6; }
10793 if test "$hardcode_action" = relink ||
10794 test "$inherit_rpath" = yes; then
10795 # Fast installation is not supported
10796 enable_fast_install
=no
10797 elif test "$shlibpath_overrides_runpath" = yes ||
10798 test "$enable_shared" = no
; then
10799 # Fast installation is not necessary
10800 enable_fast_install
=needless
10808 if test "x$enable_dlopen" != xyes
; then
10809 enable_dlopen
=unknown
10810 enable_dlopen_self
=unknown
10811 enable_dlopen_self_static
=unknown
10818 lt_cv_dlopen
="load_add_on"
10820 lt_cv_dlopen_self
=yes
10823 mingw
* | pw32
* | cegcc
*)
10824 lt_cv_dlopen
="LoadLibrary"
10829 lt_cv_dlopen
="dlopen"
10834 # if libdl is installed we need to link against it
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10836 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10837 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10838 $as_echo_n "(cached) " >&6
10840 ac_check_lib_save_LIBS
=$LIBS
10842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10843 /* end confdefs.h. */
10845 /* Override any GCC internal prototype to avoid an error.
10846 Use char because int might match the return type of a GCC
10847 builtin and then its argument prototype would still apply. */
10860 if ac_fn_c_try_link
"$LINENO"; then :
10861 ac_cv_lib_dl_dlopen
=yes
10863 ac_cv_lib_dl_dlopen
=no
10865 rm -f core conftest.err conftest.
$ac_objext \
10866 conftest
$ac_exeext conftest.
$ac_ext
10867 LIBS
=$ac_check_lib_save_LIBS
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10870 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10871 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10872 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10875 lt_cv_dlopen
="dyld"
10877 lt_cv_dlopen_self
=yes
10884 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10885 if test "x$ac_cv_func_shl_load" = xyes
; then :
10886 lt_cv_dlopen
="shl_load"
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10889 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10890 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10891 $as_echo_n "(cached) " >&6
10893 ac_check_lib_save_LIBS
=$LIBS
10895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10898 /* Override any GCC internal prototype to avoid an error.
10899 Use char because int might match the return type of a GCC
10900 builtin and then its argument prototype would still apply. */
10908 return shl_load ();
10913 if ac_fn_c_try_link
"$LINENO"; then :
10914 ac_cv_lib_dld_shl_load
=yes
10916 ac_cv_lib_dld_shl_load
=no
10918 rm -f core conftest.err conftest.
$ac_objext \
10919 conftest
$ac_exeext conftest.
$ac_ext
10920 LIBS
=$ac_check_lib_save_LIBS
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10923 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10924 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10925 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10927 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10928 if test "x$ac_cv_func_dlopen" = xyes
; then :
10929 lt_cv_dlopen
="dlopen"
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10932 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10933 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10934 $as_echo_n "(cached) " >&6
10936 ac_check_lib_save_LIBS
=$LIBS
10938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10941 /* Override any GCC internal prototype to avoid an error.
10942 Use char because int might match the return type of a GCC
10943 builtin and then its argument prototype would still apply. */
10956 if ac_fn_c_try_link
"$LINENO"; then :
10957 ac_cv_lib_dl_dlopen
=yes
10959 ac_cv_lib_dl_dlopen
=no
10961 rm -f core conftest.err conftest.
$ac_objext \
10962 conftest
$ac_exeext conftest.
$ac_ext
10963 LIBS
=$ac_check_lib_save_LIBS
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10966 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10967 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10968 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10971 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10972 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10973 $as_echo_n "(cached) " >&6
10975 ac_check_lib_save_LIBS
=$LIBS
10976 LIBS
="-lsvld $LIBS"
10977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10995 if ac_fn_c_try_link
"$LINENO"; then :
10996 ac_cv_lib_svld_dlopen
=yes
10998 ac_cv_lib_svld_dlopen
=no
11000 rm -f core conftest.err conftest.
$ac_objext \
11001 conftest
$ac_exeext conftest.
$ac_ext
11002 LIBS
=$ac_check_lib_save_LIBS
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11005 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11006 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11007 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11010 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11011 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11012 $as_echo_n "(cached) " >&6
11014 ac_check_lib_save_LIBS
=$LIBS
11016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11029 return dld_link ();
11034 if ac_fn_c_try_link
"$LINENO"; then :
11035 ac_cv_lib_dld_dld_link
=yes
11037 ac_cv_lib_dld_dld_link
=no
11039 rm -f core conftest.err conftest.
$ac_objext \
11040 conftest
$ac_exeext conftest.
$ac_ext
11041 LIBS
=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11044 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11045 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11046 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11067 if test "x$lt_cv_dlopen" != xno
; then
11073 case $lt_cv_dlopen in
11075 save_CPPFLAGS
="$CPPFLAGS"
11076 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11078 save_LDFLAGS
="$LDFLAGS"
11079 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11082 LIBS
="$lt_cv_dlopen_libs $LIBS"
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11085 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11086 if ${lt_cv_dlopen_self+:} false
; then :
11087 $as_echo_n "(cached) " >&6
11089 if test "$cross_compiling" = yes; then :
11090 lt_cv_dlopen_self
=cross
11092 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11093 lt_status
=$lt_dlunknown
11094 cat > conftest.
$ac_ext <<_LT_EOF
11095 #line 11095 "configure"
11096 #include "confdefs.h"
11105 # define LT_DLGLOBAL RTLD_GLOBAL
11108 # define LT_DLGLOBAL DL_GLOBAL
11110 # define LT_DLGLOBAL 0
11114 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11115 find out it does not work in some platform. */
11116 #ifndef LT_DLLAZY_OR_NOW
11118 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11121 # define LT_DLLAZY_OR_NOW DL_LAZY
11124 # define LT_DLLAZY_OR_NOW RTLD_NOW
11127 # define LT_DLLAZY_OR_NOW DL_NOW
11129 # define LT_DLLAZY_OR_NOW 0
11136 /* When -fvisbility=hidden is used, assume the code has been annotated
11137 correspondingly for the symbols needed. */
11138 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11139 void fnord () __attribute__((visibility("default")));
11142 void fnord () { int i=42; }
11145 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11146 int status = $lt_dlunknown;
11150 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11153 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11154 else puts (dlerror ());
11156 /* dlclose (self); */
11164 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11165 (eval $ac_link) 2>&5
11167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11168 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11169 (.
/conftest
; exit; ) >&5 2>/dev
/null
11171 case x
$lt_status in
11172 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11173 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11174 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11177 # compilation failed
11178 lt_cv_dlopen_self
=no
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11186 $as_echo "$lt_cv_dlopen_self" >&6; }
11188 if test "x$lt_cv_dlopen_self" = xyes
; then
11189 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11191 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11192 if ${lt_cv_dlopen_self_static+:} false
; then :
11193 $as_echo_n "(cached) " >&6
11195 if test "$cross_compiling" = yes; then :
11196 lt_cv_dlopen_self_static
=cross
11198 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11199 lt_status
=$lt_dlunknown
11200 cat > conftest.
$ac_ext <<_LT_EOF
11201 #line 11201 "configure"
11202 #include "confdefs.h"
11211 # define LT_DLGLOBAL RTLD_GLOBAL
11214 # define LT_DLGLOBAL DL_GLOBAL
11216 # define LT_DLGLOBAL 0
11220 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11221 find out it does not work in some platform. */
11222 #ifndef LT_DLLAZY_OR_NOW
11224 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11227 # define LT_DLLAZY_OR_NOW DL_LAZY
11230 # define LT_DLLAZY_OR_NOW RTLD_NOW
11233 # define LT_DLLAZY_OR_NOW DL_NOW
11235 # define LT_DLLAZY_OR_NOW 0
11242 /* When -fvisbility=hidden is used, assume the code has been annotated
11243 correspondingly for the symbols needed. */
11244 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11245 void fnord () __attribute__((visibility("default")));
11248 void fnord () { int i=42; }
11251 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11252 int status = $lt_dlunknown;
11256 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11259 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11260 else puts (dlerror ());
11262 /* dlclose (self); */
11270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11271 (eval $ac_link) 2>&5
11273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11274 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11275 (.
/conftest
; exit; ) >&5 2>/dev
/null
11277 case x
$lt_status in
11278 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11279 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11280 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11283 # compilation failed
11284 lt_cv_dlopen_self_static
=no
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11292 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11295 CPPFLAGS
="$save_CPPFLAGS"
11296 LDFLAGS
="$save_LDFLAGS"
11301 case $lt_cv_dlopen_self in
11302 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11303 *) enable_dlopen_self
=unknown
;;
11306 case $lt_cv_dlopen_self_static in
11307 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11308 *) enable_dlopen_self_static
=unknown
;;
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11331 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11332 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11333 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11334 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11336 $as_echo "yes" >&6; }
11338 # FIXME - insert some real tests, host_os isn't really good enough
11341 if test -n "$STRIP" ; then
11342 striplib
="$STRIP -x"
11343 old_striplib
="$STRIP -S"
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11345 $as_echo "yes" >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11348 $as_echo "no" >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11353 $as_echo "no" >&6; }
11369 # Report which library types will actually be built
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11371 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11373 $as_echo "$can_build_shared" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11376 $as_echo_n "checking whether to build shared libraries... " >&6; }
11377 test "$can_build_shared" = "no" && enable_shared
=no
11379 # On AIX, shared libraries and static libraries use the same namespace, and
11380 # are all built from PIC.
11383 test "$enable_shared" = yes && enable_static
=no
11384 if test -n "$RANLIB"; then
11385 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11386 postinstall_cmds
='$RANLIB $lib'
11391 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11392 test "$enable_shared" = yes && enable_static
=no
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11397 $as_echo "$enable_shared" >&6; }
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11400 $as_echo_n "checking whether to build static libraries... " >&6; }
11401 # Make sure either enable_shared or enable_static is yes.
11402 test "$enable_shared" = yes || enable_static
=yes
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11404 $as_echo "$enable_static" >&6; }
11411 ac_cpp
='$CPP $CPPFLAGS'
11412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11430 ac_config_commands
="$ac_config_commands libtool"
11435 # Only expand once:
11440 .
${srcdir}/..
/bfd
/development.sh
11441 test "$development" = true
&& ac_checking
=yes
11442 # Check whether --enable-checking was given.
11443 if test "${enable_checking+set}" = set; then :
11444 enableval
=$enable_checking; case "${enableval}" in
11445 no|none
) ac_checking
= ;;
11446 *) ac_checking
=yes ;;
11449 if test x
$ac_checking != x
; then
11451 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
11455 # Check whether --enable-targets was given.
11456 if test "${enable_targets+set}" = set; then :
11457 enableval
=$enable_targets; case "${enableval}" in
11458 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11460 no
) enable_targets
= ;;
11461 *) enable_targets
=$enableval ;;
11466 # Set the 'development' global.
11467 .
$srcdir/..
/bfd
/development.sh
11469 # Set acp_cpp_for_build variable
11470 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
11472 # Default set of GCC warnings to enable.
11473 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11474 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11476 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11482 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11485 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
11490 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11496 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11504 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
11505 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
11513 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
11514 WARN_WRITE_STRINGS
=""
11515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11520 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11523 WARN_WRITE_STRINGS
="-Wwrite-strings"
11528 # Verify CC_FOR_BUILD to be compatible with warning flags
11530 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11535 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11536 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11539 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
11544 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11546 /* end confdefs.h. */
11549 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11550 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11557 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11558 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
11559 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
11567 # Check whether --enable-werror was given.
11568 if test "${enable_werror+set}" = set; then :
11569 enableval
=$enable_werror; case "${enableval}" in
11570 yes | y
) ERROR_ON_WARNING
="yes" ;;
11571 no | n
) ERROR_ON_WARNING
="no" ;;
11572 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11577 # Disable -Wformat by default when using gcc on mingw
11580 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11581 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11582 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
11588 # Enable -Werror by default when using gcc. Turn it off for releases.
11589 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
11590 ERROR_ON_WARNING
=yes
11594 if test "${ERROR_ON_WARNING}" = yes ; then
11595 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11596 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
11597 NO_WERROR
="-Wno-error"
11600 if test "${GCC}" = yes ; then
11601 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11602 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
11605 # Check whether --enable-build-warnings was given.
11606 if test "${enable_build_warnings+set}" = set; then :
11607 enableval
=$enable_build_warnings; case "${enableval}" in
11608 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11609 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
11610 no
) if test "${GCC}" = yes ; then
11612 WARN_CFLAGS_FOR_BUILD
="-w"
11614 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11615 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
11616 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
11617 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11618 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
11619 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
11620 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
11621 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11626 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11627 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11636 ac_config_headers
="$ac_config_headers config.h:config.in"
11642 if test -z "$target" ; then
11643 as_fn_error $?
"Unrecognized target system type; please check config.sub." "$LINENO" 5
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11648 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11649 # Check whether --enable-maintainer-mode was given.
11650 if test "${enable_maintainer_mode+set}" = set; then :
11651 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11653 USE_MAINTAINER_MODE
=no
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11657 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11658 if test $USE_MAINTAINER_MODE = yes; then
11659 MAINTAINER_MODE_TRUE
=
11660 MAINTAINER_MODE_FALSE
='#'
11662 MAINTAINER_MODE_TRUE
='#'
11663 MAINTAINER_MODE_FALSE
=
11666 MAINT
=$MAINTAINER_MODE_TRUE
11669 case ${build_alias} in
11670 "") build_noncanonical
=${build} ;;
11671 *) build_noncanonical
=${build_alias} ;;
11674 case ${host_alias} in
11675 "") host_noncanonical
=${build_noncanonical} ;;
11676 *) host_noncanonical
=${host_alias} ;;
11679 case ${target_alias} in
11680 "") target_noncanonical
=${host_noncanonical} ;;
11681 *) target_noncanonical
=${target_alias} ;;
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
11685 $as_echo_n "checking whether to install libbfd... " >&6; }
11686 # Check whether --enable-install-libbfd was given.
11687 if test "${enable_install_libbfd+set}" = set; then :
11688 enableval
=$enable_install_libbfd; install_libbfd_p
=$enableval
11690 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
11691 install_libbfd_p
=yes
11693 install_libbfd_p
=no
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
11698 $as_echo "$install_libbfd_p" >&6; }
11699 if test $install_libbfd_p = yes; then
11700 INSTALL_LIBBFD_TRUE
=
11701 INSTALL_LIBBFD_FALSE
='#'
11703 INSTALL_LIBBFD_TRUE
='#'
11704 INSTALL_LIBBFD_FALSE
=
11707 # Need _noncanonical variables for this.
11712 # libbfd.a is a host library containing target dependent code
11713 bfdlibdir
='$(libdir)'
11714 bfdincludedir
='$(includedir)'
11715 if test "${host}" != "${target}"; then
11716 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
11717 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
11727 # host-specific stuff:
11729 ALL_LINGUAS
="da de es fi fr ga id it nl pt_BR ro sr sv tr uk vi zh_CN"
11732 if test -n "$ac_aux_dir"; then
11733 case "$ac_aux_dir" in
11734 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11735 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11738 if test -z "$MKINSTALLDIRS"; then
11739 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11745 $as_echo_n "checking whether NLS is requested... " >&6; }
11746 # Check whether --enable-nls was given.
11747 if test "${enable_nls+set}" = set; then :
11748 enableval
=$enable_nls; USE_NLS
=$enableval
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11754 $as_echo "$USE_NLS" >&6; }
11761 # Prepare PATH_SEPARATOR.
11762 # The user is always right.
11763 if test "${PATH_SEPARATOR+set}" != set; then
11764 echo "#! /bin/sh" >conf$$.sh
11765 echo "exit 0" >>conf$$.sh
11767 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11775 # Find out how to test for executable files. Don't use a zero-byte file,
11776 # as systems may use methods other than mode bits to determine executability.
11777 cat >conf$$.
file <<_ASEOF
11781 chmod +x conf$$.
file
11782 if test -x conf$$.
file >/dev
/null
2>&1; then
11783 ac_executable_p
="test -x"
11785 ac_executable_p
="test -f"
11789 # Extract the first word of "msgfmt", so it can be a program name with args.
11790 set dummy msgfmt
; ac_word
=$2
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11792 $as_echo_n "checking for $ac_word... " >&6; }
11793 if ${ac_cv_path_MSGFMT+:} false
; then :
11794 $as_echo_n "(cached) " >&6
11798 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11801 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11802 for ac_dir
in $PATH; do
11804 test -z "$ac_dir" && ac_dir
=.
11805 for ac_exec_ext
in '' $ac_executable_extensions; do
11806 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11807 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11808 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11809 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11816 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11820 MSGFMT
="$ac_cv_path_MSGFMT"
11821 if test "$MSGFMT" != ":"; then
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11823 $as_echo "$MSGFMT" >&6; }
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11826 $as_echo "no" >&6; }
11829 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11830 set dummy gmsgfmt
; ac_word
=$2
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11832 $as_echo_n "checking for $ac_word... " >&6; }
11833 if ${ac_cv_path_GMSGFMT+:} false
; then :
11834 $as_echo_n "(cached) " >&6
11838 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11842 for as_dir
in $PATH
11845 test -z "$as_dir" && as_dir
=.
11846 for ac_exec_ext
in '' $ac_executable_extensions; do
11847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11848 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11856 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11860 GMSGFMT
=$ac_cv_path_GMSGFMT
11861 if test -n "$GMSGFMT"; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11863 $as_echo "$GMSGFMT" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11872 # Prepare PATH_SEPARATOR.
11873 # The user is always right.
11874 if test "${PATH_SEPARATOR+set}" != set; then
11875 echo "#! /bin/sh" >conf$$.sh
11876 echo "exit 0" >>conf$$.sh
11878 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11886 # Find out how to test for executable files. Don't use a zero-byte file,
11887 # as systems may use methods other than mode bits to determine executability.
11888 cat >conf$$.
file <<_ASEOF
11892 chmod +x conf$$.
file
11893 if test -x conf$$.
file >/dev
/null
2>&1; then
11894 ac_executable_p
="test -x"
11896 ac_executable_p
="test -f"
11900 # Extract the first word of "xgettext", so it can be a program name with args.
11901 set dummy xgettext
; ac_word
=$2
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11903 $as_echo_n "checking for $ac_word... " >&6; }
11904 if ${ac_cv_path_XGETTEXT+:} false
; then :
11905 $as_echo_n "(cached) " >&6
11907 case "$XGETTEXT" in
11909 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11912 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11913 for ac_dir
in $PATH; do
11915 test -z "$ac_dir" && ac_dir
=.
11916 for ac_exec_ext
in '' $ac_executable_extensions; do
11917 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11918 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11919 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11920 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11927 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11931 XGETTEXT
="$ac_cv_path_XGETTEXT"
11932 if test "$XGETTEXT" != ":"; then
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11934 $as_echo "$XGETTEXT" >&6; }
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11937 $as_echo "no" >&6; }
11943 # Prepare PATH_SEPARATOR.
11944 # The user is always right.
11945 if test "${PATH_SEPARATOR+set}" != set; then
11946 echo "#! /bin/sh" >conf$$.sh
11947 echo "exit 0" >>conf$$.sh
11949 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11957 # Find out how to test for executable files. Don't use a zero-byte file,
11958 # as systems may use methods other than mode bits to determine executability.
11959 cat >conf$$.
file <<_ASEOF
11963 chmod +x conf$$.
file
11964 if test -x conf$$.
file >/dev
/null
2>&1; then
11965 ac_executable_p
="test -x"
11967 ac_executable_p
="test -f"
11971 # Extract the first word of "msgmerge", so it can be a program name with args.
11972 set dummy msgmerge
; ac_word
=$2
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11974 $as_echo_n "checking for $ac_word... " >&6; }
11975 if ${ac_cv_path_MSGMERGE+:} false
; then :
11976 $as_echo_n "(cached) " >&6
11978 case "$MSGMERGE" in
11980 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11983 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11984 for ac_dir
in $PATH; do
11986 test -z "$ac_dir" && ac_dir
=.
11987 for ac_exec_ext
in '' $ac_executable_extensions; do
11988 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11989 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11990 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11997 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12001 MSGMERGE
="$ac_cv_path_MSGMERGE"
12002 if test "$MSGMERGE" != ":"; then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12004 $as_echo "$MSGMERGE" >&6; }
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12007 $as_echo "no" >&6; }
12011 if test "$GMSGFMT" != ":"; then
12012 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12013 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12016 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12018 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12023 if test "$XGETTEXT" != ":"; then
12024 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12025 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12029 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12035 ac_config_commands
="$ac_config_commands default-1"
12039 if test "X$prefix" = "XNONE"; then
12040 acl_final_prefix
="$ac_default_prefix"
12042 acl_final_prefix
="$prefix"
12044 if test "X$exec_prefix" = "XNONE"; then
12045 acl_final_exec_prefix
='${prefix}'
12047 acl_final_exec_prefix
="$exec_prefix"
12049 acl_save_prefix
="$prefix"
12050 prefix
="$acl_final_prefix"
12051 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12052 prefix
="$acl_save_prefix"
12055 # Check whether --with-gnu-ld was given.
12056 if test "${with_gnu_ld+set}" = set; then :
12057 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12062 # Prepare PATH_SEPARATOR.
12063 # The user is always right.
12064 if test "${PATH_SEPARATOR+set}" != set; then
12065 echo "#! /bin/sh" >conf$$.sh
12066 echo "exit 0" >>conf$$.sh
12068 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12076 if test "$GCC" = yes; then
12077 # Check if gcc -print-prog-name=ld gives a path.
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12079 $as_echo_n "checking for ld used by GCC... " >&6; }
12082 # gcc leaves a trailing carriage return which upsets mingw
12083 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12085 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12088 # Accept absolute paths.
12089 [\\/]* |
[A-Za-z
]:[\\/]*)
12090 re_direlt
='/[^/][^/]*/\.\./'
12091 # Canonicalize the path of ld
12092 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12093 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12094 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12096 test -z "$LD" && LD
="$ac_prog"
12099 # If it fails, then pretend we aren't using GCC.
12103 # If it is relative, then search for the first ld in PATH.
12104 with_gnu_ld
=unknown
12107 elif test "$with_gnu_ld" = yes; then
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12109 $as_echo_n "checking for GNU ld... " >&6; }
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12112 $as_echo_n "checking for non-GNU ld... " >&6; }
12114 if ${acl_cv_path_LD+:} false
; then :
12115 $as_echo_n "(cached) " >&6
12117 if test -z "$LD"; then
12118 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12119 for ac_dir
in $PATH; do
12120 test -z "$ac_dir" && ac_dir
=.
12121 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12122 acl_cv_path_LD
="$ac_dir/$ac_prog"
12123 # Check to see if the program is GNU ld. I'd rather use --version,
12124 # but apparently some GNU ld's only accept -v.
12125 # Break only if it was the GNU/non-GNU ld that we prefer.
12126 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
$EGREP '(GNU|with BFD)' > /dev
/null
; then
12127 test "$with_gnu_ld" != no
&& break
12129 test "$with_gnu_ld" != yes && break
12135 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
12139 LD
="$acl_cv_path_LD"
12140 if test -n "$LD"; then
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12142 $as_echo "$LD" >&6; }
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12145 $as_echo "no" >&6; }
12147 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12149 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12150 if ${acl_cv_prog_gnu_ld+:} false
; then :
12151 $as_echo_n "(cached) " >&6
12153 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12154 if $LD -v 2>&1 </dev
/null |
$EGREP '(GNU|with BFD)' 1>&5; then
12155 acl_cv_prog_gnu_ld
=yes
12157 acl_cv_prog_gnu_ld
=no
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12161 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12162 with_gnu_ld
=$acl_cv_prog_gnu_ld
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12167 $as_echo_n "checking for shared library run path origin... " >&6; }
12168 if ${acl_cv_rpath+:} false
; then :
12169 $as_echo_n "(cached) " >&6
12172 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
12173 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12175 rm -f .
/conftest.sh
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12180 $as_echo "$acl_cv_rpath" >&6; }
12182 libext
="$acl_cv_libext"
12183 shlibext
="$acl_cv_shlibext"
12184 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
12185 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
12186 hardcode_direct
="$acl_cv_hardcode_direct"
12187 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
12188 # Check whether --enable-rpath was given.
12189 if test "${enable_rpath+set}" = set; then :
12190 enableval
=$enable_rpath; :
12204 acl_save_prefix
="$prefix"
12205 prefix
="$acl_final_prefix"
12206 acl_save_exec_prefix
="$exec_prefix"
12207 exec_prefix
="$acl_final_exec_prefix"
12209 eval additional_includedir
=\"$includedir\"
12210 eval additional_libdir
=\"$libdir\"
12212 exec_prefix
="$acl_save_exec_prefix"
12213 prefix
="$acl_save_prefix"
12216 # Check whether --with-libiconv-prefix was given.
12217 if test "${with_libiconv_prefix+set}" = set; then :
12218 withval
=$with_libiconv_prefix;
12219 if test "X$withval" = "Xno"; then
12222 if test "X$withval" = "X"; then
12224 acl_save_prefix
="$prefix"
12225 prefix
="$acl_final_prefix"
12226 acl_save_exec_prefix
="$exec_prefix"
12227 exec_prefix
="$acl_final_exec_prefix"
12229 eval additional_includedir
=\"$includedir\"
12230 eval additional_libdir
=\"$libdir\"
12232 exec_prefix
="$acl_save_exec_prefix"
12233 prefix
="$acl_save_prefix"
12236 additional_includedir
="$withval/include"
12237 additional_libdir
="$withval/lib"
12244 # Check whether --with-libiconv-type was given.
12245 if test "${with_libiconv_type+set}" = set; then :
12246 withval
=$with_libiconv_type; with_libiconv_type
=$withval
12248 with_libiconv_type
=auto
12251 lib_type
=`eval echo \$with_libiconv_type`
12258 names_already_handled
=
12259 names_next_round
='iconv '
12260 while test -n "$names_next_round"; do
12261 names_this_round
="$names_next_round"
12263 for name
in $names_this_round; do
12265 for n
in $names_already_handled; do
12266 if test "$n" = "$name"; then
12267 already_handled
=yes
12271 if test -z "$already_handled"; then
12272 names_already_handled
="$names_already_handled $name"
12273 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12274 eval value
=\"\
$HAVE_LIB$uppername\"
12275 if test -n "$value"; then
12276 if test "$value" = yes; then
12277 eval value
=\"\
$LIB$uppername\"
12278 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12279 eval value
=\"\
$LTLIB$uppername\"
12280 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12289 if test $use_additional = yes; then
12290 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
12291 found_dir
="$additional_libdir"
12292 found_so
="$additional_libdir/lib$name.$shlibext"
12293 if test -f "$additional_libdir/lib$name.la"; then
12294 found_la
="$additional_libdir/lib$name.la"
12296 elif test x
$lib_type != xshared
; then
12297 if test -f "$additional_libdir/lib$name.$libext"; then
12298 found_dir
="$additional_libdir"
12299 found_a
="$additional_libdir/lib$name.$libext"
12300 if test -f "$additional_libdir/lib$name.la"; then
12301 found_la
="$additional_libdir/lib$name.la"
12306 if test "X$found_dir" = "X"; then
12307 for x
in $LDFLAGS $LTLIBICONV; do
12309 acl_save_prefix
="$prefix"
12310 prefix
="$acl_final_prefix"
12311 acl_save_exec_prefix
="$exec_prefix"
12312 exec_prefix
="$acl_final_exec_prefix"
12314 exec_prefix
="$acl_save_exec_prefix"
12315 prefix
="$acl_save_prefix"
12319 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12320 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
12322 found_so
="$dir/lib$name.$shlibext"
12323 if test -f "$dir/lib$name.la"; then
12324 found_la
="$dir/lib$name.la"
12326 elif test x
$lib_type != xshared
; then
12327 if test -f "$dir/lib$name.$libext"; then
12329 found_a
="$dir/lib$name.$libext"
12330 if test -f "$dir/lib$name.la"; then
12331 found_la
="$dir/lib$name.la"
12337 if test "X$found_dir" != "X"; then
12342 if test "X$found_dir" != "X"; then
12343 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12344 if test "X$found_so" != "X"; then
12345 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
12346 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12349 for x
in $ltrpathdirs; do
12350 if test "X$x" = "X$found_dir"; then
12355 if test -z "$haveit"; then
12356 ltrpathdirs
="$ltrpathdirs $found_dir"
12358 if test "$hardcode_direct" = yes; then
12359 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12361 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12362 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12364 for x
in $rpathdirs; do
12365 if test "X$x" = "X$found_dir"; then
12370 if test -z "$haveit"; then
12371 rpathdirs
="$rpathdirs $found_dir"
12375 for x
in $LDFLAGS $LIBICONV; do
12377 acl_save_prefix
="$prefix"
12378 prefix
="$acl_final_prefix"
12379 acl_save_exec_prefix
="$exec_prefix"
12380 exec_prefix
="$acl_final_exec_prefix"
12382 exec_prefix
="$acl_save_exec_prefix"
12383 prefix
="$acl_save_prefix"
12385 if test "X$x" = "X-L$found_dir"; then
12390 if test -z "$haveit"; then
12391 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12393 if test "$hardcode_minus_L" != no
; then
12394 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12396 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12402 if test "X$found_a" != "X"; then
12403 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12405 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12408 additional_includedir
=
12409 case "$found_dir" in
12411 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12412 additional_includedir
="$basedir/include"
12415 if test "X$additional_includedir" != "X"; then
12416 if test "X$additional_includedir" != "X/usr/include"; then
12418 if test "X$additional_includedir" = "X/usr/local/include"; then
12419 if test -n "$GCC"; then
12421 linux
*) haveit
=yes;;
12425 if test -z "$haveit"; then
12426 for x
in $CPPFLAGS $INCICONV; do
12428 acl_save_prefix
="$prefix"
12429 prefix
="$acl_final_prefix"
12430 acl_save_exec_prefix
="$exec_prefix"
12431 exec_prefix
="$acl_final_exec_prefix"
12433 exec_prefix
="$acl_save_exec_prefix"
12434 prefix
="$acl_save_prefix"
12436 if test "X$x" = "X-I$additional_includedir"; then
12441 if test -z "$haveit"; then
12442 if test -d "$additional_includedir"; then
12443 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12449 if test -n "$found_la"; then
12450 save_libdir
="$libdir"
12451 case "$found_la" in
12452 */* |
*\\*) .
"$found_la" ;;
12453 *) .
"./$found_la" ;;
12455 libdir
="$save_libdir"
12456 for dep
in $dependency_libs; do
12459 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12460 if test "X$additional_libdir" != "X/usr/lib"; then
12462 if test "X$additional_libdir" = "X/usr/local/lib"; then
12463 if test -n "$GCC"; then
12465 linux
*) haveit
=yes;;
12469 if test -z "$haveit"; then
12471 for x
in $LDFLAGS $LIBICONV; do
12473 acl_save_prefix
="$prefix"
12474 prefix
="$acl_final_prefix"
12475 acl_save_exec_prefix
="$exec_prefix"
12476 exec_prefix
="$acl_final_exec_prefix"
12478 exec_prefix
="$acl_save_exec_prefix"
12479 prefix
="$acl_save_prefix"
12481 if test "X$x" = "X-L$additional_libdir"; then
12486 if test -z "$haveit"; then
12487 if test -d "$additional_libdir"; then
12488 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12492 for x
in $LDFLAGS $LTLIBICONV; do
12494 acl_save_prefix
="$prefix"
12495 prefix
="$acl_final_prefix"
12496 acl_save_exec_prefix
="$exec_prefix"
12497 exec_prefix
="$acl_final_exec_prefix"
12499 exec_prefix
="$acl_save_exec_prefix"
12500 prefix
="$acl_save_prefix"
12502 if test "X$x" = "X-L$additional_libdir"; then
12507 if test -z "$haveit"; then
12508 if test -d "$additional_libdir"; then
12509 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12516 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12517 if test "$enable_rpath" != no
; then
12519 for x
in $rpathdirs; do
12520 if test "X$x" = "X$dir"; then
12525 if test -z "$haveit"; then
12526 rpathdirs
="$rpathdirs $dir"
12529 for x
in $ltrpathdirs; do
12530 if test "X$x" = "X$dir"; then
12535 if test -z "$haveit"; then
12536 ltrpathdirs
="$ltrpathdirs $dir"
12541 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12544 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12547 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12548 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12554 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
12555 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12556 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12558 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
12559 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
12566 if test "X$rpathdirs" != "X"; then
12567 if test -n "$hardcode_libdir_separator"; then
12569 for found_dir
in $rpathdirs; do
12570 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12572 acl_save_libdir
="$libdir"
12574 eval flag
=\"$hardcode_libdir_flag_spec\"
12575 libdir
="$acl_save_libdir"
12576 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12578 for found_dir
in $rpathdirs; do
12579 acl_save_libdir
="$libdir"
12580 libdir
="$found_dir"
12581 eval flag
=\"$hardcode_libdir_flag_spec\"
12582 libdir
="$acl_save_libdir"
12583 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12587 if test "X$ltrpathdirs" != "X"; then
12588 for found_dir
in $ltrpathdirs; do
12589 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12597 if test -f ..
/gettext
/uninstalled-config.sh
; then
12598 relative_builddir
='$(top_builddir)/../gettext'
12599 . ..
/gettext
/uninstalled-config.sh
12601 # The sister gettext directory doesn't exist and won't collect information on
12602 # using gettext for us. Call a bundled AM_GNU_GETTEXT.
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12627 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12628 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
12629 $as_echo_n "(cached) " >&6
12631 gt_save_LIBS
="$LIBS"
12632 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
12633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12635 #include <CoreFoundation/CFPreferences.h>
12639 CFPreferencesCopyAppValue(NULL, NULL)
12644 if ac_fn_c_try_link
"$LINENO"; then :
12645 gt_cv_func_CFPreferencesCopyAppValue
=yes
12647 gt_cv_func_CFPreferencesCopyAppValue
=no
12649 rm -f core conftest.err conftest.
$ac_objext \
12650 conftest
$ac_exeext conftest.
$ac_ext
12651 LIBS
="$gt_save_LIBS"
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12654 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12655 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12657 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
12661 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
12662 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false
; then :
12663 $as_echo_n "(cached) " >&6
12665 gt_save_LIBS
="$LIBS"
12666 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
12667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12669 #include <CoreFoundation/CFLocale.h>
12673 CFLocaleCopyPreferredLanguages();
12678 if ac_fn_c_try_link
"$LINENO"; then :
12679 gt_cv_func_CFLocaleCopyPreferredLanguages
=yes
12681 gt_cv_func_CFLocaleCopyPreferredLanguages
=no
12683 rm -f core conftest.err conftest.
$ac_objext \
12684 conftest
$ac_exeext conftest.
$ac_ext
12685 LIBS
="$gt_save_LIBS"
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
12688 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
12689 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
12691 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
12695 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
12696 ||
test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
12697 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
12709 case " $gt_needs " in
12710 *" need-formatstring-macros "*) gt_api_version
=3 ;;
12711 *" need-ngettext "*) gt_api_version
=2 ;;
12712 *) gt_api_version
=1 ;;
12714 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
12715 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
12717 if test "$USE_NLS" = "yes"; then
12718 gt_use_preinstalled_gnugettext
=no
12721 if test $gt_api_version -ge 3; then
12722 gt_revision_test_code
='
12723 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12724 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12726 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12729 gt_revision_test_code
=
12731 if test $gt_api_version -ge 2; then
12732 gt_expression_test_code
=' + * ngettext ("", "", 0)'
12734 gt_expression_test_code
=
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12738 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12739 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
12740 $as_echo_n "(cached) " >&6
12742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12745 #include <libintl.h>
12746 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12747 extern int _nl_msg_cat_cntr;
12748 extern int *_nl_domain_bindings;
12749 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
12751 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
12753 $gt_revision_test_code
12759 bindtextdomain ("", "");
12760 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
12766 if ac_fn_c_try_link
"$LINENO"; then :
12767 eval "$gt_func_gnugettext_libc=yes"
12769 eval "$gt_func_gnugettext_libc=no"
12771 rm -f core conftest.err conftest.
$ac_objext \
12772 conftest
$ac_exeext conftest.
$ac_ext
12774 eval ac_res
=\$
$gt_func_gnugettext_libc
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12776 $as_echo "$ac_res" >&6; }
12778 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12784 am_save_CPPFLAGS
="$CPPFLAGS"
12786 for element
in $INCICONV; do
12788 for x
in $CPPFLAGS; do
12790 acl_save_prefix
="$prefix"
12791 prefix
="$acl_final_prefix"
12792 acl_save_exec_prefix
="$exec_prefix"
12793 exec_prefix
="$acl_final_exec_prefix"
12795 exec_prefix
="$acl_save_exec_prefix"
12796 prefix
="$acl_save_prefix"
12798 if test "X$x" = "X$element"; then
12803 if test -z "$haveit"; then
12804 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12810 $as_echo_n "checking for iconv... " >&6; }
12811 if ${am_cv_func_iconv+:} false
; then :
12812 $as_echo_n "(cached) " >&6
12815 am_cv_func_iconv
="no, consider installing GNU libiconv"
12817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 #include <stdlib.h>
12826 iconv_t cd = iconv_open("","");
12827 iconv(cd,NULL,NULL,NULL,NULL);
12833 if ac_fn_c_try_link
"$LINENO"; then :
12834 am_cv_func_iconv
=yes
12836 rm -f core conftest.err conftest.
$ac_objext \
12837 conftest
$ac_exeext conftest.
$ac_ext
12838 if test "$am_cv_func_iconv" != yes; then
12839 am_save_LIBS
="$LIBS"
12840 LIBS
="$LIBS $LIBICONV"
12841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 #include <stdlib.h>
12850 iconv_t cd = iconv_open("","");
12851 iconv(cd,NULL,NULL,NULL,NULL);
12857 if ac_fn_c_try_link
"$LINENO"; then :
12858 am_cv_lib_iconv
=yes
12859 am_cv_func_iconv
=yes
12861 rm -f core conftest.err conftest.
$ac_objext \
12862 conftest
$ac_exeext conftest.
$ac_ext
12863 LIBS
="$am_save_LIBS"
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12868 $as_echo "$am_cv_func_iconv" >&6; }
12869 if test "$am_cv_func_iconv" = yes; then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
12871 $as_echo_n "checking for working iconv... " >&6; }
12872 if ${am_cv_func_iconv_works+:} false
; then :
12873 $as_echo_n "(cached) " >&6
12876 am_save_LIBS
="$LIBS"
12877 if test $am_cv_lib_iconv = yes; then
12878 LIBS
="$LIBS $LIBICONV"
12880 am_cv_func_iconv_works
=no
12881 for ac_iconv_const
in '' 'const'; do
12882 if test "$cross_compiling" = yes; then :
12884 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
12885 *) am_cv_func_iconv_works
="guessing yes" ;;
12888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12892 #include <string.h>
12894 #ifndef ICONV_CONST
12895 # define ICONV_CONST $ac_iconv_const
12902 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
12903 successful returns. This is even documented in
12904 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
12906 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
12907 if (cd_utf8_to_88591 != (iconv_t)(-1))
12909 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
12911 ICONV_CONST char *inptr = input;
12912 size_t inbytesleft = strlen (input);
12913 char *outptr = buf;
12914 size_t outbytesleft = sizeof (buf);
12915 size_t res = iconv (cd_utf8_to_88591,
12916 &inptr, &inbytesleft,
12917 &outptr, &outbytesleft);
12920 iconv_close (cd_utf8_to_88591);
12923 /* Test against Solaris 10 bug: Failures are not distinguishable from
12924 successful returns. */
12926 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
12927 if (cd_ascii_to_88591 != (iconv_t)(-1))
12929 static ICONV_CONST char input[] = "\263";
12931 ICONV_CONST char *inptr = input;
12932 size_t inbytesleft = strlen (input);
12933 char *outptr = buf;
12934 size_t outbytesleft = sizeof (buf);
12935 size_t res = iconv (cd_ascii_to_88591,
12936 &inptr, &inbytesleft,
12937 &outptr, &outbytesleft);
12940 iconv_close (cd_ascii_to_88591);
12943 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
12945 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
12946 if (cd_88591_to_utf8 != (iconv_t)(-1))
12948 static ICONV_CONST char input[] = "\304";
12949 static char buf[2] = { (char)0xDE, (char)0xAD };
12950 ICONV_CONST char *inptr = input;
12951 size_t inbytesleft = 1;
12952 char *outptr = buf;
12953 size_t outbytesleft = 1;
12954 size_t res = iconv (cd_88591_to_utf8,
12955 &inptr, &inbytesleft,
12956 &outptr, &outbytesleft);
12957 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
12959 iconv_close (cd_88591_to_utf8);
12962 #if 0 /* This bug could be worked around by the caller. */
12963 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
12965 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
12966 if (cd_88591_to_utf8 != (iconv_t)(-1))
12968 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
12970 ICONV_CONST char *inptr = input;
12971 size_t inbytesleft = strlen (input);
12972 char *outptr = buf;
12973 size_t outbytesleft = sizeof (buf);
12974 size_t res = iconv (cd_88591_to_utf8,
12975 &inptr, &inbytesleft,
12976 &outptr, &outbytesleft);
12979 iconv_close (cd_88591_to_utf8);
12983 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
12986 /* Try standardized names. */
12987 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
12988 /* Try IRIX, OSF/1 names. */
12989 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
12990 /* Try AIX names. */
12991 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
12992 /* Try HP-UX names. */
12993 iconv_t cd4 = iconv_open ("utf8", "eucJP");
12994 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
12995 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
12997 if (cd1 != (iconv_t)(-1))
12999 if (cd2 != (iconv_t)(-1))
13001 if (cd3 != (iconv_t)(-1))
13003 if (cd4 != (iconv_t)(-1))
13012 if ac_fn_c_try_run
"$LINENO"; then :
13013 am_cv_func_iconv_works
=yes
13015 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13016 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13019 test "$am_cv_func_iconv_works" = no ||
break
13021 LIBS
="$am_save_LIBS"
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13025 $as_echo "$am_cv_func_iconv_works" >&6; }
13026 case "$am_cv_func_iconv_works" in
13027 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
13028 *) am_func_iconv
=yes ;;
13031 am_func_iconv
=no am_cv_lib_iconv
=no
13033 if test "$am_func_iconv" = yes; then
13035 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13038 if test "$am_cv_lib_iconv" = yes; then
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13040 $as_echo_n "checking how to link with libiconv... " >&6; }
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13042 $as_echo "$LIBICONV" >&6; }
13044 CPPFLAGS
="$am_save_CPPFLAGS"
13056 acl_save_prefix
="$prefix"
13057 prefix
="$acl_final_prefix"
13058 acl_save_exec_prefix
="$exec_prefix"
13059 exec_prefix
="$acl_final_exec_prefix"
13061 eval additional_includedir
=\"$includedir\"
13062 eval additional_libdir
=\"$libdir\"
13064 exec_prefix
="$acl_save_exec_prefix"
13065 prefix
="$acl_save_prefix"
13068 # Check whether --with-libintl-prefix was given.
13069 if test "${with_libintl_prefix+set}" = set; then :
13070 withval
=$with_libintl_prefix;
13071 if test "X$withval" = "Xno"; then
13074 if test "X$withval" = "X"; then
13076 acl_save_prefix
="$prefix"
13077 prefix
="$acl_final_prefix"
13078 acl_save_exec_prefix
="$exec_prefix"
13079 exec_prefix
="$acl_final_exec_prefix"
13081 eval additional_includedir
=\"$includedir\"
13082 eval additional_libdir
=\"$libdir\"
13084 exec_prefix
="$acl_save_exec_prefix"
13085 prefix
="$acl_save_prefix"
13088 additional_includedir
="$withval/include"
13089 additional_libdir
="$withval/lib"
13096 # Check whether --with-libintl-type was given.
13097 if test "${with_libintl_type+set}" = set; then :
13098 withval
=$with_libintl_type; with_libintl_type
=$withval
13100 with_libintl_type
=auto
13103 lib_type
=`eval echo \$with_libintl_type`
13110 names_already_handled
=
13111 names_next_round
='intl '
13112 while test -n "$names_next_round"; do
13113 names_this_round
="$names_next_round"
13115 for name
in $names_this_round; do
13117 for n
in $names_already_handled; do
13118 if test "$n" = "$name"; then
13119 already_handled
=yes
13123 if test -z "$already_handled"; then
13124 names_already_handled
="$names_already_handled $name"
13125 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13126 eval value
=\"\
$HAVE_LIB$uppername\"
13127 if test -n "$value"; then
13128 if test "$value" = yes; then
13129 eval value
=\"\
$LIB$uppername\"
13130 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
13131 eval value
=\"\
$LTLIB$uppername\"
13132 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
13141 if test $use_additional = yes; then
13142 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
13143 found_dir
="$additional_libdir"
13144 found_so
="$additional_libdir/lib$name.$shlibext"
13145 if test -f "$additional_libdir/lib$name.la"; then
13146 found_la
="$additional_libdir/lib$name.la"
13148 elif test x
$lib_type != xshared
; then
13149 if test -f "$additional_libdir/lib$name.$libext"; then
13150 found_dir
="$additional_libdir"
13151 found_a
="$additional_libdir/lib$name.$libext"
13152 if test -f "$additional_libdir/lib$name.la"; then
13153 found_la
="$additional_libdir/lib$name.la"
13158 if test "X$found_dir" = "X"; then
13159 for x
in $LDFLAGS $LTLIBINTL; do
13161 acl_save_prefix
="$prefix"
13162 prefix
="$acl_final_prefix"
13163 acl_save_exec_prefix
="$exec_prefix"
13164 exec_prefix
="$acl_final_exec_prefix"
13166 exec_prefix
="$acl_save_exec_prefix"
13167 prefix
="$acl_save_prefix"
13171 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13172 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
13174 found_so
="$dir/lib$name.$shlibext"
13175 if test -f "$dir/lib$name.la"; then
13176 found_la
="$dir/lib$name.la"
13178 elif test x
$lib_type != xshared
; then
13179 if test -f "$dir/lib$name.$libext"; then
13181 found_a
="$dir/lib$name.$libext"
13182 if test -f "$dir/lib$name.la"; then
13183 found_la
="$dir/lib$name.la"
13189 if test "X$found_dir" != "X"; then
13194 if test "X$found_dir" != "X"; then
13195 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13196 if test "X$found_so" != "X"; then
13197 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13198 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13201 for x
in $ltrpathdirs; do
13202 if test "X$x" = "X$found_dir"; then
13207 if test -z "$haveit"; then
13208 ltrpathdirs
="$ltrpathdirs $found_dir"
13210 if test "$hardcode_direct" = yes; then
13211 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13213 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13214 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13216 for x
in $rpathdirs; do
13217 if test "X$x" = "X$found_dir"; then
13222 if test -z "$haveit"; then
13223 rpathdirs
="$rpathdirs $found_dir"
13227 for x
in $LDFLAGS $LIBINTL; do
13229 acl_save_prefix
="$prefix"
13230 prefix
="$acl_final_prefix"
13231 acl_save_exec_prefix
="$exec_prefix"
13232 exec_prefix
="$acl_final_exec_prefix"
13234 exec_prefix
="$acl_save_exec_prefix"
13235 prefix
="$acl_save_prefix"
13237 if test "X$x" = "X-L$found_dir"; then
13242 if test -z "$haveit"; then
13243 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13245 if test "$hardcode_minus_L" != no
; then
13246 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13248 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13254 if test "X$found_a" != "X"; then
13255 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13257 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13260 additional_includedir
=
13261 case "$found_dir" in
13263 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13264 additional_includedir
="$basedir/include"
13267 if test "X$additional_includedir" != "X"; then
13268 if test "X$additional_includedir" != "X/usr/include"; then
13270 if test "X$additional_includedir" = "X/usr/local/include"; then
13271 if test -n "$GCC"; then
13273 linux
*) haveit
=yes;;
13277 if test -z "$haveit"; then
13278 for x
in $CPPFLAGS $INCINTL; do
13280 acl_save_prefix
="$prefix"
13281 prefix
="$acl_final_prefix"
13282 acl_save_exec_prefix
="$exec_prefix"
13283 exec_prefix
="$acl_final_exec_prefix"
13285 exec_prefix
="$acl_save_exec_prefix"
13286 prefix
="$acl_save_prefix"
13288 if test "X$x" = "X-I$additional_includedir"; then
13293 if test -z "$haveit"; then
13294 if test -d "$additional_includedir"; then
13295 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13301 if test -n "$found_la"; then
13302 save_libdir
="$libdir"
13303 case "$found_la" in
13304 */* |
*\\*) .
"$found_la" ;;
13305 *) .
"./$found_la" ;;
13307 libdir
="$save_libdir"
13308 for dep
in $dependency_libs; do
13311 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13312 if test "X$additional_libdir" != "X/usr/lib"; then
13314 if test "X$additional_libdir" = "X/usr/local/lib"; then
13315 if test -n "$GCC"; then
13317 linux
*) haveit
=yes;;
13321 if test -z "$haveit"; then
13323 for x
in $LDFLAGS $LIBINTL; do
13325 acl_save_prefix
="$prefix"
13326 prefix
="$acl_final_prefix"
13327 acl_save_exec_prefix
="$exec_prefix"
13328 exec_prefix
="$acl_final_exec_prefix"
13330 exec_prefix
="$acl_save_exec_prefix"
13331 prefix
="$acl_save_prefix"
13333 if test "X$x" = "X-L$additional_libdir"; then
13338 if test -z "$haveit"; then
13339 if test -d "$additional_libdir"; then
13340 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13344 for x
in $LDFLAGS $LTLIBINTL; do
13346 acl_save_prefix
="$prefix"
13347 prefix
="$acl_final_prefix"
13348 acl_save_exec_prefix
="$exec_prefix"
13349 exec_prefix
="$acl_final_exec_prefix"
13351 exec_prefix
="$acl_save_exec_prefix"
13352 prefix
="$acl_save_prefix"
13354 if test "X$x" = "X-L$additional_libdir"; then
13359 if test -z "$haveit"; then
13360 if test -d "$additional_libdir"; then
13361 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13368 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13369 if test "$enable_rpath" != no
; then
13371 for x
in $rpathdirs; do
13372 if test "X$x" = "X$dir"; then
13377 if test -z "$haveit"; then
13378 rpathdirs
="$rpathdirs $dir"
13381 for x
in $ltrpathdirs; do
13382 if test "X$x" = "X$dir"; then
13387 if test -z "$haveit"; then
13388 ltrpathdirs
="$ltrpathdirs $dir"
13393 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13396 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13399 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13400 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13406 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
13407 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13408 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13410 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
13411 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
13418 if test "X$rpathdirs" != "X"; then
13419 if test -n "$hardcode_libdir_separator"; then
13421 for found_dir
in $rpathdirs; do
13422 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13424 acl_save_libdir
="$libdir"
13426 eval flag
=\"$hardcode_libdir_flag_spec\"
13427 libdir
="$acl_save_libdir"
13428 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13430 for found_dir
in $rpathdirs; do
13431 acl_save_libdir
="$libdir"
13432 libdir
="$found_dir"
13433 eval flag
=\"$hardcode_libdir_flag_spec\"
13434 libdir
="$acl_save_libdir"
13435 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13439 if test "X$ltrpathdirs" != "X"; then
13440 for found_dir
in $ltrpathdirs; do
13441 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13446 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13447 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
13448 $as_echo_n "(cached) " >&6
13450 gt_save_CPPFLAGS
="$CPPFLAGS"
13451 CPPFLAGS
="$CPPFLAGS $INCINTL"
13452 gt_save_LIBS
="$LIBS"
13453 LIBS
="$LIBS $LIBINTL"
13454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13455 /* end confdefs.h. */
13457 #include <libintl.h>
13458 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13459 extern int _nl_msg_cat_cntr;
13464 const char *_nl_expand_alias (const char *);
13465 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
13467 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
13469 $gt_revision_test_code
13475 bindtextdomain ("", "");
13476 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
13482 if ac_fn_c_try_link
"$LINENO"; then :
13483 eval "$gt_func_gnugettext_libintl=yes"
13485 eval "$gt_func_gnugettext_libintl=no"
13487 rm -f core conftest.err conftest.
$ac_objext \
13488 conftest
$ac_exeext conftest.
$ac_ext
13489 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13490 LIBS
="$LIBS $LIBICONV"
13491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13494 #include <libintl.h>
13495 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13496 extern int _nl_msg_cat_cntr;
13501 const char *_nl_expand_alias (const char *);
13502 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
13504 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
13506 $gt_revision_test_code
13512 bindtextdomain ("", "");
13513 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
13519 if ac_fn_c_try_link
"$LINENO"; then :
13520 LIBINTL
="$LIBINTL $LIBICONV"
13521 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13522 eval "$gt_func_gnugettext_libintl=yes"
13525 rm -f core conftest.err conftest.
$ac_objext \
13526 conftest
$ac_exeext conftest.
$ac_ext
13528 CPPFLAGS
="$gt_save_CPPFLAGS"
13529 LIBS
="$gt_save_LIBS"
13531 eval ac_res
=\$
$gt_func_gnugettext_libintl
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13533 $as_echo "$ac_res" >&6; }
13536 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13537 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13538 && test "$PACKAGE" != gettext-runtime \
13539 && test "$PACKAGE" != gettext-tools
; }; then
13540 gt_use_preinstalled_gnugettext
=yes
13549 if test -n "$INTL_MACOSX_LIBS"; then
13550 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13551 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13552 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
13553 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
13557 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13558 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13560 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13568 $as_echo_n "checking whether to use NLS... " >&6; }
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13570 $as_echo "$USE_NLS" >&6; }
13571 if test "$USE_NLS" = "yes"; then
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13573 $as_echo_n "checking where the gettext function comes from... " >&6; }
13574 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13575 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13576 gt_source
="external libintl"
13581 gt_source
="included intl directory"
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13584 $as_echo "$gt_source" >&6; }
13587 if test "$USE_NLS" = "yes"; then
13589 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13590 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13592 $as_echo_n "checking how to link with libintl... " >&6; }
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13594 $as_echo "$LIBINTL" >&6; }
13596 for element
in $INCINTL; do
13598 for x
in $CPPFLAGS; do
13600 acl_save_prefix
="$prefix"
13601 prefix
="$acl_final_prefix"
13602 acl_save_exec_prefix
="$exec_prefix"
13603 exec_prefix
="$acl_final_exec_prefix"
13605 exec_prefix
="$acl_save_exec_prefix"
13606 prefix
="$acl_save_prefix"
13608 if test "X$x" = "X$element"; then
13613 if test -z "$haveit"; then
13614 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13621 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13624 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13633 INTLLIBS
="$LIBINTL"
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13653 $as_echo_n "checking whether NLS is requested... " >&6; }
13654 if test x
"$USE_NLS" != xyes
; then
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13656 $as_echo "no" >&6; }
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13659 $as_echo "yes" >&6; }
13661 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13665 $as_echo_n "checking for catalogs to be installed... " >&6; }
13666 # Look for .po and .gmo files in the source directory.
13669 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
13670 # If there aren't any .gmo files the shell will give us the
13671 # literal string "../path/to/srcdir/po/*.gmo" which has to be
13673 case "$cat" in *\
**)
13676 # The quadruple backslash is collapsed to a double backslash
13677 # by the backticks, then collapsed again by the double quotes,
13678 # leaving us with one backslash in the sed expression (right
13679 # before the dot that mustn't act as a wildcard).
13680 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
13681 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
13682 # The user is allowed to set LINGUAS to a list of languages to
13683 # install catalogs for. If it's empty that means "all of them."
13684 if test "x$LINGUAS" = x
; then
13685 CATALOGS
="$CATALOGS $cat"
13686 XLINGUAS
="$XLINGUAS $lang"
13688 case "$LINGUAS" in *$lang*)
13689 CATALOGS
="$CATALOGS $cat"
13690 XLINGUAS
="$XLINGUAS $lang"
13695 LINGUAS
="$XLINGUAS"
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13697 $as_echo "$LINGUAS" >&6; }
13713 # Prepare PATH_SEPARATOR.
13714 # The user is always right.
13715 if test "${PATH_SEPARATOR+set}" != set; then
13716 echo "#! /bin/sh" >conf$$.sh
13717 echo "exit 0" >>conf$$.sh
13719 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13727 # Find out how to test for executable files. Don't use a zero-byte file,
13728 # as systems may use methods other than mode bits to determine executability.
13729 cat >conf$$.
file <<_ASEOF
13733 chmod +x conf$$.
file
13734 if test -x conf$$.
file >/dev
/null
2>&1; then
13735 ac_executable_p
="test -x"
13737 ac_executable_p
="test -f"
13741 # Extract the first word of "msgfmt", so it can be a program name with args.
13742 set dummy msgfmt
; ac_word
=$2
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13744 $as_echo_n "checking for $ac_word... " >&6; }
13745 if ${ac_cv_path_MSGFMT+:} false
; then :
13746 $as_echo_n "(cached) " >&6
13750 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
13753 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13754 for ac_dir
in $PATH; do
13756 test -z "$ac_dir" && ac_dir
=.
13757 for ac_exec_ext
in '' $ac_executable_extensions; do
13758 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13759 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
13760 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13761 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
13768 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
13772 MSGFMT
="$ac_cv_path_MSGFMT"
13773 if test "$MSGFMT" != ":"; then
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13775 $as_echo "$MSGFMT" >&6; }
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13778 $as_echo "no" >&6; }
13781 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13782 set dummy gmsgfmt
; ac_word
=$2
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13784 $as_echo_n "checking for $ac_word... " >&6; }
13785 if ${ac_cv_path_GMSGFMT+:} false
; then :
13786 $as_echo_n "(cached) " >&6
13790 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
13793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13794 for as_dir
in $PATH
13797 test -z "$as_dir" && as_dir
=.
13798 for ac_exec_ext
in '' $ac_executable_extensions; do
13799 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13800 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
13801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13808 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
13812 GMSGFMT
=$ac_cv_path_GMSGFMT
13813 if test -n "$GMSGFMT"; then
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13815 $as_echo "$GMSGFMT" >&6; }
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13818 $as_echo "no" >&6; }
13824 # Prepare PATH_SEPARATOR.
13825 # The user is always right.
13826 if test "${PATH_SEPARATOR+set}" != set; then
13827 echo "#! /bin/sh" >conf$$.sh
13828 echo "exit 0" >>conf$$.sh
13830 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13838 # Find out how to test for executable files. Don't use a zero-byte file,
13839 # as systems may use methods other than mode bits to determine executability.
13840 cat >conf$$.
file <<_ASEOF
13844 chmod +x conf$$.
file
13845 if test -x conf$$.
file >/dev
/null
2>&1; then
13846 ac_executable_p
="test -x"
13848 ac_executable_p
="test -f"
13852 # Extract the first word of "xgettext", so it can be a program name with args.
13853 set dummy xgettext
; ac_word
=$2
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13855 $as_echo_n "checking for $ac_word... " >&6; }
13856 if ${ac_cv_path_XGETTEXT+:} false
; then :
13857 $as_echo_n "(cached) " >&6
13859 case "$XGETTEXT" in
13861 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
13864 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13865 for ac_dir
in $PATH; do
13867 test -z "$ac_dir" && ac_dir
=.
13868 for ac_exec_ext
in '' $ac_executable_extensions; do
13869 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13870 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
13871 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13872 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
13879 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
13883 XGETTEXT
="$ac_cv_path_XGETTEXT"
13884 if test "$XGETTEXT" != ":"; then
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13886 $as_echo "$XGETTEXT" >&6; }
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13889 $as_echo "no" >&6; }
13895 # Prepare PATH_SEPARATOR.
13896 # The user is always right.
13897 if test "${PATH_SEPARATOR+set}" != set; then
13898 echo "#! /bin/sh" >conf$$.sh
13899 echo "exit 0" >>conf$$.sh
13901 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13909 # Find out how to test for executable files. Don't use a zero-byte file,
13910 # as systems may use methods other than mode bits to determine executability.
13911 cat >conf$$.
file <<_ASEOF
13915 chmod +x conf$$.
file
13916 if test -x conf$$.
file >/dev
/null
2>&1; then
13917 ac_executable_p
="test -x"
13919 ac_executable_p
="test -f"
13923 # Extract the first word of "msgmerge", so it can be a program name with args.
13924 set dummy msgmerge
; ac_word
=$2
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13926 $as_echo_n "checking for $ac_word... " >&6; }
13927 if ${ac_cv_path_MSGMERGE+:} false
; then :
13928 $as_echo_n "(cached) " >&6
13930 case "$MSGMERGE" in
13932 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
13935 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13936 for ac_dir
in $PATH; do
13938 test -z "$ac_dir" && ac_dir
=.
13939 for ac_exec_ext
in '' $ac_executable_extensions; do
13940 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13941 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
13942 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
13949 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
13953 MSGMERGE
="$ac_cv_path_MSGMERGE"
13954 if test "$MSGMERGE" != ":"; then
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13956 $as_echo "$MSGMERGE" >&6; }
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13959 $as_echo "no" >&6; }
13963 if test "$GMSGFMT" != ":"; then
13964 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
13965 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13968 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13970 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13975 if test "$XGETTEXT" != ":"; then
13976 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
13977 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13981 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13987 ac_config_commands
="$ac_config_commands default-2"
13991 .
${srcdir}/..
/bfd
/configure.
host
13993 # Put a plausible default for CC_FOR_BUILD in Makefile.
13994 if test -z "$CC_FOR_BUILD"; then
13995 if test "x$cross_compiling" = "xno"; then
13996 CC_FOR_BUILD
='$(CC)'
14002 # Also set EXEEXT_FOR_BUILD.
14003 if test "x$cross_compiling" = "xno"; then
14004 EXEEXT_FOR_BUILD
='$(EXEEXT)'
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
14007 $as_echo_n "checking for build system executable suffix... " >&6; }
14008 if ${bfd_cv_build_exeext+:} false
; then :
14009 $as_echo_n "(cached) " >&6
14012 echo 'int main () { return 0; }' > conftest.c
14013 bfd_cv_build_exeext
=
14014 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
14015 for file in conftest.
*; do
14017 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
14018 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
14022 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
14025 $as_echo "$bfd_cv_build_exeext" >&6; }
14026 EXEEXT_FOR_BUILD
=""
14027 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
14030 # Check whether --enable-64-bit-bfd was given.
14031 if test "${enable_64_bit_bfd+set}" = set; then :
14032 enableval
=$enable_64_bit_bfd; case $enableval in #(
14036 as_fn_error $?
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
14041 enable_64_bit_bfd
=no
14045 if test "x$enable_64_bit_bfd" = "xno"; then :
14046 # The cast to long int works around a bug in the HP C Compiler
14047 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14048 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14049 # This bug is HP SR number 8606223364.
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14051 $as_echo_n "checking size of void *... " >&6; }
14052 if ${ac_cv_sizeof_void_p+:} false
; then :
14053 $as_echo_n "(cached) " >&6
14055 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14058 if test "$ac_cv_type_void_p" = yes; then
14059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14061 as_fn_error
77 "cannot compute sizeof (void *)
14062 See \`config.log' for more details" "$LINENO" 5; }
14064 ac_cv_sizeof_void_p
=0
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14070 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14074 cat >>confdefs.h
<<_ACEOF
14075 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14079 if test "x$ac_cv_sizeof_void_p" = "x8"; then :
14080 enable_64_bit_bfd
=yes
14085 if test "x$enable_64_bit_bfd" = "xyes"; then
14086 ENABLE_BFD_64_BIT_TRUE
=
14087 ENABLE_BFD_64_BIT_FALSE
='#'
14089 ENABLE_BFD_64_BIT_TRUE
='#'
14090 ENABLE_BFD_64_BIT_FALSE
=
14098 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
14099 if test "x$ac_cv_have_decl_basename" = xyes
; then :
14105 cat >>confdefs.h
<<_ACEOF
14106 #define HAVE_DECL_BASENAME $ac_have_decl
14108 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
14109 if test "x$ac_cv_have_decl_stpcpy" = xyes
; then :
14115 cat >>confdefs.h
<<_ACEOF
14116 #define HAVE_DECL_STPCPY $ac_have_decl
14120 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
14121 # since sigsetjmp might only be defined as a macro.
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
14123 $as_echo_n "checking for sigsetjmp... " >&6; }
14124 if ${gdb_cv_func_sigsetjmp+:} false
; then :
14125 $as_echo_n "(cached) " >&6
14127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14130 #include <setjmp.h>
14135 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
14140 if ac_fn_c_try_compile
"$LINENO"; then :
14141 bfd_cv_func_sigsetjmp
=yes
14143 bfd_cv_func_sigsetjmp
=no
14145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_func_sigsetjmp" >&5
14148 $as_echo "$gdb_cv_func_sigsetjmp" >&6; }
14149 if test $bfd_cv_func_sigsetjmp = yes; then
14151 $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
14156 cgendir
='$(srcdir)/../../cgen'
14157 if test -r ${srcdir}/..
/cgen
/iformat.scm
; then
14158 cgendir
='$(srcdir)/../cgen'
14161 # Check whether --enable-cgen-maint was given.
14162 if test "${enable_cgen_maint+set}" = set; then :
14163 enableval
=$enable_cgen_maint; case "${enableval}" in
14164 yes) cgen_maint
=yes ;;
14165 no
) cgen_maint
=no
;;
14167 # Argument is a directory where cgen can be found. In some
14168 # future world cgen could be installable, but right now this
14169 # is not the case. Instead we assume the directory is a path
14170 # to the cgen source tree.
14172 if test -r ${enableval}/iformat.scm
; then
14173 # This looks like a cgen source tree.
14174 cgendir
=${enableval}
14176 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
14181 if test x
${cgen_maint} = xyes
; then
14183 CGEN_MAINT_FALSE
='#'
14185 CGEN_MAINT_TRUE
='#'
14193 # Check if linker supports --as-needed and --no-as-needed options
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
14195 $as_echo_n "checking linker --as-needed support... " >&6; }
14196 if ${bfd_cv_ld_as_needed+:} false
; then :
14197 $as_echo_n "(cached) " >&6
14199 bfd_cv_ld_as_needed
=no
14200 if $LD --help 2>/dev
/null |
grep as-needed
> /dev
/null
; then
14201 bfd_cv_ld_as_needed
=yes
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
14206 $as_echo "$bfd_cv_ld_as_needed" >&6; }
14210 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
14211 # These system don't have libm, or don't need it
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
14215 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
14216 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
14217 $as_echo_n "(cached) " >&6
14219 ac_check_lib_save_LIBS
=$LIBS
14221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14224 /* Override any GCC internal prototype to avoid an error.
14225 Use char because int might match the return type of a GCC
14226 builtin and then its argument prototype would still apply. */
14230 char _mwvalidcheckl ();
14234 return _mwvalidcheckl ();
14239 if ac_fn_c_try_link
"$LINENO"; then :
14240 ac_cv_lib_mw__mwvalidcheckl
=yes
14242 ac_cv_lib_mw__mwvalidcheckl
=no
14244 rm -f core conftest.err conftest.
$ac_objext \
14245 conftest
$ac_exeext conftest.
$ac_ext
14246 LIBS
=$ac_check_lib_save_LIBS
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
14249 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
14250 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14255 $as_echo_n "checking for cos in -lm... " >&6; }
14256 if ${ac_cv_lib_m_cos+:} false
; then :
14257 $as_echo_n "(cached) " >&6
14259 ac_check_lib_save_LIBS
=$LIBS
14261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14264 /* Override any GCC internal prototype to avoid an error.
14265 Use char because int might match the return type of a GCC
14266 builtin and then its argument prototype would still apply. */
14279 if ac_fn_c_try_link
"$LINENO"; then :
14280 ac_cv_lib_m_cos
=yes
14284 rm -f core conftest.err conftest.
$ac_objext \
14285 conftest
$ac_exeext conftest.
$ac_ext
14286 LIBS
=$ac_check_lib_save_LIBS
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14289 $as_echo "$ac_cv_lib_m_cos" >&6; }
14290 if test "x$ac_cv_lib_m_cos" = xyes
; then :
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14297 $as_echo_n "checking for cos in -lm... " >&6; }
14298 if ${ac_cv_lib_m_cos+:} false
; then :
14299 $as_echo_n "(cached) " >&6
14301 ac_check_lib_save_LIBS
=$LIBS
14303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14306 /* Override any GCC internal prototype to avoid an error.
14307 Use char because int might match the return type of a GCC
14308 builtin and then its argument prototype would still apply. */
14321 if ac_fn_c_try_link
"$LINENO"; then :
14322 ac_cv_lib_m_cos
=yes
14326 rm -f core conftest.err conftest.
$ac_objext \
14327 conftest
$ac_exeext conftest.
$ac_ext
14328 LIBS
=$ac_check_lib_save_LIBS
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14331 $as_echo "$ac_cv_lib_m_cos" >&6; }
14332 if test "x$ac_cv_lib_m_cos" = xyes
; then :
14341 #Libs for generator progs
14342 if test "x$cross_compiling" = "xno"; then
14343 BUILD_LIBS
=..
/libiberty
/libiberty.a
14344 BUILD_LIB_DEPS
=$BUILD_LIBS
14346 # if cross-compiling, assume that the system provides -liberty
14347 # and that the version is compatible with new headers.
14348 BUILD_LIBS
=-liberty
14351 BUILD_LIBS
="$BUILD_LIBS $LIBINTL"
14352 BUILD_LIB_DEPS
="$BUILD_LIB_DEPS $LIBINTL_DEP"
14357 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
14360 SHARED_DEPENDENCIES
=
14361 if test "$enable_shared" = "yes"; then
14362 # When building a shared libopcodes, link against the pic version of libiberty
14363 # so that apps that use libopcodes won't need libiberty just to satisfy any
14364 # libopcodes references.
14365 # We can't do that if a pic libiberty is unavailable since including non-pic
14366 # code would insert text relocations into libopcodes.
14367 # Note that linking against libbfd as we do here, which is itself linked
14368 # against libiberty, may not satisfy all the libopcodes libiberty references
14369 # since libbfd may not pull in the entirety of libiberty.
14370 # Also, jam libintl into the right place in all of this: after libiberty,
14371 # which uses it, but before -lcygwin, which it uses.
14372 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
14373 if test -n "$x"; then
14374 SHARED_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
14378 SHARED_LIBADD
="$SHARED_LIBADD $LTLIBINTL"
14380 if test "$enable_shared" = "yes"; then
14383 SHARED_LDFLAGS
="-no-undefined"
14384 SHARED_LIBADD
="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty $SHARED_LIBADD"
14387 SHARED_LIBADD
="../bfd/libbfd.la ${SHARED_LIBADD}"
14388 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
14392 if test -n "$SHARED_LIBADD"; then
14393 if test -n "$LIBM"; then
14394 if test x
"$bfd_cv_ld_as_needed" = xyes
; then
14395 # Link against libm only when needed. Put -lc, -lm inside -Wl
14396 # to stop libtool reordering these options.
14397 SHARED_LIBADD
="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
14399 SHARED_LIBADD
="$SHARED_LIBADD $LIBM"
14408 # target-specific stuff:
14410 # Canonicalize the secondary target names.
14411 if test -n "$enable_targets" ; then
14412 for targ
in `echo $enable_targets | sed 's/,/ /g'`
14414 result
=`$ac_config_sub $targ 2>/dev/null`
14415 if test -n "$result" ; then
14416 canon_targets
="$canon_targets $result"
14418 # Allow targets that config.sub doesn't recognize, like "all".
14419 canon_targets
="$canon_targets $targ"
14426 for targ
in $target $canon_targets
14428 if test "x$targ" = "xall" ; then
14431 .
$srcdir/..
/bfd
/config.bfd
14432 selarchs
="$selarchs $targ_archs"
14436 # Utility var, documents generic cgen support files.
14438 cgen_files
="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
14440 # We don't do any links based on the target system, just makefile config.
14442 if test x
${all_targets} = xfalse
; then
14444 # Target architecture .o files.
14447 for arch
in $selarchs
14449 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
14450 archdefs
="$archdefs -DARCH_$ad"
14452 bfd_aarch64_arch
) ta
="$ta aarch64-asm.lo aarch64-dis.lo aarch64-opc.lo aarch64-asm-2.lo aarch64-dis-2.lo aarch64-opc-2.lo" ;;
14453 bfd_alpha_arch
) ta
="$ta alpha-dis.lo alpha-opc.lo" ;;
14454 bfd_amdgcn_arch
) ;;
14455 bfd_arc_arch
) ta
="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
14456 bfd_arm_arch
) ta
="$ta arm-dis.lo" ;;
14457 bfd_avr_arch
) ta
="$ta avr-dis.lo" ;;
14458 bfd_bfin_arch
) ta
="$ta bfin-dis.lo" ;;
14459 bfd_cr16_arch
) ta
="$ta cr16-dis.lo cr16-opc.lo" ;;
14460 bfd_cris_arch
) ta
="$ta cris-desc.lo cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
14461 bfd_crx_arch
) ta
="$ta crx-dis.lo crx-opc.lo" ;;
14462 bfd_csky_arch
) ta
="$ta csky-dis.lo" ;;
14463 bfd_d10v_arch
) ta
="$ta d10v-dis.lo d10v-opc.lo" ;;
14464 bfd_d30v_arch
) ta
="$ta d30v-dis.lo d30v-opc.lo" ;;
14465 bfd_dlx_arch
) ta
="$ta dlx-dis.lo" ;;
14466 bfd_fr30_arch
) ta
="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen
=yes ;;
14467 bfd_frv_arch
) ta
="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen
=yes ;;
14468 bfd_ft32_arch
) ta
="$ta ft32-opc.lo ft32-dis.lo" ;;
14469 bfd_moxie_arch
) ta
="$ta moxie-dis.lo moxie-opc.lo" ;;
14470 bfd_h8300_arch
) ta
="$ta h8300-dis.lo" ;;
14471 bfd_hppa_arch
) ta
="$ta hppa-dis.lo" ;;
14472 bfd_i386_arch|bfd_iamcu_arch
)
14473 ta
="$ta i386-dis.lo" ;;
14474 bfd_ia64_arch
) ta
="$ta ia64-dis.lo ia64-opc.lo" ;;
14475 bfd_ip2k_arch
) ta
="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen
=yes ;;
14476 bfd_epiphany_arch
) ta
="$ta epiphany-asm.lo epiphany-desc.lo epiphany-dis.lo epiphany-ibld.lo epiphany-opc.lo" using_cgen
=yes ;;
14477 bfd_iq2000_arch
) ta
="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen
=yes ;;
14478 bfd_kvx_arch
) ta
="$ta kvx-opc.lo kvx-dis.lo" ;;
14479 bfd_lm32_arch
) ta
="$ta lm32-asm.lo lm32-desc.lo lm32-dis.lo lm32-ibld.lo lm32-opc.lo lm32-opinst.lo" using_cgen
=yes ;;
14480 bfd_m32c_arch
) ta
="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen
=yes ;;
14481 bfd_m32r_arch
) ta
="$ta m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo" using_cgen
=yes ;;
14482 bfd_m68hc11_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
14483 bfd_m68hc12_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
14484 bfd_m9s12x_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
14485 bfd_m9s12xg_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
14486 bfd_s12z_arch
) ta
="$ta s12z-dis.lo s12z-opc.lo" ;;
14487 bfd_m68k_arch
) ta
="$ta m68k-dis.lo m68k-opc.lo" ;;
14488 bfd_mcore_arch
) ta
="$ta mcore-dis.lo" ;;
14489 bfd_mep_arch
) ta
="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen
=yes ;;
14490 bfd_metag_arch
) ta
="$ta metag-dis.lo" ;;
14491 bfd_microblaze_arch
) ta
="$ta microblaze-dis.lo" ;;
14492 bfd_mips_arch
) ta
="$ta mips-dis.lo mips-opc.lo mips16-opc.lo micromips-opc.lo" ;;
14493 bfd_mmix_arch
) ta
="$ta mmix-dis.lo mmix-opc.lo" ;;
14494 bfd_mn10200_arch
) ta
="$ta m10200-dis.lo m10200-opc.lo" ;;
14495 bfd_mn10300_arch
) ta
="$ta m10300-dis.lo m10300-opc.lo" ;;
14496 bfd_mt_arch
) ta
="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen
=yes ;;
14497 bfd_msp430_arch
) ta
="$ta msp430-dis.lo msp430-decode.lo" ;;
14498 bfd_nds32_arch
) ta
="$ta nds32-asm.lo nds32-dis.lo" ;;
14499 bfd_nfp_arch
) ta
="$ta nfp-dis.lo" ;;
14500 bfd_nios2_arch
) ta
="$ta nios2-dis.lo nios2-opc.lo" ;;
14501 bfd_ns32k_arch
) ta
="$ta ns32k-dis.lo" ;;
14502 bfd_or1k_arch
) ta
="$ta or1k-asm.lo or1k-desc.lo or1k-dis.lo or1k-ibld.lo or1k-opc.lo" using_cgen
=yes ;;
14503 bfd_pdp11_arch
) ta
="$ta pdp11-dis.lo pdp11-opc.lo" ;;
14504 bfd_pj_arch
) ta
="$ta pj-dis.lo pj-opc.lo" ;;
14505 bfd_powerpc_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
14506 bfd_powerpc_64_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
14507 bfd_pru_arch
) ta
="$ta pru-dis.lo pru-opc.lo" ;;
14508 bfd_pyramid_arch
) ;;
14510 bfd_riscv_arch
) ta
="$ta riscv-dis.lo riscv-opc.lo" ;;
14511 bfd_rs6000_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
14512 bfd_rl78_arch
) ta
="$ta rl78-dis.lo rl78-decode.lo";;
14513 bfd_rx_arch
) ta
="$ta rx-dis.lo rx-decode.lo";;
14514 bfd_s390_arch
) ta
="$ta s390-dis.lo s390-opc.lo" ;;
14515 bfd_score_arch
) ta
="$ta score-dis.lo score7-dis.lo" ;;
14516 bfd_sh_arch
) ta
="$ta sh-dis.lo cgen-bitset.lo" ;;
14517 bfd_sparc_arch
) ta
="$ta sparc-dis.lo sparc-opc.lo" ;;
14518 bfd_spu_arch
) ta
="$ta spu-dis.lo spu-opc.lo" ;;
14519 bfd_tic30_arch
) ta
="$ta tic30-dis.lo" ;;
14520 bfd_tic4x_arch
) ta
="$ta tic4x-dis.lo" ;;
14521 bfd_tic54x_arch
) ta
="$ta tic54x-dis.lo tic54x-opc.lo" ;;
14522 bfd_tic6x_arch
) ta
="$ta tic6x-dis.lo" ;;
14523 bfd_tilegx_arch
) ta
="$ta tilegx-dis.lo tilegx-opc.lo" ;;
14524 bfd_tilepro_arch
) ta
="$ta tilepro-dis.lo tilepro-opc.lo" ;;
14525 bfd_v850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
14526 bfd_v850e_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
14527 bfd_v850ea_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
14528 bfd_v850_rh850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
14529 bfd_vax_arch
) ta
="$ta vax-dis.lo" ;;
14530 bfd_visium_arch
) ta
="$ta visium-dis.lo visium-opc.lo" ;;
14531 bfd_wasm32_arch
) ta
="$ta wasm32-dis.lo" ;;
14532 bfd_xgate_arch
) ta
="$ta xgate-dis.lo xgate-opc.lo" ;;
14533 bfd_xstormy16_arch
) ta
="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen
=yes ;;
14534 bfd_xtensa_arch
) ta
="$ta xtensa-dis.lo" ;;
14535 bfd_z80_arch
) ta
="$ta z80-dis.lo" ;;
14536 bfd_z8k_arch
) ta
="$ta z8k-dis.lo" ;;
14537 bfd_bpf_arch
) ta
="$ta bpf-dis.lo bpf-opc.lo" ;;
14538 bfd_loongarch_arch
) ta
="$ta loongarch-dis.lo loongarch-opc.lo loongarch-coder.lo" ;;
14541 *) as_fn_error $?
"*** unknown target architecture $arch" "$LINENO" 5 ;;
14545 if test $using_cgen = yes ; then
14546 ta
="$ta $cgen_files"
14549 # Weed out duplicate .o files.
14559 # And duplicate -D flags.
14561 for i
in $archdefs ; do
14571 else # all_targets is true
14572 archdefs
=-DARCH_all
14573 if test "$enable_64_bit_bfd" = "yes" ; then
14574 BFD_MACHINES
='$(ALL32_MACHINES) $(ALL64_MACHINES)'
14576 BFD_MACHINES
='$(ALL32_MACHINES)'
14583 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
14585 cat >confcache
<<\_ACEOF
14586 # This file is a shell script that caches the results of configure
14587 # tests run on this system so they can be shared between configure
14588 # scripts and configure runs, see configure's option --config-cache.
14589 # It is not useful on other systems. If it contains results you don't
14590 # want to keep, you may remove or edit it.
14592 # config.status only pays attention to the cache file if you give it
14593 # the --recheck option to rerun configure.
14595 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14596 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14597 # following values.
14601 # The following way of writing the cache mishandles newlines in values,
14602 # but we know of no workaround that is simple, portable, and efficient.
14603 # So, we kill variables containing newlines.
14604 # Ultrix sh set writes to stderr and can't be redirected directly,
14605 # and sets the high bit in the cache file unless we assign to the vars.
14607 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14608 eval ac_val
=\$
$ac_var
14612 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14613 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14616 _ | IFS | as_nl
) ;; #(
14617 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14618 *) { eval $ac_var=; unset $ac_var;} ;;
14624 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14625 *${as_nl}ac_space
=\
*)
14626 # `set' does not quote correctly, so add quotes: double-quote
14627 # substitution turns \\\\ into \\, and sed turns \\ into \.
14630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14633 # `set' quotes correctly as required by POSIX, so do not add quotes.
14634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14645 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14647 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14648 if test -w "$cache_file"; then
14649 if test "x$cache_file" != "x/dev/null"; then
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14651 $as_echo "$as_me: updating cache $cache_file" >&6;}
14652 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14653 cat confcache
>"$cache_file"
14655 case $cache_file in #(
14657 mv -f confcache
"$cache_file"$$
&&
14658 mv -f "$cache_file"$$
"$cache_file" ;; #(
14660 mv -f confcache
"$cache_file" ;;
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14666 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14671 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14672 # Let make expand exec_prefix.
14673 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14675 DEFS
=-DHAVE_CONFIG_H
14680 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14681 # 1. Remove the extension, and $U if already installed.
14682 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14683 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14684 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14685 # will be set to the directory where LIBOBJS objects are built.
14686 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14687 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14689 LIBOBJS
=$ac_libobjs
14691 LTLIBOBJS
=$ac_ltlibobjs
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14695 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14696 if test -n "$am_sleep_pid"; then
14697 # Hide warnings about reused PIDs.
14698 wait $am_sleep_pid 2>/dev
/null
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14701 $as_echo "done" >&6; }
14702 if test -n "$EXEEXT"; then
14704 am__EXEEXT_FALSE
='#'
14706 am__EXEEXT_TRUE
='#'
14710 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14711 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14714 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14715 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14718 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14719 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14722 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
14723 as_fn_error $?
"conditional \"INSTALL_LIBBFD\" was never defined.
14724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14726 if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
14727 as_fn_error $?
"conditional \"ENABLE_BFD_64_BIT\" was never defined.
14728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14730 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
14731 as_fn_error $?
"conditional \"CGEN_MAINT\" was never defined.
14732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14735 : "${CONFIG_STATUS=./config.status}"
14737 ac_clean_files_save
=$ac_clean_files
14738 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14740 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14742 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14744 # Generated by $as_me.
14745 # Run this file to recreate the current configuration.
14746 # Compiler output produced by configure, useful for debugging
14747 # configure, is in config.log if it exists.
14750 ac_cs_recheck=false
14753 SHELL=\${CONFIG_SHELL-$SHELL}
14756 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14757 ## -------------------- ##
14758 ## M4sh Initialization. ##
14759 ## -------------------- ##
14761 # Be more Bourne compatible
14762 DUALCASE
=1; export DUALCASE
# for MKS sh
14763 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14766 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14767 # is contrary to our usage. Disable this feature.
14768 alias -g '${1+"$@"}'='"$@"'
14769 setopt NO_GLOB_SUBST
14771 case `(set -o) 2>/dev/null` in #(
14783 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14784 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14785 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14786 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14787 # Prefer a ksh shell builtin over an external printf program on Solaris,
14788 # but without wasting forks for bash or zsh.
14789 if test -z "$BASH_VERSION$ZSH_VERSION" \
14790 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14791 as_echo='print
-r --'
14792 as_echo_n='print
-rn --'
14793 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14794 as_echo='printf %s
\n'
14795 as_echo_n='printf %s
'
14797 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14798 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14799 as_echo_n='/usr
/ucb
/echo -n'
14801 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14802 as_echo_n_body='eval
14806 expr "X$arg" : "X\\(.*\\)$as_nl";
14807 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14809 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14811 export as_echo_n_body
14812 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14814 export as_echo_body
14815 as_echo='sh
-c $as_echo_body as_echo
'
14818 # The user is always right.
14819 if test "${PATH_SEPARATOR+set}" != set; then
14821 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14822 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14829 # We need space, tab and new line, in precisely that order. Quoting is
14830 # there to prevent editors from complaining about space-tab.
14831 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14832 # splitting by setting IFS to empty value.)
14835 # Find who we are. Look in the path if we contain no directory separator.
14838 *[\\/]* ) as_myself=$0 ;;
14839 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14840 for as_dir in $PATH
14843 test -z "$as_dir" && as_dir=.
14844 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14850 # We did not find ourselves, most probably we were run as `sh COMMAND'
14851 # in which case we are not to be found in the path.
14852 if test "x$as_myself" = x
; then
14855 if test ! -f "$as_myself"; then
14856 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14860 # Unset variables that we do not need and which cause bugs (e.g. in
14861 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14862 # suppresses any "Segmentation fault" message there. '((' could
14863 # trigger a bug in pdksh 5.2.14.
14864 for as_var
in BASH_ENV ENV MAIL MAILPATH
14865 do eval test x\
${$as_var+set} = xset \
14866 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14879 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14882 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14883 # ----------------------------------------
14884 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14885 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14886 # script with STATUS, using 1 if that was 0.
14889 as_status
=$1; test $as_status -eq 0 && as_status
=1
14891 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14892 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14894 $as_echo "$as_me: error: $2" >&2
14895 as_fn_exit
$as_status
14899 # as_fn_set_status STATUS
14900 # -----------------------
14901 # Set $? to STATUS, without forking.
14902 as_fn_set_status
()
14905 } # as_fn_set_status
14907 # as_fn_exit STATUS
14908 # -----------------
14909 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14913 as_fn_set_status
$1
14919 # Portably unset VAR.
14922 { eval $1=; unset $1;}
14924 as_unset
=as_fn_unset
14925 # as_fn_append VAR VALUE
14926 # ----------------------
14927 # Append the text in VALUE to the end of the definition contained in VAR. Take
14928 # advantage of any shell optimizations that allow amortized linear growth over
14929 # repeated appends, instead of the typical quadratic growth present in naive
14931 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14932 eval 'as_fn_append ()
14943 # as_fn_arith ARG...
14944 # ------------------
14945 # Perform arithmetic evaluation on the ARGs, and store the result in the
14946 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14947 # must be portable across $(()) and expr.
14948 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14949 eval 'as_fn_arith ()
14956 as_val
=`expr "$@" || test $? -eq 1`
14961 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14962 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14968 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14969 as_basename
=basename
14974 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14980 as_me
=`$as_basename -- "$0" ||
14981 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14982 X"$0" : 'X\(//\)$' \| \
14983 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14985 sed '/^.*\/\([^/][^/]*\)\/*$/{
14999 # Avoid depending upon Character Ranges.
15000 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15001 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15002 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15003 as_cr_digits
='0123456789'
15004 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15006 ECHO_C
= ECHO_N
= ECHO_T
=
15007 case `echo -n x` in #(((((
15009 case `echo 'xy\c'` in
15010 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15012 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15019 rm -f conf$$ conf$$.exe conf$$.
file
15020 if test -d conf$$.dir
; then
15021 rm -f conf$$.dir
/conf$$.
file
15024 mkdir conf$$.dir
2>/dev
/null
15026 if (echo >conf$$.
file) 2>/dev
/null
; then
15027 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15029 # ... but there are two gotchas:
15030 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15031 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15032 # In both cases, we have to default to `cp -pR'.
15033 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15035 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15043 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15044 rmdir conf$$.dir
2>/dev
/null
15049 # Create "$as_dir" as a directory, including parents if necessary.
15054 -*) as_dir
=.
/$as_dir;;
15056 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15060 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15061 *) as_qdir
=$as_dir;;
15063 as_dirs
="'$as_qdir' $as_dirs"
15064 as_dir
=`$as_dirname -- "$as_dir" ||
15065 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15066 X"$as_dir" : 'X\(//\)[^/]' \| \
15067 X"$as_dir" : 'X\(//\)$' \| \
15068 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15069 $as_echo X"$as_dir" |
15070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15074 /^X\(\/\/\)[^/].*/{
15087 test -d "$as_dir" && break
15089 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15090 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15094 if mkdir
-p .
2>/dev
/null
; then
15095 as_mkdir_p
='mkdir -p "$as_dir"'
15097 test -d .
/-p && rmdir .
/-p
15102 # as_fn_executable_p FILE
15103 # -----------------------
15104 # Test if FILE is an executable regular file.
15105 as_fn_executable_p
()
15107 test -f "$1" && test -x "$1"
15108 } # as_fn_executable_p
15109 as_test_x
='test -x'
15110 as_executable_p
=as_fn_executable_p
15112 # Sed expression to map a string onto a valid CPP name.
15113 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15115 # Sed expression to map a string onto a valid variable name.
15116 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15120 ## ----------------------------------- ##
15121 ## Main body of $CONFIG_STATUS script. ##
15122 ## ----------------------------------- ##
15124 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15127 # Save the log message, to keep $0 and so on meaningful, and to
15128 # report actual input values of CONFIG_FILES etc. instead of their
15129 # values after options handling.
15131 This file was extended by opcodes $as_me 2.41.50, which was
15132 generated by GNU Autoconf 2.69. Invocation command line was
15134 CONFIG_FILES = $CONFIG_FILES
15135 CONFIG_HEADERS = $CONFIG_HEADERS
15136 CONFIG_LINKS = $CONFIG_LINKS
15137 CONFIG_COMMANDS = $CONFIG_COMMANDS
15140 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15145 case $ac_config_files in *"
15146 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15149 case $ac_config_headers in *"
15150 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15155 # Files that config.status was made for.
15156 config_files="$ac_config_files"
15157 config_headers="$ac_config_headers"
15158 config_commands="$ac_config_commands"
15162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15164 \`$as_me' instantiates files and other configuration actions
15165 from templates according to the current configuration. Unless the files
15166 and actions are specified as TAGs, all are instantiated by default.
15168 Usage: $0 [OPTION]... [TAG]...
15170 -h, --help print this help, then exit
15171 -V, --version print version number and configuration settings, then exit
15172 --config print configuration, then exit
15173 -q, --quiet, --silent
15174 do not print progress messages
15175 -d, --debug don't remove temporary files
15176 --recheck update $as_me by reconfiguring in the same conditions
15177 --file=FILE[:TEMPLATE]
15178 instantiate the configuration file FILE
15179 --header=FILE[:TEMPLATE]
15180 instantiate the configuration header FILE
15182 Configuration files:
15185 Configuration headers:
15188 Configuration commands:
15191 Report bugs to the package provider."
15194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15195 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15197 opcodes config.status 2.41.50
15198 configured by $0, generated by GNU Autoconf 2.69,
15199 with options \\"\$ac_cs_config\\"
15201 Copyright (C) 2012 Free Software Foundation, Inc.
15202 This config.status script is free software; the Free Software Foundation
15203 gives unlimited permission to copy, distribute and modify it."
15210 test -n "\$AWK" || AWK=awk
15213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15214 # The default lists apply if the user does not specify any file.
15220 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15221 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15225 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15237 # Handling of the options.
15238 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15240 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15241 $as_echo "$ac_cs_version"; exit ;;
15242 --config |
--confi |
--conf |
--con |
--co |
--c )
15243 $as_echo "$ac_cs_config"; exit ;;
15244 --debug |
--debu |
--deb |
--de |
--d |
-d )
15246 --file |
--fil |
--fi |
--f )
15249 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15250 '') as_fn_error $?
"missing file argument" ;;
15252 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15253 ac_need_defaults
=false
;;
15254 --header |
--heade |
--head |
--hea )
15257 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15259 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15260 ac_need_defaults
=false
;;
15262 # Conflict between --help and --header
15263 as_fn_error $?
"ambiguous option: \`$1'
15264 Try \`$0 --help' for more information.";;
15265 --help |
--hel |
-h )
15266 $as_echo "$ac_cs_usage"; exit ;;
15267 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15268 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15271 # This is an error.
15272 -*) as_fn_error $?
"unrecognized option: \`$1'
15273 Try \`$0 --help' for more information." ;;
15275 *) as_fn_append ac_config_targets
" $1"
15276 ac_need_defaults
=false
;;
15282 ac_configure_extra_args
=
15284 if $ac_cs_silent; then
15286 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15291 if \$ac_cs_recheck; then
15292 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15294 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15295 CONFIG_SHELL='$SHELL'
15296 export CONFIG_SHELL
15301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15305 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15306 ## Running $as_me. ##
15312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15316 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15319 # The HP-UX ksh and POSIX shell print the target directory to stdout
15320 # if CDPATH is set.
15321 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15323 sed_quote_subst='$sed_quote_subst'
15324 double_quote_subst='$double_quote_subst'
15325 delay_variable_subst='$delay_variable_subst'
15326 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15327 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15328 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15329 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15330 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15331 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15332 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15333 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15334 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15335 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15336 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15337 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15338 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15339 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15340 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15341 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15342 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15343 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15344 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15345 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15346 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15347 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15348 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15349 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15350 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15351 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15352 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15353 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15354 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15355 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15356 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15357 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15358 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15359 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15360 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15361 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15362 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15363 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15364 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15365 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15366 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15367 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15368 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15369 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15370 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15371 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15372 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15373 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15374 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"`'
15375 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15376 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15377 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15378 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15379 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15380 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15381 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15382 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15383 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15384 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15385 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15386 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15387 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15388 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15389 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15390 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15391 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15392 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15393 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15394 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15395 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15396 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15397 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15398 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15399 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15400 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15401 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15402 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15403 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15404 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15405 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15406 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15407 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15408 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15409 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15410 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15411 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15412 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15413 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15414 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15415 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15416 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15417 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15418 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15419 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15420 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15421 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15422 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15423 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15424 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15425 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15426 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15427 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15428 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15429 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15430 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15431 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15432 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15433 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15434 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15435 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15436 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15437 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15438 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15439 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15440 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15441 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15442 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15443 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15444 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15445 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15448 LTCFLAGS='$LTCFLAGS'
15449 compiler='$compiler_DEFAULT'
15451 # A function that is used when there is no print builtin or printf.
15452 func_fallback_echo ()
15454 eval 'cat <<_LTECHO_EOF
15459 # Quote evaled strings.
15473 deplibs_check_method \
15482 lt_cv_sys_global_symbol_pipe \
15483 lt_cv_sys_global_symbol_to_cdecl \
15484 lt_cv_sys_global_symbol_to_c_name_address \
15485 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15486 lt_prog_compiler_no_builtin_flag \
15487 lt_prog_compiler_wl \
15488 lt_prog_compiler_pic \
15489 lt_prog_compiler_static \
15490 lt_cv_prog_compiler_c_o \
15498 export_dynamic_flag_spec \
15499 whole_archive_flag_spec \
15500 compiler_needs_object \
15502 allow_undefined_flag \
15503 no_undefined_flag \
15504 hardcode_libdir_flag_spec \
15505 hardcode_libdir_flag_spec_ld \
15506 hardcode_libdir_separator \
15511 variables_saved_for_relink \
15513 library_names_spec \
15515 install_override_mode \
15519 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15520 *[\\\\\\\`\\"\\\$]*)
15521 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15524 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15529 # Double-quote double-evaled strings.
15530 for var in reload_cmds \
15531 old_postinstall_cmds \
15532 old_postuninstall_cmds \
15534 extract_expsyms_cmds \
15535 old_archive_from_new_cmds \
15536 old_archive_from_expsyms_cmds \
15538 archive_expsym_cmds \
15540 module_expsym_cmds \
15541 export_symbols_cmds \
15544 postuninstall_cmds \
15546 sys_lib_search_path_spec \
15547 sys_lib_dlsearch_path_spec; do
15548 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15549 *[\\\\\\\`\\"\\\$]*)
15550 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15553 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15558 ac_aux_dir='$ac_aux_dir'
15559 xsi_shell='$xsi_shell'
15560 lt_shell_append='$lt_shell_append'
15562 # See if we are running on zsh, and set the options which allow our
15563 # commands through without removal of \ escapes INIT.
15564 if test -n "\${ZSH_VERSION+set}" ; then
15565 setopt NO_GLOB_SUBST
15571 TIMESTAMP='$TIMESTAMP'
15577 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15578 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15580 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15581 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15582 LINGUAS="${LINGUAS-%UNSET%}"
15584 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15585 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15587 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15588 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15589 LINGUAS="${LINGUAS-%UNSET%}"
15594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15596 # Handling of arguments.
15597 for ac_config_target
in $ac_config_targets
15599 case $ac_config_target in
15600 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15601 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15602 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15603 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15604 "default-2") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
15605 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15606 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15608 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15613 # If the user did not use the arguments to specify the items to instantiate,
15614 # then the envvar interface is used. Set only those that are not.
15615 # We use the long form for the default assignment because of an extremely
15616 # bizarre bug on SunOS 4.1.3.
15617 if $ac_need_defaults; then
15618 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15619 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15620 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15623 # Have a temporary directory for convenience. Make it in the build tree
15624 # simply because there is no reason against having it here, and in addition,
15625 # creating and moving files from /tmp can sometimes cause problems.
15626 # Hook for its removal unless debugging.
15627 # Note that there is a small window in which the directory will not be cleaned:
15628 # after its creation but before its name has been assigned to `$tmp'.
15632 trap 'exit_status=$?
15633 : "${ac_tmp:=$tmp}"
15634 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15636 trap 'as_fn_exit 1' 1 2 13 15
15638 # Create a (secure) tmp directory for tmp files.
15641 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15645 tmp
=.
/conf$$
-$RANDOM
15646 (umask 077 && mkdir
"$tmp")
15647 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15650 # Set up the scripts for CONFIG_FILES section.
15651 # No need to generate them if there are no CONFIG_FILES.
15652 # This happens for instance with `./config.status config.h'.
15653 if test -n "$CONFIG_FILES"; then
15656 ac_cr
=`echo X | tr X '\015'`
15657 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15658 # But we know of no other shell where ac_cr would be empty at this
15659 # point, so we can use a bashism as a fallback.
15660 if test "x$ac_cr" = x
; then
15661 eval ac_cr
=\$
\'\\r
\'
15663 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15664 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15667 ac_cs_awk_cr
=$ac_cr
15670 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15675 echo "cat >conf$$subs.awk <<_ACEOF" &&
15676 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15678 } >conf$$subs.sh ||
15679 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15680 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15682 for ac_last_try in false false false false false :; do
15683 . ./conf$$subs.sh ||
15684 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15686 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15687 if test $ac_delim_n = $ac_delim_num; then
15689 elif $ac_last_try; then
15690 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15692 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15695 rm -f conf$$subs.sh
15697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15698 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15702 s/^/S["/; s
/!.
*/"]=/
15712 s/\(.\{148\}\)..*/\1/
15714 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15719 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15726 s/\(.\{148\}\)..*/\1/
15728 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15732 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15737 ' <conf$$subs.awk | sed '
15742 ' >>$CONFIG_STATUS || ac_write_fail=1
15743 rm -f conf$$subs.awk
15744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15746 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15747 for (key in S) S_is_set[key] = 1
15753 nfields = split(line, field, "@
")
15755 len = length(field[1])
15756 for (i = 2; i < nfields; i++) {
15758 keylen = length(key)
15759 if (S_is_set[key]) {
15761 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15762 len += length(value) + length(field[++i])
15773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15774 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15775 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15778 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15779 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15782 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15783 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15784 # trailing colons and then remove the whole line if VPATH becomes empty
15785 # (actually we leave an empty line to preserve line numbers).
15786 if test "x
$srcdir" = x.; then
15787 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15806 fi # test -n "$CONFIG_FILES"
15808 # Set up the scripts for CONFIG_HEADERS section.
15809 # No need to generate them if there are no CONFIG_HEADERS.
15810 # This happens for instance with `./config.status Makefile'.
15811 if test -n "$CONFIG_HEADERS"; then
15812 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15816 # Transform confdefs.h into an awk script `defines.awk', embedded as
15817 # here-document in config.status, that substitutes the proper values into
15818 # config.h.in to produce config.h.
15820 # Create a delimiter string that does not exist in confdefs.h, to ease
15821 # handling of long lines.
15823 for ac_last_try in false false :; do
15824 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15825 if test -z "$ac_tt"; then
15827 elif $ac_last_try; then
15828 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15830 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15834 # For the awk script, D is an array of macro values keyed by name,
15835 # likewise P contains macro parameters if any. Preserve backslash
15836 # newline sequences.
15838 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15840 s/.\{148\}/&'"$ac_delim"'/g
15843 s/^[ ]*#[ ]*define[ ][ ]*/ /
15850 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15852 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15856 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15857 D["\
1"]=" \
3\\\\\\n
"\\/p
15859 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15864 s/.\{148\}/&'"$ac_delim"'/g
15869 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15872 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15874 ' <confdefs.h | sed '
15875 s/'"$ac_delim"'/"\\\
15876 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15879 for (key in D) D_is_set[key] = 1
15882 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15884 split(line, arg, " ")
15885 if (arg[1] == "#") {
15889 defundef
= substr
(arg
[1], 2)
15892 split(mac1
, mac2
, "(") #)
15894 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15895 if (D_is_set
[macro
]) {
15896 # Preserve the white space surrounding the "#".
15897 print prefix
"define", macro P
[macro
] D
[macro
]
15900 # Replace #undef with comments. This is necessary, for example,
15901 # in the case of _POSIX_SOURCE, which is predefined and required
15902 # on some systems where configure will not decide to define it.
15903 if (defundef
== "undef") {
15904 print
"/*", prefix defundef
, macro
, "*/"
15912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15913 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15914 fi # test -n "$CONFIG_HEADERS"
15917 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15922 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15924 case $ac_mode$ac_tag in
15926 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15927 :[FH
]-) ac_tag
=-:-;;
15928 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15945 -) ac_f
="$ac_tmp/stdin";;
15946 *) # Look for the file first in the build tree, then in the source tree
15947 # (if the path is not absolute). The absolute path cannot be DOS-style,
15948 # because $ac_f cannot contain `:'.
15952 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15954 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15956 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15957 as_fn_append ac_file_inputs
" '$ac_f'"
15960 # Let's still pretend it is `configure' which instantiates (i.e., don't
15961 # use $as_me), people would be surprised to read:
15962 # /* config.h. Generated by config.status. */
15963 configure_input
='Generated from '`
15964 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15966 if test x
"$ac_file" != x-
; then
15967 configure_input
="$ac_file. $configure_input"
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15969 $as_echo "$as_me: creating $ac_file" >&6;}
15971 # Neutralize special characters interpreted by sed in replacement strings.
15972 case $configure_input in #(
15973 *\
&* |
*\|
* |
*\\* )
15974 ac_sed_conf_input
=`$as_echo "$configure_input" |
15975 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15976 *) ac_sed_conf_input
=$configure_input;;
15980 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15981 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15986 ac_dir
=`$as_dirname -- "$ac_file" ||
15987 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15988 X"$ac_file" : 'X\(//\)[^/]' \| \
15989 X"$ac_file" : 'X\(//\)$' \| \
15990 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15991 $as_echo X"$ac_file" |
15992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15996 /^X\(\/\/\)[^/].*/{
16009 as_dir
="$ac_dir"; as_fn_mkdir_p
16013 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16015 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16016 # A ".." for each directory in $ac_dir_suffix.
16017 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16018 case $ac_top_builddir_sub in
16019 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16020 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16023 ac_abs_top_builddir
=$ac_pwd
16024 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16025 # for backward compatibility:
16026 ac_top_builddir
=$ac_top_build_prefix
16029 .
) # We are building in place.
16031 ac_top_srcdir
=$ac_top_builddir_sub
16032 ac_abs_top_srcdir
=$ac_pwd ;;
16033 [\\/]* | ?
:[\\/]* ) # Absolute name.
16034 ac_srcdir
=$srcdir$ac_dir_suffix;
16035 ac_top_srcdir
=$srcdir
16036 ac_abs_top_srcdir
=$srcdir ;;
16037 *) # Relative name.
16038 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16039 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16040 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16042 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16052 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16053 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16055 ac_MKDIR_P
=$MKDIR_P
16057 [\\/$
]* | ?
:[\\/]* ) ;;
16058 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16063 # If the template does not know about datarootdir, expand it.
16064 # FIXME: This hack should be removed a few years after 2.60.
16065 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16076 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16077 *datarootdir
*) ac_datarootdir_seen
=yes;;
16078 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16080 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16083 ac_datarootdir_hack='
16084 s&@datadir@&$datadir&g
16085 s&@docdir@&$docdir&g
16086 s&@infodir@&$infodir&g
16087 s&@localedir@&$localedir&g
16088 s&@mandir@&$mandir&g
16089 s&\\\${datarootdir}&$datarootdir&g' ;;
16093 # Neutralize VPATH when `$srcdir' = `.'.
16094 # Shell code in configure.ac might set extrasub.
16095 # FIXME: do we really want to maintain this feature?
16096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16097 ac_sed_extra="$ac_vpsub
16100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16102 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16103 s|@configure_input@|
$ac_sed_conf_input|
;t t
16104 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16105 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16106 s
&@srcdir@
&$ac_srcdir&;t t
16107 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16108 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16109 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16110 s
&@builddir@
&$ac_builddir&;t t
16111 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16112 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16113 s
&@INSTALL@
&$ac_INSTALL&;t t
16114 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16115 $ac_datarootdir_hack
16117 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16118 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16120 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16121 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16122 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16123 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16125 which seems to be undefined. Please make sure it is defined" >&5
16126 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16127 which seems to be undefined. Please make sure it is defined" >&2;}
16129 rm -f "$ac_tmp/stdin"
16131 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16132 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16134 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16140 if test x"$ac_file" != x-; then
16142 $as_echo "/* $configure_input */" \
16143 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16144 } >"$ac_tmp/config.h" \
16145 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16146 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16148 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16151 mv "$ac_tmp/config.h" "$ac_file" \
16152 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16155 $as_echo "/* $configure_input */" \
16156 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16157 || as_fn_error $? "could not create -" "$LINENO" 5
16159 # Compute "$ac_file"'s index
in $config_headers.
16162 for _am_header
in $config_headers :; do
16163 case $_am_header in
16164 $_am_arg |
$_am_arg:* )
16167 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16170 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16171 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16172 X"$_am_arg" : 'X\(//\)[^/]' \| \
16173 X"$_am_arg" : 'X\(//\)$' \| \
16174 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16175 $as_echo X"$_am_arg" |
16176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16180 /^X\(\/\/\)[^/].*/{
16192 s/.*/./; q'`/stamp-h
$_am_stamp_count
16195 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16196 $as_echo "$as_me: executing $ac_file commands" >&6;}
16201 case $ac_file$ac_mode in
16202 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16203 # Older Autoconf quotes --file arguments for eval, but not when files
16204 # are listed without --file. Let's play safe and only enable the eval
16205 # if we detect the quoting.
16206 case $CONFIG_FILES in
16207 *\'*) eval set x
"$CONFIG_FILES" ;;
16208 *) set x
$CONFIG_FILES ;;
16213 # Strip MF so we end up with the name of the file.
16214 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16215 # Check whether this is an Automake generated Makefile or not.
16216 # We used to match only the files named 'Makefile.in', but
16217 # some people rename them; so instead we look at the file content.
16218 # Grep'ing the first line is not enough: some people post-process
16219 # each Makefile.in and add a new line on top of each file to say so.
16220 # Grep'ing the whole file is not good either: AIX grep has a line
16221 # limit of 2048, but all sed's we know have understand at least 4000.
16222 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16223 dirpart
=`$as_dirname -- "$mf" ||
16224 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16225 X"$mf" : 'X\(//\)[^/]' \| \
16226 X"$mf" : 'X\(//\)$' \| \
16227 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16233 /^X\(\/\/\)[^/].*/{
16249 # Extract the definition of DEPDIR, am__include, and am__quote
16250 # from the Makefile without running 'make'.
16251 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16252 test -z "$DEPDIR" && continue
16253 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16254 test -z "$am__include" && continue
16255 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16256 # Find all dependency output files, they are included files with
16257 # $(DEPDIR) in their names. We invoke sed twice because it is the
16258 # simplest approach to changing $(DEPDIR) to its actual value in the
16260 for file in `sed -n "
16261 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16262 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16263 # Make sure the directory exists.
16264 test -f "$dirpart/$file" && continue
16265 fdir
=`$as_dirname -- "$file" ||
16266 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16267 X"$file" : 'X\(//\)[^/]' \| \
16268 X"$file" : 'X\(//\)$' \| \
16269 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16270 $as_echo X"$file" |
16271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16275 /^X\(\/\/\)[^/].*/{
16288 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16289 # echo "creating $dirpart/$file"
16290 echo '# dummy' > "$dirpart/$file"
16297 # See if we are running on zsh, and set the options which allow our
16298 # commands through without removal of \ escapes.
16299 if test -n "${ZSH_VERSION+set}" ; then
16300 setopt NO_GLOB_SUBST
16303 cfgfile
="${ofile}T"
16304 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16307 cat <<_LT_EOF >> "$cfgfile"
16310 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16311 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16312 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16313 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16315 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16316 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16317 # Written by Gordon Matzigkeit, 1996
16319 # This file is part of GNU Libtool.
16321 # GNU Libtool is free software; you can redistribute it and/or
16322 # modify it under the terms of the GNU General Public License as
16323 # published by the Free Software Foundation; either version 2 of
16324 # the License, or (at your option) any later version.
16326 # As a special exception to the GNU General Public License,
16327 # if you distribute this file as part of a program or library that
16328 # is built using GNU Libtool, you may include this file under the
16329 # same distribution terms that you use for the rest of that program.
16331 # GNU Libtool is distributed in the hope that it will be useful,
16332 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16333 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16334 # GNU General Public License for more details.
16336 # You should have received a copy of the GNU General Public License
16337 # along with GNU Libtool; see the file COPYING. If not, a copy
16338 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16339 # obtained by writing to the Free Software Foundation, Inc.,
16340 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16343 # The names of the tagged configurations supported by this script.
16346 # ### BEGIN LIBTOOL CONFIG
16348 # Whether or not to build shared libraries.
16349 build_libtool_libs=$enable_shared
16351 # Which release of libtool.m4 was used?
16352 macro_version=$macro_version
16353 macro_revision=$macro_revision
16355 # Whether or not to build static libraries.
16356 build_old_libs=$enable_static
16358 # What type of objects to build.
16361 # Whether or not to optimize for fast installation.
16362 fast_install=$enable_fast_install
16364 # Shell to use when invoking shell scripts.
16367 # An echo program that protects backslashes.
16371 host_alias=$host_alias
16375 # The build system.
16376 build_alias=$build_alias
16380 # A sed program that does not truncate output.
16383 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16384 Xsed="\$SED -e 1s/^X//"
16386 # A grep program that handles long lines.
16392 # A literal string matcher.
16395 # A BSD- or MS-compatible name lister.
16398 # Whether we need soft or hard links.
16401 # What is the maximum length of a command?
16402 max_cmd_len=$max_cmd_len
16404 # Object file suffix (normally "o").
16407 # Executable file suffix (normally "").
16410 # whether the shell understands "unset".
16413 # turn spaces into newlines.
16416 # turn newlines into spaces.
16419 # An object symbol dumper.
16420 OBJDUMP=$lt_OBJDUMP
16422 # Method to check whether dependent libraries are shared objects.
16423 deplibs_check_method=$lt_deplibs_check_method
16425 # Command to use when deplibs_check_method == "file_magic".
16426 file_magic_cmd=$lt_file_magic_cmd
16430 AR_FLAGS=$lt_AR_FLAGS
16432 # A symbol stripping program.
16435 # Commands used to install an old-style archive.
16437 old_postinstall_cmds=$lt_old_postinstall_cmds
16438 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16440 # Whether to use a lock for old archive extraction.
16441 lock_old_archive_extraction=$lock_old_archive_extraction
16446 # LTCC compiler flags.
16447 LTCFLAGS=$lt_CFLAGS
16449 # Take the output of nm and produce a listing of raw symbols and C names.
16450 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16452 # Transform the output of nm in a proper C declaration.
16453 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16455 # Transform the output of nm in a C name address pair.
16456 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16458 # Transform the output of nm in a C name address pair when lib prefix is needed.
16459 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16461 # The name of the directory that contains temporary libtool files.
16464 # Used to examine libraries when file_magic_cmd begins with "file".
16465 MAGIC_CMD=$MAGIC_CMD
16467 # Must we lock files when doing compilation?
16468 need_locks=$lt_need_locks
16470 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16471 DSYMUTIL=$lt_DSYMUTIL
16473 # Tool to change global to local symbols on Mac OS X.
16476 # Tool to manipulate fat objects and archives on Mac OS X.
16479 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16482 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16483 OTOOL64=$lt_OTOOL64
16485 # Old archive suffix (normally "a").
16488 # Shared library suffix (normally ".so").
16489 shrext_cmds=$lt_shrext_cmds
16491 # The commands to extract the exported symbol list from a shared archive.
16492 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16494 # Variables whose values should be saved in libtool wrapper scripts and
16495 # restored at link time.
16496 variables_saved_for_relink=$lt_variables_saved_for_relink
16498 # Do we need the "lib" prefix for modules?
16499 need_lib_prefix=$need_lib_prefix
16501 # Do we need a version for libraries?
16502 need_version=$need_version
16504 # Library versioning type.
16505 version_type=$version_type
16507 # Shared library runtime path variable.
16508 runpath_var=$runpath_var
16510 # Shared library path variable.
16511 shlibpath_var=$shlibpath_var
16513 # Is shlibpath searched before the hard-coded library search path?
16514 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16516 # Format of library name prefix.
16517 libname_spec=$lt_libname_spec
16519 # List of archive names. First name is the real one, the rest are links.
16520 # The last name is the one that the linker finds with -lNAME
16521 library_names_spec=$lt_library_names_spec
16523 # The coded name of the library, if different from the real name.
16524 soname_spec=$lt_soname_spec
16526 # Permission mode override for installation of shared libraries.
16527 install_override_mode=$lt_install_override_mode
16529 # Command to use after installation of a shared archive.
16530 postinstall_cmds=$lt_postinstall_cmds
16532 # Command to use after uninstallation of a shared archive.
16533 postuninstall_cmds=$lt_postuninstall_cmds
16535 # Commands used to finish a libtool library installation in a directory.
16536 finish_cmds=$lt_finish_cmds
16538 # As "finish_cmds", except a single script fragment to be evaled but
16540 finish_eval=$lt_finish_eval
16542 # Whether we should hardcode library paths into libraries.
16543 hardcode_into_libs=$hardcode_into_libs
16545 # Compile-time system search path for libraries.
16546 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16548 # Run-time system search path for libraries.
16549 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16551 # Whether dlopen is supported.
16552 dlopen_support=$enable_dlopen
16554 # Whether dlopen of programs is supported.
16555 dlopen_self=$enable_dlopen_self
16557 # Whether dlopen of statically linked programs is supported.
16558 dlopen_self_static=$enable_dlopen_self_static
16560 # Commands to strip libraries.
16561 old_striplib=$lt_old_striplib
16562 striplib=$lt_striplib
16565 # The linker used to build libraries.
16568 # How to create reloadable object files.
16569 reload_flag=$lt_reload_flag
16570 reload_cmds=$lt_reload_cmds
16572 # Commands used to build an old-style archive.
16573 old_archive_cmds=$lt_old_archive_cmds
16575 # A language specific compiler.
16578 # Is the compiler the GNU compiler?
16581 # Compiler flag to turn off builtin functions.
16582 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16584 # How to pass a linker flag through the compiler.
16585 wl=$lt_lt_prog_compiler_wl
16587 # Additional compiler flags for building library objects.
16588 pic_flag=$lt_lt_prog_compiler_pic
16590 # Compiler flag to prevent dynamic linking.
16591 link_static_flag=$lt_lt_prog_compiler_static
16593 # Does compiler simultaneously support -c and -o options?
16594 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16596 # Whether or not to add -lc for building shared libraries.
16597 build_libtool_need_lc=$archive_cmds_need_lc
16599 # Whether or not to disallow shared libs when runtime libs are static.
16600 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16602 # Compiler flag to allow reflexive dlopens.
16603 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16605 # Compiler flag to generate shared objects directly from archives.
16606 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16608 # Whether the compiler copes with passing no objects directly.
16609 compiler_needs_object=$lt_compiler_needs_object
16611 # Create an old-style archive from a shared archive.
16612 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16614 # Create a temporary old-style archive to link instead of a shared archive.
16615 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16617 # Commands used to build a shared archive.
16618 archive_cmds=$lt_archive_cmds
16619 archive_expsym_cmds=$lt_archive_expsym_cmds
16621 # Commands used to build a loadable module if different from building
16622 # a shared archive.
16623 module_cmds=$lt_module_cmds
16624 module_expsym_cmds=$lt_module_expsym_cmds
16626 # Whether we are building with GNU ld or not.
16627 with_gnu_ld=$lt_with_gnu_ld
16629 # Flag that allows shared libraries with undefined symbols to be built.
16630 allow_undefined_flag=$lt_allow_undefined_flag
16632 # Flag that enforces no undefined symbols.
16633 no_undefined_flag=$lt_no_undefined_flag
16635 # Flag to hardcode \$libdir into a binary during linking.
16636 # This must work even if \$libdir does not exist
16637 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16639 # If ld is used when linking, flag to hardcode \$libdir into a binary
16640 # during linking. This must work even if \$libdir does not exist.
16641 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16643 # Whether we need a single "-rpath" flag with a separated argument.
16644 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16646 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16647 # DIR into the resulting binary.
16648 hardcode_direct=$hardcode_direct
16650 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16651 # DIR into the resulting binary and the resulting library dependency is
16652 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16653 # library is relocated.
16654 hardcode_direct_absolute=$hardcode_direct_absolute
16656 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16657 # into the resulting binary.
16658 hardcode_minus_L=$hardcode_minus_L
16660 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16661 # into the resulting binary.
16662 hardcode_shlibpath_var=$hardcode_shlibpath_var
16664 # Set to "yes" if building a shared library automatically hardcodes DIR
16665 # into the library and all subsequent libraries and executables linked
16667 hardcode_automatic=$hardcode_automatic
16669 # Set to yes if linker adds runtime paths of dependent libraries
16670 # to runtime path list.
16671 inherit_rpath=$inherit_rpath
16673 # Whether libtool must link a program against all its dependency libraries.
16674 link_all_deplibs=$link_all_deplibs
16676 # Fix the shell variable \$srcfile for the compiler.
16677 fix_srcfile_path=$lt_fix_srcfile_path
16679 # Set to "yes" if exported symbols are required.
16680 always_export_symbols=$always_export_symbols
16682 # The commands to list exported symbols.
16683 export_symbols_cmds=$lt_export_symbols_cmds
16685 # Symbols that should not be listed in the preloaded symbols.
16686 exclude_expsyms=$lt_exclude_expsyms
16688 # Symbols that must always be exported.
16689 include_expsyms=$lt_include_expsyms
16691 # Commands necessary for linking programs (against libraries) with templates.
16692 prelink_cmds=$lt_prelink_cmds
16694 # Specify filename containing input files.
16695 file_list_spec=$lt_file_list_spec
16697 # How to hardcode a shared library path into an executable.
16698 hardcode_action=$hardcode_action
16700 # ### END LIBTOOL CONFIG
16706 cat <<\_LT_EOF
>> "$cfgfile"
16707 # AIX sometimes has problems with the GCC collect2 program. For some
16708 # reason, if we set the COLLECT_NAMES environment variable, the problems
16709 # vanish in a puff of smoke.
16710 if test "X${COLLECT_NAMES+set}" != Xset
; then
16712 export COLLECT_NAMES
16719 ltmain
="$ac_aux_dir/ltmain.sh"
16722 # We use sed instead of cat because bash on DJGPP gets confused if
16723 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16724 # text mode, it properly converts lines to CR/LF. This bash problem
16725 # is reportedly fixed, but why not run on old versions too?
16726 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16727 ||
(rm -f "$cfgfile"; exit 1)
16731 cat << \_LT_EOF
>> "$cfgfile"
16733 # func_dirname file append nondir_replacement
16734 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16735 # otherwise set result to NONDIR_REPLACEMENT.
16739 */*) func_dirname_result
="${1%/*}${2}" ;;
16740 * ) func_dirname_result
="${3}" ;;
16744 # func_basename file
16747 func_basename_result
="${1##*/}"
16750 # func_dirname_and_basename file append nondir_replacement
16751 # perform func_basename and func_dirname in a single function
16753 # dirname: Compute the dirname of FILE. If nonempty,
16754 # add APPEND to the result, otherwise set result
16755 # to NONDIR_REPLACEMENT.
16756 # value returned in "$func_dirname_result"
16757 # basename: Compute filename of FILE.
16758 # value retuned in "$func_basename_result"
16759 # Implementation must be kept synchronized with func_dirname
16760 # and func_basename. For efficiency, we do not delegate to
16761 # those functions but instead duplicate the functionality here.
16762 func_dirname_and_basename
()
16765 */*) func_dirname_result
="${1%/*}${2}" ;;
16766 * ) func_dirname_result
="${3}" ;;
16768 func_basename_result
="${1##*/}"
16771 # func_stripname prefix suffix name
16772 # strip PREFIX and SUFFIX off of NAME.
16773 # PREFIX and SUFFIX must not contain globbing or regex special
16774 # characters, hashes, percent signs, but SUFFIX may contain a leading
16775 # dot (in which case that matches only a dot).
16778 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16779 # positional parameters, so assign one to ordinary parameter first.
16780 func_stripname_result
=${3}
16781 func_stripname_result
=${func_stripname_result#"${1}"}
16782 func_stripname_result
=${func_stripname_result%"${2}"}
16788 func_opt_split_opt
=${1%%=*}
16789 func_opt_split_arg
=${1#*=}
16796 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16797 *) func_lo2o_result
=${1} ;;
16801 # func_xform libobj-or-source
16804 func_xform_result
=${1%.*}.lo
16807 # func_arith arithmetic-term...
16810 func_arith_result
=$
(( $
* ))
16814 # STRING may not start with a hyphen.
16817 func_len_result
=${#1}
16822 *) # Bourne compatible functions.
16823 cat << \_LT_EOF
>> "$cfgfile"
16825 # func_dirname file append nondir_replacement
16826 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16827 # otherwise set result to NONDIR_REPLACEMENT.
16830 # Extract subdirectory from the argument.
16831 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16832 if test "X$func_dirname_result" = "X${1}"; then
16833 func_dirname_result
="${3}"
16835 func_dirname_result
="$func_dirname_result${2}"
16839 # func_basename file
16842 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16846 # func_stripname prefix suffix name
16847 # strip PREFIX and SUFFIX off of NAME.
16848 # PREFIX and SUFFIX must not contain globbing or regex special
16849 # characters, hashes, percent signs, but SUFFIX may contain a leading
16850 # dot (in which case that matches only a dot).
16851 # func_strip_suffix prefix name
16855 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16856 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16861 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16862 my_sed_long_arg
='1s/^-[^=]*=//'
16867 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16868 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16874 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16877 # func_xform libobj-or-source
16880 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16883 # func_arith arithmetic-term...
16886 func_arith_result
=`expr "$@"`
16890 # STRING may not start with a hyphen.
16893 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16899 case $lt_shell_append in
16901 cat << \_LT_EOF
>> "$cfgfile"
16903 # func_append var value
16904 # Append VALUE to the end of shell variable VAR.
16912 cat << \_LT_EOF
>> "$cfgfile"
16914 # func_append var value
16915 # Append VALUE to the end of shell variable VAR.
16926 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16927 ||
(rm -f "$cfgfile"; exit 1)
16929 mv -f "$cfgfile" "$ofile" ||
16930 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16935 for ac_file
in $CONFIG_FILES; do
16936 # Support "outfile[:infile[:infile...]]"
16938 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16940 # PO directories have a Makefile.in generated from Makefile.in.in.
16941 case "$ac_file" in */Makefile.
in)
16942 # Adjust a relative srcdir.
16943 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16944 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
16945 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16946 # In autoconf-2.13 it is called $ac_given_srcdir.
16947 # In autoconf-2.50 it is called $srcdir.
16948 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16949 case "$ac_given_srcdir" in
16950 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16951 /*) top_srcdir
="$ac_given_srcdir" ;;
16952 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16954 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16955 rm -f "$ac_dir/POTFILES"
16956 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16957 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16958 POMAKEFILEDEPS
="POTFILES.in"
16959 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16960 # on $ac_dir but don't depend on user-specified configuration
16962 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16963 # The LINGUAS file contains the set of available languages.
16964 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16965 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
16967 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16968 # Hide the ALL_LINGUAS assigment from automake.
16969 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16970 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16972 # The set of available languages was given in configure.ac.
16973 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16975 case "$ac_given_srcdir" in
16977 *) srcdirpre
='$(srcdir)/' ;;
16983 for lang
in $ALL_LINGUAS; do
16984 POFILES
="$POFILES $srcdirpre$lang.po"
16985 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16986 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16987 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16989 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16990 # environment variable.
16992 if test -n "$ALL_LINGUAS"; then
16993 for presentlang
in $ALL_LINGUAS; do
16995 if test "%UNSET%" != "$LINGUAS"; then
16996 desiredlanguages
="$LINGUAS"
16998 desiredlanguages
="$ALL_LINGUAS"
17000 for desiredlang
in $desiredlanguages; do
17001 # Use the presentlang catalog if desiredlang is
17002 # a. equal to presentlang, or
17003 # b. a variant of presentlang (because in this case,
17004 # presentlang can be used as a fallback for messages
17005 # which are not translated in the desiredlang catalog).
17006 case "$desiredlang" in
17007 "$presentlang"*) useit
=yes;;
17010 if test $useit = yes; then
17011 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17016 if test -n "$INST_LINGUAS"; then
17017 for lang
in $INST_LINGUAS; do
17018 CATALOGS
="$CATALOGS $lang.gmo"
17021 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17022 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
17023 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17024 if test -f "$f"; then
17026 *.orig |
*.bak |
*~
) ;;
17027 *) cat "$f" >> "$ac_dir/Makefile" ;;
17036 for ac_file
in $CONFIG_FILES; do
17037 # Support "outfile[:infile[:infile...]]"
17039 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17041 # PO directories have a Makefile.in generated from Makefile.in.in.
17042 case "$ac_file" in */Makefile.
in)
17043 # Adjust a relative srcdir.
17044 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17045 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
17046 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17047 # In autoconf-2.13 it is called $ac_given_srcdir.
17048 # In autoconf-2.50 it is called $srcdir.
17049 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17050 case "$ac_given_srcdir" in
17051 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17052 /*) top_srcdir
="$ac_given_srcdir" ;;
17053 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17055 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17056 rm -f "$ac_dir/POTFILES"
17057 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17058 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17059 POMAKEFILEDEPS
="POTFILES.in"
17060 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17061 # on $ac_dir but don't depend on user-specified configuration
17063 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17064 # The LINGUAS file contains the set of available languages.
17065 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17066 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
17068 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17069 # Hide the ALL_LINGUAS assigment from automake.
17070 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17071 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
17073 # The set of available languages was given in configure.ac.
17074 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17076 case "$ac_given_srcdir" in
17078 *) srcdirpre
='$(srcdir)/' ;;
17084 for lang
in $ALL_LINGUAS; do
17085 POFILES
="$POFILES $srcdirpre$lang.po"
17086 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17087 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17088 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17090 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17091 # environment variable.
17093 if test -n "$ALL_LINGUAS"; then
17094 for presentlang
in $ALL_LINGUAS; do
17096 if test "%UNSET%" != "$LINGUAS"; then
17097 desiredlanguages
="$LINGUAS"
17099 desiredlanguages
="$ALL_LINGUAS"
17101 for desiredlang
in $desiredlanguages; do
17102 # Use the presentlang catalog if desiredlang is
17103 # a. equal to presentlang, or
17104 # b. a variant of presentlang (because in this case,
17105 # presentlang can be used as a fallback for messages
17106 # which are not translated in the desiredlang catalog).
17107 case "$desiredlang" in
17108 "$presentlang"*) useit
=yes;;
17111 if test $useit = yes; then
17112 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17117 if test -n "$INST_LINGUAS"; then
17118 for lang
in $INST_LINGUAS; do
17119 CATALOGS
="$CATALOGS $lang.gmo"
17122 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17123 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
17124 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17125 if test -f "$f"; then
17127 *.orig |
*.bak |
*~
) ;;
17128 *) cat "$f" >> "$ac_dir/Makefile" ;;
17143 ac_clean_files
=$ac_clean_files_save
17145 test $ac_write_fail = 0 ||
17146 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17149 # configure is writing to config.log, and then calls config.status.
17150 # config.status does its own redirection, appending to config.log.
17151 # Unfortunately, on DOS this fails, as config.log is still kept open
17152 # by configure, so config.status won't be able to write to it; its
17153 # output is simply discarded. So we exec the FD to /dev/null,
17154 # effectively closing config.log, so it can be properly (re)opened and
17155 # appended to by config.status. When coming back to configure, we
17156 # need to make the FD available again.
17157 if test "$no_create" != yes; then
17159 ac_config_status_args
=
17160 test "$silent" = yes &&
17161 ac_config_status_args
="$ac_config_status_args --quiet"
17163 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17165 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17166 # would make configure fail if this is the last instruction.
17167 $ac_cs_success || as_fn_exit
1
17169 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17171 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17176 touch config.status.tmp
17177 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
17178 sed '/as_fn_exit 0/i \
17179 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
17180 touch --reference=Makefile Makefile.tmp \
17181 mv Makefile.tmp Makefile \
17182 ' config.status
> config.status.tmp
17183 touch --reference=config.status config.status.tmp
17184 mv config.status.tmp config.status
17185 chmod +x config.status
17186 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
17187 touch --reference=Makefile Makefile.tmp
17188 mv Makefile.tmp Makefile
17190 rm -f config.status.tmp