2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for opcodes 2.44.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.44.50'
591 PACKAGE_STRING
='opcodes 2.44.50'
595 ac_unique_file
="z8k-dis.c"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
633 ac_subst_vars
='am__EXEEXT_FALSE
678 MAINTAINER_MODE_FALSE
682 WARN_CFLAGS_FOR_BUILD
732 INSTALL_STRIP_PROGRAM
786 program_transform_name
799 enable_option_checking
801 enable_dependency_tracking
811 enable_build_warnings
812 enable_maintainer_mode
813 enable_install_libbfd
822 ac_precious_vars
='build_alias
833 # Initialize some variables set by options.
835 ac_init_version
=false
836 ac_unrecognized_opts
=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
847 program_transform_name
=s
,x
,x
,
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir
='${exec_prefix}/bin'
862 sbindir
='${exec_prefix}/sbin'
863 libexecdir
='${exec_prefix}/libexec'
864 datarootdir
='${prefix}/share'
865 datadir
='${datarootdir}'
866 sysconfdir
='${prefix}/etc'
867 sharedstatedir
='${prefix}/com'
868 localstatedir
='${prefix}/var'
869 includedir
='${prefix}/include'
870 oldincludedir
='/usr/include'
871 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
872 infodir
='${datarootdir}/info'
877 libdir
='${exec_prefix}/lib'
878 localedir
='${datarootdir}/locale'
879 mandir
='${datarootdir}/man'
885 # If the previous option needs an argument, assign it.
886 if test -n "$ac_prev"; then
887 eval $ac_prev=\
$ac_option
893 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898 # Accept the important Cygnus configure options, so we can diagnose typos.
900 case $ac_dashdash$ac_option in
904 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
906 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
909 -build |
--build |
--buil |
--bui |
--bu)
910 ac_prev
=build_alias
;;
911 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
912 build_alias
=$ac_optarg ;;
914 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
915 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
916 ac_prev
=cache_file
;;
917 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
918 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
919 cache_file
=$ac_optarg ;;
922 cache_file
=config.cache
;;
924 -datadir |
--datadir |
--datadi |
--datad)
926 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
927 datadir
=$ac_optarg ;;
929 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
930 |
--dataroo |
--dataro |
--datar)
931 ac_prev
=datarootdir
;;
932 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
933 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
934 datarootdir
=$ac_optarg ;;
936 -disable-* |
--disable-*)
937 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
940 as_fn_error $?
"invalid feature name: $ac_useropt"
941 ac_useropt_orig
=$ac_useropt
942 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948 ac_unrecognized_sep
=', ';;
950 eval enable_
$ac_useropt=no
;;
952 -docdir |
--docdir |
--docdi |
--doc |
--do)
954 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
957 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
959 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
962 -enable-* |
--enable-*)
963 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
966 as_fn_error $?
"invalid feature name: $ac_useropt"
967 ac_useropt_orig
=$ac_useropt
968 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974 ac_unrecognized_sep
=', ';;
976 eval enable_
$ac_useropt=\
$ac_optarg ;;
978 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
979 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
980 |
--exec |
--exe |
--ex)
981 ac_prev
=exec_prefix
;;
982 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
983 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
984 |
--exec=* |
--exe=* |
--ex=*)
985 exec_prefix
=$ac_optarg ;;
987 -gas |
--gas |
--ga |
--g)
988 # Obsolete; use --with-gas.
991 -help |
--help |
--hel |
--he |
-h)
993 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
994 ac_init_help
=recursive
;;
995 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
996 ac_init_help
=short
;;
998 -host |
--host |
--hos |
--ho)
999 ac_prev
=host_alias
;;
1000 -host=* |
--host=* |
--hos=* |
--ho=*)
1001 host_alias
=$ac_optarg ;;
1003 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1005 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1007 htmldir
=$ac_optarg ;;
1009 -includedir |
--includedir |
--includedi |
--included |
--include \
1010 |
--includ |
--inclu |
--incl |
--inc)
1011 ac_prev
=includedir
;;
1012 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1013 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1014 includedir
=$ac_optarg ;;
1016 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1018 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1019 infodir
=$ac_optarg ;;
1021 -libdir |
--libdir |
--libdi |
--libd)
1023 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1024 libdir
=$ac_optarg ;;
1026 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1027 |
--libexe |
--libex |
--libe)
1028 ac_prev
=libexecdir
;;
1029 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1030 |
--libexe=* |
--libex=* |
--libe=*)
1031 libexecdir
=$ac_optarg ;;
1033 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1034 ac_prev
=localedir
;;
1035 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1036 localedir
=$ac_optarg ;;
1038 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1039 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1040 ac_prev
=localstatedir
;;
1041 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1042 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1043 localstatedir
=$ac_optarg ;;
1045 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1047 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1048 mandir
=$ac_optarg ;;
1050 -nfp |
--nfp |
--nf)
1051 # Obsolete; use --without-fp.
1054 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1055 |
--no-cr |
--no-c |
-n)
1058 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1059 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1062 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1063 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1064 |
--oldin |
--oldi |
--old |
--ol |
--o)
1065 ac_prev
=oldincludedir
;;
1066 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1067 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1068 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1069 oldincludedir
=$ac_optarg ;;
1071 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1073 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1074 prefix
=$ac_optarg ;;
1076 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1077 |
--program-pre |
--program-pr |
--program-p)
1078 ac_prev
=program_prefix
;;
1079 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1080 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1081 program_prefix
=$ac_optarg ;;
1083 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1084 |
--program-suf |
--program-su |
--program-s)
1085 ac_prev
=program_suffix
;;
1086 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1087 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1088 program_suffix
=$ac_optarg ;;
1090 -program-transform-name |
--program-transform-name \
1091 |
--program-transform-nam |
--program-transform-na \
1092 |
--program-transform-n |
--program-transform- \
1093 |
--program-transform |
--program-transfor \
1094 |
--program-transfo |
--program-transf \
1095 |
--program-trans |
--program-tran \
1096 |
--progr-tra |
--program-tr |
--program-t)
1097 ac_prev
=program_transform_name
;;
1098 -program-transform-name=* |
--program-transform-name=* \
1099 |
--program-transform-nam=* |
--program-transform-na=* \
1100 |
--program-transform-n=* |
--program-transform-=* \
1101 |
--program-transform=* |
--program-transfor=* \
1102 |
--program-transfo=* |
--program-transf=* \
1103 |
--program-trans=* |
--program-tran=* \
1104 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1105 program_transform_name
=$ac_optarg ;;
1107 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1109 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1110 pdfdir
=$ac_optarg ;;
1112 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1114 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1117 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1118 |
-silent |
--silent |
--silen |
--sile |
--sil)
1121 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1123 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1125 sbindir
=$ac_optarg ;;
1127 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1128 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1129 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1131 ac_prev
=sharedstatedir
;;
1132 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1133 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1134 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1136 sharedstatedir
=$ac_optarg ;;
1138 -site |
--site |
--sit)
1140 -site=* |
--site=* |
--sit=*)
1143 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1145 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1146 srcdir
=$ac_optarg ;;
1148 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1149 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1150 ac_prev
=sysconfdir
;;
1151 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1152 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1153 sysconfdir
=$ac_optarg ;;
1155 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1156 ac_prev
=target_alias
;;
1157 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1158 target_alias
=$ac_optarg ;;
1160 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1163 -version |
--version |
--versio |
--versi |
--vers |
-V)
1164 ac_init_version
=: ;;
1167 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1170 as_fn_error $?
"invalid package name: $ac_useropt"
1171 ac_useropt_orig
=$ac_useropt
1172 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178 ac_unrecognized_sep
=', ';;
1180 eval with_
$ac_useropt=\
$ac_optarg ;;
1182 -without-* |
--without-*)
1183 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1186 as_fn_error $?
"invalid package name: $ac_useropt"
1187 ac_useropt_orig
=$ac_useropt
1188 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1193 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194 ac_unrecognized_sep
=', ';;
1196 eval with_
$ac_useropt=no
;;
1199 # Obsolete; use --with-x.
1202 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1203 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1204 ac_prev
=x_includes
;;
1205 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1206 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1207 x_includes
=$ac_optarg ;;
1209 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1210 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1211 ac_prev
=x_libraries
;;
1212 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1213 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1214 x_libraries
=$ac_optarg ;;
1216 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1217 Try \`$0 --help' for more information"
1221 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1222 # Reject names that are not valid shell variable names.
1223 case $ac_envvar in #(
1224 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1225 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1227 eval $ac_envvar=\
$ac_optarg
1228 export $ac_envvar ;;
1231 # FIXME: should be removed in autoconf 3.0.
1232 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1234 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1241 if test -n "$ac_prev"; then
1242 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1243 as_fn_error $?
"missing argument to $ac_option"
1246 if test -n "$ac_unrecognized_opts"; then
1247 case $enable_option_checking in
1249 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1250 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1254 # Check all directory arguments for consistency.
1255 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256 datadir sysconfdir sharedstatedir localstatedir includedir \
1257 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258 libdir localedir mandir
1260 eval ac_val
=\$
$ac_var
1261 # Remove trailing slashes.
1264 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265 eval $ac_var=\
$ac_val;;
1267 # Be sure to have absolute directory names.
1269 [\\/$
]* | ?
:[\\/]* ) continue;;
1270 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1272 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1275 # There might be people who depend on the old broken behavior: `$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1280 target
=$target_alias
1282 # FIXME: To remove some day.
1283 if test "x$host_alias" != x
; then
1284 if test "x$build_alias" = x
; then
1285 cross_compiling
=maybe
1286 elif test "x$build_alias" != "x$host_alias"; then
1292 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1294 test "$silent" = yes && exec 6>/dev
/null
1297 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1298 ac_ls_di
=`ls -di .` &&
1299 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1300 as_fn_error $?
"working directory cannot be determined"
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_error $?
"pwd does not report name of working directory"
1305 # Find the source files, if location was not specified.
1306 if test -z "$srcdir"; then
1307 ac_srcdir_defaulted
=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir
=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314 $as_echo X"$as_myself" |
1315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1337 ac_srcdir_defaulted
=no
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1341 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1343 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1355 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 for ac_var
in $ac_precious_vars; do
1358 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1359 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1360 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1361 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1365 # Report the --help message.
1367 if test "$ac_init_help" = "long"; then
1368 # Omit some internal or obsolete options to make the list less imposing.
1369 # This message is too long to be a string in the A/UX 3.1 sh.
1371 \`configure' configures opcodes 2.44.50 to adapt to many kinds of systems.
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE. See below for descriptions of some of the useful variables.
1378 Defaults for the options are specified in brackets.
1381 -h, --help display this help and exit
1382 --help=short display options specific to this package
1383 --help=recursive display the short help of all the included packages
1384 -V, --version display version information and exit
1385 -q, --quiet, --silent do not print \`checking ...' messages
1386 --cache-file=FILE cache test results in FILE [disabled]
1387 -C, --config-cache alias for \`--cache-file=config.cache'
1388 -n, --no-create do not create output files
1389 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1391 Installation directories:
1392 --prefix=PREFIX install architecture-independent files in PREFIX
1393 [$ac_default_prefix]
1394 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1397 By default, \`make install' will install all the files in
1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400 for instance \`--prefix=\$HOME'.
1402 For better control, use the options below.
1404 Fine tuning of the installation directories:
1405 --bindir=DIR user executables [EPREFIX/bin]
1406 --sbindir=DIR system admin executables [EPREFIX/sbin]
1407 --libexecdir=DIR program executables [EPREFIX/libexec]
1408 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1409 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1410 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/opcodes]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1429 --program-prefix=PREFIX prepend PREFIX to installed program names
1430 --program-suffix=SUFFIX append SUFFIX to installed program names
1431 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1434 --build=BUILD configure
for building on BUILD
[guessed
]
1435 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1436 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1440 if test -n "$ac_init_help"; then
1441 case $ac_init_help in
1442 short | recursive
) echo "Configuration of opcodes 2.44.50:";;
1447 --disable-option-checking ignore unrecognized
--enable/--with options
1448 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1449 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1450 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1451 --disable-silent-rules verbose build output
(undo
: "make V=0")
1452 --enable-dependency-tracking
1453 do not reject slow dependency extractors
1454 --disable-dependency-tracking
1455 speeds up one-time build
1456 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1457 --enable-static[=PKGS
] build static libraries
[default
=yes]
1458 --enable-fast-install[=PKGS
]
1459 optimize
for fast installation
[default
=yes]
1460 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1461 --enable-checking enable run-time checks
1462 --enable-targets alternative target configurations
1463 --enable-werror treat compile warnings as errors
1464 --enable-build-warnings enable build-time compiler warnings
1465 --enable-maintainer-mode
1466 enable make rules and dependencies not useful
(and
1467 sometimes confusing
) to the casual installer
1468 --enable-install-libbfd controls installation of libbfd and related headers
1469 --disable-nls do not use Native Language Support
1470 --disable-rpath do not hardcode runtime library paths
1471 --enable-cgen-maint=dir build cgen generated files
1474 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1475 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1476 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1478 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1479 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1480 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1481 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1482 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1483 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1484 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1485 --with-libintl-type=TYPE
type of library to search
for (auto
/static
/shared
)
1487 Some influential environment variables
:
1488 CC C compiler
command
1489 CFLAGS C compiler flags
1490 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1491 nonstandard directory
<lib dir
>
1492 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1493 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1494 you have headers
in a nonstandard directory
<include dir
>
1497 Use these variables to override the choices made by
`configure' or to help
1498 it to find libraries and programs with nonstandard names/locations.
1500 Report bugs to the package provider.
1505 if test "$ac_init_help" = "recursive"; then
1506 # If there are subdirs, report their specific --help.
1507 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1508 test -d "$ac_dir" ||
1509 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1514 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1516 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1517 # A ".." for each directory in $ac_dir_suffix.
1518 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1519 case $ac_top_builddir_sub in
1520 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1524 ac_abs_top_builddir=$ac_pwd
1525 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1526 # for backward compatibility:
1527 ac_top_builddir=$ac_top_build_prefix
1530 .) # We are building in place.
1532 ac_top_srcdir=$ac_top_builddir_sub
1533 ac_abs_top_srcdir=$ac_pwd ;;
1534 [\\/]* | ?:[\\/]* ) # Absolute name.
1535 ac_srcdir=$srcdir$ac_dir_suffix;
1536 ac_top_srcdir=$srcdir
1537 ac_abs_top_srcdir=$srcdir ;;
1539 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1540 ac_top_srcdir=$ac_top_build_prefix$srcdir
1541 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1543 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1545 cd "$ac_dir" || { ac_status=$?; continue; }
1546 # Check for guested configure.
1547 if test -f "$ac_srcdir/configure.gnu"; then
1549 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1550 elif test -f "$ac_srcdir/configure"; then
1552 $SHELL "$ac_srcdir/configure" --help=recursive
1554 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1556 cd "$ac_pwd" || { ac_status=$?; break; }
1560 test -n "$ac_init_help" && exit $ac_status
1561 if $ac_init_version; then
1563 opcodes configure 2.44.50
1564 generated by GNU Autoconf 2.69
1566 Copyright (C) 2012 Free Software Foundation, Inc.
1567 This configure script is free software; the Free Software Foundation
1568 gives unlimited permission to copy, distribute and modify it.
1573 ## ------------------------ ##
1574 ## Autoconf initialization. ##
1575 ## ------------------------ ##
1577 # ac_fn_c_try_compile LINENO
1578 # --------------------------
1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1580 ac_fn_c_try_compile ()
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 rm -f conftest.$ac_objext
1584 if { { ac_try="$ac_compile"
1586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1587 *) ac_try_echo
=$ac_try;;
1589 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_compile") 2>conftest.err
1593 if test -s conftest.err
; then
1594 grep -v '^ *+' conftest.err
>conftest.er1
1595 cat conftest.er1
>&5
1596 mv -f conftest.er1 conftest.err
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && {
1600 test -z "$ac_c_werror_flag" ||
1601 test ! -s conftest.err
1602 } && test -s conftest.
$ac_objext; then :
1605 $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.
$ac_ext >&5
1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611 as_fn_set_status
$ac_retval
1613 } # ac_fn_c_try_compile
1615 # ac_fn_c_try_cpp LINENO
1616 # ----------------------
1617 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1620 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1621 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1624 *) ac_try_echo=$ac_try;;
1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627 $as_echo "$ac_try_echo"; } >&5
1628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1630 if test -s conftest.err; then
1631 grep -v '^ *+' conftest.err >conftest.er1
1632 cat conftest.er1 >&5
1633 mv -f conftest.er1 conftest.err
1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636 test $ac_status = 0; } > conftest.i && {
1637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1638 test ! -s conftest.err
1642 $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648 as_fn_set_status $ac_retval
1652 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1653 # -------------------------------------------------------
1654 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1655 # the include files in INCLUDES and setting the cache variable VAR
1657 ac_fn_c_check_header_mongrel ()
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 if eval \${$3+:} false; then :
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if eval \${$3+:} false; then :
1664 $as_echo_n "(cached) " >&6
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1670 # Is the header compilable?
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1672 $as_echo_n "checking $2 usability... " >&6; }
1673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674 /* end confdefs.h. */
1678 if ac_fn_c_try_compile "$LINENO"; then :
1679 ac_header_compiler=yes
1681 ac_header_compiler=no
1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1685 $as_echo "$ac_header_compiler" >&6; }
1687 # Is the header present?
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1689 $as_echo_n "checking $2 presence... " >&6; }
1690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1691 /* end confdefs.h. */
1694 if ac_fn_c_try_cpp "$LINENO"; then :
1695 ac_header_preproc=yes
1697 ac_header_preproc=no
1699 rm -f conftest.err conftest.i conftest.$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1701 $as_echo "$ac_header_preproc" >&6; }
1703 # So? What about this header?
1704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1707 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1709 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1713 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1715 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1717 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1719 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1721 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 $as_echo_n "checking for $2... " >&6; }
1726 if eval \${$3+:} false; then :
1727 $as_echo_n "(cached) " >&6
1729 eval "$3=\$ac_header_compiler"
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 } # ac_fn_c_check_header_mongrel
1739 # ac_fn_c_try_run LINENO
1740 # ----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1742 # that executables *can* be run.
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if { { ac_try="$ac_link"
1748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1749 *) ac_try_echo
=$ac_try;;
1751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_link") 2>&5
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1757 { { case "(($ac_try" in
1758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_try") 2>&5
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; }; }; then :
1769 $as_echo "$as_me: program exited with status $ac_status" >&5
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1773 ac_retval=$ac_status
1775 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 as_fn_set_status $ac_retval
1781 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1782 # -------------------------------------------------------
1783 # Tests whether HEADER exists and can be compiled using the include files in
1784 # INCLUDES, setting the cache variable VAR accordingly.
1785 ac_fn_c_check_header_compile ()
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1789 $as_echo_n "checking for $2... " >&6; }
1790 if eval \${$3+:} false; then :
1791 $as_echo_n "(cached) " >&6
1793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h. */
1798 if ac_fn_c_try_compile "$LINENO"; then :
1803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810 } # ac_fn_c_check_header_compile
1812 # ac_fn_c_try_link LINENO
1813 # -----------------------
1814 # Try to link conftest.$ac_ext, and return whether this succeeded.
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 rm -f conftest.$ac_objext conftest$ac_exeext
1819 if { { ac_try="$ac_link"
1821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1822 *) ac_try_echo
=$ac_try;;
1824 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_link") 2>conftest.err
1828 if test -s conftest.err
; then
1829 grep -v '^ *+' conftest.err
>conftest.er1
1830 cat conftest.er1
>&5
1831 mv -f conftest.er1 conftest.err
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; } && {
1835 test -z "$ac_c_werror_flag" ||
1836 test ! -s conftest.err
1837 } && test -s conftest
$ac_exeext && {
1838 test "$cross_compiling" = yes ||
1839 test -x conftest
$ac_exeext
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.
$ac_ext >&5
1848 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1849 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1850 # interfere with the next link command; also delete a directory that is
1851 # left behind by Apple's compiler. We do this before executing the actions.
1852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 as_fn_set_status
$ac_retval
1856 } # ac_fn_c_try_link
1858 # ac_fn_c_check_func LINENO FUNC VAR
1859 # ----------------------------------
1860 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1861 ac_fn_c_check_func
()
1863 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if eval \
${$3+:} false
; then :
1867 $as_echo_n "(cached) " >&6
1869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1871 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1873 #define $2 innocuous_$2
1875 /* System header to define __stub macros and hopefully few prototypes,
1876 which can conflict with char $2 (); below.
1877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1878 <limits.h> exists even on freestanding compilers. */
1881 # include <limits.h>
1883 # include <assert.h>
1888 /* Override any GCC internal prototype to avoid an error.
1889 Use char because int might match the return type of a GCC
1890 builtin and then its argument prototype would still apply. */
1895 /* The GNU C library defines this for functions which it implements
1896 to always fail with ENOSYS. Some functions are actually named
1897 something starting with __ and the normal name is an alias. */
1898 #if defined __stub_$2 || defined __stub___$2
1910 if ac_fn_c_try_link
"$LINENO"; then :
1915 rm -f core conftest.err conftest.
$ac_objext \
1916 conftest
$ac_exeext conftest.
$ac_ext
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1920 $as_echo "$ac_res" >&6; }
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 } # ac_fn_c_check_func
1925 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1926 # ---------------------------------------------
1927 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1929 ac_fn_c_check_decl
()
1931 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1932 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1933 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1935 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1936 if eval \
${$3+:} false
; then :
1937 $as_echo_n "(cached) " >&6
1939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1945 #ifndef $as_decl_name
1947 (void) $as_decl_use;
1949 (void) $as_decl_name;
1957 if ac_fn_c_try_compile
"$LINENO"; then :
1962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 } # ac_fn_c_check_decl
1970 cat >config.log
<<_ACEOF
1971 This file contains any messages produced by compilers while
1972 running configure, to aid debugging if configure makes a mistake.
1974 It was created by opcodes $as_me 2.44.50, which was
1975 generated by GNU Autoconf 2.69. Invocation command line was
1987 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1988 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1989 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1990 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1991 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1993 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1994 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1996 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1997 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1998 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1999 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2000 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2001 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2002 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir
=.
2011 $as_echo "PATH: $as_dir"
2027 # Keep a trace of the command line.
2028 # Strip out --no-create and --no-recursion so they do not pile up.
2029 # Strip out --silent because we don't want to record it for future runs.
2030 # Also quote any args containing shell meta-characters.
2031 # Make two passes to allow for proper duplicate-argument suppression.
2035 ac_must_keep_next
=false
2041 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2042 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2043 |
-silent |
--silent |
--silen |
--sile |
--sil)
2046 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2049 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2051 as_fn_append ac_configure_args1
" '$ac_arg'"
2052 if test $ac_must_keep_next = true
; then
2053 ac_must_keep_next
=false
# Got value, back to normal.
2056 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2057 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2058 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2059 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2060 case "$ac_configure_args0 " in
2061 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2064 -* ) ac_must_keep_next
=true
;;
2067 as_fn_append ac_configure_args
" '$ac_arg'"
2072 { ac_configure_args0
=; unset ac_configure_args0
;}
2073 { ac_configure_args1
=; unset ac_configure_args1
;}
2075 # When interrupted or exit'd, cleanup temporary files, and complete
2076 # config.log. We remove comments because anyway the quotes in there
2077 # would cause problems or look ugly.
2078 # WARNING: Use '\'' to represent an apostrophe within the trap.
2079 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2080 trap 'exit_status=$?
2081 # Save into config.log some information that might help in debugging.
2085 $as_echo "## ---------------- ##
2086 ## Cache variables. ##
2087 ## ---------------- ##"
2089 # The following way of writing the cache mishandles newlines in values,
2091 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2092 eval ac_val=\$$ac_var
2096 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2097 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2100 _ | IFS | as_nl) ;; #(
2101 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2102 *) { eval $ac_var=; unset $ac_var;} ;;
2107 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2108 *${as_nl}ac_space=\ *)
2110 "s/'\''/'\''\\\\'\'''\''/g;
2111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2121 $as_echo "## ----------------- ##
2122 ## Output variables. ##
2123 ## ----------------- ##"
2125 for ac_var in $ac_subst_vars
2127 eval ac_val=\$$ac_var
2129 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2131 $as_echo "$ac_var='\''$ac_val'\''"
2135 if test -n "$ac_subst_files"; then
2136 $as_echo "## ------------------- ##
2137 ## File substitutions. ##
2138 ## ------------------- ##"
2140 for ac_var
in $ac_subst_files
2142 eval ac_val
=\$
$ac_var
2144 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2146 $as_echo "$ac_var='\''$ac_val'\''"
2151 if test -s confdefs.h; then
2152 $as_echo "## ----------- ##
2159 test "$ac_signal" != 0 &&
2160 $as_echo "$as_me: caught signal $ac_signal"
2161 $as_echo "$as_me: exit $exit_status"
2163 rm -f core *.core core.conftest.* &&
2164 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2167 for ac_signal
in 1 2 13 15; do
2168 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2173 rm -f -r conftest
* confdefs.h
2175 $as_echo "/* confdefs.h */" > confdefs.h
2177 # Predefined preprocessor variables.
2179 cat >>confdefs.h
<<_ACEOF
2180 #define PACKAGE_NAME "$PACKAGE_NAME"
2183 cat >>confdefs.h
<<_ACEOF
2184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2187 cat >>confdefs.h
<<_ACEOF
2188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2191 cat >>confdefs.h
<<_ACEOF
2192 #define PACKAGE_STRING "$PACKAGE_STRING"
2195 cat >>confdefs.h
<<_ACEOF
2196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2199 cat >>confdefs.h
<<_ACEOF
2200 #define PACKAGE_URL "$PACKAGE_URL"
2204 # Let the site file select an alternate cache file if it wants to.
2205 # Prefer an explicitly selected file to automatically selected ones.
2208 if test -n "$CONFIG_SITE"; then
2209 # We do not want a PATH search for config.site.
2210 case $CONFIG_SITE in #((
2211 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2212 */*) ac_site_file1
=$CONFIG_SITE;;
2213 *) ac_site_file1
=.
/$CONFIG_SITE;;
2215 elif test "x$prefix" != xNONE
; then
2216 ac_site_file1
=$prefix/share
/config.site
2217 ac_site_file2
=$prefix/etc
/config.site
2219 ac_site_file1
=$ac_default_prefix/share
/config.site
2220 ac_site_file2
=$ac_default_prefix/etc
/config.site
2222 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2224 test "x$ac_site_file" = xNONE
&& continue
2225 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2227 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2228 sed 's/^/| /' "$ac_site_file" >&5
2230 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 as_fn_error $?
"failed to load site script $ac_site_file
2233 See \`config.log' for more details" "$LINENO" 5; }
2237 if test -r "$cache_file"; then
2238 # Some versions of bash will fail to source /dev/null (special files
2239 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2240 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2242 $as_echo "$as_me: loading cache $cache_file" >&6;}
2244 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2245 *) .
"./$cache_file";;
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2250 $as_echo "$as_me: creating cache $cache_file" >&6;}
2254 gt_needs
="$gt_needs "
2255 # Check that the precious variables saved in the cache have kept the same
2257 ac_cache_corrupted
=false
2258 for ac_var
in $ac_precious_vars; do
2259 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2260 eval ac_new_set
=\
$ac_env_${ac_var}_set
2261 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2262 eval ac_new_val
=\
$ac_env_${ac_var}_value
2263 case $ac_old_set,$ac_new_set in
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2266 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2267 ac_cache_corrupted
=: ;;
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2270 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2271 ac_cache_corrupted
=: ;;
2274 if test "x$ac_old_val" != "x$ac_new_val"; then
2275 # differences in whitespace do not lead to failure.
2276 ac_old_val_w
=`echo x $ac_old_val`
2277 ac_new_val_w
=`echo x $ac_new_val`
2278 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2280 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2281 ac_cache_corrupted
=:
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2284 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2285 eval $ac_var=\
$ac_old_val
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2288 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2290 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2293 # Pass precious variables to config.status.
2294 if test "$ac_new_set" = set; then
2296 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2297 *) ac_arg
=$ac_var=$ac_new_val ;;
2299 case " $ac_configure_args " in
2300 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2301 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2305 if $ac_cache_corrupted; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2309 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2310 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2312 ## -------------------- ##
2313 ## Main body of script. ##
2314 ## -------------------- ##
2317 ac_cpp
='$CPP $CPPFLAGS'
2318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2329 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2330 if test -f "$ac_dir/install-sh"; then
2332 ac_install_sh
="$ac_aux_dir/install-sh -c"
2334 elif test -f "$ac_dir/install.sh"; then
2336 ac_install_sh
="$ac_aux_dir/install.sh -c"
2338 elif test -f "$ac_dir/shtool"; then
2340 ac_install_sh
="$ac_aux_dir/shtool install -c"
2344 if test -z "$ac_aux_dir"; then
2345 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2348 # These three variables are undocumented and unsupported,
2349 # and are intended to be withdrawn in a future Autoconf release.
2350 # They can cause serious problems if a builder's source tree is in a directory
2351 # whose full name contains unusual characters.
2352 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2353 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2354 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2357 # Make sure we can run config.sub.
2358 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2359 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2362 $as_echo_n "checking build system type... " >&6; }
2363 if ${ac_cv_build+:} false
; then :
2364 $as_echo_n "(cached) " >&6
2366 ac_build_alias
=$build_alias
2367 test "x$ac_build_alias" = x
&&
2368 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2369 test "x$ac_build_alias" = x
&&
2370 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2371 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2372 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2376 $as_echo "$ac_cv_build" >&6; }
2377 case $ac_cv_build in
2379 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2382 ac_save_IFS
=$IFS; IFS
='-'
2388 # Remember, the first character of IFS is used to create $*,
2389 # except with old shells:
2392 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2396 $as_echo_n "checking host system type... " >&6; }
2397 if ${ac_cv_host+:} false
; then :
2398 $as_echo_n "(cached) " >&6
2400 if test "x$host_alias" = x
; then
2401 ac_cv_host
=$ac_cv_build
2403 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2404 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2409 $as_echo "$ac_cv_host" >&6; }
2412 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2415 ac_save_IFS
=$IFS; IFS
='-'
2421 # Remember, the first character of IFS is used to create $*,
2422 # except with old shells:
2425 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2429 $as_echo_n "checking target system type... " >&6; }
2430 if ${ac_cv_target+:} false
; then :
2431 $as_echo_n "(cached) " >&6
2433 if test "x$target_alias" = x
; then
2434 ac_cv_target
=$ac_cv_host
2436 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2437 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2442 $as_echo "$ac_cv_target" >&6; }
2443 case $ac_cv_target in
2445 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2447 target
=$ac_cv_target
2448 ac_save_IFS
=$IFS; IFS
='-'
2454 # Remember, the first character of IFS is used to create $*,
2455 # except with old shells:
2458 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2461 # The aliases save the names the user supplied, while $host etc.
2462 # will get canonicalized.
2463 test -n "$target_alias" &&
2464 test "$program_prefix$program_suffix$program_transform_name" = \
2466 program_prefix
=${target_alias}-
2468 am__api_version
='1.15'
2470 # Find a good install program. We prefer a C program (faster),
2471 # so one script is as good as another. But avoid the broken or
2472 # incompatible versions:
2473 # SysV /etc/install, /usr/sbin/install
2474 # SunOS /usr/etc/install
2475 # IRIX /sbin/install
2477 # AmigaOS /C/install, which installs bootblocks on floppy discs
2478 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2479 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2480 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2481 # OS/2's system install, which has a completely different semantic
2482 # ./install, which can be erroneously created by make from ./install.sh.
2483 # Reject install programs that cannot install multiple files.
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2485 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2486 if test -z "$INSTALL"; then
2487 if ${ac_cv_path_install+:} false
; then :
2488 $as_echo_n "(cached) " >&6
2490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir
=.
2495 # Account for people who put trailing slashes in PATH elements.
2496 case $as_dir/ in #((
2497 .
/ | .
// |
/[cC
]/* | \
2498 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2499 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2502 # OSF1 and SCO ODT 3.0 have their own names for install.
2503 # Don't use installbsd from OSF since it installs stuff as root
2505 for ac_prog
in ginstall scoinst
install; do
2506 for ac_exec_ext
in '' $ac_executable_extensions; do
2507 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2508 if test $ac_prog = install &&
2509 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2510 # AIX install. It has an incompatible calling convention.
2512 elif test $ac_prog = install &&
2513 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2514 # program-specific install script used by HP pwplus--don't use.
2517 rm -rf conftest.one conftest.two conftest.dir
2518 echo one
> conftest.one
2519 echo two
> conftest.two
2521 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2522 test -s conftest.one
&& test -s conftest.two
&&
2523 test -s conftest.dir
/conftest.one
&&
2524 test -s conftest.dir
/conftest.two
2526 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2539 rm -rf conftest.one conftest.two conftest.dir
2542 if test "${ac_cv_path_install+set}" = set; then
2543 INSTALL
=$ac_cv_path_install
2545 # As a last resort, use the slow shell script. Don't cache a
2546 # value for INSTALL within a source directory, because that will
2547 # break other packages using the cache if that directory is
2548 # removed, or if the value is a relative name.
2549 INSTALL
=$ac_install_sh
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2553 $as_echo "$INSTALL" >&6; }
2555 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2556 # It thinks the first close brace ends the variable substitution.
2557 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2559 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2561 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2564 $as_echo_n "checking whether build environment is sane... " >&6; }
2565 # Reject unsafe characters in $srcdir or the absolute working directory
2566 # name. Accept space and tab only in the latter.
2570 *[\\\"\
#\$\&\'\`$am_lf]*)
2571 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2574 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2575 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2578 # Do 'set' in a subshell so we don't clobber the current shell's
2579 # arguments. Must try -L first in case configure is actually a
2580 # symlink; some systems play weird games with the mod time of symlinks
2581 # (eg FreeBSD returns the mod time of the symlink's containing
2585 for am_try
in 1 2; do
2586 echo "timestamp, slept: $am_has_slept" > conftest.
file
2587 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2588 if test "$*" = "X"; then
2590 set X
`ls -t "$srcdir/configure" conftest.file`
2592 if test "$*" != "X $srcdir/configure conftest.file" \
2593 && test "$*" != "X conftest.file $srcdir/configure"; then
2595 # If neither matched, then we have a broken ls. This can happen
2596 # if, for instance, CONFIG_SHELL is bash and it inherits a
2597 # broken ls alias from the environment. This has actually
2598 # happened. Such a system could not be considered "sane".
2599 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2600 alias in your environment" "$LINENO" 5
2602 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2609 test "$2" = conftest.
file
2615 as_fn_error $?
"newly created file is older than distributed files!
2616 Check your system clock" "$LINENO" 5
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2619 $as_echo "yes" >&6; }
2620 # If we didn't sleep, we still need to ensure time stamps of config.status and
2621 # generated files are strictly newer.
2623 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2630 test "$program_prefix" != NONE
&&
2631 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2632 # Use a double $ so make ignores it.
2633 test "$program_suffix" != NONE
&&
2634 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2635 # Double any \ or $.
2636 # By default was `s,x,x', remove it if useless.
2637 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2638 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2640 # Expand $ac_aux_dir to an absolute path.
2641 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2643 if test x
"${MISSING+set}" != xset
; then
2646 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2648 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2651 # Use eval to expand $SHELL
2652 if eval "$MISSING --is-lightweight"; then
2653 am_missing_run
="$MISSING "
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2657 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2660 if test x
"${install_sh+set}" != xset
; then
2663 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2665 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2669 # Installed binaries are usually stripped using 'strip' when the user
2670 # run "make install-strip". However 'strip' might not be the right
2671 # tool to use in cross-compilation environments, therefore Automake
2672 # will honor the 'STRIP' environment variable to overrule this program.
2673 if test "$cross_compiling" != no
; then
2674 if test -n "$ac_tool_prefix"; then
2675 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2676 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678 $as_echo_n "checking for $ac_word... " >&6; }
2679 if ${ac_cv_prog_STRIP+:} false
; then :
2680 $as_echo_n "(cached) " >&6
2682 if test -n "$STRIP"; then
2683 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir
=.
2690 for ac_exec_ext
in '' $ac_executable_extensions; do
2691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2692 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 STRIP
=$ac_cv_prog_STRIP
2703 if test -n "$STRIP"; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2705 $as_echo "$STRIP" >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708 $as_echo "no" >&6; }
2713 if test -z "$ac_cv_prog_STRIP"; then
2715 # Extract the first word of "strip", so it can be a program name with args.
2716 set dummy strip
; ac_word
=$2
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2718 $as_echo_n "checking for $ac_word... " >&6; }
2719 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2720 $as_echo_n "(cached) " >&6
2722 if test -n "$ac_ct_STRIP"; then
2723 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir
=.
2730 for ac_exec_ext
in '' $ac_executable_extensions; do
2731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2732 ac_cv_prog_ac_ct_STRIP
="strip"
2733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2743 if test -n "$ac_ct_STRIP"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2745 $as_echo "$ac_ct_STRIP" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2751 if test "x$ac_ct_STRIP" = x
; then
2754 case $cross_compiling:$ac_tool_warned in
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2758 ac_tool_warned
=yes ;;
2763 STRIP
="$ac_cv_prog_STRIP"
2767 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2770 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2771 if test -z "$MKDIR_P"; then
2772 if ${ac_cv_path_mkdir+:} false
; then :
2773 $as_echo_n "(cached) " >&6
2775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2776 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2779 test -z "$as_dir" && as_dir
=.
2780 for ac_prog
in mkdir gmkdir
; do
2781 for ac_exec_ext
in '' $ac_executable_extensions; do
2782 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2783 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2784 'mkdir (GNU coreutils) '* | \
2785 'mkdir (coreutils) '* | \
2786 'mkdir (fileutils) '4.1*)
2787 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2797 test -d .
/--version && rmdir .
/--version
2798 if test "${ac_cv_path_mkdir+set}" = set; then
2799 MKDIR_P
="$ac_cv_path_mkdir -p"
2801 # As a last resort, use the slow shell script. Don't cache a
2802 # value for MKDIR_P within a source directory, because that will
2803 # break other packages using the cache if that directory is
2804 # removed, or if the value is a relative name.
2805 MKDIR_P
="$ac_install_sh -d"
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2809 $as_echo "$MKDIR_P" >&6; }
2811 for ac_prog
in gawk mawk nawk
awk
2813 # Extract the first word of "$ac_prog", so it can be a program name with args.
2814 set dummy
$ac_prog; ac_word
=$2
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if ${ac_cv_prog_AWK+:} false
; then :
2818 $as_echo_n "(cached) " >&6
2820 if test -n "$AWK"; then
2821 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir
=.
2828 for ac_exec_ext
in '' $ac_executable_extensions; do
2829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2830 ac_cv_prog_AWK
="$ac_prog"
2831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 if test -n "$AWK"; then
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2843 $as_echo "$AWK" >&6; }
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2846 $as_echo "no" >&6; }
2850 test -n "$AWK" && break
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2854 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2856 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2857 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2858 $as_echo_n "(cached) " >&6
2860 cat >conftest.
make <<\_ACEOF
2863 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2865 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2866 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2868 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2870 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2874 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2876 $as_echo "yes" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2881 SET_MAKE
="MAKE=${MAKE-make}"
2884 rm -rf .tst
2>/dev
/null
2885 mkdir .tst
2>/dev
/null
2886 if test -d .tst
; then
2891 rmdir .tst
2>/dev
/null
2893 # Check whether --enable-silent-rules was given.
2894 if test "${enable_silent_rules+set}" = set; then :
2895 enableval
=$enable_silent_rules;
2898 case $enable_silent_rules in # (((
2899 yes) AM_DEFAULT_VERBOSITY
=0;;
2900 no
) AM_DEFAULT_VERBOSITY
=1;;
2901 *) AM_DEFAULT_VERBOSITY
=1;;
2903 am_make
=${MAKE-make}
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2905 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2906 if ${am_cv_make_support_nested_variables+:} false
; then :
2907 $as_echo_n "(cached) " >&6
2909 if $as_echo 'TRUE=$(BAR$(V))
2915 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2916 am_cv_make_support_nested_variables
=yes
2918 am_cv_make_support_nested_variables
=no
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2922 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2923 if test $am_cv_make_support_nested_variables = yes; then
2925 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2927 AM_V
=$AM_DEFAULT_VERBOSITY
2928 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2932 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2933 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2934 # is not polluted with repeated "-I."
2935 am__isrc
=' -I$(srcdir)'
2936 # test to see if srcdir already configured
2937 if test -f $srcdir/config.status
; then
2938 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2942 # test whether we have cygpath
2943 if test -z "$CYGPATH_W"; then
2944 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2945 CYGPATH_W
='cygpath -w'
2952 # Define the identity of the package.
2957 cat >>confdefs.h
<<_ACEOF
2958 #define PACKAGE "$PACKAGE"
2962 cat >>confdefs.h
<<_ACEOF
2963 #define VERSION "$VERSION"
2966 # Some tools Automake needs.
2968 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2971 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2974 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2977 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2980 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2982 # For better backward compatibility. To be removed once Automake 1.9.x
2983 # dies out for good. For more background, see:
2984 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2985 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2986 mkdir_p
='$(MKDIR_P)'
2988 # We need awk for the "check" target (and possibly the TAP driver). The
2989 # system "awk" is bad on some platforms.
2990 # Always define AMTAR for backward compatibility. Yes, it's still used
2991 # in the wild :-( We should find a proper way to deprecate it ...
2995 # We'll loop over all known methods to create a tar archive until one works.
2996 _am_tools
='gnutar pax cpio none'
2998 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3005 # POSIX will say in a future version that running "rm -f" with no argument
3006 # is OK; and we want to be able to make that assumption in our Makefile
3007 # recipes. So use an aggressive probe to check that the usage we want is
3008 # actually supported "in the wild" to an acceptable degree.
3009 # See automake bug#10828.
3010 # To make any issue more visible, cause the running configure to be aborted
3011 # by default if the 'rm' program in use doesn't match our expectations; the
3012 # user can still override this though.
3013 if rm -f && rm -fr && rm -rf; then : OK
; else
3017 Your 'rm' program seems unable to run without file operands specified
3018 on the command line, even when the '-f' option is present. This is contrary
3019 to the behaviour of most rm programs out there, and not conforming with
3020 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3022 Please tell bug-automake@gnu.org about your system, including the value
3023 of your $PATH and any error possibly output before this message. This
3024 can help us improve future automake versions.
3027 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3028 echo 'Configuration will proceed anyway, since you have set the' >&2
3029 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3033 Aborting the configuration process, to ensure you take notice of the issue.
3035 You can download and install GNU coreutils to get an 'rm' implementation
3036 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3038 If you want to complete the configuration process using your problematic
3039 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3040 to "yes", and re-run configure.
3043 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3047 # Check whether --enable-silent-rules was given.
3048 if test "${enable_silent_rules+set}" = set; then :
3049 enableval
=$enable_silent_rules;
3052 case $enable_silent_rules in # (((
3053 yes) AM_DEFAULT_VERBOSITY
=0;;
3054 no
) AM_DEFAULT_VERBOSITY
=1;;
3055 *) AM_DEFAULT_VERBOSITY
=0;;
3057 am_make
=${MAKE-make}
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3059 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3060 if ${am_cv_make_support_nested_variables+:} false
; then :
3061 $as_echo_n "(cached) " >&6
3063 if $as_echo 'TRUE=$(BAR$(V))
3069 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3070 am_cv_make_support_nested_variables
=yes
3072 am_cv_make_support_nested_variables
=no
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3076 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3077 if test $am_cv_make_support_nested_variables = yes; then
3079 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3081 AM_V
=$AM_DEFAULT_VERBOSITY
3082 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3088 ac_cpp='$CPP $CPPFLAGS'
3089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3090 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3092 if test -n "$ac_tool_prefix"; then
3093 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3094 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if ${ac_cv_prog_CC+:} false; then :
3098 $as_echo_n "(cached) " >&6
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC="$CC" # Let the user override the test.
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107 test -z "$as_dir" && as_dir=.
3108 for ac_exec_ext in '' $ac_executable_extensions; do
3109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3110 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 if test -n "$CC"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123 $as_echo "$CC" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3131 if test -z "$ac_cv_prog_CC"; then
3133 # Extract the first word of "gcc", so it can be a program name with args.
3134 set dummy gcc; ac_word=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$ac_ct_CC"; then
3141 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 ac_cv_prog_ac_ct_CC="gcc"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3161 if test -n "$ac_ct_CC"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3163 $as_echo "$ac_ct_CC" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3169 if test "x$ac_ct_CC" = x; then
3172 case $cross_compiling:$ac_tool_warned in
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176 ac_tool_warned=yes ;;
3184 if test -z "$CC"; then
3185 if test -n "$ac_tool_prefix"; then
3186 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3187 set dummy ${ac_tool_prefix}cc; ac_word=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if ${ac_cv_prog_CC+:} false; then :
3191 $as_echo_n "(cached) " >&6
3193 if test -n "$CC"; then
3194 ac_cv_prog_CC="$CC" # Let the user override the test.
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir=.
3201 for ac_exec_ext in '' $ac_executable_extensions; do
3202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203 ac_cv_prog_CC="${ac_tool_prefix}cc"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 if test -n "$CC"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3216 $as_echo "$CC" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3225 if test -z "$CC"; then
3226 # Extract the first word of "cc", so it can be a program name with args.
3227 set dummy cc; 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.
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 test -z "$as_dir" && as_dir=.
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3245 ac_prog_rejected=yes
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 if test $ac_prog_rejected = yes; then
3257 # We found a bogon in the path, so make sure we never use it.
3258 set dummy $ac_cv_prog_CC
3260 if test $# != 0; then
3261 # We chose a different compiler from the bogus one.
3262 # However, it has the same basename, so the bogon will be chosen
3263 # first if we set CC to just the basename; use the full file name.
3265 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3271 if test -n "$CC"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3273 $as_echo "$CC" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3281 if test -z "$CC"; then
3282 if test -n "$ac_tool_prefix"; then
3283 for ac_prog in cl.exe
3285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if ${ac_cv_prog_CC+:} false; then :
3290 $as_echo_n "(cached) " >&6
3292 if test -n "$CC"; then
3293 ac_cv_prog_CC="$CC" # Let the user override the test.
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 if test -n "$CC"; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315 $as_echo "$CC" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3322 test -n "$CC" && break
3325 if test -z "$CC"; then
3327 for ac_prog in cl.exe
3329 # Extract the first word of "$ac_prog", so it can be a program name with args.
3330 set dummy $ac_prog; ac_word=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3334 $as_echo_n "(cached) " >&6
3336 if test -n "$ac_ct_CC"; then
3337 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir=.
3344 for ac_exec_ext in '' $ac_executable_extensions; do
3345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3346 ac_cv_prog_ac_ct_CC="$ac_prog"
3347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3357 if test -n "$ac_ct_CC"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3359 $as_echo "$ac_ct_CC" >&6; }
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3366 test -n "$ac_ct_CC" && break
3369 if test "x$ac_ct_CC" = x; then
3372 case $cross_compiling:$ac_tool_warned in
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3376 ac_tool_warned=yes ;;
3385 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3387 as_fn_error $? "no acceptable C compiler found in \$PATH
3388 See \`config.log
' for more details" "$LINENO" 5; }
3390 # Provide some information about the compiler.
3391 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3394 for ac_option in --version -v -V -qversion; do
3395 { { ac_try="$ac_compiler $ac_option >&5"
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3404 if test -s conftest.err; then
3406 ... rest of stderr output deleted ...
3407 10q
' conftest.err >conftest.er1
3408 cat conftest.er1 >&5
3410 rm -f conftest.er1 conftest.err
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3426 ac_clean_files_save=$ac_clean_files
3427 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3428 # Try to create an executable without -o first, disregard a.out.
3429 # It will help us diagnose broken compilers, and finding out an intuition
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3432 $as_echo_n "checking whether the C compiler works... " >&6; }
3433 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3435 # The possible output files:
3436 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3439 for ac_file in $ac_files
3442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3448 if { { ac_try="$ac_link_default"
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3454 $as_echo "$ac_try_echo"; } >&5
3455 (eval "$ac_link_default") 2>&5
3457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3458 test $ac_status = 0; }; then :
3459 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3460 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3461 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3462 # so that the user can short-circuit this test for compilers unknown to
3464 for ac_file
in $ac_files ''
3466 test -f "$ac_file" ||
continue
3468 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3471 # We found the default executable, but exeext='' is most
3475 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3477 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3479 # We set ac_cv_exeext here because the later test for it is not
3480 # safe: cross compilers may not add the suffix if given an `-o'
3481 # argument, so we may need to know it at that point already.
3482 # Even if this section looks crufty: it has the advantage of
3489 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3494 if test -z "$ac_file"; then :
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 $as_echo "no" >&6; }
3497 $as_echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.
$ac_ext >&5
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error
77 "C compiler cannot create executables
3503 See \`config.log' for more details" "$LINENO" 5; }
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3506 $as_echo "yes" >&6; }
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3509 $as_echo_n "checking for C compiler default output file name... " >&6; }
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3511 $as_echo "$ac_file" >&6; }
3512 ac_exeext
=$ac_cv_exeext
3514 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3515 ac_clean_files
=$ac_clean_files_save
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3517 $as_echo_n "checking for suffix of executables... " >&6; }
3518 if { { ac_try
="$ac_link"
3520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3521 *) ac_try_echo=$ac_try;;
3523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3524 $as_echo "$ac_try_echo"; } >&5
3525 (eval "$ac_link") 2>&5
3527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3528 test $ac_status = 0; }; then :
3529 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3530 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3531 # work properly (i.e., refer to `conftest.exe'), while it won't with
3533 for ac_file
in conftest.exe conftest conftest.
*; do
3534 test -f "$ac_file" ||
continue
3536 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3537 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3545 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3546 See \`config.log' for more details" "$LINENO" 5; }
3548 rm -f conftest conftest
$ac_cv_exeext
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3550 $as_echo "$ac_cv_exeext" >&6; }
3552 rm -f conftest.
$ac_ext
3553 EXEEXT
=$ac_cv_exeext
3555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3561 FILE *f = fopen ("conftest.out", "w");
3562 return ferror (f) || fclose (f) != 0;
3568 ac_clean_files
="$ac_clean_files conftest.out"
3569 # Check that the compiler produces executables we can run. If not, either
3570 # the compiler is broken, or we cross compile.
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3572 $as_echo_n "checking whether we are cross compiling... " >&6; }
3573 if test "$cross_compiling" != yes; then
3574 { { ac_try
="$ac_link"
3576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3577 *) ac_try_echo=$ac_try;;
3579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3580 $as_echo "$ac_try_echo"; } >&5
3581 (eval "$ac_link") 2>&5
3583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3584 test $ac_status = 0; }
3585 if { ac_try='./conftest$ac_cv_exeext'
3586 { { case "(($ac_try" in
3587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3588 *) ac_try_echo
=$ac_try;;
3590 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3591 $as_echo "$ac_try_echo"; } >&5
3592 (eval "$ac_try") 2>&5
3594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595 test $ac_status = 0; }; }; then
3598 if test "$cross_compiling" = maybe
; then
3601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3603 as_fn_error $?
"cannot run C compiled programs.
3604 If you meant to cross compile, use \`--host'.
3605 See \`config.log' for more details" "$LINENO" 5; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3610 $as_echo "$cross_compiling" >&6; }
3612 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3613 ac_clean_files
=$ac_clean_files_save
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3615 $as_echo_n "checking for suffix of object files... " >&6; }
3616 if ${ac_cv_objext+:} false
; then :
3617 $as_echo_n "(cached) " >&6
3619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3630 rm -f conftest.o conftest.obj
3631 if { { ac_try
="$ac_compile"
3633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3637 $as_echo "$ac_try_echo"; } >&5
3638 (eval "$ac_compile") 2>&5
3640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3641 test $ac_status = 0; }; then :
3642 for ac_file in conftest.o conftest.obj conftest.*; do
3643 test -f "$ac_file" || continue;
3645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3646 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3651 $as_echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3656 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3657 See \
`config.log' for more details" "$LINENO" 5; }
3659 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3662 $as_echo "$ac_cv_objext" >&6; }
3663 OBJEXT=$ac_cv_objext
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3666 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3667 if ${ac_cv_c_compiler_gnu+:} false; then :
3668 $as_echo_n "(cached) " >&6
3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3684 if ac_fn_c_try_compile "$LINENO"; then :
3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3690 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3694 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3695 if test $ac_compiler_gnu = yes; then
3700 ac_test_CFLAGS=${CFLAGS+set}
3701 ac_save_CFLAGS=$CFLAGS
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3703 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3704 if ${ac_cv_prog_cc_g+:} false; then :
3705 $as_echo_n "(cached) " >&6
3707 ac_save_c_werror_flag=$ac_c_werror_flag
3708 ac_c_werror_flag=yes
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3722 if ac_fn_c_try_compile "$LINENO"; then :
3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3737 if ac_fn_c_try_compile "$LINENO"; then :
3740 ac_c_werror_flag=$ac_save_c_werror_flag
3742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3753 if ac_fn_c_try_compile "$LINENO"; then :
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3761 ac_c_werror_flag=$ac_save_c_werror_flag
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3764 $as_echo "$ac_cv_prog_cc_g" >&6; }
3765 if test "$ac_test_CFLAGS" = set; then
3766 CFLAGS=$ac_save_CFLAGS
3767 elif test $ac_cv_prog_cc_g = yes; then
3768 if test "$GCC" = yes; then
3774 if test "$GCC" = yes; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3781 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3782 if ${ac_cv_prog_cc_c89+:} false; then :
3783 $as_echo_n "(cached) " >&6
3785 ac_cv_prog_cc_c89=no
3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3792 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3793 struct buf { int x; };
3794 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3795 static char *e (p, i)
3801 static char *f (char * (*g) (char **, int), char **p, ...)
3806 s = g (p, va_arg (v,int));
3811 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3812 function prototypes and stuff, but not '\xHH' hex character constants.
3813 These don't provoke an error unfortunately, instead are silently treated
3814 as 'x'. The following induces an error, until -std is added to get
3815 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3816 array size at least. It's necessary to write '\x00'==0 to get something
3817 that's true only with -std. */
3818 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3820 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3821 inside strings and character constants. */
3823 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3825 int test (int i, double x);
3826 struct s1 {int (*f) (int a);};
3827 struct s2 {int (*f) (double a);};
3828 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3834 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3839 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3840 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3842 CC="$ac_save_CC $ac_arg"
3843 if ac_fn_c_try_compile "$LINENO"; then :
3844 ac_cv_prog_cc_c89=$ac_arg
3846 rm -f core conftest.err conftest.$ac_objext
3847 test "x$ac_cv_prog_cc_c89" != "xno" && break
3849 rm -f conftest.$ac_ext
3854 case "x$ac_cv_prog_cc_c89" in
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3857 $as_echo "none needed" >&6; } ;;
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3860 $as_echo "unsupported" >&6; } ;;
3862 CC="$CC $ac_cv_prog_cc_c89"
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3864 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3866 if test "x$ac_cv_prog_cc_c89" != xno; then :
3871 ac_cpp='$CPP $CPPFLAGS'
3872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3877 ac_cpp='$CPP $CPPFLAGS'
3878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3882 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3883 if ${am_cv_prog_cc_c_o+:} false; then :
3884 $as_echo_n "(cached) " >&6
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3897 # Make sure it works both with $CC and with simple cc.
3898 # Following AC_PROG_CC_C_O, we do the test twice because some
3899 # compilers refuse to overwrite an existing .o file with -o,
3900 # though they will create one.
3901 am_cv_prog_cc_c_o=yes
3903 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3904 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } \
3908 && test -f conftest2.$ac_objext; then
3911 am_cv_prog_cc_c_o=no
3915 rm -f core conftest*
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3919 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3920 if test "$am_cv_prog_cc_c_o" != yes; then
3921 # Losing compiler, so override with the script.
3922 # FIXME: It is wrong to rewrite CC.
3923 # But if we don't then we get into trouble of one sort or another.
3924 # A longer-term fix would be to have automake use am__CC in this case,
3925 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3926 CC="$am_aux_dir/compile $CC"
3929 ac_cpp='$CPP $CPPFLAGS'
3930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3934 DEPDIR="${am__leading_dot}deps"
3936 ac_config_commands="$ac_config_commands depfiles"
3939 am_make=${MAKE-make}
3940 cat > confinc << 'END'
3942 @echo this is the am__doit target
3945 # If we don't find an include directive, just comment out the code.
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3947 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3951 # First try GNU make style include.
3952 echo "include confinc" > confmf
3953 # Ignore all kinds of additional output from 'make'.
3954 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3955 *the\ am__doit\ target*)
3961 # Now try BSD make style include.
3962 if test "$am__include" = "#"; then
3963 echo '.include "confinc"' > confmf
3964 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3965 *the\ am__doit\ target*)
3966 am__include=.include
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3975 $as_echo "$_am_result" >&6; }
3976 rm -f confinc confmf
3978 # Check whether --enable-dependency-tracking was given.
3979 if test "${enable_dependency_tracking+set}" = set; then :
3980 enableval=$enable_dependency_tracking;
3983 if test "x$enable_dependency_tracking" != xno; then
3984 am_depcomp="$ac_aux_dir/depcomp"
3988 if test "x$enable_dependency_tracking" != xno; then
3998 depcc="$CC" am_compiler_list=
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4001 $as_echo_n "checking dependency style of $depcc... " >&6; }
4002 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4003 $as_echo_n "(cached) " >&6
4005 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4006 # We make a subdir and do the tests there. Otherwise we can end up
4007 # making bogus files that we don't know about and never remove. For
4008 # instance it was reported that on HP-UX the gcc test will end up
4009 # making a dummy file named 'D' -- because '-MD' means "put the output
4013 # Copy depcomp to subdir because otherwise we won't find it if we're
4014 # using a relative directory.
4015 cp "$am_depcomp" conftest.dir
4017 # We will build objects and dependencies in a subdirectory because
4018 # it helps to detect inapplicable dependency modes. For instance
4019 # both Tru64's cc and ICC support -MD to output dependencies as a
4020 # side effect of compilation, but ICC will put the dependencies in
4021 # the current directory while Tru64 will put them in the object
4025 am_cv_CC_dependencies_compiler_type=none
4026 if test "$am_compiler_list" = ""; then
4027 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4030 case " $depcc " in #(
4031 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4034 for depmode in $am_compiler_list; do
4035 # Setup a source with many dependencies, because some compilers
4036 # like to wrap large dependency lists on column 80 (with \), and
4037 # we should not choose a depcomp mode which is confused by this.
4039 # We need to recreate these files for each test, as the compiler may
4040 # overwrite some of them when testing with obscure command lines.
4041 # This happens at least with the AIX C compiler.
4043 for i in 1 2 3 4 5 6; do
4044 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4045 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4046 # Solaris 10 /bin/sh.
4047 echo '/* dummy */' > sub/conftst$i.h
4049 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4051 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4052 # mode. It turns out that the SunPro C++ compiler does not properly
4053 # handle '-M -o', and we need to detect this. Also, some Intel
4054 # versions had trouble with output in subdirs.
4055 am__obj=sub/conftest.${OBJEXT-o}
4056 am__minus_obj="-o $am__obj"
4059 # This depmode causes a compiler race in universal mode.
4060 test "$am__universal" = false || continue
4063 # After this tag, mechanisms are not by side-effect, so they'll
4064 # only be used when explicitly requested.
4065 if test "x$enable_dependency_tracking" = xyes; then
4071 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4072 # This compiler won't grok '-c -o', but also, the minuso test has
4073 # not run yet. These depmodes are late enough in the game, and
4074 # so weak that their functioning should not be impacted.
4075 am__obj=conftest.${OBJEXT-o}
4080 if depmode=$depmode \
4081 source=sub/conftest.c object=$am__obj \
4082 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4083 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4084 >/dev/null 2>conftest.err &&
4085 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4086 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4087 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4088 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4089 # icc doesn't choke on unknown options, it will just issue warnings
4090 # or remarks (even with -Werror). So we grep stderr for any message
4091 # that says an option was ignored or not supported.
4092 # When given -MP, icc 7.0 and 7.1 complain thusly:
4093 # icc: Command line warning: ignoring option '-M'; no argument required
4094 # The diagnosis changed in icc 8.0:
4095 # icc: Command line remark: option '-MP' not supported
4096 if (grep 'ignoring option' conftest.err ||
4097 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4098 am_cv_CC_dependencies_compiler_type=$depmode
4107 am_cv_CC_dependencies_compiler_type=none
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4112 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4113 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4116 test "x$enable_dependency_tracking" != xno \
4117 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4119 am__fastdepCC_FALSE='#'
4121 am__fastdepCC_TRUE='#'
4122 am__fastdepCC_FALSE=
4128 ac_cpp='$CPP $CPPFLAGS'
4129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4133 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4134 # On Suns, sometimes $CPP names a directory.
4135 if test -n "$CPP" && test -d "$CPP"; then
4138 if test -z "$CPP"; then
4139 if ${ac_cv_prog_CPP+:} false; then :
4140 $as_echo_n "(cached) " >&6
4142 # Double quotes because CPP needs to be expanded
4143 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
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 :
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4203 $as_echo "$CPP" >&6; }
4205 for ac_c_preproc_warn_flag
in '' yes
4207 # Use a header file that comes with gcc, so configuring glibc
4208 # with a fresh cross-compiler works.
4209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4210 # <limits.h> exists even on freestanding compilers.
4211 # On the NeXT, cc -E runs the code through the compiler's parser,
4212 # not just through cpp. "Syntax error" is here to catch this case.
4213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4216 # include <limits.h>
4218 # include <assert.h>
4222 if ac_fn_c_try_cpp
"$LINENO"; then :
4225 # Broken: fails on valid input.
4228 rm -f conftest.err conftest.i conftest.
$ac_ext
4230 # OK, works on sane cases. Now check whether nonexistent headers
4231 # can be detected and how.
4232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4234 #include <ac_nonexistent.h>
4236 if ac_fn_c_try_cpp
"$LINENO"; then :
4237 # Broken: success on invalid input.
4240 # Passes both tests.
4244 rm -f conftest.err conftest.i conftest.
$ac_ext
4247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4248 rm -f conftest.i conftest.err conftest.
$ac_ext
4249 if $ac_preproc_ok; then :
4252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4254 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4255 See \`config.log' for more details" "$LINENO" 5; }
4259 ac_cpp
='$CPP $CPPFLAGS'
4260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4266 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4267 if ${ac_cv_path_GREP+:} false
; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -z "$GREP"; then
4271 ac_path_GREP_found
=false
4272 # Loop through the user's path and test for each of PROGNAME-LIST
4273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4274 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4277 test -z "$as_dir" && as_dir
=.
4278 for ac_prog
in grep ggrep
; do
4279 for ac_exec_ext
in '' $ac_executable_extensions; do
4280 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4281 as_fn_executable_p
"$ac_path_GREP" ||
continue
4282 # Check for GNU ac_path_GREP and select it if it is found.
4283 # Check for GNU $ac_path_GREP
4284 case `"$ac_path_GREP" --version 2>&1` in
4286 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4289 $as_echo_n 0123456789 >"conftest.in"
4292 cat "conftest.in" "conftest.in" >"conftest.tmp"
4293 mv "conftest.tmp" "conftest.in"
4294 cp "conftest.in" "conftest.nl"
4295 $as_echo 'GREP' >> "conftest.nl"
4296 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4297 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4298 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4299 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4300 # Best one so far, save it but keep looking for a better one
4301 ac_cv_path_GREP
="$ac_path_GREP"
4302 ac_path_GREP_max
=$ac_count
4304 # 10*(2^10) chars as input seems more than enough
4305 test $ac_count -gt 10 && break
4307 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4310 $ac_path_GREP_found && break 3
4315 if test -z "$ac_cv_path_GREP"; then
4316 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4319 ac_cv_path_GREP
=$GREP
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4324 $as_echo "$ac_cv_path_GREP" >&6; }
4325 GREP
="$ac_cv_path_GREP"
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4329 $as_echo_n "checking for egrep... " >&6; }
4330 if ${ac_cv_path_EGREP+:} false
; then :
4331 $as_echo_n "(cached) " >&6
4333 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4334 then ac_cv_path_EGREP
="$GREP -E"
4336 if test -z "$EGREP"; then
4337 ac_path_EGREP_found
=false
4338 # Loop through the user's path and test for each of PROGNAME-LIST
4339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4340 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4343 test -z "$as_dir" && as_dir
=.
4344 for ac_prog
in egrep; do
4345 for ac_exec_ext
in '' $ac_executable_extensions; do
4346 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4347 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4348 # Check for GNU ac_path_EGREP and select it if it is found.
4349 # Check for GNU $ac_path_EGREP
4350 case `"$ac_path_EGREP" --version 2>&1` in
4352 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4355 $as_echo_n 0123456789 >"conftest.in"
4358 cat "conftest.in" "conftest.in" >"conftest.tmp"
4359 mv "conftest.tmp" "conftest.in"
4360 cp "conftest.in" "conftest.nl"
4361 $as_echo 'EGREP' >> "conftest.nl"
4362 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4363 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4364 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4365 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4366 # Best one so far, save it but keep looking for a better one
4367 ac_cv_path_EGREP
="$ac_path_EGREP"
4368 ac_path_EGREP_max
=$ac_count
4370 # 10*(2^10) chars as input seems more than enough
4371 test $ac_count -gt 10 && break
4373 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4376 $ac_path_EGREP_found && break 3
4381 if test -z "$ac_cv_path_EGREP"; then
4382 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4385 ac_cv_path_EGREP
=$EGREP
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4391 $as_echo "$ac_cv_path_EGREP" >&6; }
4392 EGREP
="$ac_cv_path_EGREP"
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4396 $as_echo_n "checking for ANSI C header files... " >&6; }
4397 if ${ac_cv_header_stdc+:} false
; then :
4398 $as_echo_n "(cached) " >&6
4400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4415 if ac_fn_c_try_compile
"$LINENO"; then :
4416 ac_cv_header_stdc
=yes
4418 ac_cv_header_stdc
=no
4420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4422 if test $ac_cv_header_stdc = yes; then
4423 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4430 $EGREP "memchr" >/dev
/null
2>&1; then :
4433 ac_cv_header_stdc
=no
4439 if test $ac_cv_header_stdc = yes; then
4440 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4442 /* end confdefs.h. */
4446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4447 $EGREP "free" >/dev
/null
2>&1; then :
4450 ac_cv_header_stdc
=no
4456 if test $ac_cv_header_stdc = yes; then
4457 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4458 if test "$cross_compiling" = yes; then :
4461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4465 #if ((' ' & 0x0FF) == 0x020)
4466 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4467 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4469 # define ISLOWER(c) \
4470 (('a' <= (c) && (c) <= 'i') \
4471 || ('j' <= (c) && (c) <= 'r') \
4472 || ('s' <= (c) && (c) <= 'z'))
4473 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4476 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4481 for (i = 0; i < 256; i++)
4482 if (XOR (islower (i), ISLOWER (i))
4483 || toupper (i) != TOUPPER (i))
4488 if ac_fn_c_try_run
"$LINENO"; then :
4491 ac_cv_header_stdc
=no
4493 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4494 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4500 $as_echo "$ac_cv_header_stdc" >&6; }
4501 if test $ac_cv_header_stdc = yes; then
4503 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4507 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4508 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4509 inttypes.h stdint.h unistd.h
4511 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4512 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4514 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4515 cat >>confdefs.h
<<_ACEOF
4516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4525 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4526 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4533 if test "$MINIX" = yes; then
4535 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4538 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4541 $as_echo "#define _MINIX 1" >>confdefs.h
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4547 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4548 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4549 $as_echo_n "(cached) " >&6
4551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4554 # define __EXTENSIONS__ 1
4555 $ac_includes_default
4564 if ac_fn_c_try_compile
"$LINENO"; then :
4565 ac_cv_safe_to_define___extensions__
=yes
4567 ac_cv_safe_to_define___extensions__
=no
4569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4572 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4573 test $ac_cv_safe_to_define___extensions__ = yes &&
4574 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4576 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4578 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4580 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4582 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4586 if test -n "$ac_tool_prefix"; then
4587 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4588 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 $as_echo_n "checking for $ac_word... " >&6; }
4591 if ${ac_cv_prog_AR+:} false
; then :
4592 $as_echo_n "(cached) " >&6
4594 if test -n "$AR"; then
4595 ac_cv_prog_AR
="$AR" # Let the user override the test.
4597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4601 test -z "$as_dir" && as_dir
=.
4602 for ac_exec_ext
in '' $ac_executable_extensions; do
4603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4615 if test -n "$AR"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4617 $as_echo "$AR" >&6; }
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4625 if test -z "$ac_cv_prog_AR"; then
4627 # Extract the first word of "ar", so it can be a program name with args.
4628 set dummy
ar; ac_word
=$2
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630 $as_echo_n "checking for $ac_word... " >&6; }
4631 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4632 $as_echo_n "(cached) " >&6
4634 if test -n "$ac_ct_AR"; then
4635 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir
=.
4642 for ac_exec_ext
in '' $ac_executable_extensions; do
4643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4644 ac_cv_prog_ac_ct_AR
="ar"
4645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4655 if test -n "$ac_ct_AR"; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4657 $as_echo "$ac_ct_AR" >&6; }
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 $as_echo "no" >&6; }
4663 if test "x$ac_ct_AR" = x
; then
4666 case $cross_compiling:$ac_tool_warned in
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4670 ac_tool_warned
=yes ;;
4678 if test -n "$ac_tool_prefix"; then
4679 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4680 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_RANLIB+:} false
; then :
4684 $as_echo_n "(cached) " >&6
4686 if test -n "$RANLIB"; then
4687 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir
=.
4694 for ac_exec_ext
in '' $ac_executable_extensions; do
4695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 RANLIB
=$ac_cv_prog_RANLIB
4707 if test -n "$RANLIB"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4709 $as_echo "$RANLIB" >&6; }
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4717 if test -z "$ac_cv_prog_RANLIB"; then
4718 ac_ct_RANLIB
=$RANLIB
4719 # Extract the first word of "ranlib", so it can be a program name with args.
4720 set dummy ranlib
; ac_word
=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$ac_ct_RANLIB"; then
4727 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir
=.
4734 for ac_exec_ext
in '' $ac_executable_extensions; do
4735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4736 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4747 if test -n "$ac_ct_RANLIB"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4749 $as_echo "$ac_ct_RANLIB" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4755 if test "x$ac_ct_RANLIB" = x
; then
4758 case $cross_compiling:$ac_tool_warned in
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4762 ac_tool_warned
=yes ;;
4764 RANLIB
=$ac_ct_RANLIB
4767 RANLIB
="$ac_cv_prog_RANLIB"
4771 # Check whether --enable-shared was given.
4772 if test "${enable_shared+set}" = set; then :
4773 enableval
=$enable_shared; p
=${PACKAGE-default}
4775 yes) enable_shared
=yes ;;
4776 no
) enable_shared
=no
;;
4779 # Look at the argument we got. We use all the common list separators.
4780 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4781 for pkg
in $enableval; do
4783 if test "X$pkg" = "X$p"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4806 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4811 macro_version
='2.2.7a'
4812 macro_revision
='1.3134'
4826 ltmain
="$ac_aux_dir/ltmain.sh"
4828 # Backslashify metacharacters that are still active within
4829 # double-quoted strings.
4830 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4832 # Same as above, but do not quote variable references.
4833 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4835 # Sed substitution to delay expansion of an escaped shell variable in a
4836 # double_quote_subst'ed string.
4837 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4839 # Sed substitution to delay expansion of an escaped single quote.
4840 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4842 # Sed substitution to avoid accidental globbing in evaled expressions
4843 no_glob_subst
='s/\*/\\\*/g'
4845 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4846 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4847 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4850 $as_echo_n "checking how to print strings... " >&6; }
4851 # Test print first, because it will be a builtin if present.
4852 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4853 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4855 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4858 # Use this function as a fallback that always works.
4859 func_fallback_echo ()
4861 eval 'cat <<_LTECHO_EOF
4865 ECHO='func_fallback_echo
'
4868 # func_echo_all arg...
4869 # Invoke $ECHO with all args, space-separated.
4876 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4877 $as_echo "printf" >&6; } ;;
4878 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4879 $as_echo "print -r" >&6; } ;;
4880 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4881 $as_echo "cat" >&6; } ;;
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4898 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4899 if ${ac_cv_path_SED+:} false; then :
4900 $as_echo_n "(cached) " >&6
4902 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4903 for ac_i in 1 2 3 4 5 6 7; do
4904 ac_script="$ac_script$as_nl$ac_script"
4906 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4907 { ac_script=; unset ac_script;}
4908 if test -z "$SED"; then
4909 ac_path_SED_found=false
4910 # Loop through the user's path and
test for each of PROGNAME-LIST
4911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4915 test -z "$as_dir" && as_dir
=.
4916 for ac_prog
in sed gsed
; do
4917 for ac_exec_ext
in '' $ac_executable_extensions; do
4918 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4919 as_fn_executable_p
"$ac_path_SED" ||
continue
4920 # Check for GNU ac_path_SED and select it if it is found.
4921 # Check for GNU $ac_path_SED
4922 case `"$ac_path_SED" --version 2>&1` in
4924 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4927 $as_echo_n 0123456789 >"conftest.in"
4930 cat "conftest.in" "conftest.in" >"conftest.tmp"
4931 mv "conftest.tmp" "conftest.in"
4932 cp "conftest.in" "conftest.nl"
4933 $as_echo '' >> "conftest.nl"
4934 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4935 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4936 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4937 if test $ac_count -gt ${ac_path_SED_max-0}; then
4938 # Best one so far, save it but keep looking for a better one
4939 ac_cv_path_SED
="$ac_path_SED"
4940 ac_path_SED_max
=$ac_count
4942 # 10*(2^10) chars as input seems more than enough
4943 test $ac_count -gt 10 && break
4945 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4948 $ac_path_SED_found && break 3
4953 if test -z "$ac_cv_path_SED"; then
4954 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4962 $as_echo "$ac_cv_path_SED" >&6; }
4963 SED
="$ac_cv_path_SED"
4966 test -z "$SED" && SED
=sed
4967 Xsed
="$SED -e 1s/^X//"
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4980 $as_echo_n "checking for fgrep... " >&6; }
4981 if ${ac_cv_path_FGREP+:} false
; then :
4982 $as_echo_n "(cached) " >&6
4984 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4985 then ac_cv_path_FGREP
="$GREP -F"
4987 if test -z "$FGREP"; then
4988 ac_path_FGREP_found
=false
4989 # Loop through the user's path and test for each of PROGNAME-LIST
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4991 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_prog
in fgrep
; do
4996 for ac_exec_ext
in '' $ac_executable_extensions; do
4997 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4998 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4999 # Check for GNU ac_path_FGREP and select it if it is found.
5000 # Check for GNU $ac_path_FGREP
5001 case `"$ac_path_FGREP" --version 2>&1` in
5003 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5006 $as_echo_n 0123456789 >"conftest.in"
5009 cat "conftest.in" "conftest.in" >"conftest.tmp"
5010 mv "conftest.tmp" "conftest.in"
5011 cp "conftest.in" "conftest.nl"
5012 $as_echo 'FGREP' >> "conftest.nl"
5013 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5014 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5015 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5016 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5017 # Best one so far, save it but keep looking for a better one
5018 ac_cv_path_FGREP
="$ac_path_FGREP"
5019 ac_path_FGREP_max
=$ac_count
5021 # 10*(2^10) chars as input seems more than enough
5022 test $ac_count -gt 10 && break
5024 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5027 $ac_path_FGREP_found && break 3
5032 if test -z "$ac_cv_path_FGREP"; then
5033 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5036 ac_cv_path_FGREP
=$FGREP
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5042 $as_echo "$ac_cv_path_FGREP" >&6; }
5043 FGREP
="$ac_cv_path_FGREP"
5046 test -z "$GREP" && GREP
=grep
5066 # Check whether --with-gnu-ld was given.
5067 if test "${with_gnu_ld+set}" = set; then :
5068 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5074 if test "$GCC" = yes; then
5075 # Check if gcc -print-prog-name=ld gives a path.
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5077 $as_echo_n "checking for ld used by $CC... " >&6; }
5080 # gcc leaves a trailing carriage return which upsets mingw
5081 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5083 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5086 # Accept absolute paths.
5088 re_direlt
='/[^/][^/]*/\.\./'
5089 # Canonicalize the pathname of ld
5090 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5091 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5092 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5094 test -z "$LD" && LD
="$ac_prog"
5097 # If it fails, then pretend we aren't using GCC.
5101 # If it is relative, then search for the first ld in PATH.
5105 elif test "$with_gnu_ld" = yes; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5107 $as_echo_n "checking for GNU ld... " >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5110 $as_echo_n "checking for non-GNU ld... " >&6; }
5112 if ${lt_cv_path_LD+:} false
; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -z "$LD"; then
5116 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5117 for ac_dir
in $PATH; do
5119 test -z "$ac_dir" && ac_dir
=.
5120 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5121 lt_cv_path_LD
="$ac_dir/$ac_prog"
5122 # Check to see if the program is GNU ld. I'd rather use --version,
5123 # but apparently some variants of GNU ld only accept -v.
5124 # Break only if it was the GNU/non-GNU ld that we prefer.
5125 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5126 *GNU
* |
*'with BFD'*)
5127 test "$with_gnu_ld" != no
&& break
5130 test "$with_gnu_ld" != yes && break
5137 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5142 if test -n "$LD"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5144 $as_echo "$LD" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5149 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5151 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5152 if ${lt_cv_prog_gnu_ld+:} false
; then :
5153 $as_echo_n "(cached) " >&6
5155 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5156 case `$LD -v 2>&1 </dev/null` in
5157 *GNU
* |
*'with BFD'*)
5158 lt_cv_prog_gnu_ld
=yes
5161 lt_cv_prog_gnu_ld
=no
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5166 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5167 with_gnu_ld
=$lt_cv_prog_gnu_ld
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5178 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5179 if ${lt_cv_path_NM+:} false
; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$NM"; then
5183 # Let the user override the nm to test.
5184 lt_nm_to_check
="$NM"
5186 lt_nm_to_check
="${ac_tool_prefix}nm"
5187 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5188 lt_nm_to_check
="$lt_nm_to_check nm"
5191 for lt_tmp_nm
in "$lt_nm_to_check"; do
5192 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5193 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5195 test -z "$ac_dir" && ac_dir
=.
5196 # Strip out any user-provided options from the nm to test twice,
5197 # the first time to test to see if nm (rather than its options) has
5198 # an explicit path, the second time to yield a file which can be
5200 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5201 case "$tmp_nm_path" in
5202 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5203 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5205 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5206 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5207 # Check to see if the nm accepts a BSD-compat flag.
5208 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5209 # nm: unknown option "B" ignored
5210 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5211 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5215 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5217 lt_cv_path_NM
="$tmp_nm -p"
5221 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5222 continue # so that we can try to find one that supports BSD flags
5231 : ${lt_cv_path_NM=no}
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5234 $as_echo "$lt_cv_path_NM" >&6; }
5235 if test "$lt_cv_path_NM" != "no"; then
5238 # Didn't find any BSD compatible name lister, look for dumpbin.
5239 if test -n "$DUMPBIN"; then :
5240 # Let the user override the test.
5242 if test -n "$ac_tool_prefix"; then
5243 for ac_prog
in dumpbin
"link -dump"
5245 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5246 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$DUMPBIN"; then
5253 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 DUMPBIN
=$ac_cv_prog_DUMPBIN
5273 if test -n "$DUMPBIN"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5275 $as_echo "$DUMPBIN" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5282 test -n "$DUMPBIN" && break
5285 if test -z "$DUMPBIN"; then
5286 ac_ct_DUMPBIN
=$DUMPBIN
5287 for ac_prog
in dumpbin
"link -dump"
5289 # Extract the first word of "$ac_prog", so it can be a program name with args.
5290 set dummy
$ac_prog; ac_word
=$2
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5292 $as_echo_n "checking for $ac_word... " >&6; }
5293 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5294 $as_echo_n "(cached) " >&6
5296 if test -n "$ac_ct_DUMPBIN"; then
5297 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5303 test -z "$as_dir" && as_dir
=.
5304 for ac_exec_ext
in '' $ac_executable_extensions; do
5305 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5306 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5317 if test -n "$ac_ct_DUMPBIN"; then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5319 $as_echo "$ac_ct_DUMPBIN" >&6; }
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322 $as_echo "no" >&6; }
5326 test -n "$ac_ct_DUMPBIN" && break
5329 if test "x$ac_ct_DUMPBIN" = x
; then
5332 case $cross_compiling:$ac_tool_warned in
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5336 ac_tool_warned
=yes ;;
5338 DUMPBIN
=$ac_ct_DUMPBIN
5342 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5344 DUMPBIN
="$DUMPBIN -symbols"
5352 if test "$DUMPBIN" != ":"; then
5356 test -z "$NM" && NM
=nm
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5364 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5365 if ${lt_cv_nm_interface+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 lt_cv_nm_interface
="BSD nm"
5369 echo "int some_variable = 0;" > conftest.
$ac_ext
5370 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5371 (eval "$ac_compile" 2>conftest.err
)
5372 cat conftest.err
>&5
5373 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5374 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5375 cat conftest.err
>&5
5376 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5377 cat conftest.out
>&5
5378 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5379 lt_cv_nm_interface
="MS dumpbin"
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5384 $as_echo "$lt_cv_nm_interface" >&6; }
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5387 $as_echo_n "checking whether ln -s works... " >&6; }
5389 if test "$LN_S" = "ln -s"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5391 $as_echo "yes" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5394 $as_echo "no, using $LN_S" >&6; }
5397 # find the maximum length of command line arguments
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5399 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5400 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5401 $as_echo_n "(cached) " >&6
5408 # On DJGPP, this test can blow up pretty badly due to problems in libc
5409 # (any single argument exceeding 2000 bytes causes a buffer overrun
5410 # during glob expansion). Even if it were fixed, the result of this
5411 # check would be larger than it should be.
5412 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5416 # Under GNU Hurd, this test is not required because there is
5417 # no limit to the length of command line arguments.
5418 # Libtool will interpret -1 as no limit whatsoever
5419 lt_cv_sys_max_cmd_len
=-1;
5422 cygwin
* | mingw
* | cegcc
*)
5423 # On Win9x/ME, this test blows up -- it succeeds, but takes
5424 # about 5 minutes as the teststring grows exponentially.
5425 # Worse, since 9x/ME are not pre-emptively multitasking,
5426 # you end up with a "frozen" computer, even though with patience
5427 # the test eventually succeeds (with a max line length of 256k).
5428 # Instead, let's just punt: use the minimum linelength reported by
5429 # all of the supported platforms: 8192 (on NT/2K/XP).
5430 lt_cv_sys_max_cmd_len
=8192;
5434 # On MiNT this can take a long time and run out of memory.
5435 lt_cv_sys_max_cmd_len
=8192;
5439 # On AmigaOS with pdksh, this test takes hours, literally.
5440 # So we just punt and use a minimum line length of 8192.
5441 lt_cv_sys_max_cmd_len
=8192;
5444 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5445 # This has been around since 386BSD, at least. Likely further.
5446 if test -x /sbin
/sysctl
; then
5447 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5448 elif test -x /usr
/sbin
/sysctl
; then
5449 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5451 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5453 # And add a safety zone
5454 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5455 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5459 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5460 lt_cv_sys_max_cmd_len
=196608
5464 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5465 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5466 # nice to cause kernel panics so lets avoid the loop below.
5467 # First set a reasonable default.
5468 lt_cv_sys_max_cmd_len
=16384
5470 if test -x /sbin
/sysconfig
; then
5471 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5472 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5477 lt_cv_sys_max_cmd_len
=102400
5479 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5480 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5481 if test -n "$kargmax"; then
5482 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5484 lt_cv_sys_max_cmd_len
=32768
5488 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5489 if test -n "$lt_cv_sys_max_cmd_len"; then
5490 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5491 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5493 # Make teststring a little bigger before we do anything with it.
5494 # a 1K string should be a reasonable start.
5495 for i
in 1 2 3 4 5 6 7 8 ; do
5496 teststring
=$teststring$teststring
5498 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5499 # If test is not a shell built-in, we'll probably end up computing a
5500 # maximum length that is only half of the actual maximum length, but
5502 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5503 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5504 test $i != 17 # 1/2 MB should be enough
5507 teststring
=$teststring$teststring
5509 # Only check the string length outside the loop.
5510 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5512 # Add a significant safety factor because C++ compilers can tack on
5513 # massive amounts of additional arguments before passing them to the
5514 # linker. It appears as though 1/2 is a usable value.
5515 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5522 if test -n $lt_cv_sys_max_cmd_len ; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5524 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5527 $as_echo "none" >&6; }
5529 max_cmd_len
=$lt_cv_sys_max_cmd_len
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5541 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5542 # Try some XSI features
5545 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5547 && eval 'test $(( 1 + 1 )) -eq 2 \
5548 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5551 $as_echo "$xsi_shell" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5555 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5557 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5559 && lt_shell_append=yes
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5561 $as_echo "$lt_shell_append" >&6; }
5564 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5574 # test EBCDIC or ASCII
5575 case `echo X|tr X '\101'` in
5576 A) # ASCII based system
5577 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5578 lt_SP2NL='tr \040 \012'
5579 lt_NL2SP='tr \015\012 \040\040'
5581 *) # EBCDIC based system
5582 lt_SP2NL='tr \100 \n'
5583 lt_NL2SP='tr \r\n \100\100'
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5596 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5597 if ${lt_cv_ld_reload_flag+:} false; then :
5598 $as_echo_n "(cached
) " >&6
5600 lt_cv_ld_reload_flag='-r'
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5603 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5604 reload_flag=$lt_cv_ld_reload_flag
5605 case $reload_flag in
5607 *) reload_flag=" $reload_flag" ;;
5609 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5612 if test "$GCC" = yes; then
5613 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5615 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5628 if test -n "$ac_tool_prefix"; then
5629 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5630 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5632 $as_echo_n "checking
for $ac_word...
" >&6; }
5633 if ${ac_cv_prog_OBJDUMP+:} false; then :
5634 $as_echo_n "(cached
) " >&6
5636 if test -n "$OBJDUMP"; then
5637 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 test -z "$as_dir" && as_dir=.
5644 for ac_exec_ext in '' $ac_executable_extensions; do
5645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5646 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5656 OBJDUMP=$ac_cv_prog_OBJDUMP
5657 if test -n "$OBJDUMP"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5659 $as_echo "$OBJDUMP" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5662 $as_echo "no
" >&6; }
5667 if test -z "$ac_cv_prog_OBJDUMP"; then
5668 ac_ct_OBJDUMP=$OBJDUMP
5669 # Extract the first word of "objdump
", so it can be a program name with args.
5670 set dummy objdump; ac_word=$2
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5672 $as_echo_n "checking
for $ac_word...
" >&6; }
5673 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5674 $as_echo_n "(cached
) " >&6
5676 if test -n "$ac_ct_OBJDUMP"; then
5677 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5683 test -z "$as_dir" && as_dir=.
5684 for ac_exec_ext in '' $ac_executable_extensions; do
5685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5696 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5697 if test -n "$ac_ct_OBJDUMP"; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5699 $as_echo "$ac_ct_OBJDUMP" >&6; }
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5702 $as_echo "no
" >&6; }
5705 if test "x
$ac_ct_OBJDUMP" = x; then
5708 case $cross_compiling:$ac_tool_warned in
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5711 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5712 ac_tool_warned=yes ;;
5714 OBJDUMP=$ac_ct_OBJDUMP
5717 OBJDUMP="$ac_cv_prog_OBJDUMP"
5720 test -z "$OBJDUMP" && OBJDUMP=objdump
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5731 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5732 if ${lt_cv_deplibs_check_method+:} false; then :
5733 $as_echo_n "(cached
) " >&6
5735 lt_cv_file_magic_cmd='$MAGIC_CMD'
5736 lt_cv_file_magic_test_file=
5737 lt_cv_deplibs_check_method='unknown'
5738 # Need to set the preceding variable on all platforms that support
5739 # interlibrary dependencies.
5740 # 'none' -- dependencies not supported.
5741 # `unknown' -- same as none, but documents that we really don't know.
5742 # 'pass_all' -- all dependencies passed with no checks.
5743 # 'test_compile' -- check by making test program.
5744 # 'file_magic [[regex]]' -- check by looking for files in library path
5745 # which responds to the $file_magic_cmd with a given extended regex.
5746 # If you have `file' or equivalent on your system and you're not sure
5747 # whether `pass_all' will *always* work, you probably want this one.
5751 lt_cv_deplibs_check_method=pass_all
5755 lt_cv_deplibs_check_method=pass_all
5759 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5760 lt_cv_file_magic_cmd='/usr/bin/file -L'
5761 lt_cv_file_magic_test_file=/shlib/libc.so
5765 # func_win32_libid is a shell function defined in ltmain.sh
5766 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5767 lt_cv_file_magic_cmd='func_win32_libid'
5771 # Base MSYS/MinGW do not provide the 'file' command needed by
5772 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5773 # unless we find 'file', for example because we are cross-compiling.
5774 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5775 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5776 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5777 lt_cv_file_magic_cmd='func_win32_libid'
5779 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5780 lt_cv_file_magic_cmd='$OBJDUMP -f'
5785 # use the weaker test based on 'objdump'. See mingw*.
5786 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5787 lt_cv_file_magic_cmd='$OBJDUMP -f'
5790 darwin* | rhapsody*)
5791 lt_cv_deplibs_check_method=pass_all
5794 freebsd* | dragonfly*)
5795 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5798 # Not sure whether the presence of OpenBSD here was a mistake.
5799 # Let's accept both of them until this is cleared up.
5800 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5801 lt_cv_file_magic_cmd=/usr/bin/file
5802 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5806 lt_cv_deplibs_check_method=pass_all
5811 lt_cv_deplibs_check_method=pass_all
5815 lt_cv_deplibs_check_method=pass_all
5818 hpux10.20* | hpux11*)
5819 lt_cv_file_magic_cmd=/usr/bin/file
5822 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5823 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5826 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]'
5827 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5830 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5831 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5837 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5838 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5841 irix5* | irix6* | nonstopux*)
5843 *-32|*"-32 ") libmagic=32-bit;;
5844 *-n32|*"-n32 ") libmagic=N32;;
5845 *-64|*"-64 ") libmagic=64-bit;;
5846 *) libmagic=never-match;;
5848 lt_cv_deplibs_check_method=pass_all
5851 # This must be Linux ELF.
5852 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
5853 lt_cv_deplibs_check_method=pass_all
5857 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5858 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5860 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5865 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5866 lt_cv_file_magic_cmd=/usr/bin/file
5867 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5871 lt_cv_deplibs_check_method=pass_all
5875 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5876 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5878 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5882 osf3* | osf4* | osf5*)
5883 lt_cv_deplibs_check_method=pass_all
5887 lt_cv_deplibs_check_method=pass_all
5891 lt_cv_deplibs_check_method=pass_all
5894 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5895 lt_cv_deplibs_check_method=pass_all
5899 case $host_vendor in
5901 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]'
5902 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5905 lt_cv_deplibs_check_method=pass_all
5908 lt_cv_file_magic_cmd='/bin/file'
5909 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5912 lt_cv_file_magic_cmd='/bin/file'
5913 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5914 lt_cv_file_magic_test_file=/lib/libc.so
5917 lt_cv_deplibs_check_method=pass_all
5920 lt_cv_deplibs_check_method=pass_all
5926 lt_cv_deplibs_check_method=pass_all
5929 # Assume VxWorks cross toolchains are built on Linux, possibly
5930 # as canadian for Windows hosts.
5931 lt_cv_deplibs_check_method=pass_all
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5937 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5938 file_magic_cmd=$lt_cv_file_magic_cmd
5939 deplibs_check_method=$lt_cv_deplibs_check_method
5940 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5954 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
5955 for plugin in $plugin_names; do
5956 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
5957 if test x$plugin_so = x$plugin; then
5958 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
5960 if test x$plugin_so != x$plugin; then
5961 plugin_option="--plugin $plugin_so"
5966 if test -n "$ac_tool_prefix"; then
5967 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5968 set dummy ${ac_tool_prefix}ar; ac_word=$2
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5970 $as_echo_n "checking
for $ac_word...
" >&6; }
5971 if ${ac_cv_prog_AR+:} false; then :
5972 $as_echo_n "(cached
) " >&6
5974 if test -n "$AR"; then
5975 ac_cv_prog_AR="$AR" # Let the user override the test.
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 test -z "$as_dir" && as_dir=.
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_AR="${ac_tool_prefix}ar"
5985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5995 if test -n "$AR"; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5997 $as_echo "$AR" >&6; }
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6000 $as_echo "no
" >&6; }
6005 if test -z "$ac_cv_prog_AR"; then
6007 # Extract the first word of "ar", so it can be a program name with args.
6008 set dummy ar; ac_word=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6010 $as_echo_n "checking
for $ac_word...
" >&6; }
6011 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6012 $as_echo_n "(cached
) " >&6
6014 if test -n "$ac_ct_AR"; then
6015 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir=.
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6024 ac_cv_prog_ac_ct_AR="ar"
6025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6034 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6035 if test -n "$ac_ct_AR"; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6037 $as_echo "$ac_ct_AR" >&6; }
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6040 $as_echo "no
" >&6; }
6043 if test "x
$ac_ct_AR" = x; then
6046 case $cross_compiling:$ac_tool_warned in
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6049 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6050 ac_tool_warned=yes ;;
6058 test -z "$AR" && AR=ar
6059 if test -n "$plugin_option"; then
6060 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6062 $AR $plugin_option rc conftest.a conftest.c
6063 if test "$?
" != 0; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6065 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6067 AR="$AR $plugin_option"
6072 test -z "$AR_FLAGS" && AR_FLAGS=cru
6084 if test -n "$ac_tool_prefix"; then
6085 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6086 set dummy ${ac_tool_prefix}strip; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6088 $as_echo_n "checking
for $ac_word...
" >&6; }
6089 if ${ac_cv_prog_STRIP+:} false; then :
6090 $as_echo_n "(cached
) " >&6
6092 if test -n "$STRIP"; then
6093 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6102 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6112 STRIP=$ac_cv_prog_STRIP
6113 if test -n "$STRIP"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6115 $as_echo "$STRIP" >&6; }
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6118 $as_echo "no
" >&6; }
6123 if test -z "$ac_cv_prog_STRIP"; then
6125 # Extract the first word of "strip
", so it can be a program name with args.
6126 set dummy strip; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6128 $as_echo_n "checking
for $ac_word...
" >&6; }
6129 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6130 $as_echo_n "(cached
) " >&6
6132 if test -n "$ac_ct_STRIP"; then
6133 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6142 ac_cv_prog_ac_ct_STRIP="strip
"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6152 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6153 if test -n "$ac_ct_STRIP"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6155 $as_echo "$ac_ct_STRIP" >&6; }
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6158 $as_echo "no
" >&6; }
6161 if test "x
$ac_ct_STRIP" = x; then
6164 case $cross_compiling:$ac_tool_warned in
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6167 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6168 ac_tool_warned=yes ;;
6173 STRIP="$ac_cv_prog_STRIP"
6176 test -z "$STRIP" && STRIP=:
6183 if test -n "$ac_tool_prefix"; then
6184 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6185 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6187 $as_echo_n "checking
for $ac_word...
" >&6; }
6188 if ${ac_cv_prog_RANLIB+:} false; then :
6189 $as_echo_n "(cached
) " >&6
6191 if test -n "$RANLIB"; then
6192 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6211 RANLIB=$ac_cv_prog_RANLIB
6212 if test -n "$RANLIB"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6214 $as_echo "$RANLIB" >&6; }
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6217 $as_echo "no
" >&6; }
6222 if test -z "$ac_cv_prog_RANLIB"; then
6223 ac_ct_RANLIB=$RANLIB
6224 # Extract the first word of "ranlib
", so it can be a program name with args.
6225 set dummy ranlib; ac_word=$2
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6227 $as_echo_n "checking
for $ac_word...
" >&6; }
6228 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6229 $as_echo_n "(cached
) " >&6
6231 if test -n "$ac_ct_RANLIB"; then
6232 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 test -z "$as_dir" && as_dir=.
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6241 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6251 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6252 if test -n "$ac_ct_RANLIB"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6254 $as_echo "$ac_ct_RANLIB" >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6257 $as_echo "no
" >&6; }
6260 if test "x
$ac_ct_RANLIB" = x; then
6263 case $cross_compiling:$ac_tool_warned in
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6266 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6267 ac_tool_warned=yes ;;
6269 RANLIB=$ac_ct_RANLIB
6272 RANLIB="$ac_cv_prog_RANLIB"
6275 test -z "$RANLIB" && RANLIB=:
6276 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6277 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6278 RANLIB="$RANLIB $plugin_option"
6287 # Determine commands to create old-style static archives.
6288 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6289 old_postinstall_cmds='chmod 644 $oldlib'
6290 old_postuninstall_cmds=
6292 if test -n "$RANLIB"; then
6295 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6298 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6301 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6306 lock_old_archive_extraction=yes ;;
6308 lock_old_archive_extraction=no ;;
6349 # If no C compiler was specified, use CC.
6352 # If no C compiler flags were specified, use CFLAGS.
6353 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6355 # Allow CC to be a program name with arguments.
6359 # Check for command to grab the raw symbol name followed by C symbol from nm.
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6361 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6362 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6363 $as_echo_n "(cached
) " >&6
6366 # These are sane defaults that work on at least a few old systems.
6367 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6369 # Character class describing NM global symbol codes.
6370 symcode='[BCDEGRST]'
6372 # Regexp to match symbols that can be accessed directly from C.
6373 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6375 # Define system-specific variables.
6380 cygwin* | mingw* | pw32* | cegcc*)
6381 symcode='[ABCDGISTW]'
6384 if test "$host_cpu" = ia64; then
6385 symcode='[ABCDEGRST]'
6389 symcode='[BCDEGRST]'
6392 symcode='[BCDEGQRST]'
6403 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6411 # If we're using GNU nm, then use its standard symbol codes.
6412 case `$NM -V 2>&1` in
6413 *GNU* | *'with BFD'*)
6414 symcode='[ABCDGIRSTW]' ;;
6417 # Transform an extracted symbol line into a proper C declaration.
6418 # Some systems (esp. on ia64) link data and code symbols differently,
6419 # so use this general approach.
6420 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6422 # Transform an extracted symbol line into symbol name and symbol address
6423 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6424 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'"
6426 # Handle CRLF in mingw tool chain
6430 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6434 # Try without a prefix underscore, then with it.
6435 for ac_symprfx in "" "_
"; do
6437 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6438 symxfrm="\\1 $ac_symprfx\\2 \\2"
6440 # Write the raw and C identifiers.
6441 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6442 # Fake it for dumpbin and say T for any non-static function
6443 # and D for any global variable.
6444 # Also find C++ and __fastcall symbols from MSVC++,
6445 # which start with @ or ?.
6446 lt_cv_sys_global_symbol_pipe="$AWK '"\
6447 " {last_section=section; section=\$ 3};"\
6448 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6449 " \$ 0!~/External *\|/{next};"\
6450 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6451 " {if(hide[section]) next};"\
6452 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6453 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6454 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6455 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6456 " ' prfx
=^
$ac_symprfx"
6458 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6461 # Check to see that the pipe works correctly.
6465 cat > conftest.$ac_ext <<_LT_EOF
6470 void nm_test_func(void);
6471 void nm_test_func(void){}
6475 int main(){nm_test_var='a';nm_test_func();return(0);}
6478 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6479 (eval $ac_compile) 2>&5
6481 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6482 test $ac_status = 0; }; then
6483 # Now try to grab the symbols.
6485 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6486 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6488 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6489 test $ac_status = 0; } && test -s "$nlist"; then
6490 # Try sorting and uniquifying the output.
6491 if sort "$nlist" | uniq > "$nlist"T; then
6492 mv -f "$nlist"T "$nlist"
6497 # Make sure that we snagged all the symbols we need.
6498 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6499 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6500 cat <<_LT_EOF > conftest.$ac_ext
6506 # Now generate the symbol file.
6507 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6509 cat <<_LT_EOF >> conftest.$ac_ext
6511 /* The mapping between symbol names and symbols. */
6516 lt__PROGRAM__LTX_preloaded_symbols[] =
6518 { "@PROGRAM@
", (void *) 0 },
6520 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6521 cat <<\_LT_EOF >> conftest.$ac_ext
6525 /* This works around a problem in FreeBSD linker */
6526 #ifdef FREEBSD_WORKAROUND
6527 static const void *lt_preloaded_setup() {
6528 return lt__PROGRAM__LTX_preloaded_symbols;
6536 # Now try linking the two files.
6537 mv conftest.$ac_objext conftstm.$ac_objext
6538 lt_save_LIBS="$LIBS"
6539 lt_save_CFLAGS="$CFLAGS"
6540 LIBS="conftstm.
$ac_objext"
6541 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6542 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6543 (eval $ac_link) 2>&5
6545 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6546 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6549 LIBS="$lt_save_LIBS"
6550 CFLAGS="$lt_save_CFLAGS"
6552 echo "cannot
find nm_test_func
in $nlist" >&5
6555 echo "cannot
find nm_test_var
in $nlist" >&5
6558 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6561 echo "$progname: failed program was
:" >&5
6562 cat conftest.$ac_ext >&5
6564 rm -rf conftest* conftst*
6566 # Do not use the global_symbol_pipe unless it works.
6567 if test "$pipe_works" = yes; then
6570 lt_cv_sys_global_symbol_pipe=
6576 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6577 lt_cv_sys_global_symbol_to_cdecl=
6579 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6581 $as_echo "failed
" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6584 $as_echo "ok
" >&6; }
6608 # Check whether --enable-libtool-lock was given.
6609 if test "${enable_libtool_lock+set}" = set; then :
6610 enableval=$enable_libtool_lock;
6613 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6615 # Some flags need to be propagated to the compiler or linker for good
6619 # Find out which ABI we are using.
6620 echo 'int i;' > conftest.$ac_ext
6621 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6622 (eval $ac_compile) 2>&5
6624 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6625 test $ac_status = 0; }; then
6626 case `/usr/bin/file conftest.$ac_objext` in
6638 # Find out which ABI we are using.
6639 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6640 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6641 (eval $ac_compile) 2>&5
6643 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6644 test $ac_status = 0; }; then
6645 if test "$lt_cv_prog_gnu_ld" = yes; then
6646 case `/usr/bin/file conftest.$ac_objext` in
6648 LD="${LD-ld} -melf32bsmip"
6651 LD="${LD-ld} -melf32bmipn32"
6654 LD="${LD-ld} -melf64bmip"
6658 case `/usr/bin/file conftest.$ac_objext` in
6674 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6675 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6676 # Find out which ABI we are using.
6677 echo 'int i;' > conftest.$ac_ext
6678 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6679 (eval $ac_compile) 2>&5
6681 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6682 test $ac_status = 0; }; then
6683 case `/usr/bin/file conftest.o` in
6686 x86_64-*kfreebsd*-gnu)
6687 LD="${LD-ld} -m elf_i386_fbsd
"
6690 case `/usr/bin/file conftest.o` in
6692 LD="${LD-ld} -m elf32_x86_64
"
6695 LD="${LD-ld} -m elf_i386
"
6699 powerpc64le-*linux*)
6700 LD="${LD-ld} -m elf32lppclinux
"
6703 LD="${LD-ld} -m elf32ppclinux
"
6706 LD="${LD-ld} -m elf_s390
"
6709 LD="${LD-ld} -m elf32_sparc
"
6715 x86_64-*kfreebsd*-gnu)
6716 LD="${LD-ld} -m elf_x86_64_fbsd
"
6719 LD="${LD-ld} -m elf_x86_64
"
6722 LD="${LD-ld} -m elf64lppc
"
6725 LD="${LD-ld} -m elf64ppc
"
6727 s390*-*linux*|s390*-*tpf*)
6728 LD="${LD-ld} -m elf64_s390
"
6731 LD="${LD-ld} -m elf64_sparc
"
6741 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6742 SAVE_CFLAGS="$CFLAGS"
6743 CFLAGS="$CFLAGS -belf"
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6745 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6746 if ${lt_cv_cc_needs_belf+:} false; then :
6747 $as_echo_n "(cached
) " >&6
6750 ac_cpp='$CPP $CPPFLAGS'
6751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6756 /* end confdefs.h. */
6766 if ac_fn_c_try_link "$LINENO"; then :
6767 lt_cv_cc_needs_belf=yes
6769 lt_cv_cc_needs_belf=no
6771 rm -f core conftest.err conftest.$ac_objext \
6772 conftest$ac_exeext conftest.$ac_ext
6774 ac_cpp='$CPP $CPPFLAGS'
6775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6781 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6782 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6783 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6784 CFLAGS="$SAVE_CFLAGS"
6788 # Find out which ABI we are using.
6789 echo 'int i;' > conftest.$ac_ext
6790 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6791 (eval $ac_compile) 2>&5
6793 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6794 test $ac_status = 0; }; then
6795 case `/usr/bin/file conftest.o` in
6797 case $lt_cv_prog_gnu_ld in
6798 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6800 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6812 need_locks="$enable_libtool_lock"
6816 rhapsody* | darwin*)
6817 if test -n "$ac_tool_prefix"; then
6818 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6819 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6821 $as_echo_n "checking
for $ac_word...
" >&6; }
6822 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6823 $as_echo_n "(cached
) " >&6
6825 if test -n "$DSYMUTIL"; then
6826 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832 test -z "$as_dir" && as_dir=.
6833 for ac_exec_ext in '' $ac_executable_extensions; do
6834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6835 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6845 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6846 if test -n "$DSYMUTIL"; then
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6848 $as_echo "$DSYMUTIL" >&6; }
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6851 $as_echo "no
" >&6; }
6856 if test -z "$ac_cv_prog_DSYMUTIL"; then
6857 ac_ct_DSYMUTIL=$DSYMUTIL
6858 # Extract the first word of "dsymutil
", so it can be a program name with args.
6859 set dummy dsymutil; ac_word=$2
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6861 $as_echo_n "checking
for $ac_word...
" >&6; }
6862 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6863 $as_echo_n "(cached
) " >&6
6865 if test -n "$ac_ct_DSYMUTIL"; then
6866 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872 test -z "$as_dir" && as_dir=.
6873 for ac_exec_ext in '' $ac_executable_extensions; do
6874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6875 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6885 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6886 if test -n "$ac_ct_DSYMUTIL"; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6888 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6891 $as_echo "no
" >&6; }
6894 if test "x
$ac_ct_DSYMUTIL" = x; then
6897 case $cross_compiling:$ac_tool_warned in
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6900 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6901 ac_tool_warned=yes ;;
6903 DSYMUTIL=$ac_ct_DSYMUTIL
6906 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6909 if test -n "$ac_tool_prefix"; then
6910 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6911 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6913 $as_echo_n "checking
for $ac_word...
" >&6; }
6914 if ${ac_cv_prog_NMEDIT+:} false; then :
6915 $as_echo_n "(cached
) " >&6
6917 if test -n "$NMEDIT"; then
6918 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924 test -z "$as_dir" && as_dir=.
6925 for ac_exec_ext in '' $ac_executable_extensions; do
6926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6927 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6928 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6937 NMEDIT=$ac_cv_prog_NMEDIT
6938 if test -n "$NMEDIT"; then
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6940 $as_echo "$NMEDIT" >&6; }
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6943 $as_echo "no
" >&6; }
6948 if test -z "$ac_cv_prog_NMEDIT"; then
6949 ac_ct_NMEDIT=$NMEDIT
6950 # Extract the first word of "nmedit
", so it can be a program name with args.
6951 set dummy nmedit; ac_word=$2
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6953 $as_echo_n "checking
for $ac_word...
" >&6; }
6954 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6955 $as_echo_n "(cached
) " >&6
6957 if test -n "$ac_ct_NMEDIT"; then
6958 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964 test -z "$as_dir" && as_dir=.
6965 for ac_exec_ext in '' $ac_executable_extensions; do
6966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6967 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6977 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6978 if test -n "$ac_ct_NMEDIT"; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6980 $as_echo "$ac_ct_NMEDIT" >&6; }
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6983 $as_echo "no
" >&6; }
6986 if test "x
$ac_ct_NMEDIT" = x; then
6989 case $cross_compiling:$ac_tool_warned in
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6992 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6993 ac_tool_warned=yes ;;
6995 NMEDIT=$ac_ct_NMEDIT
6998 NMEDIT="$ac_cv_prog_NMEDIT"
7001 if test -n "$ac_tool_prefix"; then
7002 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7003 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7005 $as_echo_n "checking
for $ac_word...
" >&6; }
7006 if ${ac_cv_prog_LIPO+:} false; then :
7007 $as_echo_n "(cached
) " >&6
7009 if test -n "$LIPO"; then
7010 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir=.
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7029 LIPO=$ac_cv_prog_LIPO
7030 if test -n "$LIPO"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7032 $as_echo "$LIPO" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7035 $as_echo "no
" >&6; }
7040 if test -z "$ac_cv_prog_LIPO"; then
7042 # Extract the first word of "lipo
", so it can be a program name with args.
7043 set dummy lipo; ac_word=$2
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7045 $as_echo_n "checking
for $ac_word...
" >&6; }
7046 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7047 $as_echo_n "(cached
) " >&6
7049 if test -n "$ac_ct_LIPO"; then
7050 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056 test -z "$as_dir" && as_dir=.
7057 for ac_exec_ext in '' $ac_executable_extensions; do
7058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7059 ac_cv_prog_ac_ct_LIPO="lipo
"
7060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7069 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7070 if test -n "$ac_ct_LIPO"; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7072 $as_echo "$ac_ct_LIPO" >&6; }
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7075 $as_echo "no
" >&6; }
7078 if test "x
$ac_ct_LIPO" = x; then
7081 case $cross_compiling:$ac_tool_warned in
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7084 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7085 ac_tool_warned=yes ;;
7090 LIPO="$ac_cv_prog_LIPO"
7093 if test -n "$ac_tool_prefix"; then
7094 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7095 set dummy ${ac_tool_prefix}otool; ac_word=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7097 $as_echo_n "checking
for $ac_word...
" >&6; }
7098 if ${ac_cv_prog_OTOOL+:} false; then :
7099 $as_echo_n "(cached
) " >&6
7101 if test -n "$OTOOL"; then
7102 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir=.
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7111 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7121 OTOOL=$ac_cv_prog_OTOOL
7122 if test -n "$OTOOL"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7124 $as_echo "$OTOOL" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7127 $as_echo "no
" >&6; }
7132 if test -z "$ac_cv_prog_OTOOL"; then
7134 # Extract the first word of "otool
", so it can be a program name with args.
7135 set dummy otool; ac_word=$2
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7137 $as_echo_n "checking
for $ac_word...
" >&6; }
7138 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7139 $as_echo_n "(cached
) " >&6
7141 if test -n "$ac_ct_OTOOL"; then
7142 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 test -z "$as_dir" && as_dir=.
7149 for ac_exec_ext in '' $ac_executable_extensions; do
7150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7151 ac_cv_prog_ac_ct_OTOOL="otool
"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7161 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7162 if test -n "$ac_ct_OTOOL"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7164 $as_echo "$ac_ct_OTOOL" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7167 $as_echo "no
" >&6; }
7170 if test "x
$ac_ct_OTOOL" = x; then
7173 case $cross_compiling:$ac_tool_warned in
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7176 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7177 ac_tool_warned=yes ;;
7182 OTOOL="$ac_cv_prog_OTOOL"
7185 if test -n "$ac_tool_prefix"; then
7186 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7187 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7189 $as_echo_n "checking
for $ac_word...
" >&6; }
7190 if ${ac_cv_prog_OTOOL64+:} false; then :
7191 $as_echo_n "(cached
) " >&6
7193 if test -n "$OTOOL64"; then
7194 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir=.
7201 for ac_exec_ext in '' $ac_executable_extensions; do
7202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7213 OTOOL64=$ac_cv_prog_OTOOL64
7214 if test -n "$OTOOL64"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7216 $as_echo "$OTOOL64" >&6; }
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7219 $as_echo "no
" >&6; }
7224 if test -z "$ac_cv_prog_OTOOL64"; then
7225 ac_ct_OTOOL64=$OTOOL64
7226 # Extract the first word of "otool64
", so it can be a program name with args.
7227 set dummy otool64; ac_word=$2
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7229 $as_echo_n "checking
for $ac_word...
" >&6; }
7230 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7231 $as_echo_n "(cached
) " >&6
7233 if test -n "$ac_ct_OTOOL64"; then
7234 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 test -z "$as_dir" && as_dir=.
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7243 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7253 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7254 if test -n "$ac_ct_OTOOL64"; then
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7256 $as_echo "$ac_ct_OTOOL64" >&6; }
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7259 $as_echo "no
" >&6; }
7262 if test "x
$ac_ct_OTOOL64" = x; then
7265 case $cross_compiling:$ac_tool_warned in
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7268 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7269 ac_tool_warned=yes ;;
7271 OTOOL64=$ac_ct_OTOOL64
7274 OTOOL64="$ac_cv_prog_OTOOL64"
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7304 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7305 if ${lt_cv_apple_cc_single_mod+:} false; then :
7306 $as_echo_n "(cached
) " >&6
7308 lt_cv_apple_cc_single_mod=no
7309 if test -z "${LT_MULTI_MODULE}"; then
7310 # By default we will add the -single_module flag. You can override
7311 # by either setting the environment variable LT_MULTI_MODULE
7312 # non-empty at configure time, or by adding -multi_module to the
7314 rm -rf libconftest.dylib*
7315 echo "int foo
(void
){return 1;}" > conftest.c
7316 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7317 -dynamiclib -Wl,-single_module conftest.c
" >&5
7318 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7319 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7321 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7322 lt_cv_apple_cc_single_mod=yes
7324 cat conftest.err >&5
7326 rm -rf libconftest.dylib*
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7331 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7333 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7334 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7335 $as_echo_n "(cached
) " >&6
7337 lt_cv_ld_exported_symbols_list=no
7338 save_LDFLAGS=$LDFLAGS
7339 echo "_main
" > conftest.sym
7340 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7342 /* end confdefs.h. */
7352 if ac_fn_c_try_link "$LINENO"; then :
7353 lt_cv_ld_exported_symbols_list=yes
7355 lt_cv_ld_exported_symbols_list=no
7357 rm -f core conftest.err conftest.$ac_objext \
7358 conftest$ac_exeext conftest.$ac_ext
7359 LDFLAGS="$save_LDFLAGS"
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7363 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7365 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7366 if ${lt_cv_ld_force_load+:} false; then :
7367 $as_echo_n "(cached
) " >&6
7369 lt_cv_ld_force_load=no
7370 cat > conftest.c << _LT_EOF
7371 int forced_loaded() { return 2;}
7373 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7374 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7375 echo "$AR cru libconftest.a conftest.o
" >&5
7376 $AR cru libconftest.a conftest.o 2>&5
7377 cat > conftest.c << _LT_EOF
7378 int main() { return 0;}
7380 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7381 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7383 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7384 lt_cv_ld_force_load=yes
7386 cat conftest.err >&5
7388 rm -f conftest.err libconftest.a conftest conftest.c
7389 rm -rf conftest.dSYM
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7393 $as_echo "$lt_cv_ld_force_load" >&6; }
7394 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
7395 # build without first building modern cctools / linker.
7396 case $host_cpu-$host_os in
7397 *-rhapsody* | *-darwin1.[012])
7398 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7400 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7402 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
7403 # deployment target is forced to an earlier version.
7404 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
7405 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
7408 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7415 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7416 _lt_dar_single_mod='$single_module'
7418 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7419 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7421 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7423 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7424 _lt_dsymutil='~$DSYMUTIL $lib || :'
7431 for ac_header in dlfcn.h
7433 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7435 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7436 cat >>confdefs.h <<_ACEOF
7437 #define HAVE_DLFCN_H 1
7459 # Check whether --enable-static was given.
7460 if test "${enable_static+set}" = set; then :
7461 enableval=$enable_static; p=${PACKAGE-default}
7463 yes) enable_static=yes ;;
7464 no) enable_static=no ;;
7467 # Look at the argument we got. We use all the common list separators.
7468 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7469 for pkg in $enableval; do
7471 if test "X
$pkg" = "X
$p"; then
7491 # Check whether --with-pic was given.
7492 if test "${with_pic+set}" = set; then :
7493 withval=$with_pic; pic_mode="$withval"
7499 test -z "$pic_mode" && pic_mode=default
7507 # Check whether --enable-fast-install was given.
7508 if test "${enable_fast_install+set}" = set; then :
7509 enableval=$enable_fast_install; p=${PACKAGE-default}
7511 yes) enable_fast_install=yes ;;
7512 no) enable_fast_install=no ;;
7514 enable_fast_install=no
7515 # Look at the argument we got. We use all the common list separators.
7516 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7517 for pkg in $enableval; do
7519 if test "X
$pkg" = "X
$p"; then
7520 enable_fast_install=yes
7527 enable_fast_install=yes
7540 # This can be used to rebuild libtool when needed
7541 LIBTOOL_DEPS="$ltmain"
7543 # Always use our own libtool.
7544 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7571 test -z "$LN_S" && LN_S="ln -s"
7586 if test -n "${ZSH_VERSION+set}" ; then
7587 setopt NO_GLOB_SUBST
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7591 $as_echo_n "checking
for objdir...
" >&6; }
7592 if ${lt_cv_objdir+:} false; then :
7593 $as_echo_n "(cached
) " >&6
7595 rm -f .libs 2>/dev/null
7596 mkdir .libs 2>/dev/null
7597 if test -d .libs; then
7600 # MS-DOS does not allow filenames that begin with a dot.
7603 rmdir .libs 2>/dev/null
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7606 $as_echo "$lt_cv_objdir" >&6; }
7607 objdir=$lt_cv_objdir
7613 cat >>confdefs.h <<_ACEOF
7614 #define LT_OBJDIR "$lt_cv_objdir/"
7622 # AIX sometimes has problems with the GCC collect2 program. For some
7623 # reason, if we set the COLLECT_NAMES environment variable, the problems
7624 # vanish in a puff of smoke.
7625 if test "X
${COLLECT_NAMES+set}" != Xset; then
7627 export COLLECT_NAMES
7634 can_build_shared=yes
7636 # All known linkers require a `.a' archive for static linking (except MSVC,
7637 # which needs '.lib').
7640 with_gnu_ld="$lt_cv_prog_gnu_ld"
7643 old_CFLAGS="$CFLAGS"
7645 # Set sane defaults for various variables
7646 test -z "$CC" && CC=cc
7647 test -z "$LTCC" && LTCC=$CC
7648 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7649 test -z "$LD" && LD=ld
7650 test -z "$ac_objext" && ac_objext=o
7652 for cc_temp in $compiler""; do
7654 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7655 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7660 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7663 # Only perform the check for file, if the check method requires it
7664 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7665 case $deplibs_check_method in
7667 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7669 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7670 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7671 $as_echo_n "(cached
) " >&6
7675 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7678 lt_save_MAGIC_CMD="$MAGIC_CMD"
7679 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7680 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7681 for ac_dir in $ac_dummy; do
7683 test -z "$ac_dir" && ac_dir=.
7684 if test -f $ac_dir/${ac_tool_prefix}file; then
7685 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7686 if test -n "$file_magic_test_file"; then
7687 case $deplibs_check_method in
7689 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7690 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7691 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7692 $EGREP "$file_magic_regex" > /dev/null; then
7697 *** Warning: the command libtool uses to detect shared libraries,
7698 *** $file_magic_cmd, produces output that libtool cannot recognize.
7699 *** The result is that libtool may fail to recognize shared libraries
7700 *** as such. This will affect the creation of libtool libraries that
7701 *** depend on shared libraries, but programs linked with such libtool
7702 *** libraries will work regardless of this problem. Nevertheless, you
7703 *** may want to report the problem to your system manager and/or to
7704 *** bug-libtool@gnu.org
7714 MAGIC_CMD="$lt_save_MAGIC_CMD"
7719 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7720 if test -n "$MAGIC_CMD"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7722 $as_echo "$MAGIC_CMD" >&6; }
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7725 $as_echo "no
" >&6; }
7732 if test -z "$lt_cv_path_MAGIC_CMD"; then
7733 if test -n "$ac_tool_prefix"; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7735 $as_echo_n "checking
for file...
" >&6; }
7736 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7737 $as_echo_n "(cached
) " >&6
7741 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7744 lt_save_MAGIC_CMD="$MAGIC_CMD"
7745 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7746 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7747 for ac_dir in $ac_dummy; do
7749 test -z "$ac_dir" && ac_dir=.
7750 if test -f $ac_dir/file; then
7751 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7752 if test -n "$file_magic_test_file"; then
7753 case $deplibs_check_method in
7755 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7756 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7757 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7758 $EGREP "$file_magic_regex" > /dev/null; then
7763 *** Warning: the command libtool uses to detect shared libraries,
7764 *** $file_magic_cmd, produces output that libtool cannot recognize.
7765 *** The result is that libtool may fail to recognize shared libraries
7766 *** as such. This will affect the creation of libtool libraries that
7767 *** depend on shared libraries, but programs linked with such libtool
7768 *** libraries will work regardless of this problem. Nevertheless, you
7769 *** may want to report the problem to your system manager and/or to
7770 *** bug-libtool@gnu.org
7780 MAGIC_CMD="$lt_save_MAGIC_CMD"
7785 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7786 if test -n "$MAGIC_CMD"; then
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7788 $as_echo "$MAGIC_CMD" >&6; }
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7791 $as_echo "no
" >&6; }
7804 # Use C for the default configuration in the libtool script
7808 ac_cpp='$CPP $CPPFLAGS'
7809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7814 # Source file extension for C test sources.
7817 # Object file extension for compiled C test sources.
7821 # Code to be used in simple compile tests
7822 lt_simple_compile_test_code="int some_variable
= 0;"
7824 # Code to be used in simple link tests
7825 lt_simple_link_test_code='int main(){return(0);}'
7833 # If no C compiler was specified, use CC.
7836 # If no C compiler flags were specified, use CFLAGS.
7837 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7839 # Allow CC to be a program name with arguments.
7842 # Save the default compiler, since it gets overwritten when the other
7843 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7844 compiler_DEFAULT=$CC
7846 # save warnings/boilerplate of simple test code
7847 ac_outfile=conftest.$ac_objext
7848 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7849 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7850 _lt_compiler_boilerplate=`cat conftest.err`
7853 ac_outfile=conftest.$ac_objext
7854 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7855 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7856 _lt_linker_boilerplate=`cat conftest.err`
7861 ## There is no encapsulation within the following macros, do not change
7862 ## the running order or otherwise move them around unless you know exactly
7863 ## what you are doing...
7864 if test -n "$compiler"; then
7866 lt_prog_compiler_no_builtin_flag=
7868 if test "$GCC" = yes; then
7869 case $cc_basename in
7871 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7873 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7877 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7878 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7879 $as_echo_n "(cached
) " >&6
7881 lt_cv_prog_compiler_rtti_exceptions=no
7882 ac_outfile=conftest.$ac_objext
7883 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7884 lt_compiler_flag="-fno-rtti -fno-exceptions"
7885 # Insert the option either (1) after the last *FLAGS variable, or
7886 # (2) before a word containing "conftest.
", or (3) at the end.
7887 # Note that $ac_compile itself does not contain backslashes and begins
7888 # with a dollar sign (not a hyphen), so the echo should work correctly.
7889 # The option is referenced via a variable to avoid confusing sed.
7890 lt_compile=`echo "$ac_compile" | $SED \
7891 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7892 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7893 -e 's:$: $lt_compiler_flag:'`
7894 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7895 (eval "$lt_compile" 2>conftest.err)
7897 cat conftest.err >&5
7898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7899 if (exit $ac_status) && test -s "$ac_outfile"; then
7900 # The compiler can only warn and ignore the option if not recognized
7901 # So say no if there are warnings other than the usual output.
7902 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7903 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7904 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7905 lt_cv_prog_compiler_rtti_exceptions=yes
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7912 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7914 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7915 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7927 lt_prog_compiler_wl=
7928 lt_prog_compiler_pic=
7929 lt_prog_compiler_static=
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7932 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7934 if test "$GCC" = yes; then
7935 lt_prog_compiler_wl='-Wl,'
7936 lt_prog_compiler_static='-static'
7940 # All AIX code is PIC.
7941 if test "$host_cpu" = ia64; then
7942 # AIX 5 now supports IA64 processor
7943 lt_prog_compiler_static='-Bstatic'
7945 lt_prog_compiler_pic='-fPIC'
7951 # see comment about AmigaOS4 .so support
7952 lt_prog_compiler_pic='-fPIC'
7955 # FIXME: we need at least 68020 code to build shared libraries, but
7956 # adding the `-m68020' flag to GCC prevents building anything better,
7958 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7963 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7964 # PIC is the default for these OSes.
7967 mingw* | cygwin* | pw32* | os2* | cegcc*)
7968 # This hack is so that the source file can tell whether it is being
7969 # built for inclusion in a dll (and should export symbols for example).
7970 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7971 # (--disable-auto-import) libraries
7972 lt_prog_compiler_pic='-DDLL_EXPORT'
7975 darwin* | rhapsody*)
7976 # PIC is the default on this platform
7977 # Common symbols not allowed in MH_DYLIB files
7978 lt_prog_compiler_pic='-fno-common'
7982 # PIC is the default for Haiku.
7983 # The "-static" flag exists, but is broken.
7984 lt_prog_compiler_static=
7988 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7989 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7990 # sets the default TLS model and affects inlining.
7996 lt_prog_compiler_pic='-fPIC'
8002 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8003 # Instead, we relocate shared libraries at runtime.
8007 # Just because we use GCC doesn't mean we suddenly get shared libraries
8008 # on systems that don't support them.
8009 lt_prog_compiler_can_build_shared=no
8014 # QNX uses GNU C++, but need to define -shared option too, otherwise
8016 lt_prog_compiler_pic='-fPIC -shared'
8020 if test -d /usr/nec; then
8021 lt_prog_compiler_pic=-Kconform_pic
8026 lt_prog_compiler_pic='-fPIC'
8030 case $cc_basename in
8031 nvcc*) # Cuda Compiler Driver 2.2
8032 lt_prog_compiler_wl='-Xlinker '
8033 lt_prog_compiler_pic='-Xcompiler -fPIC'
8037 # PORTME Check for flag to pass linker flags through the system compiler.
8040 lt_prog_compiler_wl='-Wl,'
8041 if test "$host_cpu" = ia64; then
8042 # AIX 5 now supports IA64 processor
8043 lt_prog_compiler_static='-Bstatic'
8045 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8049 mingw* | cygwin* | pw32* | os2* | cegcc*)
8050 # This hack is so that the source file can tell whether it is being
8051 # built for inclusion in a dll (and should export symbols for example).
8052 lt_prog_compiler_pic='-DDLL_EXPORT'
8055 hpux9* | hpux10* | hpux11*)
8056 lt_prog_compiler_wl='-Wl,'
8057 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8064 lt_prog_compiler_pic='+Z'
8067 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8068 lt_prog_compiler_static='${wl}-a ${wl}archive'
8071 irix5* | irix6* | nonstopux*)
8072 lt_prog_compiler_wl='-Wl,'
8073 # PIC (with -KPIC) is the default.
8074 lt_prog_compiler_static='-non_shared'
8077 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8078 case $cc_basename in
8079 # old Intel for x86_64 which still supported -KPIC.
8081 lt_prog_compiler_wl='-Wl,'
8082 lt_prog_compiler_pic='-KPIC'
8083 lt_prog_compiler_static='-static'
8085 # icc used to be incompatible with GCC.
8086 # ICC 10 doesn't accept -KPIC any more.
8088 lt_prog_compiler_wl='-Wl,'
8089 lt_prog_compiler_pic='-fPIC'
8090 lt_prog_compiler_static='-static'
8092 # Lahey Fortran 8.1.
8094 lt_prog_compiler_wl='-Wl,'
8095 lt_prog_compiler_pic='--shared'
8096 lt_prog_compiler_static='--static'
8098 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8099 # Portland Group compilers (*not* the Pentium gcc compiler,
8100 # which looks to be a dead project)
8101 lt_prog_compiler_wl='-Wl,'
8102 lt_prog_compiler_pic='-fpic'
8103 lt_prog_compiler_static='-Bstatic'
8106 lt_prog_compiler_wl='-Wl,'
8107 # All Alpha code is PIC.
8108 lt_prog_compiler_static='-non_shared'
8110 xl* | bgxl* | bgf* | mpixl*)
8111 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8112 lt_prog_compiler_wl='-Wl,'
8113 lt_prog_compiler_pic='-qpic'
8114 lt_prog_compiler_static='-qstaticlink'
8117 case `$CC -V 2>&1 | sed 5q` in
8118 *Sun\ F* | *Sun*Fortran*)
8119 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8120 lt_prog_compiler_pic='-KPIC'
8121 lt_prog_compiler_static='-Bstatic'
8122 lt_prog_compiler_wl=''
8126 lt_prog_compiler_pic='-KPIC'
8127 lt_prog_compiler_static='-Bstatic'
8128 lt_prog_compiler_wl='-Wl,'
8136 lt_prog_compiler_pic='-KPIC'
8137 lt_prog_compiler_static='-Bstatic'
8141 # QNX uses GNU C++, but need to define -shared option too, otherwise
8143 lt_prog_compiler_pic='-fPIC -shared'
8146 osf3* | osf4* | osf5*)
8147 lt_prog_compiler_wl='-Wl,'
8148 # All OSF/1 code is PIC.
8149 lt_prog_compiler_static='-non_shared'
8153 lt_prog_compiler_static='-non_shared'
8157 lt_prog_compiler_pic='-KPIC'
8158 lt_prog_compiler_static='-Bstatic'
8159 case $cc_basename in
8161 lt_prog_compiler_wl='-Qoption ld ';;
8163 lt_prog_compiler_wl='-Wl,';;
8168 lt_prog_compiler_wl='-Qoption ld '
8169 lt_prog_compiler_pic='-PIC'
8170 lt_prog_compiler_static='-Bstatic'
8173 sysv4 | sysv4.2uw2* | sysv4.3*)
8174 lt_prog_compiler_wl='-Wl,'
8175 lt_prog_compiler_pic='-KPIC'
8176 lt_prog_compiler_static='-Bstatic'
8180 if test -d /usr/nec ;then
8181 lt_prog_compiler_pic='-Kconform_pic'
8182 lt_prog_compiler_static='-Bstatic'
8186 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8187 lt_prog_compiler_wl='-Wl,'
8188 lt_prog_compiler_pic='-KPIC'
8189 lt_prog_compiler_static='-Bstatic'
8193 lt_prog_compiler_wl='-Wl,'
8194 lt_prog_compiler_can_build_shared=no
8198 lt_prog_compiler_pic='-pic'
8199 lt_prog_compiler_static='-Bstatic'
8203 lt_prog_compiler_can_build_shared=no
8209 # For platforms which do not support PIC, -DPIC is meaningless:
8211 lt_prog_compiler_pic=
8214 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8218 $as_echo "$lt_prog_compiler_pic" >&6; }
8226 # Check to make sure the PIC flag actually works.
8228 if test -n "$lt_prog_compiler_pic"; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8230 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8231 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8232 $as_echo_n "(cached
) " >&6
8234 lt_cv_prog_compiler_pic_works=no
8235 ac_outfile=conftest.$ac_objext
8236 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8237 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8238 # Insert the option either (1) after the last *FLAGS variable, or
8239 # (2) before a word containing "conftest.
", or (3) at the end.
8240 # Note that $ac_compile itself does not contain backslashes and begins
8241 # with a dollar sign (not a hyphen), so the echo should work correctly.
8242 # The option is referenced via a variable to avoid confusing sed.
8243 lt_compile=`echo "$ac_compile" | $SED \
8244 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8246 -e 's:$: $lt_compiler_flag:'`
8247 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8248 (eval "$lt_compile" 2>conftest.err)
8250 cat conftest.err >&5
8251 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8252 if (exit $ac_status) && test -s "$ac_outfile"; then
8253 # The compiler can only warn and ignore the option if not recognized
8254 # So say no if there are warnings other than the usual output.
8255 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8256 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8257 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8258 lt_cv_prog_compiler_pic_works=yes
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8265 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8267 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8268 case $lt_prog_compiler_pic in
8270 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8273 lt_prog_compiler_pic=
8274 lt_prog_compiler_can_build_shared=no
8285 # Check to make sure the static flag actually works.
8287 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8289 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8290 if ${lt_cv_prog_compiler_static_works+:} false; then :
8291 $as_echo_n "(cached
) " >&6
8293 lt_cv_prog_compiler_static_works=no
8294 save_LDFLAGS="$LDFLAGS"
8295 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8296 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8297 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8298 # The linker can only warn and ignore the option if not recognized
8299 # So say no if there are warnings
8300 if test -s conftest.err; then
8301 # Append any errors to the config.log.
8302 cat conftest.err 1>&5
8303 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8304 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8305 if diff conftest.exp conftest.er2 >/dev/null; then
8306 lt_cv_prog_compiler_static_works=yes
8309 lt_cv_prog_compiler_static_works=yes
8313 LDFLAGS="$save_LDFLAGS"
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8317 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8319 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8322 lt_prog_compiler_static=
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8332 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8333 if ${lt_cv_prog_compiler_c_o+:} false; then :
8334 $as_echo_n "(cached
) " >&6
8336 lt_cv_prog_compiler_c_o=no
8337 $RM -r conftest 2>/dev/null
8341 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8343 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8344 # Insert the option either (1) after the last *FLAGS variable, or
8345 # (2) before a word containing "conftest.
", or (3) at the end.
8346 # Note that $ac_compile itself does not contain backslashes and begins
8347 # with a dollar sign (not a hyphen), so the echo should work correctly.
8348 lt_compile=`echo "$ac_compile" | $SED \
8349 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8350 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8351 -e 's:$: $lt_compiler_flag:'`
8352 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8353 (eval "$lt_compile" 2>out/conftest.err)
8355 cat out/conftest.err >&5
8356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8357 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8359 # The compiler can only warn and ignore the option if not recognized
8360 # So say no if there are warnings
8361 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8362 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8363 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8364 lt_cv_prog_compiler_c_o=yes
8369 # SGI C++ compiler will create directory out/ii_files/ for
8370 # template instantiation
8371 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8372 $RM out/* && rmdir out
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8379 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8387 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8388 if ${lt_cv_prog_compiler_c_o+:} false; then :
8389 $as_echo_n "(cached
) " >&6
8391 lt_cv_prog_compiler_c_o=no
8392 $RM -r conftest 2>/dev/null
8396 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8398 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8399 # Insert the option either (1) after the last *FLAGS variable, or
8400 # (2) before a word containing "conftest.
", or (3) at the end.
8401 # Note that $ac_compile itself does not contain backslashes and begins
8402 # with a dollar sign (not a hyphen), so the echo should work correctly.
8403 lt_compile=`echo "$ac_compile" | $SED \
8404 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8405 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8406 -e 's:$: $lt_compiler_flag:'`
8407 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8408 (eval "$lt_compile" 2>out/conftest.err)
8410 cat out/conftest.err >&5
8411 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8412 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8414 # The compiler can only warn and ignore the option if not recognized
8415 # So say no if there are warnings
8416 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8417 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8418 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8419 lt_cv_prog_compiler_c_o=yes
8424 # SGI C++ compiler will create directory out/ii_files/ for
8425 # template instantiation
8426 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8427 $RM out/* && rmdir out
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8434 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8439 hard_links="nottested
"
8440 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8441 # do not overwrite the value of need_locks provided by the user
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8443 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8446 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8448 ln conftest.a conftest.b 2>&5 || hard_links=no
8449 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8451 $as_echo "$hard_links" >&6; }
8452 if test "$hard_links" = no; then
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8454 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8467 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8470 allow_undefined_flag=
8471 always_export_symbols=no
8473 archive_expsym_cmds=
8474 compiler_needs_object=no
8475 enable_shared_with_static_runtimes=no
8476 export_dynamic_flag_spec=
8477 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8478 hardcode_automatic=no
8480 hardcode_direct_absolute=no
8481 hardcode_libdir_flag_spec=
8482 hardcode_libdir_flag_spec_ld=
8483 hardcode_libdir_separator=
8485 hardcode_shlibpath_var=unsupported
8487 link_all_deplibs=unknown
8490 old_archive_from_new_cmds=
8491 old_archive_from_expsyms_cmds=
8492 thread_safe_flag_spec=
8493 whole_archive_flag_spec=
8494 # include_expsyms should be a list of space-separated symbols to be *always*
8495 # included in the symbol list
8497 # exclude_expsyms can be an extended regexp of symbols to exclude
8498 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8499 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8500 # as well as any symbol that contains `d'.
8501 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8502 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8503 # platforms (ab)use it in PIC code, but their linkers get confused if
8504 # the symbol is explicitly referenced. Since portable code cannot
8505 # rely on this symbol name, it's probably fine to never include it in
8506 # preloaded symbol tables.
8507 # Exclude shared library initialization/finalization symbols.
8508 extract_expsyms_cmds=
8511 cygwin* | mingw* | pw32* | cegcc*)
8512 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8513 # When not using gcc, we currently assume that we are using
8514 # Microsoft Visual C++.
8515 if test "$GCC" != yes; then
8520 # we just hope/assume this is gcc and not c89 (= MSVC++)
8530 # On some targets, GNU ld is compatible enough with the native linker
8531 # that we're better off using the native interface for both.
8532 lt_use_gnu_ld_interface=no
8533 if test "$with_gnu_ld" = yes; then
8536 # The AIX port of GNU ld has always aspired to compatibility
8537 # with the native linker. However, as the warning in the GNU ld
8538 # block says, versions before 2.19.5* couldn't really create working
8539 # shared libraries, regardless of the interface used.
8540 case `$LD -v 2>&1` in
8541 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8542 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8543 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8545 lt_use_gnu_ld_interface=yes
8550 lt_use_gnu_ld_interface=yes
8555 if test "$lt_use_gnu_ld_interface" = yes; then
8556 # If archive_cmds runs LD, not CC, wlarc should be empty
8559 # Set some defaults for GNU ld with shared library support. These
8560 # are reset later if shared libraries are not supported. Putting them
8561 # here allows them to be overridden if necessary.
8562 runpath_var=LD_RUN_PATH
8563 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8564 export_dynamic_flag_spec='${wl}--export-dynamic'
8565 # ancient GNU ld didn't support --whole-archive et. al.
8566 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8567 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8569 whole_archive_flag_spec=
8571 supports_anon_versioning=no
8572 case `$LD -v 2>&1` in
8573 *GNU\ gold*) supports_anon_versioning=yes ;;
8574 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8575 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8576 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8577 *\ 2.11.*) ;; # other 2.11 versions
8578 *) supports_anon_versioning=yes ;;
8581 # See if GNU ld supports shared libraries.
8584 # On AIX/PPC, the GNU linker is very broken
8585 if test "$host_cpu" != ia64; then
8589 *** Warning: the GNU linker, at least up to release 2.19, is reported
8590 *** to be unable to reliably create shared libraries on AIX.
8591 *** Therefore, libtool is disabling shared libraries support. If you
8592 *** really care for shared libraries, you may want to install binutils
8593 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8594 *** You will then need to restart the configuration process.
8603 # see comment about AmigaOS4 .so support
8604 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8605 archive_expsym_cmds=''
8608 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)'
8609 hardcode_libdir_flag_spec
='-L$libdir'
8610 hardcode_minus_L
=yes
8616 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8617 allow_undefined_flag
=unsupported
8618 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8619 # support --undefined. This deserves some investigation. FIXME
8620 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8626 cygwin
* | mingw
* | pw32
* | cegcc
*)
8627 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8628 # as there is no search path for DLLs.
8629 hardcode_libdir_flag_spec
='-L$libdir'
8630 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8631 allow_undefined_flag
=unsupported
8632 always_export_symbols
=no
8633 enable_shared_with_static_runtimes
=yes
8634 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8636 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8637 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8638 # If the export-symbols file already is a .def file (1st line
8639 # is EXPORTS), use it as is; otherwise, prepend...
8640 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8641 cp $export_symbols $output_objdir/$soname.def;
8643 echo EXPORTS > $output_objdir/$soname.def;
8644 cat $export_symbols >> $output_objdir/$soname.def;
8646 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8653 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8654 link_all_deplibs
=yes
8659 hardcode_shlibpath_var
=no
8660 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8661 export_dynamic_flag_spec
='${wl}-E'
8662 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8663 # Instead, shared libraries are loaded at an image base (0x10000000 by
8664 # default) and relocated if they conflict, which is a slow very memory
8665 # consuming and fragmenting process. To avoid this, we pick a random,
8666 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8667 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8668 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8669 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'
8672 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
8674 if test "$host_os" = linux-dietlibc
; then
8675 case $cc_basename in
8676 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8679 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8680 && test "$tmp_diet" = no
8682 tmp_addflag
=' $pic_flag'
8683 tmp_sharedflag
='-shared'
8684 case $cc_basename,$host_cpu in
8685 pgcc
*) # Portland Group C compiler
8686 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'
8687 tmp_addflag
=' $pic_flag'
8689 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8690 # Portland Group f77 and f90 compilers
8691 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'
8692 tmp_addflag
=' $pic_flag -Mnomain' ;;
8693 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8694 tmp_addflag
=' -i_dynamic' ;;
8695 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8696 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8697 ifc
* | ifort
*) # Intel Fortran compiler
8698 tmp_addflag
=' -nofor_main' ;;
8699 lf95
*) # Lahey Fortran 8.1
8700 whole_archive_flag_spec
=
8701 tmp_sharedflag
='--shared' ;;
8702 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8703 tmp_sharedflag
='-qmkshrobj'
8705 nvcc
*) # Cuda Compiler Driver 2.2
8706 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'
8707 compiler_needs_object
=yes
8710 case `$CC -V 2>&1 | sed 5q` in
8711 *Sun\ C
*) # Sun C 5.9
8712 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'
8713 compiler_needs_object
=yes
8714 tmp_sharedflag
='-G' ;;
8715 *Sun\ F
*) # Sun Fortran 8.3
8716 tmp_sharedflag
='-G' ;;
8718 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8720 if test "x$supports_anon_versioning" = xyes
; then
8721 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8722 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8723 echo "local: *; };" >> $output_objdir/$libname.ver~
8724 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8727 case $cc_basename in
8728 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8729 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8730 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8731 hardcode_libdir_flag_spec
=
8732 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8733 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8734 if test "x$supports_anon_versioning" = xyes
; then
8735 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8736 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8737 echo "local: *; };" >> $output_objdir/$libname.ver~
8738 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8748 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8749 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8752 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8753 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8758 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8762 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8763 *** create shared libraries on Solaris systems. Therefore, libtool
8764 *** is disabling shared libraries support. We urge you to upgrade GNU
8765 *** binutils to release 2.9.1 or newer. Another option is to modify
8766 *** your PATH or compiler configuration so that the native linker is
8767 *** used, and then restart.
8770 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8771 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8772 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8778 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8779 case `$LD -v 2>&1` in
8780 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8784 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8785 *** reliably create shared libraries on SCO systems. Therefore, libtool
8786 *** is disabling shared libraries support. We urge you to upgrade GNU
8787 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8788 *** your PATH or compiler configuration so that the native linker is
8789 *** used, and then restart.
8794 # For security reasons, it is highly recommended that you always
8795 # use absolute paths for naming shared libraries, and exclude the
8796 # DT_RUNPATH tag from executables and libraries. But doing so
8797 # requires that you compile everything twice, which is a pain.
8798 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8799 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8800 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8801 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8810 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8813 hardcode_shlibpath_var
=no
8817 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8818 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8819 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8826 if test "$ld_shlibs" = no
; then
8828 hardcode_libdir_flag_spec
=
8829 export_dynamic_flag_spec
=
8830 whole_archive_flag_spec
=
8833 # PORTME fill in a description of your system's linker (not GNU ld)
8836 allow_undefined_flag
=unsupported
8837 always_export_symbols
=yes
8838 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'
8839 # Note: this linker hardcodes the directories in LIBPATH if there
8840 # are no directories specified by -L.
8841 hardcode_minus_L
=yes
8842 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8843 # Neither direct hardcoding nor static linking is supported with a
8845 hardcode_direct
=unsupported
8850 if test "$host_cpu" = ia64
; then
8851 # On IA64, the linker does run time linking by default, so we don't
8852 # have to do anything special.
8853 aix_use_runtimelinking
=no
8854 exp_sym_flag
='-Bexport'
8857 # If we're using GNU nm, then we don't want the "-C" option.
8858 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8859 # Also, AIX nm treats weak defined symbols like other global
8860 # defined symbols, whereas GNU nm marks them as "W".
8861 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8862 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'
8864 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'
8866 aix_use_runtimelinking
=no
8868 # Test if we are trying to use run time linking or normal
8869 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8870 # need to do runtime linking.
8871 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8872 for ld_flag
in $LDFLAGS; do
8873 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8874 aix_use_runtimelinking
=yes
8881 exp_sym_flag
='-bexport'
8882 no_entry_flag
='-bnoentry'
8885 # When large executables or shared objects are built, AIX ld can
8886 # have problems creating the table of contents. If linking a library
8887 # or program results in "error TOC overflow" add -mminimal-toc to
8888 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8889 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8893 hardcode_direct_absolute
=yes
8894 hardcode_libdir_separator
=':'
8895 link_all_deplibs
=yes
8896 file_list_spec
='${wl}-f,'
8898 if test "$GCC" = yes; then
8899 case $host_os in aix4.
[012]|aix4.
[012].
*)
8900 # We only want to do this on AIX 4.2 and lower, the check
8901 # below for broken collect2 doesn't work under 4.3+
8902 collect2name
=`${CC} -print-prog-name=collect2`
8903 if test -f "$collect2name" &&
8904 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8906 # We have reworked collect2
8909 # We have old collect2
8910 hardcode_direct
=unsupported
8911 # It fails to find uninstalled libraries when the uninstalled
8912 # path is not listed in the libpath. Setting hardcode_minus_L
8913 # to unsupported forces relinking
8914 hardcode_minus_L
=yes
8915 hardcode_libdir_flag_spec
='-L$libdir'
8916 hardcode_libdir_separator
=
8920 shared_flag
='-shared'
8921 if test "$aix_use_runtimelinking" = yes; then
8922 shared_flag
="$shared_flag "'${wl}-G'
8926 if test "$host_cpu" = ia64
; then
8927 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8928 # chokes on -Wl,-G. The following line is correct:
8931 if test "$aix_use_runtimelinking" = yes; then
8932 shared_flag
='${wl}-G'
8934 shared_flag
='${wl}-bM:SRE'
8939 export_dynamic_flag_spec
='${wl}-bexpall'
8940 # It seems that -bexpall does not export symbols beginning with
8941 # underscore (_), so it is better to generate a list of symbols to export.
8942 always_export_symbols
=yes
8943 if test "$aix_use_runtimelinking" = yes; then
8944 # Warning - without using the other runtime loading flags (-brtl),
8945 # -berok will link without error, but may produce a broken library.
8946 allow_undefined_flag
='-berok'
8947 # Determine the default libpath from the value encoded in an
8949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8950 /* end confdefs.h. */
8960 if ac_fn_c_try_link
"$LINENO"; then :
8962 lt_aix_libpath_sed
='
8963 /Import File Strings/,/^$/ {
8969 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8970 # Check for a 64-bit object if we didn't find anything.
8971 if test -z "$aix_libpath"; then
8972 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8975 rm -f core conftest.err conftest.
$ac_objext \
8976 conftest
$ac_exeext conftest.
$ac_ext
8977 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8979 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8980 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"
8982 if test "$host_cpu" = ia64
; then
8983 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8984 allow_undefined_flag
="-z nodefs"
8985 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"
8987 # Determine the default libpath from the value encoded in an
8989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8990 /* end confdefs.h. */
9000 if ac_fn_c_try_link
"$LINENO"; then :
9002 lt_aix_libpath_sed
='
9003 /Import File Strings/,/^$/ {
9009 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9010 # Check for a 64-bit object if we didn't find anything.
9011 if test -z "$aix_libpath"; then
9012 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9015 rm -f core conftest.err conftest.
$ac_objext \
9016 conftest
$ac_exeext conftest.
$ac_ext
9017 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9019 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9020 # Warning - without using the other run time loading flags,
9021 # -berok will link without error, but may produce a broken library.
9022 no_undefined_flag
=' ${wl}-bernotok'
9023 allow_undefined_flag
=' ${wl}-berok'
9024 if test "$with_gnu_ld" = yes; then
9025 # We only use this code for GNU lds that support --whole-archive.
9026 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9028 # Exported symbols can be pulled into shared objects from archives
9029 whole_archive_flag_spec
='$convenience'
9031 archive_cmds_need_lc
=yes
9032 # This is similar to how AIX traditionally builds its shared libraries.
9033 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'
9041 # see comment about AmigaOS4 .so support
9042 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9043 archive_expsym_cmds
=''
9046 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)'
9047 hardcode_libdir_flag_spec
='-L$libdir'
9048 hardcode_minus_L
=yes
9054 export_dynamic_flag_spec
=-rdynamic
9057 cygwin
* | mingw
* | pw32
* | cegcc
*)
9058 # When not using gcc, we currently assume that we are using
9059 # Microsoft Visual C++.
9060 # hardcode_libdir_flag_spec is actually meaningless, as there is
9061 # no search path for DLLs.
9062 hardcode_libdir_flag_spec
=' '
9063 allow_undefined_flag
=unsupported
9064 # Tell ltmain to make .lib files, not .a files.
9066 # Tell ltmain to make .dll files, not .so files.
9068 # FIXME: Setting linknames here is a bad hack.
9069 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9070 # The linker will automatically build a .lib file if we build a DLL.
9071 old_archive_from_new_cmds
='true'
9072 # FIXME: Should let the user specify the lib program.
9073 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9074 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9075 enable_shared_with_static_runtimes
=yes
9078 darwin
* | rhapsody
*)
9081 archive_cmds_need_lc
=no
9083 hardcode_automatic
=yes
9084 hardcode_shlibpath_var
=unsupported
9085 if test "$lt_cv_ld_force_load" = "yes"; then
9086 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\"`'
9088 whole_archive_flag_spec
=''
9090 link_all_deplibs
=yes
9091 allow_undefined_flag
="$_lt_dar_allow_undefined"
9092 case $cc_basename in
9093 ifort
*) _lt_dar_can_shared
=yes ;;
9094 *) _lt_dar_can_shared
=$GCC ;;
9096 if test "$_lt_dar_can_shared" = "yes"; then
9097 output_verbose_link_cmd
=func_echo_all
9098 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9099 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9100 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}"
9101 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}"
9110 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9111 hardcode_libdir_flag_spec
='-L$libdir'
9112 hardcode_shlibpath_var
=no
9115 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9116 # support. Future versions do this automatically, but an explicit c++rt0.o
9117 # does not break anything, and helps significantly (at the cost of a little
9120 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9121 hardcode_libdir_flag_spec
='-R$libdir'
9123 hardcode_shlibpath_var
=no
9126 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9128 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9130 hardcode_minus_L
=yes
9131 hardcode_shlibpath_var
=no
9134 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9135 freebsd
* | dragonfly
*)
9136 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9137 hardcode_libdir_flag_spec
='-R$libdir'
9139 hardcode_shlibpath_var
=no
9143 if test "$GCC" = yes; then
9144 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'
9146 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'
9148 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9149 hardcode_libdir_separator
=:
9152 # hardcode_minus_L: Not really in the search PATH,
9153 # but as the default location of the library.
9154 hardcode_minus_L
=yes
9155 export_dynamic_flag_spec
='${wl}-E'
9159 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9160 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9164 if test "$with_gnu_ld" = no
; then
9165 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9166 hardcode_libdir_flag_spec_ld
='+b $libdir'
9167 hardcode_libdir_separator
=:
9169 hardcode_direct_absolute
=yes
9170 export_dynamic_flag_spec
='${wl}-E'
9171 # hardcode_minus_L: Not really in the search PATH,
9172 # but as the default location of the library.
9173 hardcode_minus_L
=yes
9178 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9181 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9184 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9187 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9193 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9196 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9200 # Older versions of the 11.00 compiler do not understand -b yet
9201 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9203 $as_echo_n "checking if $CC understands -b... " >&6; }
9204 if ${lt_cv_prog_compiler__b+:} false
; then :
9205 $as_echo_n "(cached) " >&6
9207 lt_cv_prog_compiler__b
=no
9208 save_LDFLAGS
="$LDFLAGS"
9209 LDFLAGS
="$LDFLAGS -b"
9210 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9211 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9212 # The linker can only warn and ignore the option if not recognized
9213 # So say no if there are warnings
9214 if test -s conftest.err
; then
9215 # Append any errors to the config.log.
9216 cat conftest.err
1>&5
9217 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9218 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9219 if diff conftest.exp conftest.er2
>/dev
/null
; then
9220 lt_cv_prog_compiler__b
=yes
9223 lt_cv_prog_compiler__b
=yes
9227 LDFLAGS
="$save_LDFLAGS"
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9231 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9233 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9234 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9236 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9242 if test "$with_gnu_ld" = no
; then
9243 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9244 hardcode_libdir_separator
=:
9249 hardcode_shlibpath_var
=no
9253 hardcode_direct_absolute
=yes
9254 export_dynamic_flag_spec
='${wl}-E'
9256 # hardcode_minus_L: Not really in the search PATH,
9257 # but as the default location of the library.
9258 hardcode_minus_L
=yes
9264 irix5
* | irix6
* | nonstopux
*)
9265 if test "$GCC" = yes; then
9266 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'
9267 # Try to use the -exported_symbol ld option, if it does not
9268 # work, assume that -exports_file does not work either and
9269 # implicitly export all symbols.
9270 save_LDFLAGS
="$LDFLAGS"
9271 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9276 if ac_fn_c_try_link
"$LINENO"; then :
9277 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'
9280 rm -f core conftest.err conftest.
$ac_objext \
9281 conftest
$ac_exeext conftest.
$ac_ext
9282 LDFLAGS
="$save_LDFLAGS"
9284 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'
9285 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'
9287 archive_cmds_need_lc
='no'
9288 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9289 hardcode_libdir_separator
=:
9291 link_all_deplibs
=yes
9295 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9296 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9298 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9300 hardcode_libdir_flag_spec
='-R$libdir'
9302 hardcode_shlibpath_var
=no
9306 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9308 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9309 hardcode_libdir_separator
=:
9310 hardcode_shlibpath_var
=no
9317 if test -f /usr
/libexec
/ld.so
; then
9319 hardcode_shlibpath_var
=no
9320 hardcode_direct_absolute
=yes
9321 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9322 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9323 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9324 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9325 export_dynamic_flag_spec
='${wl}-E'
9328 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9329 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9330 hardcode_libdir_flag_spec
='-R$libdir'
9333 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9334 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9344 hardcode_libdir_flag_spec
='-L$libdir'
9345 hardcode_minus_L
=yes
9346 allow_undefined_flag
=unsupported
9347 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'
9348 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9352 if test "$GCC" = yes; then
9353 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9354 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'
9356 allow_undefined_flag
=' -expect_unresolved \*'
9357 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'
9359 archive_cmds_need_lc
='no'
9360 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9361 hardcode_libdir_separator
=:
9364 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9365 if test "$GCC" = yes; then
9366 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9367 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'
9368 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9370 allow_undefined_flag
=' -expect_unresolved \*'
9371 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'
9372 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~
9373 $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'
9375 # Both c and cxx compiler support -rpath directly
9376 hardcode_libdir_flag_spec
='-rpath $libdir'
9378 archive_cmds_need_lc
='no'
9379 hardcode_libdir_separator
=:
9383 no_undefined_flag
=' -z defs'
9384 if test "$GCC" = yes; then
9386 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9387 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9388 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9390 case `$CC -V 2>&1` in
9393 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9394 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9395 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9399 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9400 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9401 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9405 hardcode_libdir_flag_spec
='-R$libdir'
9406 hardcode_shlibpath_var
=no
9408 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9410 # The compiler driver will combine and reorder linker options,
9411 # but understands `-z linker_flag'. GCC discards it without `$wl',
9412 # but is careful enough not to reorder.
9413 # Supported since Solaris 2.6 (maybe 2.5.1?)
9414 if test "$GCC" = yes; then
9415 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9417 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9421 link_all_deplibs
=yes
9425 if test "x$host_vendor" = xsequent
; then
9426 # Use $CC to link under sequent, because it throws in some extra .o
9427 # files that make .init and .fini sections work.
9428 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9430 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9432 hardcode_libdir_flag_spec
='-L$libdir'
9434 hardcode_minus_L
=yes
9435 hardcode_shlibpath_var
=no
9439 case $host_vendor in
9441 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9442 hardcode_direct
=yes # is this really true???
9445 ## LD is ld it makes a PLAMLIB
9446 ## CC just makes a GrossModule.
9447 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9448 reload_cmds
='$CC -r -o $output$reload_objs'
9452 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9453 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9456 runpath_var
='LD_RUN_PATH'
9457 hardcode_shlibpath_var
=no
9461 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9462 hardcode_shlibpath_var
=no
9463 export_dynamic_flag_spec
='-Bexport'
9467 if test -d /usr
/nec
; then
9468 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9469 hardcode_shlibpath_var
=no
9470 runpath_var
=LD_RUN_PATH
9471 hardcode_runpath_var
=yes
9476 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9477 no_undefined_flag
='${wl}-z,text'
9478 archive_cmds_need_lc
=no
9479 hardcode_shlibpath_var
=no
9480 runpath_var
='LD_RUN_PATH'
9482 if test "$GCC" = yes; then
9483 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9484 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9486 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9487 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9491 sysv5
* | sco3.2v5
* | sco5v6
*)
9492 # Note: We can NOT use -z defs as we might desire, because we do not
9493 # link with -lc, and that would cause any symbols used from libc to
9494 # always be unresolved, which means just about no library would
9495 # ever link correctly. If we're not using GNU ld we use -z text
9496 # though, which does catch some bad symbols but isn't as heavy-handed
9498 no_undefined_flag
='${wl}-z,text'
9499 allow_undefined_flag
='${wl}-z,nodefs'
9500 archive_cmds_need_lc
=no
9501 hardcode_shlibpath_var
=no
9502 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9503 hardcode_libdir_separator
=':'
9504 link_all_deplibs
=yes
9505 export_dynamic_flag_spec
='${wl}-Bexport'
9506 runpath_var
='LD_RUN_PATH'
9508 if test "$GCC" = yes; then
9509 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9510 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9512 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9513 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9518 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9519 hardcode_libdir_flag_spec
='-L$libdir'
9520 hardcode_shlibpath_var
=no
9528 if test x
$host_vendor = xsni
; then
9530 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9531 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9538 $as_echo "$ld_shlibs" >&6; }
9539 test "$ld_shlibs" = no
&& can_build_shared
=no
9541 with_gnu_ld
=$with_gnu_ld
9558 # Do we need to explicitly link libc?
9560 case "x$archive_cmds_need_lc" in
9562 # Assume -lc should be added
9563 archive_cmds_need_lc
=yes
9565 if test "$enable_shared" = yes && test "$GCC" = yes; then
9566 case $archive_cmds in
9568 # FIXME: we may have to deal with multi-command sequences.
9571 # Test whether the compiler implicitly links with -lc since on some
9572 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9573 # to ld, don't add -lc before -lgcc.
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9575 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9576 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9577 $as_echo_n "(cached) " >&6
9580 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9583 (eval $ac_compile) 2>&5
9585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9586 test $ac_status = 0; } 2>conftest.err
; then
9589 libobjs
=conftest.
$ac_objext
9591 wl
=$lt_prog_compiler_wl
9592 pic_flag
=$lt_prog_compiler_pic
9598 lt_save_allow_undefined_flag
=$allow_undefined_flag
9599 allow_undefined_flag
=
9600 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9601 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9604 test $ac_status = 0; }
9606 lt_cv_archive_cmds_need_lc
=no
9608 lt_cv_archive_cmds_need_lc
=yes
9610 allow_undefined_flag
=$lt_save_allow_undefined_flag
9612 cat conftest.err
1>&5
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9618 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9619 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9783 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9785 if test "$GCC" = yes; then
9787 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9788 *) lt_awk_arg
="/^libraries:/" ;;
9791 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9792 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9794 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9795 case $lt_search_path_spec in
9797 # if the path contains ";" then we assume it to be the separator
9798 # otherwise default to the standard path separator (i.e. ":") - it is
9799 # assumed that no part of a normal pathname contains ";" but that should
9800 # okay in the real world where ";" in dirpaths is itself problematic.
9801 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9804 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9807 # Ok, now we have the path, separated by spaces, we can step through it
9808 # and add multilib dir if necessary.
9809 lt_tmp_lt_search_path_spec
=
9810 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9811 for lt_sys_path
in $lt_search_path_spec; do
9812 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9813 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9815 test -d "$lt_sys_path" && \
9816 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9819 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9820 BEGIN {RS=" "; FS="/|\n";} {
9823 for (lt_i = NF; lt_i > 0; lt_i--) {
9824 if ($lt_i != "" && $lt_i != ".") {
9825 if ($lt_i == "..") {
9828 if (lt_count == 0) {
9829 lt_foo="/" $lt_i lt_foo;
9836 if (lt_foo != "") { lt_freq[lt_foo]++; }
9837 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9839 # AWK program above erroneously prepends '/' to C:/dos/paths
9842 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9843 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9845 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9847 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9850 libname_spec
='lib$name'
9858 shlibpath_overrides_runpath
=unknown
9860 dynamic_linker
="$host_os ld.so"
9861 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9862 need_lib_prefix
=unknown
9863 hardcode_into_libs
=no
9865 # when you set need_version to no, make sure it does not cause -set_version
9866 # flags to be left without arguments
9867 need_version
=unknown
9872 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9873 shlibpath_var
=LIBPATH
9875 # AIX 3 has no versioning support, so we append a major version to the name.
9876 soname_spec
='${libname}${release}${shared_ext}$major'
9883 hardcode_into_libs
=yes
9884 if test "$host_cpu" = ia64
; then
9885 # AIX 5 supports IA64
9886 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9887 shlibpath_var
=LD_LIBRARY_PATH
9889 # With GCC up to 2.95.x, collect2 would create an import file
9890 # for dependence libraries. The import file would start with
9891 # the line `#! .'. This would cause the generated library to
9892 # depend on `.', always an invalid library. This was fixed in
9893 # development snapshots of GCC prior to 3.0.
9895 aix4 | aix4.
[01] | aix4.
[01].
*)
9896 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9898 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9905 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9906 # soname into executable. Probably we can add versioning support to
9907 # collect2, so additional links can be useful in future.
9908 if test "$aix_use_runtimelinking" = yes; then
9909 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9910 # instead of lib<name>.a to let people know that these are not
9911 # typical AIX shared libraries.
9912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9914 # We preserve .a as extension for shared libraries through AIX4.2
9915 # and later when we are not doing run time linking.
9916 library_names_spec
='${libname}${release}.a $libname.a'
9917 soname_spec
='${libname}${release}${shared_ext}$major'
9919 shlibpath_var
=LIBPATH
9926 # Since July 2007 AmigaOS4 officially supports .so libraries.
9927 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9931 library_names_spec
='$libname.ixlibrary $libname.a'
9932 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9933 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'
9939 library_names_spec
='${libname}${shared_ext}'
9940 dynamic_linker
="$host_os ld.so"
9941 shlibpath_var
=LIBRARY_PATH
9947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9948 soname_spec
='${libname}${release}${shared_ext}$major'
9949 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9950 shlibpath_var
=LD_LIBRARY_PATH
9951 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9952 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9953 # the default ld.so.conf also contains /usr/contrib/lib and
9954 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9955 # libtool to hard-code these into programs
9958 cygwin
* | mingw
* | pw32
* | cegcc
*)
9959 version_type
=windows
9964 case $GCC,$host_os in
9965 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9966 library_names_spec
='$libname.dll.a'
9967 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9968 postinstall_cmds
='base_file=`basename \${file}`~
9969 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9970 dldir=$destdir/`dirname \$dlpath`~
9971 test -d \$dldir || mkdir -p \$dldir~
9972 $install_prog $dir/$dlname \$dldir/$dlname~
9973 chmod a+x \$dldir/$dlname~
9974 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9975 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9977 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9978 dlpath=$dir/\$dldll~
9980 shlibpath_overrides_runpath
=yes
9984 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9985 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9987 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9990 # MinGW DLLs use traditional 'lib' prefix
9991 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9994 # pw32 DLLs use 'pw' prefix rather than 'lib'
9995 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10001 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10004 dynamic_linker
='Win32 ld.exe'
10005 # FIXME: first we should search . and the directory the executable is in
10009 darwin
* | rhapsody
*)
10010 dynamic_linker
="$host_os dyld"
10011 version_type
=darwin
10014 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10015 soname_spec
='${libname}${release}${major}$shared_ext'
10016 shlibpath_overrides_runpath
=yes
10017 shlibpath_var
=DYLD_LIBRARY_PATH
10018 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10020 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10021 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10029 soname_spec
='${libname}${release}${shared_ext}$major'
10030 shlibpath_var
=LD_LIBRARY_PATH
10033 freebsd
* | dragonfly
*)
10034 # DragonFly does not have aout. When/if they implement a new
10035 # versioning mechanism, adjust this.
10036 if test -x /usr
/bin
/objformat
; then
10037 objformat
=`/usr/bin/objformat`
10040 freebsd
[23].
*) objformat
=aout
;;
10041 *) objformat
=elf
;;
10044 version_type
=freebsd-
$objformat
10045 case $version_type in
10047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10052 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10056 shlibpath_var
=LD_LIBRARY_PATH
10059 shlibpath_overrides_runpath
=yes
10061 freebsd3.
[01]* | freebsdelf3.
[01]*)
10062 shlibpath_overrides_runpath
=yes
10063 hardcode_into_libs
=yes
10065 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10066 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10067 shlibpath_overrides_runpath
=no
10068 hardcode_into_libs
=yes
10070 *) # from 4.6 on, and DragonFly
10071 shlibpath_overrides_runpath
=yes
10072 hardcode_into_libs
=yes
10081 dynamic_linker
="$host_os runtime_loader"
10082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10083 soname_spec
='${libname}${release}${shared_ext}$major'
10084 shlibpath_var
=LIBRARY_PATH
10085 shlibpath_overrides_runpath
=yes
10086 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10087 hardcode_into_libs
=yes
10090 hpux9
* | hpux10
* | hpux11
*)
10091 # Give a soname corresponding to the major version so that dld.sl refuses to
10092 # link against other versions.
10099 hardcode_into_libs
=yes
10100 dynamic_linker
="$host_os dld.so"
10101 shlibpath_var
=LD_LIBRARY_PATH
10102 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10104 soname_spec
='${libname}${release}${shared_ext}$major'
10105 if test "X$HPUX_IA64_MODE" = X32
; then
10106 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10108 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10110 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10114 hardcode_into_libs
=yes
10115 dynamic_linker
="$host_os dld.sl"
10116 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10117 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10119 soname_spec
='${libname}${release}${shared_ext}$major'
10120 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10121 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10125 dynamic_linker
="$host_os dld.sl"
10126 shlibpath_var
=SHLIB_PATH
10127 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10129 soname_spec
='${libname}${release}${shared_ext}$major'
10132 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10133 postinstall_cmds
='chmod 555 $lib'
10134 # or fails outright, so override atomically:
10135 install_override_mode
=555
10142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10143 soname_spec
='${libname}${release}${shared_ext}$major'
10144 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10145 shlibpath_var
=LD_LIBRARY_PATH
10146 shlibpath_overrides_runpath
=no
10147 hardcode_into_libs
=yes
10150 irix5
* | irix6
* | nonstopux
*)
10152 nonstopux
*) version_type
=nonstopux
;;
10154 if test "$lt_cv_prog_gnu_ld" = yes; then
10162 soname_spec
='${libname}${release}${shared_ext}$major'
10163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10165 irix5
* | nonstopux
*)
10166 libsuff
= shlibsuff
=
10169 case $LD in # libtool.m4 will add one of these switches to LD
10170 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10171 libsuff
= shlibsuff
= libmagic
=32-bit;;
10172 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10173 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10174 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10175 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10176 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10180 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10181 shlibpath_overrides_runpath
=no
10182 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10183 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10184 hardcode_into_libs
=yes
10187 # No shared lib support for Linux oldld, aout, or coff.
10188 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10192 # This must be Linux ELF.
10194 # uclinux* changes (here and below) have been submitted to the libtool
10195 # project, but have not yet been accepted: they are GCC-local changes
10196 # for the time being. (See
10197 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10198 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10203 soname_spec
='${libname}${release}${shared_ext}$major'
10204 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10205 shlibpath_var
=LD_LIBRARY_PATH
10206 shlibpath_overrides_runpath
=no
10208 # Some binutils ld are patched to set DT_RUNPATH
10209 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10210 $as_echo_n "(cached) " >&6
10212 lt_cv_shlibpath_overrides_runpath
=no
10213 save_LDFLAGS
=$LDFLAGS
10214 save_libdir
=$libdir
10215 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10216 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10228 if ac_fn_c_try_link
"$LINENO"; then :
10229 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10230 lt_cv_shlibpath_overrides_runpath
=yes
10233 rm -f core conftest.err conftest.
$ac_objext \
10234 conftest
$ac_exeext conftest.
$ac_ext
10235 LDFLAGS
=$save_LDFLAGS
10236 libdir
=$save_libdir
10240 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10242 # This implies no fast_install, which is unacceptable.
10243 # Some rework will be needed to allow for fast_install
10244 # before this can be enabled.
10245 hardcode_into_libs
=yes
10247 # Append ld.so.conf contents to the search path
10248 if test -f /etc
/ld.so.conf
; then
10249 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' ' '`
10250 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10253 # We used to test for /lib/ld.so.1 and disable shared libraries on
10254 # powerpc, because MkLinux only supported shared libraries with the
10255 # GNU dynamic linker. Since this was broken with cross compilers,
10256 # most powerpc-linux boxes support dynamic linking these days and
10257 # people can always --disable-shared, the test was removed, and we
10258 # assume the GNU/Linux dynamic linker is in use.
10259 dynamic_linker
='GNU/Linux ld.so'
10266 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10268 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10269 dynamic_linker
='NetBSD (a.out) ld.so'
10271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10272 soname_spec
='${libname}${release}${shared_ext}$major'
10273 dynamic_linker
='NetBSD ld.elf_so'
10275 shlibpath_var
=LD_LIBRARY_PATH
10276 shlibpath_overrides_runpath
=yes
10277 hardcode_into_libs
=yes
10282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10283 shlibpath_var
=LD_LIBRARY_PATH
10284 shlibpath_overrides_runpath
=yes
10291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10292 soname_spec
='${libname}${release}${shared_ext}$major'
10293 shlibpath_var
=LD_LIBRARY_PATH
10294 shlibpath_overrides_runpath
=no
10295 hardcode_into_libs
=yes
10296 dynamic_linker
='ldqnx.so'
10301 sys_lib_dlsearch_path_spec
="/usr/lib"
10303 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10305 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10306 *) need_version
=no
;;
10308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10309 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10310 shlibpath_var
=LD_LIBRARY_PATH
10311 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10313 openbsd2.
[89] | openbsd2.
[89].
*)
10314 shlibpath_overrides_runpath
=no
10317 shlibpath_overrides_runpath
=yes
10321 shlibpath_overrides_runpath
=yes
10326 libname_spec
='$name'
10329 library_names_spec
='$libname${shared_ext} $libname.a'
10330 dynamic_linker
='OS/2 ld.exe'
10331 shlibpath_var
=LIBPATH
10334 osf3
* | osf4
* | osf5
*)
10338 soname_spec
='${libname}${release}${shared_ext}$major'
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 shlibpath_var
=LD_LIBRARY_PATH
10341 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10342 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10354 soname_spec
='${libname}${release}${shared_ext}$major'
10355 shlibpath_var
=LD_LIBRARY_PATH
10356 shlibpath_overrides_runpath
=yes
10357 hardcode_into_libs
=yes
10358 # ldd complains unless libraries are executable
10359 postinstall_cmds
='chmod +x $lib'
10364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10365 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10366 shlibpath_var
=LD_LIBRARY_PATH
10367 shlibpath_overrides_runpath
=yes
10368 if test "$with_gnu_ld" = yes; then
10376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10377 soname_spec
='${libname}${release}${shared_ext}$major'
10378 shlibpath_var
=LD_LIBRARY_PATH
10379 case $host_vendor in
10381 shlibpath_overrides_runpath
=no
10383 runpath_var
=LD_RUN_PATH
10391 shlibpath_overrides_runpath
=no
10392 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10398 if test -d /usr
/nec
;then
10400 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10401 soname_spec
='$libname${shared_ext}.$major'
10402 shlibpath_var
=LD_LIBRARY_PATH
10406 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10407 version_type
=freebsd-elf
10410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10411 soname_spec
='${libname}${release}${shared_ext}$major'
10412 shlibpath_var
=LD_LIBRARY_PATH
10413 shlibpath_overrides_runpath
=yes
10414 hardcode_into_libs
=yes
10415 if test "$with_gnu_ld" = yes; then
10416 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10418 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10421 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10425 sys_lib_dlsearch_path_spec
='/usr/lib'
10429 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10434 shlibpath_var
=LD_LIBRARY_PATH
10435 shlibpath_overrides_runpath
=no
10436 hardcode_into_libs
=yes
10441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442 soname_spec
='${libname}${release}${shared_ext}$major'
10443 shlibpath_var
=LD_LIBRARY_PATH
10446 # Shared libraries for VwWorks, >= 7 only at this stage
10447 # and (fpic) still incompatible with "large" code models
10448 # in a few configurations. Only for RTP mode in any case,
10449 # and upon explicit request at configure time.
10452 case ${with_multisubdir}-${enable_shared} in
10459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10460 soname_spec
='${libname}${release}${shared_ext}$major'
10461 dynamic_linker
="$host_os module_loader"
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10470 $as_echo "$dynamic_linker" >&6; }
10471 test "$dynamic_linker" = no
&& can_build_shared
=no
10473 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10474 if test "$GCC" = yes; then
10475 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10478 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10479 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10481 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10482 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10577 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10579 if test -n "$hardcode_libdir_flag_spec" ||
10580 test -n "$runpath_var" ||
10581 test "X$hardcode_automatic" = "Xyes" ; then
10583 # We can hardcode non-existent directories.
10584 if test "$hardcode_direct" != no
&&
10585 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10586 # have to relink, otherwise we might link with an installed library
10587 # when we should be linking with a yet-to-be-installed one
10588 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10589 test "$hardcode_minus_L" != no
; then
10590 # Linking always hardcodes the temporary library directory.
10591 hardcode_action
=relink
10593 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10594 hardcode_action
=immediate
10597 # We cannot hardcode anything, or else we can only hardcode existing
10599 hardcode_action
=unsupported
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10602 $as_echo "$hardcode_action" >&6; }
10604 if test "$hardcode_action" = relink ||
10605 test "$inherit_rpath" = yes; then
10606 # Fast installation is not supported
10607 enable_fast_install
=no
10608 elif test "$shlibpath_overrides_runpath" = yes ||
10609 test "$enable_shared" = no
; then
10610 # Fast installation is not necessary
10611 enable_fast_install
=needless
10619 if test "x$enable_dlopen" != xyes
; then
10620 enable_dlopen
=unknown
10621 enable_dlopen_self
=unknown
10622 enable_dlopen_self_static
=unknown
10629 lt_cv_dlopen
="load_add_on"
10631 lt_cv_dlopen_self
=yes
10634 mingw
* | pw32
* | cegcc
*)
10635 lt_cv_dlopen
="LoadLibrary"
10640 lt_cv_dlopen
="dlopen"
10645 # if libdl is installed we need to link against it
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10647 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10648 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10649 $as_echo_n "(cached) " >&6
10651 ac_check_lib_save_LIBS
=$LIBS
10653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10656 /* Override any GCC internal prototype to avoid an error.
10657 Use char because int might match the return type of a GCC
10658 builtin and then its argument prototype would still apply. */
10671 if ac_fn_c_try_link
"$LINENO"; then :
10672 ac_cv_lib_dl_dlopen
=yes
10674 ac_cv_lib_dl_dlopen
=no
10676 rm -f core conftest.err conftest.
$ac_objext \
10677 conftest
$ac_exeext conftest.
$ac_ext
10678 LIBS
=$ac_check_lib_save_LIBS
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10681 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10682 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10683 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10686 lt_cv_dlopen
="dyld"
10688 lt_cv_dlopen_self
=yes
10695 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10696 if test "x$ac_cv_func_shl_load" = xyes
; then :
10697 lt_cv_dlopen
="shl_load"
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10700 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10701 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10702 $as_echo_n "(cached) " >&6
10704 ac_check_lib_save_LIBS
=$LIBS
10706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10719 return shl_load ();
10724 if ac_fn_c_try_link
"$LINENO"; then :
10725 ac_cv_lib_dld_shl_load
=yes
10727 ac_cv_lib_dld_shl_load
=no
10729 rm -f core conftest.err conftest.
$ac_objext \
10730 conftest
$ac_exeext conftest.
$ac_ext
10731 LIBS
=$ac_check_lib_save_LIBS
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10734 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10735 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10736 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10738 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10739 if test "x$ac_cv_func_dlopen" = xyes
; then :
10740 lt_cv_dlopen
="dlopen"
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10743 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10744 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10745 $as_echo_n "(cached) " >&6
10747 ac_check_lib_save_LIBS
=$LIBS
10749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10767 if ac_fn_c_try_link
"$LINENO"; then :
10768 ac_cv_lib_dl_dlopen
=yes
10770 ac_cv_lib_dl_dlopen
=no
10772 rm -f core conftest.err conftest.
$ac_objext \
10773 conftest
$ac_exeext conftest.
$ac_ext
10774 LIBS
=$ac_check_lib_save_LIBS
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10777 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10778 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10779 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10782 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10783 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10784 $as_echo_n "(cached) " >&6
10786 ac_check_lib_save_LIBS
=$LIBS
10787 LIBS
="-lsvld $LIBS"
10788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10791 /* Override any GCC internal prototype to avoid an error.
10792 Use char because int might match the return type of a GCC
10793 builtin and then its argument prototype would still apply. */
10806 if ac_fn_c_try_link
"$LINENO"; then :
10807 ac_cv_lib_svld_dlopen
=yes
10809 ac_cv_lib_svld_dlopen
=no
10811 rm -f core conftest.err conftest.
$ac_objext \
10812 conftest
$ac_exeext conftest.
$ac_ext
10813 LIBS
=$ac_check_lib_save_LIBS
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10816 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10817 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10818 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10821 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10822 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10823 $as_echo_n "(cached) " >&6
10825 ac_check_lib_save_LIBS
=$LIBS
10827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10830 /* Override any GCC internal prototype to avoid an error.
10831 Use char because int might match the return type of a GCC
10832 builtin and then its argument prototype would still apply. */
10840 return dld_link ();
10845 if ac_fn_c_try_link
"$LINENO"; then :
10846 ac_cv_lib_dld_dld_link
=yes
10848 ac_cv_lib_dld_dld_link
=no
10850 rm -f core conftest.err conftest.
$ac_objext \
10851 conftest
$ac_exeext conftest.
$ac_ext
10852 LIBS
=$ac_check_lib_save_LIBS
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10855 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10856 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10857 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10878 if test "x$lt_cv_dlopen" != xno
; then
10884 case $lt_cv_dlopen in
10886 save_CPPFLAGS
="$CPPFLAGS"
10887 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10889 save_LDFLAGS
="$LDFLAGS"
10890 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10893 LIBS
="$lt_cv_dlopen_libs $LIBS"
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10896 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10897 if ${lt_cv_dlopen_self+:} false
; then :
10898 $as_echo_n "(cached) " >&6
10900 if test "$cross_compiling" = yes; then :
10901 lt_cv_dlopen_self
=cross
10903 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10904 lt_status
=$lt_dlunknown
10905 cat > conftest.
$ac_ext <<_LT_EOF
10906 #line 10906 "configure"
10907 #include "confdefs.h"
10916 # define LT_DLGLOBAL RTLD_GLOBAL
10919 # define LT_DLGLOBAL DL_GLOBAL
10921 # define LT_DLGLOBAL 0
10925 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10926 find out it does not work in some platform. */
10927 #ifndef LT_DLLAZY_OR_NOW
10929 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10932 # define LT_DLLAZY_OR_NOW DL_LAZY
10935 # define LT_DLLAZY_OR_NOW RTLD_NOW
10938 # define LT_DLLAZY_OR_NOW DL_NOW
10940 # define LT_DLLAZY_OR_NOW 0
10947 /* When -fvisbility=hidden is used, assume the code has been annotated
10948 correspondingly for the symbols needed. */
10949 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10950 void fnord () __attribute__((visibility("default")));
10953 void fnord () { int i=42; }
10956 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10957 int status = $lt_dlunknown;
10961 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10964 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10965 else puts (dlerror ());
10967 /* dlclose (self); */
10975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10976 (eval $ac_link) 2>&5
10978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10979 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10980 (.
/conftest
; exit; ) >&5 2>/dev
/null
10982 case x
$lt_status in
10983 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10984 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10985 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10988 # compilation failed
10989 lt_cv_dlopen_self
=no
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10997 $as_echo "$lt_cv_dlopen_self" >&6; }
10999 if test "x$lt_cv_dlopen_self" = xyes
; then
11000 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11002 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11003 if ${lt_cv_dlopen_self_static+:} false
; then :
11004 $as_echo_n "(cached) " >&6
11006 if test "$cross_compiling" = yes; then :
11007 lt_cv_dlopen_self_static
=cross
11009 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11010 lt_status
=$lt_dlunknown
11011 cat > conftest.
$ac_ext <<_LT_EOF
11012 #line 11012 "configure"
11013 #include "confdefs.h"
11022 # define LT_DLGLOBAL RTLD_GLOBAL
11025 # define LT_DLGLOBAL DL_GLOBAL
11027 # define LT_DLGLOBAL 0
11031 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11032 find out it does not work in some platform. */
11033 #ifndef LT_DLLAZY_OR_NOW
11035 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11038 # define LT_DLLAZY_OR_NOW DL_LAZY
11041 # define LT_DLLAZY_OR_NOW RTLD_NOW
11044 # define LT_DLLAZY_OR_NOW DL_NOW
11046 # define LT_DLLAZY_OR_NOW 0
11053 /* When -fvisbility=hidden is used, assume the code has been annotated
11054 correspondingly for the symbols needed. */
11055 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11056 void fnord () __attribute__((visibility("default")));
11059 void fnord () { int i=42; }
11062 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11063 int status = $lt_dlunknown;
11067 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11070 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11071 else puts (dlerror ());
11073 /* dlclose (self); */
11081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11082 (eval $ac_link) 2>&5
11084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11085 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11086 (.
/conftest
; exit; ) >&5 2>/dev
/null
11088 case x
$lt_status in
11089 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11090 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11091 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11094 # compilation failed
11095 lt_cv_dlopen_self_static
=no
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11103 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11106 CPPFLAGS
="$save_CPPFLAGS"
11107 LDFLAGS
="$save_LDFLAGS"
11112 case $lt_cv_dlopen_self in
11113 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11114 *) enable_dlopen_self
=unknown
;;
11117 case $lt_cv_dlopen_self_static in
11118 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11119 *) enable_dlopen_self_static
=unknown
;;
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11142 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11143 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11144 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11145 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11147 $as_echo "yes" >&6; }
11149 # FIXME - insert some real tests, host_os isn't really good enough
11152 if test -n "$STRIP" ; then
11153 striplib
="$STRIP -x"
11154 old_striplib
="$STRIP -S"
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11156 $as_echo "yes" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11159 $as_echo "no" >&6; }
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11164 $as_echo "no" >&6; }
11180 # Report which library types will actually be built
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11182 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11184 $as_echo "$can_build_shared" >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11187 $as_echo_n "checking whether to build shared libraries... " >&6; }
11188 test "$can_build_shared" = "no" && enable_shared
=no
11190 # On AIX, shared libraries and static libraries use the same namespace, and
11191 # are all built from PIC.
11194 test "$enable_shared" = yes && enable_static
=no
11195 if test -n "$RANLIB"; then
11196 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11197 postinstall_cmds
='$RANLIB $lib'
11202 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11203 test "$enable_shared" = yes && enable_static
=no
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11208 $as_echo "$enable_shared" >&6; }
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11211 $as_echo_n "checking whether to build static libraries... " >&6; }
11212 # Make sure either enable_shared or enable_static is yes.
11213 test "$enable_shared" = yes || enable_static
=yes
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11215 $as_echo "$enable_static" >&6; }
11222 ac_cpp
='$CPP $CPPFLAGS'
11223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11241 ac_config_commands
="$ac_config_commands libtool"
11246 # Only expand once:
11251 .
${srcdir}/..
/bfd
/development.sh
11252 test "$development" = true
&& ac_checking
=yes
11253 # Check whether --enable-checking was given.
11254 if test "${enable_checking+set}" = set; then :
11255 enableval
=$enable_checking; case "${enableval}" in
11256 no|none
) ac_checking
= ;;
11257 *) ac_checking
=yes ;;
11260 if test x
$ac_checking != x
; then
11262 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
11266 # Check whether --enable-targets was given.
11267 if test "${enable_targets+set}" = set; then :
11268 enableval
=$enable_targets; case "${enableval}" in
11269 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11271 no
) enable_targets
= ;;
11272 *) enable_targets
=$enableval ;;
11277 # Set the 'development' global.
11278 .
$srcdir/..
/bfd
/development.sh
11280 # Set acp_cpp_for_build variable
11281 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
11283 # Default set of GCC warnings to enable.
11284 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11285 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11287 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11293 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11296 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
11301 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11307 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11315 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
11316 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
11324 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
11325 WARN_WRITE_STRINGS
=""
11326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11331 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11334 WARN_WRITE_STRINGS
="-Wwrite-strings"
11339 # Verify CC_FOR_BUILD to be compatible with warning flags
11341 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11346 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11347 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11350 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
11355 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11360 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11361 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h. */
11368 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11369 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
11370 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
11378 # Check whether --enable-werror was given.
11379 if test "${enable_werror+set}" = set; then :
11380 enableval
=$enable_werror; case "${enableval}" in
11381 yes | y
) ERROR_ON_WARNING
="yes" ;;
11382 no | n
) ERROR_ON_WARNING
="no" ;;
11383 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11388 # Disable -Wformat by default when using gcc on mingw
11391 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11392 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11393 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
11399 # Enable -Werror by default when using gcc. Turn it off for releases.
11400 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
11401 ERROR_ON_WARNING
=yes
11405 if test "${ERROR_ON_WARNING}" = yes ; then
11406 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11407 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
11408 NO_WERROR
="-Wno-error"
11411 if test "${GCC}" = yes ; then
11412 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11413 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
11416 # Check whether --enable-build-warnings was given.
11417 if test "${enable_build_warnings+set}" = set; then :
11418 enableval
=$enable_build_warnings; case "${enableval}" in
11419 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11420 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
11421 no
) if test "${GCC}" = yes ; then
11423 WARN_CFLAGS_FOR_BUILD
="-w"
11425 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11426 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
11427 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
11428 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11429 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
11430 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
11431 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
11432 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11437 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11438 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11447 ac_config_headers
="$ac_config_headers config.h:config.in"
11453 if test -z "$target" ; then
11454 as_fn_error $?
"Unrecognized target system type; please check config.sub." "$LINENO" 5
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11459 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11460 # Check whether --enable-maintainer-mode was given.
11461 if test "${enable_maintainer_mode+set}" = set; then :
11462 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11464 USE_MAINTAINER_MODE
=no
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11468 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11469 if test $USE_MAINTAINER_MODE = yes; then
11470 MAINTAINER_MODE_TRUE
=
11471 MAINTAINER_MODE_FALSE
='#'
11473 MAINTAINER_MODE_TRUE
='#'
11474 MAINTAINER_MODE_FALSE
=
11477 MAINT
=$MAINTAINER_MODE_TRUE
11480 case ${build_alias} in
11481 "") build_noncanonical
=${build} ;;
11482 *) build_noncanonical
=${build_alias} ;;
11485 case ${host_alias} in
11486 "") host_noncanonical
=${build_noncanonical} ;;
11487 *) host_noncanonical
=${host_alias} ;;
11490 case ${target_alias} in
11491 "") target_noncanonical
=${host_noncanonical} ;;
11492 *) target_noncanonical
=${target_alias} ;;
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
11496 $as_echo_n "checking whether to install libbfd... " >&6; }
11497 # Check whether --enable-install-libbfd was given.
11498 if test "${enable_install_libbfd+set}" = set; then :
11499 enableval
=$enable_install_libbfd; install_libbfd_p
=$enableval
11501 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
11502 install_libbfd_p
=yes
11504 install_libbfd_p
=no
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
11509 $as_echo "$install_libbfd_p" >&6; }
11510 if test $install_libbfd_p = yes; then
11511 INSTALL_LIBBFD_TRUE
=
11512 INSTALL_LIBBFD_FALSE
='#'
11514 INSTALL_LIBBFD_TRUE
='#'
11515 INSTALL_LIBBFD_FALSE
=
11518 # Need _noncanonical variables for this.
11523 # libbfd.a is a host library containing target dependent code
11524 bfdlibdir
='$(libdir)'
11525 bfdincludedir
='$(includedir)'
11526 if test "${host}" != "${target}"; then
11527 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
11528 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
11538 # host-specific stuff:
11540 ALL_LINGUAS
="da de es fi fr ga id it nl pt_BR ro sr sv tr uk vi zh_CN"
11543 if test -n "$ac_aux_dir"; then
11544 case "$ac_aux_dir" in
11545 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11546 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11549 if test -z "$MKINSTALLDIRS"; then
11550 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11556 $as_echo_n "checking whether NLS is requested... " >&6; }
11557 # Check whether --enable-nls was given.
11558 if test "${enable_nls+set}" = set; then :
11559 enableval
=$enable_nls; USE_NLS
=$enableval
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11565 $as_echo "$USE_NLS" >&6; }
11572 # Prepare PATH_SEPARATOR.
11573 # The user is always right.
11574 if test "${PATH_SEPARATOR+set}" != set; then
11575 echo "#! /bin/sh" >conf$$.sh
11576 echo "exit 0" >>conf$$.sh
11578 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11586 # Find out how to test for executable files. Don't use a zero-byte file,
11587 # as systems may use methods other than mode bits to determine executability.
11588 cat >conf$$.
file <<_ASEOF
11592 chmod +x conf$$.
file
11593 if test -x conf$$.
file >/dev
/null
2>&1; then
11594 ac_executable_p
="test -x"
11596 ac_executable_p
="test -f"
11600 # Extract the first word of "msgfmt", so it can be a program name with args.
11601 set dummy msgfmt
; ac_word
=$2
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11603 $as_echo_n "checking for $ac_word... " >&6; }
11604 if ${ac_cv_path_MSGFMT+:} false
; then :
11605 $as_echo_n "(cached) " >&6
11609 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11612 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11613 for ac_dir
in $PATH; do
11615 test -z "$ac_dir" && ac_dir
=.
11616 for ac_exec_ext
in '' $ac_executable_extensions; do
11617 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11618 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11619 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11620 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11627 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11631 MSGFMT
="$ac_cv_path_MSGFMT"
11632 if test "$MSGFMT" != ":"; then
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11634 $as_echo "$MSGFMT" >&6; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11637 $as_echo "no" >&6; }
11640 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11641 set dummy gmsgfmt
; ac_word
=$2
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11643 $as_echo_n "checking for $ac_word... " >&6; }
11644 if ${ac_cv_path_GMSGFMT+:} false
; then :
11645 $as_echo_n "(cached) " >&6
11649 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11653 for as_dir
in $PATH
11656 test -z "$as_dir" && as_dir
=.
11657 for ac_exec_ext
in '' $ac_executable_extensions; do
11658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11659 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11667 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11671 GMSGFMT
=$ac_cv_path_GMSGFMT
11672 if test -n "$GMSGFMT"; then
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11674 $as_echo "$GMSGFMT" >&6; }
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11677 $as_echo "no" >&6; }
11683 # Prepare PATH_SEPARATOR.
11684 # The user is always right.
11685 if test "${PATH_SEPARATOR+set}" != set; then
11686 echo "#! /bin/sh" >conf$$.sh
11687 echo "exit 0" >>conf$$.sh
11689 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11697 # Find out how to test for executable files. Don't use a zero-byte file,
11698 # as systems may use methods other than mode bits to determine executability.
11699 cat >conf$$.
file <<_ASEOF
11703 chmod +x conf$$.
file
11704 if test -x conf$$.
file >/dev
/null
2>&1; then
11705 ac_executable_p
="test -x"
11707 ac_executable_p
="test -f"
11711 # Extract the first word of "xgettext", so it can be a program name with args.
11712 set dummy xgettext
; ac_word
=$2
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11714 $as_echo_n "checking for $ac_word... " >&6; }
11715 if ${ac_cv_path_XGETTEXT+:} false
; then :
11716 $as_echo_n "(cached) " >&6
11718 case "$XGETTEXT" in
11720 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11723 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11724 for ac_dir
in $PATH; do
11726 test -z "$ac_dir" && ac_dir
=.
11727 for ac_exec_ext
in '' $ac_executable_extensions; do
11728 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11729 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11730 (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
11731 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11738 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11742 XGETTEXT
="$ac_cv_path_XGETTEXT"
11743 if test "$XGETTEXT" != ":"; then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11745 $as_echo "$XGETTEXT" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748 $as_echo "no" >&6; }
11754 # Prepare PATH_SEPARATOR.
11755 # The user is always right.
11756 if test "${PATH_SEPARATOR+set}" != set; then
11757 echo "#! /bin/sh" >conf$$.sh
11758 echo "exit 0" >>conf$$.sh
11760 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11768 # Find out how to test for executable files. Don't use a zero-byte file,
11769 # as systems may use methods other than mode bits to determine executability.
11770 cat >conf$$.
file <<_ASEOF
11774 chmod +x conf$$.
file
11775 if test -x conf$$.
file >/dev
/null
2>&1; then
11776 ac_executable_p
="test -x"
11778 ac_executable_p
="test -f"
11782 # Extract the first word of "msgmerge", so it can be a program name with args.
11783 set dummy msgmerge
; ac_word
=$2
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11785 $as_echo_n "checking for $ac_word... " >&6; }
11786 if ${ac_cv_path_MSGMERGE+:} false
; then :
11787 $as_echo_n "(cached) " >&6
11789 case "$MSGMERGE" in
11791 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11794 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11795 for ac_dir
in $PATH; do
11797 test -z "$ac_dir" && ac_dir
=.
11798 for ac_exec_ext
in '' $ac_executable_extensions; do
11799 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11800 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11801 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11808 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11812 MSGMERGE
="$ac_cv_path_MSGMERGE"
11813 if test "$MSGMERGE" != ":"; then
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11815 $as_echo "$MSGMERGE" >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11818 $as_echo "no" >&6; }
11822 if test "$GMSGFMT" != ":"; then
11823 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11824 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11827 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11829 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11834 if test "$XGETTEXT" != ":"; then
11835 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11836 (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
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11840 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11846 ac_config_commands
="$ac_config_commands default-1"
11850 if test "X$prefix" = "XNONE"; then
11851 acl_final_prefix
="$ac_default_prefix"
11853 acl_final_prefix
="$prefix"
11855 if test "X$exec_prefix" = "XNONE"; then
11856 acl_final_exec_prefix
='${prefix}'
11858 acl_final_exec_prefix
="$exec_prefix"
11860 acl_save_prefix
="$prefix"
11861 prefix
="$acl_final_prefix"
11862 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
11863 prefix
="$acl_save_prefix"
11866 # Check whether --with-gnu-ld was given.
11867 if test "${with_gnu_ld+set}" = set; then :
11868 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11873 # Prepare PATH_SEPARATOR.
11874 # The user is always right.
11875 if test "${PATH_SEPARATOR+set}" != set; then
11876 echo "#! /bin/sh" >conf$$.sh
11877 echo "exit 0" >>conf$$.sh
11879 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11887 if test "$GCC" = yes; then
11888 # Check if gcc -print-prog-name=ld gives a path.
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
11890 $as_echo_n "checking for ld used by GCC... " >&6; }
11893 # gcc leaves a trailing carriage return which upsets mingw
11894 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11896 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11899 # Accept absolute paths.
11900 [\\/]* |
[A-Za-z
]:[\\/]*)
11901 re_direlt
='/[^/][^/]*/\.\./'
11902 # Canonicalize the path of ld
11903 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
11904 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
11905 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
11907 test -z "$LD" && LD
="$ac_prog"
11910 # If it fails, then pretend we aren't using GCC.
11914 # If it is relative, then search for the first ld in PATH.
11915 with_gnu_ld
=unknown
11918 elif test "$with_gnu_ld" = yes; then
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11920 $as_echo_n "checking for GNU ld... " >&6; }
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11923 $as_echo_n "checking for non-GNU ld... " >&6; }
11925 if ${acl_cv_path_LD+:} false
; then :
11926 $as_echo_n "(cached) " >&6
11928 if test -z "$LD"; then
11929 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
11930 for ac_dir
in $PATH; do
11931 test -z "$ac_dir" && ac_dir
=.
11932 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11933 acl_cv_path_LD
="$ac_dir/$ac_prog"
11934 # Check to see if the program is GNU ld. I'd rather use --version,
11935 # but apparently some GNU ld's only accept -v.
11936 # Break only if it was the GNU/non-GNU ld that we prefer.
11937 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
$EGREP '(GNU|with BFD)' > /dev
/null
; then
11938 test "$with_gnu_ld" != no
&& break
11940 test "$with_gnu_ld" != yes && break
11946 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
11950 LD
="$acl_cv_path_LD"
11951 if test -n "$LD"; then
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11953 $as_echo "$LD" >&6; }
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11956 $as_echo "no" >&6; }
11958 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11960 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11961 if ${acl_cv_prog_gnu_ld+:} false
; then :
11962 $as_echo_n "(cached) " >&6
11964 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11965 if $LD -v 2>&1 </dev
/null |
$EGREP '(GNU|with BFD)' 1>&5; then
11966 acl_cv_prog_gnu_ld
=yes
11968 acl_cv_prog_gnu_ld
=no
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
11972 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
11973 with_gnu_ld
=$acl_cv_prog_gnu_ld
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
11978 $as_echo_n "checking for shared library run path origin... " >&6; }
11979 if ${acl_cv_rpath+:} false
; then :
11980 $as_echo_n "(cached) " >&6
11983 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
11984 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
11986 rm -f .
/conftest.sh
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
11991 $as_echo "$acl_cv_rpath" >&6; }
11993 libext
="$acl_cv_libext"
11994 shlibext
="$acl_cv_shlibext"
11995 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
11996 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
11997 hardcode_direct
="$acl_cv_hardcode_direct"
11998 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
11999 # Check whether --enable-rpath was given.
12000 if test "${enable_rpath+set}" = set; then :
12001 enableval
=$enable_rpath; :
12015 acl_save_prefix
="$prefix"
12016 prefix
="$acl_final_prefix"
12017 acl_save_exec_prefix
="$exec_prefix"
12018 exec_prefix
="$acl_final_exec_prefix"
12020 eval additional_includedir
=\"$includedir\"
12021 eval additional_libdir
=\"$libdir\"
12023 exec_prefix
="$acl_save_exec_prefix"
12024 prefix
="$acl_save_prefix"
12027 # Check whether --with-libiconv-prefix was given.
12028 if test "${with_libiconv_prefix+set}" = set; then :
12029 withval
=$with_libiconv_prefix;
12030 if test "X$withval" = "Xno"; then
12033 if test "X$withval" = "X"; then
12035 acl_save_prefix
="$prefix"
12036 prefix
="$acl_final_prefix"
12037 acl_save_exec_prefix
="$exec_prefix"
12038 exec_prefix
="$acl_final_exec_prefix"
12040 eval additional_includedir
=\"$includedir\"
12041 eval additional_libdir
=\"$libdir\"
12043 exec_prefix
="$acl_save_exec_prefix"
12044 prefix
="$acl_save_prefix"
12047 additional_includedir
="$withval/include"
12048 additional_libdir
="$withval/lib"
12055 # Check whether --with-libiconv-type was given.
12056 if test "${with_libiconv_type+set}" = set; then :
12057 withval
=$with_libiconv_type; with_libiconv_type
=$withval
12059 with_libiconv_type
=auto
12062 lib_type
=`eval echo \$with_libiconv_type`
12069 names_already_handled
=
12070 names_next_round
='iconv '
12071 while test -n "$names_next_round"; do
12072 names_this_round
="$names_next_round"
12074 for name
in $names_this_round; do
12076 for n
in $names_already_handled; do
12077 if test "$n" = "$name"; then
12078 already_handled
=yes
12082 if test -z "$already_handled"; then
12083 names_already_handled
="$names_already_handled $name"
12084 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12085 eval value
=\"\
$HAVE_LIB$uppername\"
12086 if test -n "$value"; then
12087 if test "$value" = yes; then
12088 eval value
=\"\
$LIB$uppername\"
12089 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12090 eval value
=\"\
$LTLIB$uppername\"
12091 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12100 if test $use_additional = yes; then
12101 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
12102 found_dir
="$additional_libdir"
12103 found_so
="$additional_libdir/lib$name.$shlibext"
12104 if test -f "$additional_libdir/lib$name.la"; then
12105 found_la
="$additional_libdir/lib$name.la"
12107 elif test x
$lib_type != xshared
; then
12108 if test -f "$additional_libdir/lib$name.$libext"; then
12109 found_dir
="$additional_libdir"
12110 found_a
="$additional_libdir/lib$name.$libext"
12111 if test -f "$additional_libdir/lib$name.la"; then
12112 found_la
="$additional_libdir/lib$name.la"
12117 if test "X$found_dir" = "X"; then
12118 for x
in $LDFLAGS $LTLIBICONV; do
12120 acl_save_prefix
="$prefix"
12121 prefix
="$acl_final_prefix"
12122 acl_save_exec_prefix
="$exec_prefix"
12123 exec_prefix
="$acl_final_exec_prefix"
12125 exec_prefix
="$acl_save_exec_prefix"
12126 prefix
="$acl_save_prefix"
12130 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12131 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
12133 found_so
="$dir/lib$name.$shlibext"
12134 if test -f "$dir/lib$name.la"; then
12135 found_la
="$dir/lib$name.la"
12137 elif test x
$lib_type != xshared
; then
12138 if test -f "$dir/lib$name.$libext"; then
12140 found_a
="$dir/lib$name.$libext"
12141 if test -f "$dir/lib$name.la"; then
12142 found_la
="$dir/lib$name.la"
12148 if test "X$found_dir" != "X"; then
12153 if test "X$found_dir" != "X"; then
12154 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12155 if test "X$found_so" != "X"; then
12156 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
12157 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12160 for x
in $ltrpathdirs; do
12161 if test "X$x" = "X$found_dir"; then
12166 if test -z "$haveit"; then
12167 ltrpathdirs
="$ltrpathdirs $found_dir"
12169 if test "$hardcode_direct" = yes; then
12170 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12172 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12173 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12175 for x
in $rpathdirs; do
12176 if test "X$x" = "X$found_dir"; then
12181 if test -z "$haveit"; then
12182 rpathdirs
="$rpathdirs $found_dir"
12186 for x
in $LDFLAGS $LIBICONV; do
12188 acl_save_prefix
="$prefix"
12189 prefix
="$acl_final_prefix"
12190 acl_save_exec_prefix
="$exec_prefix"
12191 exec_prefix
="$acl_final_exec_prefix"
12193 exec_prefix
="$acl_save_exec_prefix"
12194 prefix
="$acl_save_prefix"
12196 if test "X$x" = "X-L$found_dir"; then
12201 if test -z "$haveit"; then
12202 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12204 if test "$hardcode_minus_L" != no
; then
12205 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12207 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12213 if test "X$found_a" != "X"; then
12214 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12216 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12219 additional_includedir
=
12220 case "$found_dir" in
12222 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12223 additional_includedir
="$basedir/include"
12226 if test "X$additional_includedir" != "X"; then
12227 if test "X$additional_includedir" != "X/usr/include"; then
12229 if test "X$additional_includedir" = "X/usr/local/include"; then
12230 if test -n "$GCC"; then
12232 linux
*) haveit
=yes;;
12236 if test -z "$haveit"; then
12237 for x
in $CPPFLAGS $INCICONV; do
12239 acl_save_prefix
="$prefix"
12240 prefix
="$acl_final_prefix"
12241 acl_save_exec_prefix
="$exec_prefix"
12242 exec_prefix
="$acl_final_exec_prefix"
12244 exec_prefix
="$acl_save_exec_prefix"
12245 prefix
="$acl_save_prefix"
12247 if test "X$x" = "X-I$additional_includedir"; then
12252 if test -z "$haveit"; then
12253 if test -d "$additional_includedir"; then
12254 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12260 if test -n "$found_la"; then
12261 save_libdir
="$libdir"
12262 case "$found_la" in
12263 */* |
*\\*) .
"$found_la" ;;
12264 *) .
"./$found_la" ;;
12266 libdir
="$save_libdir"
12267 for dep
in $dependency_libs; do
12270 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12271 if test "X$additional_libdir" != "X/usr/lib"; then
12273 if test "X$additional_libdir" = "X/usr/local/lib"; then
12274 if test -n "$GCC"; then
12276 linux
*) haveit
=yes;;
12280 if test -z "$haveit"; then
12282 for x
in $LDFLAGS $LIBICONV; do
12284 acl_save_prefix
="$prefix"
12285 prefix
="$acl_final_prefix"
12286 acl_save_exec_prefix
="$exec_prefix"
12287 exec_prefix
="$acl_final_exec_prefix"
12289 exec_prefix
="$acl_save_exec_prefix"
12290 prefix
="$acl_save_prefix"
12292 if test "X$x" = "X-L$additional_libdir"; then
12297 if test -z "$haveit"; then
12298 if test -d "$additional_libdir"; then
12299 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12303 for x
in $LDFLAGS $LTLIBICONV; do
12305 acl_save_prefix
="$prefix"
12306 prefix
="$acl_final_prefix"
12307 acl_save_exec_prefix
="$exec_prefix"
12308 exec_prefix
="$acl_final_exec_prefix"
12310 exec_prefix
="$acl_save_exec_prefix"
12311 prefix
="$acl_save_prefix"
12313 if test "X$x" = "X-L$additional_libdir"; then
12318 if test -z "$haveit"; then
12319 if test -d "$additional_libdir"; then
12320 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12327 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12328 if test "$enable_rpath" != no
; then
12330 for x
in $rpathdirs; do
12331 if test "X$x" = "X$dir"; then
12336 if test -z "$haveit"; then
12337 rpathdirs
="$rpathdirs $dir"
12340 for x
in $ltrpathdirs; do
12341 if test "X$x" = "X$dir"; then
12346 if test -z "$haveit"; then
12347 ltrpathdirs
="$ltrpathdirs $dir"
12352 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12355 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12358 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12359 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12365 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
12366 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12367 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12369 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
12370 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
12377 if test "X$rpathdirs" != "X"; then
12378 if test -n "$hardcode_libdir_separator"; then
12380 for found_dir
in $rpathdirs; do
12381 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12383 acl_save_libdir
="$libdir"
12385 eval flag
=\"$hardcode_libdir_flag_spec\"
12386 libdir
="$acl_save_libdir"
12387 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12389 for found_dir
in $rpathdirs; do
12390 acl_save_libdir
="$libdir"
12391 libdir
="$found_dir"
12392 eval flag
=\"$hardcode_libdir_flag_spec\"
12393 libdir
="$acl_save_libdir"
12394 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12398 if test "X$ltrpathdirs" != "X"; then
12399 for found_dir
in $ltrpathdirs; do
12400 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12408 if test -f ..
/gettext
/uninstalled-config.sh
; then
12409 relative_builddir
='$(top_builddir)/../gettext'
12410 . ..
/gettext
/uninstalled-config.sh
12412 # The sister gettext directory doesn't exist and won't collect information on
12413 # using gettext for us. Call a bundled AM_GNU_GETTEXT.
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12438 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12439 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
12440 $as_echo_n "(cached) " >&6
12442 gt_save_LIBS
="$LIBS"
12443 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
12444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12446 #include <CoreFoundation/CFPreferences.h>
12450 CFPreferencesCopyAppValue(NULL, NULL)
12455 if ac_fn_c_try_link
"$LINENO"; then :
12456 gt_cv_func_CFPreferencesCopyAppValue
=yes
12458 gt_cv_func_CFPreferencesCopyAppValue
=no
12460 rm -f core conftest.err conftest.
$ac_objext \
12461 conftest
$ac_exeext conftest.
$ac_ext
12462 LIBS
="$gt_save_LIBS"
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12465 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12466 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12468 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
12472 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
12473 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false
; then :
12474 $as_echo_n "(cached) " >&6
12476 gt_save_LIBS
="$LIBS"
12477 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
12478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12480 #include <CoreFoundation/CFLocale.h>
12484 CFLocaleCopyPreferredLanguages();
12489 if ac_fn_c_try_link
"$LINENO"; then :
12490 gt_cv_func_CFLocaleCopyPreferredLanguages
=yes
12492 gt_cv_func_CFLocaleCopyPreferredLanguages
=no
12494 rm -f core conftest.err conftest.
$ac_objext \
12495 conftest
$ac_exeext conftest.
$ac_ext
12496 LIBS
="$gt_save_LIBS"
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
12499 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
12500 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
12502 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
12506 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
12507 ||
test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
12508 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
12520 case " $gt_needs " in
12521 *" need-formatstring-macros "*) gt_api_version
=3 ;;
12522 *" need-ngettext "*) gt_api_version
=2 ;;
12523 *) gt_api_version
=1 ;;
12525 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
12526 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
12528 if test "$USE_NLS" = "yes"; then
12529 gt_use_preinstalled_gnugettext
=no
12532 if test $gt_api_version -ge 3; then
12533 gt_revision_test_code
='
12534 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12535 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12537 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12540 gt_revision_test_code
=
12542 if test $gt_api_version -ge 2; then
12543 gt_expression_test_code
=' + * ngettext ("", "", 0)'
12545 gt_expression_test_code
=
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12549 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12550 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
12551 $as_echo_n "(cached) " >&6
12553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12556 #include <libintl.h>
12557 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12558 extern int _nl_msg_cat_cntr;
12559 extern int *_nl_domain_bindings;
12560 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
12562 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
12564 $gt_revision_test_code
12570 bindtextdomain ("", "");
12571 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
12577 if ac_fn_c_try_link
"$LINENO"; then :
12578 eval "$gt_func_gnugettext_libc=yes"
12580 eval "$gt_func_gnugettext_libc=no"
12582 rm -f core conftest.err conftest.
$ac_objext \
12583 conftest
$ac_exeext conftest.
$ac_ext
12585 eval ac_res
=\$
$gt_func_gnugettext_libc
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12587 $as_echo "$ac_res" >&6; }
12589 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12595 am_save_CPPFLAGS
="$CPPFLAGS"
12597 for element
in $INCICONV; do
12599 for x
in $CPPFLAGS; do
12601 acl_save_prefix
="$prefix"
12602 prefix
="$acl_final_prefix"
12603 acl_save_exec_prefix
="$exec_prefix"
12604 exec_prefix
="$acl_final_exec_prefix"
12606 exec_prefix
="$acl_save_exec_prefix"
12607 prefix
="$acl_save_prefix"
12609 if test "X$x" = "X$element"; then
12614 if test -z "$haveit"; then
12615 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12621 $as_echo_n "checking for iconv... " >&6; }
12622 if ${am_cv_func_iconv+:} false
; then :
12623 $as_echo_n "(cached) " >&6
12626 am_cv_func_iconv
="no, consider installing GNU libiconv"
12628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 #include <stdlib.h>
12637 iconv_t cd = iconv_open("","");
12638 iconv(cd,NULL,NULL,NULL,NULL);
12644 if ac_fn_c_try_link
"$LINENO"; then :
12645 am_cv_func_iconv
=yes
12647 rm -f core conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12649 if test "$am_cv_func_iconv" != yes; then
12650 am_save_LIBS
="$LIBS"
12651 LIBS
="$LIBS $LIBICONV"
12652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12655 #include <stdlib.h>
12661 iconv_t cd = iconv_open("","");
12662 iconv(cd,NULL,NULL,NULL,NULL);
12668 if ac_fn_c_try_link
"$LINENO"; then :
12669 am_cv_lib_iconv
=yes
12670 am_cv_func_iconv
=yes
12672 rm -f core conftest.err conftest.
$ac_objext \
12673 conftest
$ac_exeext conftest.
$ac_ext
12674 LIBS
="$am_save_LIBS"
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12679 $as_echo "$am_cv_func_iconv" >&6; }
12680 if test "$am_cv_func_iconv" = yes; then
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
12682 $as_echo_n "checking for working iconv... " >&6; }
12683 if ${am_cv_func_iconv_works+:} false
; then :
12684 $as_echo_n "(cached) " >&6
12687 am_save_LIBS
="$LIBS"
12688 if test $am_cv_lib_iconv = yes; then
12689 LIBS
="$LIBS $LIBICONV"
12691 am_cv_func_iconv_works
=no
12692 for ac_iconv_const
in '' 'const'; do
12693 if test "$cross_compiling" = yes; then :
12695 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
12696 *) am_cv_func_iconv_works
="guessing yes" ;;
12699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12703 #include <string.h>
12705 #ifndef ICONV_CONST
12706 # define ICONV_CONST $ac_iconv_const
12713 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
12714 successful returns. This is even documented in
12715 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
12717 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
12718 if (cd_utf8_to_88591 != (iconv_t)(-1))
12720 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
12722 ICONV_CONST char *inptr = input;
12723 size_t inbytesleft = strlen (input);
12724 char *outptr = buf;
12725 size_t outbytesleft = sizeof (buf);
12726 size_t res = iconv (cd_utf8_to_88591,
12727 &inptr, &inbytesleft,
12728 &outptr, &outbytesleft);
12731 iconv_close (cd_utf8_to_88591);
12734 /* Test against Solaris 10 bug: Failures are not distinguishable from
12735 successful returns. */
12737 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
12738 if (cd_ascii_to_88591 != (iconv_t)(-1))
12740 static ICONV_CONST char input[] = "\263";
12742 ICONV_CONST char *inptr = input;
12743 size_t inbytesleft = strlen (input);
12744 char *outptr = buf;
12745 size_t outbytesleft = sizeof (buf);
12746 size_t res = iconv (cd_ascii_to_88591,
12747 &inptr, &inbytesleft,
12748 &outptr, &outbytesleft);
12751 iconv_close (cd_ascii_to_88591);
12754 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
12756 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
12757 if (cd_88591_to_utf8 != (iconv_t)(-1))
12759 static ICONV_CONST char input[] = "\304";
12760 static char buf[2] = { (char)0xDE, (char)0xAD };
12761 ICONV_CONST char *inptr = input;
12762 size_t inbytesleft = 1;
12763 char *outptr = buf;
12764 size_t outbytesleft = 1;
12765 size_t res = iconv (cd_88591_to_utf8,
12766 &inptr, &inbytesleft,
12767 &outptr, &outbytesleft);
12768 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
12770 iconv_close (cd_88591_to_utf8);
12773 #if 0 /* This bug could be worked around by the caller. */
12774 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
12776 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
12777 if (cd_88591_to_utf8 != (iconv_t)(-1))
12779 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
12781 ICONV_CONST char *inptr = input;
12782 size_t inbytesleft = strlen (input);
12783 char *outptr = buf;
12784 size_t outbytesleft = sizeof (buf);
12785 size_t res = iconv (cd_88591_to_utf8,
12786 &inptr, &inbytesleft,
12787 &outptr, &outbytesleft);
12790 iconv_close (cd_88591_to_utf8);
12794 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
12797 /* Try standardized names. */
12798 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
12799 /* Try IRIX, OSF/1 names. */
12800 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
12801 /* Try AIX names. */
12802 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
12803 /* Try HP-UX names. */
12804 iconv_t cd4 = iconv_open ("utf8", "eucJP");
12805 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
12806 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
12808 if (cd1 != (iconv_t)(-1))
12810 if (cd2 != (iconv_t)(-1))
12812 if (cd3 != (iconv_t)(-1))
12814 if (cd4 != (iconv_t)(-1))
12823 if ac_fn_c_try_run
"$LINENO"; then :
12824 am_cv_func_iconv_works
=yes
12826 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12827 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12830 test "$am_cv_func_iconv_works" = no ||
break
12832 LIBS
="$am_save_LIBS"
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
12836 $as_echo "$am_cv_func_iconv_works" >&6; }
12837 case "$am_cv_func_iconv_works" in
12838 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
12839 *) am_func_iconv
=yes ;;
12842 am_func_iconv
=no am_cv_lib_iconv
=no
12844 if test "$am_func_iconv" = yes; then
12846 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12849 if test "$am_cv_lib_iconv" = yes; then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12851 $as_echo_n "checking how to link with libiconv... " >&6; }
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12853 $as_echo "$LIBICONV" >&6; }
12855 CPPFLAGS
="$am_save_CPPFLAGS"
12867 acl_save_prefix
="$prefix"
12868 prefix
="$acl_final_prefix"
12869 acl_save_exec_prefix
="$exec_prefix"
12870 exec_prefix
="$acl_final_exec_prefix"
12872 eval additional_includedir
=\"$includedir\"
12873 eval additional_libdir
=\"$libdir\"
12875 exec_prefix
="$acl_save_exec_prefix"
12876 prefix
="$acl_save_prefix"
12879 # Check whether --with-libintl-prefix was given.
12880 if test "${with_libintl_prefix+set}" = set; then :
12881 withval
=$with_libintl_prefix;
12882 if test "X$withval" = "Xno"; then
12885 if test "X$withval" = "X"; then
12887 acl_save_prefix
="$prefix"
12888 prefix
="$acl_final_prefix"
12889 acl_save_exec_prefix
="$exec_prefix"
12890 exec_prefix
="$acl_final_exec_prefix"
12892 eval additional_includedir
=\"$includedir\"
12893 eval additional_libdir
=\"$libdir\"
12895 exec_prefix
="$acl_save_exec_prefix"
12896 prefix
="$acl_save_prefix"
12899 additional_includedir
="$withval/include"
12900 additional_libdir
="$withval/lib"
12907 # Check whether --with-libintl-type was given.
12908 if test "${with_libintl_type+set}" = set; then :
12909 withval
=$with_libintl_type; with_libintl_type
=$withval
12911 with_libintl_type
=auto
12914 lib_type
=`eval echo \$with_libintl_type`
12921 names_already_handled
=
12922 names_next_round
='intl '
12923 while test -n "$names_next_round"; do
12924 names_this_round
="$names_next_round"
12926 for name
in $names_this_round; do
12928 for n
in $names_already_handled; do
12929 if test "$n" = "$name"; then
12930 already_handled
=yes
12934 if test -z "$already_handled"; then
12935 names_already_handled
="$names_already_handled $name"
12936 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12937 eval value
=\"\
$HAVE_LIB$uppername\"
12938 if test -n "$value"; then
12939 if test "$value" = yes; then
12940 eval value
=\"\
$LIB$uppername\"
12941 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
12942 eval value
=\"\
$LTLIB$uppername\"
12943 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
12952 if test $use_additional = yes; then
12953 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
12954 found_dir
="$additional_libdir"
12955 found_so
="$additional_libdir/lib$name.$shlibext"
12956 if test -f "$additional_libdir/lib$name.la"; then
12957 found_la
="$additional_libdir/lib$name.la"
12959 elif test x
$lib_type != xshared
; then
12960 if test -f "$additional_libdir/lib$name.$libext"; then
12961 found_dir
="$additional_libdir"
12962 found_a
="$additional_libdir/lib$name.$libext"
12963 if test -f "$additional_libdir/lib$name.la"; then
12964 found_la
="$additional_libdir/lib$name.la"
12969 if test "X$found_dir" = "X"; then
12970 for x
in $LDFLAGS $LTLIBINTL; do
12972 acl_save_prefix
="$prefix"
12973 prefix
="$acl_final_prefix"
12974 acl_save_exec_prefix
="$exec_prefix"
12975 exec_prefix
="$acl_final_exec_prefix"
12977 exec_prefix
="$acl_save_exec_prefix"
12978 prefix
="$acl_save_prefix"
12982 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12983 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
12985 found_so
="$dir/lib$name.$shlibext"
12986 if test -f "$dir/lib$name.la"; then
12987 found_la
="$dir/lib$name.la"
12989 elif test x
$lib_type != xshared
; then
12990 if test -f "$dir/lib$name.$libext"; then
12992 found_a
="$dir/lib$name.$libext"
12993 if test -f "$dir/lib$name.la"; then
12994 found_la
="$dir/lib$name.la"
13000 if test "X$found_dir" != "X"; then
13005 if test "X$found_dir" != "X"; then
13006 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13007 if test "X$found_so" != "X"; then
13008 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13009 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13012 for x
in $ltrpathdirs; do
13013 if test "X$x" = "X$found_dir"; then
13018 if test -z "$haveit"; then
13019 ltrpathdirs
="$ltrpathdirs $found_dir"
13021 if test "$hardcode_direct" = yes; then
13022 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13024 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13025 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13027 for x
in $rpathdirs; do
13028 if test "X$x" = "X$found_dir"; then
13033 if test -z "$haveit"; then
13034 rpathdirs
="$rpathdirs $found_dir"
13038 for x
in $LDFLAGS $LIBINTL; do
13040 acl_save_prefix
="$prefix"
13041 prefix
="$acl_final_prefix"
13042 acl_save_exec_prefix
="$exec_prefix"
13043 exec_prefix
="$acl_final_exec_prefix"
13045 exec_prefix
="$acl_save_exec_prefix"
13046 prefix
="$acl_save_prefix"
13048 if test "X$x" = "X-L$found_dir"; then
13053 if test -z "$haveit"; then
13054 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13056 if test "$hardcode_minus_L" != no
; then
13057 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13059 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13065 if test "X$found_a" != "X"; then
13066 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13068 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13071 additional_includedir
=
13072 case "$found_dir" in
13074 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13075 additional_includedir
="$basedir/include"
13078 if test "X$additional_includedir" != "X"; then
13079 if test "X$additional_includedir" != "X/usr/include"; then
13081 if test "X$additional_includedir" = "X/usr/local/include"; then
13082 if test -n "$GCC"; then
13084 linux
*) haveit
=yes;;
13088 if test -z "$haveit"; then
13089 for x
in $CPPFLAGS $INCINTL; do
13091 acl_save_prefix
="$prefix"
13092 prefix
="$acl_final_prefix"
13093 acl_save_exec_prefix
="$exec_prefix"
13094 exec_prefix
="$acl_final_exec_prefix"
13096 exec_prefix
="$acl_save_exec_prefix"
13097 prefix
="$acl_save_prefix"
13099 if test "X$x" = "X-I$additional_includedir"; then
13104 if test -z "$haveit"; then
13105 if test -d "$additional_includedir"; then
13106 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13112 if test -n "$found_la"; then
13113 save_libdir
="$libdir"
13114 case "$found_la" in
13115 */* |
*\\*) .
"$found_la" ;;
13116 *) .
"./$found_la" ;;
13118 libdir
="$save_libdir"
13119 for dep
in $dependency_libs; do
13122 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13123 if test "X$additional_libdir" != "X/usr/lib"; then
13125 if test "X$additional_libdir" = "X/usr/local/lib"; then
13126 if test -n "$GCC"; then
13128 linux
*) haveit
=yes;;
13132 if test -z "$haveit"; then
13134 for x
in $LDFLAGS $LIBINTL; do
13136 acl_save_prefix
="$prefix"
13137 prefix
="$acl_final_prefix"
13138 acl_save_exec_prefix
="$exec_prefix"
13139 exec_prefix
="$acl_final_exec_prefix"
13141 exec_prefix
="$acl_save_exec_prefix"
13142 prefix
="$acl_save_prefix"
13144 if test "X$x" = "X-L$additional_libdir"; then
13149 if test -z "$haveit"; then
13150 if test -d "$additional_libdir"; then
13151 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13155 for x
in $LDFLAGS $LTLIBINTL; do
13157 acl_save_prefix
="$prefix"
13158 prefix
="$acl_final_prefix"
13159 acl_save_exec_prefix
="$exec_prefix"
13160 exec_prefix
="$acl_final_exec_prefix"
13162 exec_prefix
="$acl_save_exec_prefix"
13163 prefix
="$acl_save_prefix"
13165 if test "X$x" = "X-L$additional_libdir"; then
13170 if test -z "$haveit"; then
13171 if test -d "$additional_libdir"; then
13172 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13179 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13180 if test "$enable_rpath" != no
; then
13182 for x
in $rpathdirs; do
13183 if test "X$x" = "X$dir"; then
13188 if test -z "$haveit"; then
13189 rpathdirs
="$rpathdirs $dir"
13192 for x
in $ltrpathdirs; do
13193 if test "X$x" = "X$dir"; then
13198 if test -z "$haveit"; then
13199 ltrpathdirs
="$ltrpathdirs $dir"
13204 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13207 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13210 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13211 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13217 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
13218 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13219 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13221 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
13222 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
13229 if test "X$rpathdirs" != "X"; then
13230 if test -n "$hardcode_libdir_separator"; then
13232 for found_dir
in $rpathdirs; do
13233 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13235 acl_save_libdir
="$libdir"
13237 eval flag
=\"$hardcode_libdir_flag_spec\"
13238 libdir
="$acl_save_libdir"
13239 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13241 for found_dir
in $rpathdirs; do
13242 acl_save_libdir
="$libdir"
13243 libdir
="$found_dir"
13244 eval flag
=\"$hardcode_libdir_flag_spec\"
13245 libdir
="$acl_save_libdir"
13246 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13250 if test "X$ltrpathdirs" != "X"; then
13251 for found_dir
in $ltrpathdirs; do
13252 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13257 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13258 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
13259 $as_echo_n "(cached) " >&6
13261 gt_save_CPPFLAGS
="$CPPFLAGS"
13262 CPPFLAGS
="$CPPFLAGS $INCINTL"
13263 gt_save_LIBS
="$LIBS"
13264 LIBS
="$LIBS $LIBINTL"
13265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13268 #include <libintl.h>
13269 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13270 extern int _nl_msg_cat_cntr;
13275 const char *_nl_expand_alias (const char *);
13276 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
13278 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
13280 $gt_revision_test_code
13286 bindtextdomain ("", "");
13287 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
13293 if ac_fn_c_try_link
"$LINENO"; then :
13294 eval "$gt_func_gnugettext_libintl=yes"
13296 eval "$gt_func_gnugettext_libintl=no"
13298 rm -f core conftest.err conftest.
$ac_objext \
13299 conftest
$ac_exeext conftest.
$ac_ext
13300 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13301 LIBS
="$LIBS $LIBICONV"
13302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 #include <libintl.h>
13306 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13307 extern int _nl_msg_cat_cntr;
13312 const char *_nl_expand_alias (const char *);
13313 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
13315 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
13317 $gt_revision_test_code
13323 bindtextdomain ("", "");
13324 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
13330 if ac_fn_c_try_link
"$LINENO"; then :
13331 LIBINTL
="$LIBINTL $LIBICONV"
13332 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13333 eval "$gt_func_gnugettext_libintl=yes"
13336 rm -f core conftest.err conftest.
$ac_objext \
13337 conftest
$ac_exeext conftest.
$ac_ext
13339 CPPFLAGS
="$gt_save_CPPFLAGS"
13340 LIBS
="$gt_save_LIBS"
13342 eval ac_res
=\$
$gt_func_gnugettext_libintl
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13344 $as_echo "$ac_res" >&6; }
13347 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13348 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13349 && test "$PACKAGE" != gettext-runtime \
13350 && test "$PACKAGE" != gettext-tools
; }; then
13351 gt_use_preinstalled_gnugettext
=yes
13360 if test -n "$INTL_MACOSX_LIBS"; then
13361 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13362 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13363 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
13364 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
13368 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13369 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13371 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13379 $as_echo_n "checking whether to use NLS... " >&6; }
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13381 $as_echo "$USE_NLS" >&6; }
13382 if test "$USE_NLS" = "yes"; then
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13384 $as_echo_n "checking where the gettext function comes from... " >&6; }
13385 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13386 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13387 gt_source
="external libintl"
13392 gt_source
="included intl directory"
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13395 $as_echo "$gt_source" >&6; }
13398 if test "$USE_NLS" = "yes"; then
13400 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13401 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13403 $as_echo_n "checking how to link with libintl... " >&6; }
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13405 $as_echo "$LIBINTL" >&6; }
13407 for element
in $INCINTL; do
13409 for x
in $CPPFLAGS; do
13411 acl_save_prefix
="$prefix"
13412 prefix
="$acl_final_prefix"
13413 acl_save_exec_prefix
="$exec_prefix"
13414 exec_prefix
="$acl_final_exec_prefix"
13416 exec_prefix
="$acl_save_exec_prefix"
13417 prefix
="$acl_save_prefix"
13419 if test "X$x" = "X$element"; then
13424 if test -z "$haveit"; then
13425 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13432 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13435 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13444 INTLLIBS
="$LIBINTL"
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13464 $as_echo_n "checking whether NLS is requested... " >&6; }
13465 if test x
"$USE_NLS" != xyes
; then
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13467 $as_echo "no" >&6; }
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13470 $as_echo "yes" >&6; }
13472 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13476 $as_echo_n "checking for catalogs to be installed... " >&6; }
13477 # Look for .po and .gmo files in the source directory.
13480 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
13481 # If there aren't any .gmo files the shell will give us the
13482 # literal string "../path/to/srcdir/po/*.gmo" which has to be
13484 case "$cat" in *\
**)
13487 # The quadruple backslash is collapsed to a double backslash
13488 # by the backticks, then collapsed again by the double quotes,
13489 # leaving us with one backslash in the sed expression (right
13490 # before the dot that mustn't act as a wildcard).
13491 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
13492 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
13493 # The user is allowed to set LINGUAS to a list of languages to
13494 # install catalogs for. If it's empty that means "all of them."
13495 if test "x$LINGUAS" = x
; then
13496 CATALOGS
="$CATALOGS $cat"
13497 XLINGUAS
="$XLINGUAS $lang"
13499 case "$LINGUAS" in *$lang*)
13500 CATALOGS
="$CATALOGS $cat"
13501 XLINGUAS
="$XLINGUAS $lang"
13506 LINGUAS
="$XLINGUAS"
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13508 $as_echo "$LINGUAS" >&6; }
13524 # Prepare PATH_SEPARATOR.
13525 # The user is always right.
13526 if test "${PATH_SEPARATOR+set}" != set; then
13527 echo "#! /bin/sh" >conf$$.sh
13528 echo "exit 0" >>conf$$.sh
13530 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13538 # Find out how to test for executable files. Don't use a zero-byte file,
13539 # as systems may use methods other than mode bits to determine executability.
13540 cat >conf$$.
file <<_ASEOF
13544 chmod +x conf$$.
file
13545 if test -x conf$$.
file >/dev
/null
2>&1; then
13546 ac_executable_p
="test -x"
13548 ac_executable_p
="test -f"
13552 # Extract the first word of "msgfmt", so it can be a program name with args.
13553 set dummy msgfmt
; ac_word
=$2
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13555 $as_echo_n "checking for $ac_word... " >&6; }
13556 if ${ac_cv_path_MSGFMT+:} false
; then :
13557 $as_echo_n "(cached) " >&6
13561 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
13564 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13565 for ac_dir
in $PATH; do
13567 test -z "$ac_dir" && ac_dir
=.
13568 for ac_exec_ext
in '' $ac_executable_extensions; do
13569 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13570 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
13571 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13572 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
13579 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
13583 MSGFMT
="$ac_cv_path_MSGFMT"
13584 if test "$MSGFMT" != ":"; then
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13586 $as_echo "$MSGFMT" >&6; }
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13589 $as_echo "no" >&6; }
13592 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13593 set dummy gmsgfmt
; ac_word
=$2
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13595 $as_echo_n "checking for $ac_word... " >&6; }
13596 if ${ac_cv_path_GMSGFMT+:} false
; then :
13597 $as_echo_n "(cached) " >&6
13601 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
13604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13605 for as_dir
in $PATH
13608 test -z "$as_dir" && as_dir
=.
13609 for ac_exec_ext
in '' $ac_executable_extensions; do
13610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13611 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
13612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13619 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
13623 GMSGFMT
=$ac_cv_path_GMSGFMT
13624 if test -n "$GMSGFMT"; then
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13626 $as_echo "$GMSGFMT" >&6; }
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13629 $as_echo "no" >&6; }
13635 # Prepare PATH_SEPARATOR.
13636 # The user is always right.
13637 if test "${PATH_SEPARATOR+set}" != set; then
13638 echo "#! /bin/sh" >conf$$.sh
13639 echo "exit 0" >>conf$$.sh
13641 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13649 # Find out how to test for executable files. Don't use a zero-byte file,
13650 # as systems may use methods other than mode bits to determine executability.
13651 cat >conf$$.
file <<_ASEOF
13655 chmod +x conf$$.
file
13656 if test -x conf$$.
file >/dev
/null
2>&1; then
13657 ac_executable_p
="test -x"
13659 ac_executable_p
="test -f"
13663 # Extract the first word of "xgettext", so it can be a program name with args.
13664 set dummy xgettext
; ac_word
=$2
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13666 $as_echo_n "checking for $ac_word... " >&6; }
13667 if ${ac_cv_path_XGETTEXT+:} false
; then :
13668 $as_echo_n "(cached) " >&6
13670 case "$XGETTEXT" in
13672 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
13675 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13676 for ac_dir
in $PATH; do
13678 test -z "$ac_dir" && ac_dir
=.
13679 for ac_exec_ext
in '' $ac_executable_extensions; do
13680 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13681 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
13682 (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
13683 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
13690 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
13694 XGETTEXT
="$ac_cv_path_XGETTEXT"
13695 if test "$XGETTEXT" != ":"; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13697 $as_echo "$XGETTEXT" >&6; }
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13700 $as_echo "no" >&6; }
13706 # Prepare PATH_SEPARATOR.
13707 # The user is always right.
13708 if test "${PATH_SEPARATOR+set}" != set; then
13709 echo "#! /bin/sh" >conf$$.sh
13710 echo "exit 0" >>conf$$.sh
13712 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13720 # Find out how to test for executable files. Don't use a zero-byte file,
13721 # as systems may use methods other than mode bits to determine executability.
13722 cat >conf$$.
file <<_ASEOF
13726 chmod +x conf$$.
file
13727 if test -x conf$$.
file >/dev
/null
2>&1; then
13728 ac_executable_p
="test -x"
13730 ac_executable_p
="test -f"
13734 # Extract the first word of "msgmerge", so it can be a program name with args.
13735 set dummy msgmerge
; ac_word
=$2
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13737 $as_echo_n "checking for $ac_word... " >&6; }
13738 if ${ac_cv_path_MSGMERGE+:} false
; then :
13739 $as_echo_n "(cached) " >&6
13741 case "$MSGMERGE" in
13743 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
13746 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13747 for ac_dir
in $PATH; do
13749 test -z "$ac_dir" && ac_dir
=.
13750 for ac_exec_ext
in '' $ac_executable_extensions; do
13751 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13752 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
13753 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
13760 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
13764 MSGMERGE
="$ac_cv_path_MSGMERGE"
13765 if test "$MSGMERGE" != ":"; then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13767 $as_echo "$MSGMERGE" >&6; }
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13770 $as_echo "no" >&6; }
13774 if test "$GMSGFMT" != ":"; then
13775 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
13776 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13779 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13781 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13786 if test "$XGETTEXT" != ":"; then
13787 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
13788 (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
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13792 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13798 ac_config_commands
="$ac_config_commands default-2"
13802 .
${srcdir}/..
/bfd
/configure.
host
13804 # Put a plausible default for CC_FOR_BUILD in Makefile.
13805 if test -z "$CC_FOR_BUILD"; then
13806 if test "x$cross_compiling" = "xno"; then
13807 CC_FOR_BUILD
='$(CC)'
13813 # Also set EXEEXT_FOR_BUILD.
13814 if test "x$cross_compiling" = "xno"; then
13815 EXEEXT_FOR_BUILD
='$(EXEEXT)'
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
13818 $as_echo_n "checking for build system executable suffix... " >&6; }
13819 if ${bfd_cv_build_exeext+:} false
; then :
13820 $as_echo_n "(cached) " >&6
13823 echo 'int main () { return 0; }' > conftest.c
13824 bfd_cv_build_exeext
=
13825 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
13826 for file in conftest.
*; do
13828 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
13829 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
13833 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
13836 $as_echo "$bfd_cv_build_exeext" >&6; }
13837 EXEEXT_FOR_BUILD
=""
13838 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
13841 # See whether 64-bit bfd lib has been enabled.
13842 OLD_CPPFLAGS
=$CPPFLAGS
13843 # Put the old CPPFLAGS last, in case the user's CPPFLAGS point somewhere
13844 # with bfd, with -I/foo/include. We always want our bfd.
13845 CPPFLAGS
="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CPPFLAGS"
13846 # Note we cannot cache the result of this check because BFD64 may change
13847 # when a secondary target has been added or removed and we have no access
13848 # to this information here.
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BFD is 64-bit" >&5
13850 $as_echo_n "checking whether BFD is 64-bit... " >&6; }
13851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13865 $EGREP "HAVE_BFD64" >/dev
/null
2>&1; then :
13866 have_64_bit_bfd
=yes
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_64_bit_bfd" >&5
13873 $as_echo "$have_64_bit_bfd" >&6; }
13874 CPPFLAGS
=$OLD_CPPFLAGS
13879 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
13880 if test "x$ac_cv_have_decl_basename" = xyes
; then :
13886 cat >>confdefs.h
<<_ACEOF
13887 #define HAVE_DECL_BASENAME $ac_have_decl
13889 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
13890 if test "x$ac_cv_have_decl_stpcpy" = xyes
; then :
13896 cat >>confdefs.h
<<_ACEOF
13897 #define HAVE_DECL_STPCPY $ac_have_decl
13901 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
13902 # since sigsetjmp might only be defined as a macro.
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
13904 $as_echo_n "checking for sigsetjmp... " >&6; }
13905 if ${gdb_cv_func_sigsetjmp+:} false
; then :
13906 $as_echo_n "(cached) " >&6
13908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13911 #include <setjmp.h>
13916 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
13921 if ac_fn_c_try_compile
"$LINENO"; then :
13922 bfd_cv_func_sigsetjmp
=yes
13924 bfd_cv_func_sigsetjmp
=no
13926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_func_sigsetjmp" >&5
13929 $as_echo "$gdb_cv_func_sigsetjmp" >&6; }
13930 if test $bfd_cv_func_sigsetjmp = yes; then
13932 $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
13937 cgendir
='$(srcdir)/../../cgen'
13938 if test -r ${srcdir}/..
/cgen
/iformat.scm
; then
13939 cgendir
='$(srcdir)/../cgen'
13942 # Check whether --enable-cgen-maint was given.
13943 if test "${enable_cgen_maint+set}" = set; then :
13944 enableval
=$enable_cgen_maint; case "${enableval}" in
13945 yes) cgen_maint
=yes ;;
13946 no
) cgen_maint
=no
;;
13948 # Argument is a directory where cgen can be found. In some
13949 # future world cgen could be installable, but right now this
13950 # is not the case. Instead we assume the directory is a path
13951 # to the cgen source tree.
13953 if test -r ${enableval}/iformat.scm
; then
13954 # This looks like a cgen source tree.
13955 cgendir
=${enableval}
13957 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
13962 if test x
${cgen_maint} = xyes
; then
13964 CGEN_MAINT_FALSE
='#'
13966 CGEN_MAINT_TRUE
='#'
13974 # Check if linker supports --as-needed and --no-as-needed options
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
13976 $as_echo_n "checking linker --as-needed support... " >&6; }
13977 if ${bfd_cv_ld_as_needed+:} false
; then :
13978 $as_echo_n "(cached) " >&6
13980 bfd_cv_ld_as_needed
=no
13981 if $LD --help 2>/dev
/null |
grep as-needed
> /dev
/null
; then
13982 bfd_cv_ld_as_needed
=yes
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
13987 $as_echo "$bfd_cv_ld_as_needed" >&6; }
13991 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13992 # These system don't have libm, or don't need it
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13996 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13997 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
13998 $as_echo_n "(cached) " >&6
14000 ac_check_lib_save_LIBS
=$LIBS
14002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14005 /* Override any GCC internal prototype to avoid an error.
14006 Use char because int might match the return type of a GCC
14007 builtin and then its argument prototype would still apply. */
14011 char _mwvalidcheckl ();
14015 return _mwvalidcheckl ();
14020 if ac_fn_c_try_link
"$LINENO"; then :
14021 ac_cv_lib_mw__mwvalidcheckl
=yes
14023 ac_cv_lib_mw__mwvalidcheckl
=no
14025 rm -f core conftest.err conftest.
$ac_objext \
14026 conftest
$ac_exeext conftest.
$ac_ext
14027 LIBS
=$ac_check_lib_save_LIBS
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
14030 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
14031 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14036 $as_echo_n "checking for cos in -lm... " >&6; }
14037 if ${ac_cv_lib_m_cos+:} false
; then :
14038 $as_echo_n "(cached) " >&6
14040 ac_check_lib_save_LIBS
=$LIBS
14042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14060 if ac_fn_c_try_link
"$LINENO"; then :
14061 ac_cv_lib_m_cos
=yes
14065 rm -f core conftest.err conftest.
$ac_objext \
14066 conftest
$ac_exeext conftest.
$ac_ext
14067 LIBS
=$ac_check_lib_save_LIBS
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14070 $as_echo "$ac_cv_lib_m_cos" >&6; }
14071 if test "x$ac_cv_lib_m_cos" = xyes
; then :
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14078 $as_echo_n "checking for cos in -lm... " >&6; }
14079 if ${ac_cv_lib_m_cos+:} false
; then :
14080 $as_echo_n "(cached) " >&6
14082 ac_check_lib_save_LIBS
=$LIBS
14084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14102 if ac_fn_c_try_link
"$LINENO"; then :
14103 ac_cv_lib_m_cos
=yes
14107 rm -f core conftest.err conftest.
$ac_objext \
14108 conftest
$ac_exeext conftest.
$ac_ext
14109 LIBS
=$ac_check_lib_save_LIBS
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14112 $as_echo "$ac_cv_lib_m_cos" >&6; }
14113 if test "x$ac_cv_lib_m_cos" = xyes
; then :
14122 #Libs for generator progs
14123 if test "x$cross_compiling" = "xno"; then
14124 BUILD_LIBS
=..
/libiberty
/libiberty.a
14125 BUILD_LIB_DEPS
=$BUILD_LIBS
14127 # if cross-compiling, assume that the system provides -liberty
14128 # and that the version is compatible with new headers.
14129 BUILD_LIBS
=-liberty
14132 BUILD_LIBS
="$BUILD_LIBS $LIBINTL"
14133 BUILD_LIB_DEPS
="$BUILD_LIB_DEPS $LIBINTL_DEP"
14138 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
14141 SHARED_DEPENDENCIES
=
14142 if test "$enable_shared" = "yes"; then
14143 # When building a shared libopcodes, link against the pic version of libiberty
14144 # so that apps that use libopcodes won't need libiberty just to satisfy any
14145 # libopcodes references.
14146 # We can't do that if a pic libiberty is unavailable since including non-pic
14147 # code would insert text relocations into libopcodes.
14148 # Note that linking against libbfd as we do here, which is itself linked
14149 # against libiberty, may not satisfy all the libopcodes libiberty references
14150 # since libbfd may not pull in the entirety of libiberty.
14151 # Also, jam libintl into the right place in all of this: after libiberty,
14152 # which uses it, but before -lcygwin, which it uses.
14153 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
14154 if test -n "$x"; then
14155 SHARED_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
14159 SHARED_LIBADD
="$SHARED_LIBADD $LTLIBINTL"
14161 if test "$enable_shared" = "yes"; then
14164 SHARED_LDFLAGS
="-no-undefined"
14165 SHARED_LIBADD
="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty $SHARED_LIBADD"
14168 SHARED_LIBADD
="../bfd/libbfd.la ${SHARED_LIBADD}"
14169 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
14173 if test -n "$SHARED_LIBADD"; then
14174 if test -n "$LIBM"; then
14175 if test x
"$bfd_cv_ld_as_needed" = xyes
; then
14176 # Link against libm only when needed. Put -lc, -lm inside -Wl
14177 # to stop libtool reordering these options.
14178 SHARED_LIBADD
="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
14180 SHARED_LIBADD
="$SHARED_LIBADD $LIBM"
14189 # target-specific stuff:
14191 # Canonicalize the secondary target names.
14192 if test -n "$enable_targets" ; then
14193 for targ
in `echo $enable_targets | sed 's/,/ /g'`
14195 result
=`$ac_config_sub $targ 2>/dev/null`
14196 if test -n "$result" ; then
14197 canon_targets
="$canon_targets $result"
14199 # Allow targets that config.sub doesn't recognize, like "all".
14200 canon_targets
="$canon_targets $targ"
14207 for targ
in $target $canon_targets
14209 if test "x$targ" = "xall" ; then
14212 .
$srcdir/..
/bfd
/config.bfd
14213 selarchs
="$selarchs $targ_archs"
14217 # Utility var, documents generic cgen support files.
14219 cgen_files
="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
14221 # We don't do any links based on the target system, just makefile config.
14223 if test x
${all_targets} = xfalse
; then
14225 # Target architecture .o files.
14228 for arch
in $selarchs
14230 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
14231 archdefs
="$archdefs -DARCH_$ad"
14233 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" ;;
14234 bfd_alpha_arch
) ta
="$ta alpha-dis.lo alpha-opc.lo" ;;
14235 bfd_amdgcn_arch
) ;;
14236 bfd_arc_arch
) ta
="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
14237 bfd_arm_arch
) ta
="$ta arm-dis.lo" ;;
14238 bfd_avr_arch
) ta
="$ta avr-dis.lo" ;;
14239 bfd_bfin_arch
) ta
="$ta bfin-dis.lo" ;;
14240 bfd_cr16_arch
) ta
="$ta cr16-dis.lo cr16-opc.lo" ;;
14241 bfd_cris_arch
) ta
="$ta cris-desc.lo cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
14242 bfd_crx_arch
) ta
="$ta crx-dis.lo crx-opc.lo" ;;
14243 bfd_csky_arch
) ta
="$ta csky-dis.lo" ;;
14244 bfd_d10v_arch
) ta
="$ta d10v-dis.lo d10v-opc.lo" ;;
14245 bfd_d30v_arch
) ta
="$ta d30v-dis.lo d30v-opc.lo" ;;
14246 bfd_dlx_arch
) ta
="$ta dlx-dis.lo" ;;
14247 bfd_fr30_arch
) ta
="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen
=yes ;;
14248 bfd_frv_arch
) ta
="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen
=yes ;;
14249 bfd_ft32_arch
) ta
="$ta ft32-opc.lo ft32-dis.lo" ;;
14250 bfd_moxie_arch
) ta
="$ta moxie-dis.lo moxie-opc.lo" ;;
14251 bfd_h8300_arch
) ta
="$ta h8300-dis.lo" ;;
14252 bfd_hppa_arch
) ta
="$ta hppa-dis.lo" ;;
14253 bfd_i386_arch|bfd_iamcu_arch
)
14254 ta
="$ta i386-dis.lo" ;;
14255 bfd_ia64_arch
) ta
="$ta ia64-dis.lo ia64-opc.lo" ;;
14256 bfd_ip2k_arch
) ta
="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen
=yes ;;
14257 bfd_epiphany_arch
) ta
="$ta epiphany-asm.lo epiphany-desc.lo epiphany-dis.lo epiphany-ibld.lo epiphany-opc.lo" using_cgen
=yes ;;
14258 bfd_iq2000_arch
) ta
="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen
=yes ;;
14259 bfd_kvx_arch
) ta
="$ta kvx-opc.lo kvx-dis.lo" ;;
14260 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 ;;
14261 bfd_m32c_arch
) ta
="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen
=yes ;;
14262 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 ;;
14263 bfd_m68hc11_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
14264 bfd_m68hc12_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
14265 bfd_m9s12x_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
14266 bfd_m9s12xg_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
14267 bfd_s12z_arch
) ta
="$ta s12z-dis.lo s12z-opc.lo" ;;
14268 bfd_m68k_arch
) ta
="$ta m68k-dis.lo m68k-opc.lo" ;;
14269 bfd_mcore_arch
) ta
="$ta mcore-dis.lo" ;;
14270 bfd_mep_arch
) ta
="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen
=yes ;;
14271 bfd_metag_arch
) ta
="$ta metag-dis.lo" ;;
14272 bfd_microblaze_arch
) ta
="$ta microblaze-dis.lo" ;;
14273 bfd_mips_arch
) ta
="$ta mips-dis.lo mips-opc.lo mips16-opc.lo micromips-opc.lo" ;;
14274 bfd_mmix_arch
) ta
="$ta mmix-dis.lo mmix-opc.lo" ;;
14275 bfd_mn10200_arch
) ta
="$ta m10200-dis.lo m10200-opc.lo" ;;
14276 bfd_mn10300_arch
) ta
="$ta m10300-dis.lo m10300-opc.lo" ;;
14277 bfd_mt_arch
) ta
="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen
=yes ;;
14278 bfd_msp430_arch
) ta
="$ta msp430-dis.lo msp430-decode.lo" ;;
14279 bfd_nds32_arch
) ta
="$ta nds32-asm.lo nds32-dis.lo" ;;
14280 bfd_nfp_arch
) ta
="$ta nfp-dis.lo" ;;
14281 bfd_ns32k_arch
) ta
="$ta ns32k-dis.lo" ;;
14282 bfd_or1k_arch
) ta
="$ta or1k-asm.lo or1k-desc.lo or1k-dis.lo or1k-ibld.lo or1k-opc.lo" using_cgen
=yes ;;
14283 bfd_pdp11_arch
) ta
="$ta pdp11-dis.lo pdp11-opc.lo" ;;
14284 bfd_pj_arch
) ta
="$ta pj-dis.lo pj-opc.lo" ;;
14285 bfd_powerpc_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
14286 bfd_powerpc_64_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
14287 bfd_pru_arch
) ta
="$ta pru-dis.lo pru-opc.lo" ;;
14288 bfd_pyramid_arch
) ;;
14290 bfd_riscv_arch
) ta
="$ta riscv-dis.lo riscv-opc.lo" ;;
14291 bfd_rs6000_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
14292 bfd_rl78_arch
) ta
="$ta rl78-dis.lo rl78-decode.lo";;
14293 bfd_rx_arch
) ta
="$ta rx-dis.lo rx-decode.lo";;
14294 bfd_s390_arch
) ta
="$ta s390-dis.lo s390-opc.lo" ;;
14295 bfd_score_arch
) ta
="$ta score-dis.lo score7-dis.lo" ;;
14296 bfd_sh_arch
) ta
="$ta sh-dis.lo cgen-bitset.lo" ;;
14297 bfd_sparc_arch
) ta
="$ta sparc-dis.lo sparc-opc.lo" ;;
14298 bfd_spu_arch
) ta
="$ta spu-dis.lo spu-opc.lo" ;;
14299 bfd_tic30_arch
) ta
="$ta tic30-dis.lo" ;;
14300 bfd_tic4x_arch
) ta
="$ta tic4x-dis.lo" ;;
14301 bfd_tic54x_arch
) ta
="$ta tic54x-dis.lo tic54x-opc.lo" ;;
14302 bfd_tic6x_arch
) ta
="$ta tic6x-dis.lo" ;;
14303 bfd_tilegx_arch
) ta
="$ta tilegx-dis.lo tilegx-opc.lo" ;;
14304 bfd_tilepro_arch
) ta
="$ta tilepro-dis.lo tilepro-opc.lo" ;;
14305 bfd_v850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
14306 bfd_v850e_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
14307 bfd_v850ea_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
14308 bfd_v850_rh850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
14309 bfd_vax_arch
) ta
="$ta vax-dis.lo" ;;
14310 bfd_visium_arch
) ta
="$ta visium-dis.lo visium-opc.lo" ;;
14311 bfd_wasm32_arch
) ta
="$ta wasm32-dis.lo" ;;
14312 bfd_xgate_arch
) ta
="$ta xgate-dis.lo xgate-opc.lo" ;;
14313 bfd_xstormy16_arch
) ta
="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen
=yes ;;
14314 bfd_xtensa_arch
) ta
="$ta xtensa-dis.lo" ;;
14315 bfd_z80_arch
) ta
="$ta z80-dis.lo" ;;
14316 bfd_z8k_arch
) ta
="$ta z8k-dis.lo" ;;
14317 bfd_bpf_arch
) ta
="$ta bpf-dis.lo bpf-opc.lo" ;;
14318 bfd_loongarch_arch
) ta
="$ta loongarch-dis.lo loongarch-opc.lo loongarch-coder.lo" ;;
14321 *) as_fn_error $?
"*** unknown target architecture $arch" "$LINENO" 5 ;;
14325 if test $using_cgen = yes ; then
14326 ta
="$ta $cgen_files"
14329 # Weed out duplicate .o files.
14339 # And duplicate -D flags.
14341 for i
in $archdefs ; do
14351 else # all_targets is true
14352 archdefs
=-DARCH_all
14353 if test "$have_64_bit_bfd" = "yes" ; then
14354 BFD_MACHINES
='$(ALL32_MACHINES) $(ALL64_MACHINES)'
14356 BFD_MACHINES
='$(ALL32_MACHINES)'
14363 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
14365 cat >confcache
<<\_ACEOF
14366 # This file is a shell script that caches the results of configure
14367 # tests run on this system so they can be shared between configure
14368 # scripts and configure runs, see configure's option --config-cache.
14369 # It is not useful on other systems. If it contains results you don't
14370 # want to keep, you may remove or edit it.
14372 # config.status only pays attention to the cache file if you give it
14373 # the --recheck option to rerun configure.
14375 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14376 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14377 # following values.
14381 # The following way of writing the cache mishandles newlines in values,
14382 # but we know of no workaround that is simple, portable, and efficient.
14383 # So, we kill variables containing newlines.
14384 # Ultrix sh set writes to stderr and can't be redirected directly,
14385 # and sets the high bit in the cache file unless we assign to the vars.
14387 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14388 eval ac_val
=\$
$ac_var
14392 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14393 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14396 _ | IFS | as_nl
) ;; #(
14397 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14398 *) { eval $ac_var=; unset $ac_var;} ;;
14404 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14405 *${as_nl}ac_space
=\
*)
14406 # `set' does not quote correctly, so add quotes: double-quote
14407 # substitution turns \\\\ into \\, and sed turns \\ into \.
14410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14413 # `set' quotes correctly as required by POSIX, so do not add quotes.
14414 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14425 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14427 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14428 if test -w "$cache_file"; then
14429 if test "x$cache_file" != "x/dev/null"; then
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14431 $as_echo "$as_me: updating cache $cache_file" >&6;}
14432 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14433 cat confcache
>"$cache_file"
14435 case $cache_file in #(
14437 mv -f confcache
"$cache_file"$$
&&
14438 mv -f "$cache_file"$$
"$cache_file" ;; #(
14440 mv -f confcache
"$cache_file" ;;
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14446 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14451 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14452 # Let make expand exec_prefix.
14453 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14455 DEFS
=-DHAVE_CONFIG_H
14460 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14461 # 1. Remove the extension, and $U if already installed.
14462 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14463 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14464 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14465 # will be set to the directory where LIBOBJS objects are built.
14466 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14467 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14469 LIBOBJS
=$ac_libobjs
14471 LTLIBOBJS
=$ac_ltlibobjs
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14475 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14476 if test -n "$am_sleep_pid"; then
14477 # Hide warnings about reused PIDs.
14478 wait $am_sleep_pid 2>/dev
/null
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14481 $as_echo "done" >&6; }
14482 if test -n "$EXEEXT"; then
14484 am__EXEEXT_FALSE
='#'
14486 am__EXEEXT_TRUE
='#'
14490 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14491 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14494 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14495 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14498 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14499 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14502 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
14503 as_fn_error $?
"conditional \"INSTALL_LIBBFD\" was never defined.
14504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14506 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
14507 as_fn_error $?
"conditional \"CGEN_MAINT\" was never defined.
14508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14511 : "${CONFIG_STATUS=./config.status}"
14513 ac_clean_files_save
=$ac_clean_files
14514 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14516 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14520 # Generated by $as_me.
14521 # Run this file to recreate the current configuration.
14522 # Compiler output produced by configure, useful for debugging
14523 # configure, is in config.log if it exists.
14526 ac_cs_recheck=false
14529 SHELL=\${CONFIG_SHELL-$SHELL}
14532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14533 ## -------------------- ##
14534 ## M4sh Initialization. ##
14535 ## -------------------- ##
14537 # Be more Bourne compatible
14538 DUALCASE
=1; export DUALCASE
# for MKS sh
14539 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14542 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14543 # is contrary to our usage. Disable this feature.
14544 alias -g '${1+"$@"}'='"$@"'
14545 setopt NO_GLOB_SUBST
14547 case `(set -o) 2>/dev/null` in #(
14559 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14560 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14563 # Prefer a ksh shell builtin over an external printf program on Solaris,
14564 # but without wasting forks for bash or zsh.
14565 if test -z "$BASH_VERSION$ZSH_VERSION" \
14566 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14567 as_echo='print
-r --'
14568 as_echo_n='print
-rn --'
14569 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14570 as_echo='printf %s
\n'
14571 as_echo_n='printf %s
'
14573 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14574 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14575 as_echo_n='/usr
/ucb
/echo -n'
14577 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14578 as_echo_n_body='eval
14582 expr "X$arg" : "X\\(.*\\)$as_nl";
14583 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14585 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14587 export as_echo_n_body
14588 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14590 export as_echo_body
14591 as_echo='sh
-c $as_echo_body as_echo
'
14594 # The user is always right.
14595 if test "${PATH_SEPARATOR+set}" != set; then
14597 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14598 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14605 # We need space, tab and new line, in precisely that order. Quoting is
14606 # there to prevent editors from complaining about space-tab.
14607 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14608 # splitting by setting IFS to empty value.)
14611 # Find who we are. Look in the path if we contain no directory separator.
14614 *[\\/]* ) as_myself=$0 ;;
14615 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14616 for as_dir in $PATH
14619 test -z "$as_dir" && as_dir=.
14620 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14626 # We did not find ourselves, most probably we were run as `sh COMMAND'
14627 # in which case we are not to be found in the path.
14628 if test "x$as_myself" = x
; then
14631 if test ! -f "$as_myself"; then
14632 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14636 # Unset variables that we do not need and which cause bugs (e.g. in
14637 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14638 # suppresses any "Segmentation fault" message there. '((' could
14639 # trigger a bug in pdksh 5.2.14.
14640 for as_var
in BASH_ENV ENV MAIL MAILPATH
14641 do eval test x\
${$as_var+set} = xset \
14642 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14655 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14658 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14659 # ----------------------------------------
14660 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14661 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14662 # script with STATUS, using 1 if that was 0.
14665 as_status
=$1; test $as_status -eq 0 && as_status
=1
14667 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14668 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14670 $as_echo "$as_me: error: $2" >&2
14671 as_fn_exit
$as_status
14675 # as_fn_set_status STATUS
14676 # -----------------------
14677 # Set $? to STATUS, without forking.
14678 as_fn_set_status
()
14681 } # as_fn_set_status
14683 # as_fn_exit STATUS
14684 # -----------------
14685 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14689 as_fn_set_status
$1
14695 # Portably unset VAR.
14698 { eval $1=; unset $1;}
14700 as_unset
=as_fn_unset
14701 # as_fn_append VAR VALUE
14702 # ----------------------
14703 # Append the text in VALUE to the end of the definition contained in VAR. Take
14704 # advantage of any shell optimizations that allow amortized linear growth over
14705 # repeated appends, instead of the typical quadratic growth present in naive
14707 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14708 eval 'as_fn_append ()
14719 # as_fn_arith ARG...
14720 # ------------------
14721 # Perform arithmetic evaluation on the ARGs, and store the result in the
14722 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14723 # must be portable across $(()) and expr.
14724 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14725 eval 'as_fn_arith ()
14732 as_val
=`expr "$@" || test $? -eq 1`
14737 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14738 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14744 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14745 as_basename
=basename
14750 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14756 as_me
=`$as_basename -- "$0" ||
14757 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14758 X"$0" : 'X\(//\)$' \| \
14759 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14761 sed '/^.*\/\([^/][^/]*\)\/*$/{
14775 # Avoid depending upon Character Ranges.
14776 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14777 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14778 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14779 as_cr_digits
='0123456789'
14780 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14782 ECHO_C
= ECHO_N
= ECHO_T
=
14783 case `echo -n x` in #(((((
14785 case `echo 'xy\c'` in
14786 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14788 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14795 rm -f conf$$ conf$$.exe conf$$.
file
14796 if test -d conf$$.dir
; then
14797 rm -f conf$$.dir
/conf$$.
file
14800 mkdir conf$$.dir
2>/dev
/null
14802 if (echo >conf$$.
file) 2>/dev
/null
; then
14803 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14805 # ... but there are two gotchas:
14806 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14807 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14808 # In both cases, we have to default to `cp -pR'.
14809 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14811 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14819 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14820 rmdir conf$$.dir
2>/dev
/null
14825 # Create "$as_dir" as a directory, including parents if necessary.
14830 -*) as_dir
=.
/$as_dir;;
14832 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14836 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14837 *) as_qdir
=$as_dir;;
14839 as_dirs
="'$as_qdir' $as_dirs"
14840 as_dir
=`$as_dirname -- "$as_dir" ||
14841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14842 X"$as_dir" : 'X\(//\)[^/]' \| \
14843 X"$as_dir" : 'X\(//\)$' \| \
14844 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14845 $as_echo X"$as_dir" |
14846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14850 /^X\(\/\/\)[^/].*/{
14863 test -d "$as_dir" && break
14865 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14866 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14870 if mkdir
-p .
2>/dev
/null
; then
14871 as_mkdir_p
='mkdir -p "$as_dir"'
14873 test -d .
/-p && rmdir .
/-p
14878 # as_fn_executable_p FILE
14879 # -----------------------
14880 # Test if FILE is an executable regular file.
14881 as_fn_executable_p
()
14883 test -f "$1" && test -x "$1"
14884 } # as_fn_executable_p
14885 as_test_x
='test -x'
14886 as_executable_p
=as_fn_executable_p
14888 # Sed expression to map a string onto a valid CPP name.
14889 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14891 # Sed expression to map a string onto a valid variable name.
14892 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14896 ## ----------------------------------- ##
14897 ## Main body of $CONFIG_STATUS script. ##
14898 ## ----------------------------------- ##
14900 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14903 # Save the log message, to keep $0 and so on meaningful, and to
14904 # report actual input values of CONFIG_FILES etc. instead of their
14905 # values after options handling.
14907 This file was extended by opcodes $as_me 2.44.50, which was
14908 generated by GNU Autoconf 2.69. Invocation command line was
14910 CONFIG_FILES = $CONFIG_FILES
14911 CONFIG_HEADERS = $CONFIG_HEADERS
14912 CONFIG_LINKS = $CONFIG_LINKS
14913 CONFIG_COMMANDS = $CONFIG_COMMANDS
14916 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14921 case $ac_config_files in *"
14922 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14925 case $ac_config_headers in *"
14926 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14931 # Files that config.status was made for.
14932 config_files="$ac_config_files"
14933 config_headers="$ac_config_headers"
14934 config_commands="$ac_config_commands"
14938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14940 \`$as_me' instantiates files and other configuration actions
14941 from templates according to the current configuration. Unless the files
14942 and actions are specified as TAGs, all are instantiated by default.
14944 Usage: $0 [OPTION]... [TAG]...
14946 -h, --help print this help, then exit
14947 -V, --version print version number and configuration settings, then exit
14948 --config print configuration, then exit
14949 -q, --quiet, --silent
14950 do not print progress messages
14951 -d, --debug don't remove temporary files
14952 --recheck update $as_me by reconfiguring in the same conditions
14953 --file=FILE[:TEMPLATE]
14954 instantiate the configuration file FILE
14955 --header=FILE[:TEMPLATE]
14956 instantiate the configuration header FILE
14958 Configuration files:
14961 Configuration headers:
14964 Configuration commands:
14967 Report bugs to the package provider."
14970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14971 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14973 opcodes config.status 2.44.50
14974 configured by $0, generated by GNU Autoconf 2.69,
14975 with options \\"\$ac_cs_config\\"
14977 Copyright (C) 2012 Free Software Foundation, Inc.
14978 This config.status script is free software; the Free Software Foundation
14979 gives unlimited permission to copy, distribute and modify it."
14986 test -n "\$AWK" || AWK=awk
14989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14990 # The default lists apply if the user does not specify any file.
14996 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14997 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15001 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15013 # Handling of the options.
15014 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15016 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15017 $as_echo "$ac_cs_version"; exit ;;
15018 --config |
--confi |
--conf |
--con |
--co |
--c )
15019 $as_echo "$ac_cs_config"; exit ;;
15020 --debug |
--debu |
--deb |
--de |
--d |
-d )
15022 --file |
--fil |
--fi |
--f )
15025 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15026 '') as_fn_error $?
"missing file argument" ;;
15028 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15029 ac_need_defaults
=false
;;
15030 --header |
--heade |
--head |
--hea )
15033 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15035 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15036 ac_need_defaults
=false
;;
15038 # Conflict between --help and --header
15039 as_fn_error $?
"ambiguous option: \`$1'
15040 Try \`$0 --help' for more information.";;
15041 --help |
--hel |
-h )
15042 $as_echo "$ac_cs_usage"; exit ;;
15043 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15044 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15047 # This is an error.
15048 -*) as_fn_error $?
"unrecognized option: \`$1'
15049 Try \`$0 --help' for more information." ;;
15051 *) as_fn_append ac_config_targets
" $1"
15052 ac_need_defaults
=false
;;
15058 ac_configure_extra_args
=
15060 if $ac_cs_silent; then
15062 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15067 if \$ac_cs_recheck; then
15068 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15070 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15071 CONFIG_SHELL='$SHELL'
15072 export CONFIG_SHELL
15077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15081 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15082 ## Running $as_me. ##
15088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15092 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15095 # The HP-UX ksh and POSIX shell print the target directory to stdout
15096 # if CDPATH is set.
15097 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15099 sed_quote_subst='$sed_quote_subst'
15100 double_quote_subst='$double_quote_subst'
15101 delay_variable_subst='$delay_variable_subst'
15102 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15103 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15104 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15105 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15106 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15107 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15108 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15109 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15110 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15111 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15112 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15113 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15114 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15115 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15116 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15117 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15118 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15119 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15120 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15121 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15122 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15123 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15124 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15125 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15126 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15127 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15128 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15129 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15130 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15131 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15132 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15133 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15134 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15135 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15136 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15137 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15138 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15139 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15140 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15141 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15142 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15143 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15144 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15145 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15146 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15147 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15148 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15149 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15150 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"`'
15151 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15152 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15153 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15154 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15155 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15156 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15157 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15158 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15159 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15160 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15161 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15162 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15163 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15164 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15165 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15166 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15167 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15168 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15169 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15170 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15171 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15172 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15173 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15174 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15175 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15176 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15177 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15178 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15179 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15180 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15181 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15182 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15183 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15184 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15185 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15186 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15187 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15188 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15189 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15190 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15191 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15192 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15193 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15194 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15195 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15196 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15197 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15198 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15199 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15200 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15201 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15202 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15203 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15204 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15205 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15206 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15207 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15208 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15209 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15210 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15211 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15212 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15213 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15214 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15215 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15216 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15217 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15218 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15219 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15220 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15221 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15224 LTCFLAGS='$LTCFLAGS'
15225 compiler='$compiler_DEFAULT'
15227 # A function that is used when there is no print builtin or printf.
15228 func_fallback_echo ()
15230 eval 'cat <<_LTECHO_EOF
15235 # Quote evaled strings.
15249 deplibs_check_method \
15258 lt_cv_sys_global_symbol_pipe \
15259 lt_cv_sys_global_symbol_to_cdecl \
15260 lt_cv_sys_global_symbol_to_c_name_address \
15261 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15262 lt_prog_compiler_no_builtin_flag \
15263 lt_prog_compiler_wl \
15264 lt_prog_compiler_pic \
15265 lt_prog_compiler_static \
15266 lt_cv_prog_compiler_c_o \
15274 export_dynamic_flag_spec \
15275 whole_archive_flag_spec \
15276 compiler_needs_object \
15278 allow_undefined_flag \
15279 no_undefined_flag \
15280 hardcode_libdir_flag_spec \
15281 hardcode_libdir_flag_spec_ld \
15282 hardcode_libdir_separator \
15287 variables_saved_for_relink \
15289 library_names_spec \
15291 install_override_mode \
15295 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15296 *[\\\\\\\`\\"\\\$]*)
15297 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15300 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15305 # Double-quote double-evaled strings.
15306 for var in reload_cmds \
15307 old_postinstall_cmds \
15308 old_postuninstall_cmds \
15310 extract_expsyms_cmds \
15311 old_archive_from_new_cmds \
15312 old_archive_from_expsyms_cmds \
15314 archive_expsym_cmds \
15316 module_expsym_cmds \
15317 export_symbols_cmds \
15320 postuninstall_cmds \
15322 sys_lib_search_path_spec \
15323 sys_lib_dlsearch_path_spec; do
15324 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15325 *[\\\\\\\`\\"\\\$]*)
15326 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15329 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15334 ac_aux_dir='$ac_aux_dir'
15335 xsi_shell='$xsi_shell'
15336 lt_shell_append='$lt_shell_append'
15338 # See if we are running on zsh, and set the options which allow our
15339 # commands through without removal of \ escapes INIT.
15340 if test -n "\${ZSH_VERSION+set}" ; then
15341 setopt NO_GLOB_SUBST
15347 TIMESTAMP='$TIMESTAMP'
15353 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15354 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15356 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15357 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15358 LINGUAS="${LINGUAS-%UNSET%}"
15360 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15361 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15363 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15364 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15365 LINGUAS="${LINGUAS-%UNSET%}"
15370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15372 # Handling of arguments.
15373 for ac_config_target
in $ac_config_targets
15375 case $ac_config_target in
15376 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15377 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15378 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15379 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15380 "default-2") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
15381 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15382 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15384 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15389 # If the user did not use the arguments to specify the items to instantiate,
15390 # then the envvar interface is used. Set only those that are not.
15391 # We use the long form for the default assignment because of an extremely
15392 # bizarre bug on SunOS 4.1.3.
15393 if $ac_need_defaults; then
15394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15395 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15396 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15399 # Have a temporary directory for convenience. Make it in the build tree
15400 # simply because there is no reason against having it here, and in addition,
15401 # creating and moving files from /tmp can sometimes cause problems.
15402 # Hook for its removal unless debugging.
15403 # Note that there is a small window in which the directory will not be cleaned:
15404 # after its creation but before its name has been assigned to `$tmp'.
15408 trap 'exit_status=$?
15409 : "${ac_tmp:=$tmp}"
15410 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15412 trap 'as_fn_exit 1' 1 2 13 15
15414 # Create a (secure) tmp directory for tmp files.
15417 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15421 tmp
=.
/conf$$
-$RANDOM
15422 (umask 077 && mkdir
"$tmp")
15423 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15426 # Set up the scripts for CONFIG_FILES section.
15427 # No need to generate them if there are no CONFIG_FILES.
15428 # This happens for instance with `./config.status config.h'.
15429 if test -n "$CONFIG_FILES"; then
15432 ac_cr
=`echo X | tr X '\015'`
15433 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15434 # But we know of no other shell where ac_cr would be empty at this
15435 # point, so we can use a bashism as a fallback.
15436 if test "x$ac_cr" = x
; then
15437 eval ac_cr
=\$
\'\\r
\'
15439 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15440 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15443 ac_cs_awk_cr
=$ac_cr
15446 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15451 echo "cat >conf$$subs.awk <<_ACEOF" &&
15452 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15454 } >conf$$subs.sh ||
15455 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15456 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15458 for ac_last_try in false false false false false :; do
15459 . ./conf$$subs.sh ||
15460 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15462 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15463 if test $ac_delim_n = $ac_delim_num; then
15465 elif $ac_last_try; then
15466 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15468 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15471 rm -f conf$$subs.sh
15473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15474 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15478 s/^/S["/; s
/!.
*/"]=/
15488 s/\(.\{148\}\)..*/\1/
15490 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15495 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15502 s/\(.\{148\}\)..*/\1/
15504 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15508 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15513 ' <conf$$subs.awk | sed '
15518 ' >>$CONFIG_STATUS || ac_write_fail=1
15519 rm -f conf$$subs.awk
15520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15522 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15523 for (key in S) S_is_set[key] = 1
15529 nfields = split(line, field, "@
")
15531 len = length(field[1])
15532 for (i = 2; i < nfields; i++) {
15534 keylen = length(key)
15535 if (S_is_set[key]) {
15537 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15538 len += length(value) + length(field[++i])
15549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15550 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15551 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15554 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15555 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15558 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15559 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15560 # trailing colons and then remove the whole line if VPATH becomes empty
15561 # (actually we leave an empty line to preserve line numbers).
15562 if test "x
$srcdir" = x.; then
15563 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15582 fi # test -n "$CONFIG_FILES"
15584 # Set up the scripts for CONFIG_HEADERS section.
15585 # No need to generate them if there are no CONFIG_HEADERS.
15586 # This happens for instance with `./config.status Makefile'.
15587 if test -n "$CONFIG_HEADERS"; then
15588 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15592 # Transform confdefs.h into an awk script `defines.awk', embedded as
15593 # here-document in config.status, that substitutes the proper values into
15594 # config.h.in to produce config.h.
15596 # Create a delimiter string that does not exist in confdefs.h, to ease
15597 # handling of long lines.
15599 for ac_last_try in false false :; do
15600 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15601 if test -z "$ac_tt"; then
15603 elif $ac_last_try; then
15604 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15606 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15610 # For the awk script, D is an array of macro values keyed by name,
15611 # likewise P contains macro parameters if any. Preserve backslash
15612 # newline sequences.
15614 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15616 s/.\{148\}/&'"$ac_delim"'/g
15619 s/^[ ]*#[ ]*define[ ][ ]*/ /
15626 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15628 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15632 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15633 D["\
1"]=" \
3\\\\\\n
"\\/p
15635 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15640 s/.\{148\}/&'"$ac_delim"'/g
15645 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15648 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15650 ' <confdefs.h | sed '
15651 s/'"$ac_delim"'/"\\\
15652 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15655 for (key in D) D_is_set[key] = 1
15658 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15660 split(line, arg, " ")
15661 if (arg[1] == "#") {
15665 defundef
= substr
(arg
[1], 2)
15668 split(mac1
, mac2
, "(") #)
15670 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15671 if (D_is_set
[macro
]) {
15672 # Preserve the white space surrounding the "#".
15673 print prefix
"define", macro P
[macro
] D
[macro
]
15676 # Replace #undef with comments. This is necessary, for example,
15677 # in the case of _POSIX_SOURCE, which is predefined and required
15678 # on some systems where configure will not decide to define it.
15679 if (defundef
== "undef") {
15680 print
"/*", prefix defundef
, macro
, "*/"
15688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15689 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15690 fi # test -n "$CONFIG_HEADERS"
15693 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15698 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15700 case $ac_mode$ac_tag in
15702 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15703 :[FH
]-) ac_tag
=-:-;;
15704 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15721 -) ac_f
="$ac_tmp/stdin";;
15722 *) # Look for the file first in the build tree, then in the source tree
15723 # (if the path is not absolute). The absolute path cannot be DOS-style,
15724 # because $ac_f cannot contain `:'.
15728 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15730 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15732 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15733 as_fn_append ac_file_inputs
" '$ac_f'"
15736 # Let's still pretend it is `configure' which instantiates (i.e., don't
15737 # use $as_me), people would be surprised to read:
15738 # /* config.h. Generated by config.status. */
15739 configure_input
='Generated from '`
15740 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15742 if test x
"$ac_file" != x-
; then
15743 configure_input
="$ac_file. $configure_input"
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15745 $as_echo "$as_me: creating $ac_file" >&6;}
15747 # Neutralize special characters interpreted by sed in replacement strings.
15748 case $configure_input in #(
15749 *\
&* |
*\|
* |
*\\* )
15750 ac_sed_conf_input
=`$as_echo "$configure_input" |
15751 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15752 *) ac_sed_conf_input
=$configure_input;;
15756 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15757 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15762 ac_dir
=`$as_dirname -- "$ac_file" ||
15763 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15764 X"$ac_file" : 'X\(//\)[^/]' \| \
15765 X"$ac_file" : 'X\(//\)$' \| \
15766 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15767 $as_echo X"$ac_file" |
15768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15772 /^X\(\/\/\)[^/].*/{
15785 as_dir
="$ac_dir"; as_fn_mkdir_p
15789 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15791 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15792 # A ".." for each directory in $ac_dir_suffix.
15793 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15794 case $ac_top_builddir_sub in
15795 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15796 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15799 ac_abs_top_builddir
=$ac_pwd
15800 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15801 # for backward compatibility:
15802 ac_top_builddir
=$ac_top_build_prefix
15805 .
) # We are building in place.
15807 ac_top_srcdir
=$ac_top_builddir_sub
15808 ac_abs_top_srcdir
=$ac_pwd ;;
15809 [\\/]* | ?
:[\\/]* ) # Absolute name.
15810 ac_srcdir
=$srcdir$ac_dir_suffix;
15811 ac_top_srcdir
=$srcdir
15812 ac_abs_top_srcdir
=$srcdir ;;
15813 *) # Relative name.
15814 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15815 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15816 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15818 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15828 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15829 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15831 ac_MKDIR_P
=$MKDIR_P
15833 [\\/$
]* | ?
:[\\/]* ) ;;
15834 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15839 # If the template does not know about datarootdir, expand it.
15840 # FIXME: This hack should be removed a few years after 2.60.
15841 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15852 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15853 *datarootdir
*) ac_datarootdir_seen
=yes;;
15854 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15856 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15859 ac_datarootdir_hack='
15860 s&@datadir@&$datadir&g
15861 s&@docdir@&$docdir&g
15862 s&@infodir@&$infodir&g
15863 s&@localedir@&$localedir&g
15864 s&@mandir@&$mandir&g
15865 s&\\\${datarootdir}&$datarootdir&g' ;;
15869 # Neutralize VPATH when `$srcdir' = `.'.
15870 # Shell code in configure.ac might set extrasub.
15871 # FIXME: do we really want to maintain this feature?
15872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15873 ac_sed_extra="$ac_vpsub
15876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15878 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15879 s|@configure_input@|
$ac_sed_conf_input|
;t t
15880 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15881 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15882 s
&@srcdir@
&$ac_srcdir&;t t
15883 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15884 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15885 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15886 s
&@builddir@
&$ac_builddir&;t t
15887 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15888 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15889 s
&@INSTALL@
&$ac_INSTALL&;t t
15890 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15891 $ac_datarootdir_hack
15893 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15894 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15896 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15897 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15898 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15899 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15901 which seems to be undefined. Please make sure it is defined" >&5
15902 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15903 which seems to be undefined. Please make sure it is defined" >&2;}
15905 rm -f "$ac_tmp/stdin"
15907 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15908 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15916 if test x"$ac_file" != x-; then
15918 $as_echo "/* $configure_input */" \
15919 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15920 } >"$ac_tmp/config.h" \
15921 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15922 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15924 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15927 mv "$ac_tmp/config.h" "$ac_file" \
15928 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15931 $as_echo "/* $configure_input */" \
15932 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15933 || as_fn_error $? "could not create -" "$LINENO" 5
15935 # Compute "$ac_file"'s index
in $config_headers.
15938 for _am_header
in $config_headers :; do
15939 case $_am_header in
15940 $_am_arg |
$_am_arg:* )
15943 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15946 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15947 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15948 X"$_am_arg" : 'X\(//\)[^/]' \| \
15949 X"$_am_arg" : 'X\(//\)$' \| \
15950 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15951 $as_echo X"$_am_arg" |
15952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15956 /^X\(\/\/\)[^/].*/{
15968 s/.*/./; q'`/stamp-h
$_am_stamp_count
15971 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15972 $as_echo "$as_me: executing $ac_file commands" >&6;}
15977 case $ac_file$ac_mode in
15978 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15979 # Older Autoconf quotes --file arguments for eval, but not when files
15980 # are listed without --file. Let's play safe and only enable the eval
15981 # if we detect the quoting.
15982 case $CONFIG_FILES in
15983 *\'*) eval set x
"$CONFIG_FILES" ;;
15984 *) set x
$CONFIG_FILES ;;
15989 # Strip MF so we end up with the name of the file.
15990 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15991 # Check whether this is an Automake generated Makefile or not.
15992 # We used to match only the files named 'Makefile.in', but
15993 # some people rename them; so instead we look at the file content.
15994 # Grep'ing the first line is not enough: some people post-process
15995 # each Makefile.in and add a new line on top of each file to say so.
15996 # Grep'ing the whole file is not good either: AIX grep has a line
15997 # limit of 2048, but all sed's we know have understand at least 4000.
15998 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15999 dirpart
=`$as_dirname -- "$mf" ||
16000 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16001 X"$mf" : 'X\(//\)[^/]' \| \
16002 X"$mf" : 'X\(//\)$' \| \
16003 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16009 /^X\(\/\/\)[^/].*/{
16025 # Extract the definition of DEPDIR, am__include, and am__quote
16026 # from the Makefile without running 'make'.
16027 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16028 test -z "$DEPDIR" && continue
16029 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16030 test -z "$am__include" && continue
16031 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16032 # Find all dependency output files, they are included files with
16033 # $(DEPDIR) in their names. We invoke sed twice because it is the
16034 # simplest approach to changing $(DEPDIR) to its actual value in the
16036 for file in `sed -n "
16037 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16038 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16039 # Make sure the directory exists.
16040 test -f "$dirpart/$file" && continue
16041 fdir
=`$as_dirname -- "$file" ||
16042 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16043 X"$file" : 'X\(//\)[^/]' \| \
16044 X"$file" : 'X\(//\)$' \| \
16045 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16046 $as_echo X"$file" |
16047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16051 /^X\(\/\/\)[^/].*/{
16064 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16065 # echo "creating $dirpart/$file"
16066 echo '# dummy' > "$dirpart/$file"
16073 # See if we are running on zsh, and set the options which allow our
16074 # commands through without removal of \ escapes.
16075 if test -n "${ZSH_VERSION+set}" ; then
16076 setopt NO_GLOB_SUBST
16079 cfgfile
="${ofile}T"
16080 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16083 cat <<_LT_EOF >> "$cfgfile"
16086 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16087 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16088 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16089 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16091 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16092 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16093 # Written by Gordon Matzigkeit, 1996
16095 # This file is part of GNU Libtool.
16097 # GNU Libtool is free software; you can redistribute it and/or
16098 # modify it under the terms of the GNU General Public License as
16099 # published by the Free Software Foundation; either version 2 of
16100 # the License, or (at your option) any later version.
16102 # As a special exception to the GNU General Public License,
16103 # if you distribute this file as part of a program or library that
16104 # is built using GNU Libtool, you may include this file under the
16105 # same distribution terms that you use for the rest of that program.
16107 # GNU Libtool is distributed in the hope that it will be useful,
16108 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16109 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16110 # GNU General Public License for more details.
16112 # You should have received a copy of the GNU General Public License
16113 # along with GNU Libtool; see the file COPYING. If not, a copy
16114 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16115 # obtained by writing to the Free Software Foundation, Inc.,
16116 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16119 # The names of the tagged configurations supported by this script.
16122 # ### BEGIN LIBTOOL CONFIG
16124 # Whether or not to build shared libraries.
16125 build_libtool_libs=$enable_shared
16127 # Which release of libtool.m4 was used?
16128 macro_version=$macro_version
16129 macro_revision=$macro_revision
16131 # Whether or not to build static libraries.
16132 build_old_libs=$enable_static
16134 # What type of objects to build.
16137 # Whether or not to optimize for fast installation.
16138 fast_install=$enable_fast_install
16140 # Shell to use when invoking shell scripts.
16143 # An echo program that protects backslashes.
16147 host_alias=$host_alias
16151 # The build system.
16152 build_alias=$build_alias
16156 # A sed program that does not truncate output.
16159 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16160 Xsed="\$SED -e 1s/^X//"
16162 # A grep program that handles long lines.
16168 # A literal string matcher.
16171 # A BSD- or MS-compatible name lister.
16174 # Whether we need soft or hard links.
16177 # What is the maximum length of a command?
16178 max_cmd_len=$max_cmd_len
16180 # Object file suffix (normally "o").
16183 # Executable file suffix (normally "").
16186 # whether the shell understands "unset".
16189 # turn spaces into newlines.
16192 # turn newlines into spaces.
16195 # An object symbol dumper.
16196 OBJDUMP=$lt_OBJDUMP
16198 # Method to check whether dependent libraries are shared objects.
16199 deplibs_check_method=$lt_deplibs_check_method
16201 # Command to use when deplibs_check_method == "file_magic".
16202 file_magic_cmd=$lt_file_magic_cmd
16206 AR_FLAGS=$lt_AR_FLAGS
16208 # A symbol stripping program.
16211 # Commands used to install an old-style archive.
16213 old_postinstall_cmds=$lt_old_postinstall_cmds
16214 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16216 # Whether to use a lock for old archive extraction.
16217 lock_old_archive_extraction=$lock_old_archive_extraction
16222 # LTCC compiler flags.
16223 LTCFLAGS=$lt_CFLAGS
16225 # Take the output of nm and produce a listing of raw symbols and C names.
16226 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16228 # Transform the output of nm in a proper C declaration.
16229 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16231 # Transform the output of nm in a C name address pair.
16232 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16234 # Transform the output of nm in a C name address pair when lib prefix is needed.
16235 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16237 # The name of the directory that contains temporary libtool files.
16240 # Used to examine libraries when file_magic_cmd begins with "file".
16241 MAGIC_CMD=$MAGIC_CMD
16243 # Must we lock files when doing compilation?
16244 need_locks=$lt_need_locks
16246 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16247 DSYMUTIL=$lt_DSYMUTIL
16249 # Tool to change global to local symbols on Mac OS X.
16252 # Tool to manipulate fat objects and archives on Mac OS X.
16255 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16258 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16259 OTOOL64=$lt_OTOOL64
16261 # Old archive suffix (normally "a").
16264 # Shared library suffix (normally ".so").
16265 shrext_cmds=$lt_shrext_cmds
16267 # The commands to extract the exported symbol list from a shared archive.
16268 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16270 # Variables whose values should be saved in libtool wrapper scripts and
16271 # restored at link time.
16272 variables_saved_for_relink=$lt_variables_saved_for_relink
16274 # Do we need the "lib" prefix for modules?
16275 need_lib_prefix=$need_lib_prefix
16277 # Do we need a version for libraries?
16278 need_version=$need_version
16280 # Library versioning type.
16281 version_type=$version_type
16283 # Shared library runtime path variable.
16284 runpath_var=$runpath_var
16286 # Shared library path variable.
16287 shlibpath_var=$shlibpath_var
16289 # Is shlibpath searched before the hard-coded library search path?
16290 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16292 # Format of library name prefix.
16293 libname_spec=$lt_libname_spec
16295 # List of archive names. First name is the real one, the rest are links.
16296 # The last name is the one that the linker finds with -lNAME
16297 library_names_spec=$lt_library_names_spec
16299 # The coded name of the library, if different from the real name.
16300 soname_spec=$lt_soname_spec
16302 # Permission mode override for installation of shared libraries.
16303 install_override_mode=$lt_install_override_mode
16305 # Command to use after installation of a shared archive.
16306 postinstall_cmds=$lt_postinstall_cmds
16308 # Command to use after uninstallation of a shared archive.
16309 postuninstall_cmds=$lt_postuninstall_cmds
16311 # Commands used to finish a libtool library installation in a directory.
16312 finish_cmds=$lt_finish_cmds
16314 # As "finish_cmds", except a single script fragment to be evaled but
16316 finish_eval=$lt_finish_eval
16318 # Whether we should hardcode library paths into libraries.
16319 hardcode_into_libs=$hardcode_into_libs
16321 # Compile-time system search path for libraries.
16322 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16324 # Run-time system search path for libraries.
16325 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16327 # Whether dlopen is supported.
16328 dlopen_support=$enable_dlopen
16330 # Whether dlopen of programs is supported.
16331 dlopen_self=$enable_dlopen_self
16333 # Whether dlopen of statically linked programs is supported.
16334 dlopen_self_static=$enable_dlopen_self_static
16336 # Commands to strip libraries.
16337 old_striplib=$lt_old_striplib
16338 striplib=$lt_striplib
16341 # The linker used to build libraries.
16344 # How to create reloadable object files.
16345 reload_flag=$lt_reload_flag
16346 reload_cmds=$lt_reload_cmds
16348 # Commands used to build an old-style archive.
16349 old_archive_cmds=$lt_old_archive_cmds
16351 # A language specific compiler.
16354 # Is the compiler the GNU compiler?
16357 # Compiler flag to turn off builtin functions.
16358 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16360 # How to pass a linker flag through the compiler.
16361 wl=$lt_lt_prog_compiler_wl
16363 # Additional compiler flags for building library objects.
16364 pic_flag=$lt_lt_prog_compiler_pic
16366 # Compiler flag to prevent dynamic linking.
16367 link_static_flag=$lt_lt_prog_compiler_static
16369 # Does compiler simultaneously support -c and -o options?
16370 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16372 # Whether or not to add -lc for building shared libraries.
16373 build_libtool_need_lc=$archive_cmds_need_lc
16375 # Whether or not to disallow shared libs when runtime libs are static.
16376 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16378 # Compiler flag to allow reflexive dlopens.
16379 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16381 # Compiler flag to generate shared objects directly from archives.
16382 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16384 # Whether the compiler copes with passing no objects directly.
16385 compiler_needs_object=$lt_compiler_needs_object
16387 # Create an old-style archive from a shared archive.
16388 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16390 # Create a temporary old-style archive to link instead of a shared archive.
16391 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16393 # Commands used to build a shared archive.
16394 archive_cmds=$lt_archive_cmds
16395 archive_expsym_cmds=$lt_archive_expsym_cmds
16397 # Commands used to build a loadable module if different from building
16398 # a shared archive.
16399 module_cmds=$lt_module_cmds
16400 module_expsym_cmds=$lt_module_expsym_cmds
16402 # Whether we are building with GNU ld or not.
16403 with_gnu_ld=$lt_with_gnu_ld
16405 # Flag that allows shared libraries with undefined symbols to be built.
16406 allow_undefined_flag=$lt_allow_undefined_flag
16408 # Flag that enforces no undefined symbols.
16409 no_undefined_flag=$lt_no_undefined_flag
16411 # Flag to hardcode \$libdir into a binary during linking.
16412 # This must work even if \$libdir does not exist
16413 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16415 # If ld is used when linking, flag to hardcode \$libdir into a binary
16416 # during linking. This must work even if \$libdir does not exist.
16417 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16419 # Whether we need a single "-rpath" flag with a separated argument.
16420 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16422 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16423 # DIR into the resulting binary.
16424 hardcode_direct=$hardcode_direct
16426 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16427 # DIR into the resulting binary and the resulting library dependency is
16428 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16429 # library is relocated.
16430 hardcode_direct_absolute=$hardcode_direct_absolute
16432 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16433 # into the resulting binary.
16434 hardcode_minus_L=$hardcode_minus_L
16436 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16437 # into the resulting binary.
16438 hardcode_shlibpath_var=$hardcode_shlibpath_var
16440 # Set to "yes" if building a shared library automatically hardcodes DIR
16441 # into the library and all subsequent libraries and executables linked
16443 hardcode_automatic=$hardcode_automatic
16445 # Set to yes if linker adds runtime paths of dependent libraries
16446 # to runtime path list.
16447 inherit_rpath=$inherit_rpath
16449 # Whether libtool must link a program against all its dependency libraries.
16450 link_all_deplibs=$link_all_deplibs
16452 # Fix the shell variable \$srcfile for the compiler.
16453 fix_srcfile_path=$lt_fix_srcfile_path
16455 # Set to "yes" if exported symbols are required.
16456 always_export_symbols=$always_export_symbols
16458 # The commands to list exported symbols.
16459 export_symbols_cmds=$lt_export_symbols_cmds
16461 # Symbols that should not be listed in the preloaded symbols.
16462 exclude_expsyms=$lt_exclude_expsyms
16464 # Symbols that must always be exported.
16465 include_expsyms=$lt_include_expsyms
16467 # Commands necessary for linking programs (against libraries) with templates.
16468 prelink_cmds=$lt_prelink_cmds
16470 # Specify filename containing input files.
16471 file_list_spec=$lt_file_list_spec
16473 # How to hardcode a shared library path into an executable.
16474 hardcode_action=$hardcode_action
16476 # ### END LIBTOOL CONFIG
16482 cat <<\_LT_EOF
>> "$cfgfile"
16483 # AIX sometimes has problems with the GCC collect2 program. For some
16484 # reason, if we set the COLLECT_NAMES environment variable, the problems
16485 # vanish in a puff of smoke.
16486 if test "X${COLLECT_NAMES+set}" != Xset
; then
16488 export COLLECT_NAMES
16495 ltmain
="$ac_aux_dir/ltmain.sh"
16498 # We use sed instead of cat because bash on DJGPP gets confused if
16499 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16500 # text mode, it properly converts lines to CR/LF. This bash problem
16501 # is reportedly fixed, but why not run on old versions too?
16502 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16503 ||
(rm -f "$cfgfile"; exit 1)
16507 cat << \_LT_EOF
>> "$cfgfile"
16509 # func_dirname file append nondir_replacement
16510 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16511 # otherwise set result to NONDIR_REPLACEMENT.
16515 */*) func_dirname_result
="${1%/*}${2}" ;;
16516 * ) func_dirname_result
="${3}" ;;
16520 # func_basename file
16523 func_basename_result
="${1##*/}"
16526 # func_dirname_and_basename file append nondir_replacement
16527 # perform func_basename and func_dirname in a single function
16529 # dirname: Compute the dirname of FILE. If nonempty,
16530 # add APPEND to the result, otherwise set result
16531 # to NONDIR_REPLACEMENT.
16532 # value returned in "$func_dirname_result"
16533 # basename: Compute filename of FILE.
16534 # value retuned in "$func_basename_result"
16535 # Implementation must be kept synchronized with func_dirname
16536 # and func_basename. For efficiency, we do not delegate to
16537 # those functions but instead duplicate the functionality here.
16538 func_dirname_and_basename
()
16541 */*) func_dirname_result
="${1%/*}${2}" ;;
16542 * ) func_dirname_result
="${3}" ;;
16544 func_basename_result
="${1##*/}"
16547 # func_stripname prefix suffix name
16548 # strip PREFIX and SUFFIX off of NAME.
16549 # PREFIX and SUFFIX must not contain globbing or regex special
16550 # characters, hashes, percent signs, but SUFFIX may contain a leading
16551 # dot (in which case that matches only a dot).
16554 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16555 # positional parameters, so assign one to ordinary parameter first.
16556 func_stripname_result
=${3}
16557 func_stripname_result
=${func_stripname_result#"${1}"}
16558 func_stripname_result
=${func_stripname_result%"${2}"}
16564 func_opt_split_opt
=${1%%=*}
16565 func_opt_split_arg
=${1#*=}
16572 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16573 *) func_lo2o_result
=${1} ;;
16577 # func_xform libobj-or-source
16580 func_xform_result
=${1%.*}.lo
16583 # func_arith arithmetic-term...
16586 func_arith_result
=$
(( $
* ))
16590 # STRING may not start with a hyphen.
16593 func_len_result
=${#1}
16598 *) # Bourne compatible functions.
16599 cat << \_LT_EOF
>> "$cfgfile"
16601 # func_dirname file append nondir_replacement
16602 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16603 # otherwise set result to NONDIR_REPLACEMENT.
16606 # Extract subdirectory from the argument.
16607 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16608 if test "X$func_dirname_result" = "X${1}"; then
16609 func_dirname_result
="${3}"
16611 func_dirname_result
="$func_dirname_result${2}"
16615 # func_basename file
16618 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16622 # func_stripname prefix suffix name
16623 # strip PREFIX and SUFFIX off of NAME.
16624 # PREFIX and SUFFIX must not contain globbing or regex special
16625 # characters, hashes, percent signs, but SUFFIX may contain a leading
16626 # dot (in which case that matches only a dot).
16627 # func_strip_suffix prefix name
16631 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16632 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16637 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16638 my_sed_long_arg
='1s/^-[^=]*=//'
16643 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16644 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16650 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16653 # func_xform libobj-or-source
16656 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16659 # func_arith arithmetic-term...
16662 func_arith_result
=`expr "$@"`
16666 # STRING may not start with a hyphen.
16669 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16675 case $lt_shell_append in
16677 cat << \_LT_EOF
>> "$cfgfile"
16679 # func_append var value
16680 # Append VALUE to the end of shell variable VAR.
16688 cat << \_LT_EOF
>> "$cfgfile"
16690 # func_append var value
16691 # Append VALUE to the end of shell variable VAR.
16702 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16703 ||
(rm -f "$cfgfile"; exit 1)
16705 mv -f "$cfgfile" "$ofile" ||
16706 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16711 for ac_file
in $CONFIG_FILES; do
16712 # Support "outfile[:infile[:infile...]]"
16714 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16716 # PO directories have a Makefile.in generated from Makefile.in.in.
16717 case "$ac_file" in */Makefile.
in)
16718 # Adjust a relative srcdir.
16719 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16720 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
16721 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16722 # In autoconf-2.13 it is called $ac_given_srcdir.
16723 # In autoconf-2.50 it is called $srcdir.
16724 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16725 case "$ac_given_srcdir" in
16726 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16727 /*) top_srcdir
="$ac_given_srcdir" ;;
16728 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16730 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16731 rm -f "$ac_dir/POTFILES"
16732 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16733 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16734 POMAKEFILEDEPS
="POTFILES.in"
16735 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16736 # on $ac_dir but don't depend on user-specified configuration
16738 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16739 # The LINGUAS file contains the set of available languages.
16740 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16741 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
16743 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16744 # Hide the ALL_LINGUAS assigment from automake.
16745 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16746 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16748 # The set of available languages was given in configure.ac.
16749 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16751 case "$ac_given_srcdir" in
16753 *) srcdirpre
='$(srcdir)/' ;;
16759 for lang
in $ALL_LINGUAS; do
16760 POFILES
="$POFILES $srcdirpre$lang.po"
16761 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16762 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16763 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16765 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16766 # environment variable.
16768 if test -n "$ALL_LINGUAS"; then
16769 for presentlang
in $ALL_LINGUAS; do
16771 if test "%UNSET%" != "$LINGUAS"; then
16772 desiredlanguages
="$LINGUAS"
16774 desiredlanguages
="$ALL_LINGUAS"
16776 for desiredlang
in $desiredlanguages; do
16777 # Use the presentlang catalog if desiredlang is
16778 # a. equal to presentlang, or
16779 # b. a variant of presentlang (because in this case,
16780 # presentlang can be used as a fallback for messages
16781 # which are not translated in the desiredlang catalog).
16782 case "$desiredlang" in
16783 "$presentlang"*) useit
=yes;;
16786 if test $useit = yes; then
16787 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16792 if test -n "$INST_LINGUAS"; then
16793 for lang
in $INST_LINGUAS; do
16794 CATALOGS
="$CATALOGS $lang.gmo"
16797 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16798 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"
16799 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16800 if test -f "$f"; then
16802 *.orig |
*.bak |
*~
) ;;
16803 *) cat "$f" >> "$ac_dir/Makefile" ;;
16812 for ac_file
in $CONFIG_FILES; do
16813 # Support "outfile[:infile[:infile...]]"
16815 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16817 # PO directories have a Makefile.in generated from Makefile.in.in.
16818 case "$ac_file" in */Makefile.
in)
16819 # Adjust a relative srcdir.
16820 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16821 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
16822 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16823 # In autoconf-2.13 it is called $ac_given_srcdir.
16824 # In autoconf-2.50 it is called $srcdir.
16825 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16826 case "$ac_given_srcdir" in
16827 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16828 /*) top_srcdir
="$ac_given_srcdir" ;;
16829 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16831 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16832 rm -f "$ac_dir/POTFILES"
16833 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16834 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16835 POMAKEFILEDEPS
="POTFILES.in"
16836 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16837 # on $ac_dir but don't depend on user-specified configuration
16839 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16840 # The LINGUAS file contains the set of available languages.
16841 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16842 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
16844 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16845 # Hide the ALL_LINGUAS assigment from automake.
16846 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16847 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16849 # The set of available languages was given in configure.ac.
16850 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16852 case "$ac_given_srcdir" in
16854 *) srcdirpre
='$(srcdir)/' ;;
16860 for lang
in $ALL_LINGUAS; do
16861 POFILES
="$POFILES $srcdirpre$lang.po"
16862 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16863 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16864 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16866 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16867 # environment variable.
16869 if test -n "$ALL_LINGUAS"; then
16870 for presentlang
in $ALL_LINGUAS; do
16872 if test "%UNSET%" != "$LINGUAS"; then
16873 desiredlanguages
="$LINGUAS"
16875 desiredlanguages
="$ALL_LINGUAS"
16877 for desiredlang
in $desiredlanguages; do
16878 # Use the presentlang catalog if desiredlang is
16879 # a. equal to presentlang, or
16880 # b. a variant of presentlang (because in this case,
16881 # presentlang can be used as a fallback for messages
16882 # which are not translated in the desiredlang catalog).
16883 case "$desiredlang" in
16884 "$presentlang"*) useit
=yes;;
16887 if test $useit = yes; then
16888 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16893 if test -n "$INST_LINGUAS"; then
16894 for lang
in $INST_LINGUAS; do
16895 CATALOGS
="$CATALOGS $lang.gmo"
16898 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16899 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"
16900 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16901 if test -f "$f"; then
16903 *.orig |
*.bak |
*~
) ;;
16904 *) cat "$f" >> "$ac_dir/Makefile" ;;
16919 ac_clean_files
=$ac_clean_files_save
16921 test $ac_write_fail = 0 ||
16922 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16925 # configure is writing to config.log, and then calls config.status.
16926 # config.status does its own redirection, appending to config.log.
16927 # Unfortunately, on DOS this fails, as config.log is still kept open
16928 # by configure, so config.status won't be able to write to it; its
16929 # output is simply discarded. So we exec the FD to /dev/null,
16930 # effectively closing config.log, so it can be properly (re)opened and
16931 # appended to by config.status. When coming back to configure, we
16932 # need to make the FD available again.
16933 if test "$no_create" != yes; then
16935 ac_config_status_args
=
16936 test "$silent" = yes &&
16937 ac_config_status_args
="$ac_config_status_args --quiet"
16939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16942 # would make configure fail if this is the last instruction.
16943 $ac_cs_success || as_fn_exit
1
16945 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16947 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16952 touch config.status.tmp
16953 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
16954 sed '/as_fn_exit 0/i \
16955 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
16956 touch --reference=Makefile Makefile.tmp \
16957 mv Makefile.tmp Makefile \
16958 ' config.status
> config.status.tmp
16959 touch --reference=config.status config.status.tmp
16960 mv config.status.tmp config.status
16961 chmod +x config.status
16962 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
16963 touch --reference=Makefile Makefile.tmp
16964 mv Makefile.tmp Makefile
16966 rm -f config.status.tmp