2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL
=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec
; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo
; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo
; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset
; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
591 for dir
in $PATH /usr
/ucb
; do
593 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho
; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL
=/bin
/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
632 SHELL
="$CONFIG_SHELL"
634 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string
=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev
/null
6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix
=/usr
/local
688 ac_config_libobj_dir
=.
695 # Identity of this package.
703 ac_unique_file
="z8k-dis.c"
704 # Factoring default headers for most tests.
705 ac_includes_default
="\
707 #ifdef HAVE_SYS_TYPES_H
708 # include <sys/types.h>
710 #ifdef HAVE_SYS_STAT_H
711 # include <sys/stat.h>
717 # ifdef HAVE_STDLIB_H
722 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
727 #ifdef HAVE_STRINGS_H
728 # include <strings.h>
730 #ifdef HAVE_INTTYPES_H
731 # include <inttypes.h>
740 ac_subst_vars
='am__EXEEXT_FALSE
780 MAINTAINER_MODE_FALSE
821 INSTALL_STRIP_PROGRAM
882 program_transform_name
895 enable_option_checking
896 enable_dependency_tracking
905 enable_build_warnings
906 enable_maintainer_mode
907 enable_install_libbfd
911 ac_precious_vars
='build_alias
922 # Initialize some variables set by options.
924 ac_init_version
=false
925 ac_unrecognized_opts
=
927 # The variables have the same names as the options, with
928 # dashes changed to underlines.
936 program_transform_name
=s
,x
,x
,
944 # Installation directory options.
945 # These are left unexpanded so users can "make install exec_prefix=/foo"
946 # and all the variables that are supposed to be based on exec_prefix
947 # by default will actually change.
948 # Use braces instead of parens because sh, perl, etc. also accept them.
949 # (The list follows the same order as the GNU Coding Standards.)
950 bindir
='${exec_prefix}/bin'
951 sbindir
='${exec_prefix}/sbin'
952 libexecdir
='${exec_prefix}/libexec'
953 datarootdir
='${prefix}/share'
954 datadir
='${datarootdir}'
955 sysconfdir
='${prefix}/etc'
956 sharedstatedir
='${prefix}/com'
957 localstatedir
='${prefix}/var'
958 includedir
='${prefix}/include'
959 oldincludedir
='/usr/include'
960 docdir
='${datarootdir}/doc/${PACKAGE}'
961 infodir
='${datarootdir}/info'
966 libdir
='${exec_prefix}/lib'
967 localedir
='${datarootdir}/locale'
968 mandir
='${datarootdir}/man'
974 # If the previous option needs an argument, assign it.
975 if test -n "$ac_prev"; then
976 eval $ac_prev=\
$ac_option
982 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 # Accept the important Cygnus configure options, so we can diagnose typos.
988 case $ac_dashdash$ac_option in
992 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
994 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
997 -build |
--build |
--buil |
--bui |
--bu)
998 ac_prev
=build_alias
;;
999 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1000 build_alias
=$ac_optarg ;;
1002 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1003 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1004 ac_prev
=cache_file
;;
1005 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1006 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1007 cache_file
=$ac_optarg ;;
1009 --config-cache |
-C)
1010 cache_file
=config.cache
;;
1012 -datadir |
--datadir |
--datadi |
--datad)
1014 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1015 datadir
=$ac_optarg ;;
1017 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1018 |
--dataroo |
--dataro |
--datar)
1019 ac_prev
=datarootdir
;;
1020 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1021 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1022 datarootdir
=$ac_optarg ;;
1024 -disable-* |
--disable-*)
1025 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1028 as_fn_error
"invalid feature name: $ac_useropt"
1029 ac_useropt_orig
=$ac_useropt
1030 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1033 "enable_
$ac_useropt"
1035 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1036 ac_unrecognized_sep
=', ';;
1038 eval enable_
$ac_useropt=no
;;
1040 -docdir |
--docdir |
--docdi |
--doc |
--do)
1042 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1043 docdir
=$ac_optarg ;;
1045 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1047 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1048 dvidir
=$ac_optarg ;;
1050 -enable-* |
--enable-*)
1051 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1054 as_fn_error
"invalid feature name: $ac_useropt"
1055 ac_useropt_orig
=$ac_useropt
1056 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1059 "enable_
$ac_useropt"
1061 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1062 ac_unrecognized_sep
=', ';;
1064 eval enable_
$ac_useropt=\
$ac_optarg ;;
1066 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1067 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1068 |
--exec |
--exe |
--ex)
1069 ac_prev
=exec_prefix
;;
1070 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1071 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1072 |
--exec=* |
--exe=* |
--ex=*)
1073 exec_prefix
=$ac_optarg ;;
1075 -gas |
--gas |
--ga |
--g)
1076 # Obsolete; use --with-gas.
1079 -help |
--help |
--hel |
--he |
-h)
1080 ac_init_help
=long
;;
1081 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1082 ac_init_help
=recursive
;;
1083 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1084 ac_init_help
=short
;;
1086 -host |
--host |
--hos |
--ho)
1087 ac_prev
=host_alias
;;
1088 -host=* |
--host=* |
--hos=* |
--ho=*)
1089 host_alias
=$ac_optarg ;;
1091 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1093 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1095 htmldir
=$ac_optarg ;;
1097 -includedir |
--includedir |
--includedi |
--included |
--include \
1098 |
--includ |
--inclu |
--incl |
--inc)
1099 ac_prev
=includedir
;;
1100 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1101 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1102 includedir
=$ac_optarg ;;
1104 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1106 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1107 infodir
=$ac_optarg ;;
1109 -libdir |
--libdir |
--libdi |
--libd)
1111 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1112 libdir
=$ac_optarg ;;
1114 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1115 |
--libexe |
--libex |
--libe)
1116 ac_prev
=libexecdir
;;
1117 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1118 |
--libexe=* |
--libex=* |
--libe=*)
1119 libexecdir
=$ac_optarg ;;
1121 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1122 ac_prev
=localedir
;;
1123 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1124 localedir
=$ac_optarg ;;
1126 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1127 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1128 ac_prev
=localstatedir
;;
1129 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1130 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1131 localstatedir
=$ac_optarg ;;
1133 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1135 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1136 mandir
=$ac_optarg ;;
1138 -nfp |
--nfp |
--nf)
1139 # Obsolete; use --without-fp.
1142 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1143 |
--no-cr |
--no-c |
-n)
1146 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1147 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1150 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1151 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1152 |
--oldin |
--oldi |
--old |
--ol |
--o)
1153 ac_prev
=oldincludedir
;;
1154 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1155 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1156 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1157 oldincludedir
=$ac_optarg ;;
1159 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1161 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1162 prefix
=$ac_optarg ;;
1164 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1165 |
--program-pre |
--program-pr |
--program-p)
1166 ac_prev
=program_prefix
;;
1167 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1168 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1169 program_prefix
=$ac_optarg ;;
1171 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1172 |
--program-suf |
--program-su |
--program-s)
1173 ac_prev
=program_suffix
;;
1174 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1175 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1176 program_suffix
=$ac_optarg ;;
1178 -program-transform-name |
--program-transform-name \
1179 |
--program-transform-nam |
--program-transform-na \
1180 |
--program-transform-n |
--program-transform- \
1181 |
--program-transform |
--program-transfor \
1182 |
--program-transfo |
--program-transf \
1183 |
--program-trans |
--program-tran \
1184 |
--progr-tra |
--program-tr |
--program-t)
1185 ac_prev
=program_transform_name
;;
1186 -program-transform-name=* |
--program-transform-name=* \
1187 |
--program-transform-nam=* |
--program-transform-na=* \
1188 |
--program-transform-n=* |
--program-transform-=* \
1189 |
--program-transform=* |
--program-transfor=* \
1190 |
--program-transfo=* |
--program-transf=* \
1191 |
--program-trans=* |
--program-tran=* \
1192 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1193 program_transform_name
=$ac_optarg ;;
1195 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1197 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1198 pdfdir
=$ac_optarg ;;
1200 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1202 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1205 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1206 |
-silent |
--silent |
--silen |
--sile |
--sil)
1209 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1211 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1213 sbindir
=$ac_optarg ;;
1215 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1216 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1217 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1219 ac_prev
=sharedstatedir
;;
1220 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1221 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1222 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1224 sharedstatedir
=$ac_optarg ;;
1226 -site |
--site |
--sit)
1228 -site=* |
--site=* |
--sit=*)
1231 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1233 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1234 srcdir
=$ac_optarg ;;
1236 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1237 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1238 ac_prev
=sysconfdir
;;
1239 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1240 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1241 sysconfdir
=$ac_optarg ;;
1243 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1244 ac_prev
=target_alias
;;
1245 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1246 target_alias
=$ac_optarg ;;
1248 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1251 -version |
--version |
--versio |
--versi |
--vers |
-V)
1252 ac_init_version
=: ;;
1255 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1258 as_fn_error
"invalid package name: $ac_useropt"
1259 ac_useropt_orig
=$ac_useropt
1260 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1265 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1266 ac_unrecognized_sep
=', ';;
1268 eval with_
$ac_useropt=\
$ac_optarg ;;
1270 -without-* |
--without-*)
1271 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1274 as_fn_error
"invalid package name: $ac_useropt"
1275 ac_useropt_orig
=$ac_useropt
1276 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277 case $ac_user_opts in
1281 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1282 ac_unrecognized_sep
=', ';;
1284 eval with_
$ac_useropt=no
;;
1287 # Obsolete; use --with-x.
1290 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1291 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1292 ac_prev
=x_includes
;;
1293 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1294 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1295 x_includes
=$ac_optarg ;;
1297 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1298 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1299 ac_prev
=x_libraries
;;
1300 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1301 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1302 x_libraries
=$ac_optarg ;;
1304 -*) as_fn_error
"unrecognized option: \`$ac_option'
1305 Try \`$0 --help' for more information."
1309 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1310 # Reject names that are not valid shell variable names.
1311 case $ac_envvar in #(
1312 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1313 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1315 eval $ac_envvar=\
$ac_optarg
1316 export $ac_envvar ;;
1319 # FIXME: should be removed in autoconf 3.0.
1320 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1321 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1322 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1323 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1329 if test -n "$ac_prev"; then
1330 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1331 as_fn_error
"missing argument to $ac_option"
1334 if test -n "$ac_unrecognized_opts"; then
1335 case $enable_option_checking in
1337 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1338 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1342 # Check all directory arguments for consistency.
1343 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1344 datadir sysconfdir sharedstatedir localstatedir includedir \
1345 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1346 libdir localedir mandir
1348 eval ac_val
=\$
$ac_var
1349 # Remove trailing slashes.
1352 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1353 eval $ac_var=\
$ac_val;;
1355 # Be sure to have absolute directory names.
1357 [\\/$
]* | ?
:[\\/]* ) continue;;
1358 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1360 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1363 # There might be people who depend on the old broken behavior: `$host'
1364 # used to hold the argument of --host etc.
1365 # FIXME: To remove some day.
1368 target
=$target_alias
1370 # FIXME: To remove some day.
1371 if test "x$host_alias" != x
; then
1372 if test "x$build_alias" = x
; then
1373 cross_compiling
=maybe
1374 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1375 If a cross compiler is detected then cross compile mode will be used." >&2
1376 elif test "x$build_alias" != "x$host_alias"; then
1382 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1384 test "$silent" = yes && exec 6>/dev
/null
1387 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1388 ac_ls_di
=`ls -di .` &&
1389 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1390 as_fn_error
"working directory cannot be determined"
1391 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1392 as_fn_error
"pwd does not report name of working directory"
1395 # Find the source files, if location was not specified.
1396 if test -z "$srcdir"; then
1397 ac_srcdir_defaulted
=yes
1398 # Try the directory containing this script, then the parent directory.
1399 ac_confdir
=`$as_dirname -- "$as_myself" ||
1400 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1401 X"$as_myself" : 'X\(//\)[^/]' \| \
1402 X"$as_myself" : 'X\(//\)$' \| \
1403 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1404 $as_echo X"$as_myself" |
1405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1427 ac_srcdir_defaulted
=no
1429 if test ! -r "$srcdir/$ac_unique_file"; then
1430 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1431 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1433 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1435 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1437 # When building in place, set srcdir=.
1438 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 # Remove unnecessary trailing slashes from srcdir.
1442 # Double slashes in file names in object file debugging info
1443 # mess up M-x gdb in Emacs.
1445 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 for ac_var
in $ac_precious_vars; do
1448 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1450 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1451 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1455 # Report the --help message.
1457 if test "$ac_init_help" = "long"; then
1458 # Omit some internal or obsolete options to make the list less imposing.
1459 # This message is too long to be a string in the A/UX 3.1 sh.
1461 \`configure' configures this package to adapt to many kinds of systems.
1463 Usage: $0 [OPTION]... [VAR=VALUE]...
1465 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1466 VAR=VALUE. See below for descriptions of some of the useful variables.
1468 Defaults for the options are specified in brackets.
1471 -h, --help display this help and exit
1472 --help=short display options specific to this package
1473 --help=recursive display the short help of all the included packages
1474 -V, --version display version information and exit
1475 -q, --quiet, --silent do not print \`checking...' messages
1476 --cache-file=FILE cache test results in FILE [disabled]
1477 -C, --config-cache alias for \`--cache-file=config.cache'
1478 -n, --no-create do not create output files
1479 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1481 Installation directories:
1482 --prefix=PREFIX install architecture-independent files in PREFIX
1483 [$ac_default_prefix]
1484 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 By default, \`make install' will install all the files in
1488 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1489 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1490 for instance \`--prefix=\$HOME'.
1492 For better control, use the options below.
1494 Fine tuning of the installation directories:
1495 --bindir=DIR user executables [EPREFIX/bin]
1496 --sbindir=DIR system admin executables [EPREFIX/sbin]
1497 --libexecdir=DIR program executables [EPREFIX/libexec]
1498 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1499 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1500 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1501 --libdir=DIR object code libraries [EPREFIX/lib]
1502 --includedir=DIR C header files [PREFIX/include]
1503 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1504 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1505 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1506 --infodir=DIR info documentation [DATAROOTDIR/info]
1507 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1508 --mandir=DIR man documentation [DATAROOTDIR/man]
1509 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1510 --htmldir=DIR html documentation [DOCDIR]
1511 --dvidir=DIR dvi documentation [DOCDIR]
1512 --pdfdir=DIR pdf documentation [DOCDIR]
1513 --psdir=DIR ps documentation [DOCDIR]
1519 --program-prefix=PREFIX prepend PREFIX to installed program names
1520 --program-suffix=SUFFIX append SUFFIX to installed program names
1521 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1524 --build=BUILD configure
for building on BUILD
[guessed
]
1525 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1526 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1530 if test -n "$ac_init_help"; then
1535 --disable-option-checking ignore unrecognized
--enable/--with options
1536 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1537 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1538 --disable-dependency-tracking speeds up one-time build
1539 --enable-dependency-tracking do not reject slow dependency extractors
1540 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1541 --enable-static[=PKGS
] build static libraries
[default
=yes]
1542 --enable-fast-install[=PKGS
]
1543 optimize
for fast installation
[default
=yes]
1544 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1545 --enable-targets alternative target configurations
1546 --enable-werror treat compile warnings as errors
1547 --enable-build-warnings enable build-time compiler warnings
1548 --enable-maintainer-mode enable make rules and dependencies not useful
1549 (and sometimes confusing
) to the casual installer
1550 --enable-install-libbfd controls installation of libbfd and related headers
1551 --disable-nls do not use Native Language Support
1552 --enable-cgen-maint=dir build cgen generated files
1555 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1556 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1557 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1559 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1561 Some influential environment variables
:
1562 CC C compiler
command
1563 CFLAGS C compiler flags
1564 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1565 nonstandard directory
<lib dir
>
1566 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1567 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1568 you have headers
in a nonstandard directory
<include dir
>
1571 Use these variables to override the choices made by
`configure' or to help
1572 it to find libraries and programs with nonstandard names/locations.
1574 Report bugs to the package provider.
1579 if test "$ac_init_help" = "recursive"; then
1580 # If there are subdirs, report their specific --help.
1581 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1582 test -d "$ac_dir" ||
1583 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1591 # A ".." for each directory in $ac_dir_suffix.
1592 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1593 case $ac_top_builddir_sub in
1594 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1598 ac_abs_top_builddir=$ac_pwd
1599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1600 # for backward compatibility:
1601 ac_top_builddir=$ac_top_build_prefix
1604 .) # We are building in place.
1606 ac_top_srcdir=$ac_top_builddir_sub
1607 ac_abs_top_srcdir=$ac_pwd ;;
1608 [\\/]* | ?:[\\/]* ) # Absolute name.
1609 ac_srcdir=$srcdir$ac_dir_suffix;
1610 ac_top_srcdir=$srcdir
1611 ac_abs_top_srcdir=$srcdir ;;
1613 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1614 ac_top_srcdir=$ac_top_build_prefix$srcdir
1615 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1619 cd "$ac_dir" || { ac_status=$?; continue; }
1620 # Check for guested configure.
1621 if test -f "$ac_srcdir/configure.gnu"; then
1623 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1624 elif test -f "$ac_srcdir/configure"; then
1626 $SHELL "$ac_srcdir/configure" --help=recursive
1628 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1630 cd "$ac_pwd" || { ac_status=$?; break; }
1634 test -n "$ac_init_help" && exit $ac_status
1635 if $ac_init_version; then
1638 generated by GNU Autoconf 2.64
1640 Copyright (C) 2009 Free Software Foundation, Inc.
1641 This configure script is free software; the Free Software Foundation
1642 gives unlimited permission to copy, distribute and modify it.
1647 ## ------------------------ ##
1648 ## Autoconf initialization. ##
1649 ## ------------------------ ##
1651 # ac_fn_c_try_compile LINENO
1652 # --------------------------
1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_c_try_compile ()
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext
1658 if { { ac_try="$ac_compile"
1660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1661 *) ac_try_echo
=$ac_try;;
1663 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_compile") 2>conftest.err
1667 if test -s conftest.err
; then
1668 grep -v '^ *+' conftest.err
>conftest.er1
1669 cat conftest.er1
>&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest.
$ac_objext; then :
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.
$ac_ext >&5
1684 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1687 } # ac_fn_c_try_compile
1689 # ac_fn_c_try_link LINENO
1690 # -----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1695 rm -f conftest.
$ac_objext conftest
$ac_exeext
1696 if { { ac_try
="$ac_link"
1698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>conftest.err
1705 if test -s conftest.err; then
1706 grep -v '^ *+' conftest.err >conftest.er1
1707 cat conftest.er1 >&5
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && {
1712 test -z "$ac_c_werror_flag" ||
1713 test ! -s conftest.err
1714 } && test -s conftest$ac_exeext && {
1715 test "$cross_compiling" = yes ||
1716 $as_test_x conftest$ac_exeext
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1726 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1727 # interfere with the next link command; also delete a directory that is
1728 # left behind by Apple's compiler. We do this before executing the actions.
1729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 } # ac_fn_c_try_link
1735 # ac_fn_c_try_cpp LINENO
1736 # ----------------------
1737 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 if { { ac_try="$ac_cpp conftest.$ac_ext"
1743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1744 *) ac_try_echo
=$ac_try;;
1746 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1750 if test -s conftest.err
; then
1751 grep -v '^ *+' conftest.err
>conftest.er1
1752 cat conftest.er1
>&5
1753 mv -f conftest.er1 conftest.err
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } >/dev
/null
&& {
1757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1758 test ! -s conftest.err
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.
$ac_ext >&5
1767 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1772 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1773 # -------------------------------------------------------
1774 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1775 # the include files in INCLUDES and setting the cache variable VAR
1777 ac_fn_c_check_header_mongrel
()
1779 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1780 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782 $as_echo_n "checking for $2... " >&6; }
1783 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1784 $as_echo_n "(cached) " >&6
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788 $as_echo "$ac_res" >&6; }
1790 # Is the header compilable?
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1792 $as_echo_n "checking $2 usability... " >&6; }
1793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h. */
1798 if ac_fn_c_try_compile
"$LINENO"; then :
1799 ac_header_compiler
=yes
1801 ac_header_compiler
=no
1803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1805 $as_echo "$ac_header_compiler" >&6; }
1807 # Is the header present?
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1809 $as_echo_n "checking $2 presence... " >&6; }
1810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1811 /* end confdefs.h. */
1814 if ac_fn_c_try_cpp
"$LINENO"; then :
1815 ac_header_preproc
=yes
1817 ac_header_preproc
=no
1819 rm -f conftest.err conftest.
$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1821 $as_echo "$ac_header_preproc" >&6; }
1823 # So? What about this header?
1824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1827 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1829 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1833 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1835 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1837 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1839 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1841 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1847 $as_echo_n "(cached) " >&6
1849 eval "$3=\$ac_header_compiler"
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853 $as_echo "$ac_res" >&6; }
1855 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1857 } # ac_fn_c_check_header_mongrel
1859 # ac_fn_c_try_run LINENO
1860 # ----------------------
1861 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1862 # that executables *can* be run.
1865 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1866 if { { ac_try
="$ac_link"
1868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_link") 2>&5
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1877 { { case "(($ac_try" in
1878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1879 *) ac_try_echo
=$ac_try;;
1881 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_try") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; }; }; then :
1889 $as_echo "$as_me: program exited with status $ac_status" >&5
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.
$ac_ext >&5
1893 ac_retval
=$ac_status
1895 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1896 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1901 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1902 # -------------------------------------------------------
1903 # Tests whether HEADER exists and can be compiled using the include files in
1904 # INCLUDES, setting the cache variable VAR accordingly.
1905 ac_fn_c_check_header_compile
()
1907 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1911 $as_echo_n "(cached) " >&6
1913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1918 if ac_fn_c_try_compile
"$LINENO"; then :
1923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1930 } # ac_fn_c_check_header_compile
1932 # ac_fn_c_check_func LINENO FUNC VAR
1933 # ----------------------------------
1934 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1935 ac_fn_c_check_func
()
1937 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1941 $as_echo_n "(cached) " >&6
1943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1945 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1947 #define $2 innocuous_$2
1949 /* System header to define __stub macros and hopefully few prototypes,
1950 which can conflict with char $2 (); below.
1951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1952 <limits.h> exists even on freestanding compilers. */
1955 # include <limits.h>
1957 # include <assert.h>
1962 /* Override any GCC internal prototype to avoid an error.
1963 Use char because int might match the return type of a GCC
1964 builtin and then its argument prototype would still apply. */
1969 /* The GNU C library defines this for functions which it implements
1970 to always fail with ENOSYS. Some functions are actually named
1971 something starting with __ and the normal name is an alias. */
1972 #if defined __stub_$2 || defined __stub___$2
1984 if ac_fn_c_try_link
"$LINENO"; then :
1989 rm -f core conftest.err conftest.
$ac_objext \
1990 conftest
$ac_exeext conftest.
$ac_ext
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1995 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1997 } # ac_fn_c_check_func
1999 # ac_fn_c_check_decl LINENO SYMBOL VAR
2000 # ------------------------------------
2001 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2002 ac_fn_c_check_decl
()
2004 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2006 $as_echo_n "checking whether $2 is declared... " >&6; }
2007 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2008 $as_echo_n "(cached) " >&6
2010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2024 if ac_fn_c_try_compile
"$LINENO"; then :
2029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2033 $as_echo "$ac_res" >&6; }
2034 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2036 } # ac_fn_c_check_decl
2037 cat >config.log
<<_ACEOF
2038 This file contains any messages produced by compilers while
2039 running configure, to aid debugging if configure makes a mistake.
2041 It was created by $as_me, which was
2042 generated by GNU Autoconf 2.64. Invocation command line was
2054 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2055 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2056 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2057 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2058 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2060 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2061 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2063 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2064 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2065 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2066 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2067 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2068 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2069 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir
=.
2078 $as_echo "PATH: $as_dir"
2094 # Keep a trace of the command line.
2095 # Strip out --no-create and --no-recursion so they do not pile up.
2096 # Strip out --silent because we don't want to record it for future runs.
2097 # Also quote any args containing shell meta-characters.
2098 # Make two passes to allow for proper duplicate-argument suppression.
2102 ac_must_keep_next
=false
2108 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2109 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2110 |
-silent |
--silent |
--silen |
--sile |
--sil)
2113 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2116 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2118 as_fn_append ac_configure_args1
" '$ac_arg'"
2119 if test $ac_must_keep_next = true
; then
2120 ac_must_keep_next
=false
# Got value, back to normal.
2123 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2124 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2125 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2126 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2127 case "$ac_configure_args0 " in
2128 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2131 -* ) ac_must_keep_next
=true
;;
2134 as_fn_append ac_configure_args
" '$ac_arg'"
2139 { ac_configure_args0
=; unset ac_configure_args0
;}
2140 { ac_configure_args1
=; unset ac_configure_args1
;}
2142 # When interrupted or exit'd, cleanup temporary files, and complete
2143 # config.log. We remove comments because anyway the quotes in there
2144 # would cause problems or look ugly.
2145 # WARNING: Use '\'' to represent an apostrophe within the trap.
2146 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2147 trap 'exit_status=$?
2148 # Save into config.log some information that might help in debugging.
2153 ## ---------------- ##
2154 ## Cache variables. ##
2155 ## ---------------- ##
2158 # The following way of writing the cache mishandles newlines in values,
2160 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2161 eval ac_val=\$$ac_var
2165 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2166 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2169 _ | IFS | as_nl) ;; #(
2170 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2171 *) { eval $ac_var=; unset $ac_var;} ;;
2176 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2177 *${as_nl}ac_space=\ *)
2179 "s/'\''/'\''\\\\'\'''\''/g;
2180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2183 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2191 ## ----------------- ##
2192 ## Output variables. ##
2193 ## ----------------- ##
2196 for ac_var in $ac_subst_vars
2198 eval ac_val=\$$ac_var
2200 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202 $as_echo "$ac_var='\''$ac_val'\''"
2206 if test -n "$ac_subst_files"; then
2208 ## ------------------- ##
2209 ## File substitutions. ##
2210 ## ------------------- ##
2213 for ac_var
in $ac_subst_files
2215 eval ac_val
=\$
$ac_var
2217 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2219 $as_echo "$ac_var='\''$ac_val'\''"
2224 if test -s confdefs.h; then
2234 test "$ac_signal" != 0 &&
2235 $as_echo "$as_me: caught signal $ac_signal"
2236 $as_echo "$as_me: exit $exit_status"
2238 rm -f core *.core core.conftest.* &&
2239 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2242 for ac_signal
in 1 2 13 15; do
2243 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2247 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2248 rm -f -r conftest
* confdefs.h
2250 $as_echo "/* confdefs.h */" > confdefs.h
2252 # Predefined preprocessor variables.
2254 cat >>confdefs.h
<<_ACEOF
2255 #define PACKAGE_NAME "$PACKAGE_NAME"
2258 cat >>confdefs.h
<<_ACEOF
2259 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2262 cat >>confdefs.h
<<_ACEOF
2263 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2266 cat >>confdefs.h
<<_ACEOF
2267 #define PACKAGE_STRING "$PACKAGE_STRING"
2270 cat >>confdefs.h
<<_ACEOF
2271 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2274 cat >>confdefs.h
<<_ACEOF
2275 #define PACKAGE_URL "$PACKAGE_URL"
2279 # Let the site file select an alternate cache file if it wants to.
2280 # Prefer an explicitly selected file to automatically selected ones.
2283 if test -n "$CONFIG_SITE"; then
2284 ac_site_file1
=$CONFIG_SITE
2285 elif test "x$prefix" != xNONE
; then
2286 ac_site_file1
=$prefix/share
/config.site
2287 ac_site_file2
=$prefix/etc
/config.site
2289 ac_site_file1
=$ac_default_prefix/share
/config.site
2290 ac_site_file2
=$ac_default_prefix/etc
/config.site
2292 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2294 test "x$ac_site_file" = xNONE
&& continue
2295 if test -r "$ac_site_file"; then
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2297 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2298 sed 's/^/| /' "$ac_site_file" >&5
2303 if test -r "$cache_file"; then
2304 # Some versions of bash will fail to source /dev/null (special
2305 # files actually), so we avoid doing that.
2306 if test -f "$cache_file"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2308 $as_echo "$as_me: loading cache $cache_file" >&6;}
2310 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2311 *) .
"./$cache_file";;
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2316 $as_echo "$as_me: creating cache $cache_file" >&6;}
2320 # Check that the precious variables saved in the cache have kept the same
2322 ac_cache_corrupted
=false
2323 for ac_var
in $ac_precious_vars; do
2324 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2325 eval ac_new_set
=\
$ac_env_${ac_var}_set
2326 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2327 eval ac_new_val
=\
$ac_env_${ac_var}_value
2328 case $ac_old_set,$ac_new_set in
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2331 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2332 ac_cache_corrupted
=: ;;
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2335 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2336 ac_cache_corrupted
=: ;;
2339 if test "x$ac_old_val" != "x$ac_new_val"; then
2340 # differences in whitespace do not lead to failure.
2341 ac_old_val_w
=`echo x $ac_old_val`
2342 ac_new_val_w
=`echo x $ac_new_val`
2343 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2345 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2346 ac_cache_corrupted
=:
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2349 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2350 eval $ac_var=\
$ac_old_val
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2353 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2355 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2358 # Pass precious variables to config.status.
2359 if test "$ac_new_set" = set; then
2361 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2362 *) ac_arg
=$ac_var=$ac_new_val ;;
2364 case " $ac_configure_args " in
2365 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2366 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2370 if $ac_cache_corrupted; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2374 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2375 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2377 ## -------------------- ##
2378 ## Main body of script. ##
2379 ## -------------------- ##
2382 ac_cpp
='$CPP $CPPFLAGS'
2383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2394 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2395 for ac_t
in install-sh
install.sh shtool
; do
2396 if test -f "$ac_dir/$ac_t"; then
2398 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2403 if test -z "$ac_aux_dir"; then
2404 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2407 # These three variables are undocumented and unsupported,
2408 # and are intended to be withdrawn in a future Autoconf release.
2409 # They can cause serious problems if a builder's source tree is in a directory
2410 # whose full name contains unusual characters.
2411 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2412 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2413 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2416 # Make sure we can run config.sub.
2417 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2418 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2421 $as_echo_n "checking build system type... " >&6; }
2422 if test "${ac_cv_build+set}" = set; then :
2423 $as_echo_n "(cached) " >&6
2425 ac_build_alias
=$build_alias
2426 test "x$ac_build_alias" = x
&&
2427 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2428 test "x$ac_build_alias" = x
&&
2429 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2430 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2431 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2435 $as_echo "$ac_cv_build" >&6; }
2436 case $ac_cv_build in
2438 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2441 ac_save_IFS
=$IFS; IFS
='-'
2447 # Remember, the first character of IFS is used to create $*,
2448 # except with old shells:
2451 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2455 $as_echo_n "checking host system type... " >&6; }
2456 if test "${ac_cv_host+set}" = set; then :
2457 $as_echo_n "(cached) " >&6
2459 if test "x$host_alias" = x
; then
2460 ac_cv_host
=$ac_cv_build
2462 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2463 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2468 $as_echo "$ac_cv_host" >&6; }
2471 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2474 ac_save_IFS
=$IFS; IFS
='-'
2480 # Remember, the first character of IFS is used to create $*,
2481 # except with old shells:
2484 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2488 $as_echo_n "checking target system type... " >&6; }
2489 if test "${ac_cv_target+set}" = set; then :
2490 $as_echo_n "(cached) " >&6
2492 if test "x$target_alias" = x
; then
2493 ac_cv_target
=$ac_cv_host
2495 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2496 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2501 $as_echo "$ac_cv_target" >&6; }
2502 case $ac_cv_target in
2504 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2506 target
=$ac_cv_target
2507 ac_save_IFS
=$IFS; IFS
='-'
2513 # Remember, the first character of IFS is used to create $*,
2514 # except with old shells:
2517 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2520 # The aliases save the names the user supplied, while $host etc.
2521 # will get canonicalized.
2522 test -n "$target_alias" &&
2523 test "$program_prefix$program_suffix$program_transform_name" = \
2525 program_prefix
=${target_alias}-
2527 ac_cpp
='$CPP $CPPFLAGS'
2528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2531 if test -n "$ac_tool_prefix"; then
2532 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2533 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2535 $as_echo_n "checking for $ac_word... " >&6; }
2536 if test "${ac_cv_prog_CC+set}" = set; then :
2537 $as_echo_n "(cached) " >&6
2539 if test -n "$CC"; then
2540 ac_cv_prog_CC
="$CC" # Let the user override the test.
2542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir
=.
2547 for ac_exec_ext
in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 if test -n "$CC"; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2562 $as_echo "$CC" >&6; }
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2565 $as_echo "no" >&6; }
2570 if test -z "$ac_cv_prog_CC"; then
2572 # Extract the first word of "gcc", so it can be a program name with args.
2573 set dummy gcc
; ac_word
=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$ac_ct_CC"; then
2580 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir
=.
2587 for ac_exec_ext
in '' $ac_executable_extensions; do
2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 ac_cv_prog_ac_ct_CC
="gcc"
2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2600 if test -n "$ac_ct_CC"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2602 $as_echo "$ac_ct_CC" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2608 if test "x$ac_ct_CC" = x
; then
2611 case $cross_compiling:$ac_tool_warned in
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2615 ac_tool_warned
=yes ;;
2623 if test -z "$CC"; then
2624 if test -n "$ac_tool_prefix"; then
2625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2626 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if test "${ac_cv_prog_CC+set}" = set; then :
2630 $as_echo_n "(cached) " >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC
="$CC" # Let the user override the test.
2635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir
=.
2640 for ac_exec_ext
in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$CC"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2655 $as_echo "$CC" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2664 if test -z "$CC"; then
2665 # Extract the first word of "cc", so it can be a program name with args.
2666 set dummy cc
; ac_word
=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if test "${ac_cv_prog_CC+set}" = set; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC
="$CC" # Let the user override the test.
2676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir
=.
2681 for ac_exec_ext
in '' $ac_executable_extensions; do
2682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2683 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2684 ac_prog_rejected
=yes
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test $ac_prog_rejected = yes; then
2696 # We found a bogon in the path, so make sure we never use it.
2697 set dummy
$ac_cv_prog_CC
2699 if test $# != 0; then
2700 # We chose a different compiler from the bogus one.
2701 # However, it has the same basename, so the bogon will be chosen
2702 # first if we set CC to just the basename; use the full file name.
2704 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2710 if test -n "$CC"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2712 $as_echo "$CC" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2720 if test -z "$CC"; then
2721 if test -n "$ac_tool_prefix"; then
2722 for ac_prog
in cl.exe
2724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2725 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if test "${ac_cv_prog_CC+set}" = set; then :
2729 $as_echo_n "(cached) " >&6
2731 if test -n "$CC"; then
2732 ac_cv_prog_CC
="$CC" # Let the user override the test.
2734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir
=.
2739 for ac_exec_ext
in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$CC"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2754 $as_echo "$CC" >&6; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2761 test -n "$CC" && break
2764 if test -z "$CC"; then
2766 for ac_prog
in cl.exe
2768 # Extract the first word of "$ac_prog", so it can be a program name with args.
2769 set dummy
$ac_prog; ac_word
=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$ac_ct_CC"; then
2776 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir
=.
2783 for ac_exec_ext
in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 ac_cv_prog_ac_ct_CC
="$ac_prog"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2796 if test -n "$ac_ct_CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798 $as_echo "$ac_ct_CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2805 test -n "$ac_ct_CC" && break
2808 if test "x$ac_ct_CC" = x
; then
2811 case $cross_compiling:$ac_tool_warned in
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2815 ac_tool_warned
=yes ;;
2824 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2826 as_fn_error
"no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details." "$LINENO" 5; }
2829 # Provide some information about the compiler.
2830 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2833 for ac_option
in --version -v -V -qversion; do
2834 { { ac_try
="$ac_compiler $ac_option >&5"
2836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2843 if test -s conftest.err; then
2845 ... rest of stderr output deleted ...
2846 10q' conftest.err >conftest.er1
2847 cat conftest.er1 >&5
2848 rm -f conftest.er1 conftest.err
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; }
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2865 ac_clean_files_save=$ac_clean_files
2866 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2867 # Try to create an executable without -o first, disregard a.out.
2868 # It will help us diagnose broken compilers, and finding out an intuition
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2871 $as_echo_n "checking for C compiler default output file name... " >&6; }
2872 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2874 # The possible output files:
2875 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2878 for ac_file in $ac_files
2881 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2882 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2887 if { { ac_try="$ac_link_default"
2889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2890 *) ac_try_echo
=$ac_try;;
2892 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 $as_echo "$ac_try_echo"; } >&5
2894 (eval "$ac_link_default") 2>&5
2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; }; then :
2898 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2899 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2900 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2901 # so that the user can short-circuit this test for compilers unknown to
2903 for ac_file
in $ac_files ''
2905 test -f "$ac_file" ||
continue
2907 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2910 # We found the default executable, but exeext='' is most
2914 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2916 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2918 # We set ac_cv_exeext here because the later test for it is not
2919 # safe: cross compilers may not add the suffix if given an `-o'
2920 # argument, so we may need to know it at that point already.
2921 # Even if this section looks crufty: it has the advantage of
2928 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2934 $as_echo "$ac_file" >&6; }
2935 if test -z "$ac_file"; then :
2936 $as_echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.
$ac_ext >&5
2939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2941 { as_fn_set_status
77
2942 as_fn_error
"C compiler cannot create executables
2943 See \`config.log' for more details." "$LINENO" 5; }; }
2945 ac_exeext
=$ac_cv_exeext
2947 # Check that the compiler produces executables we can run. If not, either
2948 # the compiler is broken, or we cross compile.
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2950 $as_echo_n "checking whether the C compiler works... " >&6; }
2951 # If not cross compiling, check that we can run a simple program.
2952 if test "$cross_compiling" != yes; then
2953 if { ac_try
='./$ac_file'
2954 { { case "(($ac_try" in
2955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2959 $as_echo "$ac_try_echo"; } >&5
2960 (eval "$ac_try") 2>&5
2962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; }; }; then
2966 if test "$cross_compiling" = maybe; then
2969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2971 as_fn_error "cannot run C compiled programs.
2972 If you meant to cross compile
, use \
`--host'.
2973 See \`config.log
' for more details." "$LINENO" 5; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2978 $as_echo "yes" >&6; }
2980 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2981 ac_clean_files=$ac_clean_files_save
2982 # Check that the compiler produces executables we can run. If not, either
2983 # the compiler is broken, or we cross compile.
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2985 $as_echo_n "checking whether we are cross compiling... " >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2987 $as_echo "$cross_compiling" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2990 $as_echo_n "checking for suffix of executables... " >&6; }
2991 if { { ac_try="$ac_link"
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997 $as_echo "$ac_try_echo"; } >&5
2998 (eval "$ac_link") 2>&5
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; }; then :
3002 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3003 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3004 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3006 for ac_file
in conftest.exe conftest conftest.
*; do
3007 test -f "$ac_file" ||
continue
3009 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3010 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3018 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3019 See \`config.log' for more details." "$LINENO" 5; }
3021 rm -f conftest
$ac_cv_exeext
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3023 $as_echo "$ac_cv_exeext" >&6; }
3025 rm -f conftest.
$ac_ext
3026 EXEEXT
=$ac_cv_exeext
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3029 $as_echo_n "checking for suffix of object files... " >&6; }
3030 if test "${ac_cv_objext+set}" = set; then :
3031 $as_echo_n "(cached) " >&6
3033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3044 rm -f conftest.o conftest.obj
3045 if { { ac_try
="$ac_compile"
3047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3051 $as_echo "$ac_try_echo"; } >&5
3052 (eval "$ac_compile") 2>&5
3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3055 test $ac_status = 0; }; then :
3056 for ac_file in conftest.o conftest.obj conftest.*; do
3057 test -f "$ac_file" || continue;
3059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3060 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3065 $as_echo "$as_me: failed program was:" >&5
3066 sed 's/^/| /' conftest.$ac_ext >&5
3068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3070 as_fn_error "cannot compute suffix of object files
: cannot compile
3071 See \
`config.log' for more details." "$LINENO" 5; }
3073 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3076 $as_echo "$ac_cv_objext" >&6; }
3077 OBJEXT=$ac_cv_objext
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3080 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3081 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3082 $as_echo_n "(cached) " >&6
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3098 if ac_fn_c_try_compile "$LINENO"; then :
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3108 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3109 if test $ac_compiler_gnu = yes; then
3114 ac_test_CFLAGS=${CFLAGS+set}
3115 ac_save_CFLAGS=$CFLAGS
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3117 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3118 if test "${ac_cv_prog_cc_g+set}" = set; then :
3119 $as_echo_n "(cached) " >&6
3121 ac_save_c_werror_flag=$ac_c_werror_flag
3122 ac_c_werror_flag=yes
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3136 if ac_fn_c_try_compile "$LINENO"; then :
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3151 if ac_fn_c_try_compile "$LINENO"; then :
3154 ac_c_werror_flag=$ac_save_c_werror_flag
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3167 if ac_fn_c_try_compile "$LINENO"; then :
3170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3175 ac_c_werror_flag=$ac_save_c_werror_flag
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3178 $as_echo "$ac_cv_prog_cc_g" >&6; }
3179 if test "$ac_test_CFLAGS" = set; then
3180 CFLAGS=$ac_save_CFLAGS
3181 elif test $ac_cv_prog_cc_g = yes; then
3182 if test "$GCC" = yes; then
3188 if test "$GCC" = yes; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3195 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3196 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3197 $as_echo_n "(cached) " >&6
3199 ac_cv_prog_cc_c89=no
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3205 #include <sys/types.h>
3206 #include <sys/stat.h>
3207 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3208 struct buf { int x; };
3209 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3210 static char *e (p, i)
3216 static char *f (char * (*g) (char **, int), char **p, ...)
3221 s = g (p, va_arg (v,int));
3226 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3227 function prototypes and stuff, but not '\xHH' hex character constants.
3228 These don't provoke an error unfortunately, instead are silently treated
3229 as 'x'. The following induces an error, until -std is added to get
3230 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3231 array size at least. It's necessary to write '\x00'==0 to get something
3232 that's true only with -std. */
3233 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3235 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3236 inside strings and character constants. */
3238 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3240 int test (int i, double x);
3241 struct s1 {int (*f) (int a);};
3242 struct s2 {int (*f) (double a);};
3243 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3249 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3254 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3255 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3257 CC="$ac_save_CC $ac_arg"
3258 if ac_fn_c_try_compile "$LINENO"; then :
3259 ac_cv_prog_cc_c89=$ac_arg
3261 rm -f core conftest.err conftest.$ac_objext
3262 test "x$ac_cv_prog_cc_c89" != "xno" && break
3264 rm -f conftest.$ac_ext
3269 case "x$ac_cv_prog_cc_c89" in
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3272 $as_echo "none needed" >&6; } ;;
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3275 $as_echo "unsupported" >&6; } ;;
3277 CC="$CC $ac_cv_prog_cc_c89"
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3279 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3281 if test "x$ac_cv_prog_cc_c89" != xno; then :
3286 ac_cpp='$CPP $CPPFLAGS'
3287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3293 $as_echo_n "checking for library containing strerror... " >&6; }
3294 if test "${ac_cv_search_strerror+set}" = set; then :
3295 $as_echo_n "(cached) " >&6
3297 ac_func_search_save_LIBS=$LIBS
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3301 /* Override any GCC internal prototype to avoid an error.
3302 Use char because int might match the return type of a GCC
3303 builtin and then its argument prototype would still apply. */
3316 for ac_lib in '' cposix; do
3317 if test -z "$ac_lib"; then
3318 ac_res="none required"
3321 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3323 if ac_fn_c_try_link "$LINENO"; then :
3324 ac_cv_search_strerror=$ac_res
3326 rm -f core conftest.err conftest.$ac_objext \
3328 if test "${ac_cv_search_strerror+set}" = set; then :
3332 if test "${ac_cv_search_strerror+set}" = set; then :
3335 ac_cv_search_strerror=no
3338 LIBS=$ac_func_search_save_LIBS
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3341 $as_echo "$ac_cv_search_strerror" >&6; }
3342 ac_res=$ac_cv_search_strerror
3343 if test "$ac_res" != no; then :
3344 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3349 # We currently only use the version number for the name of any shared
3350 # library. For user convenience, we always use the same version
3351 # number that BFD is using.
3352 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/..
/bfd
/configure.
in`
3354 am__api_version='1.11'
3356 # Find a good install program. We prefer a C program (faster),
3357 # so one script is as good as another. But avoid the broken or
3358 # incompatible versions:
3359 # SysV /etc/install, /usr/sbin/install
3360 # SunOS /usr/etc/install
3361 # IRIX /sbin/install
3363 # AmigaOS /C/install, which installs bootblocks on floppy discs
3364 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3365 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3366 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3367 # OS/2's system install, which has a completely different semantic
3368 # ./install, which can be erroneously created by make from ./install.sh.
3369 # Reject install programs that cannot install multiple files.
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3371 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3372 if test -z "$INSTALL"; then
3373 if test "${ac_cv_path_install+set}" = set; then :
3374 $as_echo_n "(cached) " >&6
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir=.
3381 # Account for people who put trailing slashes in PATH elements.
3382 case $as_dir/ in #((
3383 ./ | .// | /[cC]/* | \
3384 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3385 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3388 # OSF1 and SCO ODT 3.0 have their own names for install.
3389 # Don't use installbsd from OSF since it installs stuff as root
3391 for ac_prog in ginstall scoinst install; do
3392 for ac_exec_ext in '' $ac_executable_extensions; do
3393 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3394 if test $ac_prog = install &&
3395 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3396 # AIX install. It has an incompatible calling convention.
3398 elif test $ac_prog = install &&
3399 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3400 # program-specific install script used by HP pwplus--don't use.
3403 rm -rf conftest.one conftest.two conftest.dir
3404 echo one > conftest.one
3405 echo two > conftest.two
3407 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3408 test -s conftest.one && test -s conftest.two &&
3409 test -s conftest.dir/conftest.one &&
3410 test -s conftest.dir/conftest.two
3412 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3425 rm -rf conftest.one conftest.two conftest.dir
3428 if test "${ac_cv_path_install+set}" = set; then
3429 INSTALL=$ac_cv_path_install
3431 # As a last resort, use the slow shell script. Don't cache a
3432 # value for INSTALL within a source directory, because that will
3433 # break other packages using the cache if that directory is
3434 # removed, or if the value is a relative name.
3435 INSTALL=$ac_install_sh
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3439 $as_echo "$INSTALL" >&6; }
3441 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3442 # It thinks the first close brace ends the variable substitution.
3443 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3445 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3447 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3450 $as_echo_n "checking whether build environment is sane... " >&6; }
3453 echo timestamp > conftest.file
3454 # Reject unsafe characters in $srcdir or the absolute working directory
3455 # name. Accept space and tab only in the latter.
3459 *[\\\"\#\$\&\'\`$am_lf]*)
3460 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3463 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3464 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3467 # Do `set' in a subshell so we don't clobber the current shell's
3468 # arguments. Must try -L first in case configure is actually a
3469 # symlink; some systems play weird games with the mod time of symlinks
3470 # (eg FreeBSD returns the mod time of the symlink's containing
3473 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3474 if test "$*" = "X"; then
3476 set X
`ls -t "$srcdir/configure" conftest.file`
3479 if test "$*" != "X $srcdir/configure conftest.file" \
3480 && test "$*" != "X conftest.file $srcdir/configure"; then
3482 # If neither matched, then we have a broken ls. This can happen
3483 # if, for instance, CONFIG_SHELL is bash and it inherits a
3484 # broken ls alias from the environment. This has actually
3485 # happened. Such a system could not be considered "sane".
3486 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3487 alias in your environment" "$LINENO" 5
3490 test "$2" = conftest.
file
3496 as_fn_error
"newly created file is older than distributed files!
3497 Check your system clock" "$LINENO" 5
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3500 $as_echo "yes" >&6; }
3501 test "$program_prefix" != NONE
&&
3502 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3503 # Use a double $ so make ignores it.
3504 test "$program_suffix" != NONE
&&
3505 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3506 # Double any \ or $.
3507 # By default was `s,x,x', remove it if useless.
3508 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3509 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3511 # expand $ac_aux_dir to an absolute path
3512 am_aux_dir
=`cd $ac_aux_dir && pwd`
3514 if test x
"${MISSING+set}" != xset
; then
3517 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3519 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3522 # Use eval to expand $SHELL
3523 if eval "$MISSING --run true"; then
3524 am_missing_run
="$MISSING --run "
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3528 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3531 if test x
"${install_sh}" != xset
; then
3534 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3536 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3540 # Installed binaries are usually stripped using `strip' when the user
3541 # run `make install-strip'. However `strip' might not be the right
3542 # tool to use in cross-compilation environments, therefore Automake
3543 # will honor the `STRIP' environment variable to overrule this program.
3544 if test "$cross_compiling" != no
; then
3545 if test -n "$ac_tool_prefix"; then
3546 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3547 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if test "${ac_cv_prog_STRIP+set}" = set; then :
3551 $as_echo_n "(cached) " >&6
3553 if test -n "$STRIP"; then
3554 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3560 test -z "$as_dir" && as_dir
=.
3561 for ac_exec_ext
in '' $ac_executable_extensions; do
3562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 STRIP
=$ac_cv_prog_STRIP
3574 if test -n "$STRIP"; then
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3576 $as_echo "$STRIP" >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3584 if test -z "$ac_cv_prog_STRIP"; then
3586 # Extract the first word of "strip", so it can be a program name with args.
3587 set dummy strip
; ac_word
=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3591 $as_echo_n "(cached) " >&6
3593 if test -n "$ac_ct_STRIP"; then
3594 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir
=.
3601 for ac_exec_ext
in '' $ac_executable_extensions; do
3602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3603 ac_cv_prog_ac_ct_STRIP
="strip"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3614 if test -n "$ac_ct_STRIP"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3616 $as_echo "$ac_ct_STRIP" >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3622 if test "x$ac_ct_STRIP" = x
; then
3625 case $cross_compiling:$ac_tool_warned in
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3629 ac_tool_warned
=yes ;;
3634 STRIP
="$ac_cv_prog_STRIP"
3638 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3641 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3642 if test -z "$MKDIR_P"; then
3643 if test "${ac_cv_path_mkdir+set}" = set; then :
3644 $as_echo_n "(cached) " >&6
3646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3647 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3650 test -z "$as_dir" && as_dir
=.
3651 for ac_prog
in mkdir gmkdir
; do
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3654 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3655 'mkdir (GNU coreutils) '* | \
3656 'mkdir (coreutils) '* | \
3657 'mkdir (fileutils) '4.1*)
3658 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3668 if test "${ac_cv_path_mkdir+set}" = set; then
3669 MKDIR_P
="$ac_cv_path_mkdir -p"
3671 # As a last resort, use the slow shell script. Don't cache a
3672 # value for MKDIR_P within a source directory, because that will
3673 # break other packages using the cache if that directory is
3674 # removed, or if the value is a relative name.
3675 test -d .
/--version && rmdir .
/--version
3676 MKDIR_P
="$ac_install_sh -d"
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3680 $as_echo "$MKDIR_P" >&6; }
3684 [\\/$
]* | ?
:[\\/]*) ;;
3685 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3688 for ac_prog
in gawk mawk nawk
awk
3690 # Extract the first word of "$ac_prog", so it can be a program name with args.
3691 set dummy
$ac_prog; ac_word
=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_AWK+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3697 if test -n "$AWK"; then
3698 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3707 ac_cv_prog_AWK
="$ac_prog"
3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 if test -n "$AWK"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3720 $as_echo "$AWK" >&6; }
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3727 test -n "$AWK" && break
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3731 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3733 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3734 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3735 $as_echo_n "(cached) " >&6
3737 cat >conftest.
make <<\_ACEOF
3740 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3742 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3743 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3745 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3747 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3751 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3753 $as_echo "yes" >&6; }
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3758 SET_MAKE
="MAKE=${MAKE-make}"
3761 rm -rf .tst
2>/dev
/null
3762 mkdir .tst
2>/dev
/null
3763 if test -d .tst
; then
3768 rmdir .tst
2>/dev
/null
3770 DEPDIR
="${am__leading_dot}deps"
3772 ac_config_commands
="$ac_config_commands depfiles"
3775 am_make
=${MAKE-make}
3776 cat > confinc
<< 'END'
3778 @
echo this is the am__doit target
3781 # If we don't find an include directive, just comment out the code.
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3783 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3787 # First try GNU make style include.
3788 echo "include confinc" > confmf
3789 # Ignore all kinds of additional output from `make'.
3790 case `$am_make -s -f confmf 2> /dev/null` in #(
3791 *the\ am__doit\ target
*)
3797 # Now try BSD make style include.
3798 if test "$am__include" = "#"; then
3799 echo '.include "confinc"' > confmf
3800 case `$am_make -s -f confmf 2> /dev/null` in #(
3801 *the\ am__doit\ target
*)
3802 am__include
=.include
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3811 $as_echo "$_am_result" >&6; }
3812 rm -f confinc confmf
3814 # Check whether --enable-dependency-tracking was given.
3815 if test "${enable_dependency_tracking+set}" = set; then :
3816 enableval
=$enable_dependency_tracking;
3819 if test "x$enable_dependency_tracking" != xno
; then
3820 am_depcomp
="$ac_aux_dir/depcomp"
3823 if test "x$enable_dependency_tracking" != xno; then
3832 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3833 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3834 # is not polluted with repeated "-I."
3835 am__isrc
=' -I$(srcdir)'
3836 # test to see if srcdir already configured
3837 if test -f $srcdir/config.status
; then
3838 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3842 # test whether we have cygpath
3843 if test -z "$CYGPATH_W"; then
3844 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3845 CYGPATH_W
='cygpath -w'
3852 # Define the identity of the package.
3854 VERSION
=${BFD_VERSION}
3857 cat >>confdefs.h
<<_ACEOF
3858 #define PACKAGE "$PACKAGE"
3862 cat >>confdefs.h
<<_ACEOF
3863 #define VERSION "$VERSION"
3866 # Some tools Automake needs.
3868 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3871 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3874 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3877 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3880 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3882 # We need awk for the "check" target. The system "awk" is bad on
3884 # Always define AMTAR for backward compatibility.
3886 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3888 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3893 depcc
="$CC" am_compiler_list
=
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3896 $as_echo_n "checking dependency style of $depcc... " >&6; }
3897 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3898 $as_echo_n "(cached) " >&6
3900 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3901 # We make a subdir and do the tests there. Otherwise we can end up
3902 # making bogus files that we don't know about and never remove. For
3903 # instance it was reported that on HP-UX the gcc test will end up
3904 # making a dummy file named `D' -- because `-MD' means `put the output
3907 # Copy depcomp to subdir because otherwise we won't find it if we're
3908 # using a relative directory.
3909 cp "$am_depcomp" conftest.dir
3911 # We will build objects and dependencies in a subdirectory because
3912 # it helps to detect inapplicable dependency modes. For instance
3913 # both Tru64's cc and ICC support -MD to output dependencies as a
3914 # side effect of compilation, but ICC will put the dependencies in
3915 # the current directory while Tru64 will put them in the object
3919 am_cv_CC_dependencies_compiler_type
=none
3920 if test "$am_compiler_list" = ""; then
3921 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3924 case " $depcc " in #(
3925 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3928 for depmode
in $am_compiler_list; do
3929 # Setup a source with many dependencies, because some compilers
3930 # like to wrap large dependency lists on column 80 (with \), and
3931 # we should not choose a depcomp mode which is confused by this.
3933 # We need to recreate these files for each test, as the compiler may
3934 # overwrite some of them when testing with obscure command lines.
3935 # This happens at least with the AIX C compiler.
3937 for i
in 1 2 3 4 5 6; do
3938 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3939 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3940 # Solaris 8's {/usr,}/bin/sh.
3941 touch sub
/conftst
$i.h
3943 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3945 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3946 # mode. It turns out that the SunPro C++ compiler does not properly
3947 # handle `-M -o', and we need to detect this. Also, some Intel
3948 # versions had trouble with output in subdirs
3949 am__obj
=sub
/conftest.
${OBJEXT-o}
3950 am__minus_obj
="-o $am__obj"
3953 # This depmode causes a compiler race in universal mode.
3954 test "$am__universal" = false ||
continue
3957 # after this tag, mechanisms are not by side-effect, so they'll
3958 # only be used when explicitly requested
3959 if test "x$enable_dependency_tracking" = xyes
; then
3965 msvisualcpp | msvcmsys
)
3966 # This compiler won't grok `-c -o', but also, the minuso test has
3967 # not run yet. These depmodes are late enough in the game, and
3968 # so weak that their functioning should not be impacted.
3969 am__obj
=conftest.
${OBJEXT-o}
3974 if depmode
=$depmode \
3975 source=sub
/conftest.c object
=$am__obj \
3976 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3977 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3978 >/dev
/null
2>conftest.err
&&
3979 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3980 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3981 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3982 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3983 # icc doesn't choke on unknown options, it will just issue warnings
3984 # or remarks (even with -Werror). So we grep stderr for any message
3985 # that says an option was ignored or not supported.
3986 # When given -MP, icc 7.0 and 7.1 complain thusly:
3987 # icc: Command line warning: ignoring option '-M'; no argument required
3988 # The diagnosis changed in icc 8.0:
3989 # icc: Command line remark: option '-MP' not supported
3990 if (grep 'ignoring option' conftest.err ||
3991 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3992 am_cv_CC_dependencies_compiler_type
=$depmode
4001 am_cv_CC_dependencies_compiler_type
=none
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4006 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4007 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4010 test "x$enable_dependency_tracking" != xno \
4011 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4013 am__fastdepCC_FALSE
='#'
4015 am__fastdepCC_TRUE
='#'
4016 am__fastdepCC_FALSE
=
4023 ac_cpp
='$CPP $CPPFLAGS'
4024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4027 if test -n "$ac_tool_prefix"; then
4028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4029 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if test "${ac_cv_prog_CC+set}" = set; then :
4033 $as_echo_n "(cached) " >&6
4035 if test -n "$CC"; then
4036 ac_cv_prog_CC
="$CC" # Let the user override the test.
4038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4042 test -z "$as_dir" && as_dir
=.
4043 for ac_exec_ext
in '' $ac_executable_extensions; do
4044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4045 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 if test -n "$CC"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4058 $as_echo "$CC" >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4066 if test -z "$ac_cv_prog_CC"; then
4068 # Extract the first word of "gcc", so it can be a program name with args.
4069 set dummy gcc
; ac_word
=$2
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4071 $as_echo_n "checking for $ac_word... " >&6; }
4072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4075 if test -n "$ac_ct_CC"; then
4076 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4082 test -z "$as_dir" && as_dir
=.
4083 for ac_exec_ext
in '' $ac_executable_extensions; do
4084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4085 ac_cv_prog_ac_ct_CC
="gcc"
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4096 if test -n "$ac_ct_CC"; then
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4098 $as_echo "$ac_ct_CC" >&6; }
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4101 $as_echo "no" >&6; }
4104 if test "x$ac_ct_CC" = x
; then
4107 case $cross_compiling:$ac_tool_warned in
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4111 ac_tool_warned
=yes ;;
4119 if test -z "$CC"; then
4120 if test -n "$ac_tool_prefix"; then
4121 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4122 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124 $as_echo_n "checking for $ac_word... " >&6; }
4125 if test "${ac_cv_prog_CC+set}" = set; then :
4126 $as_echo_n "(cached) " >&6
4128 if test -n "$CC"; then
4129 ac_cv_prog_CC
="$CC" # Let the user override the test.
4131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir
=.
4136 for ac_exec_ext
in '' $ac_executable_extensions; do
4137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4138 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4149 if test -n "$CC"; then
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4151 $as_echo "$CC" >&6; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154 $as_echo "no" >&6; }
4160 if test -z "$CC"; then
4161 # Extract the first word of "cc", so it can be a program name with args.
4162 set dummy cc
; ac_word
=$2
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4164 $as_echo_n "checking for $ac_word... " >&6; }
4165 if test "${ac_cv_prog_CC+set}" = set; then :
4166 $as_echo_n "(cached) " >&6
4168 if test -n "$CC"; then
4169 ac_cv_prog_CC
="$CC" # Let the user override the test.
4172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4176 test -z "$as_dir" && as_dir
=.
4177 for ac_exec_ext
in '' $ac_executable_extensions; do
4178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4179 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4180 ac_prog_rejected
=yes
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 if test $ac_prog_rejected = yes; then
4192 # We found a bogon in the path, so make sure we never use it.
4193 set dummy
$ac_cv_prog_CC
4195 if test $# != 0; then
4196 # We chose a different compiler from the bogus one.
4197 # However, it has the same basename, so the bogon will be chosen
4198 # first if we set CC to just the basename; use the full file name.
4200 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4206 if test -n "$CC"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4208 $as_echo "$CC" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4216 if test -z "$CC"; then
4217 if test -n "$ac_tool_prefix"; then
4218 for ac_prog
in cl.exe
4220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4221 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if test "${ac_cv_prog_CC+set}" = set; then :
4225 $as_echo_n "(cached) " >&6
4227 if test -n "$CC"; then
4228 ac_cv_prog_CC
="$CC" # Let the user override the test.
4230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir
=.
4235 for ac_exec_ext
in '' $ac_executable_extensions; do
4236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4237 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 if test -n "$CC"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4250 $as_echo "$CC" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4257 test -n "$CC" && break
4260 if test -z "$CC"; then
4262 for ac_prog
in cl.exe
4264 # Extract the first word of "$ac_prog", so it can be a program name with args.
4265 set dummy
$ac_prog; ac_word
=$2
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4267 $as_echo_n "checking for $ac_word... " >&6; }
4268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4269 $as_echo_n "(cached) " >&6
4271 if test -n "$ac_ct_CC"; then
4272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir
=.
4279 for ac_exec_ext
in '' $ac_executable_extensions; do
4280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4281 ac_cv_prog_ac_ct_CC
="$ac_prog"
4282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4292 if test -n "$ac_ct_CC"; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4294 $as_echo "$ac_ct_CC" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297 $as_echo "no" >&6; }
4301 test -n "$ac_ct_CC" && break
4304 if test "x$ac_ct_CC" = x
; then
4307 case $cross_compiling:$ac_tool_warned in
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4311 ac_tool_warned
=yes ;;
4320 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4322 as_fn_error
"no acceptable C compiler found in \$PATH
4323 See \`config.log' for more details." "$LINENO" 5; }
4325 # Provide some information about the compiler.
4326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4329 for ac_option
in --version -v -V -qversion; do
4330 { { ac_try
="$ac_compiler $ac_option >&5"
4332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4339 if test -s conftest.err; then
4341 ... rest of stderr output deleted ...
4342 10q' conftest.err >conftest.er1
4343 cat conftest.er1 >&5
4344 rm -f conftest.er1 conftest.err
4346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347 test $ac_status = 0; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4351 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4352 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4353 $as_echo_n "(cached) " >&6
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4369 if ac_fn_c_try_compile "$LINENO"; then :
4374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4379 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4380 if test $ac_compiler_gnu = yes; then
4385 ac_test_CFLAGS=${CFLAGS+set}
4386 ac_save_CFLAGS=$CFLAGS
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4388 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4389 if test "${ac_cv_prog_cc_g+set}" = set; then :
4390 $as_echo_n "(cached) " >&6
4392 ac_save_c_werror_flag=$ac_c_werror_flag
4393 ac_c_werror_flag=yes
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4407 if ac_fn_c_try_compile "$LINENO"; then :
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4422 if ac_fn_c_try_compile "$LINENO"; then :
4425 ac_c_werror_flag=$ac_save_c_werror_flag
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4438 if ac_fn_c_try_compile "$LINENO"; then :
4441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4446 ac_c_werror_flag=$ac_save_c_werror_flag
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4449 $as_echo "$ac_cv_prog_cc_g" >&6; }
4450 if test "$ac_test_CFLAGS" = set; then
4451 CFLAGS=$ac_save_CFLAGS
4452 elif test $ac_cv_prog_cc_g = yes; then
4453 if test "$GCC" = yes; then
4459 if test "$GCC" = yes; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4466 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4467 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4468 $as_echo_n "(cached) " >&6
4470 ac_cv_prog_cc_c89=no
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4476 #include <sys/types.h>
4477 #include <sys/stat.h>
4478 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4479 struct buf { int x; };
4480 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4481 static char *e (p, i)
4487 static char *f (char * (*g) (char **, int), char **p, ...)
4492 s = g (p, va_arg (v,int));
4497 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4498 function prototypes and stuff, but not '\xHH' hex character constants.
4499 These don't provoke an error unfortunately, instead are silently treated
4500 as 'x'. The following induces an error, until -std is added to get
4501 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4502 array size at least. It's necessary to write '\x00'==0 to get something
4503 that's true only with -std. */
4504 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4506 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4507 inside strings and character constants. */
4509 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4511 int test (int i, double x);
4512 struct s1 {int (*f) (int a);};
4513 struct s2 {int (*f) (double a);};
4514 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4520 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4525 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4526 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4528 CC="$ac_save_CC $ac_arg"
4529 if ac_fn_c_try_compile "$LINENO"; then :
4530 ac_cv_prog_cc_c89=$ac_arg
4532 rm -f core conftest.err conftest.$ac_objext
4533 test "x$ac_cv_prog_cc_c89" != "xno" && break
4535 rm -f conftest.$ac_ext
4540 case "x$ac_cv_prog_cc_c89" in
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4543 $as_echo "none needed" >&6; } ;;
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4546 $as_echo "unsupported" >&6; } ;;
4548 CC="$CC $ac_cv_prog_cc_c89"
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4550 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4552 if test "x$ac_cv_prog_cc_c89" != xno; then :
4557 ac_cpp='$CPP $CPPFLAGS'
4558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4563 ac_cpp='$CPP $CPPFLAGS'
4564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4568 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4569 # On Suns, sometimes $CPP names a directory.
4570 if test -n "$CPP" && test -d "$CPP"; then
4573 if test -z "$CPP"; then
4574 if test "${ac_cv_prog_CPP+set}" = set; then :
4575 $as_echo_n "(cached) " >&6
4577 # Double quotes because CPP needs to be expanded
4578 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4581 for ac_c_preproc_warn_flag in '' yes
4583 # Use a header file that comes with gcc, so configuring glibc
4584 # with a fresh cross-compiler works.
4585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4586 # <limits.h> exists even on freestanding compilers.
4587 # On the NeXT, cc -E runs the code through the compiler's parser,
4588 # not just through cpp. "Syntax error" is here to catch this case.
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4592 # include <limits.h>
4594 # include <assert.h>
4598 if ac_fn_c_try_cpp "$LINENO"; then :
4601 # Broken: fails on valid input.
4604 rm -f conftest.err conftest.$ac_ext
4606 # OK, works on sane cases. Now check whether nonexistent headers
4607 # can be detected and how.
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4610 #include <ac_nonexistent.h>
4612 if ac_fn_c_try_cpp "$LINENO"; then :
4613 # Broken: success on invalid input.
4616 # Passes both tests.
4620 rm -f conftest.err conftest.$ac_ext
4623 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4624 rm -f conftest.err conftest.
$ac_ext
4625 if $ac_preproc_ok; then :
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4638 $as_echo "$CPP" >&6; }
4640 for ac_c_preproc_warn_flag
in '' yes
4642 # Use a header file that comes with gcc, so configuring glibc
4643 # with a fresh cross-compiler works.
4644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4645 # <limits.h> exists even on freestanding compilers.
4646 # On the NeXT, cc -E runs the code through the compiler's parser,
4647 # not just through cpp. "Syntax error" is here to catch this case.
4648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4651 # include <limits.h>
4653 # include <assert.h>
4657 if ac_fn_c_try_cpp
"$LINENO"; then :
4660 # Broken: fails on valid input.
4663 rm -f conftest.err conftest.
$ac_ext
4665 # OK, works on sane cases. Now check whether nonexistent headers
4666 # can be detected and how.
4667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4669 #include <ac_nonexistent.h>
4671 if ac_fn_c_try_cpp
"$LINENO"; then :
4672 # Broken: success on invalid input.
4675 # Passes both tests.
4679 rm -f conftest.err conftest.
$ac_ext
4682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4683 rm -f conftest.err conftest.
$ac_ext
4684 if $ac_preproc_ok; then :
4687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4689 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4690 See \`config.log' for more details." "$LINENO" 5; }
4694 ac_cpp
='$CPP $CPPFLAGS'
4695 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4696 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4697 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4701 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4702 if test "${ac_cv_path_GREP+set}" = set; then :
4703 $as_echo_n "(cached) " >&6
4705 if test -z "$GREP"; then
4706 ac_path_GREP_found
=false
4707 # Loop through the user's path and test for each of PROGNAME-LIST
4708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4709 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4712 test -z "$as_dir" && as_dir
=.
4713 for ac_prog
in grep ggrep
; do
4714 for ac_exec_ext
in '' $ac_executable_extensions; do
4715 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4716 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4717 # Check for GNU ac_path_GREP and select it if it is found.
4718 # Check for GNU $ac_path_GREP
4719 case `"$ac_path_GREP" --version 2>&1` in
4721 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4724 $as_echo_n 0123456789 >"conftest.in"
4727 cat "conftest.in" "conftest.in" >"conftest.tmp"
4728 mv "conftest.tmp" "conftest.in"
4729 cp "conftest.in" "conftest.nl"
4730 $as_echo 'GREP' >> "conftest.nl"
4731 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4732 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4733 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4734 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4735 # Best one so far, save it but keep looking for a better one
4736 ac_cv_path_GREP
="$ac_path_GREP"
4737 ac_path_GREP_max
=$ac_count
4739 # 10*(2^10) chars as input seems more than enough
4740 test $ac_count -gt 10 && break
4742 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4745 $ac_path_GREP_found && break 3
4750 if test -z "$ac_cv_path_GREP"; then
4751 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4754 ac_cv_path_GREP
=$GREP
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4759 $as_echo "$ac_cv_path_GREP" >&6; }
4760 GREP
="$ac_cv_path_GREP"
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4764 $as_echo_n "checking for egrep... " >&6; }
4765 if test "${ac_cv_path_EGREP+set}" = set; then :
4766 $as_echo_n "(cached) " >&6
4768 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4769 then ac_cv_path_EGREP
="$GREP -E"
4771 if test -z "$EGREP"; then
4772 ac_path_EGREP_found
=false
4773 # Loop through the user's path and test for each of PROGNAME-LIST
4774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4775 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4778 test -z "$as_dir" && as_dir
=.
4779 for ac_prog
in egrep; do
4780 for ac_exec_ext
in '' $ac_executable_extensions; do
4781 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4782 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4783 # Check for GNU ac_path_EGREP and select it if it is found.
4784 # Check for GNU $ac_path_EGREP
4785 case `"$ac_path_EGREP" --version 2>&1` in
4787 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4790 $as_echo_n 0123456789 >"conftest.in"
4793 cat "conftest.in" "conftest.in" >"conftest.tmp"
4794 mv "conftest.tmp" "conftest.in"
4795 cp "conftest.in" "conftest.nl"
4796 $as_echo 'EGREP' >> "conftest.nl"
4797 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4798 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4799 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4800 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4801 # Best one so far, save it but keep looking for a better one
4802 ac_cv_path_EGREP
="$ac_path_EGREP"
4803 ac_path_EGREP_max
=$ac_count
4805 # 10*(2^10) chars as input seems more than enough
4806 test $ac_count -gt 10 && break
4808 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4811 $ac_path_EGREP_found && break 3
4816 if test -z "$ac_cv_path_EGREP"; then
4817 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4820 ac_cv_path_EGREP
=$EGREP
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4826 $as_echo "$ac_cv_path_EGREP" >&6; }
4827 EGREP
="$ac_cv_path_EGREP"
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4831 $as_echo_n "checking for ANSI C header files... " >&6; }
4832 if test "${ac_cv_header_stdc+set}" = set; then :
4833 $as_echo_n "(cached) " >&6
4835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4850 if ac_fn_c_try_compile
"$LINENO"; then :
4851 ac_cv_header_stdc
=yes
4853 ac_cv_header_stdc
=no
4855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4857 if test $ac_cv_header_stdc = yes; then
4858 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4865 $EGREP "memchr" >/dev
/null
2>&1; then :
4868 ac_cv_header_stdc
=no
4874 if test $ac_cv_header_stdc = yes; then
4875 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4882 $EGREP "free" >/dev
/null
2>&1; then :
4885 ac_cv_header_stdc
=no
4891 if test $ac_cv_header_stdc = yes; then
4892 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4893 if test "$cross_compiling" = yes; then :
4896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4900 #if ((' ' & 0x0FF) == 0x020)
4901 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4902 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4904 # define ISLOWER(c) \
4905 (('a' <= (c) && (c) <= 'i') \
4906 || ('j' <= (c) && (c) <= 'r') \
4907 || ('s' <= (c) && (c) <= 'z'))
4908 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4911 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4916 for (i = 0; i < 256; i++)
4917 if (XOR (islower (i), ISLOWER (i))
4918 || toupper (i) != TOUPPER (i))
4923 if ac_fn_c_try_run
"$LINENO"; then :
4926 ac_cv_header_stdc
=no
4928 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4929 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4935 $as_echo "$ac_cv_header_stdc" >&6; }
4936 if test $ac_cv_header_stdc = yes; then
4938 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4942 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4943 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4944 inttypes.h stdint.h unistd.h
4946 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4947 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4949 eval as_val
=\$
$as_ac_Header
4950 if test "x$as_val" = x
""yes; then :
4951 cat >>confdefs.h
<<_ACEOF
4952 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4961 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4962 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4969 if test "$MINIX" = yes; then
4971 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4974 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4977 $as_echo "#define _MINIX 1" >>confdefs.h
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4983 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4984 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4985 $as_echo_n "(cached) " >&6
4987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4990 # define __EXTENSIONS__ 1
4991 $ac_includes_default
5000 if ac_fn_c_try_compile
"$LINENO"; then :
5001 ac_cv_safe_to_define___extensions__
=yes
5003 ac_cv_safe_to_define___extensions__
=no
5005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5008 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5009 test $ac_cv_safe_to_define___extensions__ = yes &&
5010 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5012 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5014 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5016 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5018 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5024 if test -n "$ac_tool_prefix"; then
5025 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5026 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if test "${ac_cv_prog_AR+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$AR"; then
5033 ac_cv_prog_AR
="$AR" # Let the user override the test.
5035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir
=.
5040 for ac_exec_ext
in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 if test -n "$AR"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5055 $as_echo "$AR" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5063 if test -z "$ac_cv_prog_AR"; then
5065 # Extract the first word of "ar", so it can be a program name with args.
5066 set dummy
ar; ac_word
=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5070 $as_echo_n "(cached) " >&6
5072 if test -n "$ac_ct_AR"; then
5073 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5082 ac_cv_prog_ac_ct_AR
="ar"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5093 if test -n "$ac_ct_AR"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5095 $as_echo "$ac_ct_AR" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5101 if test "x$ac_ct_AR" = x
; then
5104 case $cross_compiling:$ac_tool_warned in
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5108 ac_tool_warned
=yes ;;
5116 if test -n "$ac_tool_prefix"; then
5117 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5118 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5122 $as_echo_n "(cached) " >&6
5124 if test -n "$RANLIB"; then
5125 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5131 test -z "$as_dir" && as_dir
=.
5132 for ac_exec_ext
in '' $ac_executable_extensions; do
5133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 RANLIB
=$ac_cv_prog_RANLIB
5145 if test -n "$RANLIB"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5147 $as_echo "$RANLIB" >&6; }
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5155 if test -z "$ac_cv_prog_RANLIB"; then
5156 ac_ct_RANLIB
=$RANLIB
5157 # Extract the first word of "ranlib", so it can be a program name with args.
5158 set dummy ranlib
; ac_word
=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5162 $as_echo_n "(cached) " >&6
5164 if test -n "$ac_ct_RANLIB"; then
5165 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5185 if test -n "$ac_ct_RANLIB"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5187 $as_echo "$ac_ct_RANLIB" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5193 if test "x$ac_ct_RANLIB" = x
; then
5196 case $cross_compiling:$ac_tool_warned in
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5200 ac_tool_warned
=yes ;;
5202 RANLIB
=$ac_ct_RANLIB
5205 RANLIB
="$ac_cv_prog_RANLIB"
5209 # Check whether --enable-shared was given.
5210 if test "${enable_shared+set}" = set; then :
5211 enableval
=$enable_shared; p
=${PACKAGE-default}
5213 yes) enable_shared
=yes ;;
5214 no
) enable_shared
=no
;;
5217 # Look at the argument we got. We use all the common list separators.
5218 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5219 for pkg
in $enableval; do
5221 if test "X$pkg" = "X$p"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5244 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5249 macro_version
='2.2.6'
5250 macro_revision
='1.3012'
5264 ltmain
="$ac_aux_dir/ltmain.sh"
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5267 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5268 if test "${ac_cv_path_SED+set}" = set; then :
5269 $as_echo_n "(cached) " >&6
5271 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5272 for ac_i
in 1 2 3 4 5 6 7; do
5273 ac_script
="$ac_script$as_nl$ac_script"
5275 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5276 { ac_script
=; unset ac_script
;}
5277 if test -z "$SED"; then
5278 ac_path_SED_found
=false
5279 # Loop through the user's path and test for each of PROGNAME-LIST
5280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5284 test -z "$as_dir" && as_dir
=.
5285 for ac_prog
in sed gsed
; do
5286 for ac_exec_ext
in '' $ac_executable_extensions; do
5287 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5288 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5289 # Check for GNU ac_path_SED and select it if it is found.
5290 # Check for GNU $ac_path_SED
5291 case `"$ac_path_SED" --version 2>&1` in
5293 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5296 $as_echo_n 0123456789 >"conftest.in"
5299 cat "conftest.in" "conftest.in" >"conftest.tmp"
5300 mv "conftest.tmp" "conftest.in"
5301 cp "conftest.in" "conftest.nl"
5302 $as_echo '' >> "conftest.nl"
5303 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5304 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5305 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5306 if test $ac_count -gt ${ac_path_SED_max-0}; then
5307 # Best one so far, save it but keep looking for a better one
5308 ac_cv_path_SED
="$ac_path_SED"
5309 ac_path_SED_max
=$ac_count
5311 # 10*(2^10) chars as input seems more than enough
5312 test $ac_count -gt 10 && break
5314 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5317 $ac_path_SED_found && break 3
5322 if test -z "$ac_cv_path_SED"; then
5323 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5331 $as_echo "$ac_cv_path_SED" >&6; }
5332 SED
="$ac_cv_path_SED"
5335 test -z "$SED" && SED
=sed
5336 Xsed
="$SED -e 1s/^X//"
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5349 $as_echo_n "checking for fgrep... " >&6; }
5350 if test "${ac_cv_path_FGREP+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5353 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5354 then ac_cv_path_FGREP
="$GREP -F"
5356 if test -z "$FGREP"; then
5357 ac_path_FGREP_found
=false
5358 # Loop through the user's path and test for each of PROGNAME-LIST
5359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5360 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5363 test -z "$as_dir" && as_dir
=.
5364 for ac_prog
in fgrep
; do
5365 for ac_exec_ext
in '' $ac_executable_extensions; do
5366 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5367 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5368 # Check for GNU ac_path_FGREP and select it if it is found.
5369 # Check for GNU $ac_path_FGREP
5370 case `"$ac_path_FGREP" --version 2>&1` in
5372 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5375 $as_echo_n 0123456789 >"conftest.in"
5378 cat "conftest.in" "conftest.in" >"conftest.tmp"
5379 mv "conftest.tmp" "conftest.in"
5380 cp "conftest.in" "conftest.nl"
5381 $as_echo 'FGREP' >> "conftest.nl"
5382 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5383 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5384 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5385 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5386 # Best one so far, save it but keep looking for a better one
5387 ac_cv_path_FGREP
="$ac_path_FGREP"
5388 ac_path_FGREP_max
=$ac_count
5390 # 10*(2^10) chars as input seems more than enough
5391 test $ac_count -gt 10 && break
5393 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5396 $ac_path_FGREP_found && break 3
5401 if test -z "$ac_cv_path_FGREP"; then
5402 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5405 ac_cv_path_FGREP
=$FGREP
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5411 $as_echo "$ac_cv_path_FGREP" >&6; }
5412 FGREP
="$ac_cv_path_FGREP"
5415 test -z "$GREP" && GREP
=grep
5435 # Check whether --with-gnu-ld was given.
5436 if test "${with_gnu_ld+set}" = set; then :
5437 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5443 if test "$GCC" = yes; then
5444 # Check if gcc -print-prog-name=ld gives a path.
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5446 $as_echo_n "checking for ld used by $CC... " >&6; }
5449 # gcc leaves a trailing carriage return which upsets mingw
5450 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5452 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5455 # Accept absolute paths.
5457 re_direlt
='/[^/][^/]*/\.\./'
5458 # Canonicalize the pathname of ld
5459 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5460 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5461 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5463 test -z "$LD" && LD
="$ac_prog"
5466 # If it fails, then pretend we aren't using GCC.
5470 # If it is relative, then search for the first ld in PATH.
5474 elif test "$with_gnu_ld" = yes; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5476 $as_echo_n "checking for GNU ld... " >&6; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5479 $as_echo_n "checking for non-GNU ld... " >&6; }
5481 if test "${lt_cv_path_LD+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5484 if test -z "$LD"; then
5485 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5486 for ac_dir
in $PATH; do
5488 test -z "$ac_dir" && ac_dir
=.
5489 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5490 lt_cv_path_LD
="$ac_dir/$ac_prog"
5491 # Check to see if the program is GNU ld. I'd rather use --version,
5492 # but apparently some variants of GNU ld only accept -v.
5493 # Break only if it was the GNU/non-GNU ld that we prefer.
5494 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5495 *GNU
* |
*'with BFD'*)
5496 test "$with_gnu_ld" != no
&& break
5499 test "$with_gnu_ld" != yes && break
5506 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5511 if test -n "$LD"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5513 $as_echo "$LD" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5518 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5520 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5521 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5522 $as_echo_n "(cached) " >&6
5524 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5525 case `$LD -v 2>&1 </dev/null` in
5526 *GNU
* |
*'with BFD'*)
5527 lt_cv_prog_gnu_ld
=yes
5530 lt_cv_prog_gnu_ld
=no
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5535 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5536 with_gnu_ld
=$lt_cv_prog_gnu_ld
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5547 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5548 if test "${lt_cv_path_NM+set}" = set; then :
5549 $as_echo_n "(cached) " >&6
5551 if test -n "$NM"; then
5552 # Let the user override the test.
5555 lt_nm_to_check
="${ac_tool_prefix}nm"
5556 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5557 lt_nm_to_check
="$lt_nm_to_check nm"
5559 for lt_tmp_nm
in $lt_nm_to_check; do
5560 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5561 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5563 test -z "$ac_dir" && ac_dir
=.
5564 tmp_nm
="$ac_dir/$lt_tmp_nm"
5565 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5566 # Check to see if the nm accepts a BSD-compat flag.
5567 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5568 # nm: unknown option "B" ignored
5569 # Tru64's nm complains that /dev/null is an invalid object file
5570 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5571 */dev
/null
* |
*'Invalid file or object type'*)
5572 lt_cv_path_NM
="$tmp_nm -B"
5576 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5578 lt_cv_path_NM
="$tmp_nm -p"
5582 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5583 continue # so that we can try to find one that supports BSD flags
5592 : ${lt_cv_path_NM=no}
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5596 $as_echo "$lt_cv_path_NM" >&6; }
5597 if test "$lt_cv_path_NM" != "no"; then
5600 # Didn't find any BSD compatible name lister, look for dumpbin.
5601 if test -n "$ac_tool_prefix"; then
5602 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5605 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5609 $as_echo_n "(cached) " >&6
5611 if test -n "$DUMPBIN"; then
5612 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_exec_ext
in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 DUMPBIN
=$ac_cv_prog_DUMPBIN
5632 if test -n "$DUMPBIN"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5634 $as_echo "$DUMPBIN" >&6; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5641 test -n "$DUMPBIN" && break
5644 if test -z "$DUMPBIN"; then
5645 ac_ct_DUMPBIN
=$DUMPBIN
5646 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5648 # Extract the first word of "$ac_prog", so it can be a program name with args.
5649 set dummy
$ac_prog; ac_word
=$2
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5651 $as_echo_n "checking for $ac_word... " >&6; }
5652 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5653 $as_echo_n "(cached) " >&6
5655 if test -n "$ac_ct_DUMPBIN"; then
5656 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5662 test -z "$as_dir" && as_dir
=.
5663 for ac_exec_ext
in '' $ac_executable_extensions; do
5664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5665 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5675 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5676 if test -n "$ac_ct_DUMPBIN"; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5678 $as_echo "$ac_ct_DUMPBIN" >&6; }
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5681 $as_echo "no" >&6; }
5685 test -n "$ac_ct_DUMPBIN" && break
5688 if test "x$ac_ct_DUMPBIN" = x
; then
5691 case $cross_compiling:$ac_tool_warned in
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5695 ac_tool_warned
=yes ;;
5697 DUMPBIN
=$ac_ct_DUMPBIN
5702 if test "$DUMPBIN" != ":"; then
5706 test -z "$NM" && NM
=nm
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5714 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5715 if test "${lt_cv_nm_interface+set}" = set; then :
5716 $as_echo_n "(cached) " >&6
5718 lt_cv_nm_interface
="BSD nm"
5719 echo "int some_variable = 0;" > conftest.
$ac_ext
5720 (eval echo "\"\$as_me:5720: $ac_compile\"" >&5)
5721 (eval "$ac_compile" 2>conftest.err
)
5722 cat conftest.err
>&5
5723 (eval echo "\"\$as_me:5723: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5724 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5725 cat conftest.err
>&5
5726 (eval echo "\"\$as_me:5726: output\"" >&5)
5727 cat conftest.out
>&5
5728 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5729 lt_cv_nm_interface
="MS dumpbin"
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5734 $as_echo "$lt_cv_nm_interface" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5737 $as_echo_n "checking whether ln -s works... " >&6; }
5739 if test "$LN_S" = "ln -s"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5741 $as_echo "yes" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5744 $as_echo "no, using $LN_S" >&6; }
5747 # find the maximum length of command line arguments
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5749 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5750 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5751 $as_echo_n "(cached) " >&6
5758 # On DJGPP, this test can blow up pretty badly due to problems in libc
5759 # (any single argument exceeding 2000 bytes causes a buffer overrun
5760 # during glob expansion). Even if it were fixed, the result of this
5761 # check would be larger than it should be.
5762 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5766 # Under GNU Hurd, this test is not required because there is
5767 # no limit to the length of command line arguments.
5768 # Libtool will interpret -1 as no limit whatsoever
5769 lt_cv_sys_max_cmd_len
=-1;
5772 cygwin
* | mingw
* | cegcc
*)
5773 # On Win9x/ME, this test blows up -- it succeeds, but takes
5774 # about 5 minutes as the teststring grows exponentially.
5775 # Worse, since 9x/ME are not pre-emptively multitasking,
5776 # you end up with a "frozen" computer, even though with patience
5777 # the test eventually succeeds (with a max line length of 256k).
5778 # Instead, let's just punt: use the minimum linelength reported by
5779 # all of the supported platforms: 8192 (on NT/2K/XP).
5780 lt_cv_sys_max_cmd_len
=8192;
5784 # On AmigaOS with pdksh, this test takes hours, literally.
5785 # So we just punt and use a minimum line length of 8192.
5786 lt_cv_sys_max_cmd_len
=8192;
5789 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5790 # This has been around since 386BSD, at least. Likely further.
5791 if test -x /sbin
/sysctl
; then
5792 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5793 elif test -x /usr
/sbin
/sysctl
; then
5794 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5796 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5798 # And add a safety zone
5799 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5800 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5804 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5805 lt_cv_sys_max_cmd_len
=196608
5809 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5810 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5811 # nice to cause kernel panics so lets avoid the loop below.
5812 # First set a reasonable default.
5813 lt_cv_sys_max_cmd_len
=16384
5815 if test -x /sbin
/sysconfig
; then
5816 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5817 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5822 lt_cv_sys_max_cmd_len
=102400
5824 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5825 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5826 if test -n "$kargmax"; then
5827 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5829 lt_cv_sys_max_cmd_len
=32768
5833 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5834 if test -n "$lt_cv_sys_max_cmd_len"; then
5835 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5836 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5838 # Make teststring a little bigger before we do anything with it.
5839 # a 1K string should be a reasonable start.
5840 for i
in 1 2 3 4 5 6 7 8 ; do
5841 teststring
=$teststring$teststring
5843 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5844 # If test is not a shell built-in, we'll probably end up computing a
5845 # maximum length that is only half of the actual maximum length, but
5847 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5848 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5849 test $i != 17 # 1/2 MB should be enough
5852 teststring
=$teststring$teststring
5854 # Only check the string length outside the loop.
5855 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5857 # Add a significant safety factor because C++ compilers can tack on
5858 # massive amounts of additional arguments before passing them to the
5859 # linker. It appears as though 1/2 is a usable value.
5860 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5867 if test -n $lt_cv_sys_max_cmd_len ; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5869 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5872 $as_echo "none" >&6; }
5874 max_cmd_len
=$lt_cv_sys_max_cmd_len
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5886 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5887 # Try some XSI features
5890 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5892 && eval 'test $(( 1 + 1 )) -eq 2 \
5893 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5896 $as_echo "$xsi_shell" >&6; }
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5900 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5902 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5904 && lt_shell_append=yes
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5906 $as_echo "$lt_shell_append" >&6; }
5909 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5919 # test EBCDIC or ASCII
5920 case `echo X|tr X '\101'` in
5921 A) # ASCII based system
5922 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5923 lt_SP2NL='tr \040 \012'
5924 lt_NL2SP='tr \015\012 \040\040'
5926 *) # EBCDIC based system
5927 lt_SP2NL='tr \100 \n'
5928 lt_NL2SP='tr \r\n \100\100'
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5941 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5942 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5943 $as_echo_n "(cached
) " >&6
5945 lt_cv_ld_reload_flag='-r'
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5948 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5949 reload_flag=$lt_cv_ld_reload_flag
5950 case $reload_flag in
5952 *) reload_flag=" $reload_flag" ;;
5954 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5957 if test "$GCC" = yes; then
5958 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5960 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5973 if test -n "$ac_tool_prefix"; then
5974 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5975 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5977 $as_echo_n "checking
for $ac_word...
" >&6; }
5978 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5979 $as_echo_n "(cached
) " >&6
5981 if test -n "$OBJDUMP"; then
5982 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5991 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6001 OBJDUMP=$ac_cv_prog_OBJDUMP
6002 if test -n "$OBJDUMP"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6004 $as_echo "$OBJDUMP" >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6007 $as_echo "no
" >&6; }
6012 if test -z "$ac_cv_prog_OBJDUMP"; then
6013 ac_ct_OBJDUMP=$OBJDUMP
6014 # Extract the first word of "objdump
", so it can be a program name with args.
6015 set dummy objdump; ac_word=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6017 $as_echo_n "checking
for $ac_word...
" >&6; }
6018 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6019 $as_echo_n "(cached
) " >&6
6021 if test -n "$ac_ct_OBJDUMP"; then
6022 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 test -z "$as_dir" && as_dir=.
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6032 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6041 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6042 if test -n "$ac_ct_OBJDUMP"; then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6044 $as_echo "$ac_ct_OBJDUMP" >&6; }
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6047 $as_echo "no
" >&6; }
6050 if test "x
$ac_ct_OBJDUMP" = x; then
6053 case $cross_compiling:$ac_tool_warned in
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6056 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6057 ac_tool_warned=yes ;;
6059 OBJDUMP=$ac_ct_OBJDUMP
6062 OBJDUMP="$ac_cv_prog_OBJDUMP"
6065 test -z "$OBJDUMP" && OBJDUMP=objdump
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6076 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6077 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6078 $as_echo_n "(cached
) " >&6
6080 lt_cv_file_magic_cmd='$MAGIC_CMD'
6081 lt_cv_file_magic_test_file=
6082 lt_cv_deplibs_check_method='unknown'
6083 # Need to set the preceding variable on all platforms that support
6084 # interlibrary dependencies.
6085 # 'none' -- dependencies not supported.
6086 # `unknown' -- same as none, but documents that we really don't know.
6087 # 'pass_all' -- all dependencies passed with no checks.
6088 # 'test_compile' -- check by making test program.
6089 # 'file_magic [[regex]]' -- check by looking for files in library path
6090 # which responds to the $file_magic_cmd with a given extended regex.
6091 # If you have `file' or equivalent on your system and you're not sure
6092 # whether `pass_all' will *always* work, you probably want this one.
6096 lt_cv_deplibs_check_method=pass_all
6100 lt_cv_deplibs_check_method=pass_all
6104 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6105 lt_cv_file_magic_cmd='/usr/bin/file -L'
6106 lt_cv_file_magic_test_file=/shlib/libc.so
6110 # func_win32_libid is a shell function defined in ltmain.sh
6111 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6112 lt_cv_file_magic_cmd='func_win32_libid'
6116 # Base MSYS/MinGW do not provide the 'file' command needed by
6117 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6118 # unless we find 'file', for example because we are cross-compiling.
6119 if ( file / ) >/dev/null 2>&1; then
6120 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6121 lt_cv_file_magic_cmd='func_win32_libid'
6123 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6124 lt_cv_file_magic_cmd='$OBJDUMP -f'
6129 # use the weaker test based on 'objdump'. See mingw*.
6130 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6131 lt_cv_file_magic_cmd='$OBJDUMP -f'
6134 darwin* | rhapsody*)
6135 lt_cv_deplibs_check_method=pass_all
6138 freebsd* | dragonfly*)
6139 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6142 # Not sure whether the presence of OpenBSD here was a mistake.
6143 # Let's accept both of them until this is cleared up.
6144 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6145 lt_cv_file_magic_cmd=/usr/bin/file
6146 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6150 lt_cv_deplibs_check_method=pass_all
6155 lt_cv_deplibs_check_method=pass_all
6158 hpux10.20* | hpux11*)
6159 lt_cv_file_magic_cmd=/usr/bin/file
6162 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6163 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6166 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6167 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6170 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6171 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6177 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6178 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6181 irix5* | irix6* | nonstopux*)
6183 *-32|*"-32 ") libmagic=32-bit;;
6184 *-n32|*"-n32 ") libmagic=N32;;
6185 *-64|*"-64 ") libmagic=64-bit;;
6186 *) libmagic=never-match;;
6188 lt_cv_deplibs_check_method=pass_all
6191 # This must be Linux ELF.
6192 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6193 lt_cv_deplibs_check_method=pass_all
6197 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6198 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6200 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6205 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6206 lt_cv_file_magic_cmd=/usr/bin/file
6207 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6211 lt_cv_deplibs_check_method=pass_all
6215 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6216 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6218 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6222 osf3* | osf4* | osf5*)
6223 lt_cv_deplibs_check_method=pass_all
6227 lt_cv_deplibs_check_method=pass_all
6231 lt_cv_deplibs_check_method=pass_all
6234 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6235 lt_cv_deplibs_check_method=pass_all
6239 case $host_vendor in
6241 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]'
6242 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6245 lt_cv_deplibs_check_method=pass_all
6248 lt_cv_file_magic_cmd='/bin/file'
6249 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6252 lt_cv_file_magic_cmd='/bin/file'
6253 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6254 lt_cv_file_magic_test_file=/lib/libc.so
6257 lt_cv_deplibs_check_method=pass_all
6260 lt_cv_deplibs_check_method=pass_all
6266 lt_cv_deplibs_check_method=pass_all
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6272 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6273 file_magic_cmd=$lt_cv_file_magic_cmd
6274 deplibs_check_method=$lt_cv_deplibs_check_method
6275 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6288 if test -n "$ac_tool_prefix"; then
6289 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6290 set dummy ${ac_tool_prefix}ar; ac_word=$2
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6292 $as_echo_n "checking
for $ac_word...
" >&6; }
6293 if test "${ac_cv_prog_AR+set}" = set; then :
6294 $as_echo_n "(cached
) " >&6
6296 if test -n "$AR"; then
6297 ac_cv_prog_AR="$AR" # Let the user override the test.
6299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6303 test -z "$as_dir" && as_dir=.
6304 for ac_exec_ext in '' $ac_executable_extensions; do
6305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6306 ac_cv_prog_AR="${ac_tool_prefix}ar"
6307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6317 if test -n "$AR"; then
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6319 $as_echo "$AR" >&6; }
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6322 $as_echo "no
" >&6; }
6327 if test -z "$ac_cv_prog_AR"; then
6329 # Extract the first word of "ar", so it can be a program name with args.
6330 set dummy ar; ac_word=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6332 $as_echo_n "checking
for $ac_word...
" >&6; }
6333 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6334 $as_echo_n "(cached
) " >&6
6336 if test -n "$ac_ct_AR"; then
6337 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 test -z "$as_dir" && as_dir=.
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6346 ac_cv_prog_ac_ct_AR="ar"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6356 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6357 if test -n "$ac_ct_AR"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6359 $as_echo "$ac_ct_AR" >&6; }
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6362 $as_echo "no
" >&6; }
6365 if test "x
$ac_ct_AR" = x; then
6368 case $cross_compiling:$ac_tool_warned in
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6371 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6372 ac_tool_warned=yes ;;
6380 test -z "$AR" && AR=ar
6381 test -z "$AR_FLAGS" && AR_FLAGS=cru
6393 if test -n "$ac_tool_prefix"; then
6394 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6395 set dummy ${ac_tool_prefix}strip; ac_word=$2
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6397 $as_echo_n "checking
for $ac_word...
" >&6; }
6398 if test "${ac_cv_prog_STRIP+set}" = set; then :
6399 $as_echo_n "(cached
) " >&6
6401 if test -n "$STRIP"; then
6402 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6408 test -z "$as_dir" && as_dir=.
6409 for ac_exec_ext in '' $ac_executable_extensions; do
6410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6421 STRIP=$ac_cv_prog_STRIP
6422 if test -n "$STRIP"; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6424 $as_echo "$STRIP" >&6; }
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6427 $as_echo "no
" >&6; }
6432 if test -z "$ac_cv_prog_STRIP"; then
6434 # Extract the first word of "strip
", so it can be a program name with args.
6435 set dummy strip; ac_word=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6437 $as_echo_n "checking
for $ac_word...
" >&6; }
6438 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6439 $as_echo_n "(cached
) " >&6
6441 if test -n "$ac_ct_STRIP"; then
6442 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6451 ac_cv_prog_ac_ct_STRIP="strip
"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6461 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6462 if test -n "$ac_ct_STRIP"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6464 $as_echo "$ac_ct_STRIP" >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6467 $as_echo "no
" >&6; }
6470 if test "x
$ac_ct_STRIP" = x; then
6473 case $cross_compiling:$ac_tool_warned in
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6476 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6477 ac_tool_warned=yes ;;
6482 STRIP="$ac_cv_prog_STRIP"
6485 test -z "$STRIP" && STRIP=:
6492 if test -n "$ac_tool_prefix"; then
6493 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6494 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6496 $as_echo_n "checking
for $ac_word...
" >&6; }
6497 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6498 $as_echo_n "(cached
) " >&6
6500 if test -n "$RANLIB"; then
6501 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 test -z "$as_dir" && as_dir=.
6508 for ac_exec_ext in '' $ac_executable_extensions; do
6509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6510 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6520 RANLIB=$ac_cv_prog_RANLIB
6521 if test -n "$RANLIB"; then
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6523 $as_echo "$RANLIB" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6526 $as_echo "no
" >&6; }
6531 if test -z "$ac_cv_prog_RANLIB"; then
6532 ac_ct_RANLIB=$RANLIB
6533 # Extract the first word of "ranlib
", so it can be a program name with args.
6534 set dummy ranlib; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6536 $as_echo_n "checking
for $ac_word...
" >&6; }
6537 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6538 $as_echo_n "(cached
) " >&6
6540 if test -n "$ac_ct_RANLIB"; then
6541 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 test -z "$as_dir" && as_dir=.
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6550 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6560 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6561 if test -n "$ac_ct_RANLIB"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6563 $as_echo "$ac_ct_RANLIB" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6566 $as_echo "no
" >&6; }
6569 if test "x
$ac_ct_RANLIB" = x; then
6572 case $cross_compiling:$ac_tool_warned in
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6575 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6576 ac_tool_warned=yes ;;
6578 RANLIB=$ac_ct_RANLIB
6581 RANLIB="$ac_cv_prog_RANLIB"
6584 test -z "$RANLIB" && RANLIB=:
6591 # Determine commands to create old-style static archives.
6592 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6593 old_postinstall_cmds='chmod 644 $oldlib'
6594 old_postuninstall_cmds=
6596 if test -n "$RANLIB"; then
6599 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6602 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6605 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6641 # If no C compiler was specified, use CC.
6644 # If no C compiler flags were specified, use CFLAGS.
6645 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6647 # Allow CC to be a program name with arguments.
6651 # Check for command to grab the raw symbol name followed by C symbol from nm.
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6653 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6654 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6655 $as_echo_n "(cached
) " >&6
6658 # These are sane defaults that work on at least a few old systems.
6659 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6661 # Character class describing NM global symbol codes.
6662 symcode='[BCDEGRST]'
6664 # Regexp to match symbols that can be accessed directly from C.
6665 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6667 # Define system-specific variables.
6672 cygwin* | mingw* | pw32* | cegcc*)
6673 symcode='[ABCDGISTW]'
6676 if test "$host_cpu" = ia64; then
6677 symcode='[ABCDEGRST]'
6681 symcode='[BCDEGRST]'
6684 symcode='[BCDEGQRST]'
6695 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6703 # If we're using GNU nm, then use its standard symbol codes.
6704 case `$NM -V 2>&1` in
6705 *GNU* | *'with BFD'*)
6706 symcode='[ABCDGIRSTW]' ;;
6709 # Transform an extracted symbol line into a proper C declaration.
6710 # Some systems (esp. on ia64) link data and code symbols differently,
6711 # so use this general approach.
6712 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6714 # Transform an extracted symbol line into symbol name and symbol address
6715 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6716 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'"
6718 # Handle CRLF in mingw tool chain
6722 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6726 # Try without a prefix underscore, then with it.
6727 for ac_symprfx in "" "_
"; do
6729 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6730 symxfrm="\\1 $ac_symprfx\\2 \\2"
6732 # Write the raw and C identifiers.
6733 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6734 # Fake it for dumpbin and say T for any non-static function
6735 # and D for any global variable.
6736 # Also find C++ and __fastcall symbols from MSVC++,
6737 # which start with @ or ?.
6738 lt_cv_sys_global_symbol_pipe="$AWK '"\
6739 " {last_section=section; section=\$ 3};"\
6740 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6741 " \$ 0!~/External *\|/{next};"\
6742 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6743 " {if(hide[section]) next};"\
6744 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6745 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6746 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6747 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6748 " ' prfx
=^
$ac_symprfx"
6750 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6753 # Check to see that the pipe works correctly.
6757 cat > conftest.$ac_ext <<_LT_EOF
6762 void nm_test_func(void);
6763 void nm_test_func(void){}
6767 int main(){nm_test_var='a';nm_test_func();return(0);}
6770 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6771 (eval $ac_compile) 2>&5
6773 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6774 test $ac_status = 0; }; then
6775 # Now try to grab the symbols.
6777 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6778 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6780 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6781 test $ac_status = 0; } && test -s "$nlist"; then
6782 # Try sorting and uniquifying the output.
6783 if sort "$nlist" | uniq > "$nlist"T; then
6784 mv -f "$nlist"T "$nlist"
6789 # Make sure that we snagged all the symbols we need.
6790 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6791 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6792 cat <<_LT_EOF > conftest.$ac_ext
6798 # Now generate the symbol file.
6799 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6801 cat <<_LT_EOF >> conftest.$ac_ext
6803 /* The mapping between symbol names and symbols. */
6808 lt__PROGRAM__LTX_preloaded_symbols[] =
6810 { "@PROGRAM@
", (void *) 0 },
6812 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6813 cat <<\_LT_EOF >> conftest.$ac_ext
6817 /* This works around a problem in FreeBSD linker */
6818 #ifdef FREEBSD_WORKAROUND
6819 static const void *lt_preloaded_setup() {
6820 return lt__PROGRAM__LTX_preloaded_symbols;
6828 # Now try linking the two files.
6829 mv conftest.$ac_objext conftstm.$ac_objext
6830 lt_save_LIBS="$LIBS"
6831 lt_save_CFLAGS="$CFLAGS"
6832 LIBS="conftstm.
$ac_objext"
6833 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6834 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6835 (eval $ac_link) 2>&5
6837 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6838 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6841 LIBS="$lt_save_LIBS"
6842 CFLAGS="$lt_save_CFLAGS"
6844 echo "cannot
find nm_test_func
in $nlist" >&5
6847 echo "cannot
find nm_test_var
in $nlist" >&5
6850 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6853 echo "$progname: failed program was
:" >&5
6854 cat conftest.$ac_ext >&5
6856 rm -rf conftest* conftst*
6858 # Do not use the global_symbol_pipe unless it works.
6859 if test "$pipe_works" = yes; then
6862 lt_cv_sys_global_symbol_pipe=
6868 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6869 lt_cv_sys_global_symbol_to_cdecl=
6871 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6873 $as_echo "failed
" >&6; }
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6876 $as_echo "ok
" >&6; }
6900 # Check whether --enable-libtool-lock was given.
6901 if test "${enable_libtool_lock+set}" = set; then :
6902 enableval=$enable_libtool_lock;
6905 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6907 # Some flags need to be propagated to the compiler or linker for good
6911 # Find out which ABI we are using.
6912 echo 'int i;' > conftest.$ac_ext
6913 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6914 (eval $ac_compile) 2>&5
6916 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6917 test $ac_status = 0; }; then
6918 case `/usr/bin/file conftest.$ac_objext` in
6930 # Find out which ABI we are using.
6931 echo '#line 6931 "configure
"' > conftest.$ac_ext
6932 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6933 (eval $ac_compile) 2>&5
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6936 test $ac_status = 0; }; then
6937 if test "$lt_cv_prog_gnu_ld" = yes; then
6938 case `/usr/bin/file conftest.$ac_objext` in
6940 LD="${LD-ld} -melf32bsmip"
6943 LD="${LD-ld} -melf32bmipn32"
6946 LD="${LD-ld} -melf64bmip"
6950 case `/usr/bin/file conftest.$ac_objext` in
6966 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6967 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6968 # Find out which ABI we are using.
6969 echo 'int i;' > conftest.$ac_ext
6970 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6971 (eval $ac_compile) 2>&5
6973 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6974 test $ac_status = 0; }; then
6975 case `/usr/bin/file conftest.o` in
6978 x86_64-*kfreebsd*-gnu)
6979 LD="${LD-ld} -m elf_i386_fbsd
"
6982 LD="${LD-ld} -m elf_i386
"
6984 ppc64-*linux*|powerpc64-*linux*)
6985 LD="${LD-ld} -m elf32ppclinux
"
6988 LD="${LD-ld} -m elf_s390
"
6991 LD="${LD-ld} -m elf32_sparc
"
6997 x86_64-*kfreebsd*-gnu)
6998 LD="${LD-ld} -m elf_x86_64_fbsd
"
7001 LD="${LD-ld} -m elf_x86_64
"
7003 ppc*-*linux*|powerpc*-*linux*)
7004 LD="${LD-ld} -m elf64ppc
"
7006 s390*-*linux*|s390*-*tpf*)
7007 LD="${LD-ld} -m elf64_s390
"
7010 LD="${LD-ld} -m elf64_sparc
"
7020 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7021 SAVE_CFLAGS="$CFLAGS"
7022 CFLAGS="$CFLAGS -belf"
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7024 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7025 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7026 $as_echo_n "(cached
) " >&6
7029 ac_cpp='$CPP $CPPFLAGS'
7030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7045 if ac_fn_c_try_link "$LINENO"; then :
7046 lt_cv_cc_needs_belf=yes
7048 lt_cv_cc_needs_belf=no
7050 rm -f core conftest.err conftest.$ac_objext \
7051 conftest$ac_exeext conftest.$ac_ext
7053 ac_cpp='$CPP $CPPFLAGS'
7054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7060 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7061 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7062 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7063 CFLAGS="$SAVE_CFLAGS"
7067 # Find out which ABI we are using.
7068 echo 'int i;' > conftest.$ac_ext
7069 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7070 (eval $ac_compile) 2>&5
7072 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7073 test $ac_status = 0; }; then
7074 case `/usr/bin/file conftest.o` in
7076 case $lt_cv_prog_gnu_ld in
7077 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7079 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7091 need_locks="$enable_libtool_lock"
7095 rhapsody* | darwin*)
7096 if test -n "$ac_tool_prefix"; then
7097 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7098 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7100 $as_echo_n "checking
for $ac_word...
" >&6; }
7101 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7102 $as_echo_n "(cached
) " >&6
7104 if test -n "$DSYMUTIL"; then
7105 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir=.
7112 for ac_exec_ext in '' $ac_executable_extensions; do
7113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7114 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7124 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7125 if test -n "$DSYMUTIL"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7127 $as_echo "$DSYMUTIL" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7130 $as_echo "no
" >&6; }
7135 if test -z "$ac_cv_prog_DSYMUTIL"; then
7136 ac_ct_DSYMUTIL=$DSYMUTIL
7137 # Extract the first word of "dsymutil
", so it can be a program name with args.
7138 set dummy dsymutil; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7140 $as_echo_n "checking
for $ac_word...
" >&6; }
7141 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7142 $as_echo_n "(cached
) " >&6
7144 if test -n "$ac_ct_DSYMUTIL"; then
7145 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7154 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7164 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7165 if test -n "$ac_ct_DSYMUTIL"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7167 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7170 $as_echo "no
" >&6; }
7173 if test "x
$ac_ct_DSYMUTIL" = x; then
7176 case $cross_compiling:$ac_tool_warned in
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7179 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7180 ac_tool_warned=yes ;;
7182 DSYMUTIL=$ac_ct_DSYMUTIL
7185 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7188 if test -n "$ac_tool_prefix"; then
7189 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7190 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7192 $as_echo_n "checking
for $ac_word...
" >&6; }
7193 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7194 $as_echo_n "(cached
) " >&6
7196 if test -n "$NMEDIT"; then
7197 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 test -z "$as_dir" && as_dir=.
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7206 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7216 NMEDIT=$ac_cv_prog_NMEDIT
7217 if test -n "$NMEDIT"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7219 $as_echo "$NMEDIT" >&6; }
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7222 $as_echo "no
" >&6; }
7227 if test -z "$ac_cv_prog_NMEDIT"; then
7228 ac_ct_NMEDIT=$NMEDIT
7229 # Extract the first word of "nmedit
", so it can be a program name with args.
7230 set dummy nmedit; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7232 $as_echo_n "checking
for $ac_word...
" >&6; }
7233 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7234 $as_echo_n "(cached
) " >&6
7236 if test -n "$ac_ct_NMEDIT"; then
7237 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7246 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7256 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7257 if test -n "$ac_ct_NMEDIT"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7259 $as_echo "$ac_ct_NMEDIT" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7262 $as_echo "no
" >&6; }
7265 if test "x
$ac_ct_NMEDIT" = x; then
7268 case $cross_compiling:$ac_tool_warned in
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7271 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7272 ac_tool_warned=yes ;;
7274 NMEDIT=$ac_ct_NMEDIT
7277 NMEDIT="$ac_cv_prog_NMEDIT"
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7284 $as_echo_n "checking
for $ac_word...
" >&6; }
7285 if test "${ac_cv_prog_LIPO+set}" = set; then :
7286 $as_echo_n "(cached
) " >&6
7288 if test -n "$LIPO"; then
7289 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7298 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7308 LIPO=$ac_cv_prog_LIPO
7309 if test -n "$LIPO"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7311 $as_echo "$LIPO" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7314 $as_echo "no
" >&6; }
7319 if test -z "$ac_cv_prog_LIPO"; then
7321 # Extract the first word of "lipo
", so it can be a program name with args.
7322 set dummy lipo; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7324 $as_echo_n "checking
for $ac_word...
" >&6; }
7325 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7326 $as_echo_n "(cached
) " >&6
7328 if test -n "$ac_ct_LIPO"; then
7329 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_ac_ct_LIPO="lipo
"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7348 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7349 if test -n "$ac_ct_LIPO"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7351 $as_echo "$ac_ct_LIPO" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7354 $as_echo "no
" >&6; }
7357 if test "x
$ac_ct_LIPO" = x; then
7360 case $cross_compiling:$ac_tool_warned in
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7363 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7364 ac_tool_warned=yes ;;
7369 LIPO="$ac_cv_prog_LIPO"
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}otool; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7376 $as_echo_n "checking
for $ac_word...
" >&6; }
7377 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7378 $as_echo_n "(cached
) " >&6
7380 if test -n "$OTOOL"; then
7381 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7390 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7400 OTOOL=$ac_cv_prog_OTOOL
7401 if test -n "$OTOOL"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7403 $as_echo "$OTOOL" >&6; }
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7406 $as_echo "no
" >&6; }
7411 if test -z "$ac_cv_prog_OTOOL"; then
7413 # Extract the first word of "otool
", so it can be a program name with args.
7414 set dummy otool; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7416 $as_echo_n "checking
for $ac_word...
" >&6; }
7417 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7418 $as_echo_n "(cached
) " >&6
7420 if test -n "$ac_ct_OTOOL"; then
7421 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 ac_cv_prog_ac_ct_OTOOL="otool
"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7440 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7441 if test -n "$ac_ct_OTOOL"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7443 $as_echo "$ac_ct_OTOOL" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7446 $as_echo "no
" >&6; }
7449 if test "x
$ac_ct_OTOOL" = x; then
7452 case $cross_compiling:$ac_tool_warned in
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7455 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7456 ac_tool_warned=yes ;;
7461 OTOOL="$ac_cv_prog_OTOOL"
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7468 $as_echo_n "checking
for $ac_word...
" >&6; }
7469 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7470 $as_echo_n "(cached
) " >&6
7472 if test -n "$OTOOL64"; then
7473 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7492 OTOOL64=$ac_cv_prog_OTOOL64
7493 if test -n "$OTOOL64"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7495 $as_echo "$OTOOL64" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7498 $as_echo "no
" >&6; }
7503 if test -z "$ac_cv_prog_OTOOL64"; then
7504 ac_ct_OTOOL64=$OTOOL64
7505 # Extract the first word of "otool64
", so it can be a program name with args.
7506 set dummy otool64; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7508 $as_echo_n "checking
for $ac_word...
" >&6; }
7509 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7510 $as_echo_n "(cached
) " >&6
7512 if test -n "$ac_ct_OTOOL64"; then
7513 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7532 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7533 if test -n "$ac_ct_OTOOL64"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7535 $as_echo "$ac_ct_OTOOL64" >&6; }
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7538 $as_echo "no
" >&6; }
7541 if test "x
$ac_ct_OTOOL64" = x; then
7544 case $cross_compiling:$ac_tool_warned in
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7547 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7548 ac_tool_warned=yes ;;
7550 OTOOL64=$ac_ct_OTOOL64
7553 OTOOL64="$ac_cv_prog_OTOOL64"
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7583 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7584 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7585 $as_echo_n "(cached
) " >&6
7587 lt_cv_apple_cc_single_mod=no
7588 if test -z "${LT_MULTI_MODULE}"; then
7589 # By default we will add the -single_module flag. You can override
7590 # by either setting the environment variable LT_MULTI_MODULE
7591 # non-empty at configure time, or by adding -multi_module to the
7593 rm -rf libconftest.dylib*
7594 echo "int foo
(void
){return 1;}" > conftest.c
7595 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7596 -dynamiclib -Wl,-single_module conftest.c
" >&5
7597 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7598 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7600 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7601 lt_cv_apple_cc_single_mod=yes
7603 cat conftest.err >&5
7605 rm -rf libconftest.dylib*
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7610 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7612 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7613 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7614 $as_echo_n "(cached
) " >&6
7616 lt_cv_ld_exported_symbols_list=no
7617 save_LDFLAGS=$LDFLAGS
7618 echo "_main
" > conftest.sym
7619 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 /* end confdefs.h. */
7631 if ac_fn_c_try_link "$LINENO"; then :
7632 lt_cv_ld_exported_symbols_list=yes
7634 lt_cv_ld_exported_symbols_list=no
7636 rm -f core conftest.err conftest.$ac_objext \
7637 conftest$ac_exeext conftest.$ac_ext
7638 LDFLAGS="$save_LDFLAGS"
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7642 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7644 rhapsody* | darwin1.[012])
7645 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7647 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7648 darwin*) # darwin 5.x on
7649 # if running on 10.5 or later, the deployment target defaults
7650 # to the OS version, if on x86, and 10.4, the deployment
7651 # target defaults to 10.4. Don't you love it?
7652 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7653 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7654 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7656 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7658 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7662 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7663 _lt_dar_single_mod='$single_module'
7665 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7666 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7668 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7670 if test "$DSYMUTIL" != ":"; then
7671 _lt_dsymutil='~$DSYMUTIL $lib || :'
7678 for ac_header in dlfcn.h
7680 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7682 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7683 cat >>confdefs.h <<_ACEOF
7684 #define HAVE_DLFCN_H 1
7704 # Check whether --enable-static was given.
7705 if test "${enable_static+set}" = set; then :
7706 enableval=$enable_static; p=${PACKAGE-default}
7708 yes) enable_static=yes ;;
7709 no) enable_static=no ;;
7712 # Look at the argument we got. We use all the common list separators.
7713 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7714 for pkg in $enableval; do
7716 if test "X
$pkg" = "X
$p"; then
7736 # Check whether --with-pic was given.
7737 if test "${with_pic+set}" = set; then :
7738 withval=$with_pic; pic_mode="$withval"
7744 test -z "$pic_mode" && pic_mode=default
7752 # Check whether --enable-fast-install was given.
7753 if test "${enable_fast_install+set}" = set; then :
7754 enableval=$enable_fast_install; p=${PACKAGE-default}
7756 yes) enable_fast_install=yes ;;
7757 no) enable_fast_install=no ;;
7759 enable_fast_install=no
7760 # Look at the argument we got. We use all the common list separators.
7761 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7762 for pkg in $enableval; do
7764 if test "X
$pkg" = "X
$p"; then
7765 enable_fast_install=yes
7772 enable_fast_install=yes
7785 # This can be used to rebuild libtool when needed
7786 LIBTOOL_DEPS="$ltmain"
7788 # Always use our own libtool.
7789 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7815 test -z "$LN_S" && LN_S="ln -s"
7830 if test -n "${ZSH_VERSION+set}" ; then
7831 setopt NO_GLOB_SUBST
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7835 $as_echo_n "checking
for objdir...
" >&6; }
7836 if test "${lt_cv_objdir+set}" = set; then :
7837 $as_echo_n "(cached
) " >&6
7839 rm -f .libs 2>/dev/null
7840 mkdir .libs 2>/dev/null
7841 if test -d .libs; then
7844 # MS-DOS does not allow filenames that begin with a dot.
7847 rmdir .libs 2>/dev/null
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7850 $as_echo "$lt_cv_objdir" >&6; }
7851 objdir=$lt_cv_objdir
7857 cat >>confdefs.h <<_ACEOF
7858 #define LT_OBJDIR "$lt_cv_objdir/"
7879 # AIX sometimes has problems with the GCC collect2 program. For some
7880 # reason, if we set the COLLECT_NAMES environment variable, the problems
7881 # vanish in a puff of smoke.
7882 if test "X
${COLLECT_NAMES+set}" != Xset; then
7884 export COLLECT_NAMES
7889 # Sed substitution that helps us do robust quoting. It backslashifies
7890 # metacharacters that are still active within double-quoted strings.
7891 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7893 # Same as above, but do not quote variable references.
7894 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7896 # Sed substitution to delay expansion of an escaped shell variable in a
7897 # double_quote_subst'ed string.
7898 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7900 # Sed substitution to delay expansion of an escaped single quote.
7901 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7903 # Sed substitution to avoid accidental globbing in evaled expressions
7904 no_glob_subst
='s/\*/\\\*/g'
7908 can_build_shared
=yes
7910 # All known linkers require a `.a' archive for static linking (except MSVC,
7911 # which needs '.lib').
7914 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7917 old_CFLAGS
="$CFLAGS"
7919 # Set sane defaults for various variables
7920 test -z "$CC" && CC
=cc
7921 test -z "$LTCC" && LTCC
=$CC
7922 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7923 test -z "$LD" && LD
=ld
7924 test -z "$ac_objext" && ac_objext
=o
7926 for cc_temp
in $compiler""; do
7928 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7929 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7934 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7937 # Only perform the check for file, if the check method requires it
7938 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7939 case $deplibs_check_method in
7941 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7943 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7944 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7945 $as_echo_n "(cached) " >&6
7949 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7952 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7953 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7954 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7955 for ac_dir
in $ac_dummy; do
7957 test -z "$ac_dir" && ac_dir
=.
7958 if test -f $ac_dir/${ac_tool_prefix}file; then
7959 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7960 if test -n "$file_magic_test_file"; then
7961 case $deplibs_check_method in
7963 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7964 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7965 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7966 $EGREP "$file_magic_regex" > /dev
/null
; then
7971 *** Warning: the command libtool uses to detect shared libraries,
7972 *** $file_magic_cmd, produces output that libtool cannot recognize.
7973 *** The result is that libtool may fail to recognize shared libraries
7974 *** as such. This will affect the creation of libtool libraries that
7975 *** depend on shared libraries, but programs linked with such libtool
7976 *** libraries will work regardless of this problem. Nevertheless, you
7977 *** may want to report the problem to your system manager and/or to
7978 *** bug-libtool@gnu.org
7988 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7993 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7994 if test -n "$MAGIC_CMD"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7996 $as_echo "$MAGIC_CMD" >&6; }
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8006 if test -z "$lt_cv_path_MAGIC_CMD"; then
8007 if test -n "$ac_tool_prefix"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8009 $as_echo_n "checking for file... " >&6; }
8010 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8011 $as_echo_n "(cached) " >&6
8015 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8018 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8019 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8020 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8021 for ac_dir
in $ac_dummy; do
8023 test -z "$ac_dir" && ac_dir
=.
8024 if test -f $ac_dir/file; then
8025 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8026 if test -n "$file_magic_test_file"; then
8027 case $deplibs_check_method in
8029 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8030 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8031 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8032 $EGREP "$file_magic_regex" > /dev
/null
; then
8037 *** Warning: the command libtool uses to detect shared libraries,
8038 *** $file_magic_cmd, produces output that libtool cannot recognize.
8039 *** The result is that libtool may fail to recognize shared libraries
8040 *** as such. This will affect the creation of libtool libraries that
8041 *** depend on shared libraries, but programs linked with such libtool
8042 *** libraries will work regardless of this problem. Nevertheless, you
8043 *** may want to report the problem to your system manager and/or to
8044 *** bug-libtool@gnu.org
8054 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8059 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8060 if test -n "$MAGIC_CMD"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8062 $as_echo "$MAGIC_CMD" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065 $as_echo "no" >&6; }
8078 # Use C for the default configuration in the libtool script
8082 ac_cpp
='$CPP $CPPFLAGS'
8083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8088 # Source file extension for C test sources.
8091 # Object file extension for compiled C test sources.
8095 # Code to be used in simple compile tests
8096 lt_simple_compile_test_code
="int some_variable = 0;"
8098 # Code to be used in simple link tests
8099 lt_simple_link_test_code
='int main(){return(0);}'
8107 # If no C compiler was specified, use CC.
8110 # If no C compiler flags were specified, use CFLAGS.
8111 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8113 # Allow CC to be a program name with arguments.
8116 # Save the default compiler, since it gets overwritten when the other
8117 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8118 compiler_DEFAULT
=$CC
8120 # save warnings/boilerplate of simple test code
8121 ac_outfile
=conftest.
$ac_objext
8122 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8123 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8124 _lt_compiler_boilerplate
=`cat conftest.err`
8127 ac_outfile
=conftest.
$ac_objext
8128 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8129 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8130 _lt_linker_boilerplate
=`cat conftest.err`
8135 ## There is no encapsulation within the following macros, do not change
8136 ## the running order or otherwise move them around unless you know exactly
8137 ## what you are doing...
8138 if test -n "$compiler"; then
8140 lt_prog_compiler_no_builtin_flag
=
8142 if test "$GCC" = yes; then
8143 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8146 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8147 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8148 $as_echo_n "(cached) " >&6
8150 lt_cv_prog_compiler_rtti_exceptions
=no
8151 ac_outfile
=conftest.
$ac_objext
8152 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8153 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8154 # Insert the option either (1) after the last *FLAGS variable, or
8155 # (2) before a word containing "conftest.", or (3) at the end.
8156 # Note that $ac_compile itself does not contain backslashes and begins
8157 # with a dollar sign (not a hyphen), so the echo should work correctly.
8158 # The option is referenced via a variable to avoid confusing sed.
8159 lt_compile
=`echo "$ac_compile" | $SED \
8160 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8161 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8162 -e 's:$: $lt_compiler_flag:'`
8163 (eval echo "\"\$as_me:8163: $lt_compile\"" >&5)
8164 (eval "$lt_compile" 2>conftest.err
)
8166 cat conftest.err
>&5
8167 echo "$as_me:8167: \$? = $ac_status" >&5
8168 if (exit $ac_status) && test -s "$ac_outfile"; then
8169 # The compiler can only warn and ignore the option if not recognized
8170 # So say no if there are warnings other than the usual output.
8171 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8172 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8173 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8174 lt_cv_prog_compiler_rtti_exceptions
=yes
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8181 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8183 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8184 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8196 lt_prog_compiler_wl
=
8197 lt_prog_compiler_pic
=
8198 lt_prog_compiler_static
=
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8201 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8203 if test "$GCC" = yes; then
8204 lt_prog_compiler_wl
='-Wl,'
8205 lt_prog_compiler_static
='-static'
8209 # All AIX code is PIC.
8210 if test "$host_cpu" = ia64
; then
8211 # AIX 5 now supports IA64 processor
8212 lt_prog_compiler_static
='-Bstatic'
8219 # see comment about AmigaOS4 .so support
8220 lt_prog_compiler_pic
='-fPIC'
8223 # FIXME: we need at least 68020 code to build shared libraries, but
8224 # adding the `-m68020' flag to GCC prevents building anything better,
8226 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8231 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8232 # PIC is the default for these OSes.
8235 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8236 # This hack is so that the source file can tell whether it is being
8237 # built for inclusion in a dll (and should export symbols for example).
8238 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8239 # (--disable-auto-import) libraries
8240 lt_prog_compiler_pic
='-DDLL_EXPORT'
8243 darwin
* | rhapsody
*)
8244 # PIC is the default on this platform
8245 # Common symbols not allowed in MH_DYLIB files
8246 lt_prog_compiler_pic
='-fno-common'
8250 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8251 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8252 # sets the default TLS model and affects inlining.
8258 lt_prog_compiler_pic
='-fPIC'
8264 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8265 # Instead, we relocate shared libraries at runtime.
8269 # Just because we use GCC doesn't mean we suddenly get shared libraries
8270 # on systems that don't support them.
8271 lt_prog_compiler_can_build_shared
=no
8276 # QNX uses GNU C++, but need to define -shared option too, otherwise
8278 lt_prog_compiler_pic
='-fPIC -shared'
8282 if test -d /usr
/nec
; then
8283 lt_prog_compiler_pic
=-Kconform_pic
8288 lt_prog_compiler_pic
='-fPIC'
8292 # PORTME Check for flag to pass linker flags through the system compiler.
8295 lt_prog_compiler_wl
='-Wl,'
8296 if test "$host_cpu" = ia64
; then
8297 # AIX 5 now supports IA64 processor
8298 lt_prog_compiler_static
='-Bstatic'
8300 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8304 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8305 # This hack is so that the source file can tell whether it is being
8306 # built for inclusion in a dll (and should export symbols for example).
8307 lt_prog_compiler_pic
='-DDLL_EXPORT'
8310 hpux9
* | hpux10
* | hpux11
*)
8311 lt_prog_compiler_wl
='-Wl,'
8312 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8319 lt_prog_compiler_pic
='+Z'
8322 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8323 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8326 irix5
* | irix6
* | nonstopux
*)
8327 lt_prog_compiler_wl
='-Wl,'
8328 # PIC (with -KPIC) is the default.
8329 lt_prog_compiler_static
='-non_shared'
8332 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8333 case $cc_basename in
8334 # old Intel for x86_64 which still supported -KPIC.
8336 lt_prog_compiler_wl
='-Wl,'
8337 lt_prog_compiler_pic
='-KPIC'
8338 lt_prog_compiler_static
='-static'
8340 # icc used to be incompatible with GCC.
8341 # ICC 10 doesn't accept -KPIC any more.
8343 lt_prog_compiler_wl
='-Wl,'
8344 lt_prog_compiler_pic
='-fPIC'
8345 lt_prog_compiler_static
='-static'
8347 # Lahey Fortran 8.1.
8349 lt_prog_compiler_wl
='-Wl,'
8350 lt_prog_compiler_pic
='--shared'
8351 lt_prog_compiler_static
='--static'
8353 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8354 # Portland Group compilers (*not* the Pentium gcc compiler,
8355 # which looks to be a dead project)
8356 lt_prog_compiler_wl
='-Wl,'
8357 lt_prog_compiler_pic
='-fpic'
8358 lt_prog_compiler_static
='-Bstatic'
8361 lt_prog_compiler_wl
='-Wl,'
8362 # All Alpha code is PIC.
8363 lt_prog_compiler_static
='-non_shared'
8366 # IBM XL C 8.0/Fortran 10.1 on PPC
8367 lt_prog_compiler_wl
='-Wl,'
8368 lt_prog_compiler_pic
='-qpic'
8369 lt_prog_compiler_static
='-qstaticlink'
8372 case `$CC -V 2>&1 | sed 5q` in
8375 lt_prog_compiler_pic
='-KPIC'
8376 lt_prog_compiler_static
='-Bstatic'
8377 lt_prog_compiler_wl
='-Wl,'
8380 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8381 lt_prog_compiler_pic
='-KPIC'
8382 lt_prog_compiler_static
='-Bstatic'
8383 lt_prog_compiler_wl
=''
8391 lt_prog_compiler_pic
='-KPIC'
8392 lt_prog_compiler_static
='-Bstatic'
8396 # QNX uses GNU C++, but need to define -shared option too, otherwise
8398 lt_prog_compiler_pic
='-fPIC -shared'
8401 osf3
* | osf4
* | osf5
*)
8402 lt_prog_compiler_wl
='-Wl,'
8403 # All OSF/1 code is PIC.
8404 lt_prog_compiler_static
='-non_shared'
8408 lt_prog_compiler_static
='-non_shared'
8412 lt_prog_compiler_pic
='-KPIC'
8413 lt_prog_compiler_static
='-Bstatic'
8414 case $cc_basename in
8416 lt_prog_compiler_wl
='-Qoption ld ';;
8418 lt_prog_compiler_wl
='-Wl,';;
8423 lt_prog_compiler_wl
='-Qoption ld '
8424 lt_prog_compiler_pic
='-PIC'
8425 lt_prog_compiler_static
='-Bstatic'
8428 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8429 lt_prog_compiler_wl
='-Wl,'
8430 lt_prog_compiler_pic
='-KPIC'
8431 lt_prog_compiler_static
='-Bstatic'
8435 if test -d /usr
/nec
;then
8436 lt_prog_compiler_pic
='-Kconform_pic'
8437 lt_prog_compiler_static
='-Bstatic'
8441 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8442 lt_prog_compiler_wl
='-Wl,'
8443 lt_prog_compiler_pic
='-KPIC'
8444 lt_prog_compiler_static
='-Bstatic'
8448 lt_prog_compiler_wl
='-Wl,'
8449 lt_prog_compiler_can_build_shared
=no
8453 lt_prog_compiler_pic
='-pic'
8454 lt_prog_compiler_static
='-Bstatic'
8458 lt_prog_compiler_can_build_shared
=no
8464 # For platforms which do not support PIC, -DPIC is meaningless:
8466 lt_prog_compiler_pic
=
8469 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8473 $as_echo "$lt_prog_compiler_pic" >&6; }
8481 # Check to make sure the PIC flag actually works.
8483 if test -n "$lt_prog_compiler_pic"; then
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8485 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8486 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8487 $as_echo_n "(cached) " >&6
8489 lt_cv_prog_compiler_pic_works
=no
8490 ac_outfile
=conftest.
$ac_objext
8491 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8492 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8493 # Insert the option either (1) after the last *FLAGS variable, or
8494 # (2) before a word containing "conftest.", or (3) at the end.
8495 # Note that $ac_compile itself does not contain backslashes and begins
8496 # with a dollar sign (not a hyphen), so the echo should work correctly.
8497 # The option is referenced via a variable to avoid confusing sed.
8498 lt_compile
=`echo "$ac_compile" | $SED \
8499 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8500 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8501 -e 's:$: $lt_compiler_flag:'`
8502 (eval echo "\"\$as_me:8502: $lt_compile\"" >&5)
8503 (eval "$lt_compile" 2>conftest.err
)
8505 cat conftest.err
>&5
8506 echo "$as_me:8506: \$? = $ac_status" >&5
8507 if (exit $ac_status) && test -s "$ac_outfile"; then
8508 # The compiler can only warn and ignore the option if not recognized
8509 # So say no if there are warnings other than the usual output.
8510 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8511 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8512 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8513 lt_cv_prog_compiler_pic_works
=yes
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8520 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8522 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8523 case $lt_prog_compiler_pic in
8525 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8528 lt_prog_compiler_pic
=
8529 lt_prog_compiler_can_build_shared
=no
8540 # Check to make sure the static flag actually works.
8542 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8544 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8545 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8546 $as_echo_n "(cached) " >&6
8548 lt_cv_prog_compiler_static_works
=no
8549 save_LDFLAGS
="$LDFLAGS"
8550 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8551 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8552 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8553 # The linker can only warn and ignore the option if not recognized
8554 # So say no if there are warnings
8555 if test -s conftest.err
; then
8556 # Append any errors to the config.log.
8557 cat conftest.err
1>&5
8558 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8559 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8560 if diff conftest.exp conftest.er2
>/dev
/null
; then
8561 lt_cv_prog_compiler_static_works
=yes
8564 lt_cv_prog_compiler_static_works
=yes
8568 LDFLAGS
="$save_LDFLAGS"
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8572 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8574 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8577 lt_prog_compiler_static
=
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8587 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8588 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8589 $as_echo_n "(cached) " >&6
8591 lt_cv_prog_compiler_c_o
=no
8592 $RM -r conftest
2>/dev
/null
8596 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8598 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8599 # Insert the option either (1) after the last *FLAGS variable, or
8600 # (2) before a word containing "conftest.", or (3) at the end.
8601 # Note that $ac_compile itself does not contain backslashes and begins
8602 # with a dollar sign (not a hyphen), so the echo should work correctly.
8603 lt_compile
=`echo "$ac_compile" | $SED \
8604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8606 -e 's:$: $lt_compiler_flag:'`
8607 (eval echo "\"\$as_me:8607: $lt_compile\"" >&5)
8608 (eval "$lt_compile" 2>out
/conftest.err
)
8610 cat out
/conftest.err
>&5
8611 echo "$as_me:8611: \$? = $ac_status" >&5
8612 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8614 # The compiler can only warn and ignore the option if not recognized
8615 # So say no if there are warnings
8616 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8617 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8618 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8619 lt_cv_prog_compiler_c_o
=yes
8624 # SGI C++ compiler will create directory out/ii_files/ for
8625 # template instantiation
8626 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8627 $RM out
/* && rmdir out
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8634 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8642 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8643 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8644 $as_echo_n "(cached) " >&6
8646 lt_cv_prog_compiler_c_o
=no
8647 $RM -r conftest
2>/dev
/null
8651 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8653 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8654 # Insert the option either (1) after the last *FLAGS variable, or
8655 # (2) before a word containing "conftest.", or (3) at the end.
8656 # Note that $ac_compile itself does not contain backslashes and begins
8657 # with a dollar sign (not a hyphen), so the echo should work correctly.
8658 lt_compile
=`echo "$ac_compile" | $SED \
8659 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8660 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8661 -e 's:$: $lt_compiler_flag:'`
8662 (eval echo "\"\$as_me:8662: $lt_compile\"" >&5)
8663 (eval "$lt_compile" 2>out
/conftest.err
)
8665 cat out
/conftest.err
>&5
8666 echo "$as_me:8666: \$? = $ac_status" >&5
8667 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8669 # The compiler can only warn and ignore the option if not recognized
8670 # So say no if there are warnings
8671 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8672 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8673 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8674 lt_cv_prog_compiler_c_o
=yes
8679 # SGI C++ compiler will create directory out/ii_files/ for
8680 # template instantiation
8681 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8682 $RM out
/* && rmdir out
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8689 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8694 hard_links
="nottested"
8695 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8696 # do not overwrite the value of need_locks provided by the user
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8698 $as_echo_n "checking if we can lock with hard links... " >&6; }
8701 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8703 ln conftest.a conftest.b
2>&5 || hard_links
=no
8704 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8706 $as_echo "$hard_links" >&6; }
8707 if test "$hard_links" = no
; then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8709 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8722 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8725 allow_undefined_flag
=
8726 always_export_symbols
=no
8728 archive_expsym_cmds
=
8729 compiler_needs_object
=no
8730 enable_shared_with_static_runtimes
=no
8731 export_dynamic_flag_spec
=
8732 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8733 hardcode_automatic
=no
8735 hardcode_direct_absolute
=no
8736 hardcode_libdir_flag_spec
=
8737 hardcode_libdir_flag_spec_ld
=
8738 hardcode_libdir_separator
=
8740 hardcode_shlibpath_var
=unsupported
8742 link_all_deplibs
=unknown
8745 old_archive_from_new_cmds
=
8746 old_archive_from_expsyms_cmds
=
8747 thread_safe_flag_spec
=
8748 whole_archive_flag_spec
=
8749 # include_expsyms should be a list of space-separated symbols to be *always*
8750 # included in the symbol list
8752 # exclude_expsyms can be an extended regexp of symbols to exclude
8753 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8754 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8755 # as well as any symbol that contains `d'.
8756 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8757 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8758 # platforms (ab)use it in PIC code, but their linkers get confused if
8759 # the symbol is explicitly referenced. Since portable code cannot
8760 # rely on this symbol name, it's probably fine to never include it in
8761 # preloaded symbol tables.
8762 # Exclude shared library initialization/finalization symbols.
8763 extract_expsyms_cmds
=
8766 cygwin
* | mingw
* | pw32
* | cegcc
*)
8767 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8768 # When not using gcc, we currently assume that we are using
8769 # Microsoft Visual C++.
8770 if test "$GCC" != yes; then
8775 # we just hope/assume this is gcc and not c89 (= MSVC++)
8784 if test "$with_gnu_ld" = yes; then
8785 # If archive_cmds runs LD, not CC, wlarc should be empty
8788 # Set some defaults for GNU ld with shared library support. These
8789 # are reset later if shared libraries are not supported. Putting them
8790 # here allows them to be overridden if necessary.
8791 runpath_var
=LD_RUN_PATH
8792 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8793 export_dynamic_flag_spec
='${wl}--export-dynamic'
8794 # ancient GNU ld didn't support --whole-archive et. al.
8795 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8796 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8798 whole_archive_flag_spec
=
8800 supports_anon_versioning
=no
8801 case `$LD -v 2>&1` in
8802 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8803 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8804 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8805 *\
2.11.
*) ;; # other 2.11 versions
8806 *) supports_anon_versioning
=yes ;;
8809 # See if GNU ld supports shared libraries.
8812 # On AIX/PPC, the GNU linker is very broken
8813 if test "$host_cpu" != ia64
; then
8817 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8818 *** to be unable to reliably create shared libraries on AIX.
8819 *** Therefore, libtool is disabling shared libraries support. If you
8820 *** really care for shared libraries, you may want to modify your PATH
8821 *** so that a non-GNU linker is found, and then restart.
8830 # see comment about AmigaOS4 .so support
8831 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8832 archive_expsym_cmds
=''
8835 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)'
8836 hardcode_libdir_flag_spec
='-L$libdir'
8837 hardcode_minus_L
=yes
8843 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8844 allow_undefined_flag
=unsupported
8845 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8846 # support --undefined. This deserves some investigation. FIXME
8847 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8853 cygwin
* | mingw
* | pw32
* | cegcc
*)
8854 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8855 # as there is no search path for DLLs.
8856 hardcode_libdir_flag_spec
='-L$libdir'
8857 allow_undefined_flag
=unsupported
8858 always_export_symbols
=no
8859 enable_shared_with_static_runtimes
=yes
8860 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8862 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8863 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8864 # If the export-symbols file already is a .def file (1st line
8865 # is EXPORTS), use it as is; otherwise, prepend...
8866 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8867 cp $export_symbols $output_objdir/$soname.def;
8869 echo EXPORTS > $output_objdir/$soname.def;
8870 cat $export_symbols >> $output_objdir/$soname.def;
8872 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8880 hardcode_shlibpath_var
=no
8881 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8882 export_dynamic_flag_spec
='${wl}-E'
8883 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8884 # Instead, shared libraries are loaded at an image base (0x10000000 by
8885 # default) and relocated if they conflict, which is a slow very memory
8886 # consuming and fragmenting process. To avoid this, we pick a random,
8887 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8888 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8889 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8890 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'
8893 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8895 if test "$host_os" = linux-dietlibc
; then
8896 case $cc_basename in
8897 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8900 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8901 && test "$tmp_diet" = no
8904 tmp_sharedflag
='-shared'
8905 case $cc_basename,$host_cpu in
8906 pgcc
*) # Portland Group C compiler
8907 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8908 tmp_addflag
=' $pic_flag'
8910 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8911 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8912 tmp_addflag
=' $pic_flag -Mnomain' ;;
8913 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8914 tmp_addflag
=' -i_dynamic' ;;
8915 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8916 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8917 ifc
* | ifort
*) # Intel Fortran compiler
8918 tmp_addflag
=' -nofor_main' ;;
8919 lf95
*) # Lahey Fortran 8.1
8920 whole_archive_flag_spec
=
8921 tmp_sharedflag
='--shared' ;;
8922 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8923 tmp_sharedflag
='-qmkshrobj'
8926 case `$CC -V 2>&1 | sed 5q` in
8927 *Sun\ C
*) # Sun C 5.9
8928 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8929 compiler_needs_object
=yes
8930 tmp_sharedflag
='-G' ;;
8931 *Sun\ F
*) # Sun Fortran 8.3
8932 tmp_sharedflag
='-G' ;;
8934 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8936 if test "x$supports_anon_versioning" = xyes
; then
8937 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8939 echo "local: *; };" >> $output_objdir/$libname.ver~
8940 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8943 case $cc_basename in
8945 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8946 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8947 hardcode_libdir_flag_spec
=
8948 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8949 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8950 if test "x$supports_anon_versioning" = xyes
; then
8951 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8952 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8953 echo "local: *; };" >> $output_objdir/$libname.ver~
8954 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8964 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8965 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8968 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8969 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8974 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8978 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8979 *** create shared libraries on Solaris systems. Therefore, libtool
8980 *** is disabling shared libraries support. We urge you to upgrade GNU
8981 *** binutils to release 2.9.1 or newer. Another option is to modify
8982 *** your PATH or compiler configuration so that the native linker is
8983 *** used, and then restart.
8986 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8987 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8988 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8994 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8995 case `$LD -v 2>&1` in
8996 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9000 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9001 *** reliably create shared libraries on SCO systems. Therefore, libtool
9002 *** is disabling shared libraries support. We urge you to upgrade GNU
9003 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9004 *** your PATH or compiler configuration so that the native linker is
9005 *** used, and then restart.
9010 # For security reasons, it is highly recommended that you always
9011 # use absolute paths for naming shared libraries, and exclude the
9012 # DT_RUNPATH tag from executables and libraries. But doing so
9013 # requires that you compile everything twice, which is a pain.
9014 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9015 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9016 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9017 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9026 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9029 hardcode_shlibpath_var
=no
9033 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9034 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9042 if test "$ld_shlibs" = no
; then
9044 hardcode_libdir_flag_spec
=
9045 export_dynamic_flag_spec
=
9046 whole_archive_flag_spec
=
9049 # PORTME fill in a description of your system's linker (not GNU ld)
9052 allow_undefined_flag
=unsupported
9053 always_export_symbols
=yes
9054 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'
9055 # Note: this linker hardcodes the directories in LIBPATH if there
9056 # are no directories specified by -L.
9057 hardcode_minus_L
=yes
9058 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9059 # Neither direct hardcoding nor static linking is supported with a
9061 hardcode_direct
=unsupported
9066 if test "$host_cpu" = ia64
; then
9067 # On IA64, the linker does run time linking by default, so we don't
9068 # have to do anything special.
9069 aix_use_runtimelinking
=no
9070 exp_sym_flag
='-Bexport'
9073 # If we're using GNU nm, then we don't want the "-C" option.
9074 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9075 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9076 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9078 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9080 aix_use_runtimelinking
=no
9082 # Test if we are trying to use run time linking or normal
9083 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9084 # need to do runtime linking.
9085 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9086 for ld_flag
in $LDFLAGS; do
9087 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9088 aix_use_runtimelinking
=yes
9095 exp_sym_flag
='-bexport'
9096 no_entry_flag
='-bnoentry'
9099 # When large executables or shared objects are built, AIX ld can
9100 # have problems creating the table of contents. If linking a library
9101 # or program results in "error TOC overflow" add -mminimal-toc to
9102 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9103 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9107 hardcode_direct_absolute
=yes
9108 hardcode_libdir_separator
=':'
9109 link_all_deplibs
=yes
9110 file_list_spec
='${wl}-f,'
9112 if test "$GCC" = yes; then
9113 case $host_os in aix4.
[012]|aix4.
[012].
*)
9114 # We only want to do this on AIX 4.2 and lower, the check
9115 # below for broken collect2 doesn't work under 4.3+
9116 collect2name
=`${CC} -print-prog-name=collect2`
9117 if test -f "$collect2name" &&
9118 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9120 # We have reworked collect2
9123 # We have old collect2
9124 hardcode_direct
=unsupported
9125 # It fails to find uninstalled libraries when the uninstalled
9126 # path is not listed in the libpath. Setting hardcode_minus_L
9127 # to unsupported forces relinking
9128 hardcode_minus_L
=yes
9129 hardcode_libdir_flag_spec
='-L$libdir'
9130 hardcode_libdir_separator
=
9134 shared_flag
='-shared'
9135 if test "$aix_use_runtimelinking" = yes; then
9136 shared_flag
="$shared_flag "'${wl}-G'
9140 if test "$host_cpu" = ia64
; then
9141 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9142 # chokes on -Wl,-G. The following line is correct:
9145 if test "$aix_use_runtimelinking" = yes; then
9146 shared_flag
='${wl}-G'
9148 shared_flag
='${wl}-bM:SRE'
9153 export_dynamic_flag_spec
='${wl}-bexpall'
9154 # It seems that -bexpall does not export symbols beginning with
9155 # underscore (_), so it is better to generate a list of symbols to export.
9156 always_export_symbols
=yes
9157 if test "$aix_use_runtimelinking" = yes; then
9158 # Warning - without using the other runtime loading flags (-brtl),
9159 # -berok will link without error, but may produce a broken library.
9160 allow_undefined_flag
='-berok'
9161 # Determine the default libpath from the value encoded in an
9163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9164 /* end confdefs.h. */
9174 if ac_fn_c_try_link
"$LINENO"; then :
9176 lt_aix_libpath_sed
='
9177 /Import File Strings/,/^$/ {
9183 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9184 # Check for a 64-bit object if we didn't find anything.
9185 if test -z "$aix_libpath"; then
9186 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9189 rm -f core conftest.err conftest.
$ac_objext \
9190 conftest
$ac_exeext conftest.
$ac_ext
9191 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9193 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9194 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9196 if test "$host_cpu" = ia64
; then
9197 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9198 allow_undefined_flag
="-z nodefs"
9199 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"
9201 # Determine the default libpath from the value encoded in an
9203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9214 if ac_fn_c_try_link
"$LINENO"; then :
9216 lt_aix_libpath_sed
='
9217 /Import File Strings/,/^$/ {
9223 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9224 # Check for a 64-bit object if we didn't find anything.
9225 if test -z "$aix_libpath"; then
9226 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9229 rm -f core conftest.err conftest.
$ac_objext \
9230 conftest
$ac_exeext conftest.
$ac_ext
9231 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9233 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9234 # Warning - without using the other run time loading flags,
9235 # -berok will link without error, but may produce a broken library.
9236 no_undefined_flag
=' ${wl}-bernotok'
9237 allow_undefined_flag
=' ${wl}-berok'
9238 # Exported symbols can be pulled into shared objects from archives
9239 whole_archive_flag_spec
='$convenience'
9240 archive_cmds_need_lc
=yes
9241 # This is similar to how AIX traditionally builds its shared libraries.
9242 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'
9250 # see comment about AmigaOS4 .so support
9251 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9252 archive_expsym_cmds
=''
9255 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)'
9256 hardcode_libdir_flag_spec
='-L$libdir'
9257 hardcode_minus_L
=yes
9263 export_dynamic_flag_spec
=-rdynamic
9266 cygwin
* | mingw
* | pw32
* | cegcc
*)
9267 # When not using gcc, we currently assume that we are using
9268 # Microsoft Visual C++.
9269 # hardcode_libdir_flag_spec is actually meaningless, as there is
9270 # no search path for DLLs.
9271 hardcode_libdir_flag_spec
=' '
9272 allow_undefined_flag
=unsupported
9273 # Tell ltmain to make .lib files, not .a files.
9275 # Tell ltmain to make .dll files, not .so files.
9277 # FIXME: Setting linknames here is a bad hack.
9278 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9279 # The linker will automatically build a .lib file if we build a DLL.
9280 old_archive_from_new_cmds
='true'
9281 # FIXME: Should let the user specify the lib program.
9282 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9283 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9284 enable_shared_with_static_runtimes
=yes
9287 darwin
* | rhapsody
*)
9290 archive_cmds_need_lc
=no
9292 hardcode_automatic
=yes
9293 hardcode_shlibpath_var
=unsupported
9294 whole_archive_flag_spec
=''
9295 link_all_deplibs
=yes
9296 allow_undefined_flag
="$_lt_dar_allow_undefined"
9297 case $cc_basename in
9298 ifort
*) _lt_dar_can_shared
=yes ;;
9299 *) _lt_dar_can_shared
=$GCC ;;
9301 if test "$_lt_dar_can_shared" = "yes"; then
9302 output_verbose_link_cmd
=echo
9303 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9304 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9305 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}"
9306 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}"
9315 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9316 hardcode_libdir_flag_spec
='-L$libdir'
9317 hardcode_shlibpath_var
=no
9324 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9325 # support. Future versions do this automatically, but an explicit c++rt0.o
9326 # does not break anything, and helps significantly (at the cost of a little
9329 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9330 hardcode_libdir_flag_spec
='-R$libdir'
9332 hardcode_shlibpath_var
=no
9335 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9337 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9339 hardcode_minus_L
=yes
9340 hardcode_shlibpath_var
=no
9343 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9344 freebsd
* | dragonfly
*)
9345 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9346 hardcode_libdir_flag_spec
='-R$libdir'
9348 hardcode_shlibpath_var
=no
9352 if test "$GCC" = yes; then
9353 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'
9355 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'
9357 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9358 hardcode_libdir_separator
=:
9361 # hardcode_minus_L: Not really in the search PATH,
9362 # but as the default location of the library.
9363 hardcode_minus_L
=yes
9364 export_dynamic_flag_spec
='${wl}-E'
9368 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9369 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9371 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9373 if test "$with_gnu_ld" = no
; then
9374 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9375 hardcode_libdir_flag_spec_ld
='+b $libdir'
9376 hardcode_libdir_separator
=:
9378 hardcode_direct_absolute
=yes
9379 export_dynamic_flag_spec
='${wl}-E'
9380 # hardcode_minus_L: Not really in the search PATH,
9381 # but as the default location of the library.
9382 hardcode_minus_L
=yes
9387 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9390 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9393 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9396 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9402 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9405 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9408 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9412 if test "$with_gnu_ld" = no
; then
9413 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9414 hardcode_libdir_separator
=:
9419 hardcode_shlibpath_var
=no
9423 hardcode_direct_absolute
=yes
9424 export_dynamic_flag_spec
='${wl}-E'
9426 # hardcode_minus_L: Not really in the search PATH,
9427 # but as the default location of the library.
9428 hardcode_minus_L
=yes
9434 irix5
* | irix6
* | nonstopux
*)
9435 if test "$GCC" = yes; then
9436 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9437 # Try to use the -exported_symbol ld option, if it does not
9438 # work, assume that -exports_file does not work either and
9439 # implicitly export all symbols.
9440 save_LDFLAGS
="$LDFLAGS"
9441 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9446 if ac_fn_c_try_link
"$LINENO"; then :
9447 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9450 rm -f core conftest.err conftest.
$ac_objext \
9451 conftest
$ac_exeext conftest.
$ac_ext
9452 LDFLAGS
="$save_LDFLAGS"
9454 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9455 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9457 archive_cmds_need_lc
='no'
9458 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9459 hardcode_libdir_separator
=:
9461 link_all_deplibs
=yes
9465 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9466 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9468 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9470 hardcode_libdir_flag_spec
='-R$libdir'
9472 hardcode_shlibpath_var
=no
9476 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9478 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9479 hardcode_libdir_separator
=:
9480 hardcode_shlibpath_var
=no
9487 if test -f /usr
/libexec
/ld.so
; then
9489 hardcode_shlibpath_var
=no
9490 hardcode_direct_absolute
=yes
9491 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9492 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9494 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9495 export_dynamic_flag_spec
='${wl}-E'
9498 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9499 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9500 hardcode_libdir_flag_spec
='-R$libdir'
9503 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9504 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9514 hardcode_libdir_flag_spec
='-L$libdir'
9515 hardcode_minus_L
=yes
9516 allow_undefined_flag
=unsupported
9517 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'
9518 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9522 if test "$GCC" = yes; then
9523 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9524 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9526 allow_undefined_flag
=' -expect_unresolved \*'
9527 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9529 archive_cmds_need_lc
='no'
9530 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9531 hardcode_libdir_separator
=:
9534 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9535 if test "$GCC" = yes; then
9536 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9537 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9538 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9540 allow_undefined_flag
=' -expect_unresolved \*'
9541 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9542 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~
9543 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9545 # Both c and cxx compiler support -rpath directly
9546 hardcode_libdir_flag_spec
='-rpath $libdir'
9548 archive_cmds_need_lc
='no'
9549 hardcode_libdir_separator
=:
9553 no_undefined_flag
=' -z defs'
9554 if test "$GCC" = yes; then
9556 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9558 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9560 case `$CC -V 2>&1` in
9563 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9564 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9565 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9569 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9570 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9571 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9575 hardcode_libdir_flag_spec
='-R$libdir'
9576 hardcode_shlibpath_var
=no
9578 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9580 # The compiler driver will combine and reorder linker options,
9581 # but understands `-z linker_flag'. GCC discards it without `$wl',
9582 # but is careful enough not to reorder.
9583 # Supported since Solaris 2.6 (maybe 2.5.1?)
9584 if test "$GCC" = yes; then
9585 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9587 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9591 link_all_deplibs
=yes
9595 if test "x$host_vendor" = xsequent
; then
9596 # Use $CC to link under sequent, because it throws in some extra .o
9597 # files that make .init and .fini sections work.
9598 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9600 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9602 hardcode_libdir_flag_spec
='-L$libdir'
9604 hardcode_minus_L
=yes
9605 hardcode_shlibpath_var
=no
9609 case $host_vendor in
9611 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9612 hardcode_direct
=yes # is this really true???
9615 ## LD is ld it makes a PLAMLIB
9616 ## CC just makes a GrossModule.
9617 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9618 reload_cmds
='$CC -r -o $output$reload_objs'
9622 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9623 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9626 runpath_var
='LD_RUN_PATH'
9627 hardcode_shlibpath_var
=no
9631 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9632 hardcode_shlibpath_var
=no
9633 export_dynamic_flag_spec
='-Bexport'
9637 if test -d /usr
/nec
; then
9638 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9639 hardcode_shlibpath_var
=no
9640 runpath_var
=LD_RUN_PATH
9641 hardcode_runpath_var
=yes
9646 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9647 no_undefined_flag
='${wl}-z,text'
9648 archive_cmds_need_lc
=no
9649 hardcode_shlibpath_var
=no
9650 runpath_var
='LD_RUN_PATH'
9652 if test "$GCC" = yes; then
9653 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9654 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9656 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9657 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9661 sysv5
* | sco3.2v5
* | sco5v6
*)
9662 # Note: We can NOT use -z defs as we might desire, because we do not
9663 # link with -lc, and that would cause any symbols used from libc to
9664 # always be unresolved, which means just about no library would
9665 # ever link correctly. If we're not using GNU ld we use -z text
9666 # though, which does catch some bad symbols but isn't as heavy-handed
9668 no_undefined_flag
='${wl}-z,text'
9669 allow_undefined_flag
='${wl}-z,nodefs'
9670 archive_cmds_need_lc
=no
9671 hardcode_shlibpath_var
=no
9672 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9673 hardcode_libdir_separator
=':'
9674 link_all_deplibs
=yes
9675 export_dynamic_flag_spec
='${wl}-Bexport'
9676 runpath_var
='LD_RUN_PATH'
9678 if test "$GCC" = yes; then
9679 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9680 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9682 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9683 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9688 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_libdir_flag_spec
='-L$libdir'
9690 hardcode_shlibpath_var
=no
9698 if test x
$host_vendor = xsni
; then
9700 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9701 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9708 $as_echo "$ld_shlibs" >&6; }
9709 test "$ld_shlibs" = no
&& can_build_shared
=no
9711 with_gnu_ld
=$with_gnu_ld
9728 # Do we need to explicitly link libc?
9730 case "x$archive_cmds_need_lc" in
9732 # Assume -lc should be added
9733 archive_cmds_need_lc
=yes
9735 if test "$enable_shared" = yes && test "$GCC" = yes; then
9736 case $archive_cmds in
9738 # FIXME: we may have to deal with multi-command sequences.
9741 # Test whether the compiler implicitly links with -lc since on some
9742 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9743 # to ld, don't add -lc before -lgcc.
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9745 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9746 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9747 $as_echo_n "(cached) " >&6
9750 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9753 (eval $ac_compile) 2>&5
9755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9756 test $ac_status = 0; } 2>conftest.err
; then
9759 libobjs
=conftest.
$ac_objext
9761 wl
=$lt_prog_compiler_wl
9762 pic_flag
=$lt_prog_compiler_pic
9768 lt_save_allow_undefined_flag
=$allow_undefined_flag
9769 allow_undefined_flag
=
9770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9771 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9774 test $ac_status = 0; }
9776 lt_cv_archive_cmds_need_lc
=no
9778 lt_cv_archive_cmds_need_lc
=yes
9780 allow_undefined_flag
=$lt_save_allow_undefined_flag
9782 cat conftest.err
1>&5
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9788 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9789 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9953 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9955 if test "$GCC" = yes; then
9957 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9958 *) lt_awk_arg
="/^libraries:/" ;;
9960 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9961 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9962 # if the path contains ";" then we assume it to be the separator
9963 # otherwise default to the standard path separator (i.e. ":") - it is
9964 # assumed that no part of a normal pathname contains ";" but that should
9965 # okay in the real world where ";" in dirpaths is itself problematic.
9966 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9968 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9970 # Ok, now we have the path, separated by spaces, we can step through it
9971 # and add multilib dir if necessary.
9972 lt_tmp_lt_search_path_spec
=
9973 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9974 for lt_sys_path
in $lt_search_path_spec; do
9975 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9976 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9978 test -d "$lt_sys_path" && \
9979 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9982 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9983 BEGIN {RS=" "; FS="/|\n";} {
9986 for (lt_i = NF; lt_i > 0; lt_i--) {
9987 if ($lt_i != "" && $lt_i != ".") {
9988 if ($lt_i == "..") {
9991 if (lt_count == 0) {
9992 lt_foo="/" $lt_i lt_foo;
9999 if (lt_foo != "") { lt_freq[lt_foo]++; }
10000 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10002 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10004 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10006 library_names_spec
=
10007 libname_spec
='lib$name'
10011 postuninstall_cmds
=
10015 shlibpath_overrides_runpath
=unknown
10017 dynamic_linker
="$host_os ld.so"
10018 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10019 need_lib_prefix
=unknown
10020 hardcode_into_libs
=no
10022 # when you set need_version to no, make sure it does not cause -set_version
10023 # flags to be left without arguments
10024 need_version
=unknown
10029 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10030 shlibpath_var
=LIBPATH
10032 # AIX 3 has no versioning support, so we append a major version to the name.
10033 soname_spec
='${libname}${release}${shared_ext}$major'
10040 hardcode_into_libs
=yes
10041 if test "$host_cpu" = ia64
; then
10042 # AIX 5 supports IA64
10043 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10044 shlibpath_var
=LD_LIBRARY_PATH
10046 # With GCC up to 2.95.x, collect2 would create an import file
10047 # for dependence libraries. The import file would start with
10048 # the line `#! .'. This would cause the generated library to
10049 # depend on `.', always an invalid library. This was fixed in
10050 # development snapshots of GCC prior to 3.0.
10052 aix4 | aix4.
[01] | aix4.
[01].
*)
10053 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10055 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10058 can_build_shared
=no
10062 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10063 # soname into executable. Probably we can add versioning support to
10064 # collect2, so additional links can be useful in future.
10065 if test "$aix_use_runtimelinking" = yes; then
10066 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10067 # instead of lib<name>.a to let people know that these are not
10068 # typical AIX shared libraries.
10069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10071 # We preserve .a as extension for shared libraries through AIX4.2
10072 # and later when we are not doing run time linking.
10073 library_names_spec
='${libname}${release}.a $libname.a'
10074 soname_spec
='${libname}${release}${shared_ext}$major'
10076 shlibpath_var
=LIBPATH
10083 # Since July 2007 AmigaOS4 officially supports .so libraries.
10084 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10088 library_names_spec
='$libname.ixlibrary $libname.a'
10089 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10090 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10096 library_names_spec
='${libname}${shared_ext}'
10097 dynamic_linker
="$host_os ld.so"
10098 shlibpath_var
=LIBRARY_PATH
10104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10105 soname_spec
='${libname}${release}${shared_ext}$major'
10106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10107 shlibpath_var
=LD_LIBRARY_PATH
10108 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10109 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10110 # the default ld.so.conf also contains /usr/contrib/lib and
10111 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10112 # libtool to hard-code these into programs
10115 cygwin
* | mingw
* | pw32
* | cegcc
*)
10116 version_type
=windows
10121 case $GCC,$host_os in
10122 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10123 library_names_spec
='$libname.dll.a'
10124 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10125 postinstall_cmds
='base_file=`basename \${file}`~
10126 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10127 dldir=$destdir/`dirname \$dlpath`~
10128 test -d \$dldir || mkdir -p \$dldir~
10129 $install_prog $dir/$dlname \$dldir/$dlname~
10130 chmod a+x \$dldir/$dlname~
10131 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10132 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10134 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10135 dlpath=$dir/\$dldll~
10137 shlibpath_overrides_runpath
=yes
10141 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10142 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10143 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10146 # MinGW DLLs use traditional 'lib' prefix
10147 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10148 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10149 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10150 # It is most probably a Windows format PATH printed by
10151 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10152 # path with ; separators, and with drive letters. We can handle the
10153 # drive letters (cygwin fileutils understands them), so leave them,
10154 # especially as we might pass files found there to a mingw objdump,
10155 # which wouldn't understand a cygwinified path. Ahh.
10156 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10158 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10162 # pw32 DLLs use 'pw' prefix rather than 'lib'
10163 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10169 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10172 dynamic_linker
='Win32 ld.exe'
10173 # FIXME: first we should search . and the directory the executable is in
10177 darwin
* | rhapsody
*)
10178 dynamic_linker
="$host_os dyld"
10179 version_type
=darwin
10182 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10183 soname_spec
='${libname}${release}${major}$shared_ext'
10184 shlibpath_overrides_runpath
=yes
10185 shlibpath_var
=DYLD_LIBRARY_PATH
10186 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10188 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10189 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10197 soname_spec
='${libname}${release}${shared_ext}$major'
10198 shlibpath_var
=LD_LIBRARY_PATH
10205 freebsd
* | dragonfly
*)
10206 # DragonFly does not have aout. When/if they implement a new
10207 # versioning mechanism, adjust this.
10208 if test -x /usr
/bin
/objformat
; then
10209 objformat
=`/usr/bin/objformat`
10212 freebsd
[123]*) objformat
=aout
;;
10213 *) objformat
=elf
;;
10216 version_type
=freebsd-
$objformat
10217 case $version_type in
10219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10224 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10228 shlibpath_var
=LD_LIBRARY_PATH
10231 shlibpath_overrides_runpath
=yes
10233 freebsd3.
[01]* | freebsdelf3.
[01]*)
10234 shlibpath_overrides_runpath
=yes
10235 hardcode_into_libs
=yes
10237 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10238 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10239 shlibpath_overrides_runpath
=no
10240 hardcode_into_libs
=yes
10242 *) # from 4.6 on, and DragonFly
10243 shlibpath_overrides_runpath
=yes
10244 hardcode_into_libs
=yes
10253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10254 soname_spec
='${libname}${release}${shared_ext}$major'
10255 shlibpath_var
=LD_LIBRARY_PATH
10256 hardcode_into_libs
=yes
10259 hpux9
* | hpux10
* | hpux11
*)
10260 # Give a soname corresponding to the major version so that dld.sl refuses to
10261 # link against other versions.
10268 hardcode_into_libs
=yes
10269 dynamic_linker
="$host_os dld.so"
10270 shlibpath_var
=LD_LIBRARY_PATH
10271 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10273 soname_spec
='${libname}${release}${shared_ext}$major'
10274 if test "X$HPUX_IA64_MODE" = X32
; then
10275 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10277 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10279 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10283 hardcode_into_libs
=yes
10284 dynamic_linker
="$host_os dld.sl"
10285 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10286 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10288 soname_spec
='${libname}${release}${shared_ext}$major'
10289 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10290 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10294 dynamic_linker
="$host_os dld.sl"
10295 shlibpath_var
=SHLIB_PATH
10296 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10298 soname_spec
='${libname}${release}${shared_ext}$major'
10301 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10302 postinstall_cmds
='chmod 555 $lib'
10309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10310 soname_spec
='${libname}${release}${shared_ext}$major'
10311 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10312 shlibpath_var
=LD_LIBRARY_PATH
10313 shlibpath_overrides_runpath
=no
10314 hardcode_into_libs
=yes
10317 irix5
* | irix6
* | nonstopux
*)
10319 nonstopux
*) version_type
=nonstopux
;;
10321 if test "$lt_cv_prog_gnu_ld" = yes; then
10329 soname_spec
='${libname}${release}${shared_ext}$major'
10330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10332 irix5
* | nonstopux
*)
10333 libsuff
= shlibsuff
=
10336 case $LD in # libtool.m4 will add one of these switches to LD
10337 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10338 libsuff
= shlibsuff
= libmagic
=32-bit;;
10339 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10340 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10341 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10342 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10343 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10347 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10348 shlibpath_overrides_runpath
=no
10349 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10350 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10351 hardcode_into_libs
=yes
10354 # No shared lib support for Linux oldld, aout, or coff.
10355 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10359 # This must be Linux ELF.
10360 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365 soname_spec
='${libname}${release}${shared_ext}$major'
10366 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10367 shlibpath_var
=LD_LIBRARY_PATH
10368 shlibpath_overrides_runpath
=no
10370 # Some binutils ld are patched to set DT_RUNPATH
10371 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10372 $as_echo_n "(cached) " >&6
10374 lt_cv_shlibpath_overrides_runpath
=no
10375 save_LDFLAGS
=$LDFLAGS
10376 save_libdir
=$libdir
10377 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10378 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10390 if ac_fn_c_try_link
"$LINENO"; then :
10391 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10392 lt_cv_shlibpath_overrides_runpath
=yes
10395 rm -f core conftest.err conftest.
$ac_objext \
10396 conftest
$ac_exeext conftest.
$ac_ext
10397 LDFLAGS
=$save_LDFLAGS
10398 libdir
=$save_libdir
10402 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10404 # This implies no fast_install, which is unacceptable.
10405 # Some rework will be needed to allow for fast_install
10406 # before this can be enabled.
10407 hardcode_into_libs
=yes
10409 # Append ld.so.conf contents to the search path
10410 if test -f /etc
/ld.so.conf
; then
10411 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;/^$/d' | tr '\n' ' '`
10412 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10415 # We used to test for /lib/ld.so.1 and disable shared libraries on
10416 # powerpc, because MkLinux only supported shared libraries with the
10417 # GNU dynamic linker. Since this was broken with cross compilers,
10418 # most powerpc-linux boxes support dynamic linking these days and
10419 # people can always --disable-shared, the test was removed, and we
10420 # assume the GNU/Linux dynamic linker is in use.
10421 dynamic_linker
='GNU/Linux ld.so'
10428 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10430 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10431 dynamic_linker
='NetBSD (a.out) ld.so'
10433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10434 soname_spec
='${libname}${release}${shared_ext}$major'
10435 dynamic_linker
='NetBSD ld.elf_so'
10437 shlibpath_var
=LD_LIBRARY_PATH
10438 shlibpath_overrides_runpath
=yes
10439 hardcode_into_libs
=yes
10444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 shlibpath_var
=LD_LIBRARY_PATH
10446 shlibpath_overrides_runpath
=yes
10453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10454 soname_spec
='${libname}${release}${shared_ext}$major'
10455 shlibpath_var
=LD_LIBRARY_PATH
10456 shlibpath_overrides_runpath
=no
10457 hardcode_into_libs
=yes
10458 dynamic_linker
='ldqnx.so'
10463 sys_lib_dlsearch_path_spec
="/usr/lib"
10465 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10467 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10468 *) need_version
=no
;;
10470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10471 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10472 shlibpath_var
=LD_LIBRARY_PATH
10473 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10475 openbsd2.
[89] | openbsd2.
[89].
*)
10476 shlibpath_overrides_runpath
=no
10479 shlibpath_overrides_runpath
=yes
10483 shlibpath_overrides_runpath
=yes
10488 libname_spec
='$name'
10491 library_names_spec
='$libname${shared_ext} $libname.a'
10492 dynamic_linker
='OS/2 ld.exe'
10493 shlibpath_var
=LIBPATH
10496 osf3
* | osf4
* | osf5
*)
10500 soname_spec
='${libname}${release}${shared_ext}$major'
10501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10502 shlibpath_var
=LD_LIBRARY_PATH
10503 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10504 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10516 soname_spec
='${libname}${release}${shared_ext}$major'
10517 shlibpath_var
=LD_LIBRARY_PATH
10518 shlibpath_overrides_runpath
=yes
10519 hardcode_into_libs
=yes
10520 # ldd complains unless libraries are executable
10521 postinstall_cmds
='chmod +x $lib'
10526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10527 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10528 shlibpath_var
=LD_LIBRARY_PATH
10529 shlibpath_overrides_runpath
=yes
10530 if test "$with_gnu_ld" = yes; then
10538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10539 soname_spec
='${libname}${release}${shared_ext}$major'
10540 shlibpath_var
=LD_LIBRARY_PATH
10541 case $host_vendor in
10543 shlibpath_overrides_runpath
=no
10545 runpath_var
=LD_RUN_PATH
10553 shlibpath_overrides_runpath
=no
10554 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10560 if test -d /usr
/nec
;then
10562 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10563 soname_spec
='$libname${shared_ext}.$major'
10564 shlibpath_var
=LD_LIBRARY_PATH
10568 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10569 version_type
=freebsd-elf
10572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10573 soname_spec
='${libname}${release}${shared_ext}$major'
10574 shlibpath_var
=LD_LIBRARY_PATH
10575 shlibpath_overrides_runpath
=yes
10576 hardcode_into_libs
=yes
10577 if test "$with_gnu_ld" = yes; then
10578 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10580 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10583 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10587 sys_lib_dlsearch_path_spec
='/usr/lib'
10591 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596 shlibpath_var
=LD_LIBRARY_PATH
10597 shlibpath_overrides_runpath
=no
10598 hardcode_into_libs
=yes
10603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10604 soname_spec
='${libname}${release}${shared_ext}$major'
10605 shlibpath_var
=LD_LIBRARY_PATH
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10613 $as_echo "$dynamic_linker" >&6; }
10614 test "$dynamic_linker" = no
&& can_build_shared
=no
10616 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10617 if test "$GCC" = yes; then
10618 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10621 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10622 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10624 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10625 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10715 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10717 if test -n "$hardcode_libdir_flag_spec" ||
10718 test -n "$runpath_var" ||
10719 test "X$hardcode_automatic" = "Xyes" ; then
10721 # We can hardcode non-existent directories.
10722 if test "$hardcode_direct" != no
&&
10723 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10724 # have to relink, otherwise we might link with an installed library
10725 # when we should be linking with a yet-to-be-installed one
10726 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10727 test "$hardcode_minus_L" != no
; then
10728 # Linking always hardcodes the temporary library directory.
10729 hardcode_action
=relink
10731 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10732 hardcode_action
=immediate
10735 # We cannot hardcode anything, or else we can only hardcode existing
10737 hardcode_action
=unsupported
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10740 $as_echo "$hardcode_action" >&6; }
10742 if test "$hardcode_action" = relink ||
10743 test "$inherit_rpath" = yes; then
10744 # Fast installation is not supported
10745 enable_fast_install
=no
10746 elif test "$shlibpath_overrides_runpath" = yes ||
10747 test "$enable_shared" = no
; then
10748 # Fast installation is not necessary
10749 enable_fast_install
=needless
10757 if test "x$enable_dlopen" != xyes
; then
10758 enable_dlopen
=unknown
10759 enable_dlopen_self
=unknown
10760 enable_dlopen_self_static
=unknown
10767 lt_cv_dlopen
="load_add_on"
10769 lt_cv_dlopen_self
=yes
10772 mingw
* | pw32
* | cegcc
*)
10773 lt_cv_dlopen
="LoadLibrary"
10778 lt_cv_dlopen
="dlopen"
10783 # if libdl is installed we need to link against it
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10785 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10786 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10787 $as_echo_n "(cached) " >&6
10789 ac_check_lib_save_LIBS
=$LIBS
10791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10809 if ac_fn_c_try_link
"$LINENO"; then :
10810 ac_cv_lib_dl_dlopen
=yes
10812 ac_cv_lib_dl_dlopen
=no
10814 rm -f core conftest.err conftest.
$ac_objext \
10815 conftest
$ac_exeext conftest.
$ac_ext
10816 LIBS
=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10819 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10820 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10821 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10824 lt_cv_dlopen
="dyld"
10826 lt_cv_dlopen_self
=yes
10833 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10834 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10835 lt_cv_dlopen
="shl_load"
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10838 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10839 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10840 $as_echo_n "(cached) " >&6
10842 ac_check_lib_save_LIBS
=$LIBS
10844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10847 /* Override any GCC internal prototype to avoid an error.
10848 Use char because int might match the return type of a GCC
10849 builtin and then its argument prototype would still apply. */
10857 return shl_load ();
10862 if ac_fn_c_try_link
"$LINENO"; then :
10863 ac_cv_lib_dld_shl_load
=yes
10865 ac_cv_lib_dld_shl_load
=no
10867 rm -f core conftest.err conftest.
$ac_objext \
10868 conftest
$ac_exeext conftest.
$ac_ext
10869 LIBS
=$ac_check_lib_save_LIBS
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10872 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10873 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10874 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10876 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10877 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10878 lt_cv_dlopen
="dlopen"
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10881 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10882 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10883 $as_echo_n "(cached) " >&6
10885 ac_check_lib_save_LIBS
=$LIBS
10887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10890 /* Override any GCC internal prototype to avoid an error.
10891 Use char because int might match the return type of a GCC
10892 builtin and then its argument prototype would still apply. */
10905 if ac_fn_c_try_link
"$LINENO"; then :
10906 ac_cv_lib_dl_dlopen
=yes
10908 ac_cv_lib_dl_dlopen
=no
10910 rm -f core conftest.err conftest.
$ac_objext \
10911 conftest
$ac_exeext conftest.
$ac_ext
10912 LIBS
=$ac_check_lib_save_LIBS
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10915 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10916 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10917 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10920 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10921 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10922 $as_echo_n "(cached) " >&6
10924 ac_check_lib_save_LIBS
=$LIBS
10925 LIBS
="-lsvld $LIBS"
10926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10929 /* Override any GCC internal prototype to avoid an error.
10930 Use char because int might match the return type of a GCC
10931 builtin and then its argument prototype would still apply. */
10944 if ac_fn_c_try_link
"$LINENO"; then :
10945 ac_cv_lib_svld_dlopen
=yes
10947 ac_cv_lib_svld_dlopen
=no
10949 rm -f core conftest.err conftest.
$ac_objext \
10950 conftest
$ac_exeext conftest.
$ac_ext
10951 LIBS
=$ac_check_lib_save_LIBS
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10954 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10955 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10956 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10959 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10960 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10961 $as_echo_n "(cached) " >&6
10963 ac_check_lib_save_LIBS
=$LIBS
10965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10978 return dld_link ();
10983 if ac_fn_c_try_link
"$LINENO"; then :
10984 ac_cv_lib_dld_dld_link
=yes
10986 ac_cv_lib_dld_dld_link
=no
10988 rm -f core conftest.err conftest.
$ac_objext \
10989 conftest
$ac_exeext conftest.
$ac_ext
10990 LIBS
=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10993 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10994 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10995 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11016 if test "x$lt_cv_dlopen" != xno
; then
11022 case $lt_cv_dlopen in
11024 save_CPPFLAGS
="$CPPFLAGS"
11025 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11027 save_LDFLAGS
="$LDFLAGS"
11028 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11031 LIBS
="$lt_cv_dlopen_libs $LIBS"
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11034 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11035 if test "${lt_cv_dlopen_self+set}" = set; then :
11036 $as_echo_n "(cached) " >&6
11038 if test "$cross_compiling" = yes; then :
11039 lt_cv_dlopen_self
=cross
11041 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11042 lt_status
=$lt_dlunknown
11043 cat > conftest.
$ac_ext <<_LT_EOF
11044 #line 11044 "configure"
11045 #include "confdefs.h"
11054 # define LT_DLGLOBAL RTLD_GLOBAL
11057 # define LT_DLGLOBAL DL_GLOBAL
11059 # define LT_DLGLOBAL 0
11063 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11064 find out it does not work in some platform. */
11065 #ifndef LT_DLLAZY_OR_NOW
11067 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11070 # define LT_DLLAZY_OR_NOW DL_LAZY
11073 # define LT_DLLAZY_OR_NOW RTLD_NOW
11076 # define LT_DLLAZY_OR_NOW DL_NOW
11078 # define LT_DLLAZY_OR_NOW 0
11085 void fnord() { int i=42;}
11088 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11089 int status = $lt_dlunknown;
11093 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11094 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11095 /* dlclose (self); */
11103 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11104 (eval $ac_link) 2>&5
11106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11107 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11108 (.
/conftest
; exit; ) >&5 2>/dev
/null
11110 case x
$lt_status in
11111 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11112 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11113 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11116 # compilation failed
11117 lt_cv_dlopen_self
=no
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11125 $as_echo "$lt_cv_dlopen_self" >&6; }
11127 if test "x$lt_cv_dlopen_self" = xyes
; then
11128 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11130 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11131 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11132 $as_echo_n "(cached) " >&6
11134 if test "$cross_compiling" = yes; then :
11135 lt_cv_dlopen_self_static
=cross
11137 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11138 lt_status
=$lt_dlunknown
11139 cat > conftest.
$ac_ext <<_LT_EOF
11140 #line 11140 "configure"
11141 #include "confdefs.h"
11150 # define LT_DLGLOBAL RTLD_GLOBAL
11153 # define LT_DLGLOBAL DL_GLOBAL
11155 # define LT_DLGLOBAL 0
11159 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11160 find out it does not work in some platform. */
11161 #ifndef LT_DLLAZY_OR_NOW
11163 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11166 # define LT_DLLAZY_OR_NOW DL_LAZY
11169 # define LT_DLLAZY_OR_NOW RTLD_NOW
11172 # define LT_DLLAZY_OR_NOW DL_NOW
11174 # define LT_DLLAZY_OR_NOW 0
11181 void fnord() { int i=42;}
11184 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11185 int status = $lt_dlunknown;
11189 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11190 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11191 /* dlclose (self); */
11199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11200 (eval $ac_link) 2>&5
11202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11203 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11204 (.
/conftest
; exit; ) >&5 2>/dev
/null
11206 case x
$lt_status in
11207 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11208 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11209 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11212 # compilation failed
11213 lt_cv_dlopen_self_static
=no
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11221 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11224 CPPFLAGS
="$save_CPPFLAGS"
11225 LDFLAGS
="$save_LDFLAGS"
11230 case $lt_cv_dlopen_self in
11231 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11232 *) enable_dlopen_self
=unknown
;;
11235 case $lt_cv_dlopen_self_static in
11236 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11237 *) enable_dlopen_self_static
=unknown
;;
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11260 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11261 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11262 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11263 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11265 $as_echo "yes" >&6; }
11267 # FIXME - insert some real tests, host_os isn't really good enough
11270 if test -n "$STRIP" ; then
11271 striplib
="$STRIP -x"
11272 old_striplib
="$STRIP -S"
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11274 $as_echo "yes" >&6; }
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11277 $as_echo "no" >&6; }
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11282 $as_echo "no" >&6; }
11298 # Report which library types will actually be built
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11300 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11302 $as_echo "$can_build_shared" >&6; }
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11305 $as_echo_n "checking whether to build shared libraries... " >&6; }
11306 test "$can_build_shared" = "no" && enable_shared
=no
11308 # On AIX, shared libraries and static libraries use the same namespace, and
11309 # are all built from PIC.
11312 test "$enable_shared" = yes && enable_static
=no
11313 if test -n "$RANLIB"; then
11314 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11315 postinstall_cmds
='$RANLIB $lib'
11320 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11321 test "$enable_shared" = yes && enable_static
=no
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11326 $as_echo "$enable_shared" >&6; }
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11329 $as_echo_n "checking whether to build static libraries... " >&6; }
11330 # Make sure either enable_shared or enable_static is yes.
11331 test "$enable_shared" = yes || enable_static
=yes
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11333 $as_echo "$enable_static" >&6; }
11340 ac_cpp
='$CPP $CPPFLAGS'
11341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11359 ac_config_commands
="$ac_config_commands libtool"
11364 # Only expand once:
11368 # Check whether --enable-targets was given.
11369 if test "${enable_targets+set}" = set; then :
11370 enableval
=$enable_targets; case "${enableval}" in
11371 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11373 no
) enable_targets
= ;;
11374 *) enable_targets
=$enableval ;;
11379 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11381 # Check whether --enable-werror was given.
11382 if test "${enable_werror+set}" = set; then :
11383 enableval
=$enable_werror; case "${enableval}" in
11384 yes | y
) ERROR_ON_WARNING
="yes" ;;
11385 no | n
) ERROR_ON_WARNING
="no" ;;
11386 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11391 # Enable -Wno-format by default when using gcc on mingw
11394 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11395 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11401 # Enable -Werror by default when using gcc
11402 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11403 ERROR_ON_WARNING
=yes
11407 if test "${ERROR_ON_WARNING}" = yes ; then
11408 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11409 NO_WERROR
="-Wno-error"
11412 if test "${GCC}" = yes ; then
11413 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
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 no
) if test "${GCC}" = yes ; then
11423 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11424 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
11425 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11426 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
11427 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11432 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11433 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11440 ac_config_headers
="$ac_config_headers config.h:config.in"
11443 if test -z "$target" ; then
11444 as_fn_error
"Unrecognized target system type; please check config.sub." "$LINENO" 5
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11449 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11450 # Check whether --enable-maintainer-mode was given.
11451 if test "${enable_maintainer_mode+set}" = set; then :
11452 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11454 USE_MAINTAINER_MODE
=no
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11458 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11459 if test $USE_MAINTAINER_MODE = yes; then
11460 MAINTAINER_MODE_TRUE
=
11461 MAINTAINER_MODE_FALSE
='#'
11463 MAINTAINER_MODE_TRUE
='#'
11464 MAINTAINER_MODE_FALSE
=
11467 MAINT
=$MAINTAINER_MODE_TRUE
11470 case ${build_alias} in
11471 "") build_noncanonical
=${build} ;;
11472 *) build_noncanonical
=${build_alias} ;;
11475 case ${host_alias} in
11476 "") host_noncanonical
=${build_noncanonical} ;;
11477 *) host_noncanonical
=${host_alias} ;;
11480 case ${target_alias} in
11481 "") target_noncanonical
=${host_noncanonical} ;;
11482 *) target_noncanonical
=${target_alias} ;;
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
11486 $as_echo_n "checking whether to install libbfd... " >&6; }
11487 # Check whether --enable-install-libbfd was given.
11488 if test "${enable_install_libbfd+set}" = set; then :
11489 enableval
=$enable_install_libbfd; install_libbfd_p
=$enableval
11491 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
11492 install_libbfd_p
=yes
11494 install_libbfd_p
=no
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
11499 $as_echo "$install_libbfd_p" >&6; }
11500 if test $install_libbfd_p = yes; then
11501 INSTALL_LIBBFD_TRUE
=
11502 INSTALL_LIBBFD_FALSE
='#'
11504 INSTALL_LIBBFD_TRUE
='#'
11505 INSTALL_LIBBFD_FALSE
=
11508 # Need _noncanonical variables for this.
11513 # libbfd.a is a host library containing target dependent code
11514 bfdlibdir
='$(libdir)'
11515 bfdincludedir
='$(includedir)'
11516 if test "${host}" != "${target}"; then
11517 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
11518 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
11528 # host-specific stuff:
11530 ALL_LINGUAS
="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN"
11531 # If we haven't got the data from the intl directory,
11532 # assume NLS is disabled.
11541 if test -f ..
/intl
/config.intl
; then
11542 . ..
/intl
/config.intl
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11545 $as_echo_n "checking whether NLS is requested... " >&6; }
11546 if test x
"$USE_NLS" != xyes
; then
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11548 $as_echo "no" >&6; }
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11551 $as_echo "yes" >&6; }
11553 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11557 $as_echo_n "checking for catalogs to be installed... " >&6; }
11558 # Look for .po and .gmo files in the source directory.
11561 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11562 # If there aren't any .gmo files the shell will give us the
11563 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11565 case "$cat" in *\
**)
11568 # The quadruple backslash is collapsed to a double backslash
11569 # by the backticks, then collapsed again by the double quotes,
11570 # leaving us with one backslash in the sed expression (right
11571 # before the dot that mustn't act as a wildcard).
11572 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11573 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11574 # The user is allowed to set LINGUAS to a list of languages to
11575 # install catalogs for. If it's empty that means "all of them."
11576 if test "x$LINGUAS" = x
; then
11577 CATALOGS
="$CATALOGS $cat"
11578 XLINGUAS
="$XLINGUAS $lang"
11580 case "$LINGUAS" in *$lang*)
11581 CATALOGS
="$CATALOGS $cat"
11582 XLINGUAS
="$XLINGUAS $lang"
11587 LINGUAS
="$XLINGUAS"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11589 $as_echo "$LINGUAS" >&6; }
11603 if test -n "$ac_aux_dir"; then
11604 case "$ac_aux_dir" in
11605 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11606 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11609 if test -z "$MKINSTALLDIRS"; then
11610 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11616 $as_echo_n "checking whether NLS is requested... " >&6; }
11617 # Check whether --enable-nls was given.
11618 if test "${enable_nls+set}" = set; then :
11619 enableval
=$enable_nls; USE_NLS
=$enableval
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11625 $as_echo "$USE_NLS" >&6; }
11632 # Prepare PATH_SEPARATOR.
11633 # The user is always right.
11634 if test "${PATH_SEPARATOR+set}" != set; then
11635 echo "#! /bin/sh" >conf$$.sh
11636 echo "exit 0" >>conf$$.sh
11638 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11646 # Find out how to test for executable files. Don't use a zero-byte file,
11647 # as systems may use methods other than mode bits to determine executability.
11648 cat >conf$$.
file <<_ASEOF
11652 chmod +x conf$$.
file
11653 if test -x conf$$.
file >/dev
/null
2>&1; then
11654 ac_executable_p
="test -x"
11656 ac_executable_p
="test -f"
11660 # Extract the first word of "msgfmt", so it can be a program name with args.
11661 set dummy msgfmt
; ac_word
=$2
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11663 $as_echo_n "checking for $ac_word... " >&6; }
11664 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11665 $as_echo_n "(cached) " >&6
11669 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11672 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11673 for ac_dir
in $PATH; do
11675 test -z "$ac_dir" && ac_dir
=.
11676 for ac_exec_ext
in '' $ac_executable_extensions; do
11677 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11678 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11679 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11680 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11687 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11691 MSGFMT
="$ac_cv_path_MSGFMT"
11692 if test "$MSGFMT" != ":"; then
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11694 $as_echo "$MSGFMT" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11697 $as_echo "no" >&6; }
11700 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11701 set dummy gmsgfmt
; ac_word
=$2
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11703 $as_echo_n "checking for $ac_word... " >&6; }
11704 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11705 $as_echo_n "(cached) " >&6
11709 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11713 for as_dir
in $PATH
11716 test -z "$as_dir" && as_dir
=.
11717 for ac_exec_ext
in '' $ac_executable_extensions; do
11718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11719 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11727 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11731 GMSGFMT
=$ac_cv_path_GMSGFMT
11732 if test -n "$GMSGFMT"; then
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11734 $as_echo "$GMSGFMT" >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737 $as_echo "no" >&6; }
11743 # Prepare PATH_SEPARATOR.
11744 # The user is always right.
11745 if test "${PATH_SEPARATOR+set}" != set; then
11746 echo "#! /bin/sh" >conf$$.sh
11747 echo "exit 0" >>conf$$.sh
11749 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11757 # Find out how to test for executable files. Don't use a zero-byte file,
11758 # as systems may use methods other than mode bits to determine executability.
11759 cat >conf$$.
file <<_ASEOF
11763 chmod +x conf$$.
file
11764 if test -x conf$$.
file >/dev
/null
2>&1; then
11765 ac_executable_p
="test -x"
11767 ac_executable_p
="test -f"
11771 # Extract the first word of "xgettext", so it can be a program name with args.
11772 set dummy xgettext
; ac_word
=$2
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11774 $as_echo_n "checking for $ac_word... " >&6; }
11775 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11776 $as_echo_n "(cached) " >&6
11778 case "$XGETTEXT" in
11780 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11783 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11784 for ac_dir
in $PATH; do
11786 test -z "$ac_dir" && ac_dir
=.
11787 for ac_exec_ext
in '' $ac_executable_extensions; do
11788 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11789 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11790 (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
11791 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11798 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11802 XGETTEXT
="$ac_cv_path_XGETTEXT"
11803 if test "$XGETTEXT" != ":"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11805 $as_echo "$XGETTEXT" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11814 # Prepare PATH_SEPARATOR.
11815 # The user is always right.
11816 if test "${PATH_SEPARATOR+set}" != set; then
11817 echo "#! /bin/sh" >conf$$.sh
11818 echo "exit 0" >>conf$$.sh
11820 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11828 # Find out how to test for executable files. Don't use a zero-byte file,
11829 # as systems may use methods other than mode bits to determine executability.
11830 cat >conf$$.
file <<_ASEOF
11834 chmod +x conf$$.
file
11835 if test -x conf$$.
file >/dev
/null
2>&1; then
11836 ac_executable_p
="test -x"
11838 ac_executable_p
="test -f"
11842 # Extract the first word of "msgmerge", so it can be a program name with args.
11843 set dummy msgmerge
; ac_word
=$2
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11845 $as_echo_n "checking for $ac_word... " >&6; }
11846 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11847 $as_echo_n "(cached) " >&6
11849 case "$MSGMERGE" in
11851 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11854 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11855 for ac_dir
in $PATH; do
11857 test -z "$ac_dir" && ac_dir
=.
11858 for ac_exec_ext
in '' $ac_executable_extensions; do
11859 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11860 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11861 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11868 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11872 MSGMERGE
="$ac_cv_path_MSGMERGE"
11873 if test "$MSGMERGE" != ":"; then
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11875 $as_echo "$MSGMERGE" >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11878 $as_echo "no" >&6; }
11882 if test "$GMSGFMT" != ":"; then
11883 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11884 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11887 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11889 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11894 if test "$XGETTEXT" != ":"; then
11895 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11896 (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
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11900 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11906 ac_config_commands
="$ac_config_commands default-1"
11910 .
${srcdir}/..
/bfd
/configure.
host
11912 # Put a plausible default for CC_FOR_BUILD in Makefile.
11913 if test -z "$CC_FOR_BUILD"; then
11914 if test "x$cross_compiling" = "xno"; then
11915 CC_FOR_BUILD
='$(CC)'
11921 # Also set EXEEXT_FOR_BUILD.
11922 if test "x$cross_compiling" = "xno"; then
11923 EXEEXT_FOR_BUILD
='$(EXEEXT)'
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
11926 $as_echo_n "checking for build system executable suffix... " >&6; }
11927 if test "${bfd_cv_build_exeext+set}" = set; then :
11928 $as_echo_n "(cached) " >&6
11931 echo 'int main () { return 0; }' > conftest.c
11932 bfd_cv_build_exeext
=
11933 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
11934 for file in conftest.
*; do
11936 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
11937 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
11941 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
11944 $as_echo "$bfd_cv_build_exeext" >&6; }
11945 EXEEXT_FOR_BUILD
=""
11946 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
11953 for ac_header
in string.h
strings.h stdlib.h limits.h
11955 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11956 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11957 eval as_val
=\$
$as_ac_Header
11958 if test "x$as_val" = x
""yes; then :
11959 cat >>confdefs.h
<<_ACEOF
11960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11968 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
11969 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
11975 cat >>confdefs.h
<<_ACEOF
11976 #define HAVE_DECL_BASENAME $ac_have_decl
11978 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
11979 if test "x$ac_cv_have_decl_stpcpy" = x
""yes; then :
11985 cat >>confdefs.h
<<_ACEOF
11986 #define HAVE_DECL_STPCPY $ac_have_decl
11991 cgendir
='$(srcdir)/../cgen'
11993 # Check whether --enable-cgen-maint was given.
11994 if test "${enable_cgen_maint+set}" = set; then :
11995 enableval
=$enable_cgen_maint; case "${enableval}" in
11996 yes) cgen_maint
=yes ;;
11997 no
) cgen_maint
=no
;;
11999 # argument is cgen install directory (not implemented yet).
12000 # Having a `share' directory might be more appropriate for the .scm,
12001 # .cpu, etc. files.
12003 cgendir
=${cgen_maint}/lib
/cgen
12007 if test x
${cgen_maint} = xyes
; then
12009 CGEN_MAINT_FALSE
='#'
12011 CGEN_MAINT_TRUE
='#'
12019 # Check if linker supports --as-needed and --no-as-needed options
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
12021 $as_echo_n "checking linker --as-needed support... " >&6; }
12022 if test "${bfd_cv_ld_as_needed+set}" = set; then :
12023 $as_echo_n "(cached) " >&6
12025 bfd_cv_ld_as_needed
=no
12026 if $LD --help 2>/dev
/null |
grep as-needed
> /dev
/null
; then
12027 bfd_cv_ld_as_needed
=yes
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
12032 $as_echo "$bfd_cv_ld_as_needed" >&6; }
12036 *-*-beos* |
*-*-cygwin* |
*-*-pw32* |
*-*-darwin*)
12037 # These system don't have libm, or don't need it
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
12041 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
12042 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
12043 $as_echo_n "(cached) " >&6
12045 ac_check_lib_save_LIBS
=$LIBS
12047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12048 /* end confdefs.h. */
12050 /* Override any GCC internal prototype to avoid an error.
12051 Use char because int might match the return type of a GCC
12052 builtin and then its argument prototype would still apply. */
12056 char _mwvalidcheckl ();
12060 return _mwvalidcheckl ();
12065 if ac_fn_c_try_link
"$LINENO"; then :
12066 ac_cv_lib_mw__mwvalidcheckl
=yes
12068 ac_cv_lib_mw__mwvalidcheckl
=no
12070 rm -f core conftest.err conftest.
$ac_objext \
12071 conftest
$ac_exeext conftest.
$ac_ext
12072 LIBS
=$ac_check_lib_save_LIBS
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12075 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12076 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x
""yes; then :
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12081 $as_echo_n "checking for cos in -lm... " >&6; }
12082 if test "${ac_cv_lib_m_cos+set}" = set; then :
12083 $as_echo_n "(cached) " >&6
12085 ac_check_lib_save_LIBS
=$LIBS
12087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12105 if ac_fn_c_try_link
"$LINENO"; then :
12106 ac_cv_lib_m_cos
=yes
12110 rm -f core conftest.err conftest.
$ac_objext \
12111 conftest
$ac_exeext conftest.
$ac_ext
12112 LIBS
=$ac_check_lib_save_LIBS
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12115 $as_echo "$ac_cv_lib_m_cos" >&6; }
12116 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12123 $as_echo_n "checking for cos in -lm... " >&6; }
12124 if test "${ac_cv_lib_m_cos+set}" = set; then :
12125 $as_echo_n "(cached) " >&6
12127 ac_check_lib_save_LIBS
=$LIBS
12129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12132 /* Override any GCC internal prototype to avoid an error.
12133 Use char because int might match the return type of a GCC
12134 builtin and then its argument prototype would still apply. */
12147 if ac_fn_c_try_link
"$LINENO"; then :
12148 ac_cv_lib_m_cos
=yes
12152 rm -f core conftest.err conftest.
$ac_objext \
12153 conftest
$ac_exeext conftest.
$ac_ext
12154 LIBS
=$ac_check_lib_save_LIBS
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12157 $as_echo "$ac_cv_lib_m_cos" >&6; }
12158 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
12167 #Libs for generator progs
12168 if test "x$cross_compiling" = "xno"; then
12169 BUILD_LIBS
=..
/libiberty
/libiberty.a
12170 BUILD_LIB_DEPS
=$BUILD_LIBS
12172 # if cross-compiling, assume that the system provides -liberty
12173 # and that the version is compatible with new headers.
12174 BUILD_LIBS
=-liberty
12177 BUILD_LIBS
="$BUILD_LIBS $LIBINTL"
12178 BUILD_LIB_DEPS
="$BUILD_LIB_DEPS $LIBINTL_DEP"
12183 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
12186 SHARED_DEPENDENCIES
=
12187 if test "$enable_shared" = "yes"; then
12188 # When building a shared libopcodes, link against the pic version of libiberty
12189 # so that apps that use libopcodes won't need libiberty just to satisfy any
12190 # libopcodes references.
12191 # We can't do that if a pic libiberty is unavailable since including non-pic
12192 # code would insert text relocations into libopcodes.
12193 # Note that linking against libbfd as we do here, which is itself linked
12194 # against libiberty, may not satisfy all the libopcodes libiberty references
12195 # since libbfd may not pull in the entirety of libiberty.
12196 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
12197 if test -n "$x"; then
12198 SHARED_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
12203 SHARED_LDFLAGS
="-no-undefined"
12204 SHARED_LIBADD
="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
12207 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.dylib ${SHARED_LIBADD}"
12208 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
12211 case "$host_vendor" in
12213 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.sl ${SHARED_LIBADD}"
12216 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.so ${SHARED_LIBADD}"
12219 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
12223 if test -n "$SHARED_LIBADD"; then
12224 if test -n "$LIBM"; then
12225 if test x
"$bfd_cv_ld_as_needed" = xyes
; then
12226 # Link against libm only when needed. Put -lc, -lm inside -Wl
12227 # to stop libtool reordering these options.
12228 SHARED_LIBADD
="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
12230 SHARED_LIBADD
="$SHARED_LIBADD $LIBM"
12239 # target-specific stuff:
12241 # Canonicalize the secondary target names.
12242 if test -n "$enable_targets" ; then
12243 for targ
in `echo $enable_targets | sed 's/,/ /g'`
12245 result
=`$ac_config_sub $targ 2>/dev/null`
12246 if test -n "$result" ; then
12247 canon_targets
="$canon_targets $result"
12249 # Allow targets that config.sub doesn't recognize, like "all".
12250 canon_targets
="$canon_targets $targ"
12257 for targ
in $target $canon_targets
12259 if test "x$targ" = "xall" ; then
12262 .
$srcdir/..
/bfd
/config.bfd
12263 selarchs
="$selarchs $targ_archs"
12267 # Utility var, documents generic cgen support files.
12269 cgen_files
="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
12271 # We don't do any links based on the target system, just makefile config.
12273 if test x
${all_targets} = xfalse
; then
12275 # Target architecture .o files.
12278 for arch
in $selarchs
12280 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
12281 archdefs
="$archdefs -DARCH_$ad"
12283 bfd_alpha_arch
) ta
="$ta alpha-dis.lo alpha-opc.lo" ;;
12284 bfd_arc_arch
) ta
="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
12285 bfd_arm_arch
) ta
="$ta arm-dis.lo" ;;
12286 bfd_avr_arch
) ta
="$ta avr-dis.lo" ;;
12287 bfd_bfin_arch
) ta
="$ta bfin-dis.lo" ;;
12288 bfd_cr16_arch
) ta
="$ta cr16-dis.lo cr16-opc.lo" ;;
12289 bfd_cris_arch
) ta
="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
12290 bfd_crx_arch
) ta
="$ta crx-dis.lo crx-opc.lo" ;;
12291 bfd_d10v_arch
) ta
="$ta d10v-dis.lo d10v-opc.lo" ;;
12292 bfd_d30v_arch
) ta
="$ta d30v-dis.lo d30v-opc.lo" ;;
12293 bfd_dlx_arch
) ta
="$ta dlx-dis.lo" ;;
12294 bfd_fr30_arch
) ta
="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen
=yes ;;
12295 bfd_frv_arch
) ta
="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen
=yes ;;
12296 bfd_moxie_arch
) ta
="$ta moxie-dis.lo moxie-opc.lo" ;;
12297 bfd_h8300_arch
) ta
="$ta h8300-dis.lo" ;;
12298 bfd_h8500_arch
) ta
="$ta h8500-dis.lo" ;;
12299 bfd_hppa_arch
) ta
="$ta hppa-dis.lo" ;;
12300 bfd_i370_arch
) ta
="$ta i370-dis.lo i370-opc.lo" ;;
12301 bfd_i386_arch|bfd_l1om_arch
)
12302 ta
="$ta i386-dis.lo i386-opc.lo" ;;
12303 bfd_i860_arch
) ta
="$ta i860-dis.lo" ;;
12304 bfd_i960_arch
) ta
="$ta i960-dis.lo" ;;
12305 bfd_ia64_arch
) ta
="$ta ia64-dis.lo ia64-opc.lo" ;;
12306 bfd_ip2k_arch
) ta
="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen
=yes ;;
12307 bfd_iq2000_arch
) ta
="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen
=yes ;;
12308 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 ;;
12309 bfd_m32c_arch
) ta
="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen
=yes ;;
12310 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 ;;
12311 bfd_m68hc11_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12312 bfd_m68hc12_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12313 bfd_m68k_arch
) ta
="$ta m68k-dis.lo m68k-opc.lo" ;;
12314 bfd_m88k_arch
) ta
="$ta m88k-dis.lo" ;;
12315 bfd_maxq_arch
) ta
="$ta maxq-dis.lo" ;;
12316 bfd_mcore_arch
) ta
="$ta mcore-dis.lo" ;;
12317 bfd_mep_arch
) ta
="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen
=yes ;;
12318 bfd_microblaze_arch
) ta
="$ta microblaze-dis.lo" ;;
12319 bfd_mips_arch
) ta
="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;;
12320 bfd_mmix_arch
) ta
="$ta mmix-dis.lo mmix-opc.lo" ;;
12321 bfd_mn10200_arch
) ta
="$ta m10200-dis.lo m10200-opc.lo" ;;
12322 bfd_mn10300_arch
) ta
="$ta m10300-dis.lo m10300-opc.lo" ;;
12323 bfd_mt_arch
) ta
="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen
=yes ;;
12324 bfd_msp430_arch
) ta
="$ta msp430-dis.lo" ;;
12325 bfd_ns32k_arch
) ta
="$ta ns32k-dis.lo" ;;
12326 bfd_openrisc_arch
) ta
="$ta openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo" using_cgen
=yes ;;
12327 bfd_or32_arch
) ta
="$ta or32-dis.lo or32-opc.lo" using_cgen
=yes ;;
12328 bfd_pdp11_arch
) ta
="$ta pdp11-dis.lo pdp11-opc.lo" ;;
12329 bfd_pj_arch
) ta
="$ta pj-dis.lo pj-opc.lo" ;;
12330 bfd_powerpc_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12331 bfd_powerpc_64_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12332 bfd_pyramid_arch
) ;;
12334 bfd_rs6000_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12335 bfd_rx_arch
) ta
="$ta rx-dis.lo rx-decode.lo";;
12336 bfd_s390_arch
) ta
="$ta s390-dis.lo s390-opc.lo" ;;
12337 bfd_score_arch
) ta
="$ta score-dis.lo score7-dis.lo" ;;
12339 # We can't decide what we want just from the CPU family.
12340 # We want SH5 support unless a specific version of sh is
12341 # specified, as in sh3-elf, sh3b-linux-gnu, etc.
12342 # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
12343 for t
in $target $canon_targets; do
12345 all | sh5
*-* | sh64
*-* | sh-
*-*elf
* | shl
*-*-*elf
* | \
12346 sh-
*-linux* | shl-
*-linux*)
12347 ta
="$ta sh64-dis.lo sh64-opc.lo"
12348 archdefs
="$archdefs -DINCLUDE_SHMEDIA"
12352 ta
="$ta sh-dis.lo cgen-bitset.lo" ;;
12353 bfd_sparc_arch
) ta
="$ta sparc-dis.lo sparc-opc.lo" ;;
12354 bfd_spu_arch
) ta
="$ta spu-dis.lo spu-opc.lo" ;;
12356 bfd_tic30_arch
) ta
="$ta tic30-dis.lo" ;;
12357 bfd_tic4x_arch
) ta
="$ta tic4x-dis.lo" ;;
12358 bfd_tic54x_arch
) ta
="$ta tic54x-dis.lo tic54x-opc.lo" ;;
12359 bfd_tic80_arch
) ta
="$ta tic80-dis.lo tic80-opc.lo" ;;
12360 bfd_v850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12361 bfd_v850e_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12362 bfd_v850ea_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12363 bfd_vax_arch
) ta
="$ta vax-dis.lo" ;;
12364 bfd_w65_arch
) ta
="$ta w65-dis.lo" ;;
12366 bfd_xc16x_arch
) ta
="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen
=yes ;;
12367 bfd_xstormy16_arch
) ta
="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen
=yes ;;
12368 bfd_xtensa_arch
) ta
="$ta xtensa-dis.lo" ;;
12369 bfd_z80_arch
) ta
="$ta z80-dis.lo" ;;
12370 bfd_z8k_arch
) ta
="$ta z8k-dis.lo" ;;
12373 *) as_fn_error
"*** unknown target architecture $arch" "$LINENO" 5 ;;
12377 if test $using_cgen = yes ; then
12378 ta
="$ta $cgen_files"
12381 # Weed out duplicate .o files.
12391 # And duplicate -D flags.
12393 for i
in $archdefs ; do
12403 else # all_targets is true
12404 archdefs
=-DARCH_all
12405 BFD_MACHINES
='$(ALL_MACHINES)'
12411 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12413 cat >confcache
<<\_ACEOF
12414 # This file is a shell script that caches the results of configure
12415 # tests run on this system so they can be shared between configure
12416 # scripts and configure runs, see configure's option --config-cache.
12417 # It is not useful on other systems. If it contains results you don't
12418 # want to keep, you may remove or edit it.
12420 # config.status only pays attention to the cache file if you give it
12421 # the --recheck option to rerun configure.
12423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12425 # following values.
12429 # The following way of writing the cache mishandles newlines in values,
12430 # but we know of no workaround that is simple, portable, and efficient.
12431 # So, we kill variables containing newlines.
12432 # Ultrix sh set writes to stderr and can't be redirected directly,
12433 # and sets the high bit in the cache file unless we assign to the vars.
12435 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12436 eval ac_val
=\$
$ac_var
12440 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12441 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12444 _ | IFS | as_nl
) ;; #(
12445 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12446 *) { eval $ac_var=; unset $ac_var;} ;;
12452 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12453 *${as_nl}ac_space
=\
*)
12454 # `set' does not quote correctly, so add quotes: double-quote
12455 # substitution turns \\\\ into \\, and sed turns \\ into \.
12458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12461 # `set' quotes correctly as required by POSIX, so do not add quotes.
12462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12471 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12473 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12475 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12476 if test -w "$cache_file"; then
12477 test "x$cache_file" != "x/dev/null" &&
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12479 $as_echo "$as_me: updating cache $cache_file" >&6;}
12480 cat confcache
>$cache_file
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12483 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12488 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12489 # Let make expand exec_prefix.
12490 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12492 DEFS
=-DHAVE_CONFIG_H
12496 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12497 # 1. Remove the extension, and $U if already installed.
12498 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12499 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12501 # will be set to the directory where LIBOBJS objects are built.
12502 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12503 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12505 LIBOBJS
=$ac_libobjs
12507 LTLIBOBJS
=$ac_ltlibobjs
12510 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12511 as_fn_error
"conditional \"AMDEP\" was never defined.
12512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12514 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12515 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12518 if test -n "$EXEEXT"; then
12520 am__EXEEXT_FALSE
='#'
12522 am__EXEEXT_TRUE
='#'
12526 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12527 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
12528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12530 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12531 as_fn_error
"conditional \"INSTALL_LIBBFD\" was never defined.
12532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12534 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
12535 as_fn_error
"conditional \"CGEN_MAINT\" was never defined.
12536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12539 : ${CONFIG_STATUS=./config.status}
12541 ac_clean_files_save
=$ac_clean_files
12542 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12544 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12546 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12548 # Generated by $as_me.
12549 # Run this file to recreate the current configuration.
12550 # Compiler output produced by configure, useful for debugging
12551 # configure, is in config.log if it exists.
12554 ac_cs_recheck=false
12557 SHELL=\${CONFIG_SHELL-$SHELL}
12560 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12561 ## -------------------- ##
12562 ## M4sh Initialization. ##
12563 ## -------------------- ##
12565 # Be more Bourne compatible
12566 DUALCASE
=1; export DUALCASE
# for MKS sh
12567 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12570 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12571 # is contrary to our usage. Disable this feature.
12572 alias -g '${1+"$@"}'='"$@"'
12573 setopt NO_GLOB_SUBST
12575 case `(set -o) 2>/dev/null` in #(
12587 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12588 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12590 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12591 # Prefer a ksh shell builtin over an external printf program on Solaris,
12592 # but without wasting forks for bash or zsh.
12593 if test -z "$BASH_VERSION$ZSH_VERSION" \
12594 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12595 as_echo='print
-r --'
12596 as_echo_n='print
-rn --'
12597 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12598 as_echo='printf %s
\n'
12599 as_echo_n='printf %s
'
12601 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12602 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12603 as_echo_n='/usr
/ucb
/echo -n'
12605 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12606 as_echo_n_body='eval
12610 expr "X$arg" : "X\\(.*\\)$as_nl";
12611 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12613 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12615 export as_echo_n_body
12616 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12618 export as_echo_body
12619 as_echo='sh
-c $as_echo_body as_echo
'
12622 # The user is always right.
12623 if test "${PATH_SEPARATOR+set}" != set; then
12625 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12626 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12633 # We need space, tab and new line, in precisely that order. Quoting is
12634 # there to prevent editors from complaining about space-tab.
12635 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12636 # splitting by setting IFS to empty value.)
12639 # Find who we are. Look in the path if we contain no directory separator.
12641 *[\\/]* ) as_myself=$0 ;;
12642 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12643 for as_dir in $PATH
12646 test -z "$as_dir" && as_dir=.
12647 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12653 # We did not find ourselves, most probably we were run as `sh COMMAND'
12654 # in which case we are not to be found in the path.
12655 if test "x$as_myself" = x
; then
12658 if test ! -f "$as_myself"; then
12659 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12663 # Unset variables that we do not need and which cause bugs (e.g. in
12664 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12665 # suppresses any "Segmentation fault" message there. '((' could
12666 # trigger a bug in pdksh 5.2.14.
12667 for as_var
in BASH_ENV ENV MAIL MAILPATH
12668 do eval test x\
${$as_var+set} = xset \
12669 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12682 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12685 # as_fn_error ERROR [LINENO LOG_FD]
12686 # ---------------------------------
12687 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12688 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12689 # script with status $?, using 1 if that was 0.
12692 as_status
=$?
; test $as_status -eq 0 && as_status
=1
12694 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12695 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12697 $as_echo "$as_me: error: $1" >&2
12698 as_fn_exit
$as_status
12702 # as_fn_set_status STATUS
12703 # -----------------------
12704 # Set $? to STATUS, without forking.
12705 as_fn_set_status
()
12708 } # as_fn_set_status
12710 # as_fn_exit STATUS
12711 # -----------------
12712 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12716 as_fn_set_status
$1
12722 # Portably unset VAR.
12725 { eval $1=; unset $1;}
12727 as_unset
=as_fn_unset
12728 # as_fn_append VAR VALUE
12729 # ----------------------
12730 # Append the text in VALUE to the end of the definition contained in VAR. Take
12731 # advantage of any shell optimizations that allow amortized linear growth over
12732 # repeated appends, instead of the typical quadratic growth present in naive
12734 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12735 eval 'as_fn_append ()
12746 # as_fn_arith ARG...
12747 # ------------------
12748 # Perform arithmetic evaluation on the ARGs, and store the result in the
12749 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12750 # must be portable across $(()) and expr.
12751 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12752 eval 'as_fn_arith ()
12759 as_val
=`expr "$@" || test $? -eq 1`
12764 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12765 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12771 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12772 as_basename
=basename
12777 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12783 as_me
=`$as_basename -- "$0" ||
12784 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12785 X"$0" : 'X\(//\)$' \| \
12786 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12788 sed '/^.*\/\([^/][^/]*\)\/*$/{
12802 # Avoid depending upon Character Ranges.
12803 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12804 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12805 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12806 as_cr_digits
='0123456789'
12807 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12809 ECHO_C
= ECHO_N
= ECHO_T
=
12810 case `echo -n x` in #(((((
12812 case `echo 'xy\c'` in
12813 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12815 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12822 rm -f conf$$ conf$$.exe conf$$.
file
12823 if test -d conf$$.dir
; then
12824 rm -f conf$$.dir
/conf$$.
file
12827 mkdir conf$$.dir
2>/dev
/null
12829 if (echo >conf$$.
file) 2>/dev
/null
; then
12830 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12832 # ... but there are two gotchas:
12833 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12834 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12835 # In both cases, we have to default to `cp -p'.
12836 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12838 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12846 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12847 rmdir conf$$.dir
2>/dev
/null
12852 # Create "$as_dir" as a directory, including parents if necessary.
12857 -*) as_dir
=.
/$as_dir;;
12859 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12863 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12864 *) as_qdir
=$as_dir;;
12866 as_dirs
="'$as_qdir' $as_dirs"
12867 as_dir
=`$as_dirname -- "$as_dir" ||
12868 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12869 X"$as_dir" : 'X\(//\)[^/]' \| \
12870 X"$as_dir" : 'X\(//\)$' \| \
12871 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12872 $as_echo X"$as_dir" |
12873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12877 /^X\(\/\/\)[^/].*/{
12890 test -d "$as_dir" && break
12892 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12893 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12897 if mkdir
-p .
2>/dev
/null
; then
12898 as_mkdir_p
='mkdir -p "$as_dir"'
12900 test -d .
/-p && rmdir .
/-p
12904 if test -x / >/dev
/null
2>&1; then
12905 as_test_x
='test -x'
12907 if ls -dL / >/dev
/null
2>&1; then
12914 if test -d "$1"; then
12920 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12921 ???[sx]*):;;*)false;;esac;fi
12925 as_executable_p
=$as_test_x
12927 # Sed expression to map a string onto a valid CPP name.
12928 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12930 # Sed expression to map a string onto a valid variable name.
12931 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12935 ## ----------------------------------- ##
12936 ## Main body of $CONFIG_STATUS script. ##
12937 ## ----------------------------------- ##
12939 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12942 # Save the log message, to keep $0 and so on meaningful, and to
12943 # report actual input values of CONFIG_FILES etc. instead of their
12944 # values after options handling.
12946 This file was extended by $as_me, which was
12947 generated by GNU Autoconf 2.64. Invocation command line was
12949 CONFIG_FILES = $CONFIG_FILES
12950 CONFIG_HEADERS = $CONFIG_HEADERS
12951 CONFIG_LINKS = $CONFIG_LINKS
12952 CONFIG_COMMANDS = $CONFIG_COMMANDS
12955 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12960 case $ac_config_files in *"
12961 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12964 case $ac_config_headers in *"
12965 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12970 # Files that config.status was made for.
12971 config_files="$ac_config_files"
12972 config_headers="$ac_config_headers"
12973 config_commands="$ac_config_commands"
12977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12979 \`$as_me' instantiates files and other configuration actions
12980 from templates according to the current configuration. Unless the files
12981 and actions are specified as TAGs, all are instantiated by default.
12983 Usage: $0 [OPTION]... [TAG]...
12985 -h, --help print this help, then exit
12986 -V, --version print version number and configuration settings, then exit
12987 -q, --quiet, --silent
12988 do not print progress messages
12989 -d, --debug don't remove temporary files
12990 --recheck update $as_me by reconfiguring in the same conditions
12991 --file=FILE[:TEMPLATE]
12992 instantiate the configuration file FILE
12993 --header=FILE[:TEMPLATE]
12994 instantiate the configuration header FILE
12996 Configuration files:
12999 Configuration headers:
13002 Configuration commands:
13005 Report bugs to the package provider."
13008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13011 configured by $0, generated by GNU Autoconf 2.64,
13012 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13014 Copyright (C) 2009 Free Software Foundation, Inc.
13015 This config.status script is free software; the Free Software Foundation
13016 gives unlimited permission to copy, distribute and modify it."
13023 test -n "\$AWK" || AWK=awk
13026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13027 # The default lists apply if the user does not specify any file.
13033 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13034 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13045 # Handling of the options.
13046 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13048 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13049 $as_echo "$ac_cs_version"; exit ;;
13050 --debug |
--debu |
--deb |
--de |
--d |
-d )
13052 --file |
--fil |
--fi |
--f )
13055 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13057 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13058 ac_need_defaults
=false
;;
13059 --header |
--heade |
--head |
--hea )
13062 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13064 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13065 ac_need_defaults
=false
;;
13067 # Conflict between --help and --header
13068 as_fn_error
"ambiguous option: \`$1'
13069 Try \`$0 --help' for more information.";;
13070 --help |
--hel |
-h )
13071 $as_echo "$ac_cs_usage"; exit ;;
13072 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13073 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13076 # This is an error.
13077 -*) as_fn_error
"unrecognized option: \`$1'
13078 Try \`$0 --help' for more information." ;;
13080 *) as_fn_append ac_config_targets
" $1"
13081 ac_need_defaults
=false
;;
13087 ac_configure_extra_args
=
13089 if $ac_cs_silent; then
13091 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13096 if \$ac_cs_recheck; then
13097 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13099 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13100 CONFIG_SHELL='$SHELL'
13101 export CONFIG_SHELL
13106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13110 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13111 ## Running $as_me. ##
13117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13121 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13124 # The HP-UX ksh and POSIX shell print the target directory to stdout
13125 # if CDPATH is set.
13126 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13128 sed_quote_subst='$sed_quote_subst'
13129 double_quote_subst='$double_quote_subst'
13130 delay_variable_subst='$delay_variable_subst'
13131 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13132 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13133 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13134 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13135 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13136 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13137 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13138 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13139 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13140 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13141 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13142 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13143 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13144 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13145 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13146 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13147 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13148 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13149 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13150 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13151 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13152 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13153 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13154 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13155 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13156 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13157 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13158 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13159 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13160 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13161 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13162 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13163 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13164 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13165 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13166 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13167 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13168 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13169 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13170 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13171 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13172 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13173 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13174 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13175 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13176 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13177 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13178 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13179 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13180 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13181 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13182 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13183 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13184 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13185 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13186 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13187 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13188 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13189 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13190 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13191 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13192 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13193 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13194 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13195 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13196 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13197 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13198 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13199 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13200 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13201 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13202 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13203 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13204 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13205 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13206 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13207 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13208 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13209 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13210 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13211 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13212 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13213 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13214 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13215 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13216 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13217 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13218 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13219 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13220 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13221 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13222 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13223 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13224 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13225 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13226 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13227 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13228 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13229 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13230 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13231 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13232 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13233 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13234 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13235 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13236 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13237 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13238 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13239 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13240 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13241 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13242 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13243 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13244 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13245 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13246 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13247 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13248 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13251 LTCFLAGS='$LTCFLAGS'
13252 compiler='$compiler_DEFAULT'
13254 # Quote evaled strings.
13266 deplibs_check_method \
13275 lt_cv_sys_global_symbol_pipe \
13276 lt_cv_sys_global_symbol_to_cdecl \
13277 lt_cv_sys_global_symbol_to_c_name_address \
13278 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13281 lt_prog_compiler_no_builtin_flag \
13282 lt_prog_compiler_wl \
13283 lt_prog_compiler_pic \
13284 lt_prog_compiler_static \
13285 lt_cv_prog_compiler_c_o \
13293 export_dynamic_flag_spec \
13294 whole_archive_flag_spec \
13295 compiler_needs_object \
13297 allow_undefined_flag \
13298 no_undefined_flag \
13299 hardcode_libdir_flag_spec \
13300 hardcode_libdir_flag_spec_ld \
13301 hardcode_libdir_separator \
13306 variables_saved_for_relink \
13308 library_names_spec \
13313 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13314 *[\\\\\\\`\\"\\\$]*)
13315 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13318 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13323 # Double-quote double-evaled strings.
13324 for var in reload_cmds \
13325 old_postinstall_cmds \
13326 old_postuninstall_cmds \
13328 extract_expsyms_cmds \
13329 old_archive_from_new_cmds \
13330 old_archive_from_expsyms_cmds \
13332 archive_expsym_cmds \
13334 module_expsym_cmds \
13335 export_symbols_cmds \
13338 postuninstall_cmds \
13340 sys_lib_search_path_spec \
13341 sys_lib_dlsearch_path_spec; do
13342 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13343 *[\\\\\\\`\\"\\\$]*)
13344 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13347 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13352 # Fix-up fallback echo if it was mangled by the above quoting rules.
13354 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13358 ac_aux_dir='$ac_aux_dir'
13359 xsi_shell='$xsi_shell'
13360 lt_shell_append='$lt_shell_append'
13362 # See if we are running on zsh, and set the options which allow our
13363 # commands through without removal of \ escapes INIT.
13364 if test -n "\${ZSH_VERSION+set}" ; then
13365 setopt NO_GLOB_SUBST
13371 TIMESTAMP='$TIMESTAMP'
13377 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13378 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13380 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13381 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13382 LINGUAS="${LINGUAS-%UNSET%}"
13387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13389 # Handling of arguments.
13390 for ac_config_target
in $ac_config_targets
13392 case $ac_config_target in
13393 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13394 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13395 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13396 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13397 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13398 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13400 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13405 # If the user did not use the arguments to specify the items to instantiate,
13406 # then the envvar interface is used. Set only those that are not.
13407 # We use the long form for the default assignment because of an extremely
13408 # bizarre bug on SunOS 4.1.3.
13409 if $ac_need_defaults; then
13410 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13411 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13412 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13415 # Have a temporary directory for convenience. Make it in the build tree
13416 # simply because there is no reason against having it here, and in addition,
13417 # creating and moving files from /tmp can sometimes cause problems.
13418 # Hook for its removal unless debugging.
13419 # Note that there is a small window in which the directory will not be cleaned:
13420 # after its creation but before its name has been assigned to `$tmp'.
13424 trap 'exit_status=$?
13425 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13427 trap 'as_fn_exit 1' 1 2 13 15
13429 # Create a (secure) tmp directory for tmp files.
13432 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13433 test -n "$tmp" && test -d "$tmp"
13436 tmp
=.
/conf$$
-$RANDOM
13437 (umask 077 && mkdir
"$tmp")
13438 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13440 # Set up the scripts for CONFIG_FILES section.
13441 # No need to generate them if there are no CONFIG_FILES.
13442 # This happens for instance with `./config.status config.h'.
13443 if test -n "$CONFIG_FILES"; then
13446 ac_cr
=`echo X | tr X '\015'`
13447 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13448 # But we know of no other shell where ac_cr would be empty at this
13449 # point, so we can use a bashism as a fallback.
13450 if test "x$ac_cr" = x
; then
13451 eval ac_cr
=\$
\'\\r
\'
13453 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13454 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13457 ac_cs_awk_cr
=$ac_cr
13460 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13465 echo "cat >conf$$subs.awk <<_ACEOF" &&
13466 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13468 } >conf$$subs.sh ||
13469 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13470 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13472 for ac_last_try in false false false false false :; do
13473 . ./conf$$subs.sh ||
13474 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13476 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13477 if test $ac_delim_n = $ac_delim_num; then
13479 elif $ac_last_try; then
13480 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13482 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13485 rm -f conf$$subs.sh
13487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13488 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13492 s/^/S["/; s
/!.
*/"]=/
13502 s/\(.\{148\}\).*/\1/
13504 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13509 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13516 s/\(.\{148\}\).*/\1/
13518 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13522 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13527 ' <conf$$subs.awk | sed '
13532 ' >>$CONFIG_STATUS || ac_write_fail=1
13533 rm -f conf$$subs.awk
13534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13536 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13537 for (key in S) S_is_set[key] = 1
13543 nfields = split(line, field, "@
")
13545 len = length(field[1])
13546 for (i = 2; i < nfields; i++) {
13548 keylen = length(key)
13549 if (S_is_set[key]) {
13551 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13552 len += length(value) + length(field[++i])
13563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13564 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13565 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13568 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13569 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
13572 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13573 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13574 # trailing colons and then remove the whole line if VPATH becomes empty
13575 # (actually we leave an empty line to preserve line numbers).
13576 if test "x
$srcdir" = x.; then
13577 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13578 s/:*\$(srcdir):*/:/
13579 s/:*\${srcdir}:*/:/
13581 s/^\([^=]*=[ ]*\):*/\1/
13587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13588 fi # test -n "$CONFIG_FILES"
13590 # Set up the scripts for CONFIG_HEADERS section.
13591 # No need to generate them if there are no CONFIG_HEADERS.
13592 # This happens for instance with `./config.status Makefile'.
13593 if test -n "$CONFIG_HEADERS"; then
13594 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13598 # Transform confdefs.h into an awk script `defines.awk', embedded as
13599 # here-document in config.status, that substitutes the proper values into
13600 # config.h.in to produce config.h.
13602 # Create a delimiter string that does not exist in confdefs.h, to ease
13603 # handling of long lines.
13605 for ac_last_try in false false :; do
13606 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13607 if test -z "$ac_t"; then
13609 elif $ac_last_try; then
13610 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
13612 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13616 # For the awk script, D is an array of macro values keyed by name,
13617 # likewise P contains macro parameters if any. Preserve backslash
13618 # newline sequences.
13620 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13622 s/.\{148\}/&'"$ac_delim"'/g
13625 s/^[ ]*#[ ]*define[ ][ ]*/ /
13632 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13634 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13638 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13639 D["\
1"]=" \
3\\\\\\n
"\\/p
13641 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13646 s/.\{148\}/&'"$ac_delim"'/g
13651 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13654 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13656 ' <confdefs.h | sed '
13657 s/'"$ac_delim"'/"\\\
13658 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13661 for (key in D) D_is_set[key] = 1
13664 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13666 split(line, arg, " ")
13667 if (arg[1] == "#") {
13671 defundef
= substr
(arg
[1], 2)
13674 split(mac1
, mac2
, "(") #)
13676 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13677 if (D_is_set
[macro
]) {
13678 # Preserve the white space surrounding the "#".
13679 print prefix
"define", macro P
[macro
] D
[macro
]
13682 # Replace #undef with comments. This is necessary, for example,
13683 # in the case of _POSIX_SOURCE, which is predefined and required
13684 # on some systems where configure will not decide to define it.
13685 if (defundef
== "undef") {
13686 print
"/*", prefix defundef
, macro
, "*/"
13694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13695 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
13696 fi # test -n "$CONFIG_HEADERS"
13699 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13704 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13706 case $ac_mode$ac_tag in
13708 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13709 :[FH
]-) ac_tag
=-:-;;
13710 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13727 -) ac_f
="$tmp/stdin";;
13728 *) # Look for the file first in the build tree, then in the source tree
13729 # (if the path is not absolute). The absolute path cannot be DOS-style,
13730 # because $ac_f cannot contain `:'.
13734 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13736 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
13738 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13739 as_fn_append ac_file_inputs
" '$ac_f'"
13742 # Let's still pretend it is `configure' which instantiates (i.e., don't
13743 # use $as_me), people would be surprised to read:
13744 # /* config.h. Generated by config.status. */
13745 configure_input
='Generated from '`
13746 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13748 if test x
"$ac_file" != x-
; then
13749 configure_input
="$ac_file. $configure_input"
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13751 $as_echo "$as_me: creating $ac_file" >&6;}
13753 # Neutralize special characters interpreted by sed in replacement strings.
13754 case $configure_input in #(
13755 *\
&* |
*\|
* |
*\\* )
13756 ac_sed_conf_input
=`$as_echo "$configure_input" |
13757 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13758 *) ac_sed_conf_input
=$configure_input;;
13762 *:-:* |
*:-) cat >"$tmp/stdin" \
13763 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13768 ac_dir
=`$as_dirname -- "$ac_file" ||
13769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13770 X"$ac_file" : 'X\(//\)[^/]' \| \
13771 X"$ac_file" : 'X\(//\)$' \| \
13772 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13773 $as_echo X"$ac_file" |
13774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13778 /^X\(\/\/\)[^/].*/{
13791 as_dir
="$ac_dir"; as_fn_mkdir_p
13795 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13797 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13798 # A ".." for each directory in $ac_dir_suffix.
13799 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13800 case $ac_top_builddir_sub in
13801 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13802 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13805 ac_abs_top_builddir
=$ac_pwd
13806 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13807 # for backward compatibility:
13808 ac_top_builddir
=$ac_top_build_prefix
13811 .
) # We are building in place.
13813 ac_top_srcdir
=$ac_top_builddir_sub
13814 ac_abs_top_srcdir
=$ac_pwd ;;
13815 [\\/]* | ?
:[\\/]* ) # Absolute name.
13816 ac_srcdir
=$srcdir$ac_dir_suffix;
13817 ac_top_srcdir
=$srcdir
13818 ac_abs_top_srcdir
=$srcdir ;;
13819 *) # Relative name.
13820 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13821 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13822 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13824 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13834 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13835 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13837 ac_MKDIR_P
=$MKDIR_P
13839 [\\/$
]* | ?
:[\\/]* ) ;;
13840 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13845 # If the template does not know about datarootdir, expand it.
13846 # FIXME: This hack should be removed a few years after 2.60.
13847 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13858 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13859 *datarootdir
*) ac_datarootdir_seen
=yes;;
13860 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13862 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13865 ac_datarootdir_hack='
13866 s&@datadir@&$datadir&g
13867 s&@docdir@&$docdir&g
13868 s&@infodir@&$infodir&g
13869 s&@localedir@&$localedir&g
13870 s&@mandir@&$mandir&g
13871 s&\\\${datarootdir}&$datarootdir&g' ;;
13875 # Neutralize VPATH when `$srcdir' = `.'.
13876 # Shell code in configure.ac might set extrasub.
13877 # FIXME: do we really want to maintain this feature?
13878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13879 ac_sed_extra="$ac_vpsub
13882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13884 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13885 s|@configure_input@|
$ac_sed_conf_input|
;t t
13886 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13887 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13888 s
&@srcdir@
&$ac_srcdir&;t t
13889 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13890 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13891 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13892 s
&@builddir@
&$ac_builddir&;t t
13893 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13894 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13895 s
&@INSTALL@
&$ac_INSTALL&;t t
13896 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13897 $ac_datarootdir_hack
13899 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13900 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13902 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13903 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13904 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13906 which seems to be undefined. Please make sure it is defined." >&5
13907 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13908 which seems to be undefined. Please make sure it is defined." >&2;}
13912 -) cat "$tmp/out" && rm -f "$tmp/out";;
13913 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13915 || as_fn_error "could not create $ac_file" "$LINENO" 5
13921 if test x"$ac_file" != x-; then
13923 $as_echo "/* $configure_input */" \
13924 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13925 } >"$tmp/config.h" \
13926 || as_fn_error "could not create $ac_file" "$LINENO" 5
13927 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13929 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13932 mv "$tmp/config.h" "$ac_file" \
13933 || as_fn_error "could not create $ac_file" "$LINENO" 5
13936 $as_echo "/* $configure_input */" \
13937 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13938 || as_fn_error "could not create -" "$LINENO" 5
13940 # Compute "$ac_file"'s index
in $config_headers.
13943 for _am_header
in $config_headers :; do
13944 case $_am_header in
13945 $_am_arg |
$_am_arg:* )
13948 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13951 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13952 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13953 X"$_am_arg" : 'X\(//\)[^/]' \| \
13954 X"$_am_arg" : 'X\(//\)$' \| \
13955 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13956 $as_echo X"$_am_arg" |
13957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13961 /^X\(\/\/\)[^/].*/{
13973 s/.*/./; q'`/stamp-h
$_am_stamp_count
13976 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13977 $as_echo "$as_me: executing $ac_file commands" >&6;}
13982 case $ac_file$ac_mode in
13983 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13984 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13985 # are listed without --file. Let's play safe and only enable the eval
13986 # if we detect the quoting.
13987 case $CONFIG_FILES in
13988 *\'*) eval set x
"$CONFIG_FILES" ;;
13989 *) set x
$CONFIG_FILES ;;
13994 # Strip MF so we end up with the name of the file.
13995 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13996 # Check whether this is an Automake generated Makefile or not.
13997 # We used to match only the files named `Makefile.in', but
13998 # some people rename them; so instead we look at the file content.
13999 # Grep'ing the first line is not enough: some people post-process
14000 # each Makefile.in and add a new line on top of each file to say so.
14001 # Grep'ing the whole file is not good either: AIX grep has a line
14002 # limit of 2048, but all sed's we know have understand at least 4000.
14003 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14004 dirpart
=`$as_dirname -- "$mf" ||
14005 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14006 X"$mf" : 'X\(//\)[^/]' \| \
14007 X"$mf" : 'X\(//\)$' \| \
14008 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14014 /^X\(\/\/\)[^/].*/{
14030 # Extract the definition of DEPDIR, am__include, and am__quote
14031 # from the Makefile without running `make'.
14032 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14033 test -z "$DEPDIR" && continue
14034 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14035 test -z "am__include" && continue
14036 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14037 # When using ansi2knr, U may be empty or an underscore; expand it
14038 U
=`sed -n 's/^U = //p' < "$mf"`
14039 # Find all dependency output files, they are included files with
14040 # $(DEPDIR) in their names. We invoke sed twice because it is the
14041 # simplest approach to changing $(DEPDIR) to its actual value in the
14043 for file in `sed -n "
14044 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14045 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14046 # Make sure the directory exists.
14047 test -f "$dirpart/$file" && continue
14048 fdir
=`$as_dirname -- "$file" ||
14049 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14050 X"$file" : 'X\(//\)[^/]' \| \
14051 X"$file" : 'X\(//\)$' \| \
14052 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14053 $as_echo X"$file" |
14054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14058 /^X\(\/\/\)[^/].*/{
14071 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14072 # echo "creating $dirpart/$file"
14073 echo '# dummy' > "$dirpart/$file"
14080 # See if we are running on zsh, and set the options which allow our
14081 # commands through without removal of \ escapes.
14082 if test -n "${ZSH_VERSION+set}" ; then
14083 setopt NO_GLOB_SUBST
14086 cfgfile
="${ofile}T"
14087 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14090 cat <<_LT_EOF >> "$cfgfile"
14093 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14094 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14095 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14096 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14098 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14099 # 2006, 2007, 2008 Free Software Foundation, Inc.
14100 # Written by Gordon Matzigkeit, 1996
14102 # This file is part of GNU Libtool.
14104 # GNU Libtool is free software; you can redistribute it and/or
14105 # modify it under the terms of the GNU General Public License as
14106 # published by the Free Software Foundation; either version 2 of
14107 # the License, or (at your option) any later version.
14109 # As a special exception to the GNU General Public License,
14110 # if you distribute this file as part of a program or library that
14111 # is built using GNU Libtool, you may include this file under the
14112 # same distribution terms that you use for the rest of that program.
14114 # GNU Libtool is distributed in the hope that it will be useful,
14115 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14116 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14117 # GNU General Public License for more details.
14119 # You should have received a copy of the GNU General Public License
14120 # along with GNU Libtool; see the file COPYING. If not, a copy
14121 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14122 # obtained by writing to the Free Software Foundation, Inc.,
14123 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14126 # The names of the tagged configurations supported by this script.
14129 # ### BEGIN LIBTOOL CONFIG
14131 # Whether or not to build shared libraries.
14132 build_libtool_libs=$enable_shared
14134 # Which release of libtool.m4 was used?
14135 macro_version=$macro_version
14136 macro_revision=$macro_revision
14138 # Whether or not to build static libraries.
14139 build_old_libs=$enable_static
14141 # What type of objects to build.
14144 # Whether or not to optimize for fast installation.
14145 fast_install=$enable_fast_install
14148 host_alias=$host_alias
14152 # The build system.
14153 build_alias=$build_alias
14157 # A sed program that does not truncate output.
14160 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14161 Xsed="\$SED -e 1s/^X//"
14163 # A grep program that handles long lines.
14169 # A literal string matcher.
14172 # A BSD- or MS-compatible name lister.
14175 # Whether we need soft or hard links.
14178 # What is the maximum length of a command?
14179 max_cmd_len=$max_cmd_len
14181 # Object file suffix (normally "o").
14184 # Executable file suffix (normally "").
14187 # whether the shell understands "unset".
14190 # turn spaces into newlines.
14193 # turn newlines into spaces.
14196 # How to create reloadable object files.
14197 reload_flag=$lt_reload_flag
14198 reload_cmds=$lt_reload_cmds
14200 # An object symbol dumper.
14201 OBJDUMP=$lt_OBJDUMP
14203 # Method to check whether dependent libraries are shared objects.
14204 deplibs_check_method=$lt_deplibs_check_method
14206 # Command to use when deplibs_check_method == "file_magic".
14207 file_magic_cmd=$lt_file_magic_cmd
14211 AR_FLAGS=$lt_AR_FLAGS
14213 # A symbol stripping program.
14216 # Commands used to install an old-style archive.
14218 old_postinstall_cmds=$lt_old_postinstall_cmds
14219 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14224 # LTCC compiler flags.
14225 LTCFLAGS=$lt_CFLAGS
14227 # Take the output of nm and produce a listing of raw symbols and C names.
14228 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14230 # Transform the output of nm in a proper C declaration.
14231 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14233 # Transform the output of nm in a C name address pair.
14234 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14236 # Transform the output of nm in a C name address pair when lib prefix is needed.
14237 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14239 # The name of the directory that contains temporary libtool files.
14242 # Shell to use when invoking shell scripts.
14245 # An echo program that does not interpret backslashes.
14248 # Used to examine libraries when file_magic_cmd begins with "file".
14249 MAGIC_CMD=$MAGIC_CMD
14251 # Must we lock files when doing compilation?
14252 need_locks=$lt_need_locks
14254 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14255 DSYMUTIL=$lt_DSYMUTIL
14257 # Tool to change global to local symbols on Mac OS X.
14260 # Tool to manipulate fat objects and archives on Mac OS X.
14263 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14266 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14267 OTOOL64=$lt_OTOOL64
14269 # Old archive suffix (normally "a").
14272 # Shared library suffix (normally ".so").
14273 shrext_cmds=$lt_shrext_cmds
14275 # The commands to extract the exported symbol list from a shared archive.
14276 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14278 # Variables whose values should be saved in libtool wrapper scripts and
14279 # restored at link time.
14280 variables_saved_for_relink=$lt_variables_saved_for_relink
14282 # Do we need the "lib" prefix for modules?
14283 need_lib_prefix=$need_lib_prefix
14285 # Do we need a version for libraries?
14286 need_version=$need_version
14288 # Library versioning type.
14289 version_type=$version_type
14291 # Shared library runtime path variable.
14292 runpath_var=$runpath_var
14294 # Shared library path variable.
14295 shlibpath_var=$shlibpath_var
14297 # Is shlibpath searched before the hard-coded library search path?
14298 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14300 # Format of library name prefix.
14301 libname_spec=$lt_libname_spec
14303 # List of archive names. First name is the real one, the rest are links.
14304 # The last name is the one that the linker finds with -lNAME
14305 library_names_spec=$lt_library_names_spec
14307 # The coded name of the library, if different from the real name.
14308 soname_spec=$lt_soname_spec
14310 # Command to use after installation of a shared archive.
14311 postinstall_cmds=$lt_postinstall_cmds
14313 # Command to use after uninstallation of a shared archive.
14314 postuninstall_cmds=$lt_postuninstall_cmds
14316 # Commands used to finish a libtool library installation in a directory.
14317 finish_cmds=$lt_finish_cmds
14319 # As "finish_cmds", except a single script fragment to be evaled but
14321 finish_eval=$lt_finish_eval
14323 # Whether we should hardcode library paths into libraries.
14324 hardcode_into_libs=$hardcode_into_libs
14326 # Compile-time system search path for libraries.
14327 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14329 # Run-time system search path for libraries.
14330 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14332 # Whether dlopen is supported.
14333 dlopen_support=$enable_dlopen
14335 # Whether dlopen of programs is supported.
14336 dlopen_self=$enable_dlopen_self
14338 # Whether dlopen of statically linked programs is supported.
14339 dlopen_self_static=$enable_dlopen_self_static
14341 # Commands to strip libraries.
14342 old_striplib=$lt_old_striplib
14343 striplib=$lt_striplib
14346 # The linker used to build libraries.
14349 # Commands used to build an old-style archive.
14350 old_archive_cmds=$lt_old_archive_cmds
14352 # A language specific compiler.
14355 # Is the compiler the GNU compiler?
14358 # Compiler flag to turn off builtin functions.
14359 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14361 # How to pass a linker flag through the compiler.
14362 wl=$lt_lt_prog_compiler_wl
14364 # Additional compiler flags for building library objects.
14365 pic_flag=$lt_lt_prog_compiler_pic
14367 # Compiler flag to prevent dynamic linking.
14368 link_static_flag=$lt_lt_prog_compiler_static
14370 # Does compiler simultaneously support -c and -o options?
14371 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14373 # Whether or not to add -lc for building shared libraries.
14374 build_libtool_need_lc=$archive_cmds_need_lc
14376 # Whether or not to disallow shared libs when runtime libs are static.
14377 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14379 # Compiler flag to allow reflexive dlopens.
14380 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14382 # Compiler flag to generate shared objects directly from archives.
14383 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14385 # Whether the compiler copes with passing no objects directly.
14386 compiler_needs_object=$lt_compiler_needs_object
14388 # Create an old-style archive from a shared archive.
14389 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14391 # Create a temporary old-style archive to link instead of a shared archive.
14392 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14394 # Commands used to build a shared archive.
14395 archive_cmds=$lt_archive_cmds
14396 archive_expsym_cmds=$lt_archive_expsym_cmds
14398 # Commands used to build a loadable module if different from building
14399 # a shared archive.
14400 module_cmds=$lt_module_cmds
14401 module_expsym_cmds=$lt_module_expsym_cmds
14403 # Whether we are building with GNU ld or not.
14404 with_gnu_ld=$lt_with_gnu_ld
14406 # Flag that allows shared libraries with undefined symbols to be built.
14407 allow_undefined_flag=$lt_allow_undefined_flag
14409 # Flag that enforces no undefined symbols.
14410 no_undefined_flag=$lt_no_undefined_flag
14412 # Flag to hardcode \$libdir into a binary during linking.
14413 # This must work even if \$libdir does not exist
14414 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14416 # If ld is used when linking, flag to hardcode \$libdir into a binary
14417 # during linking. This must work even if \$libdir does not exist.
14418 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14420 # Whether we need a single "-rpath" flag with a separated argument.
14421 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14423 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14424 # DIR into the resulting binary.
14425 hardcode_direct=$hardcode_direct
14427 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14428 # DIR into the resulting binary and the resulting library dependency is
14429 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14430 # library is relocated.
14431 hardcode_direct_absolute=$hardcode_direct_absolute
14433 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14434 # into the resulting binary.
14435 hardcode_minus_L=$hardcode_minus_L
14437 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14438 # into the resulting binary.
14439 hardcode_shlibpath_var=$hardcode_shlibpath_var
14441 # Set to "yes" if building a shared library automatically hardcodes DIR
14442 # into the library and all subsequent libraries and executables linked
14444 hardcode_automatic=$hardcode_automatic
14446 # Set to yes if linker adds runtime paths of dependent libraries
14447 # to runtime path list.
14448 inherit_rpath=$inherit_rpath
14450 # Whether libtool must link a program against all its dependency libraries.
14451 link_all_deplibs=$link_all_deplibs
14453 # Fix the shell variable \$srcfile for the compiler.
14454 fix_srcfile_path=$lt_fix_srcfile_path
14456 # Set to "yes" if exported symbols are required.
14457 always_export_symbols=$always_export_symbols
14459 # The commands to list exported symbols.
14460 export_symbols_cmds=$lt_export_symbols_cmds
14462 # Symbols that should not be listed in the preloaded symbols.
14463 exclude_expsyms=$lt_exclude_expsyms
14465 # Symbols that must always be exported.
14466 include_expsyms=$lt_include_expsyms
14468 # Commands necessary for linking programs (against libraries) with templates.
14469 prelink_cmds=$lt_prelink_cmds
14471 # Specify filename containing input files.
14472 file_list_spec=$lt_file_list_spec
14474 # How to hardcode a shared library path into an executable.
14475 hardcode_action=$hardcode_action
14477 # ### END LIBTOOL CONFIG
14483 cat <<\_LT_EOF
>> "$cfgfile"
14484 # AIX sometimes has problems with the GCC collect2 program. For some
14485 # reason, if we set the COLLECT_NAMES environment variable, the problems
14486 # vanish in a puff of smoke.
14487 if test "X${COLLECT_NAMES+set}" != Xset
; then
14489 export COLLECT_NAMES
14496 ltmain
="$ac_aux_dir/ltmain.sh"
14499 # We use sed instead of cat because bash on DJGPP gets confused if
14500 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14501 # text mode, it properly converts lines to CR/LF. This bash problem
14502 # is reportedly fixed, but why not run on old versions too?
14503 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14504 ||
(rm -f "$cfgfile"; exit 1)
14508 cat << \_LT_EOF
>> "$cfgfile"
14510 # func_dirname file append nondir_replacement
14511 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14512 # otherwise set result to NONDIR_REPLACEMENT.
14516 */*) func_dirname_result
="${1%/*}${2}" ;;
14517 * ) func_dirname_result
="${3}" ;;
14521 # func_basename file
14524 func_basename_result
="${1##*/}"
14527 # func_dirname_and_basename file append nondir_replacement
14528 # perform func_basename and func_dirname in a single function
14530 # dirname: Compute the dirname of FILE. If nonempty,
14531 # add APPEND to the result, otherwise set result
14532 # to NONDIR_REPLACEMENT.
14533 # value returned in "$func_dirname_result"
14534 # basename: Compute filename of FILE.
14535 # value retuned in "$func_basename_result"
14536 # Implementation must be kept synchronized with func_dirname
14537 # and func_basename. For efficiency, we do not delegate to
14538 # those functions but instead duplicate the functionality here.
14539 func_dirname_and_basename
()
14542 */*) func_dirname_result
="${1%/*}${2}" ;;
14543 * ) func_dirname_result
="${3}" ;;
14545 func_basename_result
="${1##*/}"
14548 # func_stripname prefix suffix name
14549 # strip PREFIX and SUFFIX off of NAME.
14550 # PREFIX and SUFFIX must not contain globbing or regex special
14551 # characters, hashes, percent signs, but SUFFIX may contain a leading
14552 # dot (in which case that matches only a dot).
14555 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14556 # positional parameters, so assign one to ordinary parameter first.
14557 func_stripname_result
=${3}
14558 func_stripname_result
=${func_stripname_result#"${1}"}
14559 func_stripname_result
=${func_stripname_result%"${2}"}
14565 func_opt_split_opt
=${1%%=*}
14566 func_opt_split_arg
=${1#*=}
14573 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14574 *) func_lo2o_result
=${1} ;;
14578 # func_xform libobj-or-source
14581 func_xform_result
=${1%.*}.lo
14584 # func_arith arithmetic-term...
14587 func_arith_result
=$
(( $
* ))
14591 # STRING may not start with a hyphen.
14594 func_len_result
=${#1}
14599 *) # Bourne compatible functions.
14600 cat << \_LT_EOF
>> "$cfgfile"
14602 # func_dirname file append nondir_replacement
14603 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14604 # otherwise set result to NONDIR_REPLACEMENT.
14607 # Extract subdirectory from the argument.
14608 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14609 if test "X$func_dirname_result" = "X${1}"; then
14610 func_dirname_result
="${3}"
14612 func_dirname_result
="$func_dirname_result${2}"
14616 # func_basename file
14619 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
14623 # func_stripname prefix suffix name
14624 # strip PREFIX and SUFFIX off of NAME.
14625 # PREFIX and SUFFIX must not contain globbing or regex special
14626 # characters, hashes, percent signs, but SUFFIX may contain a leading
14627 # dot (in which case that matches only a dot).
14628 # func_strip_suffix prefix name
14632 .
*) func_stripname_result
=`$ECHO "X${3}" \
14633 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14634 *) func_stripname_result
=`$ECHO "X${3}" \
14635 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14640 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14641 my_sed_long_arg
='1s/^-[^=]*=//'
14646 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14647 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14653 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14656 # func_xform libobj-or-source
14659 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14662 # func_arith arithmetic-term...
14665 func_arith_result
=`expr "$@"`
14669 # STRING may not start with a hyphen.
14672 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14678 case $lt_shell_append in
14680 cat << \_LT_EOF
>> "$cfgfile"
14682 # func_append var value
14683 # Append VALUE to the end of shell variable VAR.
14691 cat << \_LT_EOF
>> "$cfgfile"
14693 # func_append var value
14694 # Append VALUE to the end of shell variable VAR.
14705 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14706 ||
(rm -f "$cfgfile"; exit 1)
14708 mv -f "$cfgfile" "$ofile" ||
14709 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14714 for ac_file
in $CONFIG_FILES; do
14715 # Support "outfile[:infile[:infile...]]"
14717 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14719 # PO directories have a Makefile.in generated from Makefile.in.in.
14720 case "$ac_file" in */Makefile.
in)
14721 # Adjust a relative srcdir.
14722 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14723 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
14724 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14725 # In autoconf-2.13 it is called $ac_given_srcdir.
14726 # In autoconf-2.50 it is called $srcdir.
14727 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14728 case "$ac_given_srcdir" in
14729 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14730 /*) top_srcdir
="$ac_given_srcdir" ;;
14731 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14733 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14734 rm -f "$ac_dir/POTFILES"
14735 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14736 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14737 POMAKEFILEDEPS
="POTFILES.in"
14738 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
14739 # on $ac_dir but don't depend on user-specified configuration
14741 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14742 # The LINGUAS file contains the set of available languages.
14743 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14744 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14746 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14747 # Hide the ALL_LINGUAS assigment from automake.
14748 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14749 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14751 # The set of available languages was given in configure.in.
14752 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14754 case "$ac_given_srcdir" in
14756 *) srcdirpre
='$(srcdir)/' ;;
14762 for lang
in $ALL_LINGUAS; do
14763 POFILES
="$POFILES $srcdirpre$lang.po"
14764 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14765 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14766 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14768 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14769 # environment variable.
14771 if test -n "$ALL_LINGUAS"; then
14772 for presentlang
in $ALL_LINGUAS; do
14774 if test "%UNSET%" != "$LINGUAS"; then
14775 desiredlanguages
="$LINGUAS"
14777 desiredlanguages
="$ALL_LINGUAS"
14779 for desiredlang
in $desiredlanguages; do
14780 # Use the presentlang catalog if desiredlang is
14781 # a. equal to presentlang, or
14782 # b. a variant of presentlang (because in this case,
14783 # presentlang can be used as a fallback for messages
14784 # which are not translated in the desiredlang catalog).
14785 case "$desiredlang" in
14786 "$presentlang"*) useit
=yes;;
14789 if test $useit = yes; then
14790 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14795 if test -n "$INST_LINGUAS"; then
14796 for lang
in $INST_LINGUAS; do
14797 CATALOGS
="$CATALOGS $lang.gmo"
14800 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14801 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"
14802 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14803 if test -f "$f"; then
14805 *.orig |
*.bak |
*~
) ;;
14806 *) cat "$f" >> "$ac_dir/Makefile" ;;
14821 ac_clean_files
=$ac_clean_files_save
14823 test $ac_write_fail = 0 ||
14824 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14827 # configure is writing to config.log, and then calls config.status.
14828 # config.status does its own redirection, appending to config.log.
14829 # Unfortunately, on DOS this fails, as config.log is still kept open
14830 # by configure, so config.status won't be able to write to it; its
14831 # output is simply discarded. So we exec the FD to /dev/null,
14832 # effectively closing config.log, so it can be properly (re)opened and
14833 # appended to by config.status. When coming back to configure, we
14834 # need to make the FD available again.
14835 if test "$no_create" != yes; then
14837 ac_config_status_args
=
14838 test "$silent" = yes &&
14839 ac_config_status_args
="$ac_config_status_args --quiet"
14841 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14843 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14844 # would make configure fail if this is the last instruction.
14845 $ac_cs_success || as_fn_exit $?
14847 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14849 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}