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
="ar.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
767 MAINTAINER_MODE_FALSE
828 INSTALL_STRIP_PROGRAM
889 program_transform_name
902 enable_option_checking
903 enable_dependency_tracking
914 enable_build_warnings
916 enable_maintainer_mode
920 ac_precious_vars
='build_alias
933 # Initialize some variables set by options.
935 ac_init_version
=false
936 ac_unrecognized_opts
=
938 # The variables have the same names as the options, with
939 # dashes changed to underlines.
947 program_transform_name
=s
,x
,x
,
955 # Installation directory options.
956 # These are left unexpanded so users can "make install exec_prefix=/foo"
957 # and all the variables that are supposed to be based on exec_prefix
958 # by default will actually change.
959 # Use braces instead of parens because sh, perl, etc. also accept them.
960 # (The list follows the same order as the GNU Coding Standards.)
961 bindir
='${exec_prefix}/bin'
962 sbindir
='${exec_prefix}/sbin'
963 libexecdir
='${exec_prefix}/libexec'
964 datarootdir
='${prefix}/share'
965 datadir
='${datarootdir}'
966 sysconfdir
='${prefix}/etc'
967 sharedstatedir
='${prefix}/com'
968 localstatedir
='${prefix}/var'
969 includedir
='${prefix}/include'
970 oldincludedir
='/usr/include'
971 docdir
='${datarootdir}/doc/${PACKAGE}'
972 infodir
='${datarootdir}/info'
977 libdir
='${exec_prefix}/lib'
978 localedir
='${datarootdir}/locale'
979 mandir
='${datarootdir}/man'
985 # If the previous option needs an argument, assign it.
986 if test -n "$ac_prev"; then
987 eval $ac_prev=\
$ac_option
993 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
997 # Accept the important Cygnus configure options, so we can diagnose typos.
999 case $ac_dashdash$ac_option in
1003 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1005 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1006 bindir
=$ac_optarg ;;
1008 -build |
--build |
--buil |
--bui |
--bu)
1009 ac_prev
=build_alias
;;
1010 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1011 build_alias
=$ac_optarg ;;
1013 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1014 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1015 ac_prev
=cache_file
;;
1016 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1017 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1018 cache_file
=$ac_optarg ;;
1020 --config-cache |
-C)
1021 cache_file
=config.cache
;;
1023 -datadir |
--datadir |
--datadi |
--datad)
1025 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1026 datadir
=$ac_optarg ;;
1028 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1029 |
--dataroo |
--dataro |
--datar)
1030 ac_prev
=datarootdir
;;
1031 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1032 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1033 datarootdir
=$ac_optarg ;;
1035 -disable-* |
--disable-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 as_fn_error
"invalid feature name: $ac_useropt"
1040 ac_useropt_orig
=$ac_useropt
1041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1044 "enable_
$ac_useropt"
1046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1047 ac_unrecognized_sep
=', ';;
1049 eval enable_
$ac_useropt=no
;;
1051 -docdir |
--docdir |
--docdi |
--doc |
--do)
1053 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1054 docdir
=$ac_optarg ;;
1056 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1058 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1059 dvidir
=$ac_optarg ;;
1061 -enable-* |
--enable-*)
1062 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1065 as_fn_error
"invalid feature name: $ac_useropt"
1066 ac_useropt_orig
=$ac_useropt
1067 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1070 "enable_
$ac_useropt"
1072 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1073 ac_unrecognized_sep
=', ';;
1075 eval enable_
$ac_useropt=\
$ac_optarg ;;
1077 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1078 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1079 |
--exec |
--exe |
--ex)
1080 ac_prev
=exec_prefix
;;
1081 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1082 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1083 |
--exec=* |
--exe=* |
--ex=*)
1084 exec_prefix
=$ac_optarg ;;
1086 -gas |
--gas |
--ga |
--g)
1087 # Obsolete; use --with-gas.
1090 -help |
--help |
--hel |
--he |
-h)
1091 ac_init_help
=long
;;
1092 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1093 ac_init_help
=recursive
;;
1094 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1095 ac_init_help
=short
;;
1097 -host |
--host |
--hos |
--ho)
1098 ac_prev
=host_alias
;;
1099 -host=* |
--host=* |
--hos=* |
--ho=*)
1100 host_alias
=$ac_optarg ;;
1102 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1104 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1106 htmldir
=$ac_optarg ;;
1108 -includedir |
--includedir |
--includedi |
--included |
--include \
1109 |
--includ |
--inclu |
--incl |
--inc)
1110 ac_prev
=includedir
;;
1111 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1112 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1113 includedir
=$ac_optarg ;;
1115 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1117 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1118 infodir
=$ac_optarg ;;
1120 -libdir |
--libdir |
--libdi |
--libd)
1122 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1123 libdir
=$ac_optarg ;;
1125 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1126 |
--libexe |
--libex |
--libe)
1127 ac_prev
=libexecdir
;;
1128 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1129 |
--libexe=* |
--libex=* |
--libe=*)
1130 libexecdir
=$ac_optarg ;;
1132 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1133 ac_prev
=localedir
;;
1134 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1135 localedir
=$ac_optarg ;;
1137 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1138 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1139 ac_prev
=localstatedir
;;
1140 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1141 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1142 localstatedir
=$ac_optarg ;;
1144 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1146 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1147 mandir
=$ac_optarg ;;
1149 -nfp |
--nfp |
--nf)
1150 # Obsolete; use --without-fp.
1153 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1154 |
--no-cr |
--no-c |
-n)
1157 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1158 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1161 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1162 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1163 |
--oldin |
--oldi |
--old |
--ol |
--o)
1164 ac_prev
=oldincludedir
;;
1165 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1166 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1167 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1168 oldincludedir
=$ac_optarg ;;
1170 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1172 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1173 prefix
=$ac_optarg ;;
1175 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1176 |
--program-pre |
--program-pr |
--program-p)
1177 ac_prev
=program_prefix
;;
1178 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1179 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1180 program_prefix
=$ac_optarg ;;
1182 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1183 |
--program-suf |
--program-su |
--program-s)
1184 ac_prev
=program_suffix
;;
1185 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1186 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1187 program_suffix
=$ac_optarg ;;
1189 -program-transform-name |
--program-transform-name \
1190 |
--program-transform-nam |
--program-transform-na \
1191 |
--program-transform-n |
--program-transform- \
1192 |
--program-transform |
--program-transfor \
1193 |
--program-transfo |
--program-transf \
1194 |
--program-trans |
--program-tran \
1195 |
--progr-tra |
--program-tr |
--program-t)
1196 ac_prev
=program_transform_name
;;
1197 -program-transform-name=* |
--program-transform-name=* \
1198 |
--program-transform-nam=* |
--program-transform-na=* \
1199 |
--program-transform-n=* |
--program-transform-=* \
1200 |
--program-transform=* |
--program-transfor=* \
1201 |
--program-transfo=* |
--program-transf=* \
1202 |
--program-trans=* |
--program-tran=* \
1203 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1204 program_transform_name
=$ac_optarg ;;
1206 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1208 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1209 pdfdir
=$ac_optarg ;;
1211 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1213 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1216 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1217 |
-silent |
--silent |
--silen |
--sile |
--sil)
1220 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1222 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1224 sbindir
=$ac_optarg ;;
1226 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1227 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1228 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1230 ac_prev
=sharedstatedir
;;
1231 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1232 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1233 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1235 sharedstatedir
=$ac_optarg ;;
1237 -site |
--site |
--sit)
1239 -site=* |
--site=* |
--sit=*)
1242 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1244 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1245 srcdir
=$ac_optarg ;;
1247 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1248 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1249 ac_prev
=sysconfdir
;;
1250 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1251 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1252 sysconfdir
=$ac_optarg ;;
1254 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1255 ac_prev
=target_alias
;;
1256 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1257 target_alias
=$ac_optarg ;;
1259 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1262 -version |
--version |
--versio |
--versi |
--vers |
-V)
1263 ac_init_version
=: ;;
1266 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1269 as_fn_error
"invalid package name: $ac_useropt"
1270 ac_useropt_orig
=$ac_useropt
1271 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1276 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1277 ac_unrecognized_sep
=', ';;
1279 eval with_
$ac_useropt=\
$ac_optarg ;;
1281 -without-* |
--without-*)
1282 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1283 # Reject names that are not valid shell variable names.
1284 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1285 as_fn_error
"invalid package name: $ac_useropt"
1286 ac_useropt_orig
=$ac_useropt
1287 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1288 case $ac_user_opts in
1292 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1293 ac_unrecognized_sep
=', ';;
1295 eval with_
$ac_useropt=no
;;
1298 # Obsolete; use --with-x.
1301 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1302 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1303 ac_prev
=x_includes
;;
1304 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1305 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1306 x_includes
=$ac_optarg ;;
1308 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1309 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1310 ac_prev
=x_libraries
;;
1311 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1312 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1313 x_libraries
=$ac_optarg ;;
1315 -*) as_fn_error
"unrecognized option: \`$ac_option'
1316 Try \`$0 --help' for more information."
1320 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1321 # Reject names that are not valid shell variable names.
1322 case $ac_envvar in #(
1323 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1324 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1326 eval $ac_envvar=\
$ac_optarg
1327 export $ac_envvar ;;
1330 # FIXME: should be removed in autoconf 3.0.
1331 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1332 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1333 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1334 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1340 if test -n "$ac_prev"; then
1341 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1342 as_fn_error
"missing argument to $ac_option"
1345 if test -n "$ac_unrecognized_opts"; then
1346 case $enable_option_checking in
1348 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1349 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1353 # Check all directory arguments for consistency.
1354 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1355 datadir sysconfdir sharedstatedir localstatedir includedir \
1356 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1357 libdir localedir mandir
1359 eval ac_val
=\$
$ac_var
1360 # Remove trailing slashes.
1363 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1364 eval $ac_var=\
$ac_val;;
1366 # Be sure to have absolute directory names.
1368 [\\/$
]* | ?
:[\\/]* ) continue;;
1369 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1371 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1374 # There might be people who depend on the old broken behavior: `$host'
1375 # used to hold the argument of --host etc.
1376 # FIXME: To remove some day.
1379 target
=$target_alias
1381 # FIXME: To remove some day.
1382 if test "x$host_alias" != x
; then
1383 if test "x$build_alias" = x
; then
1384 cross_compiling
=maybe
1385 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1386 If a cross compiler is detected then cross compile mode will be used." >&2
1387 elif test "x$build_alias" != "x$host_alias"; then
1393 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1395 test "$silent" = yes && exec 6>/dev
/null
1398 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1399 ac_ls_di
=`ls -di .` &&
1400 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1401 as_fn_error
"working directory cannot be determined"
1402 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1403 as_fn_error
"pwd does not report name of working directory"
1406 # Find the source files, if location was not specified.
1407 if test -z "$srcdir"; then
1408 ac_srcdir_defaulted
=yes
1409 # Try the directory containing this script, then the parent directory.
1410 ac_confdir
=`$as_dirname -- "$as_myself" ||
1411 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1412 X"$as_myself" : 'X\(//\)[^/]' \| \
1413 X"$as_myself" : 'X\(//\)$' \| \
1414 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1415 $as_echo X"$as_myself" |
1416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1434 if test ! -r "$srcdir/$ac_unique_file"; then
1438 ac_srcdir_defaulted
=no
1440 if test ! -r "$srcdir/$ac_unique_file"; then
1441 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1442 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1444 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1446 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1448 # When building in place, set srcdir=.
1449 if test "$ac_abs_confdir" = "$ac_pwd"; then
1452 # Remove unnecessary trailing slashes from srcdir.
1453 # Double slashes in file names in object file debugging info
1454 # mess up M-x gdb in Emacs.
1456 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1458 for ac_var
in $ac_precious_vars; do
1459 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1460 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1461 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1462 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1466 # Report the --help message.
1468 if test "$ac_init_help" = "long"; then
1469 # Omit some internal or obsolete options to make the list less imposing.
1470 # This message is too long to be a string in the A/UX 3.1 sh.
1472 \`configure' configures this package to adapt to many kinds of systems.
1474 Usage: $0 [OPTION]... [VAR=VALUE]...
1476 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477 VAR=VALUE. See below for descriptions of some of the useful variables.
1479 Defaults for the options are specified in brackets.
1482 -h, --help display this help and exit
1483 --help=short display options specific to this package
1484 --help=recursive display the short help of all the included packages
1485 -V, --version display version information and exit
1486 -q, --quiet, --silent do not print \`checking...' messages
1487 --cache-file=FILE cache test results in FILE [disabled]
1488 -C, --config-cache alias for \`--cache-file=config.cache'
1489 -n, --no-create do not create output files
1490 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1492 Installation directories:
1493 --prefix=PREFIX install architecture-independent files in PREFIX
1494 [$ac_default_prefix]
1495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1498 By default, \`make install' will install all the files in
1499 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1500 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1501 for instance \`--prefix=\$HOME'.
1503 For better control, use the options below.
1505 Fine tuning of the installation directories:
1506 --bindir=DIR user executables [EPREFIX/bin]
1507 --sbindir=DIR system admin executables [EPREFIX/sbin]
1508 --libexecdir=DIR program executables [EPREFIX/libexec]
1509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1511 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1512 --libdir=DIR object code libraries [EPREFIX/lib]
1513 --includedir=DIR C header files [PREFIX/include]
1514 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1515 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1516 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1517 --infodir=DIR info documentation [DATAROOTDIR/info]
1518 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1519 --mandir=DIR man documentation [DATAROOTDIR/man]
1520 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1521 --htmldir=DIR html documentation [DOCDIR]
1522 --dvidir=DIR dvi documentation [DOCDIR]
1523 --pdfdir=DIR pdf documentation [DOCDIR]
1524 --psdir=DIR ps documentation [DOCDIR]
1530 --program-prefix=PREFIX prepend PREFIX to installed program names
1531 --program-suffix=SUFFIX append SUFFIX to installed program names
1532 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1535 --build=BUILD configure
for building on BUILD
[guessed
]
1536 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1537 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1541 if test -n "$ac_init_help"; then
1546 --disable-option-checking ignore unrecognized
--enable/--with options
1547 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1548 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1549 --disable-dependency-tracking speeds up one-time build
1550 --enable-dependency-tracking do not reject slow dependency extractors
1551 --enable-plugins Enable support
for plugins
(defaults no
)
1552 --disable-largefile omit support
for large files
1553 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1554 --enable-static[=PKGS
] build static libraries
[default
=yes]
1555 --enable-fast-install[=PKGS
]
1556 optimize
for fast installation
[default
=yes]
1557 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1558 --enable-targets alternative target configurations
1559 --enable-werror treat compile warnings as errors
1560 --enable-build-warnings enable build-time compiler warnings
1561 --disable-nls do not use Native Language Support
1562 --enable-maintainer-mode enable make rules and dependencies not useful
1563 (and sometimes confusing
) to the casual installer
1564 --disable-rpath do not hardcode runtime library paths
1567 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1568 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1569 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1571 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1572 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1573 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1574 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1576 Some influential environment variables:
1577 CC C compiler command
1578 CFLAGS C compiler flags
1579 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1580 nonstandard directory <lib dir>
1581 LIBS libraries to pass to the linker, e.g. -l<library>
1582 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1583 you have headers in a nonstandard directory <include dir>
1585 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1586 the first program found out of
: `bison -y', `byacc
', `yacc'.
1587 YFLAGS The list of arguments that will be passed by default to
$YACC.
1588 This
script will default YFLAGS to the empty string to avoid a
1589 default value of
`-d' given by some make applications.
1591 Use these variables to override the choices made by `configure
' or to help
1592 it to find libraries and programs with nonstandard names/locations.
1594 Report bugs to the package provider.
1599 if test "$ac_init_help" = "recursive"; then
1600 # If there are subdirs, report their specific --help.
1601 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1602 test -d "$ac_dir" ||
1603 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1608 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1610 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.
[\\/]||
'`
1611 # A ".." for each directory in $ac_dir_suffix.
1612 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|
/[^
\\/]*|
/..|g
;s|
/||
'`
1613 case $ac_top_builddir_sub in
1614 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1615 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1618 ac_abs_top_builddir=$ac_pwd
1619 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1620 # for backward compatibility:
1621 ac_top_builddir=$ac_top_build_prefix
1624 .) # We are building in place.
1626 ac_top_srcdir=$ac_top_builddir_sub
1627 ac_abs_top_srcdir=$ac_pwd ;;
1628 [\\/]* | ?:[\\/]* ) # Absolute name.
1629 ac_srcdir=$srcdir$ac_dir_suffix;
1630 ac_top_srcdir=$srcdir
1631 ac_abs_top_srcdir=$srcdir ;;
1633 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1634 ac_top_srcdir=$ac_top_build_prefix$srcdir
1635 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1637 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1639 cd "$ac_dir" || { ac_status=$?; continue; }
1640 # Check for guested configure.
1641 if test -f "$ac_srcdir/configure.gnu"; then
1643 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1644 elif test -f "$ac_srcdir/configure"; then
1646 $SHELL "$ac_srcdir/configure" --help=recursive
1648 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1650 cd "$ac_pwd" || { ac_status=$?; break; }
1654 test -n "$ac_init_help" && exit $ac_status
1655 if $ac_init_version; then
1658 generated by GNU Autoconf 2.64
1660 Copyright (C) 2009 Free Software Foundation, Inc.
1661 This configure script is free software; the Free Software Foundation
1662 gives unlimited permission to copy, distribute and modify it.
1667 ## ------------------------ ##
1668 ## Autoconf initialization. ##
1669 ## ------------------------ ##
1671 # ac_fn_c_try_compile LINENO
1672 # --------------------------
1673 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1674 ac_fn_c_try_compile ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 rm -f conftest.$ac_objext
1678 if { { ac_try="$ac_compile"
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_compile") 2>conftest.err
1687 if test -s conftest.err; then
1688 grep -v '^
*+' conftest.err >conftest.er1
1689 cat conftest.er1 >&5
1690 mv -f conftest.er1 conftest.err
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && {
1694 test -z "$ac_c_werror_flag" ||
1695 test ! -s conftest.err
1696 } && test -s conftest.$ac_objext; then :
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's
/^
/|
/' conftest.$ac_ext >&5
1704 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1707 } # ac_fn_c_try_compile
1709 # ac_fn_c_try_link LINENO
1710 # -----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded.
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 rm -f conftest.$ac_objext conftest$ac_exeext
1716 if { { ac_try="$ac_link"
1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>conftest.err
1725 if test -s conftest.err; then
1726 grep -v '^
*+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest$ac_exeext && {
1735 test "$cross_compiling" = yes ||
1736 $as_test_x conftest$ac_exeext
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's
/^
/|
/' conftest.$ac_ext >&5
1745 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1746 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1747 # interfere with the next link command; also delete a directory that is
1748 # left behind by Apple's compiler. We
do this before executing the actions.
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1753 } # ac_fn_c_try_link
1755 # ac_fn_c_try_cpp LINENO
1756 # ----------------------
1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1761 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } >/dev/null && {
1777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1792 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1793 # -------------------------------------------------------
1794 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1795 # the include files in INCLUDES and setting the cache variable VAR
1797 ac_fn_c_check_header_mongrel ()
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1804 $as_echo_n "(cached) " >&6
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1810 # Is the header compilable?
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1812 $as_echo_n "checking $2 usability... " >&6; }
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1818 if ac_fn_c_try_compile "$LINENO"; then :
1819 ac_header_compiler=yes
1821 ac_header_compiler=no
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1825 $as_echo "$ac_header_compiler" >&6; }
1827 # Is the header present?
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1829 $as_echo_n "checking $2 presence... " >&6; }
1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1834 if ac_fn_c_try_cpp "$LINENO"; then :
1835 ac_header_preproc=yes
1837 ac_header_preproc=no
1839 rm -f conftest.err conftest.$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1841 $as_echo "$ac_header_preproc" >&6; }
1843 # So? What about this header?
1844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1847 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1849 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1853 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1855 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1857 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1859 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1861 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867 $as_echo_n "(cached) " >&6
1869 eval "$3=\$ac_header_compiler"
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877 } # ac_fn_c_check_header_mongrel
1879 # ac_fn_c_try_run LINENO
1880 # ----------------------
1881 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1882 # that executables *can* be run.
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 if { { ac_try="$ac_link"
1888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1889 *) ac_try_echo
=$ac_try;;
1891 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_link") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1897 { { case "(($ac_try" in
1898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_try") 2>&5
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; }; }; then :
1909 $as_echo "$as_me: program exited with status $ac_status" >&5
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.$ac_ext >&5
1913 ac_retval=$ac_status
1915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1921 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1922 # -------------------------------------------------------
1923 # Tests whether HEADER exists and can be compiled using the include files in
1924 # INCLUDES, setting the cache variable VAR accordingly.
1925 ac_fn_c_check_header_compile ()
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1931 $as_echo_n "(cached) " >&6
1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934 /* end confdefs.h. */
1938 if ac_fn_c_try_compile "$LINENO"; then :
1943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1950 } # ac_fn_c_check_header_compile
1952 # ac_fn_c_check_func LINENO FUNC VAR
1953 # ----------------------------------
1954 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1955 ac_fn_c_check_func ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1959 $as_echo_n "checking for $2... " >&6; }
1960 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1961 $as_echo_n "(cached) " >&6
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1965 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1967 #define $2 innocuous_$2
1969 /* System header to define __stub macros and hopefully few prototypes,
1970 which can conflict with char $2 (); below.
1971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1972 <limits.h> exists even on freestanding compilers. */
1975 # include <limits.h>
1977 # include <assert.h>
1982 /* Override any GCC internal prototype to avoid an error.
1983 Use char because int might match the return type of a GCC
1984 builtin and then its argument prototype would still apply. */
1989 /* The GNU C library defines this for functions which it implements
1990 to always fail with ENOSYS. Some functions are actually named
1991 something starting with __ and the normal name is an alias. */
1992 #if defined __stub_$2 || defined __stub___$2
2004 if ac_fn_c_try_link "$LINENO"; then :
2009 rm -f core conftest.err conftest.$ac_objext \
2010 conftest$ac_exeext conftest.$ac_ext
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2014 $as_echo "$ac_res" >&6; }
2015 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2017 } # ac_fn_c_check_func
2019 # ac_fn_c_check_decl LINENO SYMBOL VAR
2020 # ------------------------------------
2021 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2022 ac_fn_c_check_decl ()
2024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2026 $as_echo_n "checking whether $2 is declared... " >&6; }
2027 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2028 $as_echo_n "(cached) " >&6
2030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2031 /* end confdefs.h. */
2044 if ac_fn_c_try_compile "$LINENO"; then :
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2054 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2056 } # ac_fn_c_check_decl
2057 cat >config.log <<_ACEOF
2058 This file contains any messages produced by compilers while
2059 running configure, to aid debugging if configure makes a mistake.
2061 It was created by $as_me, which was
2062 generated by GNU Autoconf 2.64. Invocation command line was
2074 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2075 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2076 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2077 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2078 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2080 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2081 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2083 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2084 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2085 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2086 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2087 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2088 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2089 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir=.
2098 $as_echo "PATH: $as_dir"
2114 # Keep a trace of the command line.
2115 # Strip out --no-create and --no-recursion so they do not pile up.
2116 # Strip out --silent because we don't want to record it for future runs.
2117 # Also quote any args containing shell meta-characters.
2118 # Make two passes to allow for proper duplicate-argument suppression.
2122 ac_must_keep_next=false
2128 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2129 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2130 | -silent | --silent | --silen | --sile | --sil)
2133 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2136 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2138 as_fn_append ac_configure_args1 " '$ac_arg'"
2139 if test $ac_must_keep_next = true; then
2140 ac_must_keep_next=false # Got value, back to normal.
2143 *=* | --config-cache | -C | -disable-* | --disable-* \
2144 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2145 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2146 | -with-* | --with-* | -without-* | --without-* | --x)
2147 case "$ac_configure_args0 " in
2148 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2151 -* ) ac_must_keep_next=true ;;
2154 as_fn_append ac_configure_args " '$ac_arg'"
2159 { ac_configure_args0=; unset ac_configure_args0;}
2160 { ac_configure_args1=; unset ac_configure_args1;}
2162 # When interrupted or exit'd, cleanup temporary files, and complete
2163 # config.log. We remove comments because anyway the quotes in there
2164 # would cause problems or look ugly.
2165 # WARNING: Use '\'' to represent an apostrophe within the trap.
2166 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2167 trap 'exit_status=$?
2168 # Save into config.log some information that might help in debugging.
2173 ## ---------------- ##
2174 ## Cache variables. ##
2175 ## ---------------- ##
2178 # The following way of writing the cache mishandles newlines in values,
2180 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2181 eval ac_val=\$$ac_var
2185 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2189 _ | IFS | as_nl) ;; #(
2190 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2191 *) { eval $ac_var=; unset $ac_var;} ;;
2196 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2197 *${as_nl}ac_space=\ *)
2199 "s/'\''/'\''\\\\'\'''\''/g;
2200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2203 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2211 ## ----------------- ##
2212 ## Output variables. ##
2213 ## ----------------- ##
2216 for ac_var in $ac_subst_vars
2218 eval ac_val=\$$ac_var
2220 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2222 $as_echo "$ac_var='\''$ac_val'\''"
2226 if test -n "$ac_subst_files"; then
2228 ## ------------------- ##
2229 ## File substitutions. ##
2230 ## ------------------- ##
2233 for ac_var in $ac_subst_files
2235 eval ac_val=\$$ac_var
2237 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2239 $as_echo "$ac_var='\''$ac_val'\''"
2244 if test -s confdefs.h; then
2254 test "$ac_signal" != 0 &&
2255 $as_echo "$as_me: caught signal $ac_signal"
2256 $as_echo "$as_me: exit $exit_status"
2258 rm -f core *.core core.conftest.* &&
2259 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2262 for ac_signal in 1 2 13 15; do
2263 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2267 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2268 rm -f -r conftest* confdefs.h
2270 $as_echo "/* confdefs.h */" > confdefs.h
2272 # Predefined preprocessor variables.
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_NAME "$PACKAGE_NAME"
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_STRING "$PACKAGE_STRING"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_URL "$PACKAGE_URL"
2299 # Let the site file select an alternate cache file if it wants to.
2300 # Prefer an explicitly selected file to automatically selected ones.
2303 if test -n "$CONFIG_SITE"; then
2304 ac_site_file1=$CONFIG_SITE
2305 elif test "x$prefix" != xNONE; then
2306 ac_site_file1=$prefix/share/config.site
2307 ac_site_file2=$prefix/etc/config.site
2309 ac_site_file1=$ac_default_prefix/share/config.site
2310 ac_site_file2=$ac_default_prefix/etc/config.site
2312 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2314 test "x$ac_site_file" = xNONE && continue
2315 if test -r "$ac_site_file"; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2317 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special
2325 # files actually), so we avoid doing that.
2326 if test -f "$cache_file"; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2328 $as_echo "$as_me: loading cache $cache_file" >&6;}
2330 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2331 *) . "./$cache_file";;
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2336 $as_echo "$as_me: creating cache $cache_file" >&6;}
2340 # Check that the precious variables saved in the cache have kept the same
2342 ac_cache_corrupted=false
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2345 eval ac_new_set=\$ac_env_${ac_var}_set
2346 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2347 eval ac_new_val=\$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2351 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted=: ;;
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2355 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 # differences in whitespace do not lead to failure.
2361 ac_old_val_w=`echo x
$ac_old_val`
2362 ac_new_val_w=`echo x
$ac_new_val`
2363 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2365 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2366 ac_cache_corrupted=:
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2369 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2370 eval $ac_var=\$ac_old_val
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2373 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2375 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2378 # Pass precious variables to config.status.
2379 if test "$ac_new_set" = set; then
2381 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2382 *) ac_arg=$ac_var=$ac_new_val ;;
2384 case " $ac_configure_args " in
2385 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2386 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2390 if $ac_cache_corrupted; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2394 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2395 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2397 ## -------------------- ##
2398 ## Main body of script. ##
2399 ## -------------------- ##
2402 ac_cpp='$CPP $CPPFLAGS'
2403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2414 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2415 for ac_t in install-sh install.sh shtool; do
2416 if test -f "$ac_dir/$ac_t"; then
2418 ac_install_sh="$ac_aux_dir/$ac_t -c"
2423 if test -z "$ac_aux_dir"; then
2424 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2427 # These three variables are undocumented and unsupported,
2428 # and are intended to be withdrawn in a future Autoconf release.
2429 # They can cause serious problems if a builder's source tree is in a directory
2430 # whose full name contains unusual characters.
2431 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2432 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2433 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2436 # Make sure we can run config.sub.
2437 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2438 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2441 $as_echo_n "checking build system type... " >&6; }
2442 if test "${ac_cv_build+set}" = set; then :
2443 $as_echo_n "(cached) " >&6
2445 ac_build_alias=$build_alias
2446 test "x$ac_build_alias" = x &&
2447 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2448 test "x$ac_build_alias" = x &&
2449 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2450 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2451 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2455 $as_echo "$ac_cv_build" >&6; }
2456 case $ac_cv_build in
2458 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2461 ac_save_IFS=$IFS; IFS='-'
2467 # Remember, the first character of IFS is used to create $*,
2468 # except with old shells:
2471 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2475 $as_echo_n "checking host system type... " >&6; }
2476 if test "${ac_cv_host+set}" = set; then :
2477 $as_echo_n "(cached) " >&6
2479 if test "x$host_alias" = x; then
2480 ac_cv_host=$ac_cv_build
2482 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2483 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2488 $as_echo "$ac_cv_host" >&6; }
2491 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2494 ac_save_IFS=$IFS; IFS='-'
2500 # Remember, the first character of IFS is used to create $*,
2501 # except with old shells:
2504 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2508 $as_echo_n "checking target system type... " >&6; }
2509 if test "${ac_cv_target+set}" = set; then :
2510 $as_echo_n "(cached) " >&6
2512 if test "x$target_alias" = x; then
2513 ac_cv_target=$ac_cv_host
2515 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2516 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2521 $as_echo "$ac_cv_target" >&6; }
2522 case $ac_cv_target in
2524 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2526 target=$ac_cv_target
2527 ac_save_IFS=$IFS; IFS='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2540 # The aliases save the names the user supplied, while $host etc.
2541 # will get canonicalized.
2542 test -n "$target_alias" &&
2543 test "$program_prefix$program_suffix$program_transform_name" = \
2545 program_prefix=${target_alias}-
2547 ac_cpp='$CPP $CPPFLAGS'
2548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2551 if test -n "$ac_tool_prefix"; then
2552 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2553 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2555 $as_echo_n "checking for $ac_word... " >&6; }
2556 if test "${ac_cv_prog_CC+set}" = set; then :
2557 $as_echo_n "(cached) " >&6
2559 if test -n "$CC"; then
2560 ac_cv_prog_CC="$CC" # Let the user override the test.
2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 test -z "$as_dir" && as_dir=.
2567 for ac_exec_ext in '' $ac_executable_extensions; do
2568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2569 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2580 if test -n "$CC"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2582 $as_echo "$CC" >&6; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2585 $as_echo "no" >&6; }
2590 if test -z "$ac_cv_prog_CC"; then
2592 # Extract the first word of "gcc", so it can be a program name with args.
2593 set dummy gcc; ac_word=$2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2597 $as_echo_n "(cached) " >&6
2599 if test -n "$ac_ct_CC"; then
2600 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609 ac_cv_prog_ac_ct_CC="gcc"
2610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2620 if test -n "$ac_ct_CC"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2622 $as_echo "$ac_ct_CC" >&6; }
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625 $as_echo "no" >&6; }
2628 if test "x$ac_ct_CC" = x; then
2631 case $cross_compiling:$ac_tool_warned in
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2635 ac_tool_warned=yes ;;
2643 if test -z "$CC"; then
2644 if test -n "$ac_tool_prefix"; then
2645 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2646 set dummy ${ac_tool_prefix}cc; ac_word=$2
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648 $as_echo_n "checking for $ac_word... " >&6; }
2649 if test "${ac_cv_prog_CC+set}" = set; then :
2650 $as_echo_n "(cached) " >&6
2652 if test -n "$CC"; then
2653 ac_cv_prog_CC="$CC" # Let the user override the test.
2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir=.
2660 for ac_exec_ext in '' $ac_executable_extensions; do
2661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2662 ac_cv_prog_CC="${ac_tool_prefix}cc"
2663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test -n "$CC"; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2675 $as_echo "$CC" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678 $as_echo "no" >&6; }
2684 if test -z "$CC"; then
2685 # Extract the first word of "cc", so it can be a program name with args.
2686 set dummy cc; ac_word=$2
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2688 $as_echo_n "checking for $ac_word... " >&6; }
2689 if test "${ac_cv_prog_CC+set}" = set; then :
2690 $as_echo_n "(cached) " >&6
2692 if test -n "$CC"; then
2693 ac_cv_prog_CC="$CC" # Let the user override the test.
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir=.
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2704 ac_prog_rejected=yes
2708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 if test $ac_prog_rejected = yes; then
2716 # We found a bogon in the path, so make sure we never use it.
2717 set dummy $ac_cv_prog_CC
2719 if test $# != 0; then
2720 # We chose a different compiler from the bogus one.
2721 # However, it has the same basename, so the bogon will be chosen
2722 # first if we set CC to just the basename; use the full file name.
2724 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2730 if test -n "$CC"; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2732 $as_echo "$CC" >&6; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2740 if test -z "$CC"; then
2741 if test -n "$ac_tool_prefix"; then
2742 for ac_prog in cl.exe
2744 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2745 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2747 $as_echo_n "checking for $ac_word... " >&6; }
2748 if test "${ac_cv_prog_CC+set}" = set; then :
2749 $as_echo_n "(cached) " >&6
2751 if test -n "$CC"; then
2752 ac_cv_prog_CC="$CC" # Let the user override the test.
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 test -z "$as_dir" && as_dir=.
2759 for ac_exec_ext in '' $ac_executable_extensions; do
2760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2761 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2772 if test -n "$CC"; then
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2774 $as_echo "$CC" >&6; }
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 $as_echo "no" >&6; }
2781 test -n "$CC" && break
2784 if test -z "$CC"; then
2786 for ac_prog in cl.exe
2788 # Extract the first word of "$ac_prog", so it can be a program name with args.
2789 set dummy $ac_prog; ac_word=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$ac_ct_CC"; then
2796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir=.
2803 for ac_exec_ext in '' $ac_executable_extensions; do
2804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805 ac_cv_prog_ac_ct_CC="$ac_prog"
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2816 if test -n "$ac_ct_CC"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2818 $as_echo "$ac_ct_CC" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2825 test -n "$ac_ct_CC" && break
2828 if test "x$ac_ct_CC" = x; then
2831 case $cross_compiling:$ac_tool_warned in
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2835 ac_tool_warned=yes ;;
2844 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2846 as_fn_error "no acceptable C compiler found
in \
$PATH
2847 See \
`config.log' for more details." "$LINENO" 5; }
2849 # Provide some information about the compiler.
2850 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2853 for ac_option in --version -v -V -qversion; do
2854 { { ac_try="$ac_compiler $ac_option >&5"
2856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2857 *) ac_try_echo
=$ac_try;;
2859 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2860 $as_echo "$ac_try_echo"; } >&5
2861 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2863 if test -s conftest.err
; then
2865 ... rest of stderr output deleted ...
2866 10q' conftest.err
>conftest.er1
2867 cat conftest.er1
>&5
2868 rm -f conftest.er1 conftest.err
2870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2871 test $ac_status = 0; }
2874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2885 ac_clean_files_save
=$ac_clean_files
2886 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2887 # Try to create an executable without -o first, disregard a.out.
2888 # It will help us diagnose broken compilers, and finding out an intuition
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2891 $as_echo_n "checking for C compiler default output file name... " >&6; }
2892 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2894 # The possible output files:
2895 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2898 for ac_file
in $ac_files
2901 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2902 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2907 if { { ac_try
="$ac_link_default"
2909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2913 $as_echo "$ac_try_echo"; } >&5
2914 (eval "$ac_link_default") 2>&5
2916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2917 test $ac_status = 0; }; then :
2918 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2919 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2920 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2921 # so that the user can short-circuit this test for compilers unknown to
2923 for ac_file in $ac_files ''
2925 test -f "$ac_file" || continue
2927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2930 # We found the default executable, but exeext='' is most
2934 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2936 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2938 # We set ac_cv_exeext here because the later test for it is not
2939 # safe: cross compilers may not add the suffix if given an `-o'
2940 # argument, so we may need to know it at that point already.
2941 # Even if this section looks crufty: it has the advantage of
2948 test "$ac_cv_exeext" = no && ac_cv_exeext=
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2954 $as_echo "$ac_file" >&6; }
2955 if test -z "$ac_file"; then :
2956 $as_echo "$as_me: failed program was:" >&5
2957 sed 's
/^
/|
/' conftest.$ac_ext >&5
2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2960 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2961 { as_fn_set_status 77
2962 as_fn_error "C compiler cannot create executables
2963 See \`config.log
' for more details." "$LINENO" 5; }; }
2965 ac_exeext=$ac_cv_exeext
2967 # Check that the compiler produces executables we can run. If not, either
2968 # the compiler is broken, or we cross compile.
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2970 $as_echo_n "checking whether the C compiler works... " >&6; }
2971 # If not cross compiling, check that we can run a simple program.
2972 if test "$cross_compiling" != yes; then
2973 if { ac_try='.
/$ac_file'
2974 { { case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2979 $as_echo "$ac_try_echo"; } >&5
2980 (eval "$ac_try") 2>&5
2982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2983 test $ac_status = 0; }; }; then
2986 if test "$cross_compiling" = maybe; then
2989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2990 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2991 as_fn_error "cannot run C compiled programs.
2992 If you meant to cross compile, use \`--host'.
2993 See \`config.log' for more details.
" "$LINENO" 5; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2998 $as_echo "yes" >&6; }
3000 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3001 ac_clean_files=$ac_clean_files_save
3002 # Check that the compiler produces executables we can run. If not, either
3003 # the compiler is broken, or we cross compile.
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3005 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3007 $as_echo "$cross_compiling" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3010 $as_echo_n "checking
for suffix of executables...
" >&6; }
3011 if { { ac_try="$ac_link"
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3016 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3017 $as_echo "$ac_try_echo"; } >&5
3018 (eval "$ac_link") 2>&5
3020 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3021 test $ac_status = 0; }; then :
3022 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3023 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3024 # work properly (i.e., refer to `conftest.exe'), while it won't with
3026 for ac_file in conftest.exe conftest conftest.*; do
3027 test -f "$ac_file" || continue
3029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3030 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3038 as_fn_error "cannot compute suffix of executables: cannot compile and link
3039 See \`config.log' for more details.
" "$LINENO" 5; }
3041 rm -f conftest$ac_cv_exeext
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3043 $as_echo "$ac_cv_exeext" >&6; }
3045 rm -f conftest.$ac_ext
3046 EXEEXT=$ac_cv_exeext
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3049 $as_echo_n "checking
for suffix of object files...
" >&6; }
3050 if test "${ac_cv_objext+set}" = set; then :
3051 $as_echo_n "(cached
) " >&6
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h. */
3064 rm -f conftest.o conftest.obj
3065 if { { ac_try="$ac_compile"
3067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072 (eval "$ac_compile") 2>&5
3074 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3075 test $ac_status = 0; }; then :
3076 for ac_file in conftest.o conftest.obj conftest.*; do
3077 test -f "$ac_file" || continue;
3079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3080 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3085 $as_echo "$as_me: failed program was
:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3088 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3090 as_fn_error "cannot compute suffix of object files: cannot compile
3091 See \`config.log' for more details.
" "$LINENO" 5; }
3093 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3096 $as_echo "$ac_cv_objext" >&6; }
3097 OBJEXT=$ac_cv_objext
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3100 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3101 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3102 $as_echo_n "(cached
) " >&6
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3118 if ac_fn_c_try_compile "$LINENO"; then :
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3128 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3129 if test $ac_compiler_gnu = yes; then
3134 ac_test_CFLAGS=${CFLAGS+set}
3135 ac_save_CFLAGS=$CFLAGS
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3137 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3138 if test "${ac_cv_prog_cc_g+set}" = set; then :
3139 $as_echo_n "(cached
) " >&6
3141 ac_save_c_werror_flag=$ac_c_werror_flag
3142 ac_c_werror_flag=yes
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3156 if ac_fn_c_try_compile "$LINENO"; then :
3160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3161 /* end confdefs.h. */
3171 if ac_fn_c_try_compile "$LINENO"; then :
3174 ac_c_werror_flag=$ac_save_c_werror_flag
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3187 if ac_fn_c_try_compile "$LINENO"; then :
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 ac_c_werror_flag=$ac_save_c_werror_flag
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3198 $as_echo "$ac_cv_prog_cc_g" >&6; }
3199 if test "$ac_test_CFLAGS" = set; then
3200 CFLAGS=$ac_save_CFLAGS
3201 elif test $ac_cv_prog_cc_g = yes; then
3202 if test "$GCC" = yes; then
3208 if test "$GCC" = yes; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3215 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3216 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3217 $as_echo_n "(cached
) " >&6
3219 ac_cv_prog_cc_c89=no
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3225 #include <sys/types.h>
3226 #include <sys/stat.h>
3227 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3228 struct buf { int x; };
3229 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3230 static char *e (p, i)
3236 static char *f (char * (*g) (char **, int), char **p, ...)
3241 s = g (p, va_arg (v,int));
3246 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3247 function prototypes and stuff, but not '\xHH' hex character constants.
3248 These don't provoke an error unfortunately, instead are silently treated
3249 as 'x'. The following induces an error, until -std is added to get
3250 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3251 array size at least. It's necessary to write '\x00'==0 to get something
3252 that's true only with -std. */
3253 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3255 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3256 inside strings and character constants. */
3258 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3260 int test (int i, double x);
3261 struct s1 {int (*f) (int a);};
3262 struct s2 {int (*f) (double a);};
3263 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3269 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3274 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3275 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3277 CC="$ac_save_CC $ac_arg"
3278 if ac_fn_c_try_compile "$LINENO"; then :
3279 ac_cv_prog_cc_c89=$ac_arg
3281 rm -f core conftest.err conftest.$ac_objext
3282 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3284 rm -f conftest.$ac_ext
3289 case "x
$ac_cv_prog_cc_c89" in
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3292 $as_echo "none needed
" >&6; } ;;
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3295 $as_echo "unsupported
" >&6; } ;;
3297 CC="$CC $ac_cv_prog_cc_c89"
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3299 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3301 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing strerror
" >&5
3313 $as_echo_n "checking
for library containing strerror...
" >&6; }
3314 if test "${ac_cv_search_strerror+set}" = set; then :
3315 $as_echo_n "(cached
) " >&6
3317 ac_func_search_save_LIBS=$LIBS
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3321 /* Override any GCC internal prototype to avoid an error.
3322 Use char because int might match the return type of a GCC
3323 builtin and then its argument prototype would still apply. */
3336 for ac_lib in '' cposix; do
3337 if test -z "$ac_lib"; then
3338 ac_res="none required
"
3341 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3343 if ac_fn_c_try_link "$LINENO"; then :
3344 ac_cv_search_strerror=$ac_res
3346 rm -f core conftest.err conftest.$ac_objext \
3348 if test "${ac_cv_search_strerror+set}" = set; then :
3352 if test "${ac_cv_search_strerror+set}" = set; then :
3355 ac_cv_search_strerror=no
3358 LIBS=$ac_func_search_save_LIBS
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_strerror" >&5
3361 $as_echo "$ac_cv_search_strerror" >&6; }
3362 ac_res=$ac_cv_search_strerror
3363 if test "$ac_res" != no; then :
3364 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3369 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
3370 am__api_version='1.11'
3372 # Find a good install program. We prefer a C program (faster),
3373 # so one script is as good as another. But avoid the broken or
3374 # incompatible versions:
3375 # SysV /etc/install, /usr/sbin/install
3376 # SunOS /usr/etc/install
3377 # IRIX /sbin/install
3379 # AmigaOS /C/install, which installs bootblocks on floppy discs
3380 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3381 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3382 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
3383 # OS/2's system install, which has a completely different semantic
3384 # ./install, which can be erroneously created by make from ./install.sh.
3385 # Reject install programs that cannot install multiple files.
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
3387 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
3388 if test -z "$INSTALL"; then
3389 if test "${ac_cv_path_install+set}" = set; then :
3390 $as_echo_n "(cached
) " >&6
3392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3396 test -z "$as_dir" && as_dir=.
3397 # Account for people who put trailing slashes in PATH elements.
3398 case $as_dir/ in #((
3399 ./ | .// | /[cC]/* | \
3400 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3401 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3404 # OSF1 and SCO ODT 3.0 have their own names for install.
3405 # Don't use installbsd from OSF since it installs stuff as root
3407 for ac_prog in ginstall scoinst install; do
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3410 if test $ac_prog = install &&
3411 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3412 # AIX install. It has an incompatible calling convention.
3414 elif test $ac_prog = install &&
3415 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3416 # program-specific install script used by HP pwplus--don't use.
3419 rm -rf conftest.one conftest.two conftest.dir
3420 echo one > conftest.one
3421 echo two > conftest.two
3423 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
3424 test -s conftest.one && test -s conftest.two &&
3425 test -s conftest.dir/conftest.one &&
3426 test -s conftest.dir/conftest.two
3428 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3441 rm -rf conftest.one conftest.two conftest.dir
3444 if test "${ac_cv_path_install+set}" = set; then
3445 INSTALL=$ac_cv_path_install
3447 # As a last resort, use the slow shell script. Don't cache a
3448 # value for INSTALL within a source directory, because that will
3449 # break other packages using the cache if that directory is
3450 # removed, or if the value is a relative name.
3451 INSTALL=$ac_install_sh
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
3455 $as_echo "$INSTALL" >&6; }
3457 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3458 # It thinks the first close brace ends the variable substitution.
3459 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3461 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3463 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
3466 $as_echo_n "checking whether build environment is sane...
" >&6; }
3469 echo timestamp > conftest.file
3470 # Reject unsafe characters in $srcdir or the absolute working directory
3471 # name. Accept space and tab only in the latter.
3475 *[\\\"\#\$\&\'\`$am_lf]*)
3476 as_fn_error "unsafe absolute working directory name
" "$LINENO" 5;;
3479 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3480 as_fn_error "unsafe srcdir value
: \
`$srcdir'" "$LINENO" 5;;
3483 # Do `set' in a subshell so we don't clobber the current shell
's
3484 # arguments. Must try -L first in case configure is actually a
3485 # symlink; some systems play weird games with the mod time of symlinks
3486 # (eg FreeBSD returns the mod time of the symlink's containing
3489 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3490 if test "$*" = "X"; then
3492 set X
`ls -t "$srcdir/configure" conftest.file`
3495 if test "$*" != "X $srcdir/configure conftest.file" \
3496 && test "$*" != "X conftest.file $srcdir/configure"; then
3498 # If neither matched, then we have a broken ls. This can happen
3499 # if, for instance, CONFIG_SHELL is bash and it inherits a
3500 # broken ls alias from the environment. This has actually
3501 # happened. Such a system could not be considered "sane".
3502 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3503 alias in your environment" "$LINENO" 5
3506 test "$2" = conftest.
file
3512 as_fn_error
"newly created file is older than distributed files!
3513 Check your system clock" "$LINENO" 5
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3516 $as_echo "yes" >&6; }
3517 test "$program_prefix" != NONE
&&
3518 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3519 # Use a double $ so make ignores it.
3520 test "$program_suffix" != NONE
&&
3521 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3522 # Double any \ or $.
3523 # By default was `s,x,x', remove it if useless.
3524 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3525 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3527 # expand $ac_aux_dir to an absolute path
3528 am_aux_dir
=`cd $ac_aux_dir && pwd`
3530 if test x
"${MISSING+set}" != xset
; then
3533 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3535 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3538 # Use eval to expand $SHELL
3539 if eval "$MISSING --run true"; then
3540 am_missing_run
="$MISSING --run "
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3544 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3547 if test x
"${install_sh}" != xset
; then
3550 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3552 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3556 # Installed binaries are usually stripped using `strip' when the user
3557 # run `make install-strip'. However `strip' might not be the right
3558 # tool to use in cross-compilation environments, therefore Automake
3559 # will honor the `STRIP' environment variable to overrule this program.
3560 if test "$cross_compiling" != no
; then
3561 if test -n "$ac_tool_prefix"; then
3562 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3563 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565 $as_echo_n "checking for $ac_word... " >&6; }
3566 if test "${ac_cv_prog_STRIP+set}" = set; then :
3567 $as_echo_n "(cached) " >&6
3569 if test -n "$STRIP"; then
3570 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3576 test -z "$as_dir" && as_dir
=.
3577 for ac_exec_ext
in '' $ac_executable_extensions; do
3578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3579 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 STRIP
=$ac_cv_prog_STRIP
3590 if test -n "$STRIP"; then
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3592 $as_echo "$STRIP" >&6; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3600 if test -z "$ac_cv_prog_STRIP"; then
3602 # Extract the first word of "strip", so it can be a program name with args.
3603 set dummy strip
; ac_word
=$2
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3607 $as_echo_n "(cached) " >&6
3609 if test -n "$ac_ct_STRIP"; then
3610 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3619 ac_cv_prog_ac_ct_STRIP
="strip"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3630 if test -n "$ac_ct_STRIP"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3632 $as_echo "$ac_ct_STRIP" >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3638 if test "x$ac_ct_STRIP" = x
; then
3641 case $cross_compiling:$ac_tool_warned in
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3645 ac_tool_warned
=yes ;;
3650 STRIP
="$ac_cv_prog_STRIP"
3654 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3657 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3658 if test -z "$MKDIR_P"; then
3659 if test "${ac_cv_path_mkdir+set}" = set; then :
3660 $as_echo_n "(cached) " >&6
3662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3663 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3666 test -z "$as_dir" && as_dir
=.
3667 for ac_prog
in mkdir gmkdir
; do
3668 for ac_exec_ext
in '' $ac_executable_extensions; do
3669 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3670 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3671 'mkdir (GNU coreutils) '* | \
3672 'mkdir (coreutils) '* | \
3673 'mkdir (fileutils) '4.1*)
3674 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3684 if test "${ac_cv_path_mkdir+set}" = set; then
3685 MKDIR_P
="$ac_cv_path_mkdir -p"
3687 # As a last resort, use the slow shell script. Don't cache a
3688 # value for MKDIR_P within a source directory, because that will
3689 # break other packages using the cache if that directory is
3690 # removed, or if the value is a relative name.
3691 test -d .
/--version && rmdir .
/--version
3692 MKDIR_P
="$ac_install_sh -d"
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3696 $as_echo "$MKDIR_P" >&6; }
3700 [\\/$
]* | ?
:[\\/]*) ;;
3701 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3704 for ac_prog
in gawk mawk nawk
awk
3706 # Extract the first word of "$ac_prog", so it can be a program name with args.
3707 set dummy
$ac_prog; ac_word
=$2
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3709 $as_echo_n "checking for $ac_word... " >&6; }
3710 if test "${ac_cv_prog_AWK+set}" = set; then :
3711 $as_echo_n "(cached) " >&6
3713 if test -n "$AWK"; then
3714 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3720 test -z "$as_dir" && as_dir
=.
3721 for ac_exec_ext
in '' $ac_executable_extensions; do
3722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3723 ac_cv_prog_AWK
="$ac_prog"
3724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 if test -n "$AWK"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3736 $as_echo "$AWK" >&6; }
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3743 test -n "$AWK" && break
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3747 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3749 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3750 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3751 $as_echo_n "(cached) " >&6
3753 cat >conftest.
make <<\_ACEOF
3756 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3759 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3761 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3763 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3767 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3769 $as_echo "yes" >&6; }
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3774 SET_MAKE
="MAKE=${MAKE-make}"
3777 rm -rf .tst
2>/dev
/null
3778 mkdir .tst
2>/dev
/null
3779 if test -d .tst
; then
3784 rmdir .tst
2>/dev
/null
3786 DEPDIR
="${am__leading_dot}deps"
3788 ac_config_commands
="$ac_config_commands depfiles"
3791 am_make
=${MAKE-make}
3792 cat > confinc
<< 'END'
3794 @
echo this is the am__doit target
3797 # If we don't find an include directive, just comment out the code.
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3799 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3803 # First try GNU make style include.
3804 echo "include confinc" > confmf
3805 # Ignore all kinds of additional output from `make'.
3806 case `$am_make -s -f confmf 2> /dev/null` in #(
3807 *the\ am__doit\ target
*)
3813 # Now try BSD make style include.
3814 if test "$am__include" = "#"; then
3815 echo '.include "confinc"' > confmf
3816 case `$am_make -s -f confmf 2> /dev/null` in #(
3817 *the\ am__doit\ target
*)
3818 am__include
=.include
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3827 $as_echo "$_am_result" >&6; }
3828 rm -f confinc confmf
3830 # Check whether --enable-dependency-tracking was given.
3831 if test "${enable_dependency_tracking+set}" = set; then :
3832 enableval
=$enable_dependency_tracking;
3835 if test "x$enable_dependency_tracking" != xno
; then
3836 am_depcomp
="$ac_aux_dir/depcomp"
3839 if test "x$enable_dependency_tracking" != xno; then
3848 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3849 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3850 # is not polluted with repeated "-I."
3851 am__isrc
=' -I$(srcdir)'
3852 # test to see if srcdir already configured
3853 if test -f $srcdir/config.status
; then
3854 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3858 # test whether we have cygpath
3859 if test -z "$CYGPATH_W"; then
3860 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3861 CYGPATH_W
='cygpath -w'
3868 # Define the identity of the package.
3870 VERSION
=${BFD_VERSION}
3873 cat >>confdefs.h
<<_ACEOF
3874 #define PACKAGE "$PACKAGE"
3878 cat >>confdefs.h
<<_ACEOF
3879 #define VERSION "$VERSION"
3882 # Some tools Automake needs.
3884 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3887 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3890 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3893 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3896 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3898 # We need awk for the "check" target. The system "awk" is bad on
3900 # Always define AMTAR for backward compatibility.
3902 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3904 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3909 depcc
="$CC" am_compiler_list
=
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3912 $as_echo_n "checking dependency style of $depcc... " >&6; }
3913 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3914 $as_echo_n "(cached) " >&6
3916 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3917 # We make a subdir and do the tests there. Otherwise we can end up
3918 # making bogus files that we don't know about and never remove. For
3919 # instance it was reported that on HP-UX the gcc test will end up
3920 # making a dummy file named `D' -- because `-MD' means `put the output
3923 # Copy depcomp to subdir because otherwise we won't find it if we're
3924 # using a relative directory.
3925 cp "$am_depcomp" conftest.dir
3927 # We will build objects and dependencies in a subdirectory because
3928 # it helps to detect inapplicable dependency modes. For instance
3929 # both Tru64's cc and ICC support -MD to output dependencies as a
3930 # side effect of compilation, but ICC will put the dependencies in
3931 # the current directory while Tru64 will put them in the object
3935 am_cv_CC_dependencies_compiler_type
=none
3936 if test "$am_compiler_list" = ""; then
3937 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3940 case " $depcc " in #(
3941 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3944 for depmode
in $am_compiler_list; do
3945 # Setup a source with many dependencies, because some compilers
3946 # like to wrap large dependency lists on column 80 (with \), and
3947 # we should not choose a depcomp mode which is confused by this.
3949 # We need to recreate these files for each test, as the compiler may
3950 # overwrite some of them when testing with obscure command lines.
3951 # This happens at least with the AIX C compiler.
3953 for i
in 1 2 3 4 5 6; do
3954 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3955 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3956 # Solaris 8's {/usr,}/bin/sh.
3957 touch sub
/conftst
$i.h
3959 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3961 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3962 # mode. It turns out that the SunPro C++ compiler does not properly
3963 # handle `-M -o', and we need to detect this. Also, some Intel
3964 # versions had trouble with output in subdirs
3965 am__obj
=sub
/conftest.
${OBJEXT-o}
3966 am__minus_obj
="-o $am__obj"
3969 # This depmode causes a compiler race in universal mode.
3970 test "$am__universal" = false ||
continue
3973 # after this tag, mechanisms are not by side-effect, so they'll
3974 # only be used when explicitly requested
3975 if test "x$enable_dependency_tracking" = xyes
; then
3981 msvisualcpp | msvcmsys
)
3982 # This compiler won't grok `-c -o', but also, the minuso test has
3983 # not run yet. These depmodes are late enough in the game, and
3984 # so weak that their functioning should not be impacted.
3985 am__obj
=conftest.
${OBJEXT-o}
3990 if depmode
=$depmode \
3991 source=sub
/conftest.c object
=$am__obj \
3992 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3993 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3994 >/dev
/null
2>conftest.err
&&
3995 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3996 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3997 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3998 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3999 # icc doesn't choke on unknown options, it will just issue warnings
4000 # or remarks (even with -Werror). So we grep stderr for any message
4001 # that says an option was ignored or not supported.
4002 # When given -MP, icc 7.0 and 7.1 complain thusly:
4003 # icc: Command line warning: ignoring option '-M'; no argument required
4004 # The diagnosis changed in icc 8.0:
4005 # icc: Command line remark: option '-MP' not supported
4006 if (grep 'ignoring option' conftest.err ||
4007 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4008 am_cv_CC_dependencies_compiler_type
=$depmode
4017 am_cv_CC_dependencies_compiler_type
=none
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4022 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4023 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4026 test "x$enable_dependency_tracking" != xno \
4027 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4029 am__fastdepCC_FALSE
='#'
4031 am__fastdepCC_TRUE
='#'
4032 am__fastdepCC_FALSE
=
4039 ac_cpp
='$CPP $CPPFLAGS'
4040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4043 if test -n "$ac_tool_prefix"; then
4044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4045 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4047 $as_echo_n "checking for $ac_word... " >&6; }
4048 if test "${ac_cv_prog_CC+set}" = set; then :
4049 $as_echo_n "(cached) " >&6
4051 if test -n "$CC"; then
4052 ac_cv_prog_CC
="$CC" # Let the user override the test.
4054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4058 test -z "$as_dir" && as_dir
=.
4059 for ac_exec_ext
in '' $ac_executable_extensions; do
4060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4061 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4072 if test -n "$CC"; then
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4074 $as_echo "$CC" >&6; }
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4077 $as_echo "no" >&6; }
4082 if test -z "$ac_cv_prog_CC"; then
4084 # Extract the first word of "gcc", so it can be a program name with args.
4085 set dummy gcc
; ac_word
=$2
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4087 $as_echo_n "checking for $ac_word... " >&6; }
4088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4089 $as_echo_n "(cached) " >&6
4091 if test -n "$ac_ct_CC"; then
4092 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4098 test -z "$as_dir" && as_dir
=.
4099 for ac_exec_ext
in '' $ac_executable_extensions; do
4100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4101 ac_cv_prog_ac_ct_CC
="gcc"
4102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4112 if test -n "$ac_ct_CC"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4114 $as_echo "$ac_ct_CC" >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4120 if test "x$ac_ct_CC" = x
; then
4123 case $cross_compiling:$ac_tool_warned in
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4127 ac_tool_warned
=yes ;;
4135 if test -z "$CC"; then
4136 if test -n "$ac_tool_prefix"; then
4137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4138 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140 $as_echo_n "checking for $ac_word... " >&6; }
4141 if test "${ac_cv_prog_CC+set}" = set; then :
4142 $as_echo_n "(cached) " >&6
4144 if test -n "$CC"; then
4145 ac_cv_prog_CC
="$CC" # Let the user override the test.
4147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4151 test -z "$as_dir" && as_dir
=.
4152 for ac_exec_ext
in '' $ac_executable_extensions; do
4153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4154 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4165 if test -n "$CC"; then
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4167 $as_echo "$CC" >&6; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170 $as_echo "no" >&6; }
4176 if test -z "$CC"; then
4177 # Extract the first word of "cc", so it can be a program name with args.
4178 set dummy cc
; ac_word
=$2
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4180 $as_echo_n "checking for $ac_word... " >&6; }
4181 if test "${ac_cv_prog_CC+set}" = set; then :
4182 $as_echo_n "(cached) " >&6
4184 if test -n "$CC"; then
4185 ac_cv_prog_CC
="$CC" # Let the user override the test.
4188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir
=.
4193 for ac_exec_ext
in '' $ac_executable_extensions; do
4194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4196 ac_prog_rejected
=yes
4200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 if test $ac_prog_rejected = yes; then
4208 # We found a bogon in the path, so make sure we never use it.
4209 set dummy
$ac_cv_prog_CC
4211 if test $# != 0; then
4212 # We chose a different compiler from the bogus one.
4213 # However, it has the same basename, so the bogon will be chosen
4214 # first if we set CC to just the basename; use the full file name.
4216 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4222 if test -n "$CC"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4224 $as_echo "$CC" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4232 if test -z "$CC"; then
4233 if test -n "$ac_tool_prefix"; then
4234 for ac_prog
in cl.exe
4236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4237 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4239 $as_echo_n "checking for $ac_word... " >&6; }
4240 if test "${ac_cv_prog_CC+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4243 if test -n "$CC"; then
4244 ac_cv_prog_CC
="$CC" # Let the user override the test.
4246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4250 test -z "$as_dir" && as_dir
=.
4251 for ac_exec_ext
in '' $ac_executable_extensions; do
4252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4253 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 if test -n "$CC"; then
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4266 $as_echo "$CC" >&6; }
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4273 test -n "$CC" && break
4276 if test -z "$CC"; then
4278 for ac_prog
in cl.exe
4280 # Extract the first word of "$ac_prog", so it can be a program name with args.
4281 set dummy
$ac_prog; ac_word
=$2
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4283 $as_echo_n "checking for $ac_word... " >&6; }
4284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4285 $as_echo_n "(cached) " >&6
4287 if test -n "$ac_ct_CC"; then
4288 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4294 test -z "$as_dir" && as_dir
=.
4295 for ac_exec_ext
in '' $ac_executable_extensions; do
4296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4297 ac_cv_prog_ac_ct_CC
="$ac_prog"
4298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4307 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4308 if test -n "$ac_ct_CC"; then
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4310 $as_echo "$ac_ct_CC" >&6; }
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4313 $as_echo "no" >&6; }
4317 test -n "$ac_ct_CC" && break
4320 if test "x$ac_ct_CC" = x
; then
4323 case $cross_compiling:$ac_tool_warned in
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4327 ac_tool_warned
=yes ;;
4336 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4338 as_fn_error
"no acceptable C compiler found in \$PATH
4339 See \`config.log' for more details." "$LINENO" 5; }
4341 # Provide some information about the compiler.
4342 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4345 for ac_option
in --version -v -V -qversion; do
4346 { { ac_try
="$ac_compiler $ac_option >&5"
4348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4349 *) ac_try_echo=$ac_try;;
4351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4352 $as_echo "$ac_try_echo"; } >&5
4353 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4355 if test -s conftest.err; then
4357 ... rest of stderr output deleted ...
4358 10q' conftest.err >conftest.er1
4359 cat conftest.er1 >&5
4360 rm -f conftest.er1 conftest.err
4362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4363 test $ac_status = 0; }
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4367 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4368 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4385 if ac_fn_c_try_compile "$LINENO"; then :
4390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4391 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4395 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4396 if test $ac_compiler_gnu = yes; then
4401 ac_test_CFLAGS=${CFLAGS+set}
4402 ac_save_CFLAGS=$CFLAGS
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4404 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4405 if test "${ac_cv_prog_cc_g+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4408 ac_save_c_werror_flag=$ac_c_werror_flag
4409 ac_c_werror_flag=yes
4412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413 /* end confdefs.h. */
4423 if ac_fn_c_try_compile "$LINENO"; then :
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4438 if ac_fn_c_try_compile "$LINENO"; then :
4441 ac_c_werror_flag=$ac_save_c_werror_flag
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4454 if ac_fn_c_try_compile "$LINENO"; then :
4457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4462 ac_c_werror_flag=$ac_save_c_werror_flag
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4465 $as_echo "$ac_cv_prog_cc_g" >&6; }
4466 if test "$ac_test_CFLAGS" = set; then
4467 CFLAGS=$ac_save_CFLAGS
4468 elif test $ac_cv_prog_cc_g = yes; then
4469 if test "$GCC" = yes; then
4475 if test "$GCC" = yes; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4482 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4483 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4486 ac_cv_prog_cc_c89=no
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 #include <sys/types.h>
4493 #include <sys/stat.h>
4494 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4495 struct buf { int x; };
4496 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4497 static char *e (p, i)
4503 static char *f (char * (*g) (char **, int), char **p, ...)
4508 s = g (p, va_arg (v,int));
4513 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4514 function prototypes and stuff, but not '\xHH' hex character constants.
4515 These don't provoke an error unfortunately, instead are silently treated
4516 as 'x'. The following induces an error, until -std is added to get
4517 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4518 array size at least. It's necessary to write '\x00'==0 to get something
4519 that's true only with -std. */
4520 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4522 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4523 inside strings and character constants. */
4525 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4527 int test (int i, double x);
4528 struct s1 {int (*f) (int a);};
4529 struct s2 {int (*f) (double a);};
4530 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4536 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4541 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4542 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4544 CC="$ac_save_CC $ac_arg"
4545 if ac_fn_c_try_compile "$LINENO"; then :
4546 ac_cv_prog_cc_c89=$ac_arg
4548 rm -f core conftest.err conftest.$ac_objext
4549 test "x$ac_cv_prog_cc_c89" != "xno" && break
4551 rm -f conftest.$ac_ext
4556 case "x$ac_cv_prog_cc_c89" in
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4559 $as_echo "none needed" >&6; } ;;
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4562 $as_echo "unsupported" >&6; } ;;
4564 CC="$CC $ac_cv_prog_cc_c89"
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4566 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4568 if test "x$ac_cv_prog_cc_c89" != xno; then :
4573 ac_cpp='$CPP $CPPFLAGS'
4574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4579 ac_cpp='$CPP $CPPFLAGS'
4580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4584 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4585 # On Suns, sometimes $CPP names a directory.
4586 if test -n "$CPP" && test -d "$CPP"; then
4589 if test -z "$CPP"; then
4590 if test "${ac_cv_prog_CPP+set}" = set; then :
4591 $as_echo_n "(cached) " >&6
4593 # Double quotes because CPP needs to be expanded
4594 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4597 for ac_c_preproc_warn_flag in '' yes
4599 # Use a header file that comes with gcc, so configuring glibc
4600 # with a fresh cross-compiler works.
4601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4602 # <limits.h> exists even on freestanding compilers.
4603 # On the NeXT, cc -E runs the code through the compiler's parser,
4604 # not just through cpp. "Syntax error" is here to catch this case.
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4608 # include <limits.h>
4610 # include <assert.h>
4614 if ac_fn_c_try_cpp "$LINENO"; then :
4617 # Broken: fails on valid input.
4620 rm -f conftest.err conftest.$ac_ext
4622 # OK, works on sane cases. Now check whether nonexistent headers
4623 # can be detected and how.
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4626 #include <ac_nonexistent.h>
4628 if ac_fn_c_try_cpp "$LINENO"; then :
4629 # Broken: success on invalid input.
4632 # Passes both tests.
4636 rm -f conftest.err conftest.$ac_ext
4639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4640 rm -f conftest.err conftest.
$ac_ext
4641 if $ac_preproc_ok; then :
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4654 $as_echo "$CPP" >&6; }
4656 for ac_c_preproc_warn_flag
in '' yes
4658 # Use a header file that comes with gcc, so configuring glibc
4659 # with a fresh cross-compiler works.
4660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4661 # <limits.h> exists even on freestanding compilers.
4662 # On the NeXT, cc -E runs the code through the compiler's parser,
4663 # not just through cpp. "Syntax error" is here to catch this case.
4664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4667 # include <limits.h>
4669 # include <assert.h>
4673 if ac_fn_c_try_cpp
"$LINENO"; then :
4676 # Broken: fails on valid input.
4679 rm -f conftest.err conftest.
$ac_ext
4681 # OK, works on sane cases. Now check whether nonexistent headers
4682 # can be detected and how.
4683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4685 #include <ac_nonexistent.h>
4687 if ac_fn_c_try_cpp
"$LINENO"; then :
4688 # Broken: success on invalid input.
4691 # Passes both tests.
4695 rm -f conftest.err conftest.
$ac_ext
4698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4699 rm -f conftest.err conftest.
$ac_ext
4700 if $ac_preproc_ok; then :
4703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4705 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4706 See \`config.log' for more details." "$LINENO" 5; }
4710 ac_cpp
='$CPP $CPPFLAGS'
4711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4717 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4718 if test "${ac_cv_path_GREP+set}" = set; then :
4719 $as_echo_n "(cached) " >&6
4721 if test -z "$GREP"; then
4722 ac_path_GREP_found
=false
4723 # Loop through the user's path and test for each of PROGNAME-LIST
4724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4728 test -z "$as_dir" && as_dir
=.
4729 for ac_prog
in grep ggrep
; do
4730 for ac_exec_ext
in '' $ac_executable_extensions; do
4731 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4732 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4733 # Check for GNU ac_path_GREP and select it if it is found.
4734 # Check for GNU $ac_path_GREP
4735 case `"$ac_path_GREP" --version 2>&1` in
4737 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4740 $as_echo_n 0123456789 >"conftest.in"
4743 cat "conftest.in" "conftest.in" >"conftest.tmp"
4744 mv "conftest.tmp" "conftest.in"
4745 cp "conftest.in" "conftest.nl"
4746 $as_echo 'GREP' >> "conftest.nl"
4747 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4748 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4749 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4750 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4751 # Best one so far, save it but keep looking for a better one
4752 ac_cv_path_GREP
="$ac_path_GREP"
4753 ac_path_GREP_max
=$ac_count
4755 # 10*(2^10) chars as input seems more than enough
4756 test $ac_count -gt 10 && break
4758 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4761 $ac_path_GREP_found && break 3
4766 if test -z "$ac_cv_path_GREP"; then
4767 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4770 ac_cv_path_GREP
=$GREP
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4775 $as_echo "$ac_cv_path_GREP" >&6; }
4776 GREP
="$ac_cv_path_GREP"
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4780 $as_echo_n "checking for egrep... " >&6; }
4781 if test "${ac_cv_path_EGREP+set}" = set; then :
4782 $as_echo_n "(cached) " >&6
4784 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4785 then ac_cv_path_EGREP
="$GREP -E"
4787 if test -z "$EGREP"; then
4788 ac_path_EGREP_found
=false
4789 # Loop through the user's path and test for each of PROGNAME-LIST
4790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4791 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4794 test -z "$as_dir" && as_dir
=.
4795 for ac_prog
in egrep; do
4796 for ac_exec_ext
in '' $ac_executable_extensions; do
4797 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4798 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4799 # Check for GNU ac_path_EGREP and select it if it is found.
4800 # Check for GNU $ac_path_EGREP
4801 case `"$ac_path_EGREP" --version 2>&1` in
4803 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4806 $as_echo_n 0123456789 >"conftest.in"
4809 cat "conftest.in" "conftest.in" >"conftest.tmp"
4810 mv "conftest.tmp" "conftest.in"
4811 cp "conftest.in" "conftest.nl"
4812 $as_echo 'EGREP' >> "conftest.nl"
4813 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4814 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4815 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4816 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4817 # Best one so far, save it but keep looking for a better one
4818 ac_cv_path_EGREP
="$ac_path_EGREP"
4819 ac_path_EGREP_max
=$ac_count
4821 # 10*(2^10) chars as input seems more than enough
4822 test $ac_count -gt 10 && break
4824 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4827 $ac_path_EGREP_found && break 3
4832 if test -z "$ac_cv_path_EGREP"; then
4833 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4836 ac_cv_path_EGREP
=$EGREP
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4842 $as_echo "$ac_cv_path_EGREP" >&6; }
4843 EGREP
="$ac_cv_path_EGREP"
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4847 $as_echo_n "checking for ANSI C header files... " >&6; }
4848 if test "${ac_cv_header_stdc+set}" = set; then :
4849 $as_echo_n "(cached) " >&6
4851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4866 if ac_fn_c_try_compile
"$LINENO"; then :
4867 ac_cv_header_stdc
=yes
4869 ac_cv_header_stdc
=no
4871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4873 if test $ac_cv_header_stdc = yes; then
4874 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4881 $EGREP "memchr" >/dev
/null
2>&1; then :
4884 ac_cv_header_stdc
=no
4890 if test $ac_cv_header_stdc = yes; then
4891 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4893 /* end confdefs.h. */
4897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4898 $EGREP "free" >/dev
/null
2>&1; then :
4901 ac_cv_header_stdc
=no
4907 if test $ac_cv_header_stdc = yes; then
4908 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4909 if test "$cross_compiling" = yes; then :
4912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4913 /* end confdefs.h. */
4916 #if ((' ' & 0x0FF) == 0x020)
4917 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4918 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4920 # define ISLOWER(c) \
4921 (('a' <= (c) && (c) <= 'i') \
4922 || ('j' <= (c) && (c) <= 'r') \
4923 || ('s' <= (c) && (c) <= 'z'))
4924 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4927 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4932 for (i = 0; i < 256; i++)
4933 if (XOR (islower (i), ISLOWER (i))
4934 || toupper (i) != TOUPPER (i))
4939 if ac_fn_c_try_run
"$LINENO"; then :
4942 ac_cv_header_stdc
=no
4944 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4945 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4951 $as_echo "$ac_cv_header_stdc" >&6; }
4952 if test $ac_cv_header_stdc = yes; then
4954 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4958 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4959 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4960 inttypes.h stdint.h unistd.h
4962 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4963 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4965 eval as_val
=\$
$as_ac_Header
4966 if test "x$as_val" = x
""yes; then :
4967 cat >>confdefs.h
<<_ACEOF
4968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4977 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4978 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4985 if test "$MINIX" = yes; then
4987 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4990 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4993 $as_echo "#define _MINIX 1" >>confdefs.h
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4999 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5000 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5001 $as_echo_n "(cached) " >&6
5003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5006 # define __EXTENSIONS__ 1
5007 $ac_includes_default
5016 if ac_fn_c_try_compile
"$LINENO"; then :
5017 ac_cv_safe_to_define___extensions__
=yes
5019 ac_cv_safe_to_define___extensions__
=no
5021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5024 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5025 test $ac_cv_safe_to_define___extensions__ = yes &&
5026 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5028 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5030 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5032 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5034 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5041 # Check whether --enable-plugins was given.
5042 if test "${enable_plugins+set}" = set; then :
5043 enableval
=$enable_plugins; case "${enableval}" in
5044 yes |
"") plugins
=yes ;;
5055 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
5056 # See comment in bfd/configure.in for the reason for this test.
5057 # PR 9992/binutils: We have to duplicate the behaviour of bfd's
5058 # configure script so that the utilities in this directory agree
5059 # on the size of structures used to describe files.
5060 if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
5061 if test "$plugins" = "no"; then
5062 enable_largefile
="no"
5068 # Check whether --enable-largefile was given.
5069 if test "${enable_largefile+set}" = set; then :
5070 enableval
=$enable_largefile;
5073 if test "$enable_largefile" != no
; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5076 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5077 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5078 $as_echo_n "(cached) " >&6
5080 ac_cv_sys_largefile_CC
=no
5081 if test "$GCC" != yes; then
5084 # IRIX 6.2 and later do not support large files by default,
5085 # so use the C compiler's -n32 option if that helps.
5086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5088 #include <sys/types.h>
5089 /* Check that off_t can represent 2**63 - 1 correctly.
5090 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5091 since some C++ compilers masquerading as C compilers
5092 incorrectly reject 9223372036854775807. */
5093 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5094 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5095 && LARGE_OFF_T % 2147483647 == 1)
5105 if ac_fn_c_try_compile
"$LINENO"; then :
5108 rm -f core conftest.err conftest.
$ac_objext
5110 if ac_fn_c_try_compile
"$LINENO"; then :
5111 ac_cv_sys_largefile_CC
=' -n32'; break
5113 rm -f core conftest.err conftest.
$ac_objext
5117 rm -f conftest.
$ac_ext
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5121 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5122 if test "$ac_cv_sys_largefile_CC" != no
; then
5123 CC
=$CC$ac_cv_sys_largefile_CC
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5127 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5128 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5129 $as_echo_n "(cached) " >&6
5132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5134 #include <sys/types.h>
5135 /* Check that off_t can represent 2**63 - 1 correctly.
5136 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5137 since some C++ compilers masquerading as C compilers
5138 incorrectly reject 9223372036854775807. */
5139 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5140 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5141 && LARGE_OFF_T % 2147483647 == 1)
5151 if ac_fn_c_try_compile
"$LINENO"; then :
5152 ac_cv_sys_file_offset_bits
=no
; break
5154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5157 #define _FILE_OFFSET_BITS 64
5158 #include <sys/types.h>
5159 /* Check that off_t can represent 2**63 - 1 correctly.
5160 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5161 since some C++ compilers masquerading as C compilers
5162 incorrectly reject 9223372036854775807. */
5163 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5164 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5165 && LARGE_OFF_T % 2147483647 == 1)
5175 if ac_fn_c_try_compile
"$LINENO"; then :
5176 ac_cv_sys_file_offset_bits
=64; break
5178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5179 ac_cv_sys_file_offset_bits
=unknown
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5184 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5185 case $ac_cv_sys_file_offset_bits in #(
5188 cat >>confdefs.h
<<_ACEOF
5189 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5194 if test $ac_cv_sys_file_offset_bits = unknown
; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5196 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5197 if test "${ac_cv_sys_large_files+set}" = set; then :
5198 $as_echo_n "(cached) " >&6
5201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5203 #include <sys/types.h>
5204 /* Check that off_t can represent 2**63 - 1 correctly.
5205 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5206 since some C++ compilers masquerading as C compilers
5207 incorrectly reject 9223372036854775807. */
5208 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5209 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5210 && LARGE_OFF_T % 2147483647 == 1)
5220 if ac_fn_c_try_compile
"$LINENO"; then :
5221 ac_cv_sys_large_files
=no
; break
5223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5225 /* end confdefs.h. */
5226 #define _LARGE_FILES 1
5227 #include <sys/types.h>
5228 /* Check that off_t can represent 2**63 - 1 correctly.
5229 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5230 since some C++ compilers masquerading as C compilers
5231 incorrectly reject 9223372036854775807. */
5232 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5233 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5234 && LARGE_OFF_T % 2147483647 == 1)
5244 if ac_fn_c_try_compile
"$LINENO"; then :
5245 ac_cv_sys_large_files
=1; break
5247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5248 ac_cv_sys_large_files
=unknown
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5253 $as_echo "$ac_cv_sys_large_files" >&6; }
5254 case $ac_cv_sys_large_files in #(
5257 cat >>confdefs.h
<<_ACEOF
5258 #define _LARGE_FILES $ac_cv_sys_large_files
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5269 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5274 macro_version
='2.2.6'
5275 macro_revision
='1.3012'
5289 ltmain
="$ac_aux_dir/ltmain.sh"
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5292 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5293 if test "${ac_cv_path_SED+set}" = set; then :
5294 $as_echo_n "(cached) " >&6
5296 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5297 for ac_i
in 1 2 3 4 5 6 7; do
5298 ac_script
="$ac_script$as_nl$ac_script"
5300 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5301 { ac_script
=; unset ac_script
;}
5302 if test -z "$SED"; then
5303 ac_path_SED_found
=false
5304 # Loop through the user's path and test for each of PROGNAME-LIST
5305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir
=.
5310 for ac_prog
in sed gsed
; do
5311 for ac_exec_ext
in '' $ac_executable_extensions; do
5312 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5313 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5314 # Check for GNU ac_path_SED and select it if it is found.
5315 # Check for GNU $ac_path_SED
5316 case `"$ac_path_SED" --version 2>&1` in
5318 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5321 $as_echo_n 0123456789 >"conftest.in"
5324 cat "conftest.in" "conftest.in" >"conftest.tmp"
5325 mv "conftest.tmp" "conftest.in"
5326 cp "conftest.in" "conftest.nl"
5327 $as_echo '' >> "conftest.nl"
5328 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5329 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5330 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5331 if test $ac_count -gt ${ac_path_SED_max-0}; then
5332 # Best one so far, save it but keep looking for a better one
5333 ac_cv_path_SED
="$ac_path_SED"
5334 ac_path_SED_max
=$ac_count
5336 # 10*(2^10) chars as input seems more than enough
5337 test $ac_count -gt 10 && break
5339 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5342 $ac_path_SED_found && break 3
5347 if test -z "$ac_cv_path_SED"; then
5348 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5356 $as_echo "$ac_cv_path_SED" >&6; }
5357 SED
="$ac_cv_path_SED"
5360 test -z "$SED" && SED
=sed
5361 Xsed
="$SED -e 1s/^X//"
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5374 $as_echo_n "checking for fgrep... " >&6; }
5375 if test "${ac_cv_path_FGREP+set}" = set; then :
5376 $as_echo_n "(cached) " >&6
5378 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5379 then ac_cv_path_FGREP
="$GREP -F"
5381 if test -z "$FGREP"; then
5382 ac_path_FGREP_found
=false
5383 # Loop through the user's path and test for each of PROGNAME-LIST
5384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5385 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5388 test -z "$as_dir" && as_dir
=.
5389 for ac_prog
in fgrep
; do
5390 for ac_exec_ext
in '' $ac_executable_extensions; do
5391 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5392 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5393 # Check for GNU ac_path_FGREP and select it if it is found.
5394 # Check for GNU $ac_path_FGREP
5395 case `"$ac_path_FGREP" --version 2>&1` in
5397 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5400 $as_echo_n 0123456789 >"conftest.in"
5403 cat "conftest.in" "conftest.in" >"conftest.tmp"
5404 mv "conftest.tmp" "conftest.in"
5405 cp "conftest.in" "conftest.nl"
5406 $as_echo 'FGREP' >> "conftest.nl"
5407 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5408 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5409 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5410 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5411 # Best one so far, save it but keep looking for a better one
5412 ac_cv_path_FGREP
="$ac_path_FGREP"
5413 ac_path_FGREP_max
=$ac_count
5415 # 10*(2^10) chars as input seems more than enough
5416 test $ac_count -gt 10 && break
5418 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5421 $ac_path_FGREP_found && break 3
5426 if test -z "$ac_cv_path_FGREP"; then
5427 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5430 ac_cv_path_FGREP
=$FGREP
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5436 $as_echo "$ac_cv_path_FGREP" >&6; }
5437 FGREP
="$ac_cv_path_FGREP"
5440 test -z "$GREP" && GREP
=grep
5460 # Check whether --with-gnu-ld was given.
5461 if test "${with_gnu_ld+set}" = set; then :
5462 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5468 if test "$GCC" = yes; then
5469 # Check if gcc -print-prog-name=ld gives a path.
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5471 $as_echo_n "checking for ld used by $CC... " >&6; }
5474 # gcc leaves a trailing carriage return which upsets mingw
5475 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5477 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5480 # Accept absolute paths.
5482 re_direlt
='/[^/][^/]*/\.\./'
5483 # Canonicalize the pathname of ld
5484 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5485 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5486 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5488 test -z "$LD" && LD
="$ac_prog"
5491 # If it fails, then pretend we aren't using GCC.
5495 # If it is relative, then search for the first ld in PATH.
5499 elif test "$with_gnu_ld" = yes; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5501 $as_echo_n "checking for GNU ld... " >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5504 $as_echo_n "checking for non-GNU ld... " >&6; }
5506 if test "${lt_cv_path_LD+set}" = set; then :
5507 $as_echo_n "(cached) " >&6
5509 if test -z "$LD"; then
5510 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5511 for ac_dir
in $PATH; do
5513 test -z "$ac_dir" && ac_dir
=.
5514 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5515 lt_cv_path_LD
="$ac_dir/$ac_prog"
5516 # Check to see if the program is GNU ld. I'd rather use --version,
5517 # but apparently some variants of GNU ld only accept -v.
5518 # Break only if it was the GNU/non-GNU ld that we prefer.
5519 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5520 *GNU
* |
*'with BFD'*)
5521 test "$with_gnu_ld" != no
&& break
5524 test "$with_gnu_ld" != yes && break
5531 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5536 if test -n "$LD"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5538 $as_echo "$LD" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5543 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5545 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5546 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5547 $as_echo_n "(cached) " >&6
5549 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5550 case `$LD -v 2>&1 </dev/null` in
5551 *GNU
* |
*'with BFD'*)
5552 lt_cv_prog_gnu_ld
=yes
5555 lt_cv_prog_gnu_ld
=no
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5560 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5561 with_gnu_ld
=$lt_cv_prog_gnu_ld
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5572 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5573 if test "${lt_cv_path_NM+set}" = set; then :
5574 $as_echo_n "(cached) " >&6
5576 if test -n "$NM"; then
5577 # Let the user override the test.
5580 lt_nm_to_check
="${ac_tool_prefix}nm"
5581 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5582 lt_nm_to_check
="$lt_nm_to_check nm"
5584 for lt_tmp_nm
in $lt_nm_to_check; do
5585 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5586 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5588 test -z "$ac_dir" && ac_dir
=.
5589 tmp_nm
="$ac_dir/$lt_tmp_nm"
5590 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5591 # Check to see if the nm accepts a BSD-compat flag.
5592 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5593 # nm: unknown option "B" ignored
5594 # Tru64's nm complains that /dev/null is an invalid object file
5595 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5596 */dev
/null
* |
*'Invalid file or object type'*)
5597 lt_cv_path_NM
="$tmp_nm -B"
5601 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5603 lt_cv_path_NM
="$tmp_nm -p"
5607 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5608 continue # so that we can try to find one that supports BSD flags
5617 : ${lt_cv_path_NM=no}
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5621 $as_echo "$lt_cv_path_NM" >&6; }
5622 if test "$lt_cv_path_NM" != "no"; then
5625 # Didn't find any BSD compatible name lister, look for dumpbin.
5626 if test -n "$ac_tool_prefix"; then
5627 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5630 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632 $as_echo_n "checking for $ac_word... " >&6; }
5633 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5634 $as_echo_n "(cached) " >&6
5636 if test -n "$DUMPBIN"; then
5637 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5643 test -z "$as_dir" && as_dir
=.
5644 for ac_exec_ext
in '' $ac_executable_extensions; do
5645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5646 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 DUMPBIN
=$ac_cv_prog_DUMPBIN
5657 if test -n "$DUMPBIN"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5659 $as_echo "$DUMPBIN" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5666 test -n "$DUMPBIN" && break
5669 if test -z "$DUMPBIN"; then
5670 ac_ct_DUMPBIN
=$DUMPBIN
5671 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5673 # Extract the first word of "$ac_prog", so it can be a program name with args.
5674 set dummy
$ac_prog; ac_word
=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5678 $as_echo_n "(cached) " >&6
5680 if test -n "$ac_ct_DUMPBIN"; then
5681 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5687 test -z "$as_dir" && as_dir
=.
5688 for ac_exec_ext
in '' $ac_executable_extensions; do
5689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5690 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5701 if test -n "$ac_ct_DUMPBIN"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5703 $as_echo "$ac_ct_DUMPBIN" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5710 test -n "$ac_ct_DUMPBIN" && break
5713 if test "x$ac_ct_DUMPBIN" = x
; then
5716 case $cross_compiling:$ac_tool_warned in
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5720 ac_tool_warned
=yes ;;
5722 DUMPBIN
=$ac_ct_DUMPBIN
5727 if test "$DUMPBIN" != ":"; then
5731 test -z "$NM" && NM
=nm
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5739 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5740 if test "${lt_cv_nm_interface+set}" = set; then :
5741 $as_echo_n "(cached) " >&6
5743 lt_cv_nm_interface
="BSD nm"
5744 echo "int some_variable = 0;" > conftest.
$ac_ext
5745 (eval echo "\"\$as_me:5745: $ac_compile\"" >&5)
5746 (eval "$ac_compile" 2>conftest.err
)
5747 cat conftest.err
>&5
5748 (eval echo "\"\$as_me:5748: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5749 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5750 cat conftest.err
>&5
5751 (eval echo "\"\$as_me:5751: output\"" >&5)
5752 cat conftest.out
>&5
5753 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5754 lt_cv_nm_interface
="MS dumpbin"
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5759 $as_echo "$lt_cv_nm_interface" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5762 $as_echo_n "checking whether ln -s works... " >&6; }
5764 if test "$LN_S" = "ln -s"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5766 $as_echo "yes" >&6; }
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5769 $as_echo "no, using $LN_S" >&6; }
5772 # find the maximum length of command line arguments
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5774 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5775 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5776 $as_echo_n "(cached) " >&6
5783 # On DJGPP, this test can blow up pretty badly due to problems in libc
5784 # (any single argument exceeding 2000 bytes causes a buffer overrun
5785 # during glob expansion). Even if it were fixed, the result of this
5786 # check would be larger than it should be.
5787 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5791 # Under GNU Hurd, this test is not required because there is
5792 # no limit to the length of command line arguments.
5793 # Libtool will interpret -1 as no limit whatsoever
5794 lt_cv_sys_max_cmd_len
=-1;
5797 cygwin
* | mingw
* | cegcc
*)
5798 # On Win9x/ME, this test blows up -- it succeeds, but takes
5799 # about 5 minutes as the teststring grows exponentially.
5800 # Worse, since 9x/ME are not pre-emptively multitasking,
5801 # you end up with a "frozen" computer, even though with patience
5802 # the test eventually succeeds (with a max line length of 256k).
5803 # Instead, let's just punt: use the minimum linelength reported by
5804 # all of the supported platforms: 8192 (on NT/2K/XP).
5805 lt_cv_sys_max_cmd_len
=8192;
5809 # On AmigaOS with pdksh, this test takes hours, literally.
5810 # So we just punt and use a minimum line length of 8192.
5811 lt_cv_sys_max_cmd_len
=8192;
5814 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5815 # This has been around since 386BSD, at least. Likely further.
5816 if test -x /sbin
/sysctl
; then
5817 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5818 elif test -x /usr
/sbin
/sysctl
; then
5819 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5821 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5823 # And add a safety zone
5824 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5825 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5829 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5830 lt_cv_sys_max_cmd_len
=196608
5834 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5835 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5836 # nice to cause kernel panics so lets avoid the loop below.
5837 # First set a reasonable default.
5838 lt_cv_sys_max_cmd_len
=16384
5840 if test -x /sbin
/sysconfig
; then
5841 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5842 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5847 lt_cv_sys_max_cmd_len
=102400
5849 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5850 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5851 if test -n "$kargmax"; then
5852 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5854 lt_cv_sys_max_cmd_len
=32768
5858 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5859 if test -n "$lt_cv_sys_max_cmd_len"; then
5860 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5861 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5863 # Make teststring a little bigger before we do anything with it.
5864 # a 1K string should be a reasonable start.
5865 for i
in 1 2 3 4 5 6 7 8 ; do
5866 teststring
=$teststring$teststring
5868 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5869 # If test is not a shell built-in, we'll probably end up computing a
5870 # maximum length that is only half of the actual maximum length, but
5872 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5873 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5874 test $i != 17 # 1/2 MB should be enough
5877 teststring
=$teststring$teststring
5879 # Only check the string length outside the loop.
5880 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5882 # Add a significant safety factor because C++ compilers can tack on
5883 # massive amounts of additional arguments before passing them to the
5884 # linker. It appears as though 1/2 is a usable value.
5885 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5892 if test -n $lt_cv_sys_max_cmd_len ; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5894 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5897 $as_echo "none" >&6; }
5899 max_cmd_len
=$lt_cv_sys_max_cmd_len
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5911 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5912 # Try some XSI features
5915 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5917 && eval 'test $(( 1 + 1 )) -eq 2 \
5918 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5921 $as_echo "$xsi_shell" >&6; }
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5925 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5927 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5929 && lt_shell_append=yes
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5931 $as_echo "$lt_shell_append" >&6; }
5934 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5944 # test EBCDIC or ASCII
5945 case `echo X|tr X '\101'` in
5946 A) # ASCII based system
5947 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5948 lt_SP2NL='tr \040 \012'
5949 lt_NL2SP='tr \015\012 \040\040'
5951 *) # EBCDIC based system
5952 lt_SP2NL='tr \100 \n'
5953 lt_NL2SP='tr \r\n \100\100'
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5966 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5967 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5968 $as_echo_n "(cached
) " >&6
5970 lt_cv_ld_reload_flag='-r'
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5973 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5974 reload_flag=$lt_cv_ld_reload_flag
5975 case $reload_flag in
5977 *) reload_flag=" $reload_flag" ;;
5979 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5982 if test "$GCC" = yes; then
5983 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5985 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5998 if test -n "$ac_tool_prefix"; then
5999 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6000 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6002 $as_echo_n "checking
for $ac_word...
" >&6; }
6003 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6004 $as_echo_n "(cached
) " >&6
6006 if test -n "$OBJDUMP"; then
6007 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6016 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6026 OBJDUMP=$ac_cv_prog_OBJDUMP
6027 if test -n "$OBJDUMP"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6029 $as_echo "$OBJDUMP" >&6; }
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6032 $as_echo "no
" >&6; }
6037 if test -z "$ac_cv_prog_OBJDUMP"; then
6038 ac_ct_OBJDUMP=$OBJDUMP
6039 # Extract the first word of "objdump
", so it can be a program name with args.
6040 set dummy objdump; ac_word=$2
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6042 $as_echo_n "checking
for $ac_word...
" >&6; }
6043 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6044 $as_echo_n "(cached
) " >&6
6046 if test -n "$ac_ct_OBJDUMP"; then
6047 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 test -z "$as_dir" && as_dir=.
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6056 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6066 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6067 if test -n "$ac_ct_OBJDUMP"; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6069 $as_echo "$ac_ct_OBJDUMP" >&6; }
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6072 $as_echo "no
" >&6; }
6075 if test "x
$ac_ct_OBJDUMP" = x; then
6078 case $cross_compiling:$ac_tool_warned in
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6081 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6082 ac_tool_warned=yes ;;
6084 OBJDUMP=$ac_ct_OBJDUMP
6087 OBJDUMP="$ac_cv_prog_OBJDUMP"
6090 test -z "$OBJDUMP" && OBJDUMP=objdump
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6101 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6102 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6103 $as_echo_n "(cached
) " >&6
6105 lt_cv_file_magic_cmd='$MAGIC_CMD'
6106 lt_cv_file_magic_test_file=
6107 lt_cv_deplibs_check_method='unknown'
6108 # Need to set the preceding variable on all platforms that support
6109 # interlibrary dependencies.
6110 # 'none' -- dependencies not supported.
6111 # `unknown' -- same as none, but documents that we really don't know.
6112 # 'pass_all' -- all dependencies passed with no checks.
6113 # 'test_compile' -- check by making test program.
6114 # 'file_magic [[regex]]' -- check by looking for files in library path
6115 # which responds to the $file_magic_cmd with a given extended regex.
6116 # If you have `file' or equivalent on your system and you're not sure
6117 # whether `pass_all' will *always* work, you probably want this one.
6121 lt_cv_deplibs_check_method=pass_all
6125 lt_cv_deplibs_check_method=pass_all
6129 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6130 lt_cv_file_magic_cmd='/usr/bin/file -L'
6131 lt_cv_file_magic_test_file=/shlib/libc.so
6135 # func_win32_libid is a shell function defined in ltmain.sh
6136 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6137 lt_cv_file_magic_cmd='func_win32_libid'
6141 # Base MSYS/MinGW do not provide the 'file' command needed by
6142 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6143 # unless we find 'file', for example because we are cross-compiling.
6144 if ( file / ) >/dev/null 2>&1; then
6145 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6146 lt_cv_file_magic_cmd='func_win32_libid'
6148 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6149 lt_cv_file_magic_cmd='$OBJDUMP -f'
6154 # use the weaker test based on 'objdump'. See mingw*.
6155 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6156 lt_cv_file_magic_cmd='$OBJDUMP -f'
6159 darwin* | rhapsody*)
6160 lt_cv_deplibs_check_method=pass_all
6163 freebsd* | dragonfly*)
6164 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6167 # Not sure whether the presence of OpenBSD here was a mistake.
6168 # Let's accept both of them until this is cleared up.
6169 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6170 lt_cv_file_magic_cmd=/usr/bin/file
6171 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6175 lt_cv_deplibs_check_method=pass_all
6180 lt_cv_deplibs_check_method=pass_all
6183 hpux10.20* | hpux11*)
6184 lt_cv_file_magic_cmd=/usr/bin/file
6187 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6188 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6191 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]'
6192 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6195 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6196 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6202 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6203 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6206 irix5* | irix6* | nonstopux*)
6208 *-32|*"-32 ") libmagic=32-bit;;
6209 *-n32|*"-n32 ") libmagic=N32;;
6210 *-64|*"-64 ") libmagic=64-bit;;
6211 *) libmagic=never-match;;
6213 lt_cv_deplibs_check_method=pass_all
6216 # This must be Linux ELF.
6217 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6218 lt_cv_deplibs_check_method=pass_all
6222 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6223 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6225 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6230 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6231 lt_cv_file_magic_cmd=/usr/bin/file
6232 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6236 lt_cv_deplibs_check_method=pass_all
6240 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6241 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6243 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6247 osf3* | osf4* | osf5*)
6248 lt_cv_deplibs_check_method=pass_all
6252 lt_cv_deplibs_check_method=pass_all
6256 lt_cv_deplibs_check_method=pass_all
6259 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6260 lt_cv_deplibs_check_method=pass_all
6264 case $host_vendor in
6266 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]'
6267 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6270 lt_cv_deplibs_check_method=pass_all
6273 lt_cv_file_magic_cmd='/bin/file'
6274 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6277 lt_cv_file_magic_cmd='/bin/file'
6278 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6279 lt_cv_file_magic_test_file=/lib/libc.so
6282 lt_cv_deplibs_check_method=pass_all
6285 lt_cv_deplibs_check_method=pass_all
6291 lt_cv_deplibs_check_method=pass_all
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6297 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6298 file_magic_cmd=$lt_cv_file_magic_cmd
6299 deplibs_check_method=$lt_cv_deplibs_check_method
6300 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6313 if test -n "$ac_tool_prefix"; then
6314 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6315 set dummy ${ac_tool_prefix}ar; ac_word=$2
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6317 $as_echo_n "checking
for $ac_word...
" >&6; }
6318 if test "${ac_cv_prog_AR+set}" = set; then :
6319 $as_echo_n "(cached
) " >&6
6321 if test -n "$AR"; then
6322 ac_cv_prog_AR="$AR" # Let the user override the test.
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6331 ac_cv_prog_AR="${ac_tool_prefix}ar"
6332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6342 if test -n "$AR"; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6344 $as_echo "$AR" >&6; }
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6347 $as_echo "no
" >&6; }
6352 if test -z "$ac_cv_prog_AR"; then
6354 # Extract the first word of "ar", so it can be a program name with args.
6355 set dummy ar; ac_word=$2
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6357 $as_echo_n "checking
for $ac_word...
" >&6; }
6358 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6359 $as_echo_n "(cached
) " >&6
6361 if test -n "$ac_ct_AR"; then
6362 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368 test -z "$as_dir" && as_dir=.
6369 for ac_exec_ext in '' $ac_executable_extensions; do
6370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6371 ac_cv_prog_ac_ct_AR="ar"
6372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6381 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6382 if test -n "$ac_ct_AR"; then
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6384 $as_echo "$ac_ct_AR" >&6; }
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6387 $as_echo "no
" >&6; }
6390 if test "x
$ac_ct_AR" = x; then
6393 case $cross_compiling:$ac_tool_warned in
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6396 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6397 ac_tool_warned=yes ;;
6405 test -z "$AR" && AR=ar
6406 test -z "$AR_FLAGS" && AR_FLAGS=cru
6418 if test -n "$ac_tool_prefix"; then
6419 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6420 set dummy ${ac_tool_prefix}strip; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6422 $as_echo_n "checking
for $ac_word...
" >&6; }
6423 if test "${ac_cv_prog_STRIP+set}" = set; then :
6424 $as_echo_n "(cached
) " >&6
6426 if test -n "$STRIP"; then
6427 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6446 STRIP=$ac_cv_prog_STRIP
6447 if test -n "$STRIP"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6449 $as_echo "$STRIP" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6452 $as_echo "no
" >&6; }
6457 if test -z "$ac_cv_prog_STRIP"; then
6459 # Extract the first word of "strip
", so it can be a program name with args.
6460 set dummy strip; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6462 $as_echo_n "checking
for $ac_word...
" >&6; }
6463 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6464 $as_echo_n "(cached
) " >&6
6466 if test -n "$ac_ct_STRIP"; then
6467 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476 ac_cv_prog_ac_ct_STRIP="strip
"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6486 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6487 if test -n "$ac_ct_STRIP"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6489 $as_echo "$ac_ct_STRIP" >&6; }
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6492 $as_echo "no
" >&6; }
6495 if test "x
$ac_ct_STRIP" = x; then
6498 case $cross_compiling:$ac_tool_warned in
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6501 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6502 ac_tool_warned=yes ;;
6507 STRIP="$ac_cv_prog_STRIP"
6510 test -z "$STRIP" && STRIP=:
6517 if test -n "$ac_tool_prefix"; then
6518 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6519 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6521 $as_echo_n "checking
for $ac_word...
" >&6; }
6522 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6523 $as_echo_n "(cached
) " >&6
6525 if test -n "$RANLIB"; then
6526 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 test -z "$as_dir" && as_dir=.
6533 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6535 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6545 RANLIB=$ac_cv_prog_RANLIB
6546 if test -n "$RANLIB"; then
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6548 $as_echo "$RANLIB" >&6; }
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6551 $as_echo "no
" >&6; }
6556 if test -z "$ac_cv_prog_RANLIB"; then
6557 ac_ct_RANLIB=$RANLIB
6558 # Extract the first word of "ranlib
", so it can be a program name with args.
6559 set dummy ranlib; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6561 $as_echo_n "checking
for $ac_word...
" >&6; }
6562 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6563 $as_echo_n "(cached
) " >&6
6565 if test -n "$ac_ct_RANLIB"; then
6566 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6575 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6585 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6586 if test -n "$ac_ct_RANLIB"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6588 $as_echo "$ac_ct_RANLIB" >&6; }
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6591 $as_echo "no
" >&6; }
6594 if test "x
$ac_ct_RANLIB" = x; then
6597 case $cross_compiling:$ac_tool_warned in
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6600 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6601 ac_tool_warned=yes ;;
6603 RANLIB=$ac_ct_RANLIB
6606 RANLIB="$ac_cv_prog_RANLIB"
6609 test -z "$RANLIB" && RANLIB=:
6616 # Determine commands to create old-style static archives.
6617 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6618 old_postinstall_cmds='chmod 644 $oldlib'
6619 old_postuninstall_cmds=
6621 if test -n "$RANLIB"; then
6624 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6627 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6630 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6666 # If no C compiler was specified, use CC.
6669 # If no C compiler flags were specified, use CFLAGS.
6670 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6672 # Allow CC to be a program name with arguments.
6676 # Check for command to grab the raw symbol name followed by C symbol from nm.
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6678 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6679 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6680 $as_echo_n "(cached
) " >&6
6683 # These are sane defaults that work on at least a few old systems.
6684 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6686 # Character class describing NM global symbol codes.
6687 symcode='[BCDEGRST]'
6689 # Regexp to match symbols that can be accessed directly from C.
6690 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6692 # Define system-specific variables.
6697 cygwin* | mingw* | pw32* | cegcc*)
6698 symcode='[ABCDGISTW]'
6701 if test "$host_cpu" = ia64; then
6702 symcode='[ABCDEGRST]'
6706 symcode='[BCDEGRST]'
6709 symcode='[BCDEGQRST]'
6720 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6728 # If we're using GNU nm, then use its standard symbol codes.
6729 case `$NM -V 2>&1` in
6730 *GNU* | *'with BFD'*)
6731 symcode='[ABCDGIRSTW]' ;;
6734 # Transform an extracted symbol line into a proper C declaration.
6735 # Some systems (esp. on ia64) link data and code symbols differently,
6736 # so use this general approach.
6737 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6739 # Transform an extracted symbol line into symbol name and symbol address
6740 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6741 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'"
6743 # Handle CRLF in mingw tool chain
6747 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6751 # Try without a prefix underscore, then with it.
6752 for ac_symprfx in "" "_
"; do
6754 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6755 symxfrm="\\1 $ac_symprfx\\2 \\2"
6757 # Write the raw and C identifiers.
6758 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6759 # Fake it for dumpbin and say T for any non-static function
6760 # and D for any global variable.
6761 # Also find C++ and __fastcall symbols from MSVC++,
6762 # which start with @ or ?.
6763 lt_cv_sys_global_symbol_pipe="$AWK '"\
6764 " {last_section=section; section=\$ 3};"\
6765 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6766 " \$ 0!~/External *\|/{next};"\
6767 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6768 " {if(hide[section]) next};"\
6769 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6770 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6771 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6772 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6773 " ' prfx
=^
$ac_symprfx"
6775 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6778 # Check to see that the pipe works correctly.
6782 cat > conftest.$ac_ext <<_LT_EOF
6787 void nm_test_func(void);
6788 void nm_test_func(void){}
6792 int main(){nm_test_var='a';nm_test_func();return(0);}
6795 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6796 (eval $ac_compile) 2>&5
6798 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6799 test $ac_status = 0; }; then
6800 # Now try to grab the symbols.
6802 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6803 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6805 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6806 test $ac_status = 0; } && test -s "$nlist"; then
6807 # Try sorting and uniquifying the output.
6808 if sort "$nlist" | uniq > "$nlist"T; then
6809 mv -f "$nlist"T "$nlist"
6814 # Make sure that we snagged all the symbols we need.
6815 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6816 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6817 cat <<_LT_EOF > conftest.$ac_ext
6823 # Now generate the symbol file.
6824 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6826 cat <<_LT_EOF >> conftest.$ac_ext
6828 /* The mapping between symbol names and symbols. */
6833 lt__PROGRAM__LTX_preloaded_symbols[] =
6835 { "@PROGRAM@
", (void *) 0 },
6837 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6838 cat <<\_LT_EOF >> conftest.$ac_ext
6842 /* This works around a problem in FreeBSD linker */
6843 #ifdef FREEBSD_WORKAROUND
6844 static const void *lt_preloaded_setup() {
6845 return lt__PROGRAM__LTX_preloaded_symbols;
6853 # Now try linking the two files.
6854 mv conftest.$ac_objext conftstm.$ac_objext
6855 lt_save_LIBS="$LIBS"
6856 lt_save_CFLAGS="$CFLAGS"
6857 LIBS="conftstm.
$ac_objext"
6858 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6859 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6860 (eval $ac_link) 2>&5
6862 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6863 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6866 LIBS="$lt_save_LIBS"
6867 CFLAGS="$lt_save_CFLAGS"
6869 echo "cannot
find nm_test_func
in $nlist" >&5
6872 echo "cannot
find nm_test_var
in $nlist" >&5
6875 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6878 echo "$progname: failed program was
:" >&5
6879 cat conftest.$ac_ext >&5
6881 rm -rf conftest* conftst*
6883 # Do not use the global_symbol_pipe unless it works.
6884 if test "$pipe_works" = yes; then
6887 lt_cv_sys_global_symbol_pipe=
6893 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6894 lt_cv_sys_global_symbol_to_cdecl=
6896 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6898 $as_echo "failed
" >&6; }
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6901 $as_echo "ok
" >&6; }
6925 # Check whether --enable-libtool-lock was given.
6926 if test "${enable_libtool_lock+set}" = set; then :
6927 enableval=$enable_libtool_lock;
6930 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6932 # Some flags need to be propagated to the compiler or linker for good
6936 # Find out which ABI we are using.
6937 echo 'int i;' > conftest.$ac_ext
6938 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6939 (eval $ac_compile) 2>&5
6941 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6942 test $ac_status = 0; }; then
6943 case `/usr/bin/file conftest.$ac_objext` in
6955 # Find out which ABI we are using.
6956 echo '#line 6956 "configure
"' > conftest.$ac_ext
6957 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6958 (eval $ac_compile) 2>&5
6960 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6961 test $ac_status = 0; }; then
6962 if test "$lt_cv_prog_gnu_ld" = yes; then
6963 case `/usr/bin/file conftest.$ac_objext` in
6965 LD="${LD-ld} -melf32bsmip"
6968 LD="${LD-ld} -melf32bmipn32"
6971 LD="${LD-ld} -melf64bmip"
6975 case `/usr/bin/file conftest.$ac_objext` in
6991 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6992 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6993 # Find out which ABI we are using.
6994 echo 'int i;' > conftest.$ac_ext
6995 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6996 (eval $ac_compile) 2>&5
6998 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6999 test $ac_status = 0; }; then
7000 case `/usr/bin/file conftest.o` in
7003 x86_64-*kfreebsd*-gnu)
7004 LD="${LD-ld} -m elf_i386_fbsd
"
7007 LD="${LD-ld} -m elf_i386
"
7009 ppc64-*linux*|powerpc64-*linux*)
7010 LD="${LD-ld} -m elf32ppclinux
"
7013 LD="${LD-ld} -m elf_s390
"
7016 LD="${LD-ld} -m elf32_sparc
"
7022 x86_64-*kfreebsd*-gnu)
7023 LD="${LD-ld} -m elf_x86_64_fbsd
"
7026 LD="${LD-ld} -m elf_x86_64
"
7028 ppc*-*linux*|powerpc*-*linux*)
7029 LD="${LD-ld} -m elf64ppc
"
7031 s390*-*linux*|s390*-*tpf*)
7032 LD="${LD-ld} -m elf64_s390
"
7035 LD="${LD-ld} -m elf64_sparc
"
7045 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7046 SAVE_CFLAGS="$CFLAGS"
7047 CFLAGS="$CFLAGS -belf"
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7049 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7050 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7051 $as_echo_n "(cached
) " >&6
7054 ac_cpp='$CPP $CPPFLAGS'
7055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7060 /* end confdefs.h. */
7070 if ac_fn_c_try_link "$LINENO"; then :
7071 lt_cv_cc_needs_belf=yes
7073 lt_cv_cc_needs_belf=no
7075 rm -f core conftest.err conftest.$ac_objext \
7076 conftest$ac_exeext conftest.$ac_ext
7078 ac_cpp='$CPP $CPPFLAGS'
7079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7085 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7086 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7087 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7088 CFLAGS="$SAVE_CFLAGS"
7092 # Find out which ABI we are using.
7093 echo 'int i;' > conftest.$ac_ext
7094 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7095 (eval $ac_compile) 2>&5
7097 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7098 test $ac_status = 0; }; then
7099 case `/usr/bin/file conftest.o` in
7101 case $lt_cv_prog_gnu_ld in
7102 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7104 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7116 need_locks="$enable_libtool_lock"
7120 rhapsody* | darwin*)
7121 if test -n "$ac_tool_prefix"; then
7122 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7123 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7125 $as_echo_n "checking
for $ac_word...
" >&6; }
7126 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7127 $as_echo_n "(cached
) " >&6
7129 if test -n "$DSYMUTIL"; then
7130 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 test -z "$as_dir" && as_dir=.
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7139 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7149 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7150 if test -n "$DSYMUTIL"; then
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7152 $as_echo "$DSYMUTIL" >&6; }
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7155 $as_echo "no
" >&6; }
7160 if test -z "$ac_cv_prog_DSYMUTIL"; then
7161 ac_ct_DSYMUTIL=$DSYMUTIL
7162 # Extract the first word of "dsymutil
", so it can be a program name with args.
7163 set dummy dsymutil; ac_word=$2
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7165 $as_echo_n "checking
for $ac_word...
" >&6; }
7166 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7167 $as_echo_n "(cached
) " >&6
7169 if test -n "$ac_ct_DSYMUTIL"; then
7170 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 test -z "$as_dir" && as_dir=.
7177 for ac_exec_ext in '' $ac_executable_extensions; do
7178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7179 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7189 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7190 if test -n "$ac_ct_DSYMUTIL"; then
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7192 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7195 $as_echo "no
" >&6; }
7198 if test "x
$ac_ct_DSYMUTIL" = x; then
7201 case $cross_compiling:$ac_tool_warned in
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7204 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7205 ac_tool_warned=yes ;;
7207 DSYMUTIL=$ac_ct_DSYMUTIL
7210 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7213 if test -n "$ac_tool_prefix"; then
7214 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7215 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7217 $as_echo_n "checking
for $ac_word...
" >&6; }
7218 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7219 $as_echo_n "(cached
) " >&6
7221 if test -n "$NMEDIT"; then
7222 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 test -z "$as_dir" && as_dir=.
7229 for ac_exec_ext in '' $ac_executable_extensions; do
7230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7231 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7241 NMEDIT=$ac_cv_prog_NMEDIT
7242 if test -n "$NMEDIT"; then
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7244 $as_echo "$NMEDIT" >&6; }
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7247 $as_echo "no
" >&6; }
7252 if test -z "$ac_cv_prog_NMEDIT"; then
7253 ac_ct_NMEDIT=$NMEDIT
7254 # Extract the first word of "nmedit
", so it can be a program name with args.
7255 set dummy nmedit; ac_word=$2
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7257 $as_echo_n "checking
for $ac_word...
" >&6; }
7258 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7259 $as_echo_n "(cached
) " >&6
7261 if test -n "$ac_ct_NMEDIT"; then
7262 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 test -z "$as_dir" && as_dir=.
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7271 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7281 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7282 if test -n "$ac_ct_NMEDIT"; then
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7284 $as_echo "$ac_ct_NMEDIT" >&6; }
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7287 $as_echo "no
" >&6; }
7290 if test "x
$ac_ct_NMEDIT" = x; then
7293 case $cross_compiling:$ac_tool_warned in
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7296 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7297 ac_tool_warned=yes ;;
7299 NMEDIT=$ac_ct_NMEDIT
7302 NMEDIT="$ac_cv_prog_NMEDIT"
7305 if test -n "$ac_tool_prefix"; then
7306 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7307 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7309 $as_echo_n "checking
for $ac_word...
" >&6; }
7310 if test "${ac_cv_prog_LIPO+set}" = set; then :
7311 $as_echo_n "(cached
) " >&6
7313 if test -n "$LIPO"; then
7314 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 test -z "$as_dir" && as_dir=.
7321 for ac_exec_ext in '' $ac_executable_extensions; do
7322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7323 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7324 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7333 LIPO=$ac_cv_prog_LIPO
7334 if test -n "$LIPO"; then
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7336 $as_echo "$LIPO" >&6; }
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7339 $as_echo "no
" >&6; }
7344 if test -z "$ac_cv_prog_LIPO"; then
7346 # Extract the first word of "lipo
", so it can be a program name with args.
7347 set dummy lipo; ac_word=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7349 $as_echo_n "checking
for $ac_word...
" >&6; }
7350 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7351 $as_echo_n "(cached
) " >&6
7353 if test -n "$ac_ct_LIPO"; then
7354 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir=.
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7363 ac_cv_prog_ac_ct_LIPO="lipo
"
7364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7373 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7374 if test -n "$ac_ct_LIPO"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7376 $as_echo "$ac_ct_LIPO" >&6; }
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7379 $as_echo "no
" >&6; }
7382 if test "x
$ac_ct_LIPO" = x; then
7385 case $cross_compiling:$ac_tool_warned in
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7388 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7389 ac_tool_warned=yes ;;
7394 LIPO="$ac_cv_prog_LIPO"
7397 if test -n "$ac_tool_prefix"; then
7398 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7399 set dummy ${ac_tool_prefix}otool; ac_word=$2
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7401 $as_echo_n "checking
for $ac_word...
" >&6; }
7402 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7403 $as_echo_n "(cached
) " >&6
7405 if test -n "$OTOOL"; then
7406 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 test -z "$as_dir" && as_dir=.
7413 for ac_exec_ext in '' $ac_executable_extensions; do
7414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7415 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7425 OTOOL=$ac_cv_prog_OTOOL
7426 if test -n "$OTOOL"; then
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7428 $as_echo "$OTOOL" >&6; }
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7431 $as_echo "no
" >&6; }
7436 if test -z "$ac_cv_prog_OTOOL"; then
7438 # Extract the first word of "otool
", so it can be a program name with args.
7439 set dummy otool; ac_word=$2
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7441 $as_echo_n "checking
for $ac_word...
" >&6; }
7442 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7443 $as_echo_n "(cached
) " >&6
7445 if test -n "$ac_ct_OTOOL"; then
7446 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 test -z "$as_dir" && as_dir=.
7453 for ac_exec_ext in '' $ac_executable_extensions; do
7454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7455 ac_cv_prog_ac_ct_OTOOL="otool
"
7456 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7465 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7466 if test -n "$ac_ct_OTOOL"; then
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7468 $as_echo "$ac_ct_OTOOL" >&6; }
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7471 $as_echo "no
" >&6; }
7474 if test "x
$ac_ct_OTOOL" = x; then
7477 case $cross_compiling:$ac_tool_warned in
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7480 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7481 ac_tool_warned=yes ;;
7486 OTOOL="$ac_cv_prog_OTOOL"
7489 if test -n "$ac_tool_prefix"; then
7490 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7491 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7493 $as_echo_n "checking
for $ac_word...
" >&6; }
7494 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7495 $as_echo_n "(cached
) " >&6
7497 if test -n "$OTOOL64"; then
7498 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 test -z "$as_dir" && as_dir=.
7505 for ac_exec_ext in '' $ac_executable_extensions; do
7506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7507 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7517 OTOOL64=$ac_cv_prog_OTOOL64
7518 if test -n "$OTOOL64"; then
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7520 $as_echo "$OTOOL64" >&6; }
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7523 $as_echo "no
" >&6; }
7528 if test -z "$ac_cv_prog_OTOOL64"; then
7529 ac_ct_OTOOL64=$OTOOL64
7530 # Extract the first word of "otool64
", so it can be a program name with args.
7531 set dummy otool64; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7533 $as_echo_n "checking
for $ac_word...
" >&6; }
7534 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7535 $as_echo_n "(cached
) " >&6
7537 if test -n "$ac_ct_OTOOL64"; then
7538 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 test -z "$as_dir" && as_dir=.
7545 for ac_exec_ext in '' $ac_executable_extensions; do
7546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7547 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7557 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7558 if test -n "$ac_ct_OTOOL64"; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7560 $as_echo "$ac_ct_OTOOL64" >&6; }
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7563 $as_echo "no
" >&6; }
7566 if test "x
$ac_ct_OTOOL64" = x; then
7569 case $cross_compiling:$ac_tool_warned in
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7572 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7573 ac_tool_warned=yes ;;
7575 OTOOL64=$ac_ct_OTOOL64
7578 OTOOL64="$ac_cv_prog_OTOOL64"
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7608 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7609 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7610 $as_echo_n "(cached
) " >&6
7612 lt_cv_apple_cc_single_mod=no
7613 if test -z "${LT_MULTI_MODULE}"; then
7614 # By default we will add the -single_module flag. You can override
7615 # by either setting the environment variable LT_MULTI_MODULE
7616 # non-empty at configure time, or by adding -multi_module to the
7618 rm -rf libconftest.dylib*
7619 echo "int foo
(void
){return 1;}" > conftest.c
7620 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7621 -dynamiclib -Wl,-single_module conftest.c
" >&5
7622 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7623 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7625 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7626 lt_cv_apple_cc_single_mod=yes
7628 cat conftest.err >&5
7630 rm -rf libconftest.dylib*
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7635 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7637 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7638 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7639 $as_echo_n "(cached
) " >&6
7641 lt_cv_ld_exported_symbols_list=no
7642 save_LDFLAGS=$LDFLAGS
7643 echo "_main
" > conftest.sym
7644 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7646 /* end confdefs.h. */
7656 if ac_fn_c_try_link "$LINENO"; then :
7657 lt_cv_ld_exported_symbols_list=yes
7659 lt_cv_ld_exported_symbols_list=no
7661 rm -f core conftest.err conftest.$ac_objext \
7662 conftest$ac_exeext conftest.$ac_ext
7663 LDFLAGS="$save_LDFLAGS"
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7667 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7669 rhapsody* | darwin1.[012])
7670 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7672 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7673 darwin*) # darwin 5.x on
7674 # if running on 10.5 or later, the deployment target defaults
7675 # to the OS version, if on x86, and 10.4, the deployment
7676 # target defaults to 10.4. Don't you love it?
7677 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7678 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7679 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7681 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7683 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7687 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7688 _lt_dar_single_mod='$single_module'
7690 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7691 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7693 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7695 if test "$DSYMUTIL" != ":"; then
7696 _lt_dsymutil='~$DSYMUTIL $lib || :'
7703 for ac_header in dlfcn.h
7705 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7707 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7708 cat >>confdefs.h <<_ACEOF
7709 #define HAVE_DLFCN_H 1
7728 # Check whether --enable-shared was given.
7729 if test "${enable_shared+set}" = set; then :
7730 enableval=$enable_shared; p=${PACKAGE-default}
7732 yes) enable_shared=yes ;;
7733 no) enable_shared=no ;;
7736 # Look at the argument we got. We use all the common list separators.
7737 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7738 for pkg in $enableval; do
7740 if test "X
$pkg" = "X
$p"; then
7759 # Check whether --enable-static was given.
7760 if test "${enable_static+set}" = set; then :
7761 enableval=$enable_static; p=${PACKAGE-default}
7763 yes) enable_static=yes ;;
7764 no) enable_static=no ;;
7767 # Look at the argument we got. We use all the common list separators.
7768 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7769 for pkg in $enableval; do
7771 if test "X
$pkg" = "X
$p"; then
7791 # Check whether --with-pic was given.
7792 if test "${with_pic+set}" = set; then :
7793 withval=$with_pic; pic_mode="$withval"
7799 test -z "$pic_mode" && pic_mode=default
7807 # Check whether --enable-fast-install was given.
7808 if test "${enable_fast_install+set}" = set; then :
7809 enableval=$enable_fast_install; p=${PACKAGE-default}
7811 yes) enable_fast_install=yes ;;
7812 no) enable_fast_install=no ;;
7814 enable_fast_install=no
7815 # Look at the argument we got. We use all the common list separators.
7816 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7817 for pkg in $enableval; do
7819 if test "X
$pkg" = "X
$p"; then
7820 enable_fast_install=yes
7827 enable_fast_install=yes
7840 # This can be used to rebuild libtool when needed
7841 LIBTOOL_DEPS="$ltmain"
7843 # Always use our own libtool.
7844 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7870 test -z "$LN_S" && LN_S="ln -s"
7885 if test -n "${ZSH_VERSION+set}" ; then
7886 setopt NO_GLOB_SUBST
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7890 $as_echo_n "checking
for objdir...
" >&6; }
7891 if test "${lt_cv_objdir+set}" = set; then :
7892 $as_echo_n "(cached
) " >&6
7894 rm -f .libs 2>/dev/null
7895 mkdir .libs 2>/dev/null
7896 if test -d .libs; then
7899 # MS-DOS does not allow filenames that begin with a dot.
7902 rmdir .libs 2>/dev/null
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7905 $as_echo "$lt_cv_objdir" >&6; }
7906 objdir=$lt_cv_objdir
7912 cat >>confdefs.h <<_ACEOF
7913 #define LT_OBJDIR "$lt_cv_objdir/"
7934 # AIX sometimes has problems with the GCC collect2 program. For some
7935 # reason, if we set the COLLECT_NAMES environment variable, the problems
7936 # vanish in a puff of smoke.
7937 if test "X
${COLLECT_NAMES+set}" != Xset; then
7939 export COLLECT_NAMES
7944 # Sed substitution that helps us do robust quoting. It backslashifies
7945 # metacharacters that are still active within double-quoted strings.
7946 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7948 # Same as above, but do not quote variable references.
7949 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7951 # Sed substitution to delay expansion of an escaped shell variable in a
7952 # double_quote_subst'ed string.
7953 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7955 # Sed substitution to delay expansion of an escaped single quote.
7956 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7958 # Sed substitution to avoid accidental globbing in evaled expressions
7959 no_glob_subst
='s/\*/\\\*/g'
7963 can_build_shared
=yes
7965 # All known linkers require a `.a' archive for static linking (except MSVC,
7966 # which needs '.lib').
7969 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7972 old_CFLAGS
="$CFLAGS"
7974 # Set sane defaults for various variables
7975 test -z "$CC" && CC
=cc
7976 test -z "$LTCC" && LTCC
=$CC
7977 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7978 test -z "$LD" && LD
=ld
7979 test -z "$ac_objext" && ac_objext
=o
7981 for cc_temp
in $compiler""; do
7983 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7984 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7989 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7992 # Only perform the check for file, if the check method requires it
7993 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7994 case $deplibs_check_method in
7996 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7998 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7999 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8000 $as_echo_n "(cached) " >&6
8004 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8007 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8008 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8009 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8010 for ac_dir
in $ac_dummy; do
8012 test -z "$ac_dir" && ac_dir
=.
8013 if test -f $ac_dir/${ac_tool_prefix}file; then
8014 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8015 if test -n "$file_magic_test_file"; then
8016 case $deplibs_check_method in
8018 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8019 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8020 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8021 $EGREP "$file_magic_regex" > /dev
/null
; then
8026 *** Warning: the command libtool uses to detect shared libraries,
8027 *** $file_magic_cmd, produces output that libtool cannot recognize.
8028 *** The result is that libtool may fail to recognize shared libraries
8029 *** as such. This will affect the creation of libtool libraries that
8030 *** depend on shared libraries, but programs linked with such libtool
8031 *** libraries will work regardless of this problem. Nevertheless, you
8032 *** may want to report the problem to your system manager and/or to
8033 *** bug-libtool@gnu.org
8043 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8048 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8049 if test -n "$MAGIC_CMD"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8051 $as_echo "$MAGIC_CMD" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8061 if test -z "$lt_cv_path_MAGIC_CMD"; then
8062 if test -n "$ac_tool_prefix"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8064 $as_echo_n "checking for file... " >&6; }
8065 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8066 $as_echo_n "(cached) " >&6
8070 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8073 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8074 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8075 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8076 for ac_dir
in $ac_dummy; do
8078 test -z "$ac_dir" && ac_dir
=.
8079 if test -f $ac_dir/file; then
8080 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8081 if test -n "$file_magic_test_file"; then
8082 case $deplibs_check_method in
8084 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8085 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8086 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8087 $EGREP "$file_magic_regex" > /dev
/null
; then
8092 *** Warning: the command libtool uses to detect shared libraries,
8093 *** $file_magic_cmd, produces output that libtool cannot recognize.
8094 *** The result is that libtool may fail to recognize shared libraries
8095 *** as such. This will affect the creation of libtool libraries that
8096 *** depend on shared libraries, but programs linked with such libtool
8097 *** libraries will work regardless of this problem. Nevertheless, you
8098 *** may want to report the problem to your system manager and/or to
8099 *** bug-libtool@gnu.org
8109 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8114 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8115 if test -n "$MAGIC_CMD"; then
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8117 $as_echo "$MAGIC_CMD" >&6; }
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8120 $as_echo "no" >&6; }
8133 # Use C for the default configuration in the libtool script
8137 ac_cpp
='$CPP $CPPFLAGS'
8138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8143 # Source file extension for C test sources.
8146 # Object file extension for compiled C test sources.
8150 # Code to be used in simple compile tests
8151 lt_simple_compile_test_code
="int some_variable = 0;"
8153 # Code to be used in simple link tests
8154 lt_simple_link_test_code
='int main(){return(0);}'
8162 # If no C compiler was specified, use CC.
8165 # If no C compiler flags were specified, use CFLAGS.
8166 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8168 # Allow CC to be a program name with arguments.
8171 # Save the default compiler, since it gets overwritten when the other
8172 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8173 compiler_DEFAULT
=$CC
8175 # save warnings/boilerplate of simple test code
8176 ac_outfile
=conftest.
$ac_objext
8177 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8178 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8179 _lt_compiler_boilerplate
=`cat conftest.err`
8182 ac_outfile
=conftest.
$ac_objext
8183 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8184 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8185 _lt_linker_boilerplate
=`cat conftest.err`
8190 ## There is no encapsulation within the following macros, do not change
8191 ## the running order or otherwise move them around unless you know exactly
8192 ## what you are doing...
8193 if test -n "$compiler"; then
8195 lt_prog_compiler_no_builtin_flag
=
8197 if test "$GCC" = yes; then
8198 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8201 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8202 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8205 lt_cv_prog_compiler_rtti_exceptions
=no
8206 ac_outfile
=conftest.
$ac_objext
8207 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8208 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8209 # Insert the option either (1) after the last *FLAGS variable, or
8210 # (2) before a word containing "conftest.", or (3) at the end.
8211 # Note that $ac_compile itself does not contain backslashes and begins
8212 # with a dollar sign (not a hyphen), so the echo should work correctly.
8213 # The option is referenced via a variable to avoid confusing sed.
8214 lt_compile
=`echo "$ac_compile" | $SED \
8215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8217 -e 's:$: $lt_compiler_flag:'`
8218 (eval echo "\"\$as_me:8218: $lt_compile\"" >&5)
8219 (eval "$lt_compile" 2>conftest.err
)
8221 cat conftest.err
>&5
8222 echo "$as_me:8222: \$? = $ac_status" >&5
8223 if (exit $ac_status) && test -s "$ac_outfile"; then
8224 # The compiler can only warn and ignore the option if not recognized
8225 # So say no if there are warnings other than the usual output.
8226 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8227 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8228 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8229 lt_cv_prog_compiler_rtti_exceptions
=yes
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8236 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8238 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8239 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8251 lt_prog_compiler_wl
=
8252 lt_prog_compiler_pic
=
8253 lt_prog_compiler_static
=
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8256 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8258 if test "$GCC" = yes; then
8259 lt_prog_compiler_wl
='-Wl,'
8260 lt_prog_compiler_static
='-static'
8264 # All AIX code is PIC.
8265 if test "$host_cpu" = ia64
; then
8266 # AIX 5 now supports IA64 processor
8267 lt_prog_compiler_static
='-Bstatic'
8274 # see comment about AmigaOS4 .so support
8275 lt_prog_compiler_pic
='-fPIC'
8278 # FIXME: we need at least 68020 code to build shared libraries, but
8279 # adding the `-m68020' flag to GCC prevents building anything better,
8281 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8286 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8287 # PIC is the default for these OSes.
8290 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8291 # This hack is so that the source file can tell whether it is being
8292 # built for inclusion in a dll (and should export symbols for example).
8293 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8294 # (--disable-auto-import) libraries
8295 lt_prog_compiler_pic
='-DDLL_EXPORT'
8298 darwin
* | rhapsody
*)
8299 # PIC is the default on this platform
8300 # Common symbols not allowed in MH_DYLIB files
8301 lt_prog_compiler_pic
='-fno-common'
8305 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8306 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8307 # sets the default TLS model and affects inlining.
8313 lt_prog_compiler_pic
='-fPIC'
8319 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8320 # Instead, we relocate shared libraries at runtime.
8324 # Just because we use GCC doesn't mean we suddenly get shared libraries
8325 # on systems that don't support them.
8326 lt_prog_compiler_can_build_shared
=no
8331 # QNX uses GNU C++, but need to define -shared option too, otherwise
8333 lt_prog_compiler_pic
='-fPIC -shared'
8337 if test -d /usr
/nec
; then
8338 lt_prog_compiler_pic
=-Kconform_pic
8343 lt_prog_compiler_pic
='-fPIC'
8347 # PORTME Check for flag to pass linker flags through the system compiler.
8350 lt_prog_compiler_wl
='-Wl,'
8351 if test "$host_cpu" = ia64
; then
8352 # AIX 5 now supports IA64 processor
8353 lt_prog_compiler_static
='-Bstatic'
8355 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8359 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8360 # This hack is so that the source file can tell whether it is being
8361 # built for inclusion in a dll (and should export symbols for example).
8362 lt_prog_compiler_pic
='-DDLL_EXPORT'
8365 hpux9
* | hpux10
* | hpux11
*)
8366 lt_prog_compiler_wl
='-Wl,'
8367 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8374 lt_prog_compiler_pic
='+Z'
8377 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8378 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8381 irix5
* | irix6
* | nonstopux
*)
8382 lt_prog_compiler_wl
='-Wl,'
8383 # PIC (with -KPIC) is the default.
8384 lt_prog_compiler_static
='-non_shared'
8387 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8388 case $cc_basename in
8389 # old Intel for x86_64 which still supported -KPIC.
8391 lt_prog_compiler_wl
='-Wl,'
8392 lt_prog_compiler_pic
='-KPIC'
8393 lt_prog_compiler_static
='-static'
8395 # icc used to be incompatible with GCC.
8396 # ICC 10 doesn't accept -KPIC any more.
8398 lt_prog_compiler_wl
='-Wl,'
8399 lt_prog_compiler_pic
='-fPIC'
8400 lt_prog_compiler_static
='-static'
8402 # Lahey Fortran 8.1.
8404 lt_prog_compiler_wl
='-Wl,'
8405 lt_prog_compiler_pic
='--shared'
8406 lt_prog_compiler_static
='--static'
8408 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8409 # Portland Group compilers (*not* the Pentium gcc compiler,
8410 # which looks to be a dead project)
8411 lt_prog_compiler_wl
='-Wl,'
8412 lt_prog_compiler_pic
='-fpic'
8413 lt_prog_compiler_static
='-Bstatic'
8416 lt_prog_compiler_wl
='-Wl,'
8417 # All Alpha code is PIC.
8418 lt_prog_compiler_static
='-non_shared'
8421 # IBM XL C 8.0/Fortran 10.1 on PPC
8422 lt_prog_compiler_wl
='-Wl,'
8423 lt_prog_compiler_pic
='-qpic'
8424 lt_prog_compiler_static
='-qstaticlink'
8427 case `$CC -V 2>&1 | sed 5q` in
8430 lt_prog_compiler_pic
='-KPIC'
8431 lt_prog_compiler_static
='-Bstatic'
8432 lt_prog_compiler_wl
='-Wl,'
8435 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8436 lt_prog_compiler_pic
='-KPIC'
8437 lt_prog_compiler_static
='-Bstatic'
8438 lt_prog_compiler_wl
=''
8446 lt_prog_compiler_pic
='-KPIC'
8447 lt_prog_compiler_static
='-Bstatic'
8451 # QNX uses GNU C++, but need to define -shared option too, otherwise
8453 lt_prog_compiler_pic
='-fPIC -shared'
8456 osf3
* | osf4
* | osf5
*)
8457 lt_prog_compiler_wl
='-Wl,'
8458 # All OSF/1 code is PIC.
8459 lt_prog_compiler_static
='-non_shared'
8463 lt_prog_compiler_static
='-non_shared'
8467 lt_prog_compiler_pic
='-KPIC'
8468 lt_prog_compiler_static
='-Bstatic'
8469 case $cc_basename in
8471 lt_prog_compiler_wl
='-Qoption ld ';;
8473 lt_prog_compiler_wl
='-Wl,';;
8478 lt_prog_compiler_wl
='-Qoption ld '
8479 lt_prog_compiler_pic
='-PIC'
8480 lt_prog_compiler_static
='-Bstatic'
8483 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8484 lt_prog_compiler_wl
='-Wl,'
8485 lt_prog_compiler_pic
='-KPIC'
8486 lt_prog_compiler_static
='-Bstatic'
8490 if test -d /usr
/nec
;then
8491 lt_prog_compiler_pic
='-Kconform_pic'
8492 lt_prog_compiler_static
='-Bstatic'
8496 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8497 lt_prog_compiler_wl
='-Wl,'
8498 lt_prog_compiler_pic
='-KPIC'
8499 lt_prog_compiler_static
='-Bstatic'
8503 lt_prog_compiler_wl
='-Wl,'
8504 lt_prog_compiler_can_build_shared
=no
8508 lt_prog_compiler_pic
='-pic'
8509 lt_prog_compiler_static
='-Bstatic'
8513 lt_prog_compiler_can_build_shared
=no
8519 # For platforms which do not support PIC, -DPIC is meaningless:
8521 lt_prog_compiler_pic
=
8524 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8528 $as_echo "$lt_prog_compiler_pic" >&6; }
8536 # Check to make sure the PIC flag actually works.
8538 if test -n "$lt_prog_compiler_pic"; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8540 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8541 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8542 $as_echo_n "(cached) " >&6
8544 lt_cv_prog_compiler_pic_works
=no
8545 ac_outfile
=conftest.
$ac_objext
8546 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8547 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8548 # Insert the option either (1) after the last *FLAGS variable, or
8549 # (2) before a word containing "conftest.", or (3) at the end.
8550 # Note that $ac_compile itself does not contain backslashes and begins
8551 # with a dollar sign (not a hyphen), so the echo should work correctly.
8552 # The option is referenced via a variable to avoid confusing sed.
8553 lt_compile
=`echo "$ac_compile" | $SED \
8554 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8556 -e 's:$: $lt_compiler_flag:'`
8557 (eval echo "\"\$as_me:8557: $lt_compile\"" >&5)
8558 (eval "$lt_compile" 2>conftest.err
)
8560 cat conftest.err
>&5
8561 echo "$as_me:8561: \$? = $ac_status" >&5
8562 if (exit $ac_status) && test -s "$ac_outfile"; then
8563 # The compiler can only warn and ignore the option if not recognized
8564 # So say no if there are warnings other than the usual output.
8565 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8566 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8567 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8568 lt_cv_prog_compiler_pic_works
=yes
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8575 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8577 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8578 case $lt_prog_compiler_pic in
8580 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8583 lt_prog_compiler_pic
=
8584 lt_prog_compiler_can_build_shared
=no
8595 # Check to make sure the static flag actually works.
8597 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8599 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8600 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8601 $as_echo_n "(cached) " >&6
8603 lt_cv_prog_compiler_static_works
=no
8604 save_LDFLAGS
="$LDFLAGS"
8605 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8606 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8607 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8608 # The linker can only warn and ignore the option if not recognized
8609 # So say no if there are warnings
8610 if test -s conftest.err
; then
8611 # Append any errors to the config.log.
8612 cat conftest.err
1>&5
8613 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8614 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8615 if diff conftest.exp conftest.er2
>/dev
/null
; then
8616 lt_cv_prog_compiler_static_works
=yes
8619 lt_cv_prog_compiler_static_works
=yes
8623 LDFLAGS
="$save_LDFLAGS"
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8627 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8629 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8632 lt_prog_compiler_static
=
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; }
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8697 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8698 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8699 $as_echo_n "(cached) " >&6
8701 lt_cv_prog_compiler_c_o
=no
8702 $RM -r conftest
2>/dev
/null
8706 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8708 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8709 # Insert the option either (1) after the last *FLAGS variable, or
8710 # (2) before a word containing "conftest.", or (3) at the end.
8711 # Note that $ac_compile itself does not contain backslashes and begins
8712 # with a dollar sign (not a hyphen), so the echo should work correctly.
8713 lt_compile
=`echo "$ac_compile" | $SED \
8714 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8715 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8716 -e 's:$: $lt_compiler_flag:'`
8717 (eval echo "\"\$as_me:8717: $lt_compile\"" >&5)
8718 (eval "$lt_compile" 2>out
/conftest.err
)
8720 cat out
/conftest.err
>&5
8721 echo "$as_me:8721: \$? = $ac_status" >&5
8722 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8724 # The compiler can only warn and ignore the option if not recognized
8725 # So say no if there are warnings
8726 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8727 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8728 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8729 lt_cv_prog_compiler_c_o
=yes
8734 # SGI C++ compiler will create directory out/ii_files/ for
8735 # template instantiation
8736 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8737 $RM out
/* && rmdir out
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8744 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8749 hard_links
="nottested"
8750 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8751 # do not overwrite the value of need_locks provided by the user
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8753 $as_echo_n "checking if we can lock with hard links... " >&6; }
8756 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8758 ln conftest.a conftest.b
2>&5 || hard_links
=no
8759 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8761 $as_echo "$hard_links" >&6; }
8762 if test "$hard_links" = no
; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8764 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8777 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8780 allow_undefined_flag
=
8781 always_export_symbols
=no
8783 archive_expsym_cmds
=
8784 compiler_needs_object
=no
8785 enable_shared_with_static_runtimes
=no
8786 export_dynamic_flag_spec
=
8787 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8788 hardcode_automatic
=no
8790 hardcode_direct_absolute
=no
8791 hardcode_libdir_flag_spec
=
8792 hardcode_libdir_flag_spec_ld
=
8793 hardcode_libdir_separator
=
8795 hardcode_shlibpath_var
=unsupported
8797 link_all_deplibs
=unknown
8800 old_archive_from_new_cmds
=
8801 old_archive_from_expsyms_cmds
=
8802 thread_safe_flag_spec
=
8803 whole_archive_flag_spec
=
8804 # include_expsyms should be a list of space-separated symbols to be *always*
8805 # included in the symbol list
8807 # exclude_expsyms can be an extended regexp of symbols to exclude
8808 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8809 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8810 # as well as any symbol that contains `d'.
8811 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8812 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8813 # platforms (ab)use it in PIC code, but their linkers get confused if
8814 # the symbol is explicitly referenced. Since portable code cannot
8815 # rely on this symbol name, it's probably fine to never include it in
8816 # preloaded symbol tables.
8817 # Exclude shared library initialization/finalization symbols.
8818 extract_expsyms_cmds
=
8821 cygwin
* | mingw
* | pw32
* | cegcc
*)
8822 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8823 # When not using gcc, we currently assume that we are using
8824 # Microsoft Visual C++.
8825 if test "$GCC" != yes; then
8830 # we just hope/assume this is gcc and not c89 (= MSVC++)
8839 if test "$with_gnu_ld" = yes; then
8840 # If archive_cmds runs LD, not CC, wlarc should be empty
8843 # Set some defaults for GNU ld with shared library support. These
8844 # are reset later if shared libraries are not supported. Putting them
8845 # here allows them to be overridden if necessary.
8846 runpath_var
=LD_RUN_PATH
8847 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8848 export_dynamic_flag_spec
='${wl}--export-dynamic'
8849 # ancient GNU ld didn't support --whole-archive et. al.
8850 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8851 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8853 whole_archive_flag_spec
=
8855 supports_anon_versioning
=no
8856 case `$LD -v 2>&1` in
8857 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8858 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8859 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8860 *\
2.11.
*) ;; # other 2.11 versions
8861 *) supports_anon_versioning
=yes ;;
8864 # See if GNU ld supports shared libraries.
8867 # On AIX/PPC, the GNU linker is very broken
8868 if test "$host_cpu" != ia64
; then
8872 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8873 *** to be unable to reliably create shared libraries on AIX.
8874 *** Therefore, libtool is disabling shared libraries support. If you
8875 *** really care for shared libraries, you may want to modify your PATH
8876 *** so that a non-GNU linker is found, and then restart.
8885 # see comment about AmigaOS4 .so support
8886 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8887 archive_expsym_cmds
=''
8890 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)'
8891 hardcode_libdir_flag_spec
='-L$libdir'
8892 hardcode_minus_L
=yes
8898 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8899 allow_undefined_flag
=unsupported
8900 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8901 # support --undefined. This deserves some investigation. FIXME
8902 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8908 cygwin
* | mingw
* | pw32
* | cegcc
*)
8909 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8910 # as there is no search path for DLLs.
8911 hardcode_libdir_flag_spec
='-L$libdir'
8912 allow_undefined_flag
=unsupported
8913 always_export_symbols
=no
8914 enable_shared_with_static_runtimes
=yes
8915 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8917 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8918 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8919 # If the export-symbols file already is a .def file (1st line
8920 # is EXPORTS), use it as is; otherwise, prepend...
8921 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8922 cp $export_symbols $output_objdir/$soname.def;
8924 echo EXPORTS > $output_objdir/$soname.def;
8925 cat $export_symbols >> $output_objdir/$soname.def;
8927 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8935 hardcode_shlibpath_var
=no
8936 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8937 export_dynamic_flag_spec
='${wl}-E'
8938 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8939 # Instead, shared libraries are loaded at an image base (0x10000000 by
8940 # default) and relocated if they conflict, which is a slow very memory
8941 # consuming and fragmenting process. To avoid this, we pick a random,
8942 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8943 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8944 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8945 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'
8948 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8950 if test "$host_os" = linux-dietlibc
; then
8951 case $cc_basename in
8952 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8955 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8956 && test "$tmp_diet" = no
8959 tmp_sharedflag
='-shared'
8960 case $cc_basename,$host_cpu in
8961 pgcc
*) # Portland Group C compiler
8962 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'
8963 tmp_addflag
=' $pic_flag'
8965 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8966 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'
8967 tmp_addflag
=' $pic_flag -Mnomain' ;;
8968 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8969 tmp_addflag
=' -i_dynamic' ;;
8970 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8971 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8972 ifc
* | ifort
*) # Intel Fortran compiler
8973 tmp_addflag
=' -nofor_main' ;;
8974 lf95
*) # Lahey Fortran 8.1
8975 whole_archive_flag_spec
=
8976 tmp_sharedflag
='--shared' ;;
8977 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8978 tmp_sharedflag
='-qmkshrobj'
8981 case `$CC -V 2>&1 | sed 5q` in
8982 *Sun\ C
*) # Sun C 5.9
8983 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'
8984 compiler_needs_object
=yes
8985 tmp_sharedflag
='-G' ;;
8986 *Sun\ F
*) # Sun Fortran 8.3
8987 tmp_sharedflag
='-G' ;;
8989 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8991 if test "x$supports_anon_versioning" = xyes
; then
8992 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8993 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8994 echo "local: *; };" >> $output_objdir/$libname.ver~
8995 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8998 case $cc_basename in
9000 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9001 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9002 hardcode_libdir_flag_spec
=
9003 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9004 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9005 if test "x$supports_anon_versioning" = xyes
; then
9006 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9007 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9008 echo "local: *; };" >> $output_objdir/$libname.ver~
9009 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9019 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9020 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9023 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9024 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9029 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9033 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9034 *** create shared libraries on Solaris systems. Therefore, libtool
9035 *** is disabling shared libraries support. We urge you to upgrade GNU
9036 *** binutils to release 2.9.1 or newer. Another option is to modify
9037 *** your PATH or compiler configuration so that the native linker is
9038 *** used, and then restart.
9041 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9042 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9043 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9049 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9050 case `$LD -v 2>&1` in
9051 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9055 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9056 *** reliably create shared libraries on SCO systems. Therefore, libtool
9057 *** is disabling shared libraries support. We urge you to upgrade GNU
9058 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9059 *** your PATH or compiler configuration so that the native linker is
9060 *** used, and then restart.
9065 # For security reasons, it is highly recommended that you always
9066 # use absolute paths for naming shared libraries, and exclude the
9067 # DT_RUNPATH tag from executables and libraries. But doing so
9068 # requires that you compile everything twice, which is a pain.
9069 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9070 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9071 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9072 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9081 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9084 hardcode_shlibpath_var
=no
9088 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9089 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9090 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9097 if test "$ld_shlibs" = no
; then
9099 hardcode_libdir_flag_spec
=
9100 export_dynamic_flag_spec
=
9101 whole_archive_flag_spec
=
9104 # PORTME fill in a description of your system's linker (not GNU ld)
9107 allow_undefined_flag
=unsupported
9108 always_export_symbols
=yes
9109 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'
9110 # Note: this linker hardcodes the directories in LIBPATH if there
9111 # are no directories specified by -L.
9112 hardcode_minus_L
=yes
9113 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9114 # Neither direct hardcoding nor static linking is supported with a
9116 hardcode_direct
=unsupported
9121 if test "$host_cpu" = ia64
; then
9122 # On IA64, the linker does run time linking by default, so we don't
9123 # have to do anything special.
9124 aix_use_runtimelinking
=no
9125 exp_sym_flag
='-Bexport'
9128 # If we're using GNU nm, then we don't want the "-C" option.
9129 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9130 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9131 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'
9133 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'
9135 aix_use_runtimelinking
=no
9137 # Test if we are trying to use run time linking or normal
9138 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9139 # need to do runtime linking.
9140 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9141 for ld_flag
in $LDFLAGS; do
9142 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9143 aix_use_runtimelinking
=yes
9150 exp_sym_flag
='-bexport'
9151 no_entry_flag
='-bnoentry'
9154 # When large executables or shared objects are built, AIX ld can
9155 # have problems creating the table of contents. If linking a library
9156 # or program results in "error TOC overflow" add -mminimal-toc to
9157 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9158 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9162 hardcode_direct_absolute
=yes
9163 hardcode_libdir_separator
=':'
9164 link_all_deplibs
=yes
9165 file_list_spec
='${wl}-f,'
9167 if test "$GCC" = yes; then
9168 case $host_os in aix4.
[012]|aix4.
[012].
*)
9169 # We only want to do this on AIX 4.2 and lower, the check
9170 # below for broken collect2 doesn't work under 4.3+
9171 collect2name
=`${CC} -print-prog-name=collect2`
9172 if test -f "$collect2name" &&
9173 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9175 # We have reworked collect2
9178 # We have old collect2
9179 hardcode_direct
=unsupported
9180 # It fails to find uninstalled libraries when the uninstalled
9181 # path is not listed in the libpath. Setting hardcode_minus_L
9182 # to unsupported forces relinking
9183 hardcode_minus_L
=yes
9184 hardcode_libdir_flag_spec
='-L$libdir'
9185 hardcode_libdir_separator
=
9189 shared_flag
='-shared'
9190 if test "$aix_use_runtimelinking" = yes; then
9191 shared_flag
="$shared_flag "'${wl}-G'
9195 if test "$host_cpu" = ia64
; then
9196 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9197 # chokes on -Wl,-G. The following line is correct:
9200 if test "$aix_use_runtimelinking" = yes; then
9201 shared_flag
='${wl}-G'
9203 shared_flag
='${wl}-bM:SRE'
9208 export_dynamic_flag_spec
='${wl}-bexpall'
9209 # It seems that -bexpall does not export symbols beginning with
9210 # underscore (_), so it is better to generate a list of symbols to export.
9211 always_export_symbols
=yes
9212 if test "$aix_use_runtimelinking" = yes; then
9213 # Warning - without using the other runtime loading flags (-brtl),
9214 # -berok will link without error, but may produce a broken library.
9215 allow_undefined_flag
='-berok'
9216 # Determine the default libpath from the value encoded in an
9218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9219 /* end confdefs.h. */
9229 if ac_fn_c_try_link
"$LINENO"; then :
9231 lt_aix_libpath_sed
='
9232 /Import File Strings/,/^$/ {
9238 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9239 # Check for a 64-bit object if we didn't find anything.
9240 if test -z "$aix_libpath"; then
9241 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9244 rm -f core conftest.err conftest.
$ac_objext \
9245 conftest
$ac_exeext conftest.
$ac_ext
9246 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9248 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9249 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"
9251 if test "$host_cpu" = ia64
; then
9252 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9253 allow_undefined_flag
="-z nodefs"
9254 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"
9256 # Determine the default libpath from the value encoded in an
9258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9259 /* end confdefs.h. */
9269 if ac_fn_c_try_link
"$LINENO"; then :
9271 lt_aix_libpath_sed
='
9272 /Import File Strings/,/^$/ {
9278 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9279 # Check for a 64-bit object if we didn't find anything.
9280 if test -z "$aix_libpath"; then
9281 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9284 rm -f core conftest.err conftest.
$ac_objext \
9285 conftest
$ac_exeext conftest.
$ac_ext
9286 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9288 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9289 # Warning - without using the other run time loading flags,
9290 # -berok will link without error, but may produce a broken library.
9291 no_undefined_flag
=' ${wl}-bernotok'
9292 allow_undefined_flag
=' ${wl}-berok'
9293 # Exported symbols can be pulled into shared objects from archives
9294 whole_archive_flag_spec
='$convenience'
9295 archive_cmds_need_lc
=yes
9296 # This is similar to how AIX traditionally builds its shared libraries.
9297 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'
9305 # see comment about AmigaOS4 .so support
9306 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9307 archive_expsym_cmds
=''
9310 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)'
9311 hardcode_libdir_flag_spec
='-L$libdir'
9312 hardcode_minus_L
=yes
9318 export_dynamic_flag_spec
=-rdynamic
9321 cygwin
* | mingw
* | pw32
* | cegcc
*)
9322 # When not using gcc, we currently assume that we are using
9323 # Microsoft Visual C++.
9324 # hardcode_libdir_flag_spec is actually meaningless, as there is
9325 # no search path for DLLs.
9326 hardcode_libdir_flag_spec
=' '
9327 allow_undefined_flag
=unsupported
9328 # Tell ltmain to make .lib files, not .a files.
9330 # Tell ltmain to make .dll files, not .so files.
9332 # FIXME: Setting linknames here is a bad hack.
9333 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9334 # The linker will automatically build a .lib file if we build a DLL.
9335 old_archive_from_new_cmds
='true'
9336 # FIXME: Should let the user specify the lib program.
9337 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9338 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9339 enable_shared_with_static_runtimes
=yes
9342 darwin
* | rhapsody
*)
9345 archive_cmds_need_lc
=no
9347 hardcode_automatic
=yes
9348 hardcode_shlibpath_var
=unsupported
9349 whole_archive_flag_spec
=''
9350 link_all_deplibs
=yes
9351 allow_undefined_flag
="$_lt_dar_allow_undefined"
9352 case $cc_basename in
9353 ifort
*) _lt_dar_can_shared
=yes ;;
9354 *) _lt_dar_can_shared
=$GCC ;;
9356 if test "$_lt_dar_can_shared" = "yes"; then
9357 output_verbose_link_cmd
=echo
9358 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9359 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9360 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}"
9361 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}"
9370 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9371 hardcode_libdir_flag_spec
='-L$libdir'
9372 hardcode_shlibpath_var
=no
9379 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9380 # support. Future versions do this automatically, but an explicit c++rt0.o
9381 # does not break anything, and helps significantly (at the cost of a little
9384 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9385 hardcode_libdir_flag_spec
='-R$libdir'
9387 hardcode_shlibpath_var
=no
9390 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9392 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9394 hardcode_minus_L
=yes
9395 hardcode_shlibpath_var
=no
9398 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9399 freebsd
* | dragonfly
*)
9400 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9401 hardcode_libdir_flag_spec
='-R$libdir'
9403 hardcode_shlibpath_var
=no
9407 if test "$GCC" = yes; then
9408 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'
9410 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'
9412 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9413 hardcode_libdir_separator
=:
9416 # hardcode_minus_L: Not really in the search PATH,
9417 # but as the default location of the library.
9418 hardcode_minus_L
=yes
9419 export_dynamic_flag_spec
='${wl}-E'
9423 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9424 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9426 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9428 if test "$with_gnu_ld" = no
; then
9429 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9430 hardcode_libdir_flag_spec_ld
='+b $libdir'
9431 hardcode_libdir_separator
=:
9433 hardcode_direct_absolute
=yes
9434 export_dynamic_flag_spec
='${wl}-E'
9435 # hardcode_minus_L: Not really in the search PATH,
9436 # but as the default location of the library.
9437 hardcode_minus_L
=yes
9442 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9445 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9448 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9451 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9457 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9460 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9463 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9467 if test "$with_gnu_ld" = no
; then
9468 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9469 hardcode_libdir_separator
=:
9474 hardcode_shlibpath_var
=no
9478 hardcode_direct_absolute
=yes
9479 export_dynamic_flag_spec
='${wl}-E'
9481 # hardcode_minus_L: Not really in the search PATH,
9482 # but as the default location of the library.
9483 hardcode_minus_L
=yes
9489 irix5
* | irix6
* | nonstopux
*)
9490 if test "$GCC" = yes; then
9491 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'
9492 # Try to use the -exported_symbol ld option, if it does not
9493 # work, assume that -exports_file does not work either and
9494 # implicitly export all symbols.
9495 save_LDFLAGS
="$LDFLAGS"
9496 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9501 if ac_fn_c_try_link
"$LINENO"; then :
9502 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'
9505 rm -f core conftest.err conftest.
$ac_objext \
9506 conftest
$ac_exeext conftest.
$ac_ext
9507 LDFLAGS
="$save_LDFLAGS"
9509 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'
9510 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'
9512 archive_cmds_need_lc
='no'
9513 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9514 hardcode_libdir_separator
=:
9516 link_all_deplibs
=yes
9520 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9521 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9523 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9525 hardcode_libdir_flag_spec
='-R$libdir'
9527 hardcode_shlibpath_var
=no
9531 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9533 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9534 hardcode_libdir_separator
=:
9535 hardcode_shlibpath_var
=no
9542 if test -f /usr
/libexec
/ld.so
; then
9544 hardcode_shlibpath_var
=no
9545 hardcode_direct_absolute
=yes
9546 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9547 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9548 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9549 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9550 export_dynamic_flag_spec
='${wl}-E'
9553 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9554 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9555 hardcode_libdir_flag_spec
='-R$libdir'
9558 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9559 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9569 hardcode_libdir_flag_spec
='-L$libdir'
9570 hardcode_minus_L
=yes
9571 allow_undefined_flag
=unsupported
9572 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'
9573 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9577 if test "$GCC" = yes; then
9578 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9579 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'
9581 allow_undefined_flag
=' -expect_unresolved \*'
9582 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'
9584 archive_cmds_need_lc
='no'
9585 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9586 hardcode_libdir_separator
=:
9589 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9590 if test "$GCC" = yes; then
9591 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9592 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'
9593 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9595 allow_undefined_flag
=' -expect_unresolved \*'
9596 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'
9597 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~
9598 $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'
9600 # Both c and cxx compiler support -rpath directly
9601 hardcode_libdir_flag_spec
='-rpath $libdir'
9603 archive_cmds_need_lc
='no'
9604 hardcode_libdir_separator
=:
9608 no_undefined_flag
=' -z defs'
9609 if test "$GCC" = yes; then
9611 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9612 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9613 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9615 case `$CC -V 2>&1` in
9618 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9619 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9620 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9624 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9625 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9626 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9630 hardcode_libdir_flag_spec
='-R$libdir'
9631 hardcode_shlibpath_var
=no
9633 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9635 # The compiler driver will combine and reorder linker options,
9636 # but understands `-z linker_flag'. GCC discards it without `$wl',
9637 # but is careful enough not to reorder.
9638 # Supported since Solaris 2.6 (maybe 2.5.1?)
9639 if test "$GCC" = yes; then
9640 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9642 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9646 link_all_deplibs
=yes
9650 if test "x$host_vendor" = xsequent
; then
9651 # Use $CC to link under sequent, because it throws in some extra .o
9652 # files that make .init and .fini sections work.
9653 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9655 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9657 hardcode_libdir_flag_spec
='-L$libdir'
9659 hardcode_minus_L
=yes
9660 hardcode_shlibpath_var
=no
9664 case $host_vendor in
9666 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9667 hardcode_direct
=yes # is this really true???
9670 ## LD is ld it makes a PLAMLIB
9671 ## CC just makes a GrossModule.
9672 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9673 reload_cmds
='$CC -r -o $output$reload_objs'
9677 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9678 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9681 runpath_var
='LD_RUN_PATH'
9682 hardcode_shlibpath_var
=no
9686 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687 hardcode_shlibpath_var
=no
9688 export_dynamic_flag_spec
='-Bexport'
9692 if test -d /usr
/nec
; then
9693 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9694 hardcode_shlibpath_var
=no
9695 runpath_var
=LD_RUN_PATH
9696 hardcode_runpath_var
=yes
9701 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9702 no_undefined_flag
='${wl}-z,text'
9703 archive_cmds_need_lc
=no
9704 hardcode_shlibpath_var
=no
9705 runpath_var
='LD_RUN_PATH'
9707 if test "$GCC" = yes; then
9708 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9709 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9711 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9712 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9716 sysv5
* | sco3.2v5
* | sco5v6
*)
9717 # Note: We can NOT use -z defs as we might desire, because we do not
9718 # link with -lc, and that would cause any symbols used from libc to
9719 # always be unresolved, which means just about no library would
9720 # ever link correctly. If we're not using GNU ld we use -z text
9721 # though, which does catch some bad symbols but isn't as heavy-handed
9723 no_undefined_flag
='${wl}-z,text'
9724 allow_undefined_flag
='${wl}-z,nodefs'
9725 archive_cmds_need_lc
=no
9726 hardcode_shlibpath_var
=no
9727 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9728 hardcode_libdir_separator
=':'
9729 link_all_deplibs
=yes
9730 export_dynamic_flag_spec
='${wl}-Bexport'
9731 runpath_var
='LD_RUN_PATH'
9733 if test "$GCC" = yes; then
9734 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9735 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9737 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9738 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9744 hardcode_libdir_flag_spec
='-L$libdir'
9745 hardcode_shlibpath_var
=no
9753 if test x
$host_vendor = xsni
; then
9755 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9756 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9763 $as_echo "$ld_shlibs" >&6; }
9764 test "$ld_shlibs" = no
&& can_build_shared
=no
9766 with_gnu_ld
=$with_gnu_ld
9783 # Do we need to explicitly link libc?
9785 case "x$archive_cmds_need_lc" in
9787 # Assume -lc should be added
9788 archive_cmds_need_lc
=yes
9790 if test "$enable_shared" = yes && test "$GCC" = yes; then
9791 case $archive_cmds in
9793 # FIXME: we may have to deal with multi-command sequences.
9796 # Test whether the compiler implicitly links with -lc since on some
9797 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9798 # to ld, don't add -lc before -lgcc.
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9800 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9801 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9802 $as_echo_n "(cached) " >&6
9805 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9808 (eval $ac_compile) 2>&5
9810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9811 test $ac_status = 0; } 2>conftest.err
; then
9814 libobjs
=conftest.
$ac_objext
9816 wl
=$lt_prog_compiler_wl
9817 pic_flag
=$lt_prog_compiler_pic
9823 lt_save_allow_undefined_flag
=$allow_undefined_flag
9824 allow_undefined_flag
=
9825 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9826 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9829 test $ac_status = 0; }
9831 lt_cv_archive_cmds_need_lc
=no
9833 lt_cv_archive_cmds_need_lc
=yes
9835 allow_undefined_flag
=$lt_save_allow_undefined_flag
9837 cat conftest.err
1>&5
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9843 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9844 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10008 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10010 if test "$GCC" = yes; then
10012 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10013 *) lt_awk_arg
="/^libraries:/" ;;
10015 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10016 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10017 # if the path contains ";" then we assume it to be the separator
10018 # otherwise default to the standard path separator (i.e. ":") - it is
10019 # assumed that no part of a normal pathname contains ";" but that should
10020 # okay in the real world where ";" in dirpaths is itself problematic.
10021 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10023 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10025 # Ok, now we have the path, separated by spaces, we can step through it
10026 # and add multilib dir if necessary.
10027 lt_tmp_lt_search_path_spec
=
10028 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10029 for lt_sys_path
in $lt_search_path_spec; do
10030 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10031 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10033 test -d "$lt_sys_path" && \
10034 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10037 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10038 BEGIN {RS=" "; FS="/|\n";} {
10041 for (lt_i = NF; lt_i > 0; lt_i--) {
10042 if ($lt_i != "" && $lt_i != ".") {
10043 if ($lt_i == "..") {
10046 if (lt_count == 0) {
10047 lt_foo="/" $lt_i lt_foo;
10054 if (lt_foo != "") { lt_freq[lt_foo]++; }
10055 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10057 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10059 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10061 library_names_spec
=
10062 libname_spec
='lib$name'
10066 postuninstall_cmds
=
10070 shlibpath_overrides_runpath
=unknown
10072 dynamic_linker
="$host_os ld.so"
10073 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10074 need_lib_prefix
=unknown
10075 hardcode_into_libs
=no
10077 # when you set need_version to no, make sure it does not cause -set_version
10078 # flags to be left without arguments
10079 need_version
=unknown
10084 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10085 shlibpath_var
=LIBPATH
10087 # AIX 3 has no versioning support, so we append a major version to the name.
10088 soname_spec
='${libname}${release}${shared_ext}$major'
10095 hardcode_into_libs
=yes
10096 if test "$host_cpu" = ia64
; then
10097 # AIX 5 supports IA64
10098 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10099 shlibpath_var
=LD_LIBRARY_PATH
10101 # With GCC up to 2.95.x, collect2 would create an import file
10102 # for dependence libraries. The import file would start with
10103 # the line `#! .'. This would cause the generated library to
10104 # depend on `.', always an invalid library. This was fixed in
10105 # development snapshots of GCC prior to 3.0.
10107 aix4 | aix4.
[01] | aix4.
[01].
*)
10108 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10110 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10113 can_build_shared
=no
10117 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10118 # soname into executable. Probably we can add versioning support to
10119 # collect2, so additional links can be useful in future.
10120 if test "$aix_use_runtimelinking" = yes; then
10121 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10122 # instead of lib<name>.a to let people know that these are not
10123 # typical AIX shared libraries.
10124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10126 # We preserve .a as extension for shared libraries through AIX4.2
10127 # and later when we are not doing run time linking.
10128 library_names_spec
='${libname}${release}.a $libname.a'
10129 soname_spec
='${libname}${release}${shared_ext}$major'
10131 shlibpath_var
=LIBPATH
10138 # Since July 2007 AmigaOS4 officially supports .so libraries.
10139 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10143 library_names_spec
='$libname.ixlibrary $libname.a'
10144 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10145 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'
10151 library_names_spec
='${libname}${shared_ext}'
10152 dynamic_linker
="$host_os ld.so"
10153 shlibpath_var
=LIBRARY_PATH
10159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10160 soname_spec
='${libname}${release}${shared_ext}$major'
10161 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10162 shlibpath_var
=LD_LIBRARY_PATH
10163 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10164 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10165 # the default ld.so.conf also contains /usr/contrib/lib and
10166 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10167 # libtool to hard-code these into programs
10170 cygwin
* | mingw
* | pw32
* | cegcc
*)
10171 version_type
=windows
10176 case $GCC,$host_os in
10177 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10178 library_names_spec
='$libname.dll.a'
10179 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10180 postinstall_cmds
='base_file=`basename \${file}`~
10181 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10182 dldir=$destdir/`dirname \$dlpath`~
10183 test -d \$dldir || mkdir -p \$dldir~
10184 $install_prog $dir/$dlname \$dldir/$dlname~
10185 chmod a+x \$dldir/$dlname~
10186 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10187 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10189 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10190 dlpath=$dir/\$dldll~
10192 shlibpath_overrides_runpath
=yes
10196 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10197 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10198 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10201 # MinGW DLLs use traditional 'lib' prefix
10202 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10203 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10204 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10205 # It is most probably a Windows format PATH printed by
10206 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10207 # path with ; separators, and with drive letters. We can handle the
10208 # drive letters (cygwin fileutils understands them), so leave them,
10209 # especially as we might pass files found there to a mingw objdump,
10210 # which wouldn't understand a cygwinified path. Ahh.
10211 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10213 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10217 # pw32 DLLs use 'pw' prefix rather than 'lib'
10218 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10224 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10227 dynamic_linker
='Win32 ld.exe'
10228 # FIXME: first we should search . and the directory the executable is in
10232 darwin
* | rhapsody
*)
10233 dynamic_linker
="$host_os dyld"
10234 version_type
=darwin
10237 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10238 soname_spec
='${libname}${release}${major}$shared_ext'
10239 shlibpath_overrides_runpath
=yes
10240 shlibpath_var
=DYLD_LIBRARY_PATH
10241 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10243 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10244 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10252 soname_spec
='${libname}${release}${shared_ext}$major'
10253 shlibpath_var
=LD_LIBRARY_PATH
10260 freebsd
* | dragonfly
*)
10261 # DragonFly does not have aout. When/if they implement a new
10262 # versioning mechanism, adjust this.
10263 if test -x /usr
/bin
/objformat
; then
10264 objformat
=`/usr/bin/objformat`
10267 freebsd
[123]*) objformat
=aout
;;
10268 *) objformat
=elf
;;
10271 version_type
=freebsd-
$objformat
10272 case $version_type in
10274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10279 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10283 shlibpath_var
=LD_LIBRARY_PATH
10286 shlibpath_overrides_runpath
=yes
10288 freebsd3.
[01]* | freebsdelf3.
[01]*)
10289 shlibpath_overrides_runpath
=yes
10290 hardcode_into_libs
=yes
10292 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10293 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10294 shlibpath_overrides_runpath
=no
10295 hardcode_into_libs
=yes
10297 *) # from 4.6 on, and DragonFly
10298 shlibpath_overrides_runpath
=yes
10299 hardcode_into_libs
=yes
10308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10309 soname_spec
='${libname}${release}${shared_ext}$major'
10310 shlibpath_var
=LD_LIBRARY_PATH
10311 hardcode_into_libs
=yes
10314 hpux9
* | hpux10
* | hpux11
*)
10315 # Give a soname corresponding to the major version so that dld.sl refuses to
10316 # link against other versions.
10323 hardcode_into_libs
=yes
10324 dynamic_linker
="$host_os dld.so"
10325 shlibpath_var
=LD_LIBRARY_PATH
10326 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10328 soname_spec
='${libname}${release}${shared_ext}$major'
10329 if test "X$HPUX_IA64_MODE" = X32
; then
10330 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10332 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10334 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10338 hardcode_into_libs
=yes
10339 dynamic_linker
="$host_os dld.sl"
10340 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10341 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343 soname_spec
='${libname}${release}${shared_ext}$major'
10344 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10345 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10349 dynamic_linker
="$host_os dld.sl"
10350 shlibpath_var
=SHLIB_PATH
10351 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10353 soname_spec
='${libname}${release}${shared_ext}$major'
10356 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10357 postinstall_cmds
='chmod 555 $lib'
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 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10367 shlibpath_var
=LD_LIBRARY_PATH
10368 shlibpath_overrides_runpath
=no
10369 hardcode_into_libs
=yes
10372 irix5
* | irix6
* | nonstopux
*)
10374 nonstopux
*) version_type
=nonstopux
;;
10376 if test "$lt_cv_prog_gnu_ld" = yes; then
10384 soname_spec
='${libname}${release}${shared_ext}$major'
10385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10387 irix5
* | nonstopux
*)
10388 libsuff
= shlibsuff
=
10391 case $LD in # libtool.m4 will add one of these switches to LD
10392 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10393 libsuff
= shlibsuff
= libmagic
=32-bit;;
10394 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10395 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10396 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10397 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10398 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10402 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10403 shlibpath_overrides_runpath
=no
10404 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10405 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10406 hardcode_into_libs
=yes
10409 # No shared lib support for Linux oldld, aout, or coff.
10410 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10414 # This must be Linux ELF.
10415 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10420 soname_spec
='${libname}${release}${shared_ext}$major'
10421 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10422 shlibpath_var
=LD_LIBRARY_PATH
10423 shlibpath_overrides_runpath
=no
10425 # Some binutils ld are patched to set DT_RUNPATH
10426 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10427 $as_echo_n "(cached) " >&6
10429 lt_cv_shlibpath_overrides_runpath
=no
10430 save_LDFLAGS
=$LDFLAGS
10431 save_libdir
=$libdir
10432 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10433 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10445 if ac_fn_c_try_link
"$LINENO"; then :
10446 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10447 lt_cv_shlibpath_overrides_runpath
=yes
10450 rm -f core conftest.err conftest.
$ac_objext \
10451 conftest
$ac_exeext conftest.
$ac_ext
10452 LDFLAGS
=$save_LDFLAGS
10453 libdir
=$save_libdir
10457 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10459 # This implies no fast_install, which is unacceptable.
10460 # Some rework will be needed to allow for fast_install
10461 # before this can be enabled.
10462 hardcode_into_libs
=yes
10464 # Append ld.so.conf contents to the search path
10465 if test -f /etc
/ld.so.conf
; then
10466 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' ' '`
10467 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10470 # We used to test for /lib/ld.so.1 and disable shared libraries on
10471 # powerpc, because MkLinux only supported shared libraries with the
10472 # GNU dynamic linker. Since this was broken with cross compilers,
10473 # most powerpc-linux boxes support dynamic linking these days and
10474 # people can always --disable-shared, the test was removed, and we
10475 # assume the GNU/Linux dynamic linker is in use.
10476 dynamic_linker
='GNU/Linux ld.so'
10483 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10485 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10486 dynamic_linker
='NetBSD (a.out) ld.so'
10488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10489 soname_spec
='${libname}${release}${shared_ext}$major'
10490 dynamic_linker
='NetBSD ld.elf_so'
10492 shlibpath_var
=LD_LIBRARY_PATH
10493 shlibpath_overrides_runpath
=yes
10494 hardcode_into_libs
=yes
10499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10500 shlibpath_var
=LD_LIBRARY_PATH
10501 shlibpath_overrides_runpath
=yes
10508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509 soname_spec
='${libname}${release}${shared_ext}$major'
10510 shlibpath_var
=LD_LIBRARY_PATH
10511 shlibpath_overrides_runpath
=no
10512 hardcode_into_libs
=yes
10513 dynamic_linker
='ldqnx.so'
10518 sys_lib_dlsearch_path_spec
="/usr/lib"
10520 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10522 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10523 *) need_version
=no
;;
10525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10526 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10527 shlibpath_var
=LD_LIBRARY_PATH
10528 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10530 openbsd2.
[89] | openbsd2.
[89].
*)
10531 shlibpath_overrides_runpath
=no
10534 shlibpath_overrides_runpath
=yes
10538 shlibpath_overrides_runpath
=yes
10543 libname_spec
='$name'
10546 library_names_spec
='$libname${shared_ext} $libname.a'
10547 dynamic_linker
='OS/2 ld.exe'
10548 shlibpath_var
=LIBPATH
10551 osf3
* | osf4
* | osf5
*)
10555 soname_spec
='${libname}${release}${shared_ext}$major'
10556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10557 shlibpath_var
=LD_LIBRARY_PATH
10558 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10559 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10571 soname_spec
='${libname}${release}${shared_ext}$major'
10572 shlibpath_var
=LD_LIBRARY_PATH
10573 shlibpath_overrides_runpath
=yes
10574 hardcode_into_libs
=yes
10575 # ldd complains unless libraries are executable
10576 postinstall_cmds
='chmod +x $lib'
10581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10582 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10583 shlibpath_var
=LD_LIBRARY_PATH
10584 shlibpath_overrides_runpath
=yes
10585 if test "$with_gnu_ld" = yes; then
10593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10594 soname_spec
='${libname}${release}${shared_ext}$major'
10595 shlibpath_var
=LD_LIBRARY_PATH
10596 case $host_vendor in
10598 shlibpath_overrides_runpath
=no
10600 runpath_var
=LD_RUN_PATH
10608 shlibpath_overrides_runpath
=no
10609 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10615 if test -d /usr
/nec
;then
10617 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10618 soname_spec
='$libname${shared_ext}.$major'
10619 shlibpath_var
=LD_LIBRARY_PATH
10623 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10624 version_type
=freebsd-elf
10627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10628 soname_spec
='${libname}${release}${shared_ext}$major'
10629 shlibpath_var
=LD_LIBRARY_PATH
10630 shlibpath_overrides_runpath
=yes
10631 hardcode_into_libs
=yes
10632 if test "$with_gnu_ld" = yes; then
10633 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10635 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10638 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10642 sys_lib_dlsearch_path_spec
='/usr/lib'
10646 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10651 shlibpath_var
=LD_LIBRARY_PATH
10652 shlibpath_overrides_runpath
=no
10653 hardcode_into_libs
=yes
10658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10659 soname_spec
='${libname}${release}${shared_ext}$major'
10660 shlibpath_var
=LD_LIBRARY_PATH
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10668 $as_echo "$dynamic_linker" >&6; }
10669 test "$dynamic_linker" = no
&& can_build_shared
=no
10671 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10672 if test "$GCC" = yes; then
10673 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10676 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10677 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10679 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10680 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10770 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10772 if test -n "$hardcode_libdir_flag_spec" ||
10773 test -n "$runpath_var" ||
10774 test "X$hardcode_automatic" = "Xyes" ; then
10776 # We can hardcode non-existent directories.
10777 if test "$hardcode_direct" != no
&&
10778 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10779 # have to relink, otherwise we might link with an installed library
10780 # when we should be linking with a yet-to-be-installed one
10781 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10782 test "$hardcode_minus_L" != no
; then
10783 # Linking always hardcodes the temporary library directory.
10784 hardcode_action
=relink
10786 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10787 hardcode_action
=immediate
10790 # We cannot hardcode anything, or else we can only hardcode existing
10792 hardcode_action
=unsupported
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10795 $as_echo "$hardcode_action" >&6; }
10797 if test "$hardcode_action" = relink ||
10798 test "$inherit_rpath" = yes; then
10799 # Fast installation is not supported
10800 enable_fast_install
=no
10801 elif test "$shlibpath_overrides_runpath" = yes ||
10802 test "$enable_shared" = no
; then
10803 # Fast installation is not necessary
10804 enable_fast_install
=needless
10812 if test "x$enable_dlopen" != xyes
; then
10813 enable_dlopen
=unknown
10814 enable_dlopen_self
=unknown
10815 enable_dlopen_self_static
=unknown
10822 lt_cv_dlopen
="load_add_on"
10824 lt_cv_dlopen_self
=yes
10827 mingw
* | pw32
* | cegcc
*)
10828 lt_cv_dlopen
="LoadLibrary"
10833 lt_cv_dlopen
="dlopen"
10838 # if libdl is installed we need to link against it
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10840 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10841 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10842 $as_echo_n "(cached) " >&6
10844 ac_check_lib_save_LIBS
=$LIBS
10846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10849 /* Override any GCC internal prototype to avoid an error.
10850 Use char because int might match the return type of a GCC
10851 builtin and then its argument prototype would still apply. */
10864 if ac_fn_c_try_link
"$LINENO"; then :
10865 ac_cv_lib_dl_dlopen
=yes
10867 ac_cv_lib_dl_dlopen
=no
10869 rm -f core conftest.err conftest.
$ac_objext \
10870 conftest
$ac_exeext conftest.
$ac_ext
10871 LIBS
=$ac_check_lib_save_LIBS
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10874 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10875 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10876 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10879 lt_cv_dlopen
="dyld"
10881 lt_cv_dlopen_self
=yes
10888 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10889 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10890 lt_cv_dlopen
="shl_load"
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10893 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10894 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10895 $as_echo_n "(cached) " >&6
10897 ac_check_lib_save_LIBS
=$LIBS
10899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10900 /* end confdefs.h. */
10902 /* Override any GCC internal prototype to avoid an error.
10903 Use char because int might match the return type of a GCC
10904 builtin and then its argument prototype would still apply. */
10912 return shl_load ();
10917 if ac_fn_c_try_link
"$LINENO"; then :
10918 ac_cv_lib_dld_shl_load
=yes
10920 ac_cv_lib_dld_shl_load
=no
10922 rm -f core conftest.err conftest.
$ac_objext \
10923 conftest
$ac_exeext conftest.
$ac_ext
10924 LIBS
=$ac_check_lib_save_LIBS
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10927 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10928 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10929 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10931 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10932 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10933 lt_cv_dlopen
="dlopen"
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10936 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10937 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10938 $as_echo_n "(cached) " >&6
10940 ac_check_lib_save_LIBS
=$LIBS
10942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10945 /* Override any GCC internal prototype to avoid an error.
10946 Use char because int might match the return type of a GCC
10947 builtin and then its argument prototype would still apply. */
10960 if ac_fn_c_try_link
"$LINENO"; then :
10961 ac_cv_lib_dl_dlopen
=yes
10963 ac_cv_lib_dl_dlopen
=no
10965 rm -f core conftest.err conftest.
$ac_objext \
10966 conftest
$ac_exeext conftest.
$ac_ext
10967 LIBS
=$ac_check_lib_save_LIBS
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10970 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10971 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10972 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10975 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10976 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10977 $as_echo_n "(cached) " >&6
10979 ac_check_lib_save_LIBS
=$LIBS
10980 LIBS
="-lsvld $LIBS"
10981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10984 /* Override any GCC internal prototype to avoid an error.
10985 Use char because int might match the return type of a GCC
10986 builtin and then its argument prototype would still apply. */
10999 if ac_fn_c_try_link
"$LINENO"; then :
11000 ac_cv_lib_svld_dlopen
=yes
11002 ac_cv_lib_svld_dlopen
=no
11004 rm -f core conftest.err conftest.
$ac_objext \
11005 conftest
$ac_exeext conftest.
$ac_ext
11006 LIBS
=$ac_check_lib_save_LIBS
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11009 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11010 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11011 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11014 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11015 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11016 $as_echo_n "(cached) " >&6
11018 ac_check_lib_save_LIBS
=$LIBS
11020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11033 return dld_link ();
11038 if ac_fn_c_try_link
"$LINENO"; then :
11039 ac_cv_lib_dld_dld_link
=yes
11041 ac_cv_lib_dld_dld_link
=no
11043 rm -f core conftest.err conftest.
$ac_objext \
11044 conftest
$ac_exeext conftest.
$ac_ext
11045 LIBS
=$ac_check_lib_save_LIBS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11048 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11049 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11050 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11071 if test "x$lt_cv_dlopen" != xno
; then
11077 case $lt_cv_dlopen in
11079 save_CPPFLAGS
="$CPPFLAGS"
11080 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11082 save_LDFLAGS
="$LDFLAGS"
11083 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11086 LIBS
="$lt_cv_dlopen_libs $LIBS"
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11089 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11090 if test "${lt_cv_dlopen_self+set}" = set; then :
11091 $as_echo_n "(cached) " >&6
11093 if test "$cross_compiling" = yes; then :
11094 lt_cv_dlopen_self
=cross
11096 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11097 lt_status
=$lt_dlunknown
11098 cat > conftest.
$ac_ext <<_LT_EOF
11099 #line 11099 "configure"
11100 #include "confdefs.h"
11109 # define LT_DLGLOBAL RTLD_GLOBAL
11112 # define LT_DLGLOBAL DL_GLOBAL
11114 # define LT_DLGLOBAL 0
11118 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11119 find out it does not work in some platform. */
11120 #ifndef LT_DLLAZY_OR_NOW
11122 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11125 # define LT_DLLAZY_OR_NOW DL_LAZY
11128 # define LT_DLLAZY_OR_NOW RTLD_NOW
11131 # define LT_DLLAZY_OR_NOW DL_NOW
11133 # define LT_DLLAZY_OR_NOW 0
11140 void fnord() { int i=42;}
11143 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11144 int status = $lt_dlunknown;
11148 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11149 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11150 /* dlclose (self); */
11158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11159 (eval $ac_link) 2>&5
11161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11162 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11163 (.
/conftest
; exit; ) >&5 2>/dev
/null
11165 case x
$lt_status in
11166 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11167 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11168 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11171 # compilation failed
11172 lt_cv_dlopen_self
=no
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11180 $as_echo "$lt_cv_dlopen_self" >&6; }
11182 if test "x$lt_cv_dlopen_self" = xyes
; then
11183 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11185 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11186 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11187 $as_echo_n "(cached) " >&6
11189 if test "$cross_compiling" = yes; then :
11190 lt_cv_dlopen_self_static
=cross
11192 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11193 lt_status
=$lt_dlunknown
11194 cat > conftest.
$ac_ext <<_LT_EOF
11195 #line 11195 "configure"
11196 #include "confdefs.h"
11205 # define LT_DLGLOBAL RTLD_GLOBAL
11208 # define LT_DLGLOBAL DL_GLOBAL
11210 # define LT_DLGLOBAL 0
11214 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11215 find out it does not work in some platform. */
11216 #ifndef LT_DLLAZY_OR_NOW
11218 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11221 # define LT_DLLAZY_OR_NOW DL_LAZY
11224 # define LT_DLLAZY_OR_NOW RTLD_NOW
11227 # define LT_DLLAZY_OR_NOW DL_NOW
11229 # define LT_DLLAZY_OR_NOW 0
11236 void fnord() { int i=42;}
11239 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11240 int status = $lt_dlunknown;
11244 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11245 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11246 /* dlclose (self); */
11254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11255 (eval $ac_link) 2>&5
11257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11258 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11259 (.
/conftest
; exit; ) >&5 2>/dev
/null
11261 case x
$lt_status in
11262 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11263 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11264 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11267 # compilation failed
11268 lt_cv_dlopen_self_static
=no
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11276 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11279 CPPFLAGS
="$save_CPPFLAGS"
11280 LDFLAGS
="$save_LDFLAGS"
11285 case $lt_cv_dlopen_self in
11286 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11287 *) enable_dlopen_self
=unknown
;;
11290 case $lt_cv_dlopen_self_static in
11291 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11292 *) enable_dlopen_self_static
=unknown
;;
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11315 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11316 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11317 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11318 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11320 $as_echo "yes" >&6; }
11322 # FIXME - insert some real tests, host_os isn't really good enough
11325 if test -n "$STRIP" ; then
11326 striplib
="$STRIP -x"
11327 old_striplib
="$STRIP -S"
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11329 $as_echo "yes" >&6; }
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11332 $as_echo "no" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337 $as_echo "no" >&6; }
11353 # Report which library types will actually be built
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11355 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11357 $as_echo "$can_build_shared" >&6; }
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11360 $as_echo_n "checking whether to build shared libraries... " >&6; }
11361 test "$can_build_shared" = "no" && enable_shared
=no
11363 # On AIX, shared libraries and static libraries use the same namespace, and
11364 # are all built from PIC.
11367 test "$enable_shared" = yes && enable_static
=no
11368 if test -n "$RANLIB"; then
11369 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11370 postinstall_cmds
='$RANLIB $lib'
11375 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11376 test "$enable_shared" = yes && enable_static
=no
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11381 $as_echo "$enable_shared" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11384 $as_echo_n "checking whether to build static libraries... " >&6; }
11385 # Make sure either enable_shared or enable_static is yes.
11386 test "$enable_shared" = yes || enable_static
=yes
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11388 $as_echo "$enable_static" >&6; }
11395 ac_cpp
='$CPP $CPPFLAGS'
11396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11414 ac_config_commands
="$ac_config_commands libtool"
11419 # Only expand once:
11423 # Check whether --enable-targets was given.
11424 if test "${enable_targets+set}" = set; then :
11425 enableval
=$enable_targets; case "${enableval}" in
11426 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11428 no
) enable_targets
= ;;
11429 *) enable_targets
=$enableval ;;
11434 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11436 # Check whether --enable-werror was given.
11437 if test "${enable_werror+set}" = set; then :
11438 enableval
=$enable_werror; case "${enableval}" in
11439 yes | y
) ERROR_ON_WARNING
="yes" ;;
11440 no | n
) ERROR_ON_WARNING
="no" ;;
11441 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11446 # Enable -Wno-format by default when using gcc on mingw
11449 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11450 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11456 # Enable -Werror by default when using gcc
11457 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11458 ERROR_ON_WARNING
=yes
11462 if test "${ERROR_ON_WARNING}" = yes ; then
11463 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11464 NO_WERROR
="-Wno-error"
11467 if test "${GCC}" = yes ; then
11468 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11471 # Check whether --enable-build-warnings was given.
11472 if test "${enable_build_warnings+set}" = set; then :
11473 enableval
=$enable_build_warnings; case "${enableval}" in
11474 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
11475 no
) if test "${GCC}" = yes ; then
11478 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11479 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
11480 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11481 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
11482 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11487 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11488 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11495 ac_config_headers
="$ac_config_headers config.h:config.in"
11498 if test -z "$target" ; then
11499 as_fn_error
"Unrecognized target system type; please check config.sub." "$LINENO" 5
11501 if test -z "$host" ; then
11502 as_fn_error
"Unrecognized host system type; please check config.sub." "$LINENO" 5
11505 for ac_prog
in 'bison -y' byacc
11507 # Extract the first word of "$ac_prog", so it can be a program name with args.
11508 set dummy
$ac_prog; ac_word
=$2
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11510 $as_echo_n "checking for $ac_word... " >&6; }
11511 if test "${ac_cv_prog_YACC+set}" = set; then :
11512 $as_echo_n "(cached) " >&6
11514 if test -n "$YACC"; then
11515 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11518 for as_dir
in $PATH
11521 test -z "$as_dir" && as_dir
=.
11522 for ac_exec_ext
in '' $ac_executable_extensions; do
11523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11524 ac_cv_prog_YACC
="$ac_prog"
11525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11534 YACC
=$ac_cv_prog_YACC
11535 if test -n "$YACC"; then
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
11537 $as_echo "$YACC" >&6; }
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11540 $as_echo "no" >&6; }
11544 test -n "$YACC" && break
11546 test -n "$YACC" || YACC
="yacc"
11548 for ac_prog
in flex
lex
11550 # Extract the first word of "$ac_prog", so it can be a program name with args.
11551 set dummy
$ac_prog; ac_word
=$2
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11553 $as_echo_n "checking for $ac_word... " >&6; }
11554 if test "${ac_cv_prog_LEX+set}" = set; then :
11555 $as_echo_n "(cached) " >&6
11557 if test -n "$LEX"; then
11558 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11561 for as_dir
in $PATH
11564 test -z "$as_dir" && as_dir
=.
11565 for ac_exec_ext
in '' $ac_executable_extensions; do
11566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11567 ac_cv_prog_LEX
="$ac_prog"
11568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11577 LEX
=$ac_cv_prog_LEX
11578 if test -n "$LEX"; then
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
11580 $as_echo "$LEX" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11583 $as_echo "no" >&6; }
11587 test -n "$LEX" && break
11589 test -n "$LEX" || LEX
=":"
11591 if test "x$LEX" != "x:"; then
11592 cat >conftest.l
<<_ACEOF
11598 e { yyless (input () != 0); }
11599 f { unput (yytext[0]); }
11600 . { BEGIN INITIAL; }
11602 #ifdef YYTEXT_POINTER
11603 extern char *yytext;
11608 return ! yylex () + ! yywrap ();
11611 { { ac_try
="$LEX conftest.l"
11612 case "(($ac_try" in
11613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11614 *) ac_try_echo=$ac_try;;
11616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11617 $as_echo "$ac_try_echo"; } >&5
11618 (eval "$LEX conftest.l") 2>&5
11620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11621 test $ac_status = 0; }
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
11623 $as_echo_n "checking lex output file root... " >&6; }
11624 if test "${ac_cv_prog_lex_root+set}" = set; then :
11625 $as_echo_n "(cached) " >&6
11628 if test -f lex.yy.c; then
11629 ac_cv_prog_lex_root=lex.yy
11630 elif test -f lexyy.c; then
11631 ac_cv_prog_lex_root=lexyy
11633 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
11637 $as_echo "$ac_cv_prog_lex_root" >&6; }
11638 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11640 if test -z "${LEXLIB+set}"; then
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
11642 $as_echo_n "checking lex library... " >&6; }
11643 if test "${ac_cv_lib_lex+set}" = set; then :
11644 $as_echo_n "(cached) " >&6
11648 ac_cv_lib_lex='none needed'
11649 for ac_lib in '' -lfl -ll; do
11650 LIBS="$ac_lib $ac_save_LIBS"
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11653 `cat $LEX_OUTPUT_ROOT.c
`
11655 if ac_fn_c_try_link "$LINENO"; then :
11656 ac_cv_lib_lex=$ac_lib
11658 rm -f core conftest.err conftest.$ac_objext \
11659 conftest$ac_exeext conftest.$ac_ext
11660 test "$ac_cv_lib_lex" != 'none needed' && break
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
11666 $as_echo "$ac_cv_lib_lex" >&6; }
11667 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
11672 $as_echo_n "checking whether yytext is a pointer... " >&6; }
11673 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
11674 $as_echo_n "(cached) " >&6
11676 # POSIX says lex can declare yytext either as a pointer or an array; the
11677 # default is implementation-dependent. Figure out which it is, since
11678 # not all implementations provide the %pointer and %array declarations.
11679 ac_cv_prog_lex_yytext_pointer=no
11681 LIBS="$LEXLIB $ac_save_LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11684 #define YYTEXT_POINTER 1
11685 `cat $LEX_OUTPUT_ROOT.c
`
11687 if ac_fn_c_try_link "$LINENO"; then :
11688 ac_cv_prog_lex_yytext_pointer=yes
11690 rm -f core conftest.err conftest.$ac_objext \
11691 conftest$ac_exeext conftest.$ac_ext
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
11696 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
11697 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11699 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
11702 rm -f conftest.l $LEX_OUTPUT_ROOT.c
11705 if test "$LEX" = :; then
11706 LEX=${am_missing_run}flex
11709 ALL_LINGUAS="da es fi fr id ja ro ru rw sk sv tr uk vi zh_CN zh_TW"
11710 # If we haven't got the data from the intl directory,
11711 # assume NLS is disabled.
11720 if test -f ../intl/config.intl; then
11721 . ../intl/config.intl
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11724 $as_echo_n "checking whether NLS is requested... " >&6; }
11725 if test x"$USE_NLS" != xyes; then
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11727 $as_echo "no" >&6; }
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11730 $as_echo "yes" >&6; }
11732 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11736 $as_echo_n "checking for catalogs to be installed... " >&6; }
11737 # Look for .po and .gmo files in the source directory.
11740 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
11741 # If there aren't any .gmo files the shell will give us the
11742 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11744 case "$cat" in *\**)
11747 # The quadruple backslash is collapsed to a double backslash
11748 # by the backticks, then collapsed again by the double quotes,
11749 # leaving us with one backslash in the sed expression (right
11750 # before the dot that mustn't act as a wildcard).
11751 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11752 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
11753 # The user is allowed to set LINGUAS to a list of languages to
11754 # install catalogs for. If it's empty that means "all of them."
11755 if test "x$LINGUAS" = x; then
11756 CATALOGS="$CATALOGS $cat"
11757 XLINGUAS="$XLINGUAS $lang"
11759 case "$LINGUAS" in *$lang*)
11760 CATALOGS="$CATALOGS $cat"
11761 XLINGUAS="$XLINGUAS $lang"
11766 LINGUAS="$XLINGUAS"
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11768 $as_echo "$LINGUAS" >&6; }
11782 if test -n "$ac_aux_dir"; then
11783 case "$ac_aux_dir" in
11784 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
11785 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11788 if test -z "$MKINSTALLDIRS"; then
11789 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11795 $as_echo_n "checking whether NLS is requested... " >&6; }
11796 # Check whether --enable-nls was given.
11797 if test "${enable_nls+set}" = set; then :
11798 enableval=$enable_nls; USE_NLS=$enableval
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11804 $as_echo "$USE_NLS" >&6; }
11811 # Prepare PATH_SEPARATOR.
11812 # The user is always right.
11813 if test "${PATH_SEPARATOR+set}" != set; then
11814 echo "#! /bin/sh" >conf$$.sh
11815 echo "exit 0" >>conf$$.sh
11817 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11825 # Find out how to test for executable files. Don't use a zero-byte file,
11826 # as systems may use methods other than mode bits to determine executability.
11827 cat >conf$$.file <<_ASEOF
11831 chmod +x conf$$.file
11832 if test -x conf$$.file >/dev/null 2>&1; then
11833 ac_executable_p="test -x"
11835 ac_executable_p="test -f"
11839 # Extract the first word of "msgfmt", so it can be a program name with args.
11840 set dummy msgfmt; ac_word=$2
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11842 $as_echo_n "checking for $ac_word... " >&6; }
11843 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11844 $as_echo_n "(cached) " >&6
11848 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11851 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11852 for ac_dir in $PATH; do
11854 test -z "$ac_dir" && ac_dir=.
11855 for ac_exec_ext in '' $ac_executable_extensions; do
11856 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11857 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
11858 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11859 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11866 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11870 MSGFMT="$ac_cv_path_MSGFMT"
11871 if test "$MSGFMT" != ":"; then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11873 $as_echo "$MSGFMT" >&6; }
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11876 $as_echo "no" >&6; }
11879 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11880 set dummy gmsgfmt; ac_word=$2
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11882 $as_echo_n "checking for $ac_word... " >&6; }
11883 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11884 $as_echo_n "(cached) " >&6
11888 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11892 for as_dir in $PATH
11895 test -z "$as_dir" && as_dir=.
11896 for ac_exec_ext in '' $ac_executable_extensions; do
11897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11898 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11906 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11910 GMSGFMT=$ac_cv_path_GMSGFMT
11911 if test -n "$GMSGFMT"; then
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11913 $as_echo "$GMSGFMT" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11916 $as_echo "no" >&6; }
11922 # Prepare PATH_SEPARATOR.
11923 # The user is always right.
11924 if test "${PATH_SEPARATOR+set}" != set; then
11925 echo "#! /bin/sh" >conf$$.sh
11926 echo "exit 0" >>conf$$.sh
11928 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11936 # Find out how to test for executable files. Don't use a zero-byte file,
11937 # as systems may use methods other than mode bits to determine executability.
11938 cat >conf$$.file <<_ASEOF
11942 chmod +x conf$$.file
11943 if test -x conf$$.file >/dev/null 2>&1; then
11944 ac_executable_p="test -x"
11946 ac_executable_p="test -f"
11950 # Extract the first word of "xgettext", so it can be a program name with args.
11951 set dummy xgettext; ac_word=$2
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11953 $as_echo_n "checking for $ac_word... " >&6; }
11954 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11955 $as_echo_n "(cached) " >&6
11957 case "$XGETTEXT" in
11959 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11962 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11963 for ac_dir in $PATH; do
11965 test -z "$ac_dir" && ac_dir=.
11966 for ac_exec_ext in '' $ac_executable_extensions; do
11967 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11968 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11969 (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
11970 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11977 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11981 XGETTEXT="$ac_cv_path_XGETTEXT"
11982 if test "$XGETTEXT" != ":"; then
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11984 $as_echo "$XGETTEXT" >&6; }
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11987 $as_echo "no" >&6; }
11993 # Prepare PATH_SEPARATOR.
11994 # The user is always right.
11995 if test "${PATH_SEPARATOR+set}" != set; then
11996 echo "#! /bin/sh" >conf$$.sh
11997 echo "exit 0" >>conf$$.sh
11999 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12007 # Find out how to test for executable files. Don't use a zero-byte file,
12008 # as systems may use methods other than mode bits to determine executability.
12009 cat >conf$$.file <<_ASEOF
12013 chmod +x conf$$.file
12014 if test -x conf$$.file >/dev/null 2>&1; then
12015 ac_executable_p="test -x"
12017 ac_executable_p="test -f"
12021 # Extract the first word of "msgmerge", so it can be a program name with args.
12022 set dummy msgmerge; ac_word=$2
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12024 $as_echo_n "checking for $ac_word... " >&6; }
12025 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12026 $as_echo_n "(cached) " >&6
12028 case "$MSGMERGE" in
12030 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12033 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12034 for ac_dir in $PATH; do
12036 test -z "$ac_dir" && ac_dir=.
12037 for ac_exec_ext in '' $ac_executable_extensions; do
12038 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12039 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
12040 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12047 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12051 MSGMERGE="$ac_cv_path_MSGMERGE"
12052 if test "$MSGMERGE" != ":"; then
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12054 $as_echo "$MSGMERGE" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12057 $as_echo "no" >&6; }
12061 if test "$GMSGFMT" != ":"; then
12062 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
12063 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12066 GMSGFMT=`echo "$GMSGFMT" |
sed -e 's,^.*/,,'`
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12068 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12073 if test "$XGETTEXT" != ":"; then
12074 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
12075 (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
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12079 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12085 ac_config_commands="$ac_config_commands default-1"
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12091 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12092 # Check whether --enable-maintainer-mode was given.
12093 if test "${enable_maintainer_mode+set}" = set; then :
12094 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12096 USE_MAINTAINER_MODE=no
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12100 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12101 if test $USE_MAINTAINER_MODE = yes; then
12102 MAINTAINER_MODE_TRUE=
12103 MAINTAINER_MODE_FALSE='#'
12105 MAINTAINER_MODE_TRUE='#'
12106 MAINTAINER_MODE_FALSE=
12109 MAINT=$MAINTAINER_MODE_TRUE
12113 GENINSRC_NEVER_TRUE=
12114 GENINSRC_NEVER_FALSE='#'
12116 GENINSRC_NEVER_TRUE='#'
12117 GENINSRC_NEVER_FALSE=
12121 if test -n "$EXEEXT"; then
12123 $as_echo "#define HAVE_EXECUTABLE_SUFFIX 1" >>confdefs.h
12127 cat >>confdefs.h <<_ACEOF
12128 #define EXECUTABLE_SUFFIX "${EXEEXT}"
12132 # host-specific stuff:
12136 . ${srcdir}/../bfd/configure.host
12141 if test -n "$ac_tool_prefix"; then
12142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12145 $as_echo_n "checking for $ac_word... " >&6; }
12146 if test "${ac_cv_prog_RANLIB+set}" = set; then :
12147 $as_echo_n "(cached) " >&6
12149 if test -n "$RANLIB"; then
12150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12153 for as_dir in $PATH
12156 test -z "$as_dir" && as_dir=.
12157 for ac_exec_ext in '' $ac_executable_extensions; do
12158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12159 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12169 RANLIB=$ac_cv_prog_RANLIB
12170 if test -n "$RANLIB"; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
12172 $as_echo "$RANLIB" >&6; }
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12175 $as_echo "no" >&6; }
12180 if test -z "$ac_cv_prog_RANLIB"; then
12181 ac_ct_RANLIB=$RANLIB
12182 # Extract the first word of "ranlib", so it can be a program name with args.
12183 set dummy ranlib; ac_word=$2
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12185 $as_echo_n "checking for $ac_word... " >&6; }
12186 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
12187 $as_echo_n "(cached) " >&6
12189 if test -n "$ac_ct_RANLIB"; then
12190 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12193 for as_dir in $PATH
12196 test -z "$as_dir" && as_dir=.
12197 for ac_exec_ext in '' $ac_executable_extensions; do
12198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12199 ac_cv_prog_ac_ct_RANLIB="ranlib"
12200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12209 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12210 if test -n "$ac_ct_RANLIB"; then
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
12212 $as_echo "$ac_ct_RANLIB" >&6; }
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12215 $as_echo "no" >&6; }
12218 if test "x$ac_ct_RANLIB" = x; then
12221 case $cross_compiling:$ac_tool_warned in
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12225 ac_tool_warned=yes ;;
12227 RANLIB=$ac_ct_RANLIB
12230 RANLIB="$ac_cv_prog_RANLIB"
12235 # Put a plausible default for CC_FOR_BUILD in Makefile.
12236 if test -z "$CC_FOR_BUILD"; then
12237 if test "x$cross_compiling" = "xno"; then
12238 CC_FOR_BUILD='$(CC)'
12244 # Also set EXEEXT_FOR_BUILD.
12245 if test "x$cross_compiling" = "xno"; then
12246 EXEEXT_FOR_BUILD='$(EXEEXT)'
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
12249 $as_echo_n "checking for build system executable suffix... " >&6; }
12250 if test "${bfd_cv_build_exeext+set}" = set; then :
12251 $as_echo_n "(cached) " >&6
12254 echo 'int main () { return 0; }' > conftest.c
12255 bfd_cv_build_exeext=
12256 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
12257 for file in conftest.*; do
12259 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
12260 *) bfd_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
12264 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
12267 $as_echo "$bfd_cv_build_exeext" >&6; }
12268 EXEEXT_FOR_BUILD=""
12269 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
12273 DEMANGLER_NAME=c++filt
12275 *-*-go32* | *-*-msdos*)
12276 DEMANGLER_NAME=cxxfilt
12280 for ac_header in string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h limits.h sys/param.h
12282 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12283 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12284 eval as_val=\$$as_ac_Header
12285 if test "x$as_val" = x""yes; then :
12286 cat >>confdefs.h <<_ACEOF
12287 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
12295 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
12296 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
12297 $as_echo_n "(cached) " >&6
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12301 #include <sys/types.h>
12302 #include <sys/wait.h>
12303 #ifndef WEXITSTATUS
12304 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
12307 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12315 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12320 if ac_fn_c_try_compile "$LINENO"; then :
12321 ac_cv_header_sys_wait_h=yes
12323 ac_cv_header_sys_wait_h=no
12325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
12328 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
12329 if test $ac_cv_header_sys_wait_h = yes; then
12331 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
12335 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12336 # for constant arguments. Useless!
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
12338 $as_echo_n "checking for working alloca.h... " >&6; }
12339 if test "${ac_cv_working_alloca_h+set}" = set; then :
12340 $as_echo_n "(cached) " >&6
12342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h. */
12344 #include <alloca.h>
12348 char *p = (char *) alloca (2 * sizeof (int));
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 ac_cv_working_alloca_h=yes
12357 ac_cv_working_alloca_h=no
12359 rm -f core conftest.err conftest.$ac_objext \
12360 conftest$ac_exeext conftest.$ac_ext
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
12363 $as_echo "$ac_cv_working_alloca_h" >&6; }
12364 if test $ac_cv_working_alloca_h = yes; then
12366 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12371 $as_echo_n "checking for alloca... " >&6; }
12372 if test "${ac_cv_func_alloca_works+set}" = set; then :
12373 $as_echo_n "(cached) " >&6
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12378 # define alloca __builtin_alloca
12381 # include <malloc.h>
12382 # define alloca _alloca
12384 # ifdef HAVE_ALLOCA_H
12385 # include <alloca.h>
12390 # ifndef alloca /* predefined by HP cc +Olibcalls */
12401 char *p = (char *) alloca (1);
12407 if ac_fn_c_try_link "$LINENO"; then :
12408 ac_cv_func_alloca_works=yes
12410 ac_cv_func_alloca_works=no
12412 rm -f core conftest.err conftest.$ac_objext \
12413 conftest$ac_exeext conftest.$ac_ext
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
12416 $as_echo "$ac_cv_func_alloca_works" >&6; }
12418 if test $ac_cv_func_alloca_works = yes; then
12420 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
12423 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12424 # that cause trouble. Some versions do not even contain alloca or
12425 # contain a buggy version. If you still want to use their alloca,
12426 # use ar to extract alloca.o from them instead of compiling alloca.c.
12428 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
12430 $as_echo "#define C_ALLOCA 1" >>confdefs.h
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c
' needs Cray hooks" >&5
12434 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
12435 if test "${ac_cv_os_cray+set}" = set; then :
12436 $as_echo_n "(cached
) " >&6
12438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12440 #if defined CRAY && ! defined CRAY2
12447 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
12448 $EGREP "webecray
" >/dev/null 2>&1; then :
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_os_cray" >&5
12457 $as_echo "$ac_cv_os_cray" >&6; }
12458 if test $ac_cv_os_cray = yes; then
12459 for ac_func in _getb67 GETB67 getb67; do
12460 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12462 eval as_val=\$$as_ac_var
12463 if test "x
$as_val" = x""yes; then :
12465 cat >>confdefs.h <<_ACEOF
12466 #define CRAY_STACKSEG_END $ac_func
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction
for C alloca
" >&5
12476 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
12477 if test "${ac_cv_c_stack_direction+set}" = set; then :
12478 $as_echo_n "(cached
) " >&6
12480 if test "$cross_compiling" = yes; then :
12481 ac_cv_c_stack_direction=0
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12485 $ac_includes_default
12487 find_stack_direction ()
12489 static char *addr = 0;
12494 return find_stack_direction ();
12497 return (&dummy > addr) ? 1 : -1;
12503 return find_stack_direction () < 0;
12506 if ac_fn_c_try_run "$LINENO"; then :
12507 ac_cv_c_stack_direction=1
12509 ac_cv_c_stack_direction=-1
12511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12512 conftest.$ac_objext conftest.beam conftest.$ac_ext
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_stack_direction" >&5
12517 $as_echo "$ac_cv_c_stack_direction" >&6; }
12518 cat >>confdefs.h <<_ACEOF
12519 #define STACK_DIRECTION $ac_cv_c_stack_direction
12525 for ac_func in sbrk utimes setmode getc_unlocked strcoll
12527 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12529 eval as_val=\$$as_ac_var
12530 if test "x
$as_val" = x""yes; then :
12531 cat >>confdefs.h <<_ACEOF
12532 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12538 ac_fn_c_check_func "$LINENO" "mkstemp
" "ac_cv_func_mkstemp
"
12539 if test "x
$ac_cv_func_mkstemp" = x""yes; then :
12541 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
12545 ac_fn_c_check_func
"$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
12546 if test "x$ac_cv_func_mkdtemp" = x
""yes; then :
12548 $as_echo "#define HAVE_MKDTEMP 1" >>confdefs.h
12553 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
12554 # needs to be defined for it
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fopen64" >&5
12556 $as_echo_n "checking for fopen64... " >&6; }
12557 if test "${bu_cv_have_fopen64+set}" = set; then :
12558 $as_echo_n "(cached) " >&6
12560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12566 FILE *f = fopen64 ("/tmp/foo","r");
12571 if ac_fn_c_try_link
"$LINENO"; then :
12572 bu_cv_have_fopen64
=yes
12574 saved_CPPFLAGS
=$CPPFLAGS
12575 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h. */
12582 FILE *f = fopen64 ("/tmp/foo","r");
12587 if ac_fn_c_try_link
"$LINENO"; then :
12588 bu_cv_have_fopen64
="need -D_LARGEFILE64_SOURCE"
12590 bu_cv_have_fopen64
=no
12592 rm -f core conftest.err conftest.
$ac_objext \
12593 conftest
$ac_exeext conftest.
$ac_ext
12594 CPPFLAGS
=$saved_CPPFLAGS
12596 rm -f core conftest.err conftest.
$ac_objext \
12597 conftest
$ac_exeext conftest.
$ac_ext
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_have_fopen64" >&5
12601 $as_echo "$bu_cv_have_fopen64" >&6; }
12602 if test "$bu_cv_have_fopen64" != no
; then
12604 $as_echo "#define HAVE_FOPEN64 1" >>confdefs.h
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat64" >&5
12608 $as_echo_n "checking for stat64... " >&6; }
12609 if test "${bu_cv_have_stat64+set}" = set; then :
12610 $as_echo_n "(cached) " >&6
12612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12614 #include <sys/stat.h>
12618 struct stat64 st; stat64 ("/tmp/foo", &st);
12623 if ac_fn_c_try_link
"$LINENO"; then :
12624 bu_cv_have_stat64
=yes
12626 saved_CPPFLAGS
=$CPPFLAGS
12627 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12630 #include <sys/stat.h>
12634 struct stat64 st; stat64 ("/tmp/foo", &st);
12639 if ac_fn_c_try_link
"$LINENO"; then :
12640 bu_cv_have_stat64
="need -D_LARGEFILE64_SOURCE"
12642 bu_cv_have_stat64
=no
12644 rm -f core conftest.err conftest.
$ac_objext \
12645 conftest
$ac_exeext conftest.
$ac_ext
12646 CPPFLAGS
=$saved_CPPFLAGS
12648 rm -f core conftest.err conftest.
$ac_objext \
12649 conftest
$ac_exeext conftest.
$ac_ext
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_have_stat64" >&5
12653 $as_echo "$bu_cv_have_stat64" >&6; }
12654 if test "$bu_cv_have_stat64" != no
; then
12656 $as_echo "#define HAVE_STAT64 1" >>confdefs.h
12659 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
12660 ||
test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
12662 $as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h
12664 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12667 # Some systems have frexp only in -lm, not in -lc.
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing frexp" >&5
12669 $as_echo_n "checking for library containing frexp... " >&6; }
12670 if test "${ac_cv_search_frexp+set}" = set; then :
12671 $as_echo_n "(cached) " >&6
12673 ac_func_search_save_LIBS
=$LIBS
12674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 /* Override any GCC internal prototype to avoid an error.
12678 Use char because int might match the return type of a GCC
12679 builtin and then its argument prototype would still apply. */
12692 for ac_lib
in '' m
; do
12693 if test -z "$ac_lib"; then
12694 ac_res
="none required"
12697 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12699 if ac_fn_c_try_link
"$LINENO"; then :
12700 ac_cv_search_frexp
=$ac_res
12702 rm -f core conftest.err conftest.
$ac_objext \
12704 if test "${ac_cv_search_frexp+set}" = set; then :
12708 if test "${ac_cv_search_frexp+set}" = set; then :
12711 ac_cv_search_frexp
=no
12713 rm conftest.
$ac_ext
12714 LIBS
=$ac_func_search_save_LIBS
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_frexp" >&5
12717 $as_echo "$ac_cv_search_frexp" >&6; }
12718 ac_res
=$ac_cv_search_frexp
12719 if test "$ac_res" != no
; then :
12720 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time_t in time.h" >&5
12726 $as_echo_n "checking for time_t in time.h... " >&6; }
12727 if test "${bu_cv_decl_time_t_time_h+set}" = set; then :
12728 $as_echo_n "(cached) " >&6
12730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12741 if ac_fn_c_try_compile
"$LINENO"; then :
12742 bu_cv_decl_time_t_time_h
=yes
12744 bu_cv_decl_time_t_time_h
=no
12746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_decl_time_t_time_h" >&5
12750 $as_echo "$bu_cv_decl_time_t_time_h" >&6; }
12751 if test $bu_cv_decl_time_t_time_h = yes; then
12753 $as_echo "#define HAVE_TIME_T_IN_TIME_H 1" >>confdefs.h
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time_t in sys/types.h" >&5
12758 $as_echo_n "checking for time_t in sys/types.h... " >&6; }
12759 if test "${bu_cv_decl_time_t_types_h+set}" = set; then :
12760 $as_echo_n "(cached) " >&6
12762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12763 /* end confdefs.h. */
12764 #include <sys/types.h>
12773 if ac_fn_c_try_compile
"$LINENO"; then :
12774 bu_cv_decl_time_t_types_h
=yes
12776 bu_cv_decl_time_t_types_h
=no
12778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_decl_time_t_types_h" >&5
12782 $as_echo "$bu_cv_decl_time_t_types_h" >&6; }
12783 if test $bu_cv_decl_time_t_types_h = yes; then
12785 $as_echo "#define HAVE_TIME_T_IN_TYPES_H 1" >>confdefs.h
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
12790 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
12791 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then :
12792 $as_echo_n "(cached) " >&6
12794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12796 #include <unistd.h>
12800 extern int getopt (int, char *const*, const char *);
12805 if ac_fn_c_try_compile
"$LINENO"; then :
12806 bu_cv_decl_getopt_unistd_h
=yes
12808 bu_cv_decl_getopt_unistd_h
=no
12810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_decl_getopt_unistd_h" >&5
12814 $as_echo "$bu_cv_decl_getopt_unistd_h" >&6; }
12815 if test $bu_cv_decl_getopt_unistd_h = yes; then
12817 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
12821 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime.h" >&5
12824 $as_echo_n "checking for utime.h... " >&6; }
12825 if test "${bu_cv_header_utime_h+set}" = set; then :
12826 $as_echo_n "(cached) " >&6
12828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12830 #include <sys/types.h>
12843 if ac_fn_c_try_compile
"$LINENO"; then :
12844 bu_cv_header_utime_h
=yes
12846 bu_cv_header_utime_h
=no
12848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_header_utime_h" >&5
12852 $as_echo "$bu_cv_header_utime_h" >&6; }
12853 if test $bu_cv_header_utime_h = yes; then
12855 $as_echo "#define HAVE_GOOD_UTIME_H 1" >>confdefs.h
12859 ac_fn_c_check_decl
"$LINENO" "fprintf" "ac_cv_have_decl_fprintf" "$ac_includes_default"
12860 if test "x$ac_cv_have_decl_fprintf" = x
""yes; then :
12866 cat >>confdefs.h
<<_ACEOF
12867 #define HAVE_DECL_FPRINTF $ac_have_decl
12869 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
12870 if test "x$ac_cv_have_decl_stpcpy" = x
""yes; then :
12876 cat >>confdefs.h
<<_ACEOF
12877 #define HAVE_DECL_STPCPY $ac_have_decl
12879 ac_fn_c_check_decl
"$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
12880 if test "x$ac_cv_have_decl_strstr" = x
""yes; then :
12886 cat >>confdefs.h
<<_ACEOF
12887 #define HAVE_DECL_STRSTR $ac_have_decl
12889 ac_fn_c_check_decl
"$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
12890 if test "x$ac_cv_have_decl_sbrk" = x
""yes; then :
12896 cat >>confdefs.h
<<_ACEOF
12897 #define HAVE_DECL_SBRK $ac_have_decl
12899 ac_fn_c_check_decl
"$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
12900 if test "x$ac_cv_have_decl_getenv" = x
""yes; then :
12906 cat >>confdefs.h
<<_ACEOF
12907 #define HAVE_DECL_GETENV $ac_have_decl
12909 ac_fn_c_check_decl
"$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
12910 if test "x$ac_cv_have_decl_environ" = x
""yes; then :
12916 cat >>confdefs.h
<<_ACEOF
12917 #define HAVE_DECL_ENVIRON $ac_have_decl
12919 ac_fn_c_check_decl
"$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
12920 if test "x$ac_cv_have_decl_getc_unlocked" = x
""yes; then :
12926 cat >>confdefs.h
<<_ACEOF
12927 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
12929 ac_fn_c_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
12930 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
12936 cat >>confdefs.h
<<_ACEOF
12937 #define HAVE_DECL_SNPRINTF $ac_have_decl
12939 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
12940 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
12946 cat >>confdefs.h
<<_ACEOF
12947 #define HAVE_DECL_VSNPRINTF $ac_have_decl
12951 # Link in zlib if we can. This allows us to read compressed debug
12952 # sections. This is used only by readelf.c (objdump uses bfd for
12953 # reading compressed sections).
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
12955 $as_echo_n "checking for library containing zlibVersion... " >&6; }
12956 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12957 $as_echo_n "(cached) " >&6
12959 ac_func_search_save_LIBS
=$LIBS
12960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12963 /* Override any GCC internal prototype to avoid an error.
12964 Use char because int might match the return type of a GCC
12965 builtin and then its argument prototype would still apply. */
12969 char zlibVersion ();
12973 return zlibVersion ();
12978 for ac_lib
in '' z
; do
12979 if test -z "$ac_lib"; then
12980 ac_res
="none required"
12983 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12985 if ac_fn_c_try_link
"$LINENO"; then :
12986 ac_cv_search_zlibVersion
=$ac_res
12988 rm -f core conftest.err conftest.
$ac_objext \
12990 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12994 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12997 ac_cv_search_zlibVersion
=no
12999 rm conftest.
$ac_ext
13000 LIBS
=$ac_func_search_save_LIBS
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
13003 $as_echo "$ac_cv_search_zlibVersion" >&6; }
13004 ac_res
=$ac_cv_search_zlibVersion
13005 if test "$ac_res" != no
; then :
13006 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13007 for ac_header
in zlib.h
13009 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13010 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
13011 cat >>confdefs.h
<<_ACEOF
13012 #define HAVE_ZLIB_H 1
13024 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
13026 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
13030 # target-specific stuff:
13032 # Canonicalize the secondary target names.
13033 if test -n "$enable_targets"; then
13034 for targ
in `echo $enable_targets | sed 's/,/ /g'`
13036 result
=`$ac_config_sub $targ 2>/dev/null`
13037 if test -n "$result"; then
13038 canon_targets
="$canon_targets $result"
13040 # Allow targets that config.sub doesn't recognize, like "all".
13041 canon_targets
="$canon_targets $targ"
13046 ac_fn_c_check_header_mongrel
"$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
13047 if test "x$ac_cv_header_iconv_h" = x
""yes; then :
13053 if test "X$prefix" = "XNONE"; then
13054 acl_final_prefix
="$ac_default_prefix"
13056 acl_final_prefix
="$prefix"
13058 if test "X$exec_prefix" = "XNONE"; then
13059 acl_final_exec_prefix
='${prefix}'
13061 acl_final_exec_prefix
="$exec_prefix"
13063 acl_save_prefix
="$prefix"
13064 prefix
="$acl_final_prefix"
13065 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13066 prefix
="$acl_save_prefix"
13069 # Check whether --with-gnu-ld was given.
13070 if test "${with_gnu_ld+set}" = set; then :
13071 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13076 # Prepare PATH_SEPARATOR.
13077 # The user is always right.
13078 if test "${PATH_SEPARATOR+set}" != set; then
13079 echo "#! /bin/sh" >conf$$.sh
13080 echo "exit 0" >>conf$$.sh
13082 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13090 if test "$GCC" = yes; then
13091 # Check if gcc -print-prog-name=ld gives a path.
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13093 $as_echo_n "checking for ld used by GCC... " >&6; }
13096 # gcc leaves a trailing carriage return which upsets mingw
13097 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13099 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13102 # Accept absolute paths.
13103 [\\/]* |
[A-Za-z
]:[\\/]*)
13104 re_direlt
='/[^/][^/]*/\.\./'
13105 # Canonicalize the path of ld
13106 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13107 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13108 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13110 test -z "$LD" && LD
="$ac_prog"
13113 # If it fails, then pretend we aren't using GCC.
13117 # If it is relative, then search for the first ld in PATH.
13118 with_gnu_ld
=unknown
13121 elif test "$with_gnu_ld" = yes; then
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13123 $as_echo_n "checking for GNU ld... " >&6; }
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13126 $as_echo_n "checking for non-GNU ld... " >&6; }
13128 if test "${acl_cv_path_LD+set}" = set; then :
13129 $as_echo_n "(cached) " >&6
13131 if test -z "$LD"; then
13132 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13133 for ac_dir
in $PATH; do
13134 test -z "$ac_dir" && ac_dir
=.
13135 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13136 acl_cv_path_LD
="$ac_dir/$ac_prog"
13137 # Check to see if the program is GNU ld. I'd rather use --version,
13138 # but apparently some GNU ld's only accept -v.
13139 # Break only if it was the GNU/non-GNU ld that we prefer.
13140 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
13141 test "$with_gnu_ld" != no
&& break
13143 test "$with_gnu_ld" != yes && break
13149 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13153 LD
="$acl_cv_path_LD"
13154 if test -n "$LD"; then
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13156 $as_echo "$LD" >&6; }
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13159 $as_echo "no" >&6; }
13161 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13163 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13164 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
13165 $as_echo_n "(cached) " >&6
13167 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13168 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
13169 acl_cv_prog_gnu_ld
=yes
13171 acl_cv_prog_gnu_ld
=no
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13175 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13176 with_gnu_ld
=$acl_cv_prog_gnu_ld
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13181 $as_echo_n "checking for shared library run path origin... " >&6; }
13182 if test "${acl_cv_rpath+set}" = set; then :
13183 $as_echo_n "(cached) " >&6
13186 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13187 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13189 rm -f .
/conftest.sh
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13194 $as_echo "$acl_cv_rpath" >&6; }
13196 libext
="$acl_cv_libext"
13197 shlibext
="$acl_cv_shlibext"
13198 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13199 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13200 hardcode_direct
="$acl_cv_hardcode_direct"
13201 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13202 # Check whether --enable-rpath was given.
13203 if test "${enable_rpath+set}" = set; then :
13204 enableval
=$enable_rpath; :
13218 acl_save_prefix
="$prefix"
13219 prefix
="$acl_final_prefix"
13220 acl_save_exec_prefix
="$exec_prefix"
13221 exec_prefix
="$acl_final_exec_prefix"
13223 eval additional_includedir
=\"$includedir\"
13224 eval additional_libdir
=\"$libdir\"
13226 exec_prefix
="$acl_save_exec_prefix"
13227 prefix
="$acl_save_prefix"
13230 # Check whether --with-libiconv-prefix was given.
13231 if test "${with_libiconv_prefix+set}" = set; then :
13232 withval
=$with_libiconv_prefix;
13233 if test "X$withval" = "Xno"; then
13236 if test "X$withval" = "X"; then
13238 acl_save_prefix
="$prefix"
13239 prefix
="$acl_final_prefix"
13240 acl_save_exec_prefix
="$exec_prefix"
13241 exec_prefix
="$acl_final_exec_prefix"
13243 eval additional_includedir
=\"$includedir\"
13244 eval additional_libdir
=\"$libdir\"
13246 exec_prefix
="$acl_save_exec_prefix"
13247 prefix
="$acl_save_prefix"
13250 additional_includedir
="$withval/include"
13251 additional_libdir
="$withval/lib"
13262 names_already_handled
=
13263 names_next_round
='iconv '
13264 while test -n "$names_next_round"; do
13265 names_this_round
="$names_next_round"
13267 for name
in $names_this_round; do
13269 for n
in $names_already_handled; do
13270 if test "$n" = "$name"; then
13271 already_handled
=yes
13275 if test -z "$already_handled"; then
13276 names_already_handled
="$names_already_handled $name"
13277 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13278 eval value
=\"\
$HAVE_LIB$uppername\"
13279 if test -n "$value"; then
13280 if test "$value" = yes; then
13281 eval value
=\"\
$LIB$uppername\"
13282 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
13283 eval value
=\"\
$LTLIB$uppername\"
13284 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
13293 if test $use_additional = yes; then
13294 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13295 found_dir
="$additional_libdir"
13296 found_so
="$additional_libdir/lib$name.$shlibext"
13297 if test -f "$additional_libdir/lib$name.la"; then
13298 found_la
="$additional_libdir/lib$name.la"
13301 if test -f "$additional_libdir/lib$name.$libext"; then
13302 found_dir
="$additional_libdir"
13303 found_a
="$additional_libdir/lib$name.$libext"
13304 if test -f "$additional_libdir/lib$name.la"; then
13305 found_la
="$additional_libdir/lib$name.la"
13310 if test "X$found_dir" = "X"; then
13311 for x
in $LDFLAGS $LTLIBICONV; do
13313 acl_save_prefix
="$prefix"
13314 prefix
="$acl_final_prefix"
13315 acl_save_exec_prefix
="$exec_prefix"
13316 exec_prefix
="$acl_final_exec_prefix"
13318 exec_prefix
="$acl_save_exec_prefix"
13319 prefix
="$acl_save_prefix"
13323 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13324 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13326 found_so
="$dir/lib$name.$shlibext"
13327 if test -f "$dir/lib$name.la"; then
13328 found_la
="$dir/lib$name.la"
13331 if test -f "$dir/lib$name.$libext"; then
13333 found_a
="$dir/lib$name.$libext"
13334 if test -f "$dir/lib$name.la"; then
13335 found_la
="$dir/lib$name.la"
13341 if test "X$found_dir" != "X"; then
13346 if test "X$found_dir" != "X"; then
13347 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13348 if test "X$found_so" != "X"; then
13349 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13350 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13353 for x
in $ltrpathdirs; do
13354 if test "X$x" = "X$found_dir"; then
13359 if test -z "$haveit"; then
13360 ltrpathdirs
="$ltrpathdirs $found_dir"
13362 if test "$hardcode_direct" = yes; then
13363 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13365 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13366 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13368 for x
in $rpathdirs; do
13369 if test "X$x" = "X$found_dir"; then
13374 if test -z "$haveit"; then
13375 rpathdirs
="$rpathdirs $found_dir"
13379 for x
in $LDFLAGS $LIBICONV; do
13381 acl_save_prefix
="$prefix"
13382 prefix
="$acl_final_prefix"
13383 acl_save_exec_prefix
="$exec_prefix"
13384 exec_prefix
="$acl_final_exec_prefix"
13386 exec_prefix
="$acl_save_exec_prefix"
13387 prefix
="$acl_save_prefix"
13389 if test "X$x" = "X-L$found_dir"; then
13394 if test -z "$haveit"; then
13395 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13397 if test "$hardcode_minus_L" != no
; then
13398 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13400 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13406 if test "X$found_a" != "X"; then
13407 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
13409 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13412 additional_includedir
=
13413 case "$found_dir" in
13415 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13416 additional_includedir
="$basedir/include"
13419 if test "X$additional_includedir" != "X"; then
13420 if test "X$additional_includedir" != "X/usr/include"; then
13422 if test "X$additional_includedir" = "X/usr/local/include"; then
13423 if test -n "$GCC"; then
13425 linux
*) haveit
=yes;;
13429 if test -z "$haveit"; then
13430 for x
in $CPPFLAGS $INCICONV; do
13432 acl_save_prefix
="$prefix"
13433 prefix
="$acl_final_prefix"
13434 acl_save_exec_prefix
="$exec_prefix"
13435 exec_prefix
="$acl_final_exec_prefix"
13437 exec_prefix
="$acl_save_exec_prefix"
13438 prefix
="$acl_save_prefix"
13440 if test "X$x" = "X-I$additional_includedir"; then
13445 if test -z "$haveit"; then
13446 if test -d "$additional_includedir"; then
13447 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13453 if test -n "$found_la"; then
13454 save_libdir
="$libdir"
13455 case "$found_la" in
13456 */* |
*\\*) .
"$found_la" ;;
13457 *) .
"./$found_la" ;;
13459 libdir
="$save_libdir"
13460 for dep
in $dependency_libs; do
13463 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13464 if test "X$additional_libdir" != "X/usr/lib"; then
13466 if test "X$additional_libdir" = "X/usr/local/lib"; then
13467 if test -n "$GCC"; then
13469 linux
*) haveit
=yes;;
13473 if test -z "$haveit"; then
13475 for x
in $LDFLAGS $LIBICONV; do
13477 acl_save_prefix
="$prefix"
13478 prefix
="$acl_final_prefix"
13479 acl_save_exec_prefix
="$exec_prefix"
13480 exec_prefix
="$acl_final_exec_prefix"
13482 exec_prefix
="$acl_save_exec_prefix"
13483 prefix
="$acl_save_prefix"
13485 if test "X$x" = "X-L$additional_libdir"; then
13490 if test -z "$haveit"; then
13491 if test -d "$additional_libdir"; then
13492 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13496 for x
in $LDFLAGS $LTLIBICONV; do
13498 acl_save_prefix
="$prefix"
13499 prefix
="$acl_final_prefix"
13500 acl_save_exec_prefix
="$exec_prefix"
13501 exec_prefix
="$acl_final_exec_prefix"
13503 exec_prefix
="$acl_save_exec_prefix"
13504 prefix
="$acl_save_prefix"
13506 if test "X$x" = "X-L$additional_libdir"; then
13511 if test -z "$haveit"; then
13512 if test -d "$additional_libdir"; then
13513 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13520 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13521 if test "$enable_rpath" != no
; then
13523 for x
in $rpathdirs; do
13524 if test "X$x" = "X$dir"; then
13529 if test -z "$haveit"; then
13530 rpathdirs
="$rpathdirs $dir"
13533 for x
in $ltrpathdirs; do
13534 if test "X$x" = "X$dir"; then
13539 if test -z "$haveit"; then
13540 ltrpathdirs
="$ltrpathdirs $dir"
13545 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13548 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13551 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
13552 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13558 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13559 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13565 if test "X$rpathdirs" != "X"; then
13566 if test -n "$hardcode_libdir_separator"; then
13568 for found_dir
in $rpathdirs; do
13569 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13571 acl_save_libdir
="$libdir"
13573 eval flag
=\"$hardcode_libdir_flag_spec\"
13574 libdir
="$acl_save_libdir"
13575 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
13577 for found_dir
in $rpathdirs; do
13578 acl_save_libdir
="$libdir"
13579 libdir
="$found_dir"
13580 eval flag
=\"$hardcode_libdir_flag_spec\"
13581 libdir
="$acl_save_libdir"
13582 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
13586 if test "X$ltrpathdirs" != "X"; then
13587 for found_dir
in $ltrpathdirs; do
13588 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13598 am_save_CPPFLAGS
="$CPPFLAGS"
13600 for element
in $INCICONV; do
13602 for x
in $CPPFLAGS; do
13604 acl_save_prefix
="$prefix"
13605 prefix
="$acl_final_prefix"
13606 acl_save_exec_prefix
="$exec_prefix"
13607 exec_prefix
="$acl_final_exec_prefix"
13609 exec_prefix
="$acl_save_exec_prefix"
13610 prefix
="$acl_save_prefix"
13612 if test "X$x" = "X$element"; then
13617 if test -z "$haveit"; then
13618 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13624 $as_echo_n "checking for iconv... " >&6; }
13625 if test "${am_cv_func_iconv+set}" = set; then :
13626 $as_echo_n "(cached) " >&6
13629 am_cv_func_iconv
="no, consider installing GNU libiconv"
13631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13633 #include <stdlib.h>
13638 iconv_t cd = iconv_open("","");
13639 iconv(cd,NULL,NULL,NULL,NULL);
13645 if ac_fn_c_try_link
"$LINENO"; then :
13646 am_cv_func_iconv
=yes
13648 rm -f core conftest.err conftest.
$ac_objext \
13649 conftest
$ac_exeext conftest.
$ac_ext
13650 if test "$am_cv_func_iconv" != yes; then
13651 am_save_LIBS
="$LIBS"
13652 LIBS
="$LIBS $LIBICONV"
13653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13655 #include <stdlib.h>
13660 iconv_t cd = iconv_open("","");
13661 iconv(cd,NULL,NULL,NULL,NULL);
13667 if ac_fn_c_try_link
"$LINENO"; then :
13668 am_cv_lib_iconv
=yes
13669 am_cv_func_iconv
=yes
13671 rm -f core conftest.err conftest.
$ac_objext \
13672 conftest
$ac_exeext conftest.
$ac_ext
13673 LIBS
="$am_save_LIBS"
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13678 $as_echo "$am_cv_func_iconv" >&6; }
13679 if test "$am_cv_func_iconv" = yes; then
13681 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13684 if test "$am_cv_lib_iconv" = yes; then
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13686 $as_echo_n "checking how to link with libiconv... " >&6; }
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13688 $as_echo "$LIBICONV" >&6; }
13690 CPPFLAGS
="$am_save_CPPFLAGS"
13697 if test "$am_cv_func_iconv" = yes; then
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
13699 $as_echo_n "checking for iconv declaration... " >&6; }
13700 if test "${am_cv_proto_iconv+set}" = set; then :
13701 $as_echo_n "(cached) " >&6
13704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13707 #include <stdlib.h>
13713 #if defined(__STDC__) || defined(__cplusplus)
13714 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
13727 if ac_fn_c_try_compile
"$LINENO"; then :
13728 am_cv_proto_iconv_arg1
=""
13730 am_cv_proto_iconv_arg1
="const"
13732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13733 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
13736 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
13738 }$am_cv_proto_iconv" >&5
13740 }$am_cv_proto_iconv" >&6; }
13742 cat >>confdefs.h
<<_ACEOF
13743 #define ICONV_CONST $am_cv_proto_iconv_arg1
13760 BUILD_INSTALL_MISC
=
13763 for targ
in $target $canon_targets
13765 if test "x$targ" = "xall"; then
13767 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
13768 BUILD_SRCONV
='$(SRCONV_PROG)'
13769 NLMCONV_DEFS
="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
13770 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
13771 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13772 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13773 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13774 if test -z "$DLLTOOL_DEFAULT"; then
13775 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
13777 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
13778 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
13781 i
[3-7]86*-*-netware*)
13782 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
13783 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_I386"
13786 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
13787 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_ALPHA"
13789 powerpc
*-*-netware*)
13790 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
13791 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_POWERPC"
13794 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
13795 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_SPARC"
13799 *-*-hms*) BUILD_SRCONV
='$(SRCONV_PROG)' ;;
13803 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13804 if test -z "$DLLTOOL_DEFAULT"; then
13805 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_EPOC"
13807 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
13808 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13809 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13811 arm-wince-pe
* | arm-
*-wince | arm
*-*-cegcc* | arm
*-*-mingw32ce*)
13812 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13813 if test -z "$DLLTOOL_DEFAULT"; then
13814 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_WINCE"
13816 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
13817 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13818 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13821 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13822 if test -z "$DLLTOOL_DEFAULT"; then
13823 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
13825 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
13826 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13827 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13830 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13831 if test -z "$DLLTOOL_DEFAULT"; then
13832 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
13834 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
13835 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13836 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13839 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13840 if test -z "$DLLTOOL_DEFAULT"; then
13841 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MX86_64"
13843 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
13844 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13845 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13846 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
13848 i
[3-7]86-*-pe* | i
[3-7]86-*-cygwin* | i
[3-7]86-*-mingw32** | i
[3-7]86-*-netbsdpe*)
13849 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13850 if test -z "$DLLTOOL_DEFAULT"; then
13851 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
13853 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
13854 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13855 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13856 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
13858 i
[3-7]86-*-interix)
13859 BUILD_DLLTOOL
='$(DLLTOOL_PROG)'
13860 if test -z "$DLLTOOL_DEFAULT"; then
13861 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
13863 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
13865 powerpc
*-aix5.
[01])
13867 powerpc
*-aix[5-9].
*)
13868 OBJDUMP_DEFS
="-DAIX_WEAK_SUPPORT"
13870 powerpc
*-*-pe* | powerpc
*-*-cygwin*)
13871 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13872 if test -z "$DLLTOOL_DEFAULT"; then
13873 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_PPC"
13875 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_PPC"
13876 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13877 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13879 powerpc
*-*-linux* | powerpc
*-*-elf* | powerpc
*-*-eabi*)
13880 BUILD_INSTALL_MISC
="${BUILD_INSTALL_MISC} embedspu"
13883 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13884 if test -z "$DLLTOOL_DEFAULT"; then
13885 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_SH"
13887 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_SH"
13888 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13889 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13892 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
13895 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13896 if test -z "$DLLTOOL_DEFAULT"; then
13897 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MIPS"
13899 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
13900 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13901 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13904 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13905 if test -z "$DLLTOOL_DEFAULT"; then
13906 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE"
13908 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
13909 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13910 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13913 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
13914 if test -z "$DLLTOOL_DEFAULT"; then
13915 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE_ELF"
13917 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
13920 OBJDUMP_DEFS
="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
13926 DLLTOOL_DEFS
="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
13928 if test "${with_windres+set}" = set; then
13929 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
13932 if test "${with_windmc+set}" = set; then
13933 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
13949 cat >>confdefs.h
<<_ACEOF
13950 #define TARGET "${target}"
13955 .
$srcdir/..
/bfd
/config.bfd
13956 if test "x$targ_underscore" = "xyes"; then
13962 cat >>confdefs.h
<<_ACEOF
13963 #define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
13968 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
13970 # Canonicalize the secondary target names.
13971 result
=`$ac_config_sub $targ_alias 2>/dev/null`
13972 if test -n "$result"; then
13978 .
${srcdir}/configure.tgt
13980 EMULATION
=$targ_emul
13981 EMULATION_VECTOR
=$targ_emul_vector
13987 # Required for html and install-html
13993 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
13995 cat >confcache
<<\_ACEOF
13996 # This file is a shell script that caches the results of configure
13997 # tests run on this system so they can be shared between configure
13998 # scripts and configure runs, see configure's option --config-cache.
13999 # It is not useful on other systems. If it contains results you don't
14000 # want to keep, you may remove or edit it.
14002 # config.status only pays attention to the cache file if you give it
14003 # the --recheck option to rerun configure.
14005 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14007 # following values.
14011 # The following way of writing the cache mishandles newlines in values,
14012 # but we know of no workaround that is simple, portable, and efficient.
14013 # So, we kill variables containing newlines.
14014 # Ultrix sh set writes to stderr and can't be redirected directly,
14015 # and sets the high bit in the cache file unless we assign to the vars.
14017 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14018 eval ac_val
=\$
$ac_var
14022 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14023 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14026 _ | IFS | as_nl
) ;; #(
14027 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14028 *) { eval $ac_var=; unset $ac_var;} ;;
14034 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14035 *${as_nl}ac_space
=\
*)
14036 # `set' does not quote correctly, so add quotes: double-quote
14037 # substitution turns \\\\ into \\, and sed turns \\ into \.
14040 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14043 # `set' quotes correctly as required by POSIX, so do not add quotes.
14044 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14053 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14055 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14057 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14058 if test -w "$cache_file"; then
14059 test "x$cache_file" != "x/dev/null" &&
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14061 $as_echo "$as_me: updating cache $cache_file" >&6;}
14062 cat confcache
>$cache_file
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14065 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14070 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14071 # Let make expand exec_prefix.
14072 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14074 DEFS
=-DHAVE_CONFIG_H
14078 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14079 # 1. Remove the extension, and $U if already installed.
14080 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14081 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14082 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14083 # will be set to the directory where LIBOBJS objects are built.
14084 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14085 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14087 LIBOBJS
=$ac_libobjs
14089 LTLIBOBJS
=$ac_ltlibobjs
14092 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14093 as_fn_error
"conditional \"AMDEP\" was never defined.
14094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14096 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14097 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14100 if test -n "$EXEEXT"; then
14102 am__EXEEXT_FALSE
='#'
14104 am__EXEEXT_TRUE
='#'
14108 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14109 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14112 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
14113 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
14114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14117 : ${CONFIG_STATUS=./config.status}
14119 ac_clean_files_save
=$ac_clean_files
14120 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14122 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14124 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14126 # Generated by $as_me.
14127 # Run this file to recreate the current configuration.
14128 # Compiler output produced by configure, useful for debugging
14129 # configure, is in config.log if it exists.
14132 ac_cs_recheck=false
14135 SHELL=\${CONFIG_SHELL-$SHELL}
14138 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14139 ## -------------------- ##
14140 ## M4sh Initialization. ##
14141 ## -------------------- ##
14143 # Be more Bourne compatible
14144 DUALCASE
=1; export DUALCASE
# for MKS sh
14145 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14148 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14149 # is contrary to our usage. Disable this feature.
14150 alias -g '${1+"$@"}'='"$@"'
14151 setopt NO_GLOB_SUBST
14153 case `(set -o) 2>/dev/null` in #(
14165 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14166 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14167 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14168 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14169 # Prefer a ksh shell builtin over an external printf program on Solaris,
14170 # but without wasting forks for bash or zsh.
14171 if test -z "$BASH_VERSION$ZSH_VERSION" \
14172 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14173 as_echo='print
-r --'
14174 as_echo_n='print
-rn --'
14175 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14176 as_echo='printf %s
\n'
14177 as_echo_n='printf %s
'
14179 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14180 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14181 as_echo_n='/usr
/ucb
/echo -n'
14183 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14184 as_echo_n_body='eval
14188 expr "X$arg" : "X\\(.*\\)$as_nl";
14189 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14191 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14193 export as_echo_n_body
14194 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14196 export as_echo_body
14197 as_echo='sh
-c $as_echo_body as_echo
'
14200 # The user is always right.
14201 if test "${PATH_SEPARATOR+set}" != set; then
14203 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14204 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14211 # We need space, tab and new line, in precisely that order. Quoting is
14212 # there to prevent editors from complaining about space-tab.
14213 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14214 # splitting by setting IFS to empty value.)
14217 # Find who we are. Look in the path if we contain no directory separator.
14219 *[\\/]* ) as_myself=$0 ;;
14220 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14221 for as_dir in $PATH
14224 test -z "$as_dir" && as_dir=.
14225 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14231 # We did not find ourselves, most probably we were run as `sh COMMAND'
14232 # in which case we are not to be found in the path.
14233 if test "x$as_myself" = x
; then
14236 if test ! -f "$as_myself"; then
14237 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14241 # Unset variables that we do not need and which cause bugs (e.g. in
14242 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14243 # suppresses any "Segmentation fault" message there. '((' could
14244 # trigger a bug in pdksh 5.2.14.
14245 for as_var
in BASH_ENV ENV MAIL MAILPATH
14246 do eval test x\
${$as_var+set} = xset \
14247 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14260 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14263 # as_fn_error ERROR [LINENO LOG_FD]
14264 # ---------------------------------
14265 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14266 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14267 # script with status $?, using 1 if that was 0.
14270 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14272 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14273 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14275 $as_echo "$as_me: error: $1" >&2
14276 as_fn_exit
$as_status
14280 # as_fn_set_status STATUS
14281 # -----------------------
14282 # Set $? to STATUS, without forking.
14283 as_fn_set_status
()
14286 } # as_fn_set_status
14288 # as_fn_exit STATUS
14289 # -----------------
14290 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14294 as_fn_set_status
$1
14300 # Portably unset VAR.
14303 { eval $1=; unset $1;}
14305 as_unset
=as_fn_unset
14306 # as_fn_append VAR VALUE
14307 # ----------------------
14308 # Append the text in VALUE to the end of the definition contained in VAR. Take
14309 # advantage of any shell optimizations that allow amortized linear growth over
14310 # repeated appends, instead of the typical quadratic growth present in naive
14312 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14313 eval 'as_fn_append ()
14324 # as_fn_arith ARG...
14325 # ------------------
14326 # Perform arithmetic evaluation on the ARGs, and store the result in the
14327 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14328 # must be portable across $(()) and expr.
14329 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14330 eval 'as_fn_arith ()
14337 as_val
=`expr "$@" || test $? -eq 1`
14342 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14343 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14349 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14350 as_basename
=basename
14355 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14361 as_me
=`$as_basename -- "$0" ||
14362 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14363 X"$0" : 'X\(//\)$' \| \
14364 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14366 sed '/^.*\/\([^/][^/]*\)\/*$/{
14380 # Avoid depending upon Character Ranges.
14381 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14382 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14383 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14384 as_cr_digits
='0123456789'
14385 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14387 ECHO_C
= ECHO_N
= ECHO_T
=
14388 case `echo -n x` in #(((((
14390 case `echo 'xy\c'` in
14391 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14393 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14400 rm -f conf$$ conf$$.exe conf$$.
file
14401 if test -d conf$$.dir
; then
14402 rm -f conf$$.dir
/conf$$.
file
14405 mkdir conf$$.dir
2>/dev
/null
14407 if (echo >conf$$.
file) 2>/dev
/null
; then
14408 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14410 # ... but there are two gotchas:
14411 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14412 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14413 # In both cases, we have to default to `cp -p'.
14414 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14416 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14424 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14425 rmdir conf$$.dir
2>/dev
/null
14430 # Create "$as_dir" as a directory, including parents if necessary.
14435 -*) as_dir
=.
/$as_dir;;
14437 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14441 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14442 *) as_qdir
=$as_dir;;
14444 as_dirs
="'$as_qdir' $as_dirs"
14445 as_dir
=`$as_dirname -- "$as_dir" ||
14446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14447 X"$as_dir" : 'X\(//\)[^/]' \| \
14448 X"$as_dir" : 'X\(//\)$' \| \
14449 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14450 $as_echo X"$as_dir" |
14451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14455 /^X\(\/\/\)[^/].*/{
14468 test -d "$as_dir" && break
14470 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14471 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14475 if mkdir
-p .
2>/dev
/null
; then
14476 as_mkdir_p
='mkdir -p "$as_dir"'
14478 test -d .
/-p && rmdir .
/-p
14482 if test -x / >/dev
/null
2>&1; then
14483 as_test_x
='test -x'
14485 if ls -dL / >/dev
/null
2>&1; then
14492 if test -d "$1"; then
14498 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14499 ???[sx]*):;;*)false;;esac;fi
14503 as_executable_p
=$as_test_x
14505 # Sed expression to map a string onto a valid CPP name.
14506 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14508 # Sed expression to map a string onto a valid variable name.
14509 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14513 ## ----------------------------------- ##
14514 ## Main body of $CONFIG_STATUS script. ##
14515 ## ----------------------------------- ##
14517 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14520 # Save the log message, to keep $0 and so on meaningful, and to
14521 # report actual input values of CONFIG_FILES etc. instead of their
14522 # values after options handling.
14524 This file was extended by $as_me, which was
14525 generated by GNU Autoconf 2.64. Invocation command line was
14527 CONFIG_FILES = $CONFIG_FILES
14528 CONFIG_HEADERS = $CONFIG_HEADERS
14529 CONFIG_LINKS = $CONFIG_LINKS
14530 CONFIG_COMMANDS = $CONFIG_COMMANDS
14533 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14538 case $ac_config_files in *"
14539 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14542 case $ac_config_headers in *"
14543 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14548 # Files that config.status was made for.
14549 config_files="$ac_config_files"
14550 config_headers="$ac_config_headers"
14551 config_commands="$ac_config_commands"
14555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14557 \`$as_me' instantiates files and other configuration actions
14558 from templates according to the current configuration. Unless the files
14559 and actions are specified as TAGs, all are instantiated by default.
14561 Usage: $0 [OPTION]... [TAG]...
14563 -h, --help print this help, then exit
14564 -V, --version print version number and configuration settings, then exit
14565 -q, --quiet, --silent
14566 do not print progress messages
14567 -d, --debug don't remove temporary files
14568 --recheck update $as_me by reconfiguring in the same conditions
14569 --file=FILE[:TEMPLATE]
14570 instantiate the configuration file FILE
14571 --header=FILE[:TEMPLATE]
14572 instantiate the configuration header FILE
14574 Configuration files:
14577 Configuration headers:
14580 Configuration commands:
14583 Report bugs to the package provider."
14586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14589 configured by $0, generated by GNU Autoconf 2.64,
14590 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14592 Copyright (C) 2009 Free Software Foundation, Inc.
14593 This config.status script is free software; the Free Software Foundation
14594 gives unlimited permission to copy, distribute and modify it."
14601 test -n "\$AWK" || AWK=awk
14604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14605 # The default lists apply if the user does not specify any file.
14611 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14612 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14623 # Handling of the options.
14624 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14626 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14627 $as_echo "$ac_cs_version"; exit ;;
14628 --debug |
--debu |
--deb |
--de |
--d |
-d )
14630 --file |
--fil |
--fi |
--f )
14633 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14635 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14636 ac_need_defaults
=false
;;
14637 --header |
--heade |
--head |
--hea )
14640 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14642 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14643 ac_need_defaults
=false
;;
14645 # Conflict between --help and --header
14646 as_fn_error
"ambiguous option: \`$1'
14647 Try \`$0 --help' for more information.";;
14648 --help |
--hel |
-h )
14649 $as_echo "$ac_cs_usage"; exit ;;
14650 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14651 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14654 # This is an error.
14655 -*) as_fn_error
"unrecognized option: \`$1'
14656 Try \`$0 --help' for more information." ;;
14658 *) as_fn_append ac_config_targets
" $1"
14659 ac_need_defaults
=false
;;
14665 ac_configure_extra_args
=
14667 if $ac_cs_silent; then
14669 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14674 if \$ac_cs_recheck; then
14675 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14677 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14678 CONFIG_SHELL='$SHELL'
14679 export CONFIG_SHELL
14684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14688 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14689 ## Running $as_me. ##
14695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14699 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14702 # The HP-UX ksh and POSIX shell print the target directory to stdout
14703 # if CDPATH is set.
14704 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14706 sed_quote_subst='$sed_quote_subst'
14707 double_quote_subst='$double_quote_subst'
14708 delay_variable_subst='$delay_variable_subst'
14709 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14710 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14711 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14712 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14713 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14714 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14715 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14716 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14717 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14718 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14719 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14720 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14721 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14722 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14723 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14724 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14725 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14726 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14727 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14728 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14729 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14730 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14731 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14732 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14733 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14734 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14735 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14736 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14737 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14738 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14739 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14740 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14741 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14742 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14743 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14744 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14745 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14746 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14747 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14748 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14749 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14750 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14751 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14752 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14753 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"`'
14754 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"`'
14755 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14756 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14757 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14758 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14759 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14760 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14761 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14762 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14763 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14764 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14765 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14766 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14767 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14768 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14769 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14770 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14771 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14772 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14773 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14774 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14775 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14776 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14777 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14778 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14779 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14780 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14781 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14782 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14783 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14784 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14785 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14786 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14787 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14788 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14789 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14790 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14791 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14792 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14793 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14794 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14795 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14796 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14797 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14798 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14799 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14800 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14801 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14802 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14803 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14804 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14805 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14806 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14807 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14808 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14809 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14810 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14811 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14812 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14813 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14814 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14815 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14816 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14817 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14818 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14819 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14820 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14821 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14822 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14823 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14824 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14825 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14826 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14829 LTCFLAGS='$LTCFLAGS'
14830 compiler='$compiler_DEFAULT'
14832 # Quote evaled strings.
14844 deplibs_check_method \
14853 lt_cv_sys_global_symbol_pipe \
14854 lt_cv_sys_global_symbol_to_cdecl \
14855 lt_cv_sys_global_symbol_to_c_name_address \
14856 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14859 lt_prog_compiler_no_builtin_flag \
14860 lt_prog_compiler_wl \
14861 lt_prog_compiler_pic \
14862 lt_prog_compiler_static \
14863 lt_cv_prog_compiler_c_o \
14871 export_dynamic_flag_spec \
14872 whole_archive_flag_spec \
14873 compiler_needs_object \
14875 allow_undefined_flag \
14876 no_undefined_flag \
14877 hardcode_libdir_flag_spec \
14878 hardcode_libdir_flag_spec_ld \
14879 hardcode_libdir_separator \
14884 variables_saved_for_relink \
14886 library_names_spec \
14891 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14892 *[\\\\\\\`\\"\\\$]*)
14893 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14896 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14901 # Double-quote double-evaled strings.
14902 for var in reload_cmds \
14903 old_postinstall_cmds \
14904 old_postuninstall_cmds \
14906 extract_expsyms_cmds \
14907 old_archive_from_new_cmds \
14908 old_archive_from_expsyms_cmds \
14910 archive_expsym_cmds \
14912 module_expsym_cmds \
14913 export_symbols_cmds \
14916 postuninstall_cmds \
14918 sys_lib_search_path_spec \
14919 sys_lib_dlsearch_path_spec; do
14920 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14921 *[\\\\\\\`\\"\\\$]*)
14922 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14925 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14930 # Fix-up fallback echo if it was mangled by the above quoting rules.
14932 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14936 ac_aux_dir='$ac_aux_dir'
14937 xsi_shell='$xsi_shell'
14938 lt_shell_append='$lt_shell_append'
14940 # See if we are running on zsh, and set the options which allow our
14941 # commands through without removal of \ escapes INIT.
14942 if test -n "\${ZSH_VERSION+set}" ; then
14943 setopt NO_GLOB_SUBST
14949 TIMESTAMP='$TIMESTAMP'
14955 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
14956 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
14958 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
14959 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14960 LINGUAS="${LINGUAS-%UNSET%}"
14965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14967 # Handling of arguments.
14968 for ac_config_target
in $ac_config_targets
14970 case $ac_config_target in
14971 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14972 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14973 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
14974 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14975 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14976 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
14977 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
14979 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14984 # If the user did not use the arguments to specify the items to instantiate,
14985 # then the envvar interface is used. Set only those that are not.
14986 # We use the long form for the default assignment because of an extremely
14987 # bizarre bug on SunOS 4.1.3.
14988 if $ac_need_defaults; then
14989 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14990 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14991 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14994 # Have a temporary directory for convenience. Make it in the build tree
14995 # simply because there is no reason against having it here, and in addition,
14996 # creating and moving files from /tmp can sometimes cause problems.
14997 # Hook for its removal unless debugging.
14998 # Note that there is a small window in which the directory will not be cleaned:
14999 # after its creation but before its name has been assigned to `$tmp'.
15003 trap 'exit_status=$?
15004 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15006 trap 'as_fn_exit 1' 1 2 13 15
15008 # Create a (secure) tmp directory for tmp files.
15011 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15012 test -n "$tmp" && test -d "$tmp"
15015 tmp
=.
/conf$$
-$RANDOM
15016 (umask 077 && mkdir
"$tmp")
15017 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15019 # Set up the scripts for CONFIG_FILES section.
15020 # No need to generate them if there are no CONFIG_FILES.
15021 # This happens for instance with `./config.status config.h'.
15022 if test -n "$CONFIG_FILES"; then
15025 ac_cr
=`echo X | tr X '\015'`
15026 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15027 # But we know of no other shell where ac_cr would be empty at this
15028 # point, so we can use a bashism as a fallback.
15029 if test "x$ac_cr" = x
; then
15030 eval ac_cr
=\$
\'\\r
\'
15032 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15033 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15036 ac_cs_awk_cr
=$ac_cr
15039 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15044 echo "cat >conf$$subs.awk <<_ACEOF" &&
15045 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15047 } >conf$$subs.sh ||
15048 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15049 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15051 for ac_last_try in false false false false false :; do
15052 . ./conf$$subs.sh ||
15053 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15055 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15056 if test $ac_delim_n = $ac_delim_num; then
15058 elif $ac_last_try; then
15059 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15061 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15064 rm -f conf$$subs.sh
15066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15067 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15071 s/^/S["/; s
/!.
*/"]=/
15081 s/\(.\{148\}\).*/\1/
15083 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15088 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15095 s/\(.\{148\}\).*/\1/
15097 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15101 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15106 ' <conf$$subs.awk | sed '
15111 ' >>$CONFIG_STATUS || ac_write_fail=1
15112 rm -f conf$$subs.awk
15113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15115 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15116 for (key in S) S_is_set[key] = 1
15122 nfields = split(line, field, "@
")
15124 len = length(field[1])
15125 for (i = 2; i < nfields; i++) {
15127 keylen = length(key)
15128 if (S_is_set[key]) {
15130 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15131 len += length(value) + length(field[++i])
15142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15143 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15144 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15147 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15148 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15151 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15152 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15153 # trailing colons and then remove the whole line if VPATH becomes empty
15154 # (actually we leave an empty line to preserve line numbers).
15155 if test "x
$srcdir" = x.; then
15156 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15157 s/:*\$(srcdir):*/:/
15158 s/:*\${srcdir}:*/:/
15160 s/^\([^=]*=[ ]*\):*/\1/
15166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15167 fi # test -n "$CONFIG_FILES"
15169 # Set up the scripts for CONFIG_HEADERS section.
15170 # No need to generate them if there are no CONFIG_HEADERS.
15171 # This happens for instance with `./config.status Makefile'.
15172 if test -n "$CONFIG_HEADERS"; then
15173 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15177 # Transform confdefs.h into an awk script `defines.awk', embedded as
15178 # here-document in config.status, that substitutes the proper values into
15179 # config.h.in to produce config.h.
15181 # Create a delimiter string that does not exist in confdefs.h, to ease
15182 # handling of long lines.
15184 for ac_last_try in false false :; do
15185 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15186 if test -z "$ac_t"; then
15188 elif $ac_last_try; then
15189 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15191 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15195 # For the awk script, D is an array of macro values keyed by name,
15196 # likewise P contains macro parameters if any. Preserve backslash
15197 # newline sequences.
15199 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15201 s/.\{148\}/&'"$ac_delim"'/g
15204 s/^[ ]*#[ ]*define[ ][ ]*/ /
15211 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15213 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15217 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15218 D["\
1"]=" \
3\\\\\\n
"\\/p
15220 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15225 s/.\{148\}/&'"$ac_delim"'/g
15230 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15233 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15235 ' <confdefs.h | sed '
15236 s/'"$ac_delim"'/"\\\
15237 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15240 for (key in D) D_is_set[key] = 1
15243 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15245 split(line, arg, " ")
15246 if (arg[1] == "#") {
15250 defundef
= substr
(arg
[1], 2)
15253 split(mac1
, mac2
, "(") #)
15255 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15256 if (D_is_set
[macro
]) {
15257 # Preserve the white space surrounding the "#".
15258 print prefix
"define", macro P
[macro
] D
[macro
]
15261 # Replace #undef with comments. This is necessary, for example,
15262 # in the case of _POSIX_SOURCE, which is predefined and required
15263 # on some systems where configure will not decide to define it.
15264 if (defundef
== "undef") {
15265 print
"/*", prefix defundef
, macro
, "*/"
15273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15274 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15275 fi # test -n "$CONFIG_HEADERS"
15278 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15283 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15285 case $ac_mode$ac_tag in
15287 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15288 :[FH
]-) ac_tag
=-:-;;
15289 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15306 -) ac_f
="$tmp/stdin";;
15307 *) # Look for the file first in the build tree, then in the source tree
15308 # (if the path is not absolute). The absolute path cannot be DOS-style,
15309 # because $ac_f cannot contain `:'.
15313 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15315 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15317 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15318 as_fn_append ac_file_inputs
" '$ac_f'"
15321 # Let's still pretend it is `configure' which instantiates (i.e., don't
15322 # use $as_me), people would be surprised to read:
15323 # /* config.h. Generated by config.status. */
15324 configure_input
='Generated from '`
15325 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15327 if test x
"$ac_file" != x-
; then
15328 configure_input
="$ac_file. $configure_input"
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15330 $as_echo "$as_me: creating $ac_file" >&6;}
15332 # Neutralize special characters interpreted by sed in replacement strings.
15333 case $configure_input in #(
15334 *\
&* |
*\|
* |
*\\* )
15335 ac_sed_conf_input
=`$as_echo "$configure_input" |
15336 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15337 *) ac_sed_conf_input
=$configure_input;;
15341 *:-:* |
*:-) cat >"$tmp/stdin" \
15342 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15347 ac_dir
=`$as_dirname -- "$ac_file" ||
15348 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15349 X"$ac_file" : 'X\(//\)[^/]' \| \
15350 X"$ac_file" : 'X\(//\)$' \| \
15351 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15352 $as_echo X"$ac_file" |
15353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15357 /^X\(\/\/\)[^/].*/{
15370 as_dir
="$ac_dir"; as_fn_mkdir_p
15374 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15376 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15377 # A ".." for each directory in $ac_dir_suffix.
15378 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15379 case $ac_top_builddir_sub in
15380 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15381 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15384 ac_abs_top_builddir
=$ac_pwd
15385 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15386 # for backward compatibility:
15387 ac_top_builddir
=$ac_top_build_prefix
15390 .
) # We are building in place.
15392 ac_top_srcdir
=$ac_top_builddir_sub
15393 ac_abs_top_srcdir
=$ac_pwd ;;
15394 [\\/]* | ?
:[\\/]* ) # Absolute name.
15395 ac_srcdir
=$srcdir$ac_dir_suffix;
15396 ac_top_srcdir
=$srcdir
15397 ac_abs_top_srcdir
=$srcdir ;;
15398 *) # Relative name.
15399 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15400 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15401 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15403 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15413 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15414 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15416 ac_MKDIR_P
=$MKDIR_P
15418 [\\/$
]* | ?
:[\\/]* ) ;;
15419 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15424 # If the template does not know about datarootdir, expand it.
15425 # FIXME: This hack should be removed a few years after 2.60.
15426 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15437 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15438 *datarootdir
*) ac_datarootdir_seen
=yes;;
15439 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15441 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15444 ac_datarootdir_hack='
15445 s&@datadir@&$datadir&g
15446 s&@docdir@&$docdir&g
15447 s&@infodir@&$infodir&g
15448 s&@localedir@&$localedir&g
15449 s&@mandir@&$mandir&g
15450 s&\\\${datarootdir}&$datarootdir&g' ;;
15454 # Neutralize VPATH when `$srcdir' = `.'.
15455 # Shell code in configure.ac might set extrasub.
15456 # FIXME: do we really want to maintain this feature?
15457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15458 ac_sed_extra="$ac_vpsub
15461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15463 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15464 s|@configure_input@|
$ac_sed_conf_input|
;t t
15465 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15466 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15467 s
&@srcdir@
&$ac_srcdir&;t t
15468 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15469 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15470 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15471 s
&@builddir@
&$ac_builddir&;t t
15472 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15473 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15474 s
&@INSTALL@
&$ac_INSTALL&;t t
15475 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15476 $ac_datarootdir_hack
15478 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15479 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15481 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15482 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15483 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15485 which seems to be undefined. Please make sure it is defined." >&5
15486 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15487 which seems to be undefined. Please make sure it is defined." >&2;}
15491 -) cat "$tmp/out" && rm -f "$tmp/out";;
15492 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15494 || as_fn_error "could not create $ac_file" "$LINENO" 5
15500 if test x"$ac_file" != x-; then
15502 $as_echo "/* $configure_input */" \
15503 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15504 } >"$tmp/config.h" \
15505 || as_fn_error "could not create $ac_file" "$LINENO" 5
15506 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15508 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15511 mv "$tmp/config.h" "$ac_file" \
15512 || as_fn_error "could not create $ac_file" "$LINENO" 5
15515 $as_echo "/* $configure_input */" \
15516 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15517 || as_fn_error "could not create -" "$LINENO" 5
15519 # Compute "$ac_file"'s index
in $config_headers.
15522 for _am_header
in $config_headers :; do
15523 case $_am_header in
15524 $_am_arg |
$_am_arg:* )
15527 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15530 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15531 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15532 X"$_am_arg" : 'X\(//\)[^/]' \| \
15533 X"$_am_arg" : 'X\(//\)$' \| \
15534 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15535 $as_echo X"$_am_arg" |
15536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15540 /^X\(\/\/\)[^/].*/{
15552 s/.*/./; q'`/stamp-h
$_am_stamp_count
15555 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15556 $as_echo "$as_me: executing $ac_file commands" >&6;}
15561 case $ac_file$ac_mode in
15562 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15563 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15564 # are listed without --file. Let's play safe and only enable the eval
15565 # if we detect the quoting.
15566 case $CONFIG_FILES in
15567 *\'*) eval set x
"$CONFIG_FILES" ;;
15568 *) set x
$CONFIG_FILES ;;
15573 # Strip MF so we end up with the name of the file.
15574 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15575 # Check whether this is an Automake generated Makefile or not.
15576 # We used to match only the files named `Makefile.in', but
15577 # some people rename them; so instead we look at the file content.
15578 # Grep'ing the first line is not enough: some people post-process
15579 # each Makefile.in and add a new line on top of each file to say so.
15580 # Grep'ing the whole file is not good either: AIX grep has a line
15581 # limit of 2048, but all sed's we know have understand at least 4000.
15582 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15583 dirpart
=`$as_dirname -- "$mf" ||
15584 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15585 X"$mf" : 'X\(//\)[^/]' \| \
15586 X"$mf" : 'X\(//\)$' \| \
15587 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15593 /^X\(\/\/\)[^/].*/{
15609 # Extract the definition of DEPDIR, am__include, and am__quote
15610 # from the Makefile without running `make'.
15611 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15612 test -z "$DEPDIR" && continue
15613 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15614 test -z "am__include" && continue
15615 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15616 # When using ansi2knr, U may be empty or an underscore; expand it
15617 U
=`sed -n 's/^U = //p' < "$mf"`
15618 # Find all dependency output files, they are included files with
15619 # $(DEPDIR) in their names. We invoke sed twice because it is the
15620 # simplest approach to changing $(DEPDIR) to its actual value in the
15622 for file in `sed -n "
15623 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15624 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15625 # Make sure the directory exists.
15626 test -f "$dirpart/$file" && continue
15627 fdir
=`$as_dirname -- "$file" ||
15628 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15629 X"$file" : 'X\(//\)[^/]' \| \
15630 X"$file" : 'X\(//\)$' \| \
15631 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15632 $as_echo X"$file" |
15633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15637 /^X\(\/\/\)[^/].*/{
15650 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15651 # echo "creating $dirpart/$file"
15652 echo '# dummy' > "$dirpart/$file"
15659 # See if we are running on zsh, and set the options which allow our
15660 # commands through without removal of \ escapes.
15661 if test -n "${ZSH_VERSION+set}" ; then
15662 setopt NO_GLOB_SUBST
15665 cfgfile
="${ofile}T"
15666 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15669 cat <<_LT_EOF >> "$cfgfile"
15672 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15673 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15674 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15675 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15677 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15678 # 2006, 2007, 2008 Free Software Foundation, Inc.
15679 # Written by Gordon Matzigkeit, 1996
15681 # This file is part of GNU Libtool.
15683 # GNU Libtool is free software; you can redistribute it and/or
15684 # modify it under the terms of the GNU General Public License as
15685 # published by the Free Software Foundation; either version 2 of
15686 # the License, or (at your option) any later version.
15688 # As a special exception to the GNU General Public License,
15689 # if you distribute this file as part of a program or library that
15690 # is built using GNU Libtool, you may include this file under the
15691 # same distribution terms that you use for the rest of that program.
15693 # GNU Libtool is distributed in the hope that it will be useful,
15694 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15695 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15696 # GNU General Public License for more details.
15698 # You should have received a copy of the GNU General Public License
15699 # along with GNU Libtool; see the file COPYING. If not, a copy
15700 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15701 # obtained by writing to the Free Software Foundation, Inc.,
15702 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15705 # The names of the tagged configurations supported by this script.
15708 # ### BEGIN LIBTOOL CONFIG
15710 # Which release of libtool.m4 was used?
15711 macro_version=$macro_version
15712 macro_revision=$macro_revision
15714 # Whether or not to build shared libraries.
15715 build_libtool_libs=$enable_shared
15717 # Whether or not to build static libraries.
15718 build_old_libs=$enable_static
15720 # What type of objects to build.
15723 # Whether or not to optimize for fast installation.
15724 fast_install=$enable_fast_install
15727 host_alias=$host_alias
15731 # The build system.
15732 build_alias=$build_alias
15736 # A sed program that does not truncate output.
15739 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15740 Xsed="\$SED -e 1s/^X//"
15742 # A grep program that handles long lines.
15748 # A literal string matcher.
15751 # A BSD- or MS-compatible name lister.
15754 # Whether we need soft or hard links.
15757 # What is the maximum length of a command?
15758 max_cmd_len=$max_cmd_len
15760 # Object file suffix (normally "o").
15763 # Executable file suffix (normally "").
15766 # whether the shell understands "unset".
15769 # turn spaces into newlines.
15772 # turn newlines into spaces.
15775 # How to create reloadable object files.
15776 reload_flag=$lt_reload_flag
15777 reload_cmds=$lt_reload_cmds
15779 # An object symbol dumper.
15780 OBJDUMP=$lt_OBJDUMP
15782 # Method to check whether dependent libraries are shared objects.
15783 deplibs_check_method=$lt_deplibs_check_method
15785 # Command to use when deplibs_check_method == "file_magic".
15786 file_magic_cmd=$lt_file_magic_cmd
15790 AR_FLAGS=$lt_AR_FLAGS
15792 # A symbol stripping program.
15795 # Commands used to install an old-style archive.
15797 old_postinstall_cmds=$lt_old_postinstall_cmds
15798 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15803 # LTCC compiler flags.
15804 LTCFLAGS=$lt_CFLAGS
15806 # Take the output of nm and produce a listing of raw symbols and C names.
15807 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15809 # Transform the output of nm in a proper C declaration.
15810 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15812 # Transform the output of nm in a C name address pair.
15813 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15815 # Transform the output of nm in a C name address pair when lib prefix is needed.
15816 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15818 # The name of the directory that contains temporary libtool files.
15821 # Shell to use when invoking shell scripts.
15824 # An echo program that does not interpret backslashes.
15827 # Used to examine libraries when file_magic_cmd begins with "file".
15828 MAGIC_CMD=$MAGIC_CMD
15830 # Must we lock files when doing compilation?
15831 need_locks=$lt_need_locks
15833 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15834 DSYMUTIL=$lt_DSYMUTIL
15836 # Tool to change global to local symbols on Mac OS X.
15839 # Tool to manipulate fat objects and archives on Mac OS X.
15842 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15845 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15846 OTOOL64=$lt_OTOOL64
15848 # Old archive suffix (normally "a").
15851 # Shared library suffix (normally ".so").
15852 shrext_cmds=$lt_shrext_cmds
15854 # The commands to extract the exported symbol list from a shared archive.
15855 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15857 # Variables whose values should be saved in libtool wrapper scripts and
15858 # restored at link time.
15859 variables_saved_for_relink=$lt_variables_saved_for_relink
15861 # Do we need the "lib" prefix for modules?
15862 need_lib_prefix=$need_lib_prefix
15864 # Do we need a version for libraries?
15865 need_version=$need_version
15867 # Library versioning type.
15868 version_type=$version_type
15870 # Shared library runtime path variable.
15871 runpath_var=$runpath_var
15873 # Shared library path variable.
15874 shlibpath_var=$shlibpath_var
15876 # Is shlibpath searched before the hard-coded library search path?
15877 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15879 # Format of library name prefix.
15880 libname_spec=$lt_libname_spec
15882 # List of archive names. First name is the real one, the rest are links.
15883 # The last name is the one that the linker finds with -lNAME
15884 library_names_spec=$lt_library_names_spec
15886 # The coded name of the library, if different from the real name.
15887 soname_spec=$lt_soname_spec
15889 # Command to use after installation of a shared archive.
15890 postinstall_cmds=$lt_postinstall_cmds
15892 # Command to use after uninstallation of a shared archive.
15893 postuninstall_cmds=$lt_postuninstall_cmds
15895 # Commands used to finish a libtool library installation in a directory.
15896 finish_cmds=$lt_finish_cmds
15898 # As "finish_cmds", except a single script fragment to be evaled but
15900 finish_eval=$lt_finish_eval
15902 # Whether we should hardcode library paths into libraries.
15903 hardcode_into_libs=$hardcode_into_libs
15905 # Compile-time system search path for libraries.
15906 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15908 # Run-time system search path for libraries.
15909 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15911 # Whether dlopen is supported.
15912 dlopen_support=$enable_dlopen
15914 # Whether dlopen of programs is supported.
15915 dlopen_self=$enable_dlopen_self
15917 # Whether dlopen of statically linked programs is supported.
15918 dlopen_self_static=$enable_dlopen_self_static
15920 # Commands to strip libraries.
15921 old_striplib=$lt_old_striplib
15922 striplib=$lt_striplib
15925 # The linker used to build libraries.
15928 # Commands used to build an old-style archive.
15929 old_archive_cmds=$lt_old_archive_cmds
15931 # A language specific compiler.
15934 # Is the compiler the GNU compiler?
15937 # Compiler flag to turn off builtin functions.
15938 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15940 # How to pass a linker flag through the compiler.
15941 wl=$lt_lt_prog_compiler_wl
15943 # Additional compiler flags for building library objects.
15944 pic_flag=$lt_lt_prog_compiler_pic
15946 # Compiler flag to prevent dynamic linking.
15947 link_static_flag=$lt_lt_prog_compiler_static
15949 # Does compiler simultaneously support -c and -o options?
15950 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15952 # Whether or not to add -lc for building shared libraries.
15953 build_libtool_need_lc=$archive_cmds_need_lc
15955 # Whether or not to disallow shared libs when runtime libs are static.
15956 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15958 # Compiler flag to allow reflexive dlopens.
15959 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15961 # Compiler flag to generate shared objects directly from archives.
15962 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15964 # Whether the compiler copes with passing no objects directly.
15965 compiler_needs_object=$lt_compiler_needs_object
15967 # Create an old-style archive from a shared archive.
15968 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15970 # Create a temporary old-style archive to link instead of a shared archive.
15971 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15973 # Commands used to build a shared archive.
15974 archive_cmds=$lt_archive_cmds
15975 archive_expsym_cmds=$lt_archive_expsym_cmds
15977 # Commands used to build a loadable module if different from building
15978 # a shared archive.
15979 module_cmds=$lt_module_cmds
15980 module_expsym_cmds=$lt_module_expsym_cmds
15982 # Whether we are building with GNU ld or not.
15983 with_gnu_ld=$lt_with_gnu_ld
15985 # Flag that allows shared libraries with undefined symbols to be built.
15986 allow_undefined_flag=$lt_allow_undefined_flag
15988 # Flag that enforces no undefined symbols.
15989 no_undefined_flag=$lt_no_undefined_flag
15991 # Flag to hardcode \$libdir into a binary during linking.
15992 # This must work even if \$libdir does not exist
15993 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15995 # If ld is used when linking, flag to hardcode \$libdir into a binary
15996 # during linking. This must work even if \$libdir does not exist.
15997 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15999 # Whether we need a single "-rpath" flag with a separated argument.
16000 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16002 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16003 # DIR into the resulting binary.
16004 hardcode_direct=$hardcode_direct
16006 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16007 # DIR into the resulting binary and the resulting library dependency is
16008 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16009 # library is relocated.
16010 hardcode_direct_absolute=$hardcode_direct_absolute
16012 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16013 # into the resulting binary.
16014 hardcode_minus_L=$hardcode_minus_L
16016 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16017 # into the resulting binary.
16018 hardcode_shlibpath_var=$hardcode_shlibpath_var
16020 # Set to "yes" if building a shared library automatically hardcodes DIR
16021 # into the library and all subsequent libraries and executables linked
16023 hardcode_automatic=$hardcode_automatic
16025 # Set to yes if linker adds runtime paths of dependent libraries
16026 # to runtime path list.
16027 inherit_rpath=$inherit_rpath
16029 # Whether libtool must link a program against all its dependency libraries.
16030 link_all_deplibs=$link_all_deplibs
16032 # Fix the shell variable \$srcfile for the compiler.
16033 fix_srcfile_path=$lt_fix_srcfile_path
16035 # Set to "yes" if exported symbols are required.
16036 always_export_symbols=$always_export_symbols
16038 # The commands to list exported symbols.
16039 export_symbols_cmds=$lt_export_symbols_cmds
16041 # Symbols that should not be listed in the preloaded symbols.
16042 exclude_expsyms=$lt_exclude_expsyms
16044 # Symbols that must always be exported.
16045 include_expsyms=$lt_include_expsyms
16047 # Commands necessary for linking programs (against libraries) with templates.
16048 prelink_cmds=$lt_prelink_cmds
16050 # Specify filename containing input files.
16051 file_list_spec=$lt_file_list_spec
16053 # How to hardcode a shared library path into an executable.
16054 hardcode_action=$hardcode_action
16056 # ### END LIBTOOL CONFIG
16062 cat <<\_LT_EOF
>> "$cfgfile"
16063 # AIX sometimes has problems with the GCC collect2 program. For some
16064 # reason, if we set the COLLECT_NAMES environment variable, the problems
16065 # vanish in a puff of smoke.
16066 if test "X${COLLECT_NAMES+set}" != Xset
; then
16068 export COLLECT_NAMES
16075 ltmain
="$ac_aux_dir/ltmain.sh"
16078 # We use sed instead of cat because bash on DJGPP gets confused if
16079 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16080 # text mode, it properly converts lines to CR/LF. This bash problem
16081 # is reportedly fixed, but why not run on old versions too?
16082 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16083 ||
(rm -f "$cfgfile"; exit 1)
16087 cat << \_LT_EOF
>> "$cfgfile"
16089 # func_dirname file append nondir_replacement
16090 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16091 # otherwise set result to NONDIR_REPLACEMENT.
16095 */*) func_dirname_result
="${1%/*}${2}" ;;
16096 * ) func_dirname_result
="${3}" ;;
16100 # func_basename file
16103 func_basename_result
="${1##*/}"
16106 # func_dirname_and_basename file append nondir_replacement
16107 # perform func_basename and func_dirname in a single function
16109 # dirname: Compute the dirname of FILE. If nonempty,
16110 # add APPEND to the result, otherwise set result
16111 # to NONDIR_REPLACEMENT.
16112 # value returned in "$func_dirname_result"
16113 # basename: Compute filename of FILE.
16114 # value retuned in "$func_basename_result"
16115 # Implementation must be kept synchronized with func_dirname
16116 # and func_basename. For efficiency, we do not delegate to
16117 # those functions but instead duplicate the functionality here.
16118 func_dirname_and_basename
()
16121 */*) func_dirname_result
="${1%/*}${2}" ;;
16122 * ) func_dirname_result
="${3}" ;;
16124 func_basename_result
="${1##*/}"
16127 # func_stripname prefix suffix name
16128 # strip PREFIX and SUFFIX off of NAME.
16129 # PREFIX and SUFFIX must not contain globbing or regex special
16130 # characters, hashes, percent signs, but SUFFIX may contain a leading
16131 # dot (in which case that matches only a dot).
16134 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16135 # positional parameters, so assign one to ordinary parameter first.
16136 func_stripname_result
=${3}
16137 func_stripname_result
=${func_stripname_result#"${1}"}
16138 func_stripname_result
=${func_stripname_result%"${2}"}
16144 func_opt_split_opt
=${1%%=*}
16145 func_opt_split_arg
=${1#*=}
16152 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16153 *) func_lo2o_result
=${1} ;;
16157 # func_xform libobj-or-source
16160 func_xform_result
=${1%.*}.lo
16163 # func_arith arithmetic-term...
16166 func_arith_result
=$
(( $
* ))
16170 # STRING may not start with a hyphen.
16173 func_len_result
=${#1}
16178 *) # Bourne compatible functions.
16179 cat << \_LT_EOF
>> "$cfgfile"
16181 # func_dirname file append nondir_replacement
16182 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16183 # otherwise set result to NONDIR_REPLACEMENT.
16186 # Extract subdirectory from the argument.
16187 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16188 if test "X$func_dirname_result" = "X${1}"; then
16189 func_dirname_result
="${3}"
16191 func_dirname_result
="$func_dirname_result${2}"
16195 # func_basename file
16198 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
16202 # func_stripname prefix suffix name
16203 # strip PREFIX and SUFFIX off of NAME.
16204 # PREFIX and SUFFIX must not contain globbing or regex special
16205 # characters, hashes, percent signs, but SUFFIX may contain a leading
16206 # dot (in which case that matches only a dot).
16207 # func_strip_suffix prefix name
16211 .
*) func_stripname_result
=`$ECHO "X${3}" \
16212 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16213 *) func_stripname_result
=`$ECHO "X${3}" \
16214 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16219 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16220 my_sed_long_arg
='1s/^-[^=]*=//'
16225 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16226 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16232 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16235 # func_xform libobj-or-source
16238 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16241 # func_arith arithmetic-term...
16244 func_arith_result
=`expr "$@"`
16248 # STRING may not start with a hyphen.
16251 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16257 case $lt_shell_append in
16259 cat << \_LT_EOF
>> "$cfgfile"
16261 # func_append var value
16262 # Append VALUE to the end of shell variable VAR.
16270 cat << \_LT_EOF
>> "$cfgfile"
16272 # func_append var value
16273 # Append VALUE to the end of shell variable VAR.
16284 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16285 ||
(rm -f "$cfgfile"; exit 1)
16287 mv -f "$cfgfile" "$ofile" ||
16288 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16293 for ac_file
in $CONFIG_FILES; do
16294 # Support "outfile[:infile[:infile...]]"
16296 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16298 # PO directories have a Makefile.in generated from Makefile.in.in.
16299 case "$ac_file" in */Makefile.
in)
16300 # Adjust a relative srcdir.
16301 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16302 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
16303 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16304 # In autoconf-2.13 it is called $ac_given_srcdir.
16305 # In autoconf-2.50 it is called $srcdir.
16306 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16307 case "$ac_given_srcdir" in
16308 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16309 /*) top_srcdir
="$ac_given_srcdir" ;;
16310 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16312 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16313 rm -f "$ac_dir/POTFILES"
16314 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16315 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16316 POMAKEFILEDEPS
="POTFILES.in"
16317 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16318 # on $ac_dir but don't depend on user-specified configuration
16320 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16321 # The LINGUAS file contains the set of available languages.
16322 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16323 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16325 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16326 # Hide the ALL_LINGUAS assigment from automake.
16327 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16328 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16330 # The set of available languages was given in configure.in.
16331 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16333 case "$ac_given_srcdir" in
16335 *) srcdirpre
='$(srcdir)/' ;;
16341 for lang
in $ALL_LINGUAS; do
16342 POFILES
="$POFILES $srcdirpre$lang.po"
16343 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16344 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16345 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16347 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16348 # environment variable.
16350 if test -n "$ALL_LINGUAS"; then
16351 for presentlang
in $ALL_LINGUAS; do
16353 if test "%UNSET%" != "$LINGUAS"; then
16354 desiredlanguages
="$LINGUAS"
16356 desiredlanguages
="$ALL_LINGUAS"
16358 for desiredlang
in $desiredlanguages; do
16359 # Use the presentlang catalog if desiredlang is
16360 # a. equal to presentlang, or
16361 # b. a variant of presentlang (because in this case,
16362 # presentlang can be used as a fallback for messages
16363 # which are not translated in the desiredlang catalog).
16364 case "$desiredlang" in
16365 "$presentlang"*) useit
=yes;;
16368 if test $useit = yes; then
16369 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16374 if test -n "$INST_LINGUAS"; then
16375 for lang
in $INST_LINGUAS; do
16376 CATALOGS
="$CATALOGS $lang.gmo"
16379 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16380 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"
16381 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16382 if test -f "$f"; then
16384 *.orig |
*.bak |
*~
) ;;
16385 *) cat "$f" >> "$ac_dir/Makefile" ;;
16400 ac_clean_files
=$ac_clean_files_save
16402 test $ac_write_fail = 0 ||
16403 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16406 # configure is writing to config.log, and then calls config.status.
16407 # config.status does its own redirection, appending to config.log.
16408 # Unfortunately, on DOS this fails, as config.log is still kept open
16409 # by configure, so config.status won't be able to write to it; its
16410 # output is simply discarded. So we exec the FD to /dev/null,
16411 # effectively closing config.log, so it can be properly (re)opened and
16412 # appended to by config.status. When coming back to configure, we
16413 # need to make the FD available again.
16414 if test "$no_create" != yes; then
16416 ac_config_status_args
=
16417 test "$silent" = yes &&
16418 ac_config_status_args
="$ac_config_status_args --quiet"
16420 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16422 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16423 # would make configure fail if this is the last instruction.
16424 $ac_cs_success || as_fn_exit $?
16426 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16428 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}