2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for opcodes 2.37.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.37.50'
591 PACKAGE_STRING
='opcodes 2.37.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>
632 ac_subst_vars
='am__EXEEXT_FALSE
672 MAINTAINER_MODE_FALSE
676 WARN_CFLAGS_FOR_BUILD
726 INSTALL_STRIP_PROGRAM
780 program_transform_name
793 enable_option_checking
795 enable_dependency_tracking
805 enable_build_warnings
806 enable_maintainer_mode
807 enable_install_libbfd
811 ac_precious_vars
='build_alias
822 # Initialize some variables set by options.
824 ac_init_version
=false
825 ac_unrecognized_opts
=
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
836 program_transform_name
=s
,x
,x
,
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir
='${exec_prefix}/bin'
851 sbindir
='${exec_prefix}/sbin'
852 libexecdir
='${exec_prefix}/libexec'
853 datarootdir
='${prefix}/share'
854 datadir
='${datarootdir}'
855 sysconfdir
='${prefix}/etc'
856 sharedstatedir
='${prefix}/com'
857 localstatedir
='${prefix}/var'
858 includedir
='${prefix}/include'
859 oldincludedir
='/usr/include'
860 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
861 infodir
='${datarootdir}/info'
866 libdir
='${exec_prefix}/lib'
867 localedir
='${datarootdir}/locale'
868 mandir
='${datarootdir}/man'
874 # If the previous option needs an argument, assign it.
875 if test -n "$ac_prev"; then
876 eval $ac_prev=\
$ac_option
882 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
887 # Accept the important Cygnus configure options, so we can diagnose typos.
889 case $ac_dashdash$ac_option in
893 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
895 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
898 -build |
--build |
--buil |
--bui |
--bu)
899 ac_prev
=build_alias
;;
900 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
901 build_alias
=$ac_optarg ;;
903 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
904 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
905 ac_prev
=cache_file
;;
906 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
907 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
908 cache_file
=$ac_optarg ;;
911 cache_file
=config.cache
;;
913 -datadir |
--datadir |
--datadi |
--datad)
915 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
916 datadir
=$ac_optarg ;;
918 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
919 |
--dataroo |
--dataro |
--datar)
920 ac_prev
=datarootdir
;;
921 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
922 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
923 datarootdir
=$ac_optarg ;;
925 -disable-* |
--disable-*)
926 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
927 # Reject names that are not valid shell variable names.
928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
929 as_fn_error $?
"invalid feature name: $ac_useropt"
930 ac_useropt_orig
=$ac_useropt
931 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932 case $ac_user_opts in
936 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
937 ac_unrecognized_sep
=', ';;
939 eval enable_
$ac_useropt=no
;;
941 -docdir |
--docdir |
--docdi |
--doc |
--do)
943 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
946 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
948 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
951 -enable-* |
--enable-*)
952 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
955 as_fn_error $?
"invalid feature name: $ac_useropt"
956 ac_useropt_orig
=$ac_useropt
957 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
962 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
963 ac_unrecognized_sep
=', ';;
965 eval enable_
$ac_useropt=\
$ac_optarg ;;
967 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
968 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
969 |
--exec |
--exe |
--ex)
970 ac_prev
=exec_prefix
;;
971 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
972 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
973 |
--exec=* |
--exe=* |
--ex=*)
974 exec_prefix
=$ac_optarg ;;
976 -gas |
--gas |
--ga |
--g)
977 # Obsolete; use --with-gas.
980 -help |
--help |
--hel |
--he |
-h)
982 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
983 ac_init_help
=recursive
;;
984 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
985 ac_init_help
=short
;;
987 -host |
--host |
--hos |
--ho)
988 ac_prev
=host_alias
;;
989 -host=* |
--host=* |
--hos=* |
--ho=*)
990 host_alias
=$ac_optarg ;;
992 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
994 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
996 htmldir
=$ac_optarg ;;
998 -includedir |
--includedir |
--includedi |
--included |
--include \
999 |
--includ |
--inclu |
--incl |
--inc)
1000 ac_prev
=includedir
;;
1001 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1002 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1003 includedir
=$ac_optarg ;;
1005 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1007 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1008 infodir
=$ac_optarg ;;
1010 -libdir |
--libdir |
--libdi |
--libd)
1012 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1013 libdir
=$ac_optarg ;;
1015 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1016 |
--libexe |
--libex |
--libe)
1017 ac_prev
=libexecdir
;;
1018 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1019 |
--libexe=* |
--libex=* |
--libe=*)
1020 libexecdir
=$ac_optarg ;;
1022 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1023 ac_prev
=localedir
;;
1024 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1025 localedir
=$ac_optarg ;;
1027 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1028 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1029 ac_prev
=localstatedir
;;
1030 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1031 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1032 localstatedir
=$ac_optarg ;;
1034 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1036 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1037 mandir
=$ac_optarg ;;
1039 -nfp |
--nfp |
--nf)
1040 # Obsolete; use --without-fp.
1043 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1044 |
--no-cr |
--no-c |
-n)
1047 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1048 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1051 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1052 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1053 |
--oldin |
--oldi |
--old |
--ol |
--o)
1054 ac_prev
=oldincludedir
;;
1055 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1056 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1057 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1058 oldincludedir
=$ac_optarg ;;
1060 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1062 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1063 prefix
=$ac_optarg ;;
1065 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1066 |
--program-pre |
--program-pr |
--program-p)
1067 ac_prev
=program_prefix
;;
1068 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1069 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1070 program_prefix
=$ac_optarg ;;
1072 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1073 |
--program-suf |
--program-su |
--program-s)
1074 ac_prev
=program_suffix
;;
1075 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1076 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1077 program_suffix
=$ac_optarg ;;
1079 -program-transform-name |
--program-transform-name \
1080 |
--program-transform-nam |
--program-transform-na \
1081 |
--program-transform-n |
--program-transform- \
1082 |
--program-transform |
--program-transfor \
1083 |
--program-transfo |
--program-transf \
1084 |
--program-trans |
--program-tran \
1085 |
--progr-tra |
--program-tr |
--program-t)
1086 ac_prev
=program_transform_name
;;
1087 -program-transform-name=* |
--program-transform-name=* \
1088 |
--program-transform-nam=* |
--program-transform-na=* \
1089 |
--program-transform-n=* |
--program-transform-=* \
1090 |
--program-transform=* |
--program-transfor=* \
1091 |
--program-transfo=* |
--program-transf=* \
1092 |
--program-trans=* |
--program-tran=* \
1093 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1094 program_transform_name
=$ac_optarg ;;
1096 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1098 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1099 pdfdir
=$ac_optarg ;;
1101 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1103 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1106 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1107 |
-silent |
--silent |
--silen |
--sile |
--sil)
1110 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1112 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1114 sbindir
=$ac_optarg ;;
1116 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1117 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1118 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1120 ac_prev
=sharedstatedir
;;
1121 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1122 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1123 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1125 sharedstatedir
=$ac_optarg ;;
1127 -site |
--site |
--sit)
1129 -site=* |
--site=* |
--sit=*)
1132 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1134 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1135 srcdir
=$ac_optarg ;;
1137 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1138 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1139 ac_prev
=sysconfdir
;;
1140 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1141 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1142 sysconfdir
=$ac_optarg ;;
1144 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1145 ac_prev
=target_alias
;;
1146 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1147 target_alias
=$ac_optarg ;;
1149 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1152 -version |
--version |
--versio |
--versi |
--vers |
-V)
1153 ac_init_version
=: ;;
1156 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1159 as_fn_error $?
"invalid package name: $ac_useropt"
1160 ac_useropt_orig
=$ac_useropt
1161 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1166 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1167 ac_unrecognized_sep
=', ';;
1169 eval with_
$ac_useropt=\
$ac_optarg ;;
1171 -without-* |
--without-*)
1172 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1175 as_fn_error $?
"invalid package name: $ac_useropt"
1176 ac_useropt_orig
=$ac_useropt
1177 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1183 ac_unrecognized_sep
=', ';;
1185 eval with_
$ac_useropt=no
;;
1188 # Obsolete; use --with-x.
1191 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1192 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1193 ac_prev
=x_includes
;;
1194 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1195 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1196 x_includes
=$ac_optarg ;;
1198 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1199 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1200 ac_prev
=x_libraries
;;
1201 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1202 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1203 x_libraries
=$ac_optarg ;;
1205 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1206 Try \`$0 --help' for more information"
1210 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1211 # Reject names that are not valid shell variable names.
1212 case $ac_envvar in #(
1213 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1214 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1216 eval $ac_envvar=\
$ac_optarg
1217 export $ac_envvar ;;
1220 # FIXME: should be removed in autoconf 3.0.
1221 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1222 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1223 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1224 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1230 if test -n "$ac_prev"; then
1231 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1232 as_fn_error $?
"missing argument to $ac_option"
1235 if test -n "$ac_unrecognized_opts"; then
1236 case $enable_option_checking in
1238 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1239 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1243 # Check all directory arguments for consistency.
1244 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1245 datadir sysconfdir sharedstatedir localstatedir includedir \
1246 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1247 libdir localedir mandir
1249 eval ac_val
=\$
$ac_var
1250 # Remove trailing slashes.
1253 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1254 eval $ac_var=\
$ac_val;;
1256 # Be sure to have absolute directory names.
1258 [\\/$
]* | ?
:[\\/]* ) continue;;
1259 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1261 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1264 # There might be people who depend on the old broken behavior: `$host'
1265 # used to hold the argument of --host etc.
1266 # FIXME: To remove some day.
1269 target
=$target_alias
1271 # FIXME: To remove some day.
1272 if test "x$host_alias" != x
; then
1273 if test "x$build_alias" = x
; then
1274 cross_compiling
=maybe
1275 elif test "x$build_alias" != "x$host_alias"; then
1281 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1283 test "$silent" = yes && exec 6>/dev
/null
1286 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1287 ac_ls_di
=`ls -di .` &&
1288 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1289 as_fn_error $?
"working directory cannot be determined"
1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291 as_fn_error $?
"pwd does not report name of working directory"
1294 # Find the source files, if location was not specified.
1295 if test -z "$srcdir"; then
1296 ac_srcdir_defaulted
=yes
1297 # Try the directory containing this script, then the parent directory.
1298 ac_confdir
=`$as_dirname -- "$as_myself" ||
1299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1300 X"$as_myself" : 'X\(//\)[^/]' \| \
1301 X"$as_myself" : 'X\(//\)$' \| \
1302 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1303 $as_echo X"$as_myself" |
1304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1326 ac_srcdir_defaulted
=no
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1329 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1330 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1332 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1334 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336 # When building in place, set srcdir=.
1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
1340 # Remove unnecessary trailing slashes from srcdir.
1341 # Double slashes in file names in object file debugging info
1342 # mess up M-x gdb in Emacs.
1344 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1346 for ac_var
in $ac_precious_vars; do
1347 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1348 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1349 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1350 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1354 # Report the --help message.
1356 if test "$ac_init_help" = "long"; then
1357 # Omit some internal or obsolete options to make the list less imposing.
1358 # This message is too long to be a string in the A/UX 3.1 sh.
1360 \`configure' configures opcodes 2.37.50 to adapt to many kinds of systems.
1362 Usage: $0 [OPTION]... [VAR=VALUE]...
1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365 VAR=VALUE. See below for descriptions of some of the useful variables.
1367 Defaults for the options are specified in brackets.
1370 -h, --help display this help and exit
1371 --help=short display options specific to this package
1372 --help=recursive display the short help of all the included packages
1373 -V, --version display version information and exit
1374 -q, --quiet, --silent do not print \`checking ...' messages
1375 --cache-file=FILE cache test results in FILE [disabled]
1376 -C, --config-cache alias for \`--cache-file=config.cache'
1377 -n, --no-create do not create output files
1378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1380 Installation directories:
1381 --prefix=PREFIX install architecture-independent files in PREFIX
1382 [$ac_default_prefix]
1383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1386 By default, \`make install' will install all the files in
1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389 for instance \`--prefix=\$HOME'.
1391 For better control, use the options below.
1393 Fine tuning of the installation directories:
1394 --bindir=DIR user executables [EPREFIX/bin]
1395 --sbindir=DIR system admin executables [EPREFIX/sbin]
1396 --libexecdir=DIR program executables [EPREFIX/libexec]
1397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1400 --libdir=DIR object code libraries [EPREFIX/lib]
1401 --includedir=DIR C header files [PREFIX/include]
1402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1405 --infodir=DIR info documentation [DATAROOTDIR/info]
1406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1407 --mandir=DIR man documentation [DATAROOTDIR/man]
1408 --docdir=DIR documentation root [DATAROOTDIR/doc/opcodes]
1409 --htmldir=DIR html documentation [DOCDIR]
1410 --dvidir=DIR dvi documentation [DOCDIR]
1411 --pdfdir=DIR pdf documentation [DOCDIR]
1412 --psdir=DIR ps documentation [DOCDIR]
1418 --program-prefix=PREFIX prepend PREFIX to installed program names
1419 --program-suffix=SUFFIX append SUFFIX to installed program names
1420 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1423 --build=BUILD configure
for building on BUILD
[guessed
]
1424 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1425 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1429 if test -n "$ac_init_help"; then
1430 case $ac_init_help in
1431 short | recursive
) echo "Configuration of opcodes 2.37.50:";;
1436 --disable-option-checking ignore unrecognized
--enable/--with options
1437 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1438 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1439 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1440 --disable-silent-rules verbose build output
(undo
: "make V=0")
1441 --enable-dependency-tracking
1442 do not reject slow dependency extractors
1443 --disable-dependency-tracking
1444 speeds up one-time build
1445 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1446 --enable-static[=PKGS
] build static libraries
[default
=yes]
1447 --enable-fast-install[=PKGS
]
1448 optimize
for fast installation
[default
=yes]
1449 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1450 --enable-checking enable run-time checks
1451 --enable-targets alternative target configurations
1452 --enable-werror treat compile warnings as errors
1453 --enable-build-warnings enable build-time compiler warnings
1454 --enable-maintainer-mode
1455 enable make rules and dependencies not useful
(and
1456 sometimes confusing
) to the casual installer
1457 --enable-install-libbfd controls installation of libbfd and related headers
1458 --disable-nls do not use Native Language Support
1459 --enable-cgen-maint=dir build cgen generated files
1462 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1463 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1464 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1466 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1468 Some influential environment variables
:
1469 CC C compiler
command
1470 CFLAGS C compiler flags
1471 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1472 nonstandard directory
<lib dir
>
1473 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1474 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1475 you have headers
in a nonstandard directory
<include dir
>
1478 Use these variables to override the choices made by
`configure' or to help
1479 it to find libraries and programs with nonstandard names/locations.
1481 Report bugs to the package provider.
1486 if test "$ac_init_help" = "recursive"; then
1487 # If there are subdirs, report their specific --help.
1488 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1489 test -d "$ac_dir" ||
1490 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1497 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1498 # A ".." for each directory in $ac_dir_suffix.
1499 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1500 case $ac_top_builddir_sub in
1501 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1505 ac_abs_top_builddir=$ac_pwd
1506 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1507 # for backward compatibility:
1508 ac_top_builddir=$ac_top_build_prefix
1511 .) # We are building in place.
1513 ac_top_srcdir=$ac_top_builddir_sub
1514 ac_abs_top_srcdir=$ac_pwd ;;
1515 [\\/]* | ?:[\\/]* ) # Absolute name.
1516 ac_srcdir=$srcdir$ac_dir_suffix;
1517 ac_top_srcdir=$srcdir
1518 ac_abs_top_srcdir=$srcdir ;;
1520 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1521 ac_top_srcdir=$ac_top_build_prefix$srcdir
1522 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1526 cd "$ac_dir" || { ac_status=$?; continue; }
1527 # Check for guested configure.
1528 if test -f "$ac_srcdir/configure.gnu"; then
1530 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1531 elif test -f "$ac_srcdir/configure"; then
1533 $SHELL "$ac_srcdir/configure" --help=recursive
1535 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1537 cd "$ac_pwd" || { ac_status=$?; break; }
1541 test -n "$ac_init_help" && exit $ac_status
1542 if $ac_init_version; then
1544 opcodes configure 2.37.50
1545 generated by GNU Autoconf 2.69
1547 Copyright (C) 2012 Free Software Foundation, Inc.
1548 This configure script is free software; the Free Software Foundation
1549 gives unlimited permission to copy, distribute and modify it.
1554 ## ------------------------ ##
1555 ## Autoconf initialization. ##
1556 ## ------------------------ ##
1558 # ac_fn_c_try_compile LINENO
1559 # --------------------------
1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_c_try_compile ()
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 rm -f conftest.$ac_objext
1565 if { { ac_try="$ac_compile"
1567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1568 *) ac_try_echo
=$ac_try;;
1570 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_compile") 2>conftest.err
1574 if test -s conftest.err
; then
1575 grep -v '^ *+' conftest.err
>conftest.er1
1576 cat conftest.er1
>&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest.
$ac_objext; then :
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.
$ac_ext >&5
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status
$ac_retval
1594 } # ac_fn_c_try_compile
1596 # ac_fn_c_try_cpp LINENO
1597 # ----------------------
1598 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1601 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1602 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1611 if test -s conftest.err; then
1612 grep -v '^ *+' conftest.err >conftest.er1
1613 cat conftest.er1 >&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } > conftest.i && {
1618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1623 $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.$ac_ext >&5
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status $ac_retval
1633 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1634 # -------------------------------------------------------
1635 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1636 # the include files in INCLUDES and setting the cache variable VAR
1638 ac_fn_c_check_header_mongrel ()
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 if eval \${$3+:} false; then :
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1643 $as_echo_n "checking for $2... " >&6; }
1644 if eval \${$3+:} false; then :
1645 $as_echo_n "(cached) " >&6
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649 $as_echo "$ac_res" >&6; }
1651 # Is the header compilable?
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1653 $as_echo_n "checking $2 usability... " >&6; }
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1659 if ac_fn_c_try_compile "$LINENO"; then :
1660 ac_header_compiler=yes
1662 ac_header_compiler=no
1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1666 $as_echo "$ac_header_compiler" >&6; }
1668 # Is the header present?
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1670 $as_echo_n "checking $2 presence... " >&6; }
1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1675 if ac_fn_c_try_cpp "$LINENO"; then :
1676 ac_header_preproc=yes
1678 ac_header_preproc=no
1680 rm -f conftest.err conftest.i conftest.$ac_ext
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1682 $as_echo "$ac_header_preproc" >&6; }
1684 # So? What about this header?
1685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1688 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1690 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1694 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1696 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1698 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1700 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1702 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval \${$3+:} false; then :
1708 $as_echo_n "(cached) " >&6
1710 eval "$3=\$ac_header_compiler"
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718 } # ac_fn_c_check_header_mongrel
1720 # ac_fn_c_try_run LINENO
1721 # ----------------------
1722 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1723 # that executables *can* be run.
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 if { { ac_try="$ac_link"
1729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1730 *) ac_try_echo
=$ac_try;;
1732 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_link") 2>&5
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1738 { { case "(($ac_try" in
1739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_try") 2>&5
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; }; }; then :
1750 $as_echo "$as_me: program exited with status $ac_status" >&5
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1754 ac_retval=$ac_status
1756 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758 as_fn_set_status $ac_retval
1762 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1763 # -------------------------------------------------------
1764 # Tests whether HEADER exists and can be compiled using the include files in
1765 # INCLUDES, setting the cache variable VAR accordingly.
1766 ac_fn_c_check_header_compile ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval \${$3+:} false; then :
1772 $as_echo_n "(cached) " >&6
1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1779 if ac_fn_c_try_compile "$LINENO"; then :
1784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788 $as_echo "$ac_res" >&6; }
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 } # ac_fn_c_check_header_compile
1793 # ac_fn_c_try_link LINENO
1794 # -----------------------
1795 # Try to link conftest.$ac_ext, and return whether this succeeded.
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 rm -f conftest.$ac_objext conftest$ac_exeext
1800 if { { ac_try="$ac_link"
1802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1803 *) ac_try_echo
=$ac_try;;
1805 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806 $as_echo "$ac_try_echo"; } >&5
1807 (eval "$ac_link") 2>conftest.err
1809 if test -s conftest.err
; then
1810 grep -v '^ *+' conftest.err
>conftest.er1
1811 cat conftest.er1
>&5
1812 mv -f conftest.er1 conftest.err
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } && {
1816 test -z "$ac_c_werror_flag" ||
1817 test ! -s conftest.err
1818 } && test -s conftest
$ac_exeext && {
1819 test "$cross_compiling" = yes ||
1820 test -x conftest
$ac_exeext
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.
$ac_ext >&5
1829 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1830 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1831 # interfere with the next link command; also delete a directory that is
1832 # left behind by Apple's compiler. We do this before executing the actions.
1833 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status
$ac_retval
1837 } # ac_fn_c_try_link
1839 # ac_fn_c_check_func LINENO FUNC VAR
1840 # ----------------------------------
1841 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1842 ac_fn_c_check_func
()
1844 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if eval \
${$3+:} false
; then :
1848 $as_echo_n "(cached) " >&6
1850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1852 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1854 #define $2 innocuous_$2
1856 /* System header to define __stub macros and hopefully few prototypes,
1857 which can conflict with char $2 (); below.
1858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1859 <limits.h> exists even on freestanding compilers. */
1862 # include <limits.h>
1864 # include <assert.h>
1869 /* Override any GCC internal prototype to avoid an error.
1870 Use char because int might match the return type of a GCC
1871 builtin and then its argument prototype would still apply. */
1876 /* The GNU C library defines this for functions which it implements
1877 to always fail with ENOSYS. Some functions are actually named
1878 something starting with __ and the normal name is an alias. */
1879 #if defined __stub_$2 || defined __stub___$2
1891 if ac_fn_c_try_link
"$LINENO"; then :
1896 rm -f core conftest.err conftest.
$ac_objext \
1897 conftest
$ac_exeext conftest.
$ac_ext
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901 $as_echo "$ac_res" >&6; }
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 } # ac_fn_c_check_func
1906 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1907 # ---------------------------------------------
1908 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1910 ac_fn_c_check_decl
()
1912 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1913 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1914 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1916 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1917 if eval \
${$3+:} false
; then :
1918 $as_echo_n "(cached) " >&6
1920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1926 #ifndef $as_decl_name
1928 (void) $as_decl_use;
1930 (void) $as_decl_name;
1938 if ac_fn_c_try_compile
"$LINENO"; then :
1943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 } # ac_fn_c_check_decl
1951 cat >config.log
<<_ACEOF
1952 This file contains any messages produced by compilers while
1953 running configure, to aid debugging if configure makes a mistake.
1955 It was created by opcodes $as_me 2.37.50, which was
1956 generated by GNU Autoconf 2.69. Invocation command line was
1968 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1969 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1970 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1971 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1972 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1974 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1975 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1977 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1978 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1979 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1980 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1981 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1982 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1983 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1991 test -z "$as_dir" && as_dir
=.
1992 $as_echo "PATH: $as_dir"
2008 # Keep a trace of the command line.
2009 # Strip out --no-create and --no-recursion so they do not pile up.
2010 # Strip out --silent because we don't want to record it for future runs.
2011 # Also quote any args containing shell meta-characters.
2012 # Make two passes to allow for proper duplicate-argument suppression.
2016 ac_must_keep_next
=false
2022 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2023 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2024 |
-silent |
--silent |
--silen |
--sile |
--sil)
2027 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2030 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2032 as_fn_append ac_configure_args1
" '$ac_arg'"
2033 if test $ac_must_keep_next = true
; then
2034 ac_must_keep_next
=false
# Got value, back to normal.
2037 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2038 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2039 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2040 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2041 case "$ac_configure_args0 " in
2042 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2045 -* ) ac_must_keep_next
=true
;;
2048 as_fn_append ac_configure_args
" '$ac_arg'"
2053 { ac_configure_args0
=; unset ac_configure_args0
;}
2054 { ac_configure_args1
=; unset ac_configure_args1
;}
2056 # When interrupted or exit'd, cleanup temporary files, and complete
2057 # config.log. We remove comments because anyway the quotes in there
2058 # would cause problems or look ugly.
2059 # WARNING: Use '\'' to represent an apostrophe within the trap.
2060 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2061 trap 'exit_status=$?
2062 # Save into config.log some information that might help in debugging.
2066 $as_echo "## ---------------- ##
2067 ## Cache variables. ##
2068 ## ---------------- ##"
2070 # The following way of writing the cache mishandles newlines in values,
2072 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2073 eval ac_val=\$$ac_var
2077 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2078 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2081 _ | IFS | as_nl) ;; #(
2082 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2083 *) { eval $ac_var=; unset $ac_var;} ;;
2088 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2089 *${as_nl}ac_space=\ *)
2091 "s/'\''/'\''\\\\'\'''\''/g;
2092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2095 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2102 $as_echo "## ----------------- ##
2103 ## Output variables. ##
2104 ## ----------------- ##"
2106 for ac_var in $ac_subst_vars
2108 eval ac_val=\$$ac_var
2110 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2112 $as_echo "$ac_var='\''$ac_val'\''"
2116 if test -n "$ac_subst_files"; then
2117 $as_echo "## ------------------- ##
2118 ## File substitutions. ##
2119 ## ------------------- ##"
2121 for ac_var
in $ac_subst_files
2123 eval ac_val
=\$
$ac_var
2125 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2127 $as_echo "$ac_var='\''$ac_val'\''"
2132 if test -s confdefs.h; then
2133 $as_echo "## ----------- ##
2140 test "$ac_signal" != 0 &&
2141 $as_echo "$as_me: caught signal $ac_signal"
2142 $as_echo "$as_me: exit $exit_status"
2144 rm -f core *.core core.conftest.* &&
2145 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2148 for ac_signal
in 1 2 13 15; do
2149 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2153 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2154 rm -f -r conftest
* confdefs.h
2156 $as_echo "/* confdefs.h */" > confdefs.h
2158 # Predefined preprocessor variables.
2160 cat >>confdefs.h
<<_ACEOF
2161 #define PACKAGE_NAME "$PACKAGE_NAME"
2164 cat >>confdefs.h
<<_ACEOF
2165 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2168 cat >>confdefs.h
<<_ACEOF
2169 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2172 cat >>confdefs.h
<<_ACEOF
2173 #define PACKAGE_STRING "$PACKAGE_STRING"
2176 cat >>confdefs.h
<<_ACEOF
2177 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2180 cat >>confdefs.h
<<_ACEOF
2181 #define PACKAGE_URL "$PACKAGE_URL"
2185 # Let the site file select an alternate cache file if it wants to.
2186 # Prefer an explicitly selected file to automatically selected ones.
2189 if test -n "$CONFIG_SITE"; then
2190 # We do not want a PATH search for config.site.
2191 case $CONFIG_SITE in #((
2192 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2193 */*) ac_site_file1
=$CONFIG_SITE;;
2194 *) ac_site_file1
=.
/$CONFIG_SITE;;
2196 elif test "x$prefix" != xNONE
; then
2197 ac_site_file1
=$prefix/share
/config.site
2198 ac_site_file2
=$prefix/etc
/config.site
2200 ac_site_file1
=$ac_default_prefix/share
/config.site
2201 ac_site_file2
=$ac_default_prefix/etc
/config.site
2203 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2205 test "x$ac_site_file" = xNONE
&& continue
2206 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2208 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2209 sed 's/^/| /' "$ac_site_file" >&5
2211 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213 as_fn_error $?
"failed to load site script $ac_site_file
2214 See \`config.log' for more details" "$LINENO" 5; }
2218 if test -r "$cache_file"; then
2219 # Some versions of bash will fail to source /dev/null (special files
2220 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2221 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2223 $as_echo "$as_me: loading cache $cache_file" >&6;}
2225 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2226 *) .
"./$cache_file";;
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2231 $as_echo "$as_me: creating cache $cache_file" >&6;}
2235 # Check that the precious variables saved in the cache have kept the same
2237 ac_cache_corrupted
=false
2238 for ac_var
in $ac_precious_vars; do
2239 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2240 eval ac_new_set
=\
$ac_env_${ac_var}_set
2241 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2242 eval ac_new_val
=\
$ac_env_${ac_var}_value
2243 case $ac_old_set,$ac_new_set in
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2246 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2247 ac_cache_corrupted
=: ;;
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2250 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2251 ac_cache_corrupted
=: ;;
2254 if test "x$ac_old_val" != "x$ac_new_val"; then
2255 # differences in whitespace do not lead to failure.
2256 ac_old_val_w
=`echo x $ac_old_val`
2257 ac_new_val_w
=`echo x $ac_new_val`
2258 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2260 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2261 ac_cache_corrupted
=:
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2264 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2265 eval $ac_var=\
$ac_old_val
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2268 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2270 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2273 # Pass precious variables to config.status.
2274 if test "$ac_new_set" = set; then
2276 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2277 *) ac_arg
=$ac_var=$ac_new_val ;;
2279 case " $ac_configure_args " in
2280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2281 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2285 if $ac_cache_corrupted; then
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2289 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2290 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2292 ## -------------------- ##
2293 ## Main body of script. ##
2294 ## -------------------- ##
2297 ac_cpp
='$CPP $CPPFLAGS'
2298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2309 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2310 if test -f "$ac_dir/install-sh"; then
2312 ac_install_sh
="$ac_aux_dir/install-sh -c"
2314 elif test -f "$ac_dir/install.sh"; then
2316 ac_install_sh
="$ac_aux_dir/install.sh -c"
2318 elif test -f "$ac_dir/shtool"; then
2320 ac_install_sh
="$ac_aux_dir/shtool install -c"
2324 if test -z "$ac_aux_dir"; then
2325 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2328 # These three variables are undocumented and unsupported,
2329 # and are intended to be withdrawn in a future Autoconf release.
2330 # They can cause serious problems if a builder's source tree is in a directory
2331 # whose full name contains unusual characters.
2332 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2333 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2334 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2337 # Make sure we can run config.sub.
2338 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2339 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2342 $as_echo_n "checking build system type... " >&6; }
2343 if ${ac_cv_build+:} false
; then :
2344 $as_echo_n "(cached) " >&6
2346 ac_build_alias
=$build_alias
2347 test "x$ac_build_alias" = x
&&
2348 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2349 test "x$ac_build_alias" = x
&&
2350 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2351 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2352 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2356 $as_echo "$ac_cv_build" >&6; }
2357 case $ac_cv_build in
2359 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2362 ac_save_IFS
=$IFS; IFS
='-'
2368 # Remember, the first character of IFS is used to create $*,
2369 # except with old shells:
2372 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2376 $as_echo_n "checking host system type... " >&6; }
2377 if ${ac_cv_host+:} false
; then :
2378 $as_echo_n "(cached) " >&6
2380 if test "x$host_alias" = x
; then
2381 ac_cv_host
=$ac_cv_build
2383 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2384 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2389 $as_echo "$ac_cv_host" >&6; }
2392 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2395 ac_save_IFS
=$IFS; IFS
='-'
2401 # Remember, the first character of IFS is used to create $*,
2402 # except with old shells:
2405 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2409 $as_echo_n "checking target system type... " >&6; }
2410 if ${ac_cv_target+:} false
; then :
2411 $as_echo_n "(cached) " >&6
2413 if test "x$target_alias" = x
; then
2414 ac_cv_target
=$ac_cv_host
2416 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2417 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2422 $as_echo "$ac_cv_target" >&6; }
2423 case $ac_cv_target in
2425 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2427 target
=$ac_cv_target
2428 ac_save_IFS
=$IFS; IFS
='-'
2434 # Remember, the first character of IFS is used to create $*,
2435 # except with old shells:
2438 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2441 # The aliases save the names the user supplied, while $host etc.
2442 # will get canonicalized.
2443 test -n "$target_alias" &&
2444 test "$program_prefix$program_suffix$program_transform_name" = \
2446 program_prefix
=${target_alias}-
2448 am__api_version
='1.15'
2450 # Find a good install program. We prefer a C program (faster),
2451 # so one script is as good as another. But avoid the broken or
2452 # incompatible versions:
2453 # SysV /etc/install, /usr/sbin/install
2454 # SunOS /usr/etc/install
2455 # IRIX /sbin/install
2457 # AmigaOS /C/install, which installs bootblocks on floppy discs
2458 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2459 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2460 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2461 # OS/2's system install, which has a completely different semantic
2462 # ./install, which can be erroneously created by make from ./install.sh.
2463 # Reject install programs that cannot install multiple files.
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2465 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2466 if test -z "$INSTALL"; then
2467 if ${ac_cv_path_install+:} false
; then :
2468 $as_echo_n "(cached) " >&6
2470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir
=.
2475 # Account for people who put trailing slashes in PATH elements.
2476 case $as_dir/ in #((
2477 .
/ | .
// |
/[cC
]/* | \
2478 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2479 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2482 # OSF1 and SCO ODT 3.0 have their own names for install.
2483 # Don't use installbsd from OSF since it installs stuff as root
2485 for ac_prog
in ginstall scoinst
install; do
2486 for ac_exec_ext
in '' $ac_executable_extensions; do
2487 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2488 if test $ac_prog = install &&
2489 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2490 # AIX install. It has an incompatible calling convention.
2492 elif test $ac_prog = install &&
2493 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2494 # program-specific install script used by HP pwplus--don't use.
2497 rm -rf conftest.one conftest.two conftest.dir
2498 echo one
> conftest.one
2499 echo two
> conftest.two
2501 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2502 test -s conftest.one
&& test -s conftest.two
&&
2503 test -s conftest.dir
/conftest.one
&&
2504 test -s conftest.dir
/conftest.two
2506 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2519 rm -rf conftest.one conftest.two conftest.dir
2522 if test "${ac_cv_path_install+set}" = set; then
2523 INSTALL
=$ac_cv_path_install
2525 # As a last resort, use the slow shell script. Don't cache a
2526 # value for INSTALL within a source directory, because that will
2527 # break other packages using the cache if that directory is
2528 # removed, or if the value is a relative name.
2529 INSTALL
=$ac_install_sh
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2533 $as_echo "$INSTALL" >&6; }
2535 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2536 # It thinks the first close brace ends the variable substitution.
2537 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2539 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2541 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2544 $as_echo_n "checking whether build environment is sane... " >&6; }
2545 # Reject unsafe characters in $srcdir or the absolute working directory
2546 # name. Accept space and tab only in the latter.
2550 *[\\\"\
#\$\&\'\`$am_lf]*)
2551 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2554 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2555 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2558 # Do 'set' in a subshell so we don't clobber the current shell's
2559 # arguments. Must try -L first in case configure is actually a
2560 # symlink; some systems play weird games with the mod time of symlinks
2561 # (eg FreeBSD returns the mod time of the symlink's containing
2565 for am_try
in 1 2; do
2566 echo "timestamp, slept: $am_has_slept" > conftest.
file
2567 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2568 if test "$*" = "X"; then
2570 set X
`ls -t "$srcdir/configure" conftest.file`
2572 if test "$*" != "X $srcdir/configure conftest.file" \
2573 && test "$*" != "X conftest.file $srcdir/configure"; then
2575 # If neither matched, then we have a broken ls. This can happen
2576 # if, for instance, CONFIG_SHELL is bash and it inherits a
2577 # broken ls alias from the environment. This has actually
2578 # happened. Such a system could not be considered "sane".
2579 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2580 alias in your environment" "$LINENO" 5
2582 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2589 test "$2" = conftest.
file
2595 as_fn_error $?
"newly created file is older than distributed files!
2596 Check your system clock" "$LINENO" 5
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2599 $as_echo "yes" >&6; }
2600 # If we didn't sleep, we still need to ensure time stamps of config.status and
2601 # generated files are strictly newer.
2603 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2610 test "$program_prefix" != NONE
&&
2611 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2612 # Use a double $ so make ignores it.
2613 test "$program_suffix" != NONE
&&
2614 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2615 # Double any \ or $.
2616 # By default was `s,x,x', remove it if useless.
2617 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2618 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2620 # Expand $ac_aux_dir to an absolute path.
2621 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2623 if test x
"${MISSING+set}" != xset
; then
2626 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2628 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2631 # Use eval to expand $SHELL
2632 if eval "$MISSING --is-lightweight"; then
2633 am_missing_run
="$MISSING "
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2637 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2640 if test x
"${install_sh+set}" != xset
; then
2643 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2645 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2649 # Installed binaries are usually stripped using 'strip' when the user
2650 # run "make install-strip". However 'strip' might not be the right
2651 # tool to use in cross-compilation environments, therefore Automake
2652 # will honor the 'STRIP' environment variable to overrule this program.
2653 if test "$cross_compiling" != no
; then
2654 if test -n "$ac_tool_prefix"; then
2655 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2656 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if ${ac_cv_prog_STRIP+:} false
; then :
2660 $as_echo_n "(cached) " >&6
2662 if test -n "$STRIP"; then
2663 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir
=.
2670 for ac_exec_ext
in '' $ac_executable_extensions; do
2671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2672 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 STRIP
=$ac_cv_prog_STRIP
2683 if test -n "$STRIP"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2685 $as_echo "$STRIP" >&6; }
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2693 if test -z "$ac_cv_prog_STRIP"; then
2695 # Extract the first word of "strip", so it can be a program name with args.
2696 set dummy strip
; ac_word
=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$ac_ct_STRIP"; then
2703 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2712 ac_cv_prog_ac_ct_STRIP
="strip"
2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2723 if test -n "$ac_ct_STRIP"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2725 $as_echo "$ac_ct_STRIP" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2731 if test "x$ac_ct_STRIP" = x
; then
2734 case $cross_compiling:$ac_tool_warned in
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2738 ac_tool_warned
=yes ;;
2743 STRIP
="$ac_cv_prog_STRIP"
2747 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2750 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2751 if test -z "$MKDIR_P"; then
2752 if ${ac_cv_path_mkdir+:} false
; then :
2753 $as_echo_n "(cached) " >&6
2755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2756 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2759 test -z "$as_dir" && as_dir
=.
2760 for ac_prog
in mkdir gmkdir
; do
2761 for ac_exec_ext
in '' $ac_executable_extensions; do
2762 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2763 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2764 'mkdir (GNU coreutils) '* | \
2765 'mkdir (coreutils) '* | \
2766 'mkdir (fileutils) '4.1*)
2767 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2777 test -d .
/--version && rmdir .
/--version
2778 if test "${ac_cv_path_mkdir+set}" = set; then
2779 MKDIR_P
="$ac_cv_path_mkdir -p"
2781 # As a last resort, use the slow shell script. Don't cache a
2782 # value for MKDIR_P within a source directory, because that will
2783 # break other packages using the cache if that directory is
2784 # removed, or if the value is a relative name.
2785 MKDIR_P
="$ac_install_sh -d"
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2789 $as_echo "$MKDIR_P" >&6; }
2791 for ac_prog
in gawk mawk nawk
awk
2793 # Extract the first word of "$ac_prog", so it can be a program name with args.
2794 set dummy
$ac_prog; ac_word
=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if ${ac_cv_prog_AWK+:} false
; then :
2798 $as_echo_n "(cached) " >&6
2800 if test -n "$AWK"; then
2801 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir
=.
2808 for ac_exec_ext
in '' $ac_executable_extensions; do
2809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2810 ac_cv_prog_AWK
="$ac_prog"
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 if test -n "$AWK"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2823 $as_echo "$AWK" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2830 test -n "$AWK" && break
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2834 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2836 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2837 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2838 $as_echo_n "(cached) " >&6
2840 cat >conftest.
make <<\_ACEOF
2843 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2845 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2846 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2848 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2850 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2854 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2856 $as_echo "yes" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2861 SET_MAKE
="MAKE=${MAKE-make}"
2864 rm -rf .tst
2>/dev
/null
2865 mkdir .tst
2>/dev
/null
2866 if test -d .tst
; then
2871 rmdir .tst
2>/dev
/null
2873 # Check whether --enable-silent-rules was given.
2874 if test "${enable_silent_rules+set}" = set; then :
2875 enableval
=$enable_silent_rules;
2878 case $enable_silent_rules in # (((
2879 yes) AM_DEFAULT_VERBOSITY
=0;;
2880 no
) AM_DEFAULT_VERBOSITY
=1;;
2881 *) AM_DEFAULT_VERBOSITY
=1;;
2883 am_make
=${MAKE-make}
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2885 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2886 if ${am_cv_make_support_nested_variables+:} false
; then :
2887 $as_echo_n "(cached) " >&6
2889 if $as_echo 'TRUE=$(BAR$(V))
2895 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2896 am_cv_make_support_nested_variables
=yes
2898 am_cv_make_support_nested_variables
=no
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2902 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2903 if test $am_cv_make_support_nested_variables = yes; then
2905 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2907 AM_V
=$AM_DEFAULT_VERBOSITY
2908 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2912 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2913 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2914 # is not polluted with repeated "-I."
2915 am__isrc
=' -I$(srcdir)'
2916 # test to see if srcdir already configured
2917 if test -f $srcdir/config.status
; then
2918 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2922 # test whether we have cygpath
2923 if test -z "$CYGPATH_W"; then
2924 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2925 CYGPATH_W
='cygpath -w'
2932 # Define the identity of the package.
2937 cat >>confdefs.h
<<_ACEOF
2938 #define PACKAGE "$PACKAGE"
2942 cat >>confdefs.h
<<_ACEOF
2943 #define VERSION "$VERSION"
2946 # Some tools Automake needs.
2948 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2951 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2954 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2957 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2960 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2962 # For better backward compatibility. To be removed once Automake 1.9.x
2963 # dies out for good. For more background, see:
2964 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2965 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2966 mkdir_p
='$(MKDIR_P)'
2968 # We need awk for the "check" target (and possibly the TAP driver). The
2969 # system "awk" is bad on some platforms.
2970 # Always define AMTAR for backward compatibility. Yes, it's still used
2971 # in the wild :-( We should find a proper way to deprecate it ...
2975 # We'll loop over all known methods to create a tar archive until one works.
2976 _am_tools
='gnutar pax cpio none'
2978 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2985 # POSIX will say in a future version that running "rm -f" with no argument
2986 # is OK; and we want to be able to make that assumption in our Makefile
2987 # recipes. So use an aggressive probe to check that the usage we want is
2988 # actually supported "in the wild" to an acceptable degree.
2989 # See automake bug#10828.
2990 # To make any issue more visible, cause the running configure to be aborted
2991 # by default if the 'rm' program in use doesn't match our expectations; the
2992 # user can still override this though.
2993 if rm -f && rm -fr && rm -rf; then : OK
; else
2997 Your 'rm' program seems unable to run without file operands specified
2998 on the command line, even when the '-f' option is present. This is contrary
2999 to the behaviour of most rm programs out there, and not conforming with
3000 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3002 Please tell bug-automake@gnu.org about your system, including the value
3003 of your $PATH and any error possibly output before this message. This
3004 can help us improve future automake versions.
3007 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3008 echo 'Configuration will proceed anyway, since you have set the' >&2
3009 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3013 Aborting the configuration process, to ensure you take notice of the issue.
3015 You can download and install GNU coreutils to get an 'rm' implementation
3016 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3018 If you want to complete the configuration process using your problematic
3019 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3020 to "yes", and re-run configure.
3023 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3029 ac_cpp
='$CPP $CPPFLAGS'
3030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3033 if test -n "$ac_tool_prefix"; then
3034 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3035 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if ${ac_cv_prog_CC+:} false
; then :
3039 $as_echo_n "(cached) " >&6
3041 if test -n "$CC"; then
3042 ac_cv_prog_CC
="$CC" # Let the user override the test.
3044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir
=.
3049 for ac_exec_ext
in '' $ac_executable_extensions; do
3050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3051 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 if test -n "$CC"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3064 $as_echo "$CC" >&6; }
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
3072 if test -z "$ac_cv_prog_CC"; then
3074 # Extract the first word of "gcc", so it can be a program name with args.
3075 set dummy gcc
; ac_word
=$2
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3077 $as_echo_n "checking for $ac_word... " >&6; }
3078 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3079 $as_echo_n "(cached) " >&6
3081 if test -n "$ac_ct_CC"; then
3082 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir
=.
3089 for ac_exec_ext
in '' $ac_executable_extensions; do
3090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3091 ac_cv_prog_ac_ct_CC
="gcc"
3092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3102 if test -n "$ac_ct_CC"; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3104 $as_echo "$ac_ct_CC" >&6; }
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3107 $as_echo "no" >&6; }
3110 if test "x$ac_ct_CC" = x
; then
3113 case $cross_compiling:$ac_tool_warned in
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3117 ac_tool_warned
=yes ;;
3125 if test -z "$CC"; then
3126 if test -n "$ac_tool_prefix"; then
3127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3128 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3130 $as_echo_n "checking for $ac_word... " >&6; }
3131 if ${ac_cv_prog_CC+:} false
; then :
3132 $as_echo_n "(cached) " >&6
3134 if test -n "$CC"; then
3135 ac_cv_prog_CC
="$CC" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3144 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 if test -n "$CC"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3157 $as_echo "$CC" >&6; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3166 if test -z "$CC"; then
3167 # Extract the first word of "cc", so it can be a program name with args.
3168 set dummy cc
; ac_word
=$2
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3170 $as_echo_n "checking for $ac_word... " >&6; }
3171 if ${ac_cv_prog_CC+:} false
; then :
3172 $as_echo_n "(cached) " >&6
3174 if test -n "$CC"; then
3175 ac_cv_prog_CC
="$CC" # Let the user override the test.
3178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3182 test -z "$as_dir" && as_dir
=.
3183 for ac_exec_ext
in '' $ac_executable_extensions; do
3184 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3186 ac_prog_rejected
=yes
3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test $ac_prog_rejected = yes; then
3198 # We found a bogon in the path, so make sure we never use it.
3199 set dummy
$ac_cv_prog_CC
3201 if test $# != 0; then
3202 # We chose a different compiler from the bogus one.
3203 # However, it has the same basename, so the bogon will be chosen
3204 # first if we set CC to just the basename; use the full file name.
3206 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3212 if test -n "$CC"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3214 $as_echo "$CC" >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3222 if test -z "$CC"; then
3223 if test -n "$ac_tool_prefix"; then
3224 for ac_prog
in cl.exe
3226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3227 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if ${ac_cv_prog_CC+:} false
; then :
3231 $as_echo_n "(cached) " >&6
3233 if test -n "$CC"; then
3234 ac_cv_prog_CC
="$CC" # Let the user override the test.
3236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3240 test -z "$as_dir" && as_dir
=.
3241 for ac_exec_ext
in '' $ac_executable_extensions; do
3242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3243 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 if test -n "$CC"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3256 $as_echo "$CC" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3263 test -n "$CC" && break
3266 if test -z "$CC"; then
3268 for ac_prog
in cl.exe
3270 # Extract the first word of "$ac_prog", so it can be a program name with args.
3271 set dummy
$ac_prog; ac_word
=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3275 $as_echo_n "(cached) " >&6
3277 if test -n "$ac_ct_CC"; then
3278 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir
=.
3285 for ac_exec_ext
in '' $ac_executable_extensions; do
3286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3287 ac_cv_prog_ac_ct_CC
="$ac_prog"
3288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3298 if test -n "$ac_ct_CC"; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3300 $as_echo "$ac_ct_CC" >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3307 test -n "$ac_ct_CC" && break
3310 if test "x$ac_ct_CC" = x
; then
3313 case $cross_compiling:$ac_tool_warned in
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3317 ac_tool_warned
=yes ;;
3326 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3328 as_fn_error $?
"no acceptable C compiler found in \$PATH
3329 See \`config.log' for more details" "$LINENO" 5; }
3331 # Provide some information about the compiler.
3332 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3335 for ac_option
in --version -v -V -qversion; do
3336 { { ac_try
="$ac_compiler $ac_option >&5"
3338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3345 if test -s conftest.err; then
3347 ... rest of stderr output deleted ...
3348 10q' conftest.err >conftest.er1
3349 cat conftest.er1 >&5
3351 rm -f conftest.er1 conftest.err
3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353 test $ac_status = 0; }
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3367 ac_clean_files_save=$ac_clean_files
3368 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3369 # Try to create an executable without -o first, disregard a.out.
3370 # It will help us diagnose broken compilers, and finding out an intuition
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3373 $as_echo_n "checking whether the C compiler works... " >&6; }
3374 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3376 # The possible output files:
3377 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3380 for ac_file in $ac_files
3383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3384 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3389 if { { ac_try="$ac_link_default"
3391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3392 *) ac_try_echo
=$ac_try;;
3394 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3395 $as_echo "$ac_try_echo"; } >&5
3396 (eval "$ac_link_default") 2>&5
3398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3399 test $ac_status = 0; }; then :
3400 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3401 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3402 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3403 # so that the user can short-circuit this test for compilers unknown to
3405 for ac_file
in $ac_files ''
3407 test -f "$ac_file" ||
continue
3409 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3412 # We found the default executable, but exeext='' is most
3416 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3418 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3420 # We set ac_cv_exeext here because the later test for it is not
3421 # safe: cross compilers may not add the suffix if given an `-o'
3422 # argument, so we may need to know it at that point already.
3423 # Even if this section looks crufty: it has the advantage of
3430 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3435 if test -z "$ac_file"; then :
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3438 $as_echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.
$ac_ext >&5
3441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3443 as_fn_error
77 "C compiler cannot create executables
3444 See \`config.log' for more details" "$LINENO" 5; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3447 $as_echo "yes" >&6; }
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3450 $as_echo_n "checking for C compiler default output file name... " >&6; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3452 $as_echo "$ac_file" >&6; }
3453 ac_exeext
=$ac_cv_exeext
3455 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3456 ac_clean_files
=$ac_clean_files_save
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3458 $as_echo_n "checking for suffix of executables... " >&6; }
3459 if { { ac_try
="$ac_link"
3461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466 (eval "$ac_link") 2>&5
3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469 test $ac_status = 0; }; then :
3470 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3471 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3472 # work properly (i.e., refer to `conftest.exe'), while it won't with
3474 for ac_file
in conftest.exe conftest conftest.
*; do
3475 test -f "$ac_file" ||
continue
3477 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3478 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3486 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3487 See \`config.log' for more details" "$LINENO" 5; }
3489 rm -f conftest conftest
$ac_cv_exeext
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3491 $as_echo "$ac_cv_exeext" >&6; }
3493 rm -f conftest.
$ac_ext
3494 EXEEXT
=$ac_cv_exeext
3496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3502 FILE *f = fopen ("conftest.out", "w");
3503 return ferror (f) || fclose (f) != 0;
3509 ac_clean_files
="$ac_clean_files conftest.out"
3510 # Check that the compiler produces executables we can run. If not, either
3511 # the compiler is broken, or we cross compile.
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3513 $as_echo_n "checking whether we are cross compiling... " >&6; }
3514 if test "$cross_compiling" != yes; then
3515 { { ac_try
="$ac_link"
3517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521 $as_echo "$ac_try_echo"; } >&5
3522 (eval "$ac_link") 2>&5
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }
3526 if { ac_try='./conftest$ac_cv_exeext'
3527 { { case "(($ac_try" in
3528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3529 *) ac_try_echo
=$ac_try;;
3531 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532 $as_echo "$ac_try_echo"; } >&5
3533 (eval "$ac_try") 2>&5
3535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536 test $ac_status = 0; }; }; then
3539 if test "$cross_compiling" = maybe
; then
3542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3544 as_fn_error $?
"cannot run C compiled programs.
3545 If you meant to cross compile, use \`--host'.
3546 See \`config.log' for more details" "$LINENO" 5; }
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3551 $as_echo "$cross_compiling" >&6; }
3553 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3554 ac_clean_files
=$ac_clean_files_save
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3556 $as_echo_n "checking for suffix of object files... " >&6; }
3557 if ${ac_cv_objext+:} false
; then :
3558 $as_echo_n "(cached) " >&6
3560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3571 rm -f conftest.o conftest.obj
3572 if { { ac_try
="$ac_compile"
3574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578 $as_echo "$ac_try_echo"; } >&5
3579 (eval "$ac_compile") 2>&5
3581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582 test $ac_status = 0; }; then :
3583 for ac_file in conftest.o conftest.obj conftest.*; do
3584 test -f "$ac_file" || continue;
3586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3587 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3592 $as_echo "$as_me: failed program was:" >&5
3593 sed 's/^/| /' conftest.$ac_ext >&5
3595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3597 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3598 See \
`config.log' for more details" "$LINENO" 5; }
3600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3603 $as_echo "$ac_cv_objext" >&6; }
3604 OBJEXT=$ac_cv_objext
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3608 if ${ac_cv_c_compiler_gnu+:} false; then :
3609 $as_echo_n "(cached) " >&6
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3625 if ac_fn_c_try_compile "$LINENO"; then :
3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3635 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3636 if test $ac_compiler_gnu = yes; then
3641 ac_test_CFLAGS=${CFLAGS+set}
3642 ac_save_CFLAGS=$CFLAGS
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3644 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3645 if ${ac_cv_prog_cc_g+:} false; then :
3646 $as_echo_n "(cached) " >&6
3648 ac_save_c_werror_flag=$ac_c_werror_flag
3649 ac_c_werror_flag=yes
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3663 if ac_fn_c_try_compile "$LINENO"; then :
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3678 if ac_fn_c_try_compile "$LINENO"; then :
3681 ac_c_werror_flag=$ac_save_c_werror_flag
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3694 if ac_fn_c_try_compile "$LINENO"; then :
3697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 ac_c_werror_flag=$ac_save_c_werror_flag
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3705 $as_echo "$ac_cv_prog_cc_g" >&6; }
3706 if test "$ac_test_CFLAGS" = set; then
3707 CFLAGS=$ac_save_CFLAGS
3708 elif test $ac_cv_prog_cc_g = yes; then
3709 if test "$GCC" = yes; then
3715 if test "$GCC" = yes; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3723 if ${ac_cv_prog_cc_c89+:} false; then :
3724 $as_echo_n "(cached) " >&6
3726 ac_cv_prog_cc_c89=no
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3733 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3734 struct buf { int x; };
3735 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3736 static char *e (p, i)
3742 static char *f (char * (*g) (char **, int), char **p, ...)
3747 s = g (p, va_arg (v,int));
3752 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3753 function prototypes and stuff, but not '\xHH' hex character constants.
3754 These don't provoke an error unfortunately, instead are silently treated
3755 as 'x'. The following induces an error, until -std is added to get
3756 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3757 array size at least. It's necessary to write '\x00'==0 to get something
3758 that's true only with -std. */
3759 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3761 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3762 inside strings and character constants. */
3764 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3766 int test (int i, double x);
3767 struct s1 {int (*f) (int a);};
3768 struct s2 {int (*f) (double a);};
3769 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3775 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3780 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3781 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3783 CC="$ac_save_CC $ac_arg"
3784 if ac_fn_c_try_compile "$LINENO"; then :
3785 ac_cv_prog_cc_c89=$ac_arg
3787 rm -f core conftest.err conftest.$ac_objext
3788 test "x$ac_cv_prog_cc_c89" != "xno" && break
3790 rm -f conftest.$ac_ext
3795 case "x$ac_cv_prog_cc_c89" in
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3798 $as_echo "none needed" >&6; } ;;
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3801 $as_echo "unsupported" >&6; } ;;
3803 CC="$CC $ac_cv_prog_cc_c89"
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3805 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3807 if test "x$ac_cv_prog_cc_c89" != xno; then :
3812 ac_cpp='$CPP $CPPFLAGS'
3813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3818 ac_cpp='$CPP $CPPFLAGS'
3819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3823 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3824 if ${am_cv_prog_cc_c_o+:} false; then :
3825 $as_echo_n "(cached) " >&6
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3838 # Make sure it works both with $CC and with simple cc.
3839 # Following AC_PROG_CC_C_O, we do the test twice because some
3840 # compilers refuse to overwrite an existing .o file with -o,
3841 # though they will create one.
3842 am_cv_prog_cc_c_o=yes
3844 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3845 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); } \
3849 && test -f conftest2.$ac_objext; then
3852 am_cv_prog_cc_c_o=no
3856 rm -f core conftest*
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3860 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3861 if test "$am_cv_prog_cc_c_o" != yes; then
3862 # Losing compiler, so override with the script.
3863 # FIXME: It is wrong to rewrite CC.
3864 # But if we don't then we get into trouble of one sort or another.
3865 # A longer-term fix would be to have automake use am__CC in this case,
3866 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3867 CC="$am_aux_dir/compile $CC"
3870 ac_cpp='$CPP $CPPFLAGS'
3871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3875 DEPDIR="${am__leading_dot}deps"
3877 ac_config_commands="$ac_config_commands depfiles"
3880 am_make=${MAKE-make}
3881 cat > confinc << 'END'
3883 @echo this is the am__doit target
3886 # If we don't find an include directive, just comment out the code.
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3888 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3892 # First try GNU make style include.
3893 echo "include confinc" > confmf
3894 # Ignore all kinds of additional output from 'make'.
3895 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3896 *the\ am__doit\ target*)
3902 # Now try BSD make style include.
3903 if test "$am__include" = "#"; then
3904 echo '.include "confinc"' > confmf
3905 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3906 *the\ am__doit\ target*)
3907 am__include=.include
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3916 $as_echo "$_am_result" >&6; }
3917 rm -f confinc confmf
3919 # Check whether --enable-dependency-tracking was given.
3920 if test "${enable_dependency_tracking+set}" = set; then :
3921 enableval=$enable_dependency_tracking;
3924 if test "x$enable_dependency_tracking" != xno; then
3925 am_depcomp="$ac_aux_dir/depcomp"
3929 if test "x$enable_dependency_tracking" != xno; then
3939 depcc="$CC" am_compiler_list=
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3942 $as_echo_n "checking dependency style of $depcc... " >&6; }
3943 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3944 $as_echo_n "(cached) " >&6
3946 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3947 # We make a subdir and do the tests there. Otherwise we can end up
3948 # making bogus files that we don't know about and never remove. For
3949 # instance it was reported that on HP-UX the gcc test will end up
3950 # making a dummy file named 'D' -- because '-MD' means "put the output
3954 # Copy depcomp to subdir because otherwise we won't find it if we're
3955 # using a relative directory.
3956 cp "$am_depcomp" conftest.dir
3958 # We will build objects and dependencies in a subdirectory because
3959 # it helps to detect inapplicable dependency modes. For instance
3960 # both Tru64's cc and ICC support -MD to output dependencies as a
3961 # side effect of compilation, but ICC will put the dependencies in
3962 # the current directory while Tru64 will put them in the object
3966 am_cv_CC_dependencies_compiler_type=none
3967 if test "$am_compiler_list" = ""; then
3968 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3971 case " $depcc " in #(
3972 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3975 for depmode in $am_compiler_list; do
3976 # Setup a source with many dependencies, because some compilers
3977 # like to wrap large dependency lists on column 80 (with \), and
3978 # we should not choose a depcomp mode which is confused by this.
3980 # We need to recreate these files for each test, as the compiler may
3981 # overwrite some of them when testing with obscure command lines.
3982 # This happens at least with the AIX C compiler.
3984 for i in 1 2 3 4 5 6; do
3985 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3986 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3987 # Solaris 10 /bin/sh.
3988 echo '/* dummy */' > sub/conftst$i.h
3990 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3992 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3993 # mode. It turns out that the SunPro C++ compiler does not properly
3994 # handle '-M -o', and we need to detect this. Also, some Intel
3995 # versions had trouble with output in subdirs.
3996 am__obj=sub/conftest.${OBJEXT-o}
3997 am__minus_obj="-o $am__obj"
4000 # This depmode causes a compiler race in universal mode.
4001 test "$am__universal" = false || continue
4004 # After this tag, mechanisms are not by side-effect, so they'll
4005 # only be used when explicitly requested.
4006 if test "x$enable_dependency_tracking" = xyes; then
4012 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4013 # This compiler won't grok '-c -o', but also, the minuso test has
4014 # not run yet. These depmodes are late enough in the game, and
4015 # so weak that their functioning should not be impacted.
4016 am__obj=conftest.${OBJEXT-o}
4021 if depmode=$depmode \
4022 source=sub/conftest.c object=$am__obj \
4023 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4024 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4025 >/dev/null 2>conftest.err &&
4026 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4027 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4028 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4029 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4030 # icc doesn't choke on unknown options, it will just issue warnings
4031 # or remarks (even with -Werror). So we grep stderr for any message
4032 # that says an option was ignored or not supported.
4033 # When given -MP, icc 7.0 and 7.1 complain thusly:
4034 # icc: Command line warning: ignoring option '-M'; no argument required
4035 # The diagnosis changed in icc 8.0:
4036 # icc: Command line remark: option '-MP' not supported
4037 if (grep 'ignoring option' conftest.err ||
4038 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4039 am_cv_CC_dependencies_compiler_type=$depmode
4048 am_cv_CC_dependencies_compiler_type=none
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4053 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4054 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4057 test "x$enable_dependency_tracking" != xno \
4058 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4060 am__fastdepCC_FALSE='#'
4062 am__fastdepCC_TRUE='#'
4063 am__fastdepCC_FALSE=
4069 ac_cpp='$CPP $CPPFLAGS'
4070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4074 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4075 # On Suns, sometimes $CPP names a directory.
4076 if test -n "$CPP" && test -d "$CPP"; then
4079 if test -z "$CPP"; then
4080 if ${ac_cv_prog_CPP+:} false; then :
4081 $as_echo_n "(cached) " >&6
4083 # Double quotes because CPP needs to be expanded
4084 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4087 for ac_c_preproc_warn_flag in '' yes
4089 # Use a header file that comes with gcc, so configuring glibc
4090 # with a fresh cross-compiler works.
4091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4092 # <limits.h> exists even on freestanding compilers.
4093 # On the NeXT, cc -E runs the code through the compiler's parser,
4094 # not just through cpp. "Syntax error" is here to catch this case.
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4098 # include <limits.h>
4100 # include <assert.h>
4104 if ac_fn_c_try_cpp "$LINENO"; then :
4107 # Broken: fails on valid input.
4110 rm -f conftest.err conftest.i conftest.$ac_ext
4112 # OK, works on sane cases. Now check whether nonexistent headers
4113 # can be detected and how.
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4116 #include <ac_nonexistent.h>
4118 if ac_fn_c_try_cpp "$LINENO"; then :
4119 # Broken: success on invalid input.
4122 # Passes both tests.
4126 rm -f conftest.err conftest.i conftest.$ac_ext
4129 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4130 rm -f conftest.i conftest.err conftest.
$ac_ext
4131 if $ac_preproc_ok; then :
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4144 $as_echo "$CPP" >&6; }
4146 for ac_c_preproc_warn_flag
in '' yes
4148 # Use a header file that comes with gcc, so configuring glibc
4149 # with a fresh cross-compiler works.
4150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4151 # <limits.h> exists even on freestanding compilers.
4152 # On the NeXT, cc -E runs the code through the compiler's parser,
4153 # not just through cpp. "Syntax error" is here to catch this case.
4154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4157 # include <limits.h>
4159 # include <assert.h>
4163 if ac_fn_c_try_cpp
"$LINENO"; then :
4166 # Broken: fails on valid input.
4169 rm -f conftest.err conftest.i conftest.
$ac_ext
4171 # OK, works on sane cases. Now check whether nonexistent headers
4172 # can be detected and how.
4173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4175 #include <ac_nonexistent.h>
4177 if ac_fn_c_try_cpp
"$LINENO"; then :
4178 # Broken: success on invalid input.
4181 # Passes both tests.
4185 rm -f conftest.err conftest.i conftest.
$ac_ext
4188 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4189 rm -f conftest.i conftest.err conftest.
$ac_ext
4190 if $ac_preproc_ok; then :
4193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4195 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4196 See \`config.log' for more details" "$LINENO" 5; }
4200 ac_cpp
='$CPP $CPPFLAGS'
4201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4207 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4208 if ${ac_cv_path_GREP+:} false
; then :
4209 $as_echo_n "(cached) " >&6
4211 if test -z "$GREP"; then
4212 ac_path_GREP_found
=false
4213 # Loop through the user's path and test for each of PROGNAME-LIST
4214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4215 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4218 test -z "$as_dir" && as_dir
=.
4219 for ac_prog
in grep ggrep
; do
4220 for ac_exec_ext
in '' $ac_executable_extensions; do
4221 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4222 as_fn_executable_p
"$ac_path_GREP" ||
continue
4223 # Check for GNU ac_path_GREP and select it if it is found.
4224 # Check for GNU $ac_path_GREP
4225 case `"$ac_path_GREP" --version 2>&1` in
4227 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4230 $as_echo_n 0123456789 >"conftest.in"
4233 cat "conftest.in" "conftest.in" >"conftest.tmp"
4234 mv "conftest.tmp" "conftest.in"
4235 cp "conftest.in" "conftest.nl"
4236 $as_echo 'GREP' >> "conftest.nl"
4237 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4238 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4239 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4240 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4241 # Best one so far, save it but keep looking for a better one
4242 ac_cv_path_GREP
="$ac_path_GREP"
4243 ac_path_GREP_max
=$ac_count
4245 # 10*(2^10) chars as input seems more than enough
4246 test $ac_count -gt 10 && break
4248 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4251 $ac_path_GREP_found && break 3
4256 if test -z "$ac_cv_path_GREP"; then
4257 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4260 ac_cv_path_GREP
=$GREP
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4265 $as_echo "$ac_cv_path_GREP" >&6; }
4266 GREP
="$ac_cv_path_GREP"
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4270 $as_echo_n "checking for egrep... " >&6; }
4271 if ${ac_cv_path_EGREP+:} false
; then :
4272 $as_echo_n "(cached) " >&6
4274 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4275 then ac_cv_path_EGREP
="$GREP -E"
4277 if test -z "$EGREP"; then
4278 ac_path_EGREP_found
=false
4279 # Loop through the user's path and test for each of PROGNAME-LIST
4280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4281 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4284 test -z "$as_dir" && as_dir
=.
4285 for ac_prog
in egrep; do
4286 for ac_exec_ext
in '' $ac_executable_extensions; do
4287 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4288 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4289 # Check for GNU ac_path_EGREP and select it if it is found.
4290 # Check for GNU $ac_path_EGREP
4291 case `"$ac_path_EGREP" --version 2>&1` in
4293 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4296 $as_echo_n 0123456789 >"conftest.in"
4299 cat "conftest.in" "conftest.in" >"conftest.tmp"
4300 mv "conftest.tmp" "conftest.in"
4301 cp "conftest.in" "conftest.nl"
4302 $as_echo 'EGREP' >> "conftest.nl"
4303 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4304 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4305 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4306 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4307 # Best one so far, save it but keep looking for a better one
4308 ac_cv_path_EGREP
="$ac_path_EGREP"
4309 ac_path_EGREP_max
=$ac_count
4311 # 10*(2^10) chars as input seems more than enough
4312 test $ac_count -gt 10 && break
4314 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4317 $ac_path_EGREP_found && break 3
4322 if test -z "$ac_cv_path_EGREP"; then
4323 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4326 ac_cv_path_EGREP
=$EGREP
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4332 $as_echo "$ac_cv_path_EGREP" >&6; }
4333 EGREP
="$ac_cv_path_EGREP"
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4337 $as_echo_n "checking for ANSI C header files... " >&6; }
4338 if ${ac_cv_header_stdc+:} false
; then :
4339 $as_echo_n "(cached) " >&6
4341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4356 if ac_fn_c_try_compile
"$LINENO"; then :
4357 ac_cv_header_stdc
=yes
4359 ac_cv_header_stdc
=no
4361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4363 if test $ac_cv_header_stdc = yes; then
4364 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4371 $EGREP "memchr" >/dev
/null
2>&1; then :
4374 ac_cv_header_stdc
=no
4380 if test $ac_cv_header_stdc = yes; then
4381 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4388 $EGREP "free" >/dev
/null
2>&1; then :
4391 ac_cv_header_stdc
=no
4397 if test $ac_cv_header_stdc = yes; then
4398 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4399 if test "$cross_compiling" = yes; then :
4402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4406 #if ((' ' & 0x0FF) == 0x020)
4407 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4408 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4410 # define ISLOWER(c) \
4411 (('a' <= (c) && (c) <= 'i') \
4412 || ('j' <= (c) && (c) <= 'r') \
4413 || ('s' <= (c) && (c) <= 'z'))
4414 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4417 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4422 for (i = 0; i < 256; i++)
4423 if (XOR (islower (i), ISLOWER (i))
4424 || toupper (i) != TOUPPER (i))
4429 if ac_fn_c_try_run
"$LINENO"; then :
4432 ac_cv_header_stdc
=no
4434 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4435 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4441 $as_echo "$ac_cv_header_stdc" >&6; }
4442 if test $ac_cv_header_stdc = yes; then
4444 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4448 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4449 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4450 inttypes.h stdint.h unistd.h
4452 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4453 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4455 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4456 cat >>confdefs.h
<<_ACEOF
4457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4466 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4467 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4474 if test "$MINIX" = yes; then
4476 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4479 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4482 $as_echo "#define _MINIX 1" >>confdefs.h
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4488 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4489 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4490 $as_echo_n "(cached) " >&6
4492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4495 # define __EXTENSIONS__ 1
4496 $ac_includes_default
4505 if ac_fn_c_try_compile
"$LINENO"; then :
4506 ac_cv_safe_to_define___extensions__
=yes
4508 ac_cv_safe_to_define___extensions__
=no
4510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4513 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4514 test $ac_cv_safe_to_define___extensions__ = yes &&
4515 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4517 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4519 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4521 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4523 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4529 if test -n "$ac_tool_prefix"; then
4530 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4531 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4533 $as_echo_n "checking for $ac_word... " >&6; }
4534 if ${ac_cv_prog_AR+:} false
; then :
4535 $as_echo_n "(cached) " >&6
4537 if test -n "$AR"; then
4538 ac_cv_prog_AR
="$AR" # Let the user override the test.
4540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4544 test -z "$as_dir" && as_dir
=.
4545 for ac_exec_ext
in '' $ac_executable_extensions; do
4546 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4547 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 if test -n "$AR"; then
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4560 $as_echo "$AR" >&6; }
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4563 $as_echo "no" >&6; }
4568 if test -z "$ac_cv_prog_AR"; then
4570 # Extract the first word of "ar", so it can be a program name with args.
4571 set dummy
ar; ac_word
=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4575 $as_echo_n "(cached) " >&6
4577 if test -n "$ac_ct_AR"; then
4578 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir
=.
4585 for ac_exec_ext
in '' $ac_executable_extensions; do
4586 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_ac_ct_AR
="ar"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4597 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4598 if test -n "$ac_ct_AR"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4600 $as_echo "$ac_ct_AR" >&6; }
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4606 if test "x$ac_ct_AR" = x
; then
4609 case $cross_compiling:$ac_tool_warned in
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4613 ac_tool_warned
=yes ;;
4621 if test -n "$ac_tool_prefix"; then
4622 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4623 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4625 $as_echo_n "checking for $ac_word... " >&6; }
4626 if ${ac_cv_prog_RANLIB+:} false
; then :
4627 $as_echo_n "(cached) " >&6
4629 if test -n "$RANLIB"; then
4630 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4636 test -z "$as_dir" && as_dir
=.
4637 for ac_exec_ext
in '' $ac_executable_extensions; do
4638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4639 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4649 RANLIB
=$ac_cv_prog_RANLIB
4650 if test -n "$RANLIB"; then
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4652 $as_echo "$RANLIB" >&6; }
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655 $as_echo "no" >&6; }
4660 if test -z "$ac_cv_prog_RANLIB"; then
4661 ac_ct_RANLIB
=$RANLIB
4662 # Extract the first word of "ranlib", so it can be a program name with args.
4663 set dummy ranlib
; ac_word
=$2
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 $as_echo_n "checking for $ac_word... " >&6; }
4666 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4667 $as_echo_n "(cached) " >&6
4669 if test -n "$ac_ct_RANLIB"; then
4670 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4676 test -z "$as_dir" && as_dir
=.
4677 for ac_exec_ext
in '' $ac_executable_extensions; do
4678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4679 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4690 if test -n "$ac_ct_RANLIB"; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4692 $as_echo "$ac_ct_RANLIB" >&6; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4698 if test "x$ac_ct_RANLIB" = x
; then
4701 case $cross_compiling:$ac_tool_warned in
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4705 ac_tool_warned
=yes ;;
4707 RANLIB
=$ac_ct_RANLIB
4710 RANLIB
="$ac_cv_prog_RANLIB"
4714 # Check whether --enable-shared was given.
4715 if test "${enable_shared+set}" = set; then :
4716 enableval
=$enable_shared; p
=${PACKAGE-default}
4718 yes) enable_shared
=yes ;;
4719 no
) enable_shared
=no
;;
4722 # Look at the argument we got. We use all the common list separators.
4723 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4724 for pkg
in $enableval; do
4726 if test "X$pkg" = "X$p"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4749 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4754 macro_version
='2.2.7a'
4755 macro_revision
='1.3134'
4769 ltmain
="$ac_aux_dir/ltmain.sh"
4771 # Backslashify metacharacters that are still active within
4772 # double-quoted strings.
4773 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4775 # Same as above, but do not quote variable references.
4776 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4778 # Sed substitution to delay expansion of an escaped shell variable in a
4779 # double_quote_subst'ed string.
4780 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4782 # Sed substitution to delay expansion of an escaped single quote.
4783 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4785 # Sed substitution to avoid accidental globbing in evaled expressions
4786 no_glob_subst
='s/\*/\\\*/g'
4788 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4789 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4790 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4793 $as_echo_n "checking how to print strings... " >&6; }
4794 # Test print first, because it will be a builtin if present.
4795 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4796 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4798 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4801 # Use this function as a fallback that always works.
4802 func_fallback_echo ()
4804 eval 'cat <<_LTECHO_EOF
4808 ECHO='func_fallback_echo
'
4811 # func_echo_all arg...
4812 # Invoke $ECHO with all args, space-separated.
4819 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4820 $as_echo "printf" >&6; } ;;
4821 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4822 $as_echo "print -r" >&6; } ;;
4823 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4824 $as_echo "cat" >&6; } ;;
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4841 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4842 if ${ac_cv_path_SED+:} false; then :
4843 $as_echo_n "(cached) " >&6
4845 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4846 for ac_i in 1 2 3 4 5 6 7; do
4847 ac_script="$ac_script$as_nl$ac_script"
4849 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4850 { ac_script=; unset ac_script;}
4851 if test -z "$SED"; then
4852 ac_path_SED_found=false
4853 # Loop through the user's path and
test for each of PROGNAME-LIST
4854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4858 test -z "$as_dir" && as_dir
=.
4859 for ac_prog
in sed gsed
; do
4860 for ac_exec_ext
in '' $ac_executable_extensions; do
4861 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4862 as_fn_executable_p
"$ac_path_SED" ||
continue
4863 # Check for GNU ac_path_SED and select it if it is found.
4864 # Check for GNU $ac_path_SED
4865 case `"$ac_path_SED" --version 2>&1` in
4867 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4870 $as_echo_n 0123456789 >"conftest.in"
4873 cat "conftest.in" "conftest.in" >"conftest.tmp"
4874 mv "conftest.tmp" "conftest.in"
4875 cp "conftest.in" "conftest.nl"
4876 $as_echo '' >> "conftest.nl"
4877 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4878 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4879 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4880 if test $ac_count -gt ${ac_path_SED_max-0}; then
4881 # Best one so far, save it but keep looking for a better one
4882 ac_cv_path_SED
="$ac_path_SED"
4883 ac_path_SED_max
=$ac_count
4885 # 10*(2^10) chars as input seems more than enough
4886 test $ac_count -gt 10 && break
4888 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4891 $ac_path_SED_found && break 3
4896 if test -z "$ac_cv_path_SED"; then
4897 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4905 $as_echo "$ac_cv_path_SED" >&6; }
4906 SED
="$ac_cv_path_SED"
4909 test -z "$SED" && SED
=sed
4910 Xsed
="$SED -e 1s/^X//"
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4923 $as_echo_n "checking for fgrep... " >&6; }
4924 if ${ac_cv_path_FGREP+:} false
; then :
4925 $as_echo_n "(cached) " >&6
4927 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4928 then ac_cv_path_FGREP
="$GREP -F"
4930 if test -z "$FGREP"; then
4931 ac_path_FGREP_found
=false
4932 # Loop through the user's path and test for each of PROGNAME-LIST
4933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4934 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4937 test -z "$as_dir" && as_dir
=.
4938 for ac_prog
in fgrep
; do
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4941 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4942 # Check for GNU ac_path_FGREP and select it if it is found.
4943 # Check for GNU $ac_path_FGREP
4944 case `"$ac_path_FGREP" --version 2>&1` in
4946 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4949 $as_echo_n 0123456789 >"conftest.in"
4952 cat "conftest.in" "conftest.in" >"conftest.tmp"
4953 mv "conftest.tmp" "conftest.in"
4954 cp "conftest.in" "conftest.nl"
4955 $as_echo 'FGREP' >> "conftest.nl"
4956 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4957 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4958 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4959 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4960 # Best one so far, save it but keep looking for a better one
4961 ac_cv_path_FGREP
="$ac_path_FGREP"
4962 ac_path_FGREP_max
=$ac_count
4964 # 10*(2^10) chars as input seems more than enough
4965 test $ac_count -gt 10 && break
4967 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4970 $ac_path_FGREP_found && break 3
4975 if test -z "$ac_cv_path_FGREP"; then
4976 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4979 ac_cv_path_FGREP
=$FGREP
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4985 $as_echo "$ac_cv_path_FGREP" >&6; }
4986 FGREP
="$ac_cv_path_FGREP"
4989 test -z "$GREP" && GREP
=grep
5009 # Check whether --with-gnu-ld was given.
5010 if test "${with_gnu_ld+set}" = set; then :
5011 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5017 if test "$GCC" = yes; then
5018 # Check if gcc -print-prog-name=ld gives a path.
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5020 $as_echo_n "checking for ld used by $CC... " >&6; }
5023 # gcc leaves a trailing carriage return which upsets mingw
5024 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5026 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5029 # Accept absolute paths.
5031 re_direlt
='/[^/][^/]*/\.\./'
5032 # Canonicalize the pathname of ld
5033 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5034 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5035 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5037 test -z "$LD" && LD
="$ac_prog"
5040 # If it fails, then pretend we aren't using GCC.
5044 # If it is relative, then search for the first ld in PATH.
5048 elif test "$with_gnu_ld" = yes; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5050 $as_echo_n "checking for GNU ld... " >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5053 $as_echo_n "checking for non-GNU ld... " >&6; }
5055 if ${lt_cv_path_LD+:} false
; then :
5056 $as_echo_n "(cached) " >&6
5058 if test -z "$LD"; then
5059 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5060 for ac_dir
in $PATH; do
5062 test -z "$ac_dir" && ac_dir
=.
5063 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5064 lt_cv_path_LD
="$ac_dir/$ac_prog"
5065 # Check to see if the program is GNU ld. I'd rather use --version,
5066 # but apparently some variants of GNU ld only accept -v.
5067 # Break only if it was the GNU/non-GNU ld that we prefer.
5068 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5069 *GNU
* |
*'with BFD'*)
5070 test "$with_gnu_ld" != no
&& break
5073 test "$with_gnu_ld" != yes && break
5080 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5085 if test -n "$LD"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5087 $as_echo "$LD" >&6; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5092 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5094 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5095 if ${lt_cv_prog_gnu_ld+:} false
; then :
5096 $as_echo_n "(cached) " >&6
5098 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5099 case `$LD -v 2>&1 </dev/null` in
5100 *GNU
* |
*'with BFD'*)
5101 lt_cv_prog_gnu_ld
=yes
5104 lt_cv_prog_gnu_ld
=no
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5109 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5110 with_gnu_ld
=$lt_cv_prog_gnu_ld
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5121 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5122 if ${lt_cv_path_NM+:} false
; then :
5123 $as_echo_n "(cached) " >&6
5125 if test -n "$NM"; then
5126 # Let the user override the nm to test.
5127 lt_nm_to_check
="$NM"
5129 lt_nm_to_check
="${ac_tool_prefix}nm"
5130 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5131 lt_nm_to_check
="$lt_nm_to_check nm"
5134 for lt_tmp_nm
in $lt_nm_to_check; do
5135 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5136 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5138 test -z "$ac_dir" && ac_dir
=.
5139 case "$lt_tmp_nm" in
5140 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5141 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5143 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5144 # Check to see if the nm accepts a BSD-compat flag.
5145 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5146 # nm: unknown option "B" ignored
5147 case `"$tmp_nm" -B "$tmp_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5148 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5152 case `"$tmp_nm" -p "$tmp_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5154 lt_cv_path_NM
="$tmp_nm -p"
5158 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5159 continue # so that we can try to find one that supports BSD flags
5168 : ${lt_cv_path_NM=no}
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5171 $as_echo "$lt_cv_path_NM" >&6; }
5172 if test "$lt_cv_path_NM" != "no"; then
5175 # Didn't find any BSD compatible name lister, look for dumpbin.
5176 if test -n "$DUMPBIN"; then :
5177 # Let the user override the test.
5179 if test -n "$ac_tool_prefix"; then
5180 for ac_prog
in dumpbin
"link -dump"
5182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5183 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5187 $as_echo_n "(cached) " >&6
5189 if test -n "$DUMPBIN"; then
5190 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir
=.
5197 for ac_exec_ext
in '' $ac_executable_extensions; do
5198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 DUMPBIN
=$ac_cv_prog_DUMPBIN
5210 if test -n "$DUMPBIN"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5212 $as_echo "$DUMPBIN" >&6; }
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5219 test -n "$DUMPBIN" && break
5222 if test -z "$DUMPBIN"; then
5223 ac_ct_DUMPBIN
=$DUMPBIN
5224 for ac_prog
in dumpbin
"link -dump"
5226 # Extract the first word of "$ac_prog", so it can be a program name with args.
5227 set dummy
$ac_prog; ac_word
=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5231 $as_echo_n "(cached) " >&6
5233 if test -n "$ac_ct_DUMPBIN"; then
5234 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir
=.
5241 for ac_exec_ext
in '' $ac_executable_extensions; do
5242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5254 if test -n "$ac_ct_DUMPBIN"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5256 $as_echo "$ac_ct_DUMPBIN" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5263 test -n "$ac_ct_DUMPBIN" && break
5266 if test "x$ac_ct_DUMPBIN" = x
; then
5269 case $cross_compiling:$ac_tool_warned in
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5273 ac_tool_warned
=yes ;;
5275 DUMPBIN
=$ac_ct_DUMPBIN
5279 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5281 DUMPBIN
="$DUMPBIN -symbols"
5289 if test "$DUMPBIN" != ":"; then
5293 test -z "$NM" && NM
=nm
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5301 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5302 if ${lt_cv_nm_interface+:} false
; then :
5303 $as_echo_n "(cached) " >&6
5305 lt_cv_nm_interface
="BSD nm"
5306 echo "int some_variable = 0;" > conftest.
$ac_ext
5307 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5308 (eval "$ac_compile" 2>conftest.err
)
5309 cat conftest.err
>&5
5310 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5311 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5312 cat conftest.err
>&5
5313 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5314 cat conftest.out
>&5
5315 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5316 lt_cv_nm_interface
="MS dumpbin"
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5321 $as_echo "$lt_cv_nm_interface" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5324 $as_echo_n "checking whether ln -s works... " >&6; }
5326 if test "$LN_S" = "ln -s"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5328 $as_echo "yes" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5331 $as_echo "no, using $LN_S" >&6; }
5334 # find the maximum length of command line arguments
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5336 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5337 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5338 $as_echo_n "(cached) " >&6
5345 # On DJGPP, this test can blow up pretty badly due to problems in libc
5346 # (any single argument exceeding 2000 bytes causes a buffer overrun
5347 # during glob expansion). Even if it were fixed, the result of this
5348 # check would be larger than it should be.
5349 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5353 # Under GNU Hurd, this test is not required because there is
5354 # no limit to the length of command line arguments.
5355 # Libtool will interpret -1 as no limit whatsoever
5356 lt_cv_sys_max_cmd_len
=-1;
5359 cygwin
* | mingw
* | cegcc
*)
5360 # On Win9x/ME, this test blows up -- it succeeds, but takes
5361 # about 5 minutes as the teststring grows exponentially.
5362 # Worse, since 9x/ME are not pre-emptively multitasking,
5363 # you end up with a "frozen" computer, even though with patience
5364 # the test eventually succeeds (with a max line length of 256k).
5365 # Instead, let's just punt: use the minimum linelength reported by
5366 # all of the supported platforms: 8192 (on NT/2K/XP).
5367 lt_cv_sys_max_cmd_len
=8192;
5371 # On MiNT this can take a long time and run out of memory.
5372 lt_cv_sys_max_cmd_len
=8192;
5376 # On AmigaOS with pdksh, this test takes hours, literally.
5377 # So we just punt and use a minimum line length of 8192.
5378 lt_cv_sys_max_cmd_len
=8192;
5381 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5382 # This has been around since 386BSD, at least. Likely further.
5383 if test -x /sbin
/sysctl
; then
5384 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5385 elif test -x /usr
/sbin
/sysctl
; then
5386 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5388 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5390 # And add a safety zone
5391 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5392 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5396 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5397 lt_cv_sys_max_cmd_len
=196608
5401 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5402 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5403 # nice to cause kernel panics so lets avoid the loop below.
5404 # First set a reasonable default.
5405 lt_cv_sys_max_cmd_len
=16384
5407 if test -x /sbin
/sysconfig
; then
5408 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5409 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5414 lt_cv_sys_max_cmd_len
=102400
5416 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5417 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5418 if test -n "$kargmax"; then
5419 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5421 lt_cv_sys_max_cmd_len
=32768
5425 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5426 if test -n "$lt_cv_sys_max_cmd_len"; then
5427 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5428 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5430 # Make teststring a little bigger before we do anything with it.
5431 # a 1K string should be a reasonable start.
5432 for i
in 1 2 3 4 5 6 7 8 ; do
5433 teststring
=$teststring$teststring
5435 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5436 # If test is not a shell built-in, we'll probably end up computing a
5437 # maximum length that is only half of the actual maximum length, but
5439 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5440 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5441 test $i != 17 # 1/2 MB should be enough
5444 teststring
=$teststring$teststring
5446 # Only check the string length outside the loop.
5447 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5449 # Add a significant safety factor because C++ compilers can tack on
5450 # massive amounts of additional arguments before passing them to the
5451 # linker. It appears as though 1/2 is a usable value.
5452 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5459 if test -n $lt_cv_sys_max_cmd_len ; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5461 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5464 $as_echo "none" >&6; }
5466 max_cmd_len
=$lt_cv_sys_max_cmd_len
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5478 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5479 # Try some XSI features
5482 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5484 && eval 'test $(( 1 + 1 )) -eq 2 \
5485 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5488 $as_echo "$xsi_shell" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5492 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5494 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5496 && lt_shell_append=yes
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5498 $as_echo "$lt_shell_append" >&6; }
5501 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5511 # test EBCDIC or ASCII
5512 case `echo X|tr X '\101'` in
5513 A) # ASCII based system
5514 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5515 lt_SP2NL='tr \040 \012'
5516 lt_NL2SP='tr \015\012 \040\040'
5518 *) # EBCDIC based system
5519 lt_SP2NL='tr \100 \n'
5520 lt_NL2SP='tr \r\n \100\100'
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5533 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5534 if ${lt_cv_ld_reload_flag+:} false; then :
5535 $as_echo_n "(cached
) " >&6
5537 lt_cv_ld_reload_flag='-r'
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5540 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5541 reload_flag=$lt_cv_ld_reload_flag
5542 case $reload_flag in
5544 *) reload_flag=" $reload_flag" ;;
5546 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5549 if test "$GCC" = yes; then
5550 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5552 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5565 if test -n "$ac_tool_prefix"; then
5566 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5567 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5569 $as_echo_n "checking
for $ac_word...
" >&6; }
5570 if ${ac_cv_prog_OBJDUMP+:} false; then :
5571 $as_echo_n "(cached
) " >&6
5573 if test -n "$OBJDUMP"; then
5574 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5593 OBJDUMP=$ac_cv_prog_OBJDUMP
5594 if test -n "$OBJDUMP"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5596 $as_echo "$OBJDUMP" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5599 $as_echo "no
" >&6; }
5604 if test -z "$ac_cv_prog_OBJDUMP"; then
5605 ac_ct_OBJDUMP=$OBJDUMP
5606 # Extract the first word of "objdump
", so it can be a program name with args.
5607 set dummy objdump; ac_word=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5609 $as_echo_n "checking
for $ac_word...
" >&6; }
5610 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5611 $as_echo_n "(cached
) " >&6
5613 if test -n "$ac_ct_OBJDUMP"; then
5614 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620 test -z "$as_dir" && as_dir=.
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5633 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5634 if test -n "$ac_ct_OBJDUMP"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5636 $as_echo "$ac_ct_OBJDUMP" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5639 $as_echo "no
" >&6; }
5642 if test "x
$ac_ct_OBJDUMP" = x; then
5645 case $cross_compiling:$ac_tool_warned in
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5648 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5649 ac_tool_warned=yes ;;
5651 OBJDUMP=$ac_ct_OBJDUMP
5654 OBJDUMP="$ac_cv_prog_OBJDUMP"
5657 test -z "$OBJDUMP" && OBJDUMP=objdump
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5668 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5669 if ${lt_cv_deplibs_check_method+:} false; then :
5670 $as_echo_n "(cached
) " >&6
5672 lt_cv_file_magic_cmd='$MAGIC_CMD'
5673 lt_cv_file_magic_test_file=
5674 lt_cv_deplibs_check_method='unknown'
5675 # Need to set the preceding variable on all platforms that support
5676 # interlibrary dependencies.
5677 # 'none' -- dependencies not supported.
5678 # `unknown' -- same as none, but documents that we really don't know.
5679 # 'pass_all' -- all dependencies passed with no checks.
5680 # 'test_compile' -- check by making test program.
5681 # 'file_magic [[regex]]' -- check by looking for files in library path
5682 # which responds to the $file_magic_cmd with a given extended regex.
5683 # If you have `file' or equivalent on your system and you're not sure
5684 # whether `pass_all' will *always* work, you probably want this one.
5688 lt_cv_deplibs_check_method=pass_all
5692 lt_cv_deplibs_check_method=pass_all
5696 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5697 lt_cv_file_magic_cmd='/usr/bin/file -L'
5698 lt_cv_file_magic_test_file=/shlib/libc.so
5702 # func_win32_libid is a shell function defined in ltmain.sh
5703 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5704 lt_cv_file_magic_cmd='func_win32_libid'
5708 # Base MSYS/MinGW do not provide the 'file' command needed by
5709 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5710 # unless we find 'file', for example because we are cross-compiling.
5711 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5712 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5713 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5714 lt_cv_file_magic_cmd='func_win32_libid'
5716 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5717 lt_cv_file_magic_cmd='$OBJDUMP -f'
5722 # use the weaker test based on 'objdump'. See mingw*.
5723 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5724 lt_cv_file_magic_cmd='$OBJDUMP -f'
5727 darwin* | rhapsody*)
5728 lt_cv_deplibs_check_method=pass_all
5731 freebsd* | dragonfly*)
5732 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5735 # Not sure whether the presence of OpenBSD here was a mistake.
5736 # Let's accept both of them until this is cleared up.
5737 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5738 lt_cv_file_magic_cmd=/usr/bin/file
5739 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5743 lt_cv_deplibs_check_method=pass_all
5748 lt_cv_deplibs_check_method=pass_all
5752 lt_cv_deplibs_check_method=pass_all
5755 hpux10.20* | hpux11*)
5756 lt_cv_file_magic_cmd=/usr/bin/file
5759 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5760 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5763 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]'
5764 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5767 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5768 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5774 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5775 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5778 irix5* | irix6* | nonstopux*)
5780 *-32|*"-32 ") libmagic=32-bit;;
5781 *-n32|*"-n32 ") libmagic=N32;;
5782 *-64|*"-64 ") libmagic=64-bit;;
5783 *) libmagic=never-match;;
5785 lt_cv_deplibs_check_method=pass_all
5788 # This must be Linux ELF.
5789 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5790 lt_cv_deplibs_check_method=pass_all
5794 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5795 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5797 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5802 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5803 lt_cv_file_magic_cmd=/usr/bin/file
5804 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5808 lt_cv_deplibs_check_method=pass_all
5812 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5813 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5815 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5819 osf3* | osf4* | osf5*)
5820 lt_cv_deplibs_check_method=pass_all
5824 lt_cv_deplibs_check_method=pass_all
5828 lt_cv_deplibs_check_method=pass_all
5831 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5832 lt_cv_deplibs_check_method=pass_all
5836 case $host_vendor in
5838 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]'
5839 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5842 lt_cv_deplibs_check_method=pass_all
5845 lt_cv_file_magic_cmd='/bin/file'
5846 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5849 lt_cv_file_magic_cmd='/bin/file'
5850 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5851 lt_cv_file_magic_test_file=/lib/libc.so
5854 lt_cv_deplibs_check_method=pass_all
5857 lt_cv_deplibs_check_method=pass_all
5863 lt_cv_deplibs_check_method=pass_all
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5869 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5870 file_magic_cmd=$lt_cv_file_magic_cmd
5871 deplibs_check_method=$lt_cv_deplibs_check_method
5872 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5886 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
5887 for plugin in $plugin_names; do
5888 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
5889 if test x$plugin_so = x$plugin; then
5890 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
5892 if test x$plugin_so != x$plugin; then
5893 plugin_option="--plugin $plugin_so"
5898 if test -n "$ac_tool_prefix"; then
5899 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5900 set dummy ${ac_tool_prefix}ar; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5902 $as_echo_n "checking
for $ac_word...
" >&6; }
5903 if ${ac_cv_prog_AR+:} false; then :
5904 $as_echo_n "(cached
) " >&6
5906 if test -n "$AR"; then
5907 ac_cv_prog_AR="$AR" # Let the user override the test.
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_AR="${ac_tool_prefix}ar"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5927 if test -n "$AR"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5929 $as_echo "$AR" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5932 $as_echo "no
" >&6; }
5937 if test -z "$ac_cv_prog_AR"; then
5939 # Extract the first word of "ar", so it can be a program name with args.
5940 set dummy ar; ac_word=$2
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5942 $as_echo_n "checking
for $ac_word...
" >&6; }
5943 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5944 $as_echo_n "(cached
) " >&6
5946 if test -n "$ac_ct_AR"; then
5947 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 test -z "$as_dir" && as_dir=.
5954 for ac_exec_ext in '' $ac_executable_extensions; do
5955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5956 ac_cv_prog_ac_ct_AR="ar"
5957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5966 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5967 if test -n "$ac_ct_AR"; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5969 $as_echo "$ac_ct_AR" >&6; }
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5972 $as_echo "no
" >&6; }
5975 if test "x
$ac_ct_AR" = x; then
5978 case $cross_compiling:$ac_tool_warned in
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5981 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5982 ac_tool_warned=yes ;;
5990 test -z "$AR" && AR=ar
5991 if test -n "$plugin_option"; then
5992 if $AR --help 2>&1 | grep -q "\
--plugin"; then
5994 $AR $plugin_option rc conftest.a conftest.c
5995 if test "$?
" != 0; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
5997 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
5999 AR="$AR $plugin_option"
6004 test -z "$AR_FLAGS" && AR_FLAGS=cru
6016 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6018 set dummy ${ac_tool_prefix}strip; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6020 $as_echo_n "checking
for $ac_word...
" >&6; }
6021 if ${ac_cv_prog_STRIP+:} false; then :
6022 $as_echo_n "(cached
) " >&6
6024 if test -n "$STRIP"; then
6025 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6044 STRIP=$ac_cv_prog_STRIP
6045 if test -n "$STRIP"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6047 $as_echo "$STRIP" >&6; }
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6050 $as_echo "no
" >&6; }
6055 if test -z "$ac_cv_prog_STRIP"; then
6057 # Extract the first word of "strip
", so it can be a program name with args.
6058 set dummy strip; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6060 $as_echo_n "checking
for $ac_word...
" >&6; }
6061 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6062 $as_echo_n "(cached
) " >&6
6064 if test -n "$ac_ct_STRIP"; then
6065 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_ac_ct_STRIP="strip
"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6084 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6085 if test -n "$ac_ct_STRIP"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6087 $as_echo "$ac_ct_STRIP" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6090 $as_echo "no
" >&6; }
6093 if test "x
$ac_ct_STRIP" = x; then
6096 case $cross_compiling:$ac_tool_warned in
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6099 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6100 ac_tool_warned=yes ;;
6105 STRIP="$ac_cv_prog_STRIP"
6108 test -z "$STRIP" && STRIP=:
6115 if test -n "$ac_tool_prefix"; then
6116 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6117 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6119 $as_echo_n "checking
for $ac_word...
" >&6; }
6120 if ${ac_cv_prog_RANLIB+:} false; then :
6121 $as_echo_n "(cached
) " >&6
6123 if test -n "$RANLIB"; then
6124 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 test -z "$as_dir" && as_dir=.
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6143 RANLIB=$ac_cv_prog_RANLIB
6144 if test -n "$RANLIB"; then
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6146 $as_echo "$RANLIB" >&6; }
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6149 $as_echo "no
" >&6; }
6154 if test -z "$ac_cv_prog_RANLIB"; then
6155 ac_ct_RANLIB=$RANLIB
6156 # Extract the first word of "ranlib
", so it can be a program name with args.
6157 set dummy ranlib; 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_ac_ct_RANLIB+:} false; then :
6161 $as_echo_n "(cached
) " >&6
6163 if test -n "$ac_ct_RANLIB"; then
6164 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib
"
6174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6183 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6184 if test -n "$ac_ct_RANLIB"; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6186 $as_echo "$ac_ct_RANLIB" >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6189 $as_echo "no
" >&6; }
6192 if test "x
$ac_ct_RANLIB" = x; then
6195 case $cross_compiling:$ac_tool_warned in
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6198 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6199 ac_tool_warned=yes ;;
6201 RANLIB=$ac_ct_RANLIB
6204 RANLIB="$ac_cv_prog_RANLIB"
6207 test -z "$RANLIB" && RANLIB=:
6208 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6209 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6210 RANLIB="$RANLIB $plugin_option"
6219 # Determine commands to create old-style static archives.
6220 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6221 old_postinstall_cmds='chmod 644 $oldlib'
6222 old_postuninstall_cmds=
6224 if test -n "$RANLIB"; then
6227 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6230 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6233 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6238 lock_old_archive_extraction=yes ;;
6240 lock_old_archive_extraction=no ;;
6281 # If no C compiler was specified, use CC.
6284 # If no C compiler flags were specified, use CFLAGS.
6285 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6287 # Allow CC to be a program name with arguments.
6291 # Check for command to grab the raw symbol name followed by C symbol from nm.
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6293 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6294 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6295 $as_echo_n "(cached
) " >&6
6298 # These are sane defaults that work on at least a few old systems.
6299 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6301 # Character class describing NM global symbol codes.
6302 symcode='[BCDEGRST]'
6304 # Regexp to match symbols that can be accessed directly from C.
6305 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6307 # Define system-specific variables.
6312 cygwin* | mingw* | pw32* | cegcc*)
6313 symcode='[ABCDGISTW]'
6316 if test "$host_cpu" = ia64; then
6317 symcode='[ABCDEGRST]'
6321 symcode='[BCDEGRST]'
6324 symcode='[BCDEGQRST]'
6335 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6343 # If we're using GNU nm, then use its standard symbol codes.
6344 case `$NM -V 2>&1` in
6345 *GNU* | *'with BFD'*)
6346 symcode='[ABCDGIRSTW]' ;;
6349 # Transform an extracted symbol line into a proper C declaration.
6350 # Some systems (esp. on ia64) link data and code symbols differently,
6351 # so use this general approach.
6352 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6354 # Transform an extracted symbol line into symbol name and symbol address
6355 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6356 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'"
6358 # Handle CRLF in mingw tool chain
6362 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6366 # Try without a prefix underscore, then with it.
6367 for ac_symprfx in "" "_
"; do
6369 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6370 symxfrm="\\1 $ac_symprfx\\2 \\2"
6372 # Write the raw and C identifiers.
6373 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6374 # Fake it for dumpbin and say T for any non-static function
6375 # and D for any global variable.
6376 # Also find C++ and __fastcall symbols from MSVC++,
6377 # which start with @ or ?.
6378 lt_cv_sys_global_symbol_pipe="$AWK '"\
6379 " {last_section=section; section=\$ 3};"\
6380 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6381 " \$ 0!~/External *\|/{next};"\
6382 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6383 " {if(hide[section]) next};"\
6384 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6385 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6386 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6387 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6388 " ' prfx
=^
$ac_symprfx"
6390 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6393 # Check to see that the pipe works correctly.
6397 cat > conftest.$ac_ext <<_LT_EOF
6402 void nm_test_func(void);
6403 void nm_test_func(void){}
6407 int main(){nm_test_var='a';nm_test_func();return(0);}
6410 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6411 (eval $ac_compile) 2>&5
6413 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6414 test $ac_status = 0; }; then
6415 # Now try to grab the symbols.
6417 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6418 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6420 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6421 test $ac_status = 0; } && test -s "$nlist"; then
6422 # Try sorting and uniquifying the output.
6423 if sort "$nlist" | uniq > "$nlist"T; then
6424 mv -f "$nlist"T "$nlist"
6429 # Make sure that we snagged all the symbols we need.
6430 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6431 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6432 cat <<_LT_EOF > conftest.$ac_ext
6438 # Now generate the symbol file.
6439 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6441 cat <<_LT_EOF >> conftest.$ac_ext
6443 /* The mapping between symbol names and symbols. */
6448 lt__PROGRAM__LTX_preloaded_symbols[] =
6450 { "@PROGRAM@
", (void *) 0 },
6452 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6453 cat <<\_LT_EOF >> conftest.$ac_ext
6457 /* This works around a problem in FreeBSD linker */
6458 #ifdef FREEBSD_WORKAROUND
6459 static const void *lt_preloaded_setup() {
6460 return lt__PROGRAM__LTX_preloaded_symbols;
6468 # Now try linking the two files.
6469 mv conftest.$ac_objext conftstm.$ac_objext
6470 lt_save_LIBS="$LIBS"
6471 lt_save_CFLAGS="$CFLAGS"
6472 LIBS="conftstm.
$ac_objext"
6473 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6474 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6475 (eval $ac_link) 2>&5
6477 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6478 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6481 LIBS="$lt_save_LIBS"
6482 CFLAGS="$lt_save_CFLAGS"
6484 echo "cannot
find nm_test_func
in $nlist" >&5
6487 echo "cannot
find nm_test_var
in $nlist" >&5
6490 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6493 echo "$progname: failed program was
:" >&5
6494 cat conftest.$ac_ext >&5
6496 rm -rf conftest* conftst*
6498 # Do not use the global_symbol_pipe unless it works.
6499 if test "$pipe_works" = yes; then
6502 lt_cv_sys_global_symbol_pipe=
6508 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6509 lt_cv_sys_global_symbol_to_cdecl=
6511 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6513 $as_echo "failed
" >&6; }
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6516 $as_echo "ok
" >&6; }
6540 # Check whether --enable-libtool-lock was given.
6541 if test "${enable_libtool_lock+set}" = set; then :
6542 enableval=$enable_libtool_lock;
6545 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6547 # Some flags need to be propagated to the compiler or linker for good
6551 # Find out which ABI we are using.
6552 echo 'int i;' > conftest.$ac_ext
6553 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6554 (eval $ac_compile) 2>&5
6556 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6557 test $ac_status = 0; }; then
6558 case `/usr/bin/file conftest.$ac_objext` in
6570 # Find out which ABI we are using.
6571 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6572 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6573 (eval $ac_compile) 2>&5
6575 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6576 test $ac_status = 0; }; then
6577 if test "$lt_cv_prog_gnu_ld" = yes; then
6578 case `/usr/bin/file conftest.$ac_objext` in
6580 LD="${LD-ld} -melf32bsmip"
6583 LD="${LD-ld} -melf32bmipn32"
6586 LD="${LD-ld} -melf64bmip"
6590 case `/usr/bin/file conftest.$ac_objext` in
6606 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6607 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6608 # Find out which ABI we are using.
6609 echo 'int i;' > conftest.$ac_ext
6610 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6611 (eval $ac_compile) 2>&5
6613 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6614 test $ac_status = 0; }; then
6615 case `/usr/bin/file conftest.o` in
6618 x86_64-*kfreebsd*-gnu)
6619 LD="${LD-ld} -m elf_i386_fbsd
"
6622 case `/usr/bin/file conftest.o` in
6624 LD="${LD-ld} -m elf32_x86_64
"
6627 LD="${LD-ld} -m elf_i386
"
6631 powerpc64le-*linux*)
6632 LD="${LD-ld} -m elf32lppclinux
"
6635 LD="${LD-ld} -m elf32ppclinux
"
6638 LD="${LD-ld} -m elf_s390
"
6641 LD="${LD-ld} -m elf32_sparc
"
6647 x86_64-*kfreebsd*-gnu)
6648 LD="${LD-ld} -m elf_x86_64_fbsd
"
6651 LD="${LD-ld} -m elf_x86_64
"
6654 LD="${LD-ld} -m elf64lppc
"
6657 LD="${LD-ld} -m elf64ppc
"
6659 s390*-*linux*|s390*-*tpf*)
6660 LD="${LD-ld} -m elf64_s390
"
6663 LD="${LD-ld} -m elf64_sparc
"
6673 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6674 SAVE_CFLAGS="$CFLAGS"
6675 CFLAGS="$CFLAGS -belf"
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6677 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6678 if ${lt_cv_cc_needs_belf+:} false; then :
6679 $as_echo_n "(cached
) " >&6
6682 ac_cpp='$CPP $CPPFLAGS'
6683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6688 /* end confdefs.h. */
6698 if ac_fn_c_try_link "$LINENO"; then :
6699 lt_cv_cc_needs_belf=yes
6701 lt_cv_cc_needs_belf=no
6703 rm -f core conftest.err conftest.$ac_objext \
6704 conftest$ac_exeext conftest.$ac_ext
6706 ac_cpp='$CPP $CPPFLAGS'
6707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6713 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6714 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6715 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6716 CFLAGS="$SAVE_CFLAGS"
6720 # Find out which ABI we are using.
6721 echo 'int i;' > conftest.$ac_ext
6722 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6723 (eval $ac_compile) 2>&5
6725 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6726 test $ac_status = 0; }; then
6727 case `/usr/bin/file conftest.o` in
6729 case $lt_cv_prog_gnu_ld in
6730 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6732 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6744 need_locks="$enable_libtool_lock"
6748 rhapsody* | darwin*)
6749 if test -n "$ac_tool_prefix"; then
6750 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6751 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6753 $as_echo_n "checking
for $ac_word...
" >&6; }
6754 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6755 $as_echo_n "(cached
) " >&6
6757 if test -n "$DSYMUTIL"; then
6758 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 test -z "$as_dir" && as_dir=.
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6777 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6778 if test -n "$DSYMUTIL"; then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6780 $as_echo "$DSYMUTIL" >&6; }
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6783 $as_echo "no
" >&6; }
6788 if test -z "$ac_cv_prog_DSYMUTIL"; then
6789 ac_ct_DSYMUTIL=$DSYMUTIL
6790 # Extract the first word of "dsymutil
", so it can be a program name with args.
6791 set dummy dsymutil; ac_word=$2
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6793 $as_echo_n "checking
for $ac_word...
" >&6; }
6794 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6795 $as_echo_n "(cached
) " >&6
6797 if test -n "$ac_ct_DSYMUTIL"; then
6798 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir=.
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6807 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6817 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6818 if test -n "$ac_ct_DSYMUTIL"; then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6820 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6823 $as_echo "no
" >&6; }
6826 if test "x
$ac_ct_DSYMUTIL" = x; then
6829 case $cross_compiling:$ac_tool_warned in
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6832 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6833 ac_tool_warned=yes ;;
6835 DSYMUTIL=$ac_ct_DSYMUTIL
6838 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6841 if test -n "$ac_tool_prefix"; then
6842 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6843 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6845 $as_echo_n "checking
for $ac_word...
" >&6; }
6846 if ${ac_cv_prog_NMEDIT+:} false; then :
6847 $as_echo_n "(cached
) " >&6
6849 if test -n "$NMEDIT"; then
6850 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856 test -z "$as_dir" && as_dir=.
6857 for ac_exec_ext in '' $ac_executable_extensions; do
6858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6859 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6860 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6869 NMEDIT=$ac_cv_prog_NMEDIT
6870 if test -n "$NMEDIT"; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6872 $as_echo "$NMEDIT" >&6; }
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6875 $as_echo "no
" >&6; }
6880 if test -z "$ac_cv_prog_NMEDIT"; then
6881 ac_ct_NMEDIT=$NMEDIT
6882 # Extract the first word of "nmedit
", so it can be a program name with args.
6883 set dummy nmedit; ac_word=$2
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6885 $as_echo_n "checking
for $ac_word...
" >&6; }
6886 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6887 $as_echo_n "(cached
) " >&6
6889 if test -n "$ac_ct_NMEDIT"; then
6890 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896 test -z "$as_dir" && as_dir=.
6897 for ac_exec_ext in '' $ac_executable_extensions; do
6898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6899 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6909 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6910 if test -n "$ac_ct_NMEDIT"; then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6912 $as_echo "$ac_ct_NMEDIT" >&6; }
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6915 $as_echo "no
" >&6; }
6918 if test "x
$ac_ct_NMEDIT" = x; then
6921 case $cross_compiling:$ac_tool_warned in
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6924 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6925 ac_tool_warned=yes ;;
6927 NMEDIT=$ac_ct_NMEDIT
6930 NMEDIT="$ac_cv_prog_NMEDIT"
6933 if test -n "$ac_tool_prefix"; then
6934 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6935 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6937 $as_echo_n "checking
for $ac_word...
" >&6; }
6938 if ${ac_cv_prog_LIPO+:} false; then :
6939 $as_echo_n "(cached
) " >&6
6941 if test -n "$LIPO"; then
6942 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 test -z "$as_dir" && as_dir=.
6949 for ac_exec_ext in '' $ac_executable_extensions; do
6950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6951 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6961 LIPO=$ac_cv_prog_LIPO
6962 if test -n "$LIPO"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6964 $as_echo "$LIPO" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6967 $as_echo "no
" >&6; }
6972 if test -z "$ac_cv_prog_LIPO"; then
6974 # Extract the first word of "lipo
", so it can be a program name with args.
6975 set dummy lipo; ac_word=$2
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6977 $as_echo_n "checking
for $ac_word...
" >&6; }
6978 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6979 $as_echo_n "(cached
) " >&6
6981 if test -n "$ac_ct_LIPO"; then
6982 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir=.
6989 for ac_exec_ext in '' $ac_executable_extensions; do
6990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6991 ac_cv_prog_ac_ct_LIPO="lipo
"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7001 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7002 if test -n "$ac_ct_LIPO"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7004 $as_echo "$ac_ct_LIPO" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7007 $as_echo "no
" >&6; }
7010 if test "x
$ac_ct_LIPO" = x; then
7013 case $cross_compiling:$ac_tool_warned in
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7016 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7017 ac_tool_warned=yes ;;
7022 LIPO="$ac_cv_prog_LIPO"
7025 if test -n "$ac_tool_prefix"; then
7026 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7027 set dummy ${ac_tool_prefix}otool; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7029 $as_echo_n "checking
for $ac_word...
" >&6; }
7030 if ${ac_cv_prog_OTOOL+:} false; then :
7031 $as_echo_n "(cached
) " >&6
7033 if test -n "$OTOOL"; then
7034 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7053 OTOOL=$ac_cv_prog_OTOOL
7054 if test -n "$OTOOL"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7056 $as_echo "$OTOOL" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7059 $as_echo "no
" >&6; }
7064 if test -z "$ac_cv_prog_OTOOL"; then
7066 # Extract the first word of "otool
", so it can be a program name with args.
7067 set dummy otool; ac_word=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7069 $as_echo_n "checking
for $ac_word...
" >&6; }
7070 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7071 $as_echo_n "(cached
) " >&6
7073 if test -n "$ac_ct_OTOOL"; then
7074 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir=.
7081 for ac_exec_ext in '' $ac_executable_extensions; do
7082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7083 ac_cv_prog_ac_ct_OTOOL="otool
"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7093 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7094 if test -n "$ac_ct_OTOOL"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7096 $as_echo "$ac_ct_OTOOL" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7099 $as_echo "no
" >&6; }
7102 if test "x
$ac_ct_OTOOL" = x; then
7105 case $cross_compiling:$ac_tool_warned in
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7108 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7109 ac_tool_warned=yes ;;
7114 OTOOL="$ac_cv_prog_OTOOL"
7117 if test -n "$ac_tool_prefix"; then
7118 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7119 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7121 $as_echo_n "checking
for $ac_word...
" >&6; }
7122 if ${ac_cv_prog_OTOOL64+:} false; then :
7123 $as_echo_n "(cached
) " >&6
7125 if test -n "$OTOOL64"; then
7126 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7145 OTOOL64=$ac_cv_prog_OTOOL64
7146 if test -n "$OTOOL64"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7148 $as_echo "$OTOOL64" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7151 $as_echo "no
" >&6; }
7156 if test -z "$ac_cv_prog_OTOOL64"; then
7157 ac_ct_OTOOL64=$OTOOL64
7158 # Extract the first word of "otool64
", so it can be a program name with args.
7159 set dummy otool64; ac_word=$2
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7161 $as_echo_n "checking
for $ac_word...
" >&6; }
7162 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7163 $as_echo_n "(cached
) " >&6
7165 if test -n "$ac_ct_OTOOL64"; then
7166 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172 test -z "$as_dir" && as_dir=.
7173 for ac_exec_ext in '' $ac_executable_extensions; do
7174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7175 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7176 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7185 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7186 if test -n "$ac_ct_OTOOL64"; then
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7188 $as_echo "$ac_ct_OTOOL64" >&6; }
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7191 $as_echo "no
" >&6; }
7194 if test "x
$ac_ct_OTOOL64" = x; then
7197 case $cross_compiling:$ac_tool_warned in
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7200 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7201 ac_tool_warned=yes ;;
7203 OTOOL64=$ac_ct_OTOOL64
7206 OTOOL64="$ac_cv_prog_OTOOL64"
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7236 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7237 if ${lt_cv_apple_cc_single_mod+:} false; then :
7238 $as_echo_n "(cached
) " >&6
7240 lt_cv_apple_cc_single_mod=no
7241 if test -z "${LT_MULTI_MODULE}"; then
7242 # By default we will add the -single_module flag. You can override
7243 # by either setting the environment variable LT_MULTI_MODULE
7244 # non-empty at configure time, or by adding -multi_module to the
7246 rm -rf libconftest.dylib*
7247 echo "int foo
(void
){return 1;}" > conftest.c
7248 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7249 -dynamiclib -Wl,-single_module conftest.c
" >&5
7250 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7251 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7253 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7254 lt_cv_apple_cc_single_mod=yes
7256 cat conftest.err >&5
7258 rm -rf libconftest.dylib*
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7263 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7265 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7266 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7267 $as_echo_n "(cached
) " >&6
7269 lt_cv_ld_exported_symbols_list=no
7270 save_LDFLAGS=$LDFLAGS
7271 echo "_main
" > conftest.sym
7272 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7284 if ac_fn_c_try_link "$LINENO"; then :
7285 lt_cv_ld_exported_symbols_list=yes
7287 lt_cv_ld_exported_symbols_list=no
7289 rm -f core conftest.err conftest.$ac_objext \
7290 conftest$ac_exeext conftest.$ac_ext
7291 LDFLAGS="$save_LDFLAGS"
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7295 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7297 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7298 if ${lt_cv_ld_force_load+:} false; then :
7299 $as_echo_n "(cached
) " >&6
7301 lt_cv_ld_force_load=no
7302 cat > conftest.c << _LT_EOF
7303 int forced_loaded() { return 2;}
7305 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7306 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7307 echo "$AR cru libconftest.a conftest.o
" >&5
7308 $AR cru libconftest.a conftest.o 2>&5
7309 cat > conftest.c << _LT_EOF
7310 int main() { return 0;}
7312 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7313 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7315 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7316 lt_cv_ld_force_load=yes
7318 cat conftest.err >&5
7320 rm -f conftest.err libconftest.a conftest conftest.c
7321 rm -rf conftest.dSYM
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7325 $as_echo "$lt_cv_ld_force_load" >&6; }
7327 rhapsody* | darwin1.[012])
7328 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7330 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7331 darwin*) # darwin 5.x on
7332 # if running on 10.5 or later, the deployment target defaults
7333 # to the OS version, if on x86, and 10.4, the deployment
7334 # target defaults to 10.4. Don't you love it?
7335 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7336 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7337 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7339 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7341 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7345 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7346 _lt_dar_single_mod='$single_module'
7348 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7349 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7351 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7353 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7354 _lt_dsymutil='~$DSYMUTIL $lib || :'
7361 for ac_header in dlfcn.h
7363 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7365 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7366 cat >>confdefs.h <<_ACEOF
7367 #define HAVE_DLFCN_H 1
7389 # Check whether --enable-static was given.
7390 if test "${enable_static+set}" = set; then :
7391 enableval=$enable_static; p=${PACKAGE-default}
7393 yes) enable_static=yes ;;
7394 no) enable_static=no ;;
7397 # Look at the argument we got. We use all the common list separators.
7398 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7399 for pkg in $enableval; do
7401 if test "X
$pkg" = "X
$p"; then
7421 # Check whether --with-pic was given.
7422 if test "${with_pic+set}" = set; then :
7423 withval=$with_pic; pic_mode="$withval"
7429 test -z "$pic_mode" && pic_mode=default
7437 # Check whether --enable-fast-install was given.
7438 if test "${enable_fast_install+set}" = set; then :
7439 enableval=$enable_fast_install; p=${PACKAGE-default}
7441 yes) enable_fast_install=yes ;;
7442 no) enable_fast_install=no ;;
7444 enable_fast_install=no
7445 # Look at the argument we got. We use all the common list separators.
7446 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7447 for pkg in $enableval; do
7449 if test "X
$pkg" = "X
$p"; then
7450 enable_fast_install=yes
7457 enable_fast_install=yes
7470 # This can be used to rebuild libtool when needed
7471 LIBTOOL_DEPS="$ltmain"
7473 # Always use our own libtool.
7474 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7501 test -z "$LN_S" && LN_S="ln -s"
7516 if test -n "${ZSH_VERSION+set}" ; then
7517 setopt NO_GLOB_SUBST
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7521 $as_echo_n "checking
for objdir...
" >&6; }
7522 if ${lt_cv_objdir+:} false; then :
7523 $as_echo_n "(cached
) " >&6
7525 rm -f .libs 2>/dev/null
7526 mkdir .libs 2>/dev/null
7527 if test -d .libs; then
7530 # MS-DOS does not allow filenames that begin with a dot.
7533 rmdir .libs 2>/dev/null
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7536 $as_echo "$lt_cv_objdir" >&6; }
7537 objdir=$lt_cv_objdir
7543 cat >>confdefs.h <<_ACEOF
7544 #define LT_OBJDIR "$lt_cv_objdir/"
7552 # AIX sometimes has problems with the GCC collect2 program. For some
7553 # reason, if we set the COLLECT_NAMES environment variable, the problems
7554 # vanish in a puff of smoke.
7555 if test "X
${COLLECT_NAMES+set}" != Xset; then
7557 export COLLECT_NAMES
7564 can_build_shared=yes
7566 # All known linkers require a `.a' archive for static linking (except MSVC,
7567 # which needs '.lib').
7570 with_gnu_ld="$lt_cv_prog_gnu_ld"
7573 old_CFLAGS="$CFLAGS"
7575 # Set sane defaults for various variables
7576 test -z "$CC" && CC=cc
7577 test -z "$LTCC" && LTCC=$CC
7578 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7579 test -z "$LD" && LD=ld
7580 test -z "$ac_objext" && ac_objext=o
7582 for cc_temp in $compiler""; do
7584 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7585 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7590 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7593 # Only perform the check for file, if the check method requires it
7594 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7595 case $deplibs_check_method in
7597 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7599 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7600 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7601 $as_echo_n "(cached
) " >&6
7605 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7608 lt_save_MAGIC_CMD="$MAGIC_CMD"
7609 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7610 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7611 for ac_dir in $ac_dummy; do
7613 test -z "$ac_dir" && ac_dir=.
7614 if test -f $ac_dir/${ac_tool_prefix}file; then
7615 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7616 if test -n "$file_magic_test_file"; then
7617 case $deplibs_check_method in
7619 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7620 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7621 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7622 $EGREP "$file_magic_regex" > /dev/null; then
7627 *** Warning: the command libtool uses to detect shared libraries,
7628 *** $file_magic_cmd, produces output that libtool cannot recognize.
7629 *** The result is that libtool may fail to recognize shared libraries
7630 *** as such. This will affect the creation of libtool libraries that
7631 *** depend on shared libraries, but programs linked with such libtool
7632 *** libraries will work regardless of this problem. Nevertheless, you
7633 *** may want to report the problem to your system manager and/or to
7634 *** bug-libtool@gnu.org
7644 MAGIC_CMD="$lt_save_MAGIC_CMD"
7649 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7650 if test -n "$MAGIC_CMD"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7652 $as_echo "$MAGIC_CMD" >&6; }
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7655 $as_echo "no
" >&6; }
7662 if test -z "$lt_cv_path_MAGIC_CMD"; then
7663 if test -n "$ac_tool_prefix"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7665 $as_echo_n "checking
for file...
" >&6; }
7666 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7667 $as_echo_n "(cached
) " >&6
7671 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7674 lt_save_MAGIC_CMD="$MAGIC_CMD"
7675 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7676 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7677 for ac_dir in $ac_dummy; do
7679 test -z "$ac_dir" && ac_dir=.
7680 if test -f $ac_dir/file; then
7681 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7682 if test -n "$file_magic_test_file"; then
7683 case $deplibs_check_method in
7685 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7686 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7687 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7688 $EGREP "$file_magic_regex" > /dev/null; then
7693 *** Warning: the command libtool uses to detect shared libraries,
7694 *** $file_magic_cmd, produces output that libtool cannot recognize.
7695 *** The result is that libtool may fail to recognize shared libraries
7696 *** as such. This will affect the creation of libtool libraries that
7697 *** depend on shared libraries, but programs linked with such libtool
7698 *** libraries will work regardless of this problem. Nevertheless, you
7699 *** may want to report the problem to your system manager and/or to
7700 *** bug-libtool@gnu.org
7710 MAGIC_CMD="$lt_save_MAGIC_CMD"
7715 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7716 if test -n "$MAGIC_CMD"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7718 $as_echo "$MAGIC_CMD" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7721 $as_echo "no
" >&6; }
7734 # Use C for the default configuration in the libtool script
7738 ac_cpp='$CPP $CPPFLAGS'
7739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7744 # Source file extension for C test sources.
7747 # Object file extension for compiled C test sources.
7751 # Code to be used in simple compile tests
7752 lt_simple_compile_test_code="int some_variable
= 0;"
7754 # Code to be used in simple link tests
7755 lt_simple_link_test_code='int main(){return(0);}'
7763 # If no C compiler was specified, use CC.
7766 # If no C compiler flags were specified, use CFLAGS.
7767 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7769 # Allow CC to be a program name with arguments.
7772 # Save the default compiler, since it gets overwritten when the other
7773 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7774 compiler_DEFAULT=$CC
7776 # save warnings/boilerplate of simple test code
7777 ac_outfile=conftest.$ac_objext
7778 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7779 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7780 _lt_compiler_boilerplate=`cat conftest.err`
7783 ac_outfile=conftest.$ac_objext
7784 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7785 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7786 _lt_linker_boilerplate=`cat conftest.err`
7791 ## There is no encapsulation within the following macros, do not change
7792 ## the running order or otherwise move them around unless you know exactly
7793 ## what you are doing...
7794 if test -n "$compiler"; then
7796 lt_prog_compiler_no_builtin_flag=
7798 if test "$GCC" = yes; then
7799 case $cc_basename in
7801 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7803 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7807 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7808 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7809 $as_echo_n "(cached
) " >&6
7811 lt_cv_prog_compiler_rtti_exceptions=no
7812 ac_outfile=conftest.$ac_objext
7813 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7814 lt_compiler_flag="-fno-rtti -fno-exceptions"
7815 # Insert the option either (1) after the last *FLAGS variable, or
7816 # (2) before a word containing "conftest.
", or (3) at the end.
7817 # Note that $ac_compile itself does not contain backslashes and begins
7818 # with a dollar sign (not a hyphen), so the echo should work correctly.
7819 # The option is referenced via a variable to avoid confusing sed.
7820 lt_compile=`echo "$ac_compile" | $SED \
7821 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7822 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7823 -e 's:$: $lt_compiler_flag:'`
7824 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7825 (eval "$lt_compile" 2>conftest.err)
7827 cat conftest.err >&5
7828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7829 if (exit $ac_status) && test -s "$ac_outfile"; then
7830 # The compiler can only warn and ignore the option if not recognized
7831 # So say no if there are warnings other than the usual output.
7832 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7833 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7834 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7835 lt_cv_prog_compiler_rtti_exceptions=yes
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7842 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7844 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7845 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7857 lt_prog_compiler_wl=
7858 lt_prog_compiler_pic=
7859 lt_prog_compiler_static=
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7862 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7864 if test "$GCC" = yes; then
7865 lt_prog_compiler_wl='-Wl,'
7866 lt_prog_compiler_static='-static'
7870 # All AIX code is PIC.
7871 if test "$host_cpu" = ia64; then
7872 # AIX 5 now supports IA64 processor
7873 lt_prog_compiler_static='-Bstatic'
7875 lt_prog_compiler_pic='-fPIC'
7881 # see comment about AmigaOS4 .so support
7882 lt_prog_compiler_pic='-fPIC'
7885 # FIXME: we need at least 68020 code to build shared libraries, but
7886 # adding the `-m68020' flag to GCC prevents building anything better,
7888 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7893 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7894 # PIC is the default for these OSes.
7897 mingw* | cygwin* | pw32* | os2* | cegcc*)
7898 # This hack is so that the source file can tell whether it is being
7899 # built for inclusion in a dll (and should export symbols for example).
7900 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7901 # (--disable-auto-import) libraries
7902 lt_prog_compiler_pic='-DDLL_EXPORT'
7905 darwin* | rhapsody*)
7906 # PIC is the default on this platform
7907 # Common symbols not allowed in MH_DYLIB files
7908 lt_prog_compiler_pic='-fno-common'
7912 # PIC is the default for Haiku.
7913 # The "-static" flag exists, but is broken.
7914 lt_prog_compiler_static=
7918 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7919 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7920 # sets the default TLS model and affects inlining.
7926 lt_prog_compiler_pic='-fPIC'
7932 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7933 # Instead, we relocate shared libraries at runtime.
7937 # Just because we use GCC doesn't mean we suddenly get shared libraries
7938 # on systems that don't support them.
7939 lt_prog_compiler_can_build_shared=no
7944 # QNX uses GNU C++, but need to define -shared option too, otherwise
7946 lt_prog_compiler_pic='-fPIC -shared'
7950 if test -d /usr/nec; then
7951 lt_prog_compiler_pic=-Kconform_pic
7956 lt_prog_compiler_pic='-fPIC'
7960 case $cc_basename in
7961 nvcc*) # Cuda Compiler Driver 2.2
7962 lt_prog_compiler_wl='-Xlinker '
7963 lt_prog_compiler_pic='-Xcompiler -fPIC'
7967 # PORTME Check for flag to pass linker flags through the system compiler.
7970 lt_prog_compiler_wl='-Wl,'
7971 if test "$host_cpu" = ia64; then
7972 # AIX 5 now supports IA64 processor
7973 lt_prog_compiler_static='-Bstatic'
7975 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7979 mingw* | cygwin* | pw32* | os2* | cegcc*)
7980 # This hack is so that the source file can tell whether it is being
7981 # built for inclusion in a dll (and should export symbols for example).
7982 lt_prog_compiler_pic='-DDLL_EXPORT'
7985 hpux9* | hpux10* | hpux11*)
7986 lt_prog_compiler_wl='-Wl,'
7987 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7994 lt_prog_compiler_pic='+Z'
7997 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7998 lt_prog_compiler_static='${wl}-a ${wl}archive'
8001 irix5* | irix6* | nonstopux*)
8002 lt_prog_compiler_wl='-Wl,'
8003 # PIC (with -KPIC) is the default.
8004 lt_prog_compiler_static='-non_shared'
8007 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8008 case $cc_basename in
8009 # old Intel for x86_64 which still supported -KPIC.
8011 lt_prog_compiler_wl='-Wl,'
8012 lt_prog_compiler_pic='-KPIC'
8013 lt_prog_compiler_static='-static'
8015 # icc used to be incompatible with GCC.
8016 # ICC 10 doesn't accept -KPIC any more.
8018 lt_prog_compiler_wl='-Wl,'
8019 lt_prog_compiler_pic='-fPIC'
8020 lt_prog_compiler_static='-static'
8022 # Lahey Fortran 8.1.
8024 lt_prog_compiler_wl='-Wl,'
8025 lt_prog_compiler_pic='--shared'
8026 lt_prog_compiler_static='--static'
8028 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8029 # Portland Group compilers (*not* the Pentium gcc compiler,
8030 # which looks to be a dead project)
8031 lt_prog_compiler_wl='-Wl,'
8032 lt_prog_compiler_pic='-fpic'
8033 lt_prog_compiler_static='-Bstatic'
8036 lt_prog_compiler_wl='-Wl,'
8037 # All Alpha code is PIC.
8038 lt_prog_compiler_static='-non_shared'
8040 xl* | bgxl* | bgf* | mpixl*)
8041 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8042 lt_prog_compiler_wl='-Wl,'
8043 lt_prog_compiler_pic='-qpic'
8044 lt_prog_compiler_static='-qstaticlink'
8047 case `$CC -V 2>&1 | sed 5q` in
8048 *Sun\ F* | *Sun*Fortran*)
8049 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8050 lt_prog_compiler_pic='-KPIC'
8051 lt_prog_compiler_static='-Bstatic'
8052 lt_prog_compiler_wl=''
8056 lt_prog_compiler_pic='-KPIC'
8057 lt_prog_compiler_static='-Bstatic'
8058 lt_prog_compiler_wl='-Wl,'
8066 lt_prog_compiler_pic='-KPIC'
8067 lt_prog_compiler_static='-Bstatic'
8071 # QNX uses GNU C++, but need to define -shared option too, otherwise
8073 lt_prog_compiler_pic='-fPIC -shared'
8076 osf3* | osf4* | osf5*)
8077 lt_prog_compiler_wl='-Wl,'
8078 # All OSF/1 code is PIC.
8079 lt_prog_compiler_static='-non_shared'
8083 lt_prog_compiler_static='-non_shared'
8087 lt_prog_compiler_pic='-KPIC'
8088 lt_prog_compiler_static='-Bstatic'
8089 case $cc_basename in
8091 lt_prog_compiler_wl='-Qoption ld ';;
8093 lt_prog_compiler_wl='-Wl,';;
8098 lt_prog_compiler_wl='-Qoption ld '
8099 lt_prog_compiler_pic='-PIC'
8100 lt_prog_compiler_static='-Bstatic'
8103 sysv4 | sysv4.2uw2* | sysv4.3*)
8104 lt_prog_compiler_wl='-Wl,'
8105 lt_prog_compiler_pic='-KPIC'
8106 lt_prog_compiler_static='-Bstatic'
8110 if test -d /usr/nec ;then
8111 lt_prog_compiler_pic='-Kconform_pic'
8112 lt_prog_compiler_static='-Bstatic'
8116 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8117 lt_prog_compiler_wl='-Wl,'
8118 lt_prog_compiler_pic='-KPIC'
8119 lt_prog_compiler_static='-Bstatic'
8123 lt_prog_compiler_wl='-Wl,'
8124 lt_prog_compiler_can_build_shared=no
8128 lt_prog_compiler_pic='-pic'
8129 lt_prog_compiler_static='-Bstatic'
8133 lt_prog_compiler_can_build_shared=no
8139 # For platforms which do not support PIC, -DPIC is meaningless:
8141 lt_prog_compiler_pic=
8144 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8148 $as_echo "$lt_prog_compiler_pic" >&6; }
8156 # Check to make sure the PIC flag actually works.
8158 if test -n "$lt_prog_compiler_pic"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8160 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8161 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8162 $as_echo_n "(cached
) " >&6
8164 lt_cv_prog_compiler_pic_works=no
8165 ac_outfile=conftest.$ac_objext
8166 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8167 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8168 # Insert the option either (1) after the last *FLAGS variable, or
8169 # (2) before a word containing "conftest.
", or (3) at the end.
8170 # Note that $ac_compile itself does not contain backslashes and begins
8171 # with a dollar sign (not a hyphen), so the echo should work correctly.
8172 # The option is referenced via a variable to avoid confusing sed.
8173 lt_compile=`echo "$ac_compile" | $SED \
8174 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8175 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8176 -e 's:$: $lt_compiler_flag:'`
8177 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8178 (eval "$lt_compile" 2>conftest.err)
8180 cat conftest.err >&5
8181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8182 if (exit $ac_status) && test -s "$ac_outfile"; then
8183 # The compiler can only warn and ignore the option if not recognized
8184 # So say no if there are warnings other than the usual output.
8185 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8186 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8187 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8188 lt_cv_prog_compiler_pic_works=yes
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8195 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8197 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8198 case $lt_prog_compiler_pic in
8200 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8203 lt_prog_compiler_pic=
8204 lt_prog_compiler_can_build_shared=no
8215 # Check to make sure the static flag actually works.
8217 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8219 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8220 if ${lt_cv_prog_compiler_static_works+:} false; then :
8221 $as_echo_n "(cached
) " >&6
8223 lt_cv_prog_compiler_static_works=no
8224 save_LDFLAGS="$LDFLAGS"
8225 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8226 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8227 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8228 # The linker can only warn and ignore the option if not recognized
8229 # So say no if there are warnings
8230 if test -s conftest.err; then
8231 # Append any errors to the config.log.
8232 cat conftest.err 1>&5
8233 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8234 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8235 if diff conftest.exp conftest.er2 >/dev/null; then
8236 lt_cv_prog_compiler_static_works=yes
8239 lt_cv_prog_compiler_static_works=yes
8243 LDFLAGS="$save_LDFLAGS"
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8247 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8249 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8252 lt_prog_compiler_static=
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8262 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8263 if ${lt_cv_prog_compiler_c_o+:} false; then :
8264 $as_echo_n "(cached
) " >&6
8266 lt_cv_prog_compiler_c_o=no
8267 $RM -r conftest 2>/dev/null
8271 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8273 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8274 # Insert the option either (1) after the last *FLAGS variable, or
8275 # (2) before a word containing "conftest.
", or (3) at the end.
8276 # Note that $ac_compile itself does not contain backslashes and begins
8277 # with a dollar sign (not a hyphen), so the echo should work correctly.
8278 lt_compile=`echo "$ac_compile" | $SED \
8279 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8281 -e 's:$: $lt_compiler_flag:'`
8282 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8283 (eval "$lt_compile" 2>out/conftest.err)
8285 cat out/conftest.err >&5
8286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8287 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8289 # The compiler can only warn and ignore the option if not recognized
8290 # So say no if there are warnings
8291 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8292 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8293 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8294 lt_cv_prog_compiler_c_o=yes
8299 # SGI C++ compiler will create directory out/ii_files/ for
8300 # template instantiation
8301 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8302 $RM out/* && rmdir out
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8309 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8317 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8318 if ${lt_cv_prog_compiler_c_o+:} false; then :
8319 $as_echo_n "(cached
) " >&6
8321 lt_cv_prog_compiler_c_o=no
8322 $RM -r conftest 2>/dev/null
8326 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8328 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8329 # Insert the option either (1) after the last *FLAGS variable, or
8330 # (2) before a word containing "conftest.
", or (3) at the end.
8331 # Note that $ac_compile itself does not contain backslashes and begins
8332 # with a dollar sign (not a hyphen), so the echo should work correctly.
8333 lt_compile=`echo "$ac_compile" | $SED \
8334 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8335 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8336 -e 's:$: $lt_compiler_flag:'`
8337 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8338 (eval "$lt_compile" 2>out/conftest.err)
8340 cat out/conftest.err >&5
8341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8342 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8344 # The compiler can only warn and ignore the option if not recognized
8345 # So say no if there are warnings
8346 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8347 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8348 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8349 lt_cv_prog_compiler_c_o=yes
8354 # SGI C++ compiler will create directory out/ii_files/ for
8355 # template instantiation
8356 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8357 $RM out/* && rmdir out
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8364 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8369 hard_links="nottested
"
8370 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8371 # do not overwrite the value of need_locks provided by the user
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8373 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8376 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8378 ln conftest.a conftest.b 2>&5 || hard_links=no
8379 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8381 $as_echo "$hard_links" >&6; }
8382 if test "$hard_links" = no; then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8384 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8397 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8400 allow_undefined_flag=
8401 always_export_symbols=no
8403 archive_expsym_cmds=
8404 compiler_needs_object=no
8405 enable_shared_with_static_runtimes=no
8406 export_dynamic_flag_spec=
8407 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8408 hardcode_automatic=no
8410 hardcode_direct_absolute=no
8411 hardcode_libdir_flag_spec=
8412 hardcode_libdir_flag_spec_ld=
8413 hardcode_libdir_separator=
8415 hardcode_shlibpath_var=unsupported
8417 link_all_deplibs=unknown
8420 old_archive_from_new_cmds=
8421 old_archive_from_expsyms_cmds=
8422 thread_safe_flag_spec=
8423 whole_archive_flag_spec=
8424 # include_expsyms should be a list of space-separated symbols to be *always*
8425 # included in the symbol list
8427 # exclude_expsyms can be an extended regexp of symbols to exclude
8428 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8429 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8430 # as well as any symbol that contains `d'.
8431 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8432 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8433 # platforms (ab)use it in PIC code, but their linkers get confused if
8434 # the symbol is explicitly referenced. Since portable code cannot
8435 # rely on this symbol name, it's probably fine to never include it in
8436 # preloaded symbol tables.
8437 # Exclude shared library initialization/finalization symbols.
8438 extract_expsyms_cmds=
8441 cygwin* | mingw* | pw32* | cegcc*)
8442 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8443 # When not using gcc, we currently assume that we are using
8444 # Microsoft Visual C++.
8445 if test "$GCC" != yes; then
8450 # we just hope/assume this is gcc and not c89 (= MSVC++)
8460 # On some targets, GNU ld is compatible enough with the native linker
8461 # that we're better off using the native interface for both.
8462 lt_use_gnu_ld_interface=no
8463 if test "$with_gnu_ld" = yes; then
8466 # The AIX port of GNU ld has always aspired to compatibility
8467 # with the native linker. However, as the warning in the GNU ld
8468 # block says, versions before 2.19.5* couldn't really create working
8469 # shared libraries, regardless of the interface used.
8470 case `$LD -v 2>&1` in
8471 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8472 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8473 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8475 lt_use_gnu_ld_interface=yes
8480 lt_use_gnu_ld_interface=yes
8485 if test "$lt_use_gnu_ld_interface" = yes; then
8486 # If archive_cmds runs LD, not CC, wlarc should be empty
8489 # Set some defaults for GNU ld with shared library support. These
8490 # are reset later if shared libraries are not supported. Putting them
8491 # here allows them to be overridden if necessary.
8492 runpath_var=LD_RUN_PATH
8493 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8494 export_dynamic_flag_spec='${wl}--export-dynamic'
8495 # ancient GNU ld didn't support --whole-archive et. al.
8496 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8497 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8499 whole_archive_flag_spec=
8501 supports_anon_versioning=no
8502 case `$LD -v 2>&1` in
8503 *GNU\ gold*) supports_anon_versioning=yes ;;
8504 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8505 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8506 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8507 *\ 2.11.*) ;; # other 2.11 versions
8508 *) supports_anon_versioning=yes ;;
8511 # See if GNU ld supports shared libraries.
8514 # On AIX/PPC, the GNU linker is very broken
8515 if test "$host_cpu" != ia64; then
8519 *** Warning: the GNU linker, at least up to release 2.19, is reported
8520 *** to be unable to reliably create shared libraries on AIX.
8521 *** Therefore, libtool is disabling shared libraries support. If you
8522 *** really care for shared libraries, you may want to install binutils
8523 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8524 *** You will then need to restart the configuration process.
8533 # see comment about AmigaOS4 .so support
8534 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8535 archive_expsym_cmds=''
8538 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)'
8539 hardcode_libdir_flag_spec
='-L$libdir'
8540 hardcode_minus_L
=yes
8546 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8547 allow_undefined_flag
=unsupported
8548 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8549 # support --undefined. This deserves some investigation. FIXME
8550 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8556 cygwin
* | mingw
* | pw32
* | cegcc
*)
8557 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8558 # as there is no search path for DLLs.
8559 hardcode_libdir_flag_spec
='-L$libdir'
8560 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8561 allow_undefined_flag
=unsupported
8562 always_export_symbols
=no
8563 enable_shared_with_static_runtimes
=yes
8564 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8566 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8567 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8568 # If the export-symbols file already is a .def file (1st line
8569 # is EXPORTS), use it as is; otherwise, prepend...
8570 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8571 cp $export_symbols $output_objdir/$soname.def;
8573 echo EXPORTS > $output_objdir/$soname.def;
8574 cat $export_symbols >> $output_objdir/$soname.def;
8576 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8583 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8584 link_all_deplibs
=yes
8589 hardcode_shlibpath_var
=no
8590 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8591 export_dynamic_flag_spec
='${wl}-E'
8592 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8593 # Instead, shared libraries are loaded at an image base (0x10000000 by
8594 # default) and relocated if they conflict, which is a slow very memory
8595 # consuming and fragmenting process. To avoid this, we pick a random,
8596 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8597 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8598 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8599 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'
8602 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8604 if test "$host_os" = linux-dietlibc
; then
8605 case $cc_basename in
8606 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8609 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8610 && test "$tmp_diet" = no
8612 tmp_addflag
=' $pic_flag'
8613 tmp_sharedflag
='-shared'
8614 case $cc_basename,$host_cpu in
8615 pgcc
*) # Portland Group C compiler
8616 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'
8617 tmp_addflag
=' $pic_flag'
8619 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8620 # Portland Group f77 and f90 compilers
8621 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'
8622 tmp_addflag
=' $pic_flag -Mnomain' ;;
8623 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8624 tmp_addflag
=' -i_dynamic' ;;
8625 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8626 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8627 ifc
* | ifort
*) # Intel Fortran compiler
8628 tmp_addflag
=' -nofor_main' ;;
8629 lf95
*) # Lahey Fortran 8.1
8630 whole_archive_flag_spec
=
8631 tmp_sharedflag
='--shared' ;;
8632 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8633 tmp_sharedflag
='-qmkshrobj'
8635 nvcc
*) # Cuda Compiler Driver 2.2
8636 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'
8637 compiler_needs_object
=yes
8640 case `$CC -V 2>&1 | sed 5q` in
8641 *Sun\ C
*) # Sun C 5.9
8642 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'
8643 compiler_needs_object
=yes
8644 tmp_sharedflag
='-G' ;;
8645 *Sun\ F
*) # Sun Fortran 8.3
8646 tmp_sharedflag
='-G' ;;
8648 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8650 if test "x$supports_anon_versioning" = xyes
; then
8651 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8652 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8653 echo "local: *; };" >> $output_objdir/$libname.ver~
8654 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8657 case $cc_basename in
8658 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8659 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8660 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8661 hardcode_libdir_flag_spec
=
8662 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8663 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8664 if test "x$supports_anon_versioning" = xyes
; then
8665 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8666 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8667 echo "local: *; };" >> $output_objdir/$libname.ver~
8668 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8678 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8679 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8682 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8683 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8688 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8692 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8693 *** create shared libraries on Solaris systems. Therefore, libtool
8694 *** is disabling shared libraries support. We urge you to upgrade GNU
8695 *** binutils to release 2.9.1 or newer. Another option is to modify
8696 *** your PATH or compiler configuration so that the native linker is
8697 *** used, and then restart.
8700 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8701 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8702 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8708 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8709 case `$LD -v 2>&1` in
8710 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8714 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8715 *** reliably create shared libraries on SCO systems. Therefore, libtool
8716 *** is disabling shared libraries support. We urge you to upgrade GNU
8717 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8718 *** your PATH or compiler configuration so that the native linker is
8719 *** used, and then restart.
8724 # For security reasons, it is highly recommended that you always
8725 # use absolute paths for naming shared libraries, and exclude the
8726 # DT_RUNPATH tag from executables and libraries. But doing so
8727 # requires that you compile everything twice, which is a pain.
8728 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8729 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8730 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8731 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8740 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8743 hardcode_shlibpath_var
=no
8747 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8748 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8749 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8756 if test "$ld_shlibs" = no
; then
8758 hardcode_libdir_flag_spec
=
8759 export_dynamic_flag_spec
=
8760 whole_archive_flag_spec
=
8763 # PORTME fill in a description of your system's linker (not GNU ld)
8766 allow_undefined_flag
=unsupported
8767 always_export_symbols
=yes
8768 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'
8769 # Note: this linker hardcodes the directories in LIBPATH if there
8770 # are no directories specified by -L.
8771 hardcode_minus_L
=yes
8772 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8773 # Neither direct hardcoding nor static linking is supported with a
8775 hardcode_direct
=unsupported
8780 if test "$host_cpu" = ia64
; then
8781 # On IA64, the linker does run time linking by default, so we don't
8782 # have to do anything special.
8783 aix_use_runtimelinking
=no
8784 exp_sym_flag
='-Bexport'
8787 # If we're using GNU nm, then we don't want the "-C" option.
8788 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8789 # Also, AIX nm treats weak defined symbols like other global
8790 # defined symbols, whereas GNU nm marks them as "W".
8791 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8792 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'
8794 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'
8796 aix_use_runtimelinking
=no
8798 # Test if we are trying to use run time linking or normal
8799 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8800 # need to do runtime linking.
8801 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8802 for ld_flag
in $LDFLAGS; do
8803 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8804 aix_use_runtimelinking
=yes
8811 exp_sym_flag
='-bexport'
8812 no_entry_flag
='-bnoentry'
8815 # When large executables or shared objects are built, AIX ld can
8816 # have problems creating the table of contents. If linking a library
8817 # or program results in "error TOC overflow" add -mminimal-toc to
8818 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8819 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8823 hardcode_direct_absolute
=yes
8824 hardcode_libdir_separator
=':'
8825 link_all_deplibs
=yes
8826 file_list_spec
='${wl}-f,'
8828 if test "$GCC" = yes; then
8829 case $host_os in aix4.
[012]|aix4.
[012].
*)
8830 # We only want to do this on AIX 4.2 and lower, the check
8831 # below for broken collect2 doesn't work under 4.3+
8832 collect2name
=`${CC} -print-prog-name=collect2`
8833 if test -f "$collect2name" &&
8834 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8836 # We have reworked collect2
8839 # We have old collect2
8840 hardcode_direct
=unsupported
8841 # It fails to find uninstalled libraries when the uninstalled
8842 # path is not listed in the libpath. Setting hardcode_minus_L
8843 # to unsupported forces relinking
8844 hardcode_minus_L
=yes
8845 hardcode_libdir_flag_spec
='-L$libdir'
8846 hardcode_libdir_separator
=
8850 shared_flag
='-shared'
8851 if test "$aix_use_runtimelinking" = yes; then
8852 shared_flag
="$shared_flag "'${wl}-G'
8856 if test "$host_cpu" = ia64
; then
8857 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8858 # chokes on -Wl,-G. The following line is correct:
8861 if test "$aix_use_runtimelinking" = yes; then
8862 shared_flag
='${wl}-G'
8864 shared_flag
='${wl}-bM:SRE'
8869 export_dynamic_flag_spec
='${wl}-bexpall'
8870 # It seems that -bexpall does not export symbols beginning with
8871 # underscore (_), so it is better to generate a list of symbols to export.
8872 always_export_symbols
=yes
8873 if test "$aix_use_runtimelinking" = yes; then
8874 # Warning - without using the other runtime loading flags (-brtl),
8875 # -berok will link without error, but may produce a broken library.
8876 allow_undefined_flag
='-berok'
8877 # Determine the default libpath from the value encoded in an
8879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8890 if ac_fn_c_try_link
"$LINENO"; then :
8892 lt_aix_libpath_sed
='
8893 /Import File Strings/,/^$/ {
8899 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8900 # Check for a 64-bit object if we didn't find anything.
8901 if test -z "$aix_libpath"; then
8902 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8905 rm -f core conftest.err conftest.
$ac_objext \
8906 conftest
$ac_exeext conftest.
$ac_ext
8907 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8909 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8910 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"
8912 if test "$host_cpu" = ia64
; then
8913 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8914 allow_undefined_flag
="-z nodefs"
8915 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"
8917 # Determine the default libpath from the value encoded in an
8919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8930 if ac_fn_c_try_link
"$LINENO"; then :
8932 lt_aix_libpath_sed
='
8933 /Import File Strings/,/^$/ {
8939 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8940 # Check for a 64-bit object if we didn't find anything.
8941 if test -z "$aix_libpath"; then
8942 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8945 rm -f core conftest.err conftest.
$ac_objext \
8946 conftest
$ac_exeext conftest.
$ac_ext
8947 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8949 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8950 # Warning - without using the other run time loading flags,
8951 # -berok will link without error, but may produce a broken library.
8952 no_undefined_flag
=' ${wl}-bernotok'
8953 allow_undefined_flag
=' ${wl}-berok'
8954 if test "$with_gnu_ld" = yes; then
8955 # We only use this code for GNU lds that support --whole-archive.
8956 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8958 # Exported symbols can be pulled into shared objects from archives
8959 whole_archive_flag_spec
='$convenience'
8961 archive_cmds_need_lc
=yes
8962 # This is similar to how AIX traditionally builds its shared libraries.
8963 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'
8971 # see comment about AmigaOS4 .so support
8972 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8973 archive_expsym_cmds
=''
8976 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)'
8977 hardcode_libdir_flag_spec
='-L$libdir'
8978 hardcode_minus_L
=yes
8984 export_dynamic_flag_spec
=-rdynamic
8987 cygwin
* | mingw
* | pw32
* | cegcc
*)
8988 # When not using gcc, we currently assume that we are using
8989 # Microsoft Visual C++.
8990 # hardcode_libdir_flag_spec is actually meaningless, as there is
8991 # no search path for DLLs.
8992 hardcode_libdir_flag_spec
=' '
8993 allow_undefined_flag
=unsupported
8994 # Tell ltmain to make .lib files, not .a files.
8996 # Tell ltmain to make .dll files, not .so files.
8998 # FIXME: Setting linknames here is a bad hack.
8999 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9000 # The linker will automatically build a .lib file if we build a DLL.
9001 old_archive_from_new_cmds
='true'
9002 # FIXME: Should let the user specify the lib program.
9003 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9004 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9005 enable_shared_with_static_runtimes
=yes
9008 darwin
* | rhapsody
*)
9011 archive_cmds_need_lc
=no
9013 hardcode_automatic
=yes
9014 hardcode_shlibpath_var
=unsupported
9015 if test "$lt_cv_ld_force_load" = "yes"; then
9016 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\"`'
9018 whole_archive_flag_spec
=''
9020 link_all_deplibs
=yes
9021 allow_undefined_flag
="$_lt_dar_allow_undefined"
9022 case $cc_basename in
9023 ifort
*) _lt_dar_can_shared
=yes ;;
9024 *) _lt_dar_can_shared
=$GCC ;;
9026 if test "$_lt_dar_can_shared" = "yes"; then
9027 output_verbose_link_cmd
=func_echo_all
9028 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9029 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9030 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}"
9031 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}"
9040 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9041 hardcode_libdir_flag_spec
='-L$libdir'
9042 hardcode_shlibpath_var
=no
9045 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9046 # support. Future versions do this automatically, but an explicit c++rt0.o
9047 # does not break anything, and helps significantly (at the cost of a little
9050 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9051 hardcode_libdir_flag_spec
='-R$libdir'
9053 hardcode_shlibpath_var
=no
9056 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9058 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9060 hardcode_minus_L
=yes
9061 hardcode_shlibpath_var
=no
9064 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9065 freebsd
* | dragonfly
*)
9066 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9067 hardcode_libdir_flag_spec
='-R$libdir'
9069 hardcode_shlibpath_var
=no
9073 if test "$GCC" = yes; then
9074 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'
9076 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'
9078 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9079 hardcode_libdir_separator
=:
9082 # hardcode_minus_L: Not really in the search PATH,
9083 # but as the default location of the library.
9084 hardcode_minus_L
=yes
9085 export_dynamic_flag_spec
='${wl}-E'
9089 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9090 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9092 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9094 if test "$with_gnu_ld" = no
; then
9095 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9096 hardcode_libdir_flag_spec_ld
='+b $libdir'
9097 hardcode_libdir_separator
=:
9099 hardcode_direct_absolute
=yes
9100 export_dynamic_flag_spec
='${wl}-E'
9101 # hardcode_minus_L: Not really in the search PATH,
9102 # but as the default location of the library.
9103 hardcode_minus_L
=yes
9108 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9111 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9114 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9123 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9126 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9130 # Older versions of the 11.00 compiler do not understand -b yet
9131 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9133 $as_echo_n "checking if $CC understands -b... " >&6; }
9134 if ${lt_cv_prog_compiler__b+:} false
; then :
9135 $as_echo_n "(cached) " >&6
9137 lt_cv_prog_compiler__b
=no
9138 save_LDFLAGS
="$LDFLAGS"
9139 LDFLAGS
="$LDFLAGS -b"
9140 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9141 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9142 # The linker can only warn and ignore the option if not recognized
9143 # So say no if there are warnings
9144 if test -s conftest.err
; then
9145 # Append any errors to the config.log.
9146 cat conftest.err
1>&5
9147 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9148 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9149 if diff conftest.exp conftest.er2
>/dev
/null
; then
9150 lt_cv_prog_compiler__b
=yes
9153 lt_cv_prog_compiler__b
=yes
9157 LDFLAGS
="$save_LDFLAGS"
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9161 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9163 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9164 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9166 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9172 if test "$with_gnu_ld" = no
; then
9173 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9174 hardcode_libdir_separator
=:
9179 hardcode_shlibpath_var
=no
9183 hardcode_direct_absolute
=yes
9184 export_dynamic_flag_spec
='${wl}-E'
9186 # hardcode_minus_L: Not really in the search PATH,
9187 # but as the default location of the library.
9188 hardcode_minus_L
=yes
9194 irix5
* | irix6
* | nonstopux
*)
9195 if test "$GCC" = yes; then
9196 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'
9197 # Try to use the -exported_symbol ld option, if it does not
9198 # work, assume that -exports_file does not work either and
9199 # implicitly export all symbols.
9200 save_LDFLAGS
="$LDFLAGS"
9201 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h. */
9206 if ac_fn_c_try_link
"$LINENO"; then :
9207 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'
9210 rm -f core conftest.err conftest.
$ac_objext \
9211 conftest
$ac_exeext conftest.
$ac_ext
9212 LDFLAGS
="$save_LDFLAGS"
9214 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'
9215 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'
9217 archive_cmds_need_lc
='no'
9218 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9219 hardcode_libdir_separator
=:
9221 link_all_deplibs
=yes
9225 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9226 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9228 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9230 hardcode_libdir_flag_spec
='-R$libdir'
9232 hardcode_shlibpath_var
=no
9236 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9238 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9239 hardcode_libdir_separator
=:
9240 hardcode_shlibpath_var
=no
9247 if test -f /usr
/libexec
/ld.so
; then
9249 hardcode_shlibpath_var
=no
9250 hardcode_direct_absolute
=yes
9251 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9252 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9253 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9254 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9255 export_dynamic_flag_spec
='${wl}-E'
9258 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9259 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9260 hardcode_libdir_flag_spec
='-R$libdir'
9263 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9264 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9274 hardcode_libdir_flag_spec
='-L$libdir'
9275 hardcode_minus_L
=yes
9276 allow_undefined_flag
=unsupported
9277 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'
9278 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9282 if test "$GCC" = yes; then
9283 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9284 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'
9286 allow_undefined_flag
=' -expect_unresolved \*'
9287 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'
9289 archive_cmds_need_lc
='no'
9290 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9291 hardcode_libdir_separator
=:
9294 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9295 if test "$GCC" = yes; then
9296 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9297 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'
9298 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9300 allow_undefined_flag
=' -expect_unresolved \*'
9301 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'
9302 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~
9303 $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'
9305 # Both c and cxx compiler support -rpath directly
9306 hardcode_libdir_flag_spec
='-rpath $libdir'
9308 archive_cmds_need_lc
='no'
9309 hardcode_libdir_separator
=:
9313 no_undefined_flag
=' -z defs'
9314 if test "$GCC" = yes; then
9316 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9317 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9318 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9320 case `$CC -V 2>&1` in
9323 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9324 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9325 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9329 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9330 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9331 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9335 hardcode_libdir_flag_spec
='-R$libdir'
9336 hardcode_shlibpath_var
=no
9338 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9340 # The compiler driver will combine and reorder linker options,
9341 # but understands `-z linker_flag'. GCC discards it without `$wl',
9342 # but is careful enough not to reorder.
9343 # Supported since Solaris 2.6 (maybe 2.5.1?)
9344 if test "$GCC" = yes; then
9345 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9347 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9351 link_all_deplibs
=yes
9355 if test "x$host_vendor" = xsequent
; then
9356 # Use $CC to link under sequent, because it throws in some extra .o
9357 # files that make .init and .fini sections work.
9358 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9360 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9362 hardcode_libdir_flag_spec
='-L$libdir'
9364 hardcode_minus_L
=yes
9365 hardcode_shlibpath_var
=no
9369 case $host_vendor in
9371 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9372 hardcode_direct
=yes # is this really true???
9375 ## LD is ld it makes a PLAMLIB
9376 ## CC just makes a GrossModule.
9377 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9378 reload_cmds
='$CC -r -o $output$reload_objs'
9382 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9383 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9386 runpath_var
='LD_RUN_PATH'
9387 hardcode_shlibpath_var
=no
9391 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9392 hardcode_shlibpath_var
=no
9393 export_dynamic_flag_spec
='-Bexport'
9397 if test -d /usr
/nec
; then
9398 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9399 hardcode_shlibpath_var
=no
9400 runpath_var
=LD_RUN_PATH
9401 hardcode_runpath_var
=yes
9406 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9407 no_undefined_flag
='${wl}-z,text'
9408 archive_cmds_need_lc
=no
9409 hardcode_shlibpath_var
=no
9410 runpath_var
='LD_RUN_PATH'
9412 if test "$GCC" = yes; then
9413 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9414 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9416 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9417 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9421 sysv5
* | sco3.2v5
* | sco5v6
*)
9422 # Note: We can NOT use -z defs as we might desire, because we do not
9423 # link with -lc, and that would cause any symbols used from libc to
9424 # always be unresolved, which means just about no library would
9425 # ever link correctly. If we're not using GNU ld we use -z text
9426 # though, which does catch some bad symbols but isn't as heavy-handed
9428 no_undefined_flag
='${wl}-z,text'
9429 allow_undefined_flag
='${wl}-z,nodefs'
9430 archive_cmds_need_lc
=no
9431 hardcode_shlibpath_var
=no
9432 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9433 hardcode_libdir_separator
=':'
9434 link_all_deplibs
=yes
9435 export_dynamic_flag_spec
='${wl}-Bexport'
9436 runpath_var
='LD_RUN_PATH'
9438 if test "$GCC" = yes; then
9439 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9440 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9442 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9448 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9449 hardcode_libdir_flag_spec
='-L$libdir'
9450 hardcode_shlibpath_var
=no
9458 if test x
$host_vendor = xsni
; then
9460 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9461 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9468 $as_echo "$ld_shlibs" >&6; }
9469 test "$ld_shlibs" = no
&& can_build_shared
=no
9471 with_gnu_ld
=$with_gnu_ld
9488 # Do we need to explicitly link libc?
9490 case "x$archive_cmds_need_lc" in
9492 # Assume -lc should be added
9493 archive_cmds_need_lc
=yes
9495 if test "$enable_shared" = yes && test "$GCC" = yes; then
9496 case $archive_cmds in
9498 # FIXME: we may have to deal with multi-command sequences.
9501 # Test whether the compiler implicitly links with -lc since on some
9502 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9503 # to ld, don't add -lc before -lgcc.
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9505 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9506 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9507 $as_echo_n "(cached) " >&6
9510 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9513 (eval $ac_compile) 2>&5
9515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9516 test $ac_status = 0; } 2>conftest.err
; then
9519 libobjs
=conftest.
$ac_objext
9521 wl
=$lt_prog_compiler_wl
9522 pic_flag
=$lt_prog_compiler_pic
9528 lt_save_allow_undefined_flag
=$allow_undefined_flag
9529 allow_undefined_flag
=
9530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9531 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9534 test $ac_status = 0; }
9536 lt_cv_archive_cmds_need_lc
=no
9538 lt_cv_archive_cmds_need_lc
=yes
9540 allow_undefined_flag
=$lt_save_allow_undefined_flag
9542 cat conftest.err
1>&5
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9548 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9549 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9713 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9715 if test "$GCC" = yes; then
9717 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9718 *) lt_awk_arg
="/^libraries:/" ;;
9721 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9722 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9724 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9725 case $lt_search_path_spec in
9727 # if the path contains ";" then we assume it to be the separator
9728 # otherwise default to the standard path separator (i.e. ":") - it is
9729 # assumed that no part of a normal pathname contains ";" but that should
9730 # okay in the real world where ";" in dirpaths is itself problematic.
9731 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9734 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9737 # Ok, now we have the path, separated by spaces, we can step through it
9738 # and add multilib dir if necessary.
9739 lt_tmp_lt_search_path_spec
=
9740 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9741 for lt_sys_path
in $lt_search_path_spec; do
9742 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9743 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9745 test -d "$lt_sys_path" && \
9746 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9749 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9750 BEGIN {RS=" "; FS="/|\n";} {
9753 for (lt_i = NF; lt_i > 0; lt_i--) {
9754 if ($lt_i != "" && $lt_i != ".") {
9755 if ($lt_i == "..") {
9758 if (lt_count == 0) {
9759 lt_foo="/" $lt_i lt_foo;
9766 if (lt_foo != "") { lt_freq[lt_foo]++; }
9767 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9769 # AWK program above erroneously prepends '/' to C:/dos/paths
9772 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9773 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9775 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9777 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9780 libname_spec
='lib$name'
9788 shlibpath_overrides_runpath
=unknown
9790 dynamic_linker
="$host_os ld.so"
9791 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9792 need_lib_prefix
=unknown
9793 hardcode_into_libs
=no
9795 # when you set need_version to no, make sure it does not cause -set_version
9796 # flags to be left without arguments
9797 need_version
=unknown
9802 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9803 shlibpath_var
=LIBPATH
9805 # AIX 3 has no versioning support, so we append a major version to the name.
9806 soname_spec
='${libname}${release}${shared_ext}$major'
9813 hardcode_into_libs
=yes
9814 if test "$host_cpu" = ia64
; then
9815 # AIX 5 supports IA64
9816 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9817 shlibpath_var
=LD_LIBRARY_PATH
9819 # With GCC up to 2.95.x, collect2 would create an import file
9820 # for dependence libraries. The import file would start with
9821 # the line `#! .'. This would cause the generated library to
9822 # depend on `.', always an invalid library. This was fixed in
9823 # development snapshots of GCC prior to 3.0.
9825 aix4 | aix4.
[01] | aix4.
[01].
*)
9826 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9828 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9835 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9836 # soname into executable. Probably we can add versioning support to
9837 # collect2, so additional links can be useful in future.
9838 if test "$aix_use_runtimelinking" = yes; then
9839 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9840 # instead of lib<name>.a to let people know that these are not
9841 # typical AIX shared libraries.
9842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9844 # We preserve .a as extension for shared libraries through AIX4.2
9845 # and later when we are not doing run time linking.
9846 library_names_spec
='${libname}${release}.a $libname.a'
9847 soname_spec
='${libname}${release}${shared_ext}$major'
9849 shlibpath_var
=LIBPATH
9856 # Since July 2007 AmigaOS4 officially supports .so libraries.
9857 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9861 library_names_spec
='$libname.ixlibrary $libname.a'
9862 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9863 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'
9869 library_names_spec
='${libname}${shared_ext}'
9870 dynamic_linker
="$host_os ld.so"
9871 shlibpath_var
=LIBRARY_PATH
9877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9878 soname_spec
='${libname}${release}${shared_ext}$major'
9879 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9880 shlibpath_var
=LD_LIBRARY_PATH
9881 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9882 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9883 # the default ld.so.conf also contains /usr/contrib/lib and
9884 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9885 # libtool to hard-code these into programs
9888 cygwin
* | mingw
* | pw32
* | cegcc
*)
9889 version_type
=windows
9894 case $GCC,$host_os in
9895 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9896 library_names_spec
='$libname.dll.a'
9897 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9898 postinstall_cmds
='base_file=`basename \${file}`~
9899 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9900 dldir=$destdir/`dirname \$dlpath`~
9901 test -d \$dldir || mkdir -p \$dldir~
9902 $install_prog $dir/$dlname \$dldir/$dlname~
9903 chmod a+x \$dldir/$dlname~
9904 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9905 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9907 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9908 dlpath=$dir/\$dldll~
9910 shlibpath_overrides_runpath
=yes
9914 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9915 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9917 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9920 # MinGW DLLs use traditional 'lib' prefix
9921 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9924 # pw32 DLLs use 'pw' prefix rather than 'lib'
9925 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9931 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9934 dynamic_linker
='Win32 ld.exe'
9935 # FIXME: first we should search . and the directory the executable is in
9939 darwin
* | rhapsody
*)
9940 dynamic_linker
="$host_os dyld"
9944 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9945 soname_spec
='${libname}${release}${major}$shared_ext'
9946 shlibpath_overrides_runpath
=yes
9947 shlibpath_var
=DYLD_LIBRARY_PATH
9948 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9950 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9951 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9959 soname_spec
='${libname}${release}${shared_ext}$major'
9960 shlibpath_var
=LD_LIBRARY_PATH
9963 freebsd
* | dragonfly
*)
9964 # DragonFly does not have aout. When/if they implement a new
9965 # versioning mechanism, adjust this.
9966 if test -x /usr
/bin
/objformat
; then
9967 objformat
=`/usr/bin/objformat`
9970 freebsd
[23].
*) objformat
=aout
;;
9974 version_type
=freebsd-
$objformat
9975 case $version_type in
9977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9982 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9986 shlibpath_var
=LD_LIBRARY_PATH
9989 shlibpath_overrides_runpath
=yes
9991 freebsd3.
[01]* | freebsdelf3.
[01]*)
9992 shlibpath_overrides_runpath
=yes
9993 hardcode_into_libs
=yes
9995 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9996 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9997 shlibpath_overrides_runpath
=no
9998 hardcode_into_libs
=yes
10000 *) # from 4.6 on, and DragonFly
10001 shlibpath_overrides_runpath
=yes
10002 hardcode_into_libs
=yes
10011 dynamic_linker
="$host_os runtime_loader"
10012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10013 soname_spec
='${libname}${release}${shared_ext}$major'
10014 shlibpath_var
=LIBRARY_PATH
10015 shlibpath_overrides_runpath
=yes
10016 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10017 hardcode_into_libs
=yes
10020 hpux9
* | hpux10
* | hpux11
*)
10021 # Give a soname corresponding to the major version so that dld.sl refuses to
10022 # link against other versions.
10029 hardcode_into_libs
=yes
10030 dynamic_linker
="$host_os dld.so"
10031 shlibpath_var
=LD_LIBRARY_PATH
10032 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10034 soname_spec
='${libname}${release}${shared_ext}$major'
10035 if test "X$HPUX_IA64_MODE" = X32
; then
10036 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10038 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10040 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10044 hardcode_into_libs
=yes
10045 dynamic_linker
="$host_os dld.sl"
10046 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10047 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10049 soname_spec
='${libname}${release}${shared_ext}$major'
10050 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10051 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10055 dynamic_linker
="$host_os dld.sl"
10056 shlibpath_var
=SHLIB_PATH
10057 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10059 soname_spec
='${libname}${release}${shared_ext}$major'
10062 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10063 postinstall_cmds
='chmod 555 $lib'
10064 # or fails outright, so override atomically:
10065 install_override_mode
=555
10072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10073 soname_spec
='${libname}${release}${shared_ext}$major'
10074 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10075 shlibpath_var
=LD_LIBRARY_PATH
10076 shlibpath_overrides_runpath
=no
10077 hardcode_into_libs
=yes
10080 irix5
* | irix6
* | nonstopux
*)
10082 nonstopux
*) version_type
=nonstopux
;;
10084 if test "$lt_cv_prog_gnu_ld" = yes; then
10092 soname_spec
='${libname}${release}${shared_ext}$major'
10093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10095 irix5
* | nonstopux
*)
10096 libsuff
= shlibsuff
=
10099 case $LD in # libtool.m4 will add one of these switches to LD
10100 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10101 libsuff
= shlibsuff
= libmagic
=32-bit;;
10102 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10103 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10104 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10105 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10106 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10110 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10111 shlibpath_overrides_runpath
=no
10112 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10113 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10114 hardcode_into_libs
=yes
10117 # No shared lib support for Linux oldld, aout, or coff.
10118 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10122 # This must be Linux ELF.
10123 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10128 soname_spec
='${libname}${release}${shared_ext}$major'
10129 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10130 shlibpath_var
=LD_LIBRARY_PATH
10131 shlibpath_overrides_runpath
=no
10133 # Some binutils ld are patched to set DT_RUNPATH
10134 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10135 $as_echo_n "(cached) " >&6
10137 lt_cv_shlibpath_overrides_runpath
=no
10138 save_LDFLAGS
=$LDFLAGS
10139 save_libdir
=$libdir
10140 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10141 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10143 /* end confdefs.h. */
10153 if ac_fn_c_try_link
"$LINENO"; then :
10154 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10155 lt_cv_shlibpath_overrides_runpath
=yes
10158 rm -f core conftest.err conftest.
$ac_objext \
10159 conftest
$ac_exeext conftest.
$ac_ext
10160 LDFLAGS
=$save_LDFLAGS
10161 libdir
=$save_libdir
10165 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10167 # This implies no fast_install, which is unacceptable.
10168 # Some rework will be needed to allow for fast_install
10169 # before this can be enabled.
10170 hardcode_into_libs
=yes
10172 # Append ld.so.conf contents to the search path
10173 if test -f /etc
/ld.so.conf
; then
10174 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' ' '`
10175 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10178 # We used to test for /lib/ld.so.1 and disable shared libraries on
10179 # powerpc, because MkLinux only supported shared libraries with the
10180 # GNU dynamic linker. Since this was broken with cross compilers,
10181 # most powerpc-linux boxes support dynamic linking these days and
10182 # people can always --disable-shared, the test was removed, and we
10183 # assume the GNU/Linux dynamic linker is in use.
10184 dynamic_linker
='GNU/Linux ld.so'
10191 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10193 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10194 dynamic_linker
='NetBSD (a.out) ld.so'
10196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10197 soname_spec
='${libname}${release}${shared_ext}$major'
10198 dynamic_linker
='NetBSD ld.elf_so'
10200 shlibpath_var
=LD_LIBRARY_PATH
10201 shlibpath_overrides_runpath
=yes
10202 hardcode_into_libs
=yes
10207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10208 shlibpath_var
=LD_LIBRARY_PATH
10209 shlibpath_overrides_runpath
=yes
10216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10217 soname_spec
='${libname}${release}${shared_ext}$major'
10218 shlibpath_var
=LD_LIBRARY_PATH
10219 shlibpath_overrides_runpath
=no
10220 hardcode_into_libs
=yes
10221 dynamic_linker
='ldqnx.so'
10226 sys_lib_dlsearch_path_spec
="/usr/lib"
10228 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10230 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10231 *) need_version
=no
;;
10233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10234 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10235 shlibpath_var
=LD_LIBRARY_PATH
10236 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10238 openbsd2.
[89] | openbsd2.
[89].
*)
10239 shlibpath_overrides_runpath
=no
10242 shlibpath_overrides_runpath
=yes
10246 shlibpath_overrides_runpath
=yes
10251 libname_spec
='$name'
10254 library_names_spec
='$libname${shared_ext} $libname.a'
10255 dynamic_linker
='OS/2 ld.exe'
10256 shlibpath_var
=LIBPATH
10259 osf3
* | osf4
* | osf5
*)
10263 soname_spec
='${libname}${release}${shared_ext}$major'
10264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10265 shlibpath_var
=LD_LIBRARY_PATH
10266 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10267 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10279 soname_spec
='${libname}${release}${shared_ext}$major'
10280 shlibpath_var
=LD_LIBRARY_PATH
10281 shlibpath_overrides_runpath
=yes
10282 hardcode_into_libs
=yes
10283 # ldd complains unless libraries are executable
10284 postinstall_cmds
='chmod +x $lib'
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10290 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10291 shlibpath_var
=LD_LIBRARY_PATH
10292 shlibpath_overrides_runpath
=yes
10293 if test "$with_gnu_ld" = yes; then
10301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10302 soname_spec
='${libname}${release}${shared_ext}$major'
10303 shlibpath_var
=LD_LIBRARY_PATH
10304 case $host_vendor in
10306 shlibpath_overrides_runpath
=no
10308 runpath_var
=LD_RUN_PATH
10316 shlibpath_overrides_runpath
=no
10317 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10323 if test -d /usr
/nec
;then
10325 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10326 soname_spec
='$libname${shared_ext}.$major'
10327 shlibpath_var
=LD_LIBRARY_PATH
10331 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10332 version_type
=freebsd-elf
10335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10336 soname_spec
='${libname}${release}${shared_ext}$major'
10337 shlibpath_var
=LD_LIBRARY_PATH
10338 shlibpath_overrides_runpath
=yes
10339 hardcode_into_libs
=yes
10340 if test "$with_gnu_ld" = yes; then
10341 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10343 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10346 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10350 sys_lib_dlsearch_path_spec
='/usr/lib'
10354 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10359 shlibpath_var
=LD_LIBRARY_PATH
10360 shlibpath_overrides_runpath
=no
10361 hardcode_into_libs
=yes
10366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10367 soname_spec
='${libname}${release}${shared_ext}$major'
10368 shlibpath_var
=LD_LIBRARY_PATH
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10376 $as_echo "$dynamic_linker" >&6; }
10377 test "$dynamic_linker" = no
&& can_build_shared
=no
10379 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10380 if test "$GCC" = yes; then
10381 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10384 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10385 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10387 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10388 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10483 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10485 if test -n "$hardcode_libdir_flag_spec" ||
10486 test -n "$runpath_var" ||
10487 test "X$hardcode_automatic" = "Xyes" ; then
10489 # We can hardcode non-existent directories.
10490 if test "$hardcode_direct" != no
&&
10491 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10492 # have to relink, otherwise we might link with an installed library
10493 # when we should be linking with a yet-to-be-installed one
10494 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10495 test "$hardcode_minus_L" != no
; then
10496 # Linking always hardcodes the temporary library directory.
10497 hardcode_action
=relink
10499 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10500 hardcode_action
=immediate
10503 # We cannot hardcode anything, or else we can only hardcode existing
10505 hardcode_action
=unsupported
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10508 $as_echo "$hardcode_action" >&6; }
10510 if test "$hardcode_action" = relink ||
10511 test "$inherit_rpath" = yes; then
10512 # Fast installation is not supported
10513 enable_fast_install
=no
10514 elif test "$shlibpath_overrides_runpath" = yes ||
10515 test "$enable_shared" = no
; then
10516 # Fast installation is not necessary
10517 enable_fast_install
=needless
10525 if test "x$enable_dlopen" != xyes
; then
10526 enable_dlopen
=unknown
10527 enable_dlopen_self
=unknown
10528 enable_dlopen_self_static
=unknown
10535 lt_cv_dlopen
="load_add_on"
10537 lt_cv_dlopen_self
=yes
10540 mingw
* | pw32
* | cegcc
*)
10541 lt_cv_dlopen
="LoadLibrary"
10546 lt_cv_dlopen
="dlopen"
10551 # if libdl is installed we need to link against it
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10553 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10554 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10555 $as_echo_n "(cached) " >&6
10557 ac_check_lib_save_LIBS
=$LIBS
10559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10577 if ac_fn_c_try_link
"$LINENO"; then :
10578 ac_cv_lib_dl_dlopen
=yes
10580 ac_cv_lib_dl_dlopen
=no
10582 rm -f core conftest.err conftest.
$ac_objext \
10583 conftest
$ac_exeext conftest.
$ac_ext
10584 LIBS
=$ac_check_lib_save_LIBS
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10587 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10588 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10589 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10592 lt_cv_dlopen
="dyld"
10594 lt_cv_dlopen_self
=yes
10601 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10602 if test "x$ac_cv_func_shl_load" = xyes
; then :
10603 lt_cv_dlopen
="shl_load"
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10606 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10607 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10608 $as_echo_n "(cached) " >&6
10610 ac_check_lib_save_LIBS
=$LIBS
10612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10615 /* Override any GCC internal prototype to avoid an error.
10616 Use char because int might match the return type of a GCC
10617 builtin and then its argument prototype would still apply. */
10625 return shl_load ();
10630 if ac_fn_c_try_link
"$LINENO"; then :
10631 ac_cv_lib_dld_shl_load
=yes
10633 ac_cv_lib_dld_shl_load
=no
10635 rm -f core conftest.err conftest.
$ac_objext \
10636 conftest
$ac_exeext conftest.
$ac_ext
10637 LIBS
=$ac_check_lib_save_LIBS
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10640 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10641 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10642 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10644 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10645 if test "x$ac_cv_func_dlopen" = xyes
; then :
10646 lt_cv_dlopen
="dlopen"
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10649 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10650 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10651 $as_echo_n "(cached) " >&6
10653 ac_check_lib_save_LIBS
=$LIBS
10655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10673 if ac_fn_c_try_link
"$LINENO"; then :
10674 ac_cv_lib_dl_dlopen
=yes
10676 ac_cv_lib_dl_dlopen
=no
10678 rm -f core conftest.err conftest.
$ac_objext \
10679 conftest
$ac_exeext conftest.
$ac_ext
10680 LIBS
=$ac_check_lib_save_LIBS
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10683 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10684 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10685 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10688 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10689 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10690 $as_echo_n "(cached) " >&6
10692 ac_check_lib_save_LIBS
=$LIBS
10693 LIBS
="-lsvld $LIBS"
10694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10695 /* end confdefs.h. */
10697 /* Override any GCC internal prototype to avoid an error.
10698 Use char because int might match the return type of a GCC
10699 builtin and then its argument prototype would still apply. */
10712 if ac_fn_c_try_link
"$LINENO"; then :
10713 ac_cv_lib_svld_dlopen
=yes
10715 ac_cv_lib_svld_dlopen
=no
10717 rm -f core conftest.err conftest.
$ac_objext \
10718 conftest
$ac_exeext conftest.
$ac_ext
10719 LIBS
=$ac_check_lib_save_LIBS
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10722 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10723 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10724 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10727 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10728 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10729 $as_echo_n "(cached) " >&6
10731 ac_check_lib_save_LIBS
=$LIBS
10733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10746 return dld_link ();
10751 if ac_fn_c_try_link
"$LINENO"; then :
10752 ac_cv_lib_dld_dld_link
=yes
10754 ac_cv_lib_dld_dld_link
=no
10756 rm -f core conftest.err conftest.
$ac_objext \
10757 conftest
$ac_exeext conftest.
$ac_ext
10758 LIBS
=$ac_check_lib_save_LIBS
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10761 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10762 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10763 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10784 if test "x$lt_cv_dlopen" != xno
; then
10790 case $lt_cv_dlopen in
10792 save_CPPFLAGS
="$CPPFLAGS"
10793 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10795 save_LDFLAGS
="$LDFLAGS"
10796 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10799 LIBS
="$lt_cv_dlopen_libs $LIBS"
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10802 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10803 if ${lt_cv_dlopen_self+:} false
; then :
10804 $as_echo_n "(cached) " >&6
10806 if test "$cross_compiling" = yes; then :
10807 lt_cv_dlopen_self
=cross
10809 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10810 lt_status
=$lt_dlunknown
10811 cat > conftest.
$ac_ext <<_LT_EOF
10812 #line 10812 "configure"
10813 #include "confdefs.h"
10822 # define LT_DLGLOBAL RTLD_GLOBAL
10825 # define LT_DLGLOBAL DL_GLOBAL
10827 # define LT_DLGLOBAL 0
10831 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10832 find out it does not work in some platform. */
10833 #ifndef LT_DLLAZY_OR_NOW
10835 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10838 # define LT_DLLAZY_OR_NOW DL_LAZY
10841 # define LT_DLLAZY_OR_NOW RTLD_NOW
10844 # define LT_DLLAZY_OR_NOW DL_NOW
10846 # define LT_DLLAZY_OR_NOW 0
10853 /* When -fvisbility=hidden is used, assume the code has been annotated
10854 correspondingly for the symbols needed. */
10855 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10856 void fnord () __attribute__((visibility("default")));
10859 void fnord () { int i=42; }
10862 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10863 int status = $lt_dlunknown;
10867 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10870 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10871 else puts (dlerror ());
10873 /* dlclose (self); */
10881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10882 (eval $ac_link) 2>&5
10884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10885 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10886 (.
/conftest
; exit; ) >&5 2>/dev
/null
10888 case x
$lt_status in
10889 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10890 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10891 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10894 # compilation failed
10895 lt_cv_dlopen_self
=no
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10903 $as_echo "$lt_cv_dlopen_self" >&6; }
10905 if test "x$lt_cv_dlopen_self" = xyes
; then
10906 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10908 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10909 if ${lt_cv_dlopen_self_static+:} false
; then :
10910 $as_echo_n "(cached) " >&6
10912 if test "$cross_compiling" = yes; then :
10913 lt_cv_dlopen_self_static
=cross
10915 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10916 lt_status
=$lt_dlunknown
10917 cat > conftest.
$ac_ext <<_LT_EOF
10918 #line 10918 "configure"
10919 #include "confdefs.h"
10928 # define LT_DLGLOBAL RTLD_GLOBAL
10931 # define LT_DLGLOBAL DL_GLOBAL
10933 # define LT_DLGLOBAL 0
10937 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10938 find out it does not work in some platform. */
10939 #ifndef LT_DLLAZY_OR_NOW
10941 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10944 # define LT_DLLAZY_OR_NOW DL_LAZY
10947 # define LT_DLLAZY_OR_NOW RTLD_NOW
10950 # define LT_DLLAZY_OR_NOW DL_NOW
10952 # define LT_DLLAZY_OR_NOW 0
10959 /* When -fvisbility=hidden is used, assume the code has been annotated
10960 correspondingly for the symbols needed. */
10961 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10962 void fnord () __attribute__((visibility("default")));
10965 void fnord () { int i=42; }
10968 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10969 int status = $lt_dlunknown;
10973 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10976 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10977 else puts (dlerror ());
10979 /* dlclose (self); */
10987 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10988 (eval $ac_link) 2>&5
10990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10991 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10992 (.
/conftest
; exit; ) >&5 2>/dev
/null
10994 case x
$lt_status in
10995 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10996 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10997 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11000 # compilation failed
11001 lt_cv_dlopen_self_static
=no
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11009 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11012 CPPFLAGS
="$save_CPPFLAGS"
11013 LDFLAGS
="$save_LDFLAGS"
11018 case $lt_cv_dlopen_self in
11019 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11020 *) enable_dlopen_self
=unknown
;;
11023 case $lt_cv_dlopen_self_static in
11024 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11025 *) enable_dlopen_self_static
=unknown
;;
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11048 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11049 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11050 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11051 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11053 $as_echo "yes" >&6; }
11055 # FIXME - insert some real tests, host_os isn't really good enough
11058 if test -n "$STRIP" ; then
11059 striplib
="$STRIP -x"
11060 old_striplib
="$STRIP -S"
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11062 $as_echo "yes" >&6; }
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11065 $as_echo "no" >&6; }
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11070 $as_echo "no" >&6; }
11086 # Report which library types will actually be built
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11088 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11090 $as_echo "$can_build_shared" >&6; }
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11093 $as_echo_n "checking whether to build shared libraries... " >&6; }
11094 test "$can_build_shared" = "no" && enable_shared
=no
11096 # On AIX, shared libraries and static libraries use the same namespace, and
11097 # are all built from PIC.
11100 test "$enable_shared" = yes && enable_static
=no
11101 if test -n "$RANLIB"; then
11102 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11103 postinstall_cmds
='$RANLIB $lib'
11108 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11109 test "$enable_shared" = yes && enable_static
=no
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11114 $as_echo "$enable_shared" >&6; }
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11117 $as_echo_n "checking whether to build static libraries... " >&6; }
11118 # Make sure either enable_shared or enable_static is yes.
11119 test "$enable_shared" = yes || enable_static
=yes
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11121 $as_echo "$enable_static" >&6; }
11128 ac_cpp
='$CPP $CPPFLAGS'
11129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11147 ac_config_commands
="$ac_config_commands libtool"
11152 # Only expand once:
11157 .
${srcdir}/..
/bfd
/development.sh
11158 test "$development" = true
&& ac_checking
=yes
11159 # Check whether --enable-checking was given.
11160 if test "${enable_checking+set}" = set; then :
11161 enableval
=$enable_checking; case "${enableval}" in
11162 no|none
) ac_checking
= ;;
11163 *) ac_checking
=yes ;;
11166 if test x
$ac_checking != x
; then
11168 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
11172 # Check whether --enable-targets was given.
11173 if test "${enable_targets+set}" = set; then :
11174 enableval
=$enable_targets; case "${enableval}" in
11175 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11177 no
) enable_targets
= ;;
11178 *) enable_targets
=$enableval ;;
11183 # Set the 'development' global.
11184 .
$srcdir/..
/bfd
/development.sh
11186 # Set acp_cpp_for_build variable
11187 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
11189 # Default set of GCC warnings to enable.
11190 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11191 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11193 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11195 /* end confdefs.h. */
11198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11199 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11202 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
11207 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11213 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11216 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
11221 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
11222 WARN_WRITE_STRINGS
=""
11223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11228 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11231 WARN_WRITE_STRINGS
="-Wwrite-strings"
11236 # Verify CC_FOR_BUILD to be compatible with warning flags
11238 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11243 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11244 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11247 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
11252 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11257 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11258 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11261 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
11266 # Check whether --enable-werror was given.
11267 if test "${enable_werror+set}" = set; then :
11268 enableval
=$enable_werror; case "${enableval}" in
11269 yes | y
) ERROR_ON_WARNING
="yes" ;;
11270 no | n
) ERROR_ON_WARNING
="no" ;;
11271 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11276 # Disable -Wformat by default when using gcc on mingw
11279 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11280 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11281 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
11287 # Enable -Werror by default when using gcc. Turn it off for releases.
11288 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
11289 ERROR_ON_WARNING
=yes
11293 if test "${ERROR_ON_WARNING}" = yes ; then
11294 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11295 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
11296 NO_WERROR
="-Wno-error"
11299 if test "${GCC}" = yes ; then
11300 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11301 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
11304 # Check whether --enable-build-warnings was given.
11305 if test "${enable_build_warnings+set}" = set; then :
11306 enableval
=$enable_build_warnings; case "${enableval}" in
11307 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11308 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
11309 no
) if test "${GCC}" = yes ; then
11311 WARN_CFLAGS_FOR_BUILD
="-w"
11313 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11314 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
11315 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
11316 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11317 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
11318 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
11319 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
11320 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11325 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11326 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11335 ac_config_headers
="$ac_config_headers config.h:config.in"
11341 if test -z "$target" ; then
11342 as_fn_error $?
"Unrecognized target system type; please check config.sub." "$LINENO" 5
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11347 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11348 # Check whether --enable-maintainer-mode was given.
11349 if test "${enable_maintainer_mode+set}" = set; then :
11350 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11352 USE_MAINTAINER_MODE
=no
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11356 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11357 if test $USE_MAINTAINER_MODE = yes; then
11358 MAINTAINER_MODE_TRUE
=
11359 MAINTAINER_MODE_FALSE
='#'
11361 MAINTAINER_MODE_TRUE
='#'
11362 MAINTAINER_MODE_FALSE
=
11365 MAINT
=$MAINTAINER_MODE_TRUE
11368 case ${build_alias} in
11369 "") build_noncanonical
=${build} ;;
11370 *) build_noncanonical
=${build_alias} ;;
11373 case ${host_alias} in
11374 "") host_noncanonical
=${build_noncanonical} ;;
11375 *) host_noncanonical
=${host_alias} ;;
11378 case ${target_alias} in
11379 "") target_noncanonical
=${host_noncanonical} ;;
11380 *) target_noncanonical
=${target_alias} ;;
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
11384 $as_echo_n "checking whether to install libbfd... " >&6; }
11385 # Check whether --enable-install-libbfd was given.
11386 if test "${enable_install_libbfd+set}" = set; then :
11387 enableval
=$enable_install_libbfd; install_libbfd_p
=$enableval
11389 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
11390 install_libbfd_p
=yes
11392 install_libbfd_p
=no
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
11397 $as_echo "$install_libbfd_p" >&6; }
11398 if test $install_libbfd_p = yes; then
11399 INSTALL_LIBBFD_TRUE
=
11400 INSTALL_LIBBFD_FALSE
='#'
11402 INSTALL_LIBBFD_TRUE
='#'
11403 INSTALL_LIBBFD_FALSE
=
11406 # Need _noncanonical variables for this.
11411 # libbfd.a is a host library containing target dependent code
11412 bfdlibdir
='$(libdir)'
11413 bfdincludedir
='$(includedir)'
11414 if test "${host}" != "${target}"; then
11415 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
11416 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
11426 # host-specific stuff:
11428 ALL_LINGUAS
="da de es fi fr ga id it nl pt_BR ro sr sv tr uk vi zh_CN"
11429 # If we haven't got the data from the intl directory,
11430 # assume NLS is disabled.
11439 if test -f ..
/intl
/config.intl
; then
11440 . ..
/intl
/config.intl
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11443 $as_echo_n "checking whether NLS is requested... " >&6; }
11444 if test x
"$USE_NLS" != xyes
; then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11446 $as_echo "no" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11449 $as_echo "yes" >&6; }
11451 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11455 $as_echo_n "checking for catalogs to be installed... " >&6; }
11456 # Look for .po and .gmo files in the source directory.
11459 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11460 # If there aren't any .gmo files the shell will give us the
11461 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11463 case "$cat" in *\
**)
11466 # The quadruple backslash is collapsed to a double backslash
11467 # by the backticks, then collapsed again by the double quotes,
11468 # leaving us with one backslash in the sed expression (right
11469 # before the dot that mustn't act as a wildcard).
11470 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11471 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11472 # The user is allowed to set LINGUAS to a list of languages to
11473 # install catalogs for. If it's empty that means "all of them."
11474 if test "x$LINGUAS" = x
; then
11475 CATALOGS
="$CATALOGS $cat"
11476 XLINGUAS
="$XLINGUAS $lang"
11478 case "$LINGUAS" in *$lang*)
11479 CATALOGS
="$CATALOGS $cat"
11480 XLINGUAS
="$XLINGUAS $lang"
11485 LINGUAS
="$XLINGUAS"
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11487 $as_echo "$LINGUAS" >&6; }
11501 if test -n "$ac_aux_dir"; then
11502 case "$ac_aux_dir" in
11503 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11504 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11507 if test -z "$MKINSTALLDIRS"; then
11508 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11514 $as_echo_n "checking whether NLS is requested... " >&6; }
11515 # Check whether --enable-nls was given.
11516 if test "${enable_nls+set}" = set; then :
11517 enableval
=$enable_nls; USE_NLS
=$enableval
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11523 $as_echo "$USE_NLS" >&6; }
11530 # Prepare PATH_SEPARATOR.
11531 # The user is always right.
11532 if test "${PATH_SEPARATOR+set}" != set; then
11533 echo "#! /bin/sh" >conf$$.sh
11534 echo "exit 0" >>conf$$.sh
11536 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11544 # Find out how to test for executable files. Don't use a zero-byte file,
11545 # as systems may use methods other than mode bits to determine executability.
11546 cat >conf$$.
file <<_ASEOF
11550 chmod +x conf$$.
file
11551 if test -x conf$$.
file >/dev
/null
2>&1; then
11552 ac_executable_p
="test -x"
11554 ac_executable_p
="test -f"
11558 # Extract the first word of "msgfmt", so it can be a program name with args.
11559 set dummy msgfmt
; ac_word
=$2
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11561 $as_echo_n "checking for $ac_word... " >&6; }
11562 if ${ac_cv_path_MSGFMT+:} false
; then :
11563 $as_echo_n "(cached) " >&6
11567 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11570 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11571 for ac_dir
in $PATH; do
11573 test -z "$ac_dir" && ac_dir
=.
11574 for ac_exec_ext
in '' $ac_executable_extensions; do
11575 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11576 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11577 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11578 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11585 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11589 MSGFMT
="$ac_cv_path_MSGFMT"
11590 if test "$MSGFMT" != ":"; then
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11592 $as_echo "$MSGFMT" >&6; }
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11595 $as_echo "no" >&6; }
11598 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11599 set dummy gmsgfmt
; ac_word
=$2
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11601 $as_echo_n "checking for $ac_word... " >&6; }
11602 if ${ac_cv_path_GMSGFMT+:} false
; then :
11603 $as_echo_n "(cached) " >&6
11607 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11611 for as_dir
in $PATH
11614 test -z "$as_dir" && as_dir
=.
11615 for ac_exec_ext
in '' $ac_executable_extensions; do
11616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11617 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11625 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11629 GMSGFMT
=$ac_cv_path_GMSGFMT
11630 if test -n "$GMSGFMT"; then
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11632 $as_echo "$GMSGFMT" >&6; }
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11635 $as_echo "no" >&6; }
11641 # Prepare PATH_SEPARATOR.
11642 # The user is always right.
11643 if test "${PATH_SEPARATOR+set}" != set; then
11644 echo "#! /bin/sh" >conf$$.sh
11645 echo "exit 0" >>conf$$.sh
11647 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11655 # Find out how to test for executable files. Don't use a zero-byte file,
11656 # as systems may use methods other than mode bits to determine executability.
11657 cat >conf$$.
file <<_ASEOF
11661 chmod +x conf$$.
file
11662 if test -x conf$$.
file >/dev
/null
2>&1; then
11663 ac_executable_p
="test -x"
11665 ac_executable_p
="test -f"
11669 # Extract the first word of "xgettext", so it can be a program name with args.
11670 set dummy xgettext
; ac_word
=$2
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11672 $as_echo_n "checking for $ac_word... " >&6; }
11673 if ${ac_cv_path_XGETTEXT+:} false
; then :
11674 $as_echo_n "(cached) " >&6
11676 case "$XGETTEXT" in
11678 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11681 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11682 for ac_dir
in $PATH; do
11684 test -z "$ac_dir" && ac_dir
=.
11685 for ac_exec_ext
in '' $ac_executable_extensions; do
11686 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11687 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11688 (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
11689 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11696 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11700 XGETTEXT
="$ac_cv_path_XGETTEXT"
11701 if test "$XGETTEXT" != ":"; then
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11703 $as_echo "$XGETTEXT" >&6; }
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11706 $as_echo "no" >&6; }
11712 # Prepare PATH_SEPARATOR.
11713 # The user is always right.
11714 if test "${PATH_SEPARATOR+set}" != set; then
11715 echo "#! /bin/sh" >conf$$.sh
11716 echo "exit 0" >>conf$$.sh
11718 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11726 # Find out how to test for executable files. Don't use a zero-byte file,
11727 # as systems may use methods other than mode bits to determine executability.
11728 cat >conf$$.
file <<_ASEOF
11732 chmod +x conf$$.
file
11733 if test -x conf$$.
file >/dev
/null
2>&1; then
11734 ac_executable_p
="test -x"
11736 ac_executable_p
="test -f"
11740 # Extract the first word of "msgmerge", so it can be a program name with args.
11741 set dummy msgmerge
; ac_word
=$2
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11743 $as_echo_n "checking for $ac_word... " >&6; }
11744 if ${ac_cv_path_MSGMERGE+:} false
; then :
11745 $as_echo_n "(cached) " >&6
11747 case "$MSGMERGE" in
11749 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11752 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11753 for ac_dir
in $PATH; do
11755 test -z "$ac_dir" && ac_dir
=.
11756 for ac_exec_ext
in '' $ac_executable_extensions; do
11757 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11758 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11759 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11766 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11770 MSGMERGE
="$ac_cv_path_MSGMERGE"
11771 if test "$MSGMERGE" != ":"; then
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11773 $as_echo "$MSGMERGE" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11776 $as_echo "no" >&6; }
11780 if test "$GMSGFMT" != ":"; then
11781 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11782 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11785 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11787 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11792 if test "$XGETTEXT" != ":"; then
11793 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11794 (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
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11798 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11804 ac_config_commands
="$ac_config_commands default-1"
11808 .
${srcdir}/..
/bfd
/configure.
host
11810 # Put a plausible default for CC_FOR_BUILD in Makefile.
11811 if test -z "$CC_FOR_BUILD"; then
11812 if test "x$cross_compiling" = "xno"; then
11813 CC_FOR_BUILD
='$(CC)'
11819 # Also set EXEEXT_FOR_BUILD.
11820 if test "x$cross_compiling" = "xno"; then
11821 EXEEXT_FOR_BUILD
='$(EXEEXT)'
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
11824 $as_echo_n "checking for build system executable suffix... " >&6; }
11825 if ${bfd_cv_build_exeext+:} false
; then :
11826 $as_echo_n "(cached) " >&6
11829 echo 'int main () { return 0; }' > conftest.c
11830 bfd_cv_build_exeext
=
11831 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
11832 for file in conftest.
*; do
11834 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
11835 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
11839 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
11842 $as_echo "$bfd_cv_build_exeext" >&6; }
11843 EXEEXT_FOR_BUILD
=""
11844 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
11851 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
11852 if test "x$ac_cv_have_decl_basename" = xyes
; then :
11858 cat >>confdefs.h
<<_ACEOF
11859 #define HAVE_DECL_BASENAME $ac_have_decl
11861 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
11862 if test "x$ac_cv_have_decl_stpcpy" = xyes
; then :
11868 cat >>confdefs.h
<<_ACEOF
11869 #define HAVE_DECL_STPCPY $ac_have_decl
11873 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
11874 # since sigsetjmp might only be defined as a macro.
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
11876 $as_echo_n "checking for sigsetjmp... " >&6; }
11877 if ${gdb_cv_func_sigsetjmp+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11883 #include <setjmp.h>
11888 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
11893 if ac_fn_c_try_compile
"$LINENO"; then :
11894 bfd_cv_func_sigsetjmp
=yes
11896 bfd_cv_func_sigsetjmp
=no
11898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_func_sigsetjmp" >&5
11901 $as_echo "$gdb_cv_func_sigsetjmp" >&6; }
11902 if test $bfd_cv_func_sigsetjmp = yes; then
11904 $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
11909 cgendir
='$(srcdir)/../cgen'
11911 # Check whether --enable-cgen-maint was given.
11912 if test "${enable_cgen_maint+set}" = set; then :
11913 enableval
=$enable_cgen_maint; case "${enableval}" in
11914 yes) cgen_maint
=yes ;;
11915 no
) cgen_maint
=no
;;
11917 # Argument is a directory where cgen can be found. In some
11918 # future world cgen could be installable, but right now this
11919 # is not the case. Instead we assume the directory is a path
11920 # to the cgen source tree.
11922 if test -r ${enableval}/iformat.scm
; then
11923 # This looks like a cgen source tree.
11924 cgendir
=${enableval}
11926 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
11931 if test x
${cgen_maint} = xyes
; then
11933 CGEN_MAINT_FALSE
='#'
11935 CGEN_MAINT_TRUE
='#'
11943 # Check if linker supports --as-needed and --no-as-needed options
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
11945 $as_echo_n "checking linker --as-needed support... " >&6; }
11946 if ${bfd_cv_ld_as_needed+:} false
; then :
11947 $as_echo_n "(cached) " >&6
11949 bfd_cv_ld_as_needed
=no
11950 if $LD --help 2>/dev
/null |
grep as-needed
> /dev
/null
; then
11951 bfd_cv_ld_as_needed
=yes
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
11956 $as_echo "$bfd_cv_ld_as_needed" >&6; }
11960 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
11961 # These system don't have libm, or don't need it
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
11965 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
11966 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
11967 $as_echo_n "(cached) " >&6
11969 ac_check_lib_save_LIBS
=$LIBS
11971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11980 char _mwvalidcheckl ();
11984 return _mwvalidcheckl ();
11989 if ac_fn_c_try_link
"$LINENO"; then :
11990 ac_cv_lib_mw__mwvalidcheckl
=yes
11992 ac_cv_lib_mw__mwvalidcheckl
=no
11994 rm -f core conftest.err conftest.
$ac_objext \
11995 conftest
$ac_exeext conftest.
$ac_ext
11996 LIBS
=$ac_check_lib_save_LIBS
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
11999 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12000 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12005 $as_echo_n "checking for cos in -lm... " >&6; }
12006 if ${ac_cv_lib_m_cos+:} false
; then :
12007 $as_echo_n "(cached) " >&6
12009 ac_check_lib_save_LIBS
=$LIBS
12011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12014 /* Override any GCC internal prototype to avoid an error.
12015 Use char because int might match the return type of a GCC
12016 builtin and then its argument prototype would still apply. */
12029 if ac_fn_c_try_link
"$LINENO"; then :
12030 ac_cv_lib_m_cos
=yes
12034 rm -f core conftest.err conftest.
$ac_objext \
12035 conftest
$ac_exeext conftest.
$ac_ext
12036 LIBS
=$ac_check_lib_save_LIBS
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12039 $as_echo "$ac_cv_lib_m_cos" >&6; }
12040 if test "x$ac_cv_lib_m_cos" = xyes
; then :
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12047 $as_echo_n "checking for cos in -lm... " >&6; }
12048 if ${ac_cv_lib_m_cos+:} false
; then :
12049 $as_echo_n "(cached) " >&6
12051 ac_check_lib_save_LIBS
=$LIBS
12053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12071 if ac_fn_c_try_link
"$LINENO"; then :
12072 ac_cv_lib_m_cos
=yes
12076 rm -f core conftest.err conftest.
$ac_objext \
12077 conftest
$ac_exeext conftest.
$ac_ext
12078 LIBS
=$ac_check_lib_save_LIBS
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12081 $as_echo "$ac_cv_lib_m_cos" >&6; }
12082 if test "x$ac_cv_lib_m_cos" = xyes
; then :
12091 #Libs for generator progs
12092 if test "x$cross_compiling" = "xno"; then
12093 BUILD_LIBS
=..
/libiberty
/libiberty.a
12094 BUILD_LIB_DEPS
=$BUILD_LIBS
12096 # if cross-compiling, assume that the system provides -liberty
12097 # and that the version is compatible with new headers.
12098 BUILD_LIBS
=-liberty
12101 BUILD_LIBS
="$BUILD_LIBS $LIBINTL"
12102 BUILD_LIB_DEPS
="$BUILD_LIB_DEPS $LIBINTL_DEP"
12107 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
12110 SHARED_DEPENDENCIES
=
12111 if test "$enable_shared" = "yes"; then
12112 # When building a shared libopcodes, link against the pic version of libiberty
12113 # so that apps that use libopcodes won't need libiberty just to satisfy any
12114 # libopcodes references.
12115 # We can't do that if a pic libiberty is unavailable since including non-pic
12116 # code would insert text relocations into libopcodes.
12117 # Note that linking against libbfd as we do here, which is itself linked
12118 # against libiberty, may not satisfy all the libopcodes libiberty references
12119 # since libbfd may not pull in the entirety of libiberty.
12120 # Also, jam libintl into the right place in all of this: after libiberty,
12121 # which uses it, but before -lcygwin, which it uses.
12122 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
12123 if test -n "$x"; then
12124 SHARED_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
12128 SHARED_LIBADD
="$SHARED_LIBADD $LIBINTL"
12130 if test "$enable_shared" = "yes"; then
12133 SHARED_LDFLAGS
="-no-undefined"
12134 SHARED_LIBADD
="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty $SHARED_LIBADD"
12137 SHARED_LIBADD
="../bfd/libbfd.la ${SHARED_LIBADD}"
12138 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
12142 if test -n "$SHARED_LIBADD"; then
12143 if test -n "$LIBM"; then
12144 if test x
"$bfd_cv_ld_as_needed" = xyes
; then
12145 # Link against libm only when needed. Put -lc, -lm inside -Wl
12146 # to stop libtool reordering these options.
12147 SHARED_LIBADD
="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
12149 SHARED_LIBADD
="$SHARED_LIBADD $LIBM"
12158 # target-specific stuff:
12160 # Canonicalize the secondary target names.
12161 if test -n "$enable_targets" ; then
12162 for targ
in `echo $enable_targets | sed 's/,/ /g'`
12164 result
=`$ac_config_sub $targ 2>/dev/null`
12165 if test -n "$result" ; then
12166 canon_targets
="$canon_targets $result"
12168 # Allow targets that config.sub doesn't recognize, like "all".
12169 canon_targets
="$canon_targets $targ"
12176 for targ
in $target $canon_targets
12178 if test "x$targ" = "xall" ; then
12181 .
$srcdir/..
/bfd
/config.bfd
12182 selarchs
="$selarchs $targ_archs"
12186 # Utility var, documents generic cgen support files.
12188 cgen_files
="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
12190 # We don't do any links based on the target system, just makefile config.
12192 if test x
${all_targets} = xfalse
; then
12194 # Target architecture .o files.
12197 for arch
in $selarchs
12199 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
12200 archdefs
="$archdefs -DARCH_$ad"
12202 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" ;;
12203 bfd_alpha_arch
) ta
="$ta alpha-dis.lo alpha-opc.lo" ;;
12204 bfd_arc_arch
) ta
="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
12205 bfd_arm_arch
) ta
="$ta arm-dis.lo" ;;
12206 bfd_avr_arch
) ta
="$ta avr-dis.lo" ;;
12207 bfd_bfin_arch
) ta
="$ta bfin-dis.lo" ;;
12208 bfd_cr16_arch
) ta
="$ta cr16-dis.lo cr16-opc.lo" ;;
12209 bfd_cris_arch
) ta
="$ta cris-desc.lo cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
12210 bfd_crx_arch
) ta
="$ta crx-dis.lo crx-opc.lo" ;;
12211 bfd_csky_arch
) ta
="$ta csky-dis.lo" ;;
12212 bfd_d10v_arch
) ta
="$ta d10v-dis.lo d10v-opc.lo" ;;
12213 bfd_d30v_arch
) ta
="$ta d30v-dis.lo d30v-opc.lo" ;;
12214 bfd_dlx_arch
) ta
="$ta dlx-dis.lo" ;;
12215 bfd_fr30_arch
) ta
="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen
=yes ;;
12216 bfd_frv_arch
) ta
="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen
=yes ;;
12217 bfd_ft32_arch
) ta
="$ta ft32-opc.lo ft32-dis.lo" ;;
12218 bfd_moxie_arch
) ta
="$ta moxie-dis.lo moxie-opc.lo" ;;
12219 bfd_h8300_arch
) ta
="$ta h8300-dis.lo" ;;
12220 bfd_hppa_arch
) ta
="$ta hppa-dis.lo" ;;
12221 bfd_i386_arch|bfd_iamcu_arch|bfd_l1om_arch|bfd_k1om_arch
)
12222 ta
="$ta i386-dis.lo i386-opc.lo" ;;
12223 bfd_ia64_arch
) ta
="$ta ia64-dis.lo ia64-opc.lo" ;;
12224 bfd_ip2k_arch
) ta
="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen
=yes ;;
12225 bfd_epiphany_arch
) ta
="$ta epiphany-asm.lo epiphany-desc.lo epiphany-dis.lo epiphany-ibld.lo epiphany-opc.lo" using_cgen
=yes ;;
12226 bfd_iq2000_arch
) ta
="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen
=yes ;;
12227 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 ;;
12228 bfd_m32c_arch
) ta
="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen
=yes ;;
12229 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 ;;
12230 bfd_m68hc11_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12231 bfd_m68hc12_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12232 bfd_m9s12x_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12233 bfd_m9s12xg_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12234 bfd_s12z_arch
) ta
="$ta s12z-dis.lo s12z-opc.lo" ;;
12235 bfd_m68k_arch
) ta
="$ta m68k-dis.lo m68k-opc.lo" ;;
12236 bfd_mcore_arch
) ta
="$ta mcore-dis.lo" ;;
12237 bfd_mep_arch
) ta
="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen
=yes ;;
12238 bfd_metag_arch
) ta
="$ta metag-dis.lo" ;;
12239 bfd_microblaze_arch
) ta
="$ta microblaze-dis.lo" ;;
12240 bfd_mips_arch
) ta
="$ta mips-dis.lo mips-opc.lo mips16-opc.lo micromips-opc.lo" ;;
12241 bfd_mmix_arch
) ta
="$ta mmix-dis.lo mmix-opc.lo" ;;
12242 bfd_mn10200_arch
) ta
="$ta m10200-dis.lo m10200-opc.lo" ;;
12243 bfd_mn10300_arch
) ta
="$ta m10300-dis.lo m10300-opc.lo" ;;
12244 bfd_mt_arch
) ta
="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen
=yes ;;
12245 bfd_msp430_arch
) ta
="$ta msp430-dis.lo msp430-decode.lo" ;;
12246 bfd_nds32_arch
) ta
="$ta nds32-asm.lo nds32-dis.lo" ;;
12247 bfd_nfp_arch
) ta
="$ta nfp-dis.lo" ;;
12248 bfd_nios2_arch
) ta
="$ta nios2-dis.lo nios2-opc.lo" ;;
12249 bfd_ns32k_arch
) ta
="$ta ns32k-dis.lo" ;;
12250 bfd_or1k_arch
) ta
="$ta or1k-asm.lo or1k-desc.lo or1k-dis.lo or1k-ibld.lo or1k-opc.lo" using_cgen
=yes ;;
12251 bfd_pdp11_arch
) ta
="$ta pdp11-dis.lo pdp11-opc.lo" ;;
12252 bfd_pj_arch
) ta
="$ta pj-dis.lo pj-opc.lo" ;;
12253 bfd_powerpc_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12254 bfd_powerpc_64_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12255 bfd_pru_arch
) ta
="$ta pru-dis.lo pru-opc.lo" ;;
12256 bfd_pyramid_arch
) ;;
12258 bfd_riscv_arch
) ta
="$ta riscv-dis.lo riscv-opc.lo" ;;
12259 bfd_rs6000_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12260 bfd_rl78_arch
) ta
="$ta rl78-dis.lo rl78-decode.lo";;
12261 bfd_rx_arch
) ta
="$ta rx-dis.lo rx-decode.lo";;
12262 bfd_s390_arch
) ta
="$ta s390-dis.lo s390-opc.lo" ;;
12263 bfd_score_arch
) ta
="$ta score-dis.lo score7-dis.lo" ;;
12264 bfd_sh_arch
) ta
="$ta sh-dis.lo cgen-bitset.lo" ;;
12265 bfd_sparc_arch
) ta
="$ta sparc-dis.lo sparc-opc.lo" ;;
12266 bfd_spu_arch
) ta
="$ta spu-dis.lo spu-opc.lo" ;;
12267 bfd_tic30_arch
) ta
="$ta tic30-dis.lo" ;;
12268 bfd_tic4x_arch
) ta
="$ta tic4x-dis.lo" ;;
12269 bfd_tic54x_arch
) ta
="$ta tic54x-dis.lo tic54x-opc.lo" ;;
12270 bfd_tic6x_arch
) ta
="$ta tic6x-dis.lo" ;;
12271 bfd_tilegx_arch
) ta
="$ta tilegx-dis.lo tilegx-opc.lo" ;;
12272 bfd_tilepro_arch
) ta
="$ta tilepro-dis.lo tilepro-opc.lo" ;;
12273 bfd_v850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12274 bfd_v850e_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12275 bfd_v850ea_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12276 bfd_v850_rh850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12277 bfd_vax_arch
) ta
="$ta vax-dis.lo" ;;
12278 bfd_visium_arch
) ta
="$ta visium-dis.lo visium-opc.lo" ;;
12279 bfd_wasm32_arch
) ta
="$ta wasm32-dis.lo" ;;
12280 bfd_xc16x_arch
) ta
="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen
=yes ;;
12281 bfd_xgate_arch
) ta
="$ta xgate-dis.lo xgate-opc.lo" ;;
12282 bfd_xstormy16_arch
) ta
="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen
=yes ;;
12283 bfd_xtensa_arch
) ta
="$ta xtensa-dis.lo" ;;
12284 bfd_z80_arch
) ta
="$ta z80-dis.lo" ;;
12285 bfd_z8k_arch
) ta
="$ta z8k-dis.lo" ;;
12286 bfd_bpf_arch
) ta
="$ta bpf-asm.lo bpf-desc.lo bpf-dis.lo bpf-ibld.lo bpf-opc.lo" using_cgen
=yes ;;
12287 bfd_loongarch_arch
) ta
="$ta loongarch-dis.lo loongarch-opc.lo loongarch-coder.lo" ;;
12290 *) as_fn_error $?
"*** unknown target architecture $arch" "$LINENO" 5 ;;
12294 if test $using_cgen = yes ; then
12295 ta
="$ta $cgen_files"
12298 # Weed out duplicate .o files.
12308 # And duplicate -D flags.
12310 for i
in $archdefs ; do
12320 else # all_targets is true
12321 archdefs
=-DARCH_all
12322 BFD_MACHINES
='$(ALL_MACHINES)'
12328 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12330 cat >confcache
<<\_ACEOF
12331 # This file is a shell script that caches the results of configure
12332 # tests run on this system so they can be shared between configure
12333 # scripts and configure runs, see configure's option --config-cache.
12334 # It is not useful on other systems. If it contains results you don't
12335 # want to keep, you may remove or edit it.
12337 # config.status only pays attention to the cache file if you give it
12338 # the --recheck option to rerun configure.
12340 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12341 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12342 # following values.
12346 # The following way of writing the cache mishandles newlines in values,
12347 # but we know of no workaround that is simple, portable, and efficient.
12348 # So, we kill variables containing newlines.
12349 # Ultrix sh set writes to stderr and can't be redirected directly,
12350 # and sets the high bit in the cache file unless we assign to the vars.
12352 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12353 eval ac_val
=\$
$ac_var
12357 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12358 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12361 _ | IFS | as_nl
) ;; #(
12362 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12363 *) { eval $ac_var=; unset $ac_var;} ;;
12369 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12370 *${as_nl}ac_space
=\
*)
12371 # `set' does not quote correctly, so add quotes: double-quote
12372 # substitution turns \\\\ into \\, and sed turns \\ into \.
12375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12378 # `set' quotes correctly as required by POSIX, so do not add quotes.
12379 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12388 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12390 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12392 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12393 if test -w "$cache_file"; then
12394 if test "x$cache_file" != "x/dev/null"; then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12396 $as_echo "$as_me: updating cache $cache_file" >&6;}
12397 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12398 cat confcache
>"$cache_file"
12400 case $cache_file in #(
12402 mv -f confcache
"$cache_file"$$
&&
12403 mv -f "$cache_file"$$
"$cache_file" ;; #(
12405 mv -f confcache
"$cache_file" ;;
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12411 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12416 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12417 # Let make expand exec_prefix.
12418 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12420 DEFS
=-DHAVE_CONFIG_H
12425 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12426 # 1. Remove the extension, and $U if already installed.
12427 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12428 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12429 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12430 # will be set to the directory where LIBOBJS objects are built.
12431 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12432 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12434 LIBOBJS
=$ac_libobjs
12436 LTLIBOBJS
=$ac_ltlibobjs
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12440 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12441 if test -n "$am_sleep_pid"; then
12442 # Hide warnings about reused PIDs.
12443 wait $am_sleep_pid 2>/dev
/null
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12446 $as_echo "done" >&6; }
12447 if test -n "$EXEEXT"; then
12449 am__EXEEXT_FALSE
='#'
12451 am__EXEEXT_TRUE
='#'
12455 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12456 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12459 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12460 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12463 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12464 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
12465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12467 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12468 as_fn_error $?
"conditional \"INSTALL_LIBBFD\" was never defined.
12469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12471 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
12472 as_fn_error $?
"conditional \"CGEN_MAINT\" was never defined.
12473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12476 : "${CONFIG_STATUS=./config.status}"
12478 ac_clean_files_save
=$ac_clean_files
12479 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12481 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12483 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12485 # Generated by $as_me.
12486 # Run this file to recreate the current configuration.
12487 # Compiler output produced by configure, useful for debugging
12488 # configure, is in config.log if it exists.
12491 ac_cs_recheck=false
12494 SHELL=\${CONFIG_SHELL-$SHELL}
12497 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12498 ## -------------------- ##
12499 ## M4sh Initialization. ##
12500 ## -------------------- ##
12502 # Be more Bourne compatible
12503 DUALCASE
=1; export DUALCASE
# for MKS sh
12504 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12507 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12508 # is contrary to our usage. Disable this feature.
12509 alias -g '${1+"$@"}'='"$@"'
12510 setopt NO_GLOB_SUBST
12512 case `(set -o) 2>/dev/null` in #(
12524 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12525 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12526 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12527 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12528 # Prefer a ksh shell builtin over an external printf program on Solaris,
12529 # but without wasting forks for bash or zsh.
12530 if test -z "$BASH_VERSION$ZSH_VERSION" \
12531 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12532 as_echo='print
-r --'
12533 as_echo_n='print
-rn --'
12534 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12535 as_echo='printf %s
\n'
12536 as_echo_n='printf %s
'
12538 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12539 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12540 as_echo_n='/usr
/ucb
/echo -n'
12542 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12543 as_echo_n_body='eval
12547 expr "X$arg" : "X\\(.*\\)$as_nl";
12548 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12550 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12552 export as_echo_n_body
12553 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12555 export as_echo_body
12556 as_echo='sh
-c $as_echo_body as_echo
'
12559 # The user is always right.
12560 if test "${PATH_SEPARATOR+set}" != set; then
12562 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12563 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12570 # We need space, tab and new line, in precisely that order. Quoting is
12571 # there to prevent editors from complaining about space-tab.
12572 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12573 # splitting by setting IFS to empty value.)
12576 # Find who we are. Look in the path if we contain no directory separator.
12579 *[\\/]* ) as_myself=$0 ;;
12580 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12581 for as_dir in $PATH
12584 test -z "$as_dir" && as_dir=.
12585 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12591 # We did not find ourselves, most probably we were run as `sh COMMAND'
12592 # in which case we are not to be found in the path.
12593 if test "x$as_myself" = x
; then
12596 if test ! -f "$as_myself"; then
12597 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12601 # Unset variables that we do not need and which cause bugs (e.g. in
12602 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12603 # suppresses any "Segmentation fault" message there. '((' could
12604 # trigger a bug in pdksh 5.2.14.
12605 for as_var
in BASH_ENV ENV MAIL MAILPATH
12606 do eval test x\
${$as_var+set} = xset \
12607 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12620 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12623 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12624 # ----------------------------------------
12625 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12626 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12627 # script with STATUS, using 1 if that was 0.
12630 as_status
=$1; test $as_status -eq 0 && as_status
=1
12632 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12633 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12635 $as_echo "$as_me: error: $2" >&2
12636 as_fn_exit
$as_status
12640 # as_fn_set_status STATUS
12641 # -----------------------
12642 # Set $? to STATUS, without forking.
12643 as_fn_set_status
()
12646 } # as_fn_set_status
12648 # as_fn_exit STATUS
12649 # -----------------
12650 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12654 as_fn_set_status
$1
12660 # Portably unset VAR.
12663 { eval $1=; unset $1;}
12665 as_unset
=as_fn_unset
12666 # as_fn_append VAR VALUE
12667 # ----------------------
12668 # Append the text in VALUE to the end of the definition contained in VAR. Take
12669 # advantage of any shell optimizations that allow amortized linear growth over
12670 # repeated appends, instead of the typical quadratic growth present in naive
12672 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12673 eval 'as_fn_append ()
12684 # as_fn_arith ARG...
12685 # ------------------
12686 # Perform arithmetic evaluation on the ARGs, and store the result in the
12687 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12688 # must be portable across $(()) and expr.
12689 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12690 eval 'as_fn_arith ()
12697 as_val
=`expr "$@" || test $? -eq 1`
12702 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12703 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12709 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12710 as_basename
=basename
12715 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12721 as_me
=`$as_basename -- "$0" ||
12722 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12723 X"$0" : 'X\(//\)$' \| \
12724 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12726 sed '/^.*\/\([^/][^/]*\)\/*$/{
12740 # Avoid depending upon Character Ranges.
12741 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12742 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12743 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12744 as_cr_digits
='0123456789'
12745 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12747 ECHO_C
= ECHO_N
= ECHO_T
=
12748 case `echo -n x` in #(((((
12750 case `echo 'xy\c'` in
12751 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12753 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12760 rm -f conf$$ conf$$.exe conf$$.
file
12761 if test -d conf$$.dir
; then
12762 rm -f conf$$.dir
/conf$$.
file
12765 mkdir conf$$.dir
2>/dev
/null
12767 if (echo >conf$$.
file) 2>/dev
/null
; then
12768 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12770 # ... but there are two gotchas:
12771 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12772 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12773 # In both cases, we have to default to `cp -pR'.
12774 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12776 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12784 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12785 rmdir conf$$.dir
2>/dev
/null
12790 # Create "$as_dir" as a directory, including parents if necessary.
12795 -*) as_dir
=.
/$as_dir;;
12797 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12801 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12802 *) as_qdir
=$as_dir;;
12804 as_dirs
="'$as_qdir' $as_dirs"
12805 as_dir
=`$as_dirname -- "$as_dir" ||
12806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12807 X"$as_dir" : 'X\(//\)[^/]' \| \
12808 X"$as_dir" : 'X\(//\)$' \| \
12809 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12810 $as_echo X"$as_dir" |
12811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12815 /^X\(\/\/\)[^/].*/{
12828 test -d "$as_dir" && break
12830 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12831 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12835 if mkdir
-p .
2>/dev
/null
; then
12836 as_mkdir_p
='mkdir -p "$as_dir"'
12838 test -d .
/-p && rmdir .
/-p
12843 # as_fn_executable_p FILE
12844 # -----------------------
12845 # Test if FILE is an executable regular file.
12846 as_fn_executable_p
()
12848 test -f "$1" && test -x "$1"
12849 } # as_fn_executable_p
12850 as_test_x
='test -x'
12851 as_executable_p
=as_fn_executable_p
12853 # Sed expression to map a string onto a valid CPP name.
12854 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12856 # Sed expression to map a string onto a valid variable name.
12857 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12861 ## ----------------------------------- ##
12862 ## Main body of $CONFIG_STATUS script. ##
12863 ## ----------------------------------- ##
12865 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12868 # Save the log message, to keep $0 and so on meaningful, and to
12869 # report actual input values of CONFIG_FILES etc. instead of their
12870 # values after options handling.
12872 This file was extended by opcodes $as_me 2.37.50, which was
12873 generated by GNU Autoconf 2.69. Invocation command line was
12875 CONFIG_FILES = $CONFIG_FILES
12876 CONFIG_HEADERS = $CONFIG_HEADERS
12877 CONFIG_LINKS = $CONFIG_LINKS
12878 CONFIG_COMMANDS = $CONFIG_COMMANDS
12881 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12886 case $ac_config_files in *"
12887 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12890 case $ac_config_headers in *"
12891 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12896 # Files that config.status was made for.
12897 config_files="$ac_config_files"
12898 config_headers="$ac_config_headers"
12899 config_commands="$ac_config_commands"
12903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12905 \`$as_me' instantiates files and other configuration actions
12906 from templates according to the current configuration. Unless the files
12907 and actions are specified as TAGs, all are instantiated by default.
12909 Usage: $0 [OPTION]... [TAG]...
12911 -h, --help print this help, then exit
12912 -V, --version print version number and configuration settings, then exit
12913 --config print configuration, then exit
12914 -q, --quiet, --silent
12915 do not print progress messages
12916 -d, --debug don't remove temporary files
12917 --recheck update $as_me by reconfiguring in the same conditions
12918 --file=FILE[:TEMPLATE]
12919 instantiate the configuration file FILE
12920 --header=FILE[:TEMPLATE]
12921 instantiate the configuration header FILE
12923 Configuration files:
12926 Configuration headers:
12929 Configuration commands:
12932 Report bugs to the package provider."
12935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12936 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12938 opcodes config.status 2.37.50
12939 configured by $0, generated by GNU Autoconf 2.69,
12940 with options \\"\$ac_cs_config\\"
12942 Copyright (C) 2012 Free Software Foundation, Inc.
12943 This config.status script is free software; the Free Software Foundation
12944 gives unlimited permission to copy, distribute and modify it."
12951 test -n "\$AWK" || AWK=awk
12954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12955 # The default lists apply if the user does not specify any file.
12961 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12962 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12966 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12978 # Handling of the options.
12979 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12981 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12982 $as_echo "$ac_cs_version"; exit ;;
12983 --config |
--confi |
--conf |
--con |
--co |
--c )
12984 $as_echo "$ac_cs_config"; exit ;;
12985 --debug |
--debu |
--deb |
--de |
--d |
-d )
12987 --file |
--fil |
--fi |
--f )
12990 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12991 '') as_fn_error $?
"missing file argument" ;;
12993 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12994 ac_need_defaults
=false
;;
12995 --header |
--heade |
--head |
--hea )
12998 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13000 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13001 ac_need_defaults
=false
;;
13003 # Conflict between --help and --header
13004 as_fn_error $?
"ambiguous option: \`$1'
13005 Try \`$0 --help' for more information.";;
13006 --help |
--hel |
-h )
13007 $as_echo "$ac_cs_usage"; exit ;;
13008 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13009 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13012 # This is an error.
13013 -*) as_fn_error $?
"unrecognized option: \`$1'
13014 Try \`$0 --help' for more information." ;;
13016 *) as_fn_append ac_config_targets
" $1"
13017 ac_need_defaults
=false
;;
13023 ac_configure_extra_args
=
13025 if $ac_cs_silent; then
13027 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13032 if \$ac_cs_recheck; then
13033 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13035 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13036 CONFIG_SHELL='$SHELL'
13037 export CONFIG_SHELL
13042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13047 ## Running $as_me. ##
13053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13057 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13060 # The HP-UX ksh and POSIX shell print the target directory to stdout
13061 # if CDPATH is set.
13062 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13064 sed_quote_subst='$sed_quote_subst'
13065 double_quote_subst='$double_quote_subst'
13066 delay_variable_subst='$delay_variable_subst'
13067 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13068 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13069 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13070 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13071 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13072 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13073 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13074 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13075 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13076 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13077 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13078 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13079 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13080 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13081 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13082 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13083 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13084 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13085 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13086 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13087 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13088 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13089 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13090 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13091 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13092 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13093 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13094 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13095 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13096 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13097 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13098 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13099 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13100 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13101 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13102 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13103 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13104 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13105 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13106 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13107 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13108 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13109 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13110 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13111 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13112 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13113 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13114 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13115 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"`'
13116 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13117 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13118 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13119 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13120 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13121 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13122 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13123 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13124 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13125 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13126 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13127 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13128 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13129 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13130 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13131 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13132 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13133 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13134 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13135 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13136 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13137 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13138 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13139 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13140 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13141 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13142 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13143 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13144 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13145 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13146 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13147 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13148 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13149 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13150 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13151 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13152 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13153 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13154 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13155 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13156 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13157 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13158 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13159 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13160 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13161 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13162 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13163 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13164 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13165 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13166 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13167 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13168 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13169 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13170 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13171 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13172 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13173 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13174 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13175 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13176 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13177 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13178 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13179 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13180 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13181 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13182 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13183 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13184 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13185 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13186 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13189 LTCFLAGS='$LTCFLAGS'
13190 compiler='$compiler_DEFAULT'
13192 # A function that is used when there is no print builtin or printf.
13193 func_fallback_echo ()
13195 eval 'cat <<_LTECHO_EOF
13200 # Quote evaled strings.
13214 deplibs_check_method \
13223 lt_cv_sys_global_symbol_pipe \
13224 lt_cv_sys_global_symbol_to_cdecl \
13225 lt_cv_sys_global_symbol_to_c_name_address \
13226 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13227 lt_prog_compiler_no_builtin_flag \
13228 lt_prog_compiler_wl \
13229 lt_prog_compiler_pic \
13230 lt_prog_compiler_static \
13231 lt_cv_prog_compiler_c_o \
13239 export_dynamic_flag_spec \
13240 whole_archive_flag_spec \
13241 compiler_needs_object \
13243 allow_undefined_flag \
13244 no_undefined_flag \
13245 hardcode_libdir_flag_spec \
13246 hardcode_libdir_flag_spec_ld \
13247 hardcode_libdir_separator \
13252 variables_saved_for_relink \
13254 library_names_spec \
13256 install_override_mode \
13260 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13261 *[\\\\\\\`\\"\\\$]*)
13262 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13265 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13270 # Double-quote double-evaled strings.
13271 for var in reload_cmds \
13272 old_postinstall_cmds \
13273 old_postuninstall_cmds \
13275 extract_expsyms_cmds \
13276 old_archive_from_new_cmds \
13277 old_archive_from_expsyms_cmds \
13279 archive_expsym_cmds \
13281 module_expsym_cmds \
13282 export_symbols_cmds \
13285 postuninstall_cmds \
13287 sys_lib_search_path_spec \
13288 sys_lib_dlsearch_path_spec; do
13289 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13290 *[\\\\\\\`\\"\\\$]*)
13291 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13294 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13299 ac_aux_dir='$ac_aux_dir'
13300 xsi_shell='$xsi_shell'
13301 lt_shell_append='$lt_shell_append'
13303 # See if we are running on zsh, and set the options which allow our
13304 # commands through without removal of \ escapes INIT.
13305 if test -n "\${ZSH_VERSION+set}" ; then
13306 setopt NO_GLOB_SUBST
13312 TIMESTAMP='$TIMESTAMP'
13318 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13319 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13321 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13322 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13323 LINGUAS="${LINGUAS-%UNSET%}"
13328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13330 # Handling of arguments.
13331 for ac_config_target
in $ac_config_targets
13333 case $ac_config_target in
13334 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13335 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13336 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13337 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13338 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13339 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13341 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13346 # If the user did not use the arguments to specify the items to instantiate,
13347 # then the envvar interface is used. Set only those that are not.
13348 # We use the long form for the default assignment because of an extremely
13349 # bizarre bug on SunOS 4.1.3.
13350 if $ac_need_defaults; then
13351 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13352 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13353 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13356 # Have a temporary directory for convenience. Make it in the build tree
13357 # simply because there is no reason against having it here, and in addition,
13358 # creating and moving files from /tmp can sometimes cause problems.
13359 # Hook for its removal unless debugging.
13360 # Note that there is a small window in which the directory will not be cleaned:
13361 # after its creation but before its name has been assigned to `$tmp'.
13365 trap 'exit_status=$?
13366 : "${ac_tmp:=$tmp}"
13367 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13369 trap 'as_fn_exit 1' 1 2 13 15
13371 # Create a (secure) tmp directory for tmp files.
13374 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13378 tmp
=.
/conf$$
-$RANDOM
13379 (umask 077 && mkdir
"$tmp")
13380 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13383 # Set up the scripts for CONFIG_FILES section.
13384 # No need to generate them if there are no CONFIG_FILES.
13385 # This happens for instance with `./config.status config.h'.
13386 if test -n "$CONFIG_FILES"; then
13389 ac_cr
=`echo X | tr X '\015'`
13390 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13391 # But we know of no other shell where ac_cr would be empty at this
13392 # point, so we can use a bashism as a fallback.
13393 if test "x$ac_cr" = x
; then
13394 eval ac_cr
=\$
\'\\r
\'
13396 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13397 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13400 ac_cs_awk_cr
=$ac_cr
13403 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13408 echo "cat >conf$$subs.awk <<_ACEOF" &&
13409 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13411 } >conf$$subs.sh ||
13412 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13413 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13415 for ac_last_try in false false false false false :; do
13416 . ./conf$$subs.sh ||
13417 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13419 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13420 if test $ac_delim_n = $ac_delim_num; then
13422 elif $ac_last_try; then
13423 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13425 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13428 rm -f conf$$subs.sh
13430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13431 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13435 s/^/S["/; s
/!.
*/"]=/
13445 s/\(.\{148\}\)..*/\1/
13447 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13452 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13459 s/\(.\{148\}\)..*/\1/
13461 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13465 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13470 ' <conf$$subs.awk | sed '
13475 ' >>$CONFIG_STATUS || ac_write_fail=1
13476 rm -f conf$$subs.awk
13477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13479 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13480 for (key in S) S_is_set[key] = 1
13486 nfields = split(line, field, "@
")
13488 len = length(field[1])
13489 for (i = 2; i < nfields; i++) {
13491 keylen = length(key)
13492 if (S_is_set[key]) {
13494 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13495 len += length(value) + length(field[++i])
13506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13507 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13508 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13511 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13512 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13515 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13516 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13517 # trailing colons and then remove the whole line if VPATH becomes empty
13518 # (actually we leave an empty line to preserve line numbers).
13519 if test "x
$srcdir" = x.; then
13520 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13539 fi # test -n "$CONFIG_FILES"
13541 # Set up the scripts for CONFIG_HEADERS section.
13542 # No need to generate them if there are no CONFIG_HEADERS.
13543 # This happens for instance with `./config.status Makefile'.
13544 if test -n "$CONFIG_HEADERS"; then
13545 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13549 # Transform confdefs.h into an awk script `defines.awk', embedded as
13550 # here-document in config.status, that substitutes the proper values into
13551 # config.h.in to produce config.h.
13553 # Create a delimiter string that does not exist in confdefs.h, to ease
13554 # handling of long lines.
13556 for ac_last_try in false false :; do
13557 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13558 if test -z "$ac_tt"; then
13560 elif $ac_last_try; then
13561 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13563 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13567 # For the awk script, D is an array of macro values keyed by name,
13568 # likewise P contains macro parameters if any. Preserve backslash
13569 # newline sequences.
13571 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13573 s/.\{148\}/&'"$ac_delim"'/g
13576 s/^[ ]*#[ ]*define[ ][ ]*/ /
13583 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13585 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13589 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13590 D["\
1"]=" \
3\\\\\\n
"\\/p
13592 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13597 s/.\{148\}/&'"$ac_delim"'/g
13602 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13605 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13607 ' <confdefs.h | sed '
13608 s/'"$ac_delim"'/"\\\
13609 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13612 for (key in D) D_is_set[key] = 1
13615 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13617 split(line, arg, " ")
13618 if (arg[1] == "#") {
13622 defundef
= substr
(arg
[1], 2)
13625 split(mac1
, mac2
, "(") #)
13627 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13628 if (D_is_set
[macro
]) {
13629 # Preserve the white space surrounding the "#".
13630 print prefix
"define", macro P
[macro
] D
[macro
]
13633 # Replace #undef with comments. This is necessary, for example,
13634 # in the case of _POSIX_SOURCE, which is predefined and required
13635 # on some systems where configure will not decide to define it.
13636 if (defundef
== "undef") {
13637 print
"/*", prefix defundef
, macro
, "*/"
13645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13646 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13647 fi # test -n "$CONFIG_HEADERS"
13650 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13655 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13657 case $ac_mode$ac_tag in
13659 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13660 :[FH
]-) ac_tag
=-:-;;
13661 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13678 -) ac_f
="$ac_tmp/stdin";;
13679 *) # Look for the file first in the build tree, then in the source tree
13680 # (if the path is not absolute). The absolute path cannot be DOS-style,
13681 # because $ac_f cannot contain `:'.
13685 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13687 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13689 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13690 as_fn_append ac_file_inputs
" '$ac_f'"
13693 # Let's still pretend it is `configure' which instantiates (i.e., don't
13694 # use $as_me), people would be surprised to read:
13695 # /* config.h. Generated by config.status. */
13696 configure_input
='Generated from '`
13697 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13699 if test x
"$ac_file" != x-
; then
13700 configure_input
="$ac_file. $configure_input"
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13702 $as_echo "$as_me: creating $ac_file" >&6;}
13704 # Neutralize special characters interpreted by sed in replacement strings.
13705 case $configure_input in #(
13706 *\
&* |
*\|
* |
*\\* )
13707 ac_sed_conf_input
=`$as_echo "$configure_input" |
13708 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13709 *) ac_sed_conf_input
=$configure_input;;
13713 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13714 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13719 ac_dir
=`$as_dirname -- "$ac_file" ||
13720 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13721 X"$ac_file" : 'X\(//\)[^/]' \| \
13722 X"$ac_file" : 'X\(//\)$' \| \
13723 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13724 $as_echo X"$ac_file" |
13725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13729 /^X\(\/\/\)[^/].*/{
13742 as_dir
="$ac_dir"; as_fn_mkdir_p
13746 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13748 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13749 # A ".." for each directory in $ac_dir_suffix.
13750 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13751 case $ac_top_builddir_sub in
13752 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13753 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13756 ac_abs_top_builddir
=$ac_pwd
13757 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13758 # for backward compatibility:
13759 ac_top_builddir
=$ac_top_build_prefix
13762 .
) # We are building in place.
13764 ac_top_srcdir
=$ac_top_builddir_sub
13765 ac_abs_top_srcdir
=$ac_pwd ;;
13766 [\\/]* | ?
:[\\/]* ) # Absolute name.
13767 ac_srcdir
=$srcdir$ac_dir_suffix;
13768 ac_top_srcdir
=$srcdir
13769 ac_abs_top_srcdir
=$srcdir ;;
13770 *) # Relative name.
13771 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13772 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13773 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13775 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13785 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13786 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13788 ac_MKDIR_P
=$MKDIR_P
13790 [\\/$
]* | ?
:[\\/]* ) ;;
13791 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13796 # If the template does not know about datarootdir, expand it.
13797 # FIXME: This hack should be removed a few years after 2.60.
13798 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13809 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13810 *datarootdir
*) ac_datarootdir_seen
=yes;;
13811 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13813 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13816 ac_datarootdir_hack='
13817 s&@datadir@&$datadir&g
13818 s&@docdir@&$docdir&g
13819 s&@infodir@&$infodir&g
13820 s&@localedir@&$localedir&g
13821 s&@mandir@&$mandir&g
13822 s&\\\${datarootdir}&$datarootdir&g' ;;
13826 # Neutralize VPATH when `$srcdir' = `.'.
13827 # Shell code in configure.ac might set extrasub.
13828 # FIXME: do we really want to maintain this feature?
13829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13830 ac_sed_extra="$ac_vpsub
13833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13835 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13836 s|@configure_input@|
$ac_sed_conf_input|
;t t
13837 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13838 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13839 s
&@srcdir@
&$ac_srcdir&;t t
13840 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13841 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13842 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13843 s
&@builddir@
&$ac_builddir&;t t
13844 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13845 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13846 s
&@INSTALL@
&$ac_INSTALL&;t t
13847 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13848 $ac_datarootdir_hack
13850 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13851 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13853 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13854 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13856 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13858 which seems to be undefined. Please make sure it is defined" >&5
13859 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13860 which seems to be undefined. Please make sure it is defined" >&2;}
13862 rm -f "$ac_tmp/stdin"
13864 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13865 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13873 if test x"$ac_file" != x-; then
13875 $as_echo "/* $configure_input */" \
13876 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13877 } >"$ac_tmp/config.h" \
13878 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13879 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13881 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13884 mv "$ac_tmp/config.h" "$ac_file" \
13885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13888 $as_echo "/* $configure_input */" \
13889 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13890 || as_fn_error $? "could not create -" "$LINENO" 5
13892 # Compute "$ac_file"'s index
in $config_headers.
13895 for _am_header
in $config_headers :; do
13896 case $_am_header in
13897 $_am_arg |
$_am_arg:* )
13900 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13903 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13904 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13905 X"$_am_arg" : 'X\(//\)[^/]' \| \
13906 X"$_am_arg" : 'X\(//\)$' \| \
13907 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13908 $as_echo X"$_am_arg" |
13909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13913 /^X\(\/\/\)[^/].*/{
13925 s/.*/./; q'`/stamp-h
$_am_stamp_count
13928 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13929 $as_echo "$as_me: executing $ac_file commands" >&6;}
13934 case $ac_file$ac_mode in
13935 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13936 # Older Autoconf quotes --file arguments for eval, but not when files
13937 # are listed without --file. Let's play safe and only enable the eval
13938 # if we detect the quoting.
13939 case $CONFIG_FILES in
13940 *\'*) eval set x
"$CONFIG_FILES" ;;
13941 *) set x
$CONFIG_FILES ;;
13946 # Strip MF so we end up with the name of the file.
13947 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13948 # Check whether this is an Automake generated Makefile or not.
13949 # We used to match only the files named 'Makefile.in', but
13950 # some people rename them; so instead we look at the file content.
13951 # Grep'ing the first line is not enough: some people post-process
13952 # each Makefile.in and add a new line on top of each file to say so.
13953 # Grep'ing the whole file is not good either: AIX grep has a line
13954 # limit of 2048, but all sed's we know have understand at least 4000.
13955 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13956 dirpart
=`$as_dirname -- "$mf" ||
13957 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13958 X"$mf" : 'X\(//\)[^/]' \| \
13959 X"$mf" : 'X\(//\)$' \| \
13960 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13966 /^X\(\/\/\)[^/].*/{
13982 # Extract the definition of DEPDIR, am__include, and am__quote
13983 # from the Makefile without running 'make'.
13984 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13985 test -z "$DEPDIR" && continue
13986 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13987 test -z "$am__include" && continue
13988 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13989 # Find all dependency output files, they are included files with
13990 # $(DEPDIR) in their names. We invoke sed twice because it is the
13991 # simplest approach to changing $(DEPDIR) to its actual value in the
13993 for file in `sed -n "
13994 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13995 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13996 # Make sure the directory exists.
13997 test -f "$dirpart/$file" && continue
13998 fdir
=`$as_dirname -- "$file" ||
13999 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14000 X"$file" : 'X\(//\)[^/]' \| \
14001 X"$file" : 'X\(//\)$' \| \
14002 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14003 $as_echo X"$file" |
14004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14008 /^X\(\/\/\)[^/].*/{
14021 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14022 # echo "creating $dirpart/$file"
14023 echo '# dummy' > "$dirpart/$file"
14030 # See if we are running on zsh, and set the options which allow our
14031 # commands through without removal of \ escapes.
14032 if test -n "${ZSH_VERSION+set}" ; then
14033 setopt NO_GLOB_SUBST
14036 cfgfile
="${ofile}T"
14037 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14040 cat <<_LT_EOF >> "$cfgfile"
14043 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14044 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14045 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14046 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14048 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14049 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14050 # Written by Gordon Matzigkeit, 1996
14052 # This file is part of GNU Libtool.
14054 # GNU Libtool is free software; you can redistribute it and/or
14055 # modify it under the terms of the GNU General Public License as
14056 # published by the Free Software Foundation; either version 2 of
14057 # the License, or (at your option) any later version.
14059 # As a special exception to the GNU General Public License,
14060 # if you distribute this file as part of a program or library that
14061 # is built using GNU Libtool, you may include this file under the
14062 # same distribution terms that you use for the rest of that program.
14064 # GNU Libtool is distributed in the hope that it will be useful,
14065 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14066 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14067 # GNU General Public License for more details.
14069 # You should have received a copy of the GNU General Public License
14070 # along with GNU Libtool; see the file COPYING. If not, a copy
14071 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14072 # obtained by writing to the Free Software Foundation, Inc.,
14073 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14076 # The names of the tagged configurations supported by this script.
14079 # ### BEGIN LIBTOOL CONFIG
14081 # Whether or not to build shared libraries.
14082 build_libtool_libs=$enable_shared
14084 # Which release of libtool.m4 was used?
14085 macro_version=$macro_version
14086 macro_revision=$macro_revision
14088 # Whether or not to build static libraries.
14089 build_old_libs=$enable_static
14091 # What type of objects to build.
14094 # Whether or not to optimize for fast installation.
14095 fast_install=$enable_fast_install
14097 # Shell to use when invoking shell scripts.
14100 # An echo program that protects backslashes.
14104 host_alias=$host_alias
14108 # The build system.
14109 build_alias=$build_alias
14113 # A sed program that does not truncate output.
14116 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14117 Xsed="\$SED -e 1s/^X//"
14119 # A grep program that handles long lines.
14125 # A literal string matcher.
14128 # A BSD- or MS-compatible name lister.
14131 # Whether we need soft or hard links.
14134 # What is the maximum length of a command?
14135 max_cmd_len=$max_cmd_len
14137 # Object file suffix (normally "o").
14140 # Executable file suffix (normally "").
14143 # whether the shell understands "unset".
14146 # turn spaces into newlines.
14149 # turn newlines into spaces.
14152 # An object symbol dumper.
14153 OBJDUMP=$lt_OBJDUMP
14155 # Method to check whether dependent libraries are shared objects.
14156 deplibs_check_method=$lt_deplibs_check_method
14158 # Command to use when deplibs_check_method == "file_magic".
14159 file_magic_cmd=$lt_file_magic_cmd
14163 AR_FLAGS=$lt_AR_FLAGS
14165 # A symbol stripping program.
14168 # Commands used to install an old-style archive.
14170 old_postinstall_cmds=$lt_old_postinstall_cmds
14171 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14173 # Whether to use a lock for old archive extraction.
14174 lock_old_archive_extraction=$lock_old_archive_extraction
14179 # LTCC compiler flags.
14180 LTCFLAGS=$lt_CFLAGS
14182 # Take the output of nm and produce a listing of raw symbols and C names.
14183 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14185 # Transform the output of nm in a proper C declaration.
14186 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14188 # Transform the output of nm in a C name address pair.
14189 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14191 # Transform the output of nm in a C name address pair when lib prefix is needed.
14192 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14194 # The name of the directory that contains temporary libtool files.
14197 # Used to examine libraries when file_magic_cmd begins with "file".
14198 MAGIC_CMD=$MAGIC_CMD
14200 # Must we lock files when doing compilation?
14201 need_locks=$lt_need_locks
14203 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14204 DSYMUTIL=$lt_DSYMUTIL
14206 # Tool to change global to local symbols on Mac OS X.
14209 # Tool to manipulate fat objects and archives on Mac OS X.
14212 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14215 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14216 OTOOL64=$lt_OTOOL64
14218 # Old archive suffix (normally "a").
14221 # Shared library suffix (normally ".so").
14222 shrext_cmds=$lt_shrext_cmds
14224 # The commands to extract the exported symbol list from a shared archive.
14225 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14227 # Variables whose values should be saved in libtool wrapper scripts and
14228 # restored at link time.
14229 variables_saved_for_relink=$lt_variables_saved_for_relink
14231 # Do we need the "lib" prefix for modules?
14232 need_lib_prefix=$need_lib_prefix
14234 # Do we need a version for libraries?
14235 need_version=$need_version
14237 # Library versioning type.
14238 version_type=$version_type
14240 # Shared library runtime path variable.
14241 runpath_var=$runpath_var
14243 # Shared library path variable.
14244 shlibpath_var=$shlibpath_var
14246 # Is shlibpath searched before the hard-coded library search path?
14247 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14249 # Format of library name prefix.
14250 libname_spec=$lt_libname_spec
14252 # List of archive names. First name is the real one, the rest are links.
14253 # The last name is the one that the linker finds with -lNAME
14254 library_names_spec=$lt_library_names_spec
14256 # The coded name of the library, if different from the real name.
14257 soname_spec=$lt_soname_spec
14259 # Permission mode override for installation of shared libraries.
14260 install_override_mode=$lt_install_override_mode
14262 # Command to use after installation of a shared archive.
14263 postinstall_cmds=$lt_postinstall_cmds
14265 # Command to use after uninstallation of a shared archive.
14266 postuninstall_cmds=$lt_postuninstall_cmds
14268 # Commands used to finish a libtool library installation in a directory.
14269 finish_cmds=$lt_finish_cmds
14271 # As "finish_cmds", except a single script fragment to be evaled but
14273 finish_eval=$lt_finish_eval
14275 # Whether we should hardcode library paths into libraries.
14276 hardcode_into_libs=$hardcode_into_libs
14278 # Compile-time system search path for libraries.
14279 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14281 # Run-time system search path for libraries.
14282 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14284 # Whether dlopen is supported.
14285 dlopen_support=$enable_dlopen
14287 # Whether dlopen of programs is supported.
14288 dlopen_self=$enable_dlopen_self
14290 # Whether dlopen of statically linked programs is supported.
14291 dlopen_self_static=$enable_dlopen_self_static
14293 # Commands to strip libraries.
14294 old_striplib=$lt_old_striplib
14295 striplib=$lt_striplib
14298 # The linker used to build libraries.
14301 # How to create reloadable object files.
14302 reload_flag=$lt_reload_flag
14303 reload_cmds=$lt_reload_cmds
14305 # Commands used to build an old-style archive.
14306 old_archive_cmds=$lt_old_archive_cmds
14308 # A language specific compiler.
14311 # Is the compiler the GNU compiler?
14314 # Compiler flag to turn off builtin functions.
14315 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14317 # How to pass a linker flag through the compiler.
14318 wl=$lt_lt_prog_compiler_wl
14320 # Additional compiler flags for building library objects.
14321 pic_flag=$lt_lt_prog_compiler_pic
14323 # Compiler flag to prevent dynamic linking.
14324 link_static_flag=$lt_lt_prog_compiler_static
14326 # Does compiler simultaneously support -c and -o options?
14327 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14329 # Whether or not to add -lc for building shared libraries.
14330 build_libtool_need_lc=$archive_cmds_need_lc
14332 # Whether or not to disallow shared libs when runtime libs are static.
14333 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14335 # Compiler flag to allow reflexive dlopens.
14336 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14338 # Compiler flag to generate shared objects directly from archives.
14339 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14341 # Whether the compiler copes with passing no objects directly.
14342 compiler_needs_object=$lt_compiler_needs_object
14344 # Create an old-style archive from a shared archive.
14345 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14347 # Create a temporary old-style archive to link instead of a shared archive.
14348 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14350 # Commands used to build a shared archive.
14351 archive_cmds=$lt_archive_cmds
14352 archive_expsym_cmds=$lt_archive_expsym_cmds
14354 # Commands used to build a loadable module if different from building
14355 # a shared archive.
14356 module_cmds=$lt_module_cmds
14357 module_expsym_cmds=$lt_module_expsym_cmds
14359 # Whether we are building with GNU ld or not.
14360 with_gnu_ld=$lt_with_gnu_ld
14362 # Flag that allows shared libraries with undefined symbols to be built.
14363 allow_undefined_flag=$lt_allow_undefined_flag
14365 # Flag that enforces no undefined symbols.
14366 no_undefined_flag=$lt_no_undefined_flag
14368 # Flag to hardcode \$libdir into a binary during linking.
14369 # This must work even if \$libdir does not exist
14370 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14372 # If ld is used when linking, flag to hardcode \$libdir into a binary
14373 # during linking. This must work even if \$libdir does not exist.
14374 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14376 # Whether we need a single "-rpath" flag with a separated argument.
14377 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14379 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14380 # DIR into the resulting binary.
14381 hardcode_direct=$hardcode_direct
14383 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14384 # DIR into the resulting binary and the resulting library dependency is
14385 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14386 # library is relocated.
14387 hardcode_direct_absolute=$hardcode_direct_absolute
14389 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14390 # into the resulting binary.
14391 hardcode_minus_L=$hardcode_minus_L
14393 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14394 # into the resulting binary.
14395 hardcode_shlibpath_var=$hardcode_shlibpath_var
14397 # Set to "yes" if building a shared library automatically hardcodes DIR
14398 # into the library and all subsequent libraries and executables linked
14400 hardcode_automatic=$hardcode_automatic
14402 # Set to yes if linker adds runtime paths of dependent libraries
14403 # to runtime path list.
14404 inherit_rpath=$inherit_rpath
14406 # Whether libtool must link a program against all its dependency libraries.
14407 link_all_deplibs=$link_all_deplibs
14409 # Fix the shell variable \$srcfile for the compiler.
14410 fix_srcfile_path=$lt_fix_srcfile_path
14412 # Set to "yes" if exported symbols are required.
14413 always_export_symbols=$always_export_symbols
14415 # The commands to list exported symbols.
14416 export_symbols_cmds=$lt_export_symbols_cmds
14418 # Symbols that should not be listed in the preloaded symbols.
14419 exclude_expsyms=$lt_exclude_expsyms
14421 # Symbols that must always be exported.
14422 include_expsyms=$lt_include_expsyms
14424 # Commands necessary for linking programs (against libraries) with templates.
14425 prelink_cmds=$lt_prelink_cmds
14427 # Specify filename containing input files.
14428 file_list_spec=$lt_file_list_spec
14430 # How to hardcode a shared library path into an executable.
14431 hardcode_action=$hardcode_action
14433 # ### END LIBTOOL CONFIG
14439 cat <<\_LT_EOF
>> "$cfgfile"
14440 # AIX sometimes has problems with the GCC collect2 program. For some
14441 # reason, if we set the COLLECT_NAMES environment variable, the problems
14442 # vanish in a puff of smoke.
14443 if test "X${COLLECT_NAMES+set}" != Xset
; then
14445 export COLLECT_NAMES
14452 ltmain
="$ac_aux_dir/ltmain.sh"
14455 # We use sed instead of cat because bash on DJGPP gets confused if
14456 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14457 # text mode, it properly converts lines to CR/LF. This bash problem
14458 # is reportedly fixed, but why not run on old versions too?
14459 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14460 ||
(rm -f "$cfgfile"; exit 1)
14464 cat << \_LT_EOF
>> "$cfgfile"
14466 # func_dirname file append nondir_replacement
14467 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14468 # otherwise set result to NONDIR_REPLACEMENT.
14472 */*) func_dirname_result
="${1%/*}${2}" ;;
14473 * ) func_dirname_result
="${3}" ;;
14477 # func_basename file
14480 func_basename_result
="${1##*/}"
14483 # func_dirname_and_basename file append nondir_replacement
14484 # perform func_basename and func_dirname in a single function
14486 # dirname: Compute the dirname of FILE. If nonempty,
14487 # add APPEND to the result, otherwise set result
14488 # to NONDIR_REPLACEMENT.
14489 # value returned in "$func_dirname_result"
14490 # basename: Compute filename of FILE.
14491 # value retuned in "$func_basename_result"
14492 # Implementation must be kept synchronized with func_dirname
14493 # and func_basename. For efficiency, we do not delegate to
14494 # those functions but instead duplicate the functionality here.
14495 func_dirname_and_basename
()
14498 */*) func_dirname_result
="${1%/*}${2}" ;;
14499 * ) func_dirname_result
="${3}" ;;
14501 func_basename_result
="${1##*/}"
14504 # func_stripname prefix suffix name
14505 # strip PREFIX and SUFFIX off of NAME.
14506 # PREFIX and SUFFIX must not contain globbing or regex special
14507 # characters, hashes, percent signs, but SUFFIX may contain a leading
14508 # dot (in which case that matches only a dot).
14511 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14512 # positional parameters, so assign one to ordinary parameter first.
14513 func_stripname_result
=${3}
14514 func_stripname_result
=${func_stripname_result#"${1}"}
14515 func_stripname_result
=${func_stripname_result%"${2}"}
14521 func_opt_split_opt
=${1%%=*}
14522 func_opt_split_arg
=${1#*=}
14529 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14530 *) func_lo2o_result
=${1} ;;
14534 # func_xform libobj-or-source
14537 func_xform_result
=${1%.*}.lo
14540 # func_arith arithmetic-term...
14543 func_arith_result
=$
(( $
* ))
14547 # STRING may not start with a hyphen.
14550 func_len_result
=${#1}
14555 *) # Bourne compatible functions.
14556 cat << \_LT_EOF
>> "$cfgfile"
14558 # func_dirname file append nondir_replacement
14559 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14560 # otherwise set result to NONDIR_REPLACEMENT.
14563 # Extract subdirectory from the argument.
14564 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14565 if test "X$func_dirname_result" = "X${1}"; then
14566 func_dirname_result
="${3}"
14568 func_dirname_result
="$func_dirname_result${2}"
14572 # func_basename file
14575 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14579 # func_stripname prefix suffix name
14580 # strip PREFIX and SUFFIX off of NAME.
14581 # PREFIX and SUFFIX must not contain globbing or regex special
14582 # characters, hashes, percent signs, but SUFFIX may contain a leading
14583 # dot (in which case that matches only a dot).
14584 # func_strip_suffix prefix name
14588 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14589 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14594 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14595 my_sed_long_arg
='1s/^-[^=]*=//'
14600 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14601 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14607 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
14610 # func_xform libobj-or-source
14613 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14616 # func_arith arithmetic-term...
14619 func_arith_result
=`expr "$@"`
14623 # STRING may not start with a hyphen.
14626 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14632 case $lt_shell_append in
14634 cat << \_LT_EOF
>> "$cfgfile"
14636 # func_append var value
14637 # Append VALUE to the end of shell variable VAR.
14645 cat << \_LT_EOF
>> "$cfgfile"
14647 # func_append var value
14648 # Append VALUE to the end of shell variable VAR.
14659 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14660 ||
(rm -f "$cfgfile"; exit 1)
14662 mv -f "$cfgfile" "$ofile" ||
14663 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14668 for ac_file
in $CONFIG_FILES; do
14669 # Support "outfile[:infile[:infile...]]"
14671 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14673 # PO directories have a Makefile.in generated from Makefile.in.in.
14674 case "$ac_file" in */Makefile.
in)
14675 # Adjust a relative srcdir.
14676 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14677 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
14678 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14679 # In autoconf-2.13 it is called $ac_given_srcdir.
14680 # In autoconf-2.50 it is called $srcdir.
14681 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14682 case "$ac_given_srcdir" in
14683 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14684 /*) top_srcdir
="$ac_given_srcdir" ;;
14685 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14687 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14688 rm -f "$ac_dir/POTFILES"
14689 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14690 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14691 POMAKEFILEDEPS
="POTFILES.in"
14692 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
14693 # on $ac_dir but don't depend on user-specified configuration
14695 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14696 # The LINGUAS file contains the set of available languages.
14697 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14698 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
14700 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14701 # Hide the ALL_LINGUAS assigment from automake.
14702 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14703 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14705 # The set of available languages was given in configure.ac.
14706 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14708 case "$ac_given_srcdir" in
14710 *) srcdirpre
='$(srcdir)/' ;;
14716 for lang
in $ALL_LINGUAS; do
14717 POFILES
="$POFILES $srcdirpre$lang.po"
14718 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14719 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14720 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14722 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14723 # environment variable.
14725 if test -n "$ALL_LINGUAS"; then
14726 for presentlang
in $ALL_LINGUAS; do
14728 if test "%UNSET%" != "$LINGUAS"; then
14729 desiredlanguages
="$LINGUAS"
14731 desiredlanguages
="$ALL_LINGUAS"
14733 for desiredlang
in $desiredlanguages; do
14734 # Use the presentlang catalog if desiredlang is
14735 # a. equal to presentlang, or
14736 # b. a variant of presentlang (because in this case,
14737 # presentlang can be used as a fallback for messages
14738 # which are not translated in the desiredlang catalog).
14739 case "$desiredlang" in
14740 "$presentlang"*) useit
=yes;;
14743 if test $useit = yes; then
14744 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14749 if test -n "$INST_LINGUAS"; then
14750 for lang
in $INST_LINGUAS; do
14751 CATALOGS
="$CATALOGS $lang.gmo"
14754 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14755 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"
14756 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14757 if test -f "$f"; then
14759 *.orig |
*.bak |
*~
) ;;
14760 *) cat "$f" >> "$ac_dir/Makefile" ;;
14775 ac_clean_files
=$ac_clean_files_save
14777 test $ac_write_fail = 0 ||
14778 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14781 # configure is writing to config.log, and then calls config.status.
14782 # config.status does its own redirection, appending to config.log.
14783 # Unfortunately, on DOS this fails, as config.log is still kept open
14784 # by configure, so config.status won't be able to write to it; its
14785 # output is simply discarded. So we exec the FD to /dev/null,
14786 # effectively closing config.log, so it can be properly (re)opened and
14787 # appended to by config.status. When coming back to configure, we
14788 # need to make the FD available again.
14789 if test "$no_create" != yes; then
14791 ac_config_status_args
=
14792 test "$silent" = yes &&
14793 ac_config_status_args
="$ac_config_status_args --quiet"
14795 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14797 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14798 # would make configure fail if this is the last instruction.
14799 $ac_cs_success || as_fn_exit
1
14801 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14803 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14808 touch config.status.tmp
14809 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
14810 sed '/as_fn_exit 0/i \
14811 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
14812 touch --reference=Makefile Makefile.tmp \
14813 mv Makefile.tmp Makefile \
14814 ' config.status
> config.status.tmp
14815 touch --reference=config.status config.status.tmp
14816 mv config.status.tmp config.status
14817 chmod +x config.status
14818 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
14819 touch --reference=Makefile Makefile.tmp
14820 mv Makefile.tmp Makefile
14822 rm -f config.status.tmp