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
="as.h"
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
749 MAINTAINER_MODE_FALSE
819 INSTALL_STRIP_PROGRAM
880 program_transform_name
893 enable_option_checking
894 enable_dependency_tracking
905 enable_build_warnings
907 enable_maintainer_mode
909 ac_precious_vars
='build_alias
922 # Initialize some variables set by options.
924 ac_init_version
=false
925 ac_unrecognized_opts
=
927 # The variables have the same names as the options, with
928 # dashes changed to underlines.
936 program_transform_name
=s
,x
,x
,
944 # Installation directory options.
945 # These are left unexpanded so users can "make install exec_prefix=/foo"
946 # and all the variables that are supposed to be based on exec_prefix
947 # by default will actually change.
948 # Use braces instead of parens because sh, perl, etc. also accept them.
949 # (The list follows the same order as the GNU Coding Standards.)
950 bindir
='${exec_prefix}/bin'
951 sbindir
='${exec_prefix}/sbin'
952 libexecdir
='${exec_prefix}/libexec'
953 datarootdir
='${prefix}/share'
954 datadir
='${datarootdir}'
955 sysconfdir
='${prefix}/etc'
956 sharedstatedir
='${prefix}/com'
957 localstatedir
='${prefix}/var'
958 includedir
='${prefix}/include'
959 oldincludedir
='/usr/include'
960 docdir
='${datarootdir}/doc/${PACKAGE}'
961 infodir
='${datarootdir}/info'
966 libdir
='${exec_prefix}/lib'
967 localedir
='${datarootdir}/locale'
968 mandir
='${datarootdir}/man'
974 # If the previous option needs an argument, assign it.
975 if test -n "$ac_prev"; then
976 eval $ac_prev=\
$ac_option
982 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 # Accept the important Cygnus configure options, so we can diagnose typos.
988 case $ac_dashdash$ac_option in
992 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
994 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
997 -build |
--build |
--buil |
--bui |
--bu)
998 ac_prev
=build_alias
;;
999 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1000 build_alias
=$ac_optarg ;;
1002 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1003 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1004 ac_prev
=cache_file
;;
1005 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1006 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1007 cache_file
=$ac_optarg ;;
1009 --config-cache |
-C)
1010 cache_file
=config.cache
;;
1012 -datadir |
--datadir |
--datadi |
--datad)
1014 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1015 datadir
=$ac_optarg ;;
1017 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1018 |
--dataroo |
--dataro |
--datar)
1019 ac_prev
=datarootdir
;;
1020 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1021 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1022 datarootdir
=$ac_optarg ;;
1024 -disable-* |
--disable-*)
1025 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1028 as_fn_error
"invalid feature name: $ac_useropt"
1029 ac_useropt_orig
=$ac_useropt
1030 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1033 "enable_
$ac_useropt"
1035 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1036 ac_unrecognized_sep
=', ';;
1038 eval enable_
$ac_useropt=no
;;
1040 -docdir |
--docdir |
--docdi |
--doc |
--do)
1042 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1043 docdir
=$ac_optarg ;;
1045 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1047 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1048 dvidir
=$ac_optarg ;;
1050 -enable-* |
--enable-*)
1051 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1054 as_fn_error
"invalid feature name: $ac_useropt"
1055 ac_useropt_orig
=$ac_useropt
1056 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1059 "enable_
$ac_useropt"
1061 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1062 ac_unrecognized_sep
=', ';;
1064 eval enable_
$ac_useropt=\
$ac_optarg ;;
1066 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1067 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1068 |
--exec |
--exe |
--ex)
1069 ac_prev
=exec_prefix
;;
1070 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1071 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1072 |
--exec=* |
--exe=* |
--ex=*)
1073 exec_prefix
=$ac_optarg ;;
1075 -gas |
--gas |
--ga |
--g)
1076 # Obsolete; use --with-gas.
1079 -help |
--help |
--hel |
--he |
-h)
1080 ac_init_help
=long
;;
1081 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1082 ac_init_help
=recursive
;;
1083 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1084 ac_init_help
=short
;;
1086 -host |
--host |
--hos |
--ho)
1087 ac_prev
=host_alias
;;
1088 -host=* |
--host=* |
--hos=* |
--ho=*)
1089 host_alias
=$ac_optarg ;;
1091 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1093 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1095 htmldir
=$ac_optarg ;;
1097 -includedir |
--includedir |
--includedi |
--included |
--include \
1098 |
--includ |
--inclu |
--incl |
--inc)
1099 ac_prev
=includedir
;;
1100 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1101 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1102 includedir
=$ac_optarg ;;
1104 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1106 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1107 infodir
=$ac_optarg ;;
1109 -libdir |
--libdir |
--libdi |
--libd)
1111 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1112 libdir
=$ac_optarg ;;
1114 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1115 |
--libexe |
--libex |
--libe)
1116 ac_prev
=libexecdir
;;
1117 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1118 |
--libexe=* |
--libex=* |
--libe=*)
1119 libexecdir
=$ac_optarg ;;
1121 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1122 ac_prev
=localedir
;;
1123 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1124 localedir
=$ac_optarg ;;
1126 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1127 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1128 ac_prev
=localstatedir
;;
1129 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1130 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1131 localstatedir
=$ac_optarg ;;
1133 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1135 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1136 mandir
=$ac_optarg ;;
1138 -nfp |
--nfp |
--nf)
1139 # Obsolete; use --without-fp.
1142 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1143 |
--no-cr |
--no-c |
-n)
1146 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1147 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1150 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1151 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1152 |
--oldin |
--oldi |
--old |
--ol |
--o)
1153 ac_prev
=oldincludedir
;;
1154 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1155 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1156 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1157 oldincludedir
=$ac_optarg ;;
1159 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1161 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1162 prefix
=$ac_optarg ;;
1164 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1165 |
--program-pre |
--program-pr |
--program-p)
1166 ac_prev
=program_prefix
;;
1167 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1168 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1169 program_prefix
=$ac_optarg ;;
1171 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1172 |
--program-suf |
--program-su |
--program-s)
1173 ac_prev
=program_suffix
;;
1174 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1175 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1176 program_suffix
=$ac_optarg ;;
1178 -program-transform-name |
--program-transform-name \
1179 |
--program-transform-nam |
--program-transform-na \
1180 |
--program-transform-n |
--program-transform- \
1181 |
--program-transform |
--program-transfor \
1182 |
--program-transfo |
--program-transf \
1183 |
--program-trans |
--program-tran \
1184 |
--progr-tra |
--program-tr |
--program-t)
1185 ac_prev
=program_transform_name
;;
1186 -program-transform-name=* |
--program-transform-name=* \
1187 |
--program-transform-nam=* |
--program-transform-na=* \
1188 |
--program-transform-n=* |
--program-transform-=* \
1189 |
--program-transform=* |
--program-transfor=* \
1190 |
--program-transfo=* |
--program-transf=* \
1191 |
--program-trans=* |
--program-tran=* \
1192 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1193 program_transform_name
=$ac_optarg ;;
1195 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1197 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1198 pdfdir
=$ac_optarg ;;
1200 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1202 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1205 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1206 |
-silent |
--silent |
--silen |
--sile |
--sil)
1209 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1211 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1213 sbindir
=$ac_optarg ;;
1215 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1216 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1217 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1219 ac_prev
=sharedstatedir
;;
1220 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1221 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1222 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1224 sharedstatedir
=$ac_optarg ;;
1226 -site |
--site |
--sit)
1228 -site=* |
--site=* |
--sit=*)
1231 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1233 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1234 srcdir
=$ac_optarg ;;
1236 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1237 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1238 ac_prev
=sysconfdir
;;
1239 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1240 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1241 sysconfdir
=$ac_optarg ;;
1243 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1244 ac_prev
=target_alias
;;
1245 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1246 target_alias
=$ac_optarg ;;
1248 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1251 -version |
--version |
--versio |
--versi |
--vers |
-V)
1252 ac_init_version
=: ;;
1255 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1258 as_fn_error
"invalid package name: $ac_useropt"
1259 ac_useropt_orig
=$ac_useropt
1260 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1265 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1266 ac_unrecognized_sep
=', ';;
1268 eval with_
$ac_useropt=\
$ac_optarg ;;
1270 -without-* |
--without-*)
1271 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1274 as_fn_error
"invalid package name: $ac_useropt"
1275 ac_useropt_orig
=$ac_useropt
1276 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277 case $ac_user_opts in
1281 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1282 ac_unrecognized_sep
=', ';;
1284 eval with_
$ac_useropt=no
;;
1287 # Obsolete; use --with-x.
1290 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1291 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1292 ac_prev
=x_includes
;;
1293 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1294 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1295 x_includes
=$ac_optarg ;;
1297 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1298 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1299 ac_prev
=x_libraries
;;
1300 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1301 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1302 x_libraries
=$ac_optarg ;;
1304 -*) as_fn_error
"unrecognized option: \`$ac_option'
1305 Try \`$0 --help' for more information."
1309 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1310 # Reject names that are not valid shell variable names.
1311 case $ac_envvar in #(
1312 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1313 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1315 eval $ac_envvar=\
$ac_optarg
1316 export $ac_envvar ;;
1319 # FIXME: should be removed in autoconf 3.0.
1320 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1321 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1322 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1323 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1329 if test -n "$ac_prev"; then
1330 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1331 as_fn_error
"missing argument to $ac_option"
1334 if test -n "$ac_unrecognized_opts"; then
1335 case $enable_option_checking in
1337 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1338 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1342 # Check all directory arguments for consistency.
1343 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1344 datadir sysconfdir sharedstatedir localstatedir includedir \
1345 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1346 libdir localedir mandir
1348 eval ac_val
=\$
$ac_var
1349 # Remove trailing slashes.
1352 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1353 eval $ac_var=\
$ac_val;;
1355 # Be sure to have absolute directory names.
1357 [\\/$
]* | ?
:[\\/]* ) continue;;
1358 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1360 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1363 # There might be people who depend on the old broken behavior: `$host'
1364 # used to hold the argument of --host etc.
1365 # FIXME: To remove some day.
1368 target
=$target_alias
1370 # FIXME: To remove some day.
1371 if test "x$host_alias" != x
; then
1372 if test "x$build_alias" = x
; then
1373 cross_compiling
=maybe
1374 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1375 If a cross compiler is detected then cross compile mode will be used." >&2
1376 elif test "x$build_alias" != "x$host_alias"; then
1382 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1384 test "$silent" = yes && exec 6>/dev
/null
1387 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1388 ac_ls_di
=`ls -di .` &&
1389 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1390 as_fn_error
"working directory cannot be determined"
1391 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1392 as_fn_error
"pwd does not report name of working directory"
1395 # Find the source files, if location was not specified.
1396 if test -z "$srcdir"; then
1397 ac_srcdir_defaulted
=yes
1398 # Try the directory containing this script, then the parent directory.
1399 ac_confdir
=`$as_dirname -- "$as_myself" ||
1400 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1401 X"$as_myself" : 'X\(//\)[^/]' \| \
1402 X"$as_myself" : 'X\(//\)$' \| \
1403 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1404 $as_echo X"$as_myself" |
1405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1427 ac_srcdir_defaulted
=no
1429 if test ! -r "$srcdir/$ac_unique_file"; then
1430 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1431 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1433 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1435 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1437 # When building in place, set srcdir=.
1438 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 # Remove unnecessary trailing slashes from srcdir.
1442 # Double slashes in file names in object file debugging info
1443 # mess up M-x gdb in Emacs.
1445 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 for ac_var
in $ac_precious_vars; do
1448 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1450 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1451 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1455 # Report the --help message.
1457 if test "$ac_init_help" = "long"; then
1458 # Omit some internal or obsolete options to make the list less imposing.
1459 # This message is too long to be a string in the A/UX 3.1 sh.
1461 \`configure' configures this package to adapt to many kinds of systems.
1463 Usage: $0 [OPTION]... [VAR=VALUE]...
1465 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1466 VAR=VALUE. See below for descriptions of some of the useful variables.
1468 Defaults for the options are specified in brackets.
1471 -h, --help display this help and exit
1472 --help=short display options specific to this package
1473 --help=recursive display the short help of all the included packages
1474 -V, --version display version information and exit
1475 -q, --quiet, --silent do not print \`checking...' messages
1476 --cache-file=FILE cache test results in FILE [disabled]
1477 -C, --config-cache alias for \`--cache-file=config.cache'
1478 -n, --no-create do not create output files
1479 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1481 Installation directories:
1482 --prefix=PREFIX install architecture-independent files in PREFIX
1483 [$ac_default_prefix]
1484 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 By default, \`make install' will install all the files in
1488 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1489 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1490 for instance \`--prefix=\$HOME'.
1492 For better control, use the options below.
1494 Fine tuning of the installation directories:
1495 --bindir=DIR user executables [EPREFIX/bin]
1496 --sbindir=DIR system admin executables [EPREFIX/sbin]
1497 --libexecdir=DIR program executables [EPREFIX/libexec]
1498 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1499 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1500 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1501 --libdir=DIR object code libraries [EPREFIX/lib]
1502 --includedir=DIR C header files [PREFIX/include]
1503 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1504 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1505 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1506 --infodir=DIR info documentation [DATAROOTDIR/info]
1507 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1508 --mandir=DIR man documentation [DATAROOTDIR/man]
1509 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1510 --htmldir=DIR html documentation [DOCDIR]
1511 --dvidir=DIR dvi documentation [DOCDIR]
1512 --pdfdir=DIR pdf documentation [DOCDIR]
1513 --psdir=DIR ps documentation [DOCDIR]
1519 --program-prefix=PREFIX prepend PREFIX to installed program names
1520 --program-suffix=SUFFIX append SUFFIX to installed program names
1521 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1524 --build=BUILD configure
for building on BUILD
[guessed
]
1525 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1526 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1530 if test -n "$ac_init_help"; then
1535 --disable-option-checking ignore unrecognized
--enable/--with options
1536 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1537 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1538 --disable-dependency-tracking speeds up one-time build
1539 --enable-dependency-tracking do not reject slow dependency extractors
1540 --disable-largefile omit support
for large files
1541 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1542 --enable-static[=PKGS
] build static libraries
[default
=yes]
1543 --enable-fast-install[=PKGS
]
1544 optimize
for fast installation
[default
=yes]
1545 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1546 --enable-targets alternative target configurations besides the primary
1547 --enable-checking enable run-time checks
1548 --enable-werror treat compile warnings as errors
1549 --enable-build-warnings enable build-time compiler warnings
1550 --disable-nls do not use Native Language Support
1551 --enable-maintainer-mode enable make rules and dependencies not useful
1552 (and sometimes confusing
) to the casual installer
1555 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1556 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1557 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1559 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1561 Some influential environment variables
:
1562 CC C compiler
command
1563 CFLAGS C compiler flags
1564 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1565 nonstandard directory
<lib dir
>
1566 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1567 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1568 you have headers
in a nonstandard directory
<include dir
>
1570 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1571 the first program found out of: `bison
-y', `byacc', `yacc'.
1572 YFLAGS The list of arguments that will be passed by default to $YACC.
1573 This script will default YFLAGS to the empty string to avoid a
1574 default value of `-d' given by some make applications.
1576 Use these variables to override the choices made by `configure' or to
help
1577 it to
find libraries and programs with nonstandard names
/locations.
1579 Report bugs to the package provider.
1584 if test "$ac_init_help" = "recursive"; then
1585 # If there are subdirs, report their specific --help.
1586 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1587 test -d "$ac_dir" ||
1588 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1593 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1595 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1596 # A ".." for each directory in $ac_dir_suffix.
1597 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1598 case $ac_top_builddir_sub in
1599 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1600 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1603 ac_abs_top_builddir
=$ac_pwd
1604 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1605 # for backward compatibility:
1606 ac_top_builddir
=$ac_top_build_prefix
1609 .
) # We are building in place.
1611 ac_top_srcdir
=$ac_top_builddir_sub
1612 ac_abs_top_srcdir
=$ac_pwd ;;
1613 [\\/]* | ?
:[\\/]* ) # Absolute name.
1614 ac_srcdir
=$srcdir$ac_dir_suffix;
1615 ac_top_srcdir
=$srcdir
1616 ac_abs_top_srcdir
=$srcdir ;;
1618 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1619 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1620 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1622 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1624 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1625 # Check for guested configure.
1626 if test -f "$ac_srcdir/configure.gnu"; then
1628 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1629 elif test -f "$ac_srcdir/configure"; then
1631 $SHELL "$ac_srcdir/configure" --help=recursive
1633 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1635 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1639 test -n "$ac_init_help" && exit $ac_status
1640 if $ac_init_version; then
1643 generated by GNU Autoconf
2.64
1645 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1646 This configure
script is free software
; the Free Software Foundation
1647 gives unlimited permission to copy
, distribute and modify it.
1652 ## ------------------------ ##
1653 ## Autoconf initialization. ##
1654 ## ------------------------ ##
1656 # ac_fn_c_try_compile LINENO
1657 # --------------------------
1658 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1659 ac_fn_c_try_compile
()
1661 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1662 rm -f conftest.
$ac_objext
1663 if { { ac_try
="$ac_compile"
1665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1666 *) ac_try_echo=$ac_try;;
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_compile") 2>conftest.err
1672 if test -s conftest.err; then
1673 grep -v '^ *+' conftest.err >conftest.er1
1674 cat conftest.er1 >&5
1675 mv -f conftest.er1 conftest.err
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } && {
1679 test -z "$ac_c_werror_flag" ||
1680 test ! -s conftest.err
1681 } && test -s conftest.$ac_objext; then :
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1689 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 } # ac_fn_c_try_compile
1694 # ac_fn_c_try_link LINENO
1695 # -----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded.
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 rm -f conftest.$ac_objext conftest$ac_exeext
1701 if { { ac_try="$ac_link"
1703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1704 *) ac_try_echo
=$ac_try;;
1706 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>conftest.err
1710 if test -s conftest.err
; then
1711 grep -v '^ *+' conftest.err
>conftest.er1
1712 cat conftest.er1
>&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } && {
1717 test -z "$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1719 } && test -s conftest
$ac_exeext && {
1720 test "$cross_compiling" = yes ||
1721 $as_test_x conftest
$ac_exeext
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.
$ac_ext >&5
1730 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1731 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1732 # interfere with the next link command; also delete a directory that is
1733 # left behind by Apple's compiler. We do this before executing the actions.
1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1738 } # ac_fn_c_try_link
1740 # ac_fn_c_try_cpp LINENO
1741 # ----------------------
1742 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1745 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1746 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1749 *) ac_try_echo=$ac_try;;
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1755 if test -s conftest.err; then
1756 grep -v '^ *+' conftest.err >conftest.er1
1757 cat conftest.er1 >&5
1758 mv -f conftest.er1 conftest.err
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; } >/dev/null && {
1762 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1763 test ! -s conftest.err
1767 $as_echo "$as_me: failed program was:" >&5
1768 sed 's/^/| /' conftest.$ac_ext >&5
1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1777 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1778 # -------------------------------------------------------
1779 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1780 # the include files in INCLUDES and setting the cache variable VAR
1782 ac_fn_c_check_header_mongrel ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1788 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1789 $as_echo_n "(cached) " >&6
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1795 # Is the header compilable?
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1797 $as_echo_n "checking $2 usability... " >&6; }
1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1803 if ac_fn_c_try_compile "$LINENO"; then :
1804 ac_header_compiler=yes
1806 ac_header_compiler=no
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1810 $as_echo "$ac_header_compiler" >&6; }
1812 # Is the header present?
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1814 $as_echo_n "checking $2 presence... " >&6; }
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1819 if ac_fn_c_try_cpp "$LINENO"; then :
1820 ac_header_preproc=yes
1822 ac_header_preproc=no
1824 rm -f conftest.err conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1826 $as_echo "$ac_header_preproc" >&6; }
1828 # So? What about this header?
1829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1832 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1834 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1838 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1840 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1842 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1844 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1846 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1850 $as_echo_n "checking for $2... " >&6; }
1851 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1852 $as_echo_n "(cached) " >&6
1854 eval "$3=\$ac_header_compiler"
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862 } # ac_fn_c_check_header_mongrel
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 if { { ac_try="$ac_link"
1873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1874 *) ac_try_echo
=$ac_try;;
1876 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_link") 2>&5
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1882 { { case "(($ac_try" in
1883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_try") 2>&5
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; }; }; then :
1894 $as_echo "$as_me: program exited with status $ac_status" >&5
1895 $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1898 ac_retval=$ac_status
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1906 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1907 # -------------------------------------------------------
1908 # Tests whether HEADER exists and can be compiled using the include files in
1909 # INCLUDES, setting the cache variable VAR accordingly.
1910 ac_fn_c_check_header_compile ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1916 $as_echo_n "(cached) " >&6
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1923 if ac_fn_c_try_compile "$LINENO"; then :
1928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1933 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1935 } # ac_fn_c_check_header_compile
1937 # ac_fn_c_check_func LINENO FUNC VAR
1938 # ----------------------------------
1939 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1940 ac_fn_c_check_func ()
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944 $as_echo_n "checking for $2... " >&6; }
1945 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1946 $as_echo_n "(cached) " >&6
1948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949 /* end confdefs.h. */
1950 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1952 #define $2 innocuous_$2
1954 /* System header to define __stub macros and hopefully few prototypes,
1955 which can conflict with char $2 (); below.
1956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1957 <limits.h> exists even on freestanding compilers. */
1960 # include <limits.h>
1962 # include <assert.h>
1967 /* Override any GCC internal prototype to avoid an error.
1968 Use char because int might match the return type of a GCC
1969 builtin and then its argument prototype would still apply. */
1974 /* The GNU C library defines this for functions which it implements
1975 to always fail with ENOSYS. Some functions are actually named
1976 something starting with __ and the normal name is an alias. */
1977 #if defined __stub_$2 || defined __stub___$2
1989 if ac_fn_c_try_link "$LINENO"; then :
1994 rm -f core conftest.err conftest.$ac_objext \
1995 conftest$ac_exeext conftest.$ac_ext
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1999 $as_echo "$ac_res" >&6; }
2000 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2002 } # ac_fn_c_check_func
2004 # ac_fn_c_check_decl LINENO SYMBOL VAR
2005 # ------------------------------------
2006 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2007 ac_fn_c_check_decl ()
2009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2011 $as_echo_n "checking whether $2 is declared... " >&6; }
2012 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2013 $as_echo_n "(cached) " >&6
2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2029 if ac_fn_c_try_compile "$LINENO"; then :
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2041 } # ac_fn_c_check_decl
2042 cat >config.log <<_ACEOF
2043 This file contains any messages produced by compilers while
2044 running configure, to aid debugging if configure makes a mistake.
2046 It was created by $as_me, which was
2047 generated by GNU Autoconf 2.64. Invocation command line was
2059 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2060 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2061 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2062 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2063 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2065 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2066 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2068 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2069 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2070 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2071 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2072 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2073 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2074 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir=.
2083 $as_echo "PATH: $as_dir"
2099 # Keep a trace of the command line.
2100 # Strip out --no-create and --no-recursion so they do not pile up.
2101 # Strip out --silent because we don't want to record it for future runs.
2102 # Also quote any args containing shell meta-characters.
2103 # Make two passes to allow for proper duplicate-argument suppression.
2107 ac_must_keep_next=false
2113 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2115 | -silent | --silent | --silen | --sile | --sil)
2118 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2121 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2123 as_fn_append ac_configure_args1 " '$ac_arg'"
2124 if test $ac_must_keep_next = true; then
2125 ac_must_keep_next=false # Got value, back to normal.
2128 *=* | --config-cache | -C | -disable-* | --disable-* \
2129 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2130 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2131 | -with-* | --with-* | -without-* | --without-* | --x)
2132 case "$ac_configure_args0 " in
2133 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2136 -* ) ac_must_keep_next=true ;;
2139 as_fn_append ac_configure_args " '$ac_arg'"
2144 { ac_configure_args0=; unset ac_configure_args0;}
2145 { ac_configure_args1=; unset ac_configure_args1;}
2147 # When interrupted or exit'd, cleanup temporary files, and complete
2148 # config.log. We remove comments because anyway the quotes in there
2149 # would cause problems or look ugly.
2150 # WARNING: Use '\'' to represent an apostrophe within the trap.
2151 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2152 trap 'exit_status=$?
2153 # Save into config.log some information that might help in debugging.
2158 ## ---------------- ##
2159 ## Cache variables. ##
2160 ## ---------------- ##
2163 # The following way of writing the cache mishandles newlines in values,
2165 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2166 eval ac_val=\$$ac_var
2170 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2171 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2174 _ | IFS | as_nl) ;; #(
2175 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2176 *) { eval $ac_var=; unset $ac_var;} ;;
2181 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2182 *${as_nl}ac_space=\ *)
2184 "s/'\''/'\''\\\\'\'''\''/g;
2185 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2188 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2196 ## ----------------- ##
2197 ## Output variables. ##
2198 ## ----------------- ##
2201 for ac_var in $ac_subst_vars
2203 eval ac_val=\$$ac_var
2205 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2207 $as_echo "$ac_var='\''$ac_val'\''"
2211 if test -n "$ac_subst_files"; then
2213 ## ------------------- ##
2214 ## File substitutions. ##
2215 ## ------------------- ##
2218 for ac_var in $ac_subst_files
2220 eval ac_val=\$$ac_var
2222 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2224 $as_echo "$ac_var='\''$ac_val'\''"
2229 if test -s confdefs.h; then
2239 test "$ac_signal" != 0 &&
2240 $as_echo "$as_me: caught signal $ac_signal"
2241 $as_echo "$as_me: exit $exit_status"
2243 rm -f core *.core core.conftest.* &&
2244 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2247 for ac_signal in 1 2 13 15; do
2248 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2252 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2253 rm -f -r conftest* confdefs.h
2255 $as_echo "/* confdefs.h */" > confdefs.h
2257 # Predefined preprocessor variables.
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_NAME "$PACKAGE_NAME"
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_STRING "$PACKAGE_STRING"
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_URL "$PACKAGE_URL"
2284 # Let the site file select an alternate cache file if it wants to.
2285 # Prefer an explicitly selected file to automatically selected ones.
2288 if test -n "$CONFIG_SITE"; then
2289 ac_site_file1=$CONFIG_SITE
2290 elif test "x$prefix" != xNONE; then
2291 ac_site_file1=$prefix/share/config.site
2292 ac_site_file2=$prefix/etc/config.site
2294 ac_site_file1=$ac_default_prefix/share/config.site
2295 ac_site_file2=$ac_default_prefix/etc/config.site
2297 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2299 test "x$ac_site_file" = xNONE && continue
2300 if test -r "$ac_site_file"; then
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2302 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2303 sed 's/^/| /' "$ac_site_file" >&5
2308 if test -r "$cache_file"; then
2309 # Some versions of bash will fail to source /dev/null (special
2310 # files actually), so we avoid doing that.
2311 if test -f "$cache_file"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2313 $as_echo "$as_me: loading cache $cache_file" >&6;}
2315 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2316 *) . "./$cache_file";;
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2321 $as_echo "$as_me: creating cache $cache_file" >&6;}
2325 # Check that the precious variables saved in the cache have kept the same
2327 ac_cache_corrupted=false
2328 for ac_var in $ac_precious_vars; do
2329 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2330 eval ac_new_set=\$ac_env_${ac_var}_set
2331 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2332 eval ac_new_val=\$ac_env_${ac_var}_value
2333 case $ac_old_set,$ac_new_set in
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2336 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2337 ac_cache_corrupted=: ;;
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2340 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2341 ac_cache_corrupted=: ;;
2344 if test "x$ac_old_val" != "x$ac_new_val"; then
2345 # differences in whitespace do not lead to failure.
2346 ac_old_val_w=`echo x
$ac_old_val`
2347 ac_new_val_w=`echo x
$ac_new_val`
2348 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2350 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2351 ac_cache_corrupted=:
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2354 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2355 eval $ac_var=\$ac_old_val
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2358 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2360 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2363 # Pass precious variables to config.status.
2364 if test "$ac_new_set" = set; then
2366 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2367 *) ac_arg=$ac_var=$ac_new_val ;;
2369 case " $ac_configure_args " in
2370 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2371 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2375 if $ac_cache_corrupted; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2379 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2380 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2382 ## -------------------- ##
2383 ## Main body of script. ##
2384 ## -------------------- ##
2387 ac_cpp='$CPP $CPPFLAGS'
2388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2399 for ac_dir in .. "$srcdir"/..; do
2400 for ac_t in install-sh install.sh shtool; do
2401 if test -f "$ac_dir/$ac_t"; then
2403 ac_install_sh="$ac_aux_dir/$ac_t -c"
2408 if test -z "$ac_aux_dir"; then
2409 as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2412 # These three variables are undocumented and unsupported,
2413 # and are intended to be withdrawn in a future Autoconf release.
2414 # They can cause serious problems if a builder's source tree is in a directory
2415 # whose full name contains unusual characters.
2416 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2417 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2418 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2421 # Make sure we can run config.sub.
2422 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2423 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2426 $as_echo_n "checking build system type... " >&6; }
2427 if test "${ac_cv_build+set}" = set; then :
2428 $as_echo_n "(cached) " >&6
2430 ac_build_alias=$build_alias
2431 test "x$ac_build_alias" = x &&
2432 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2433 test "x$ac_build_alias" = x &&
2434 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2435 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2440 $as_echo "$ac_cv_build" >&6; }
2441 case $ac_cv_build in
2443 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2446 ac_save_IFS=$IFS; IFS='-'
2452 # Remember, the first character of IFS is used to create $*,
2453 # except with old shells:
2456 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2460 $as_echo_n "checking host system type... " >&6; }
2461 if test "${ac_cv_host+set}" = set; then :
2462 $as_echo_n "(cached) " >&6
2464 if test "x$host_alias" = x; then
2465 ac_cv_host=$ac_cv_build
2467 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2468 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2473 $as_echo "$ac_cv_host" >&6; }
2476 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2479 ac_save_IFS=$IFS; IFS='-'
2485 # Remember, the first character of IFS is used to create $*,
2486 # except with old shells:
2489 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2493 $as_echo_n "checking target system type... " >&6; }
2494 if test "${ac_cv_target+set}" = set; then :
2495 $as_echo_n "(cached) " >&6
2497 if test "x$target_alias" = x; then
2498 ac_cv_target=$ac_cv_host
2500 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2501 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2506 $as_echo "$ac_cv_target" >&6; }
2507 case $ac_cv_target in
2509 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2511 target=$ac_cv_target
2512 ac_save_IFS=$IFS; IFS='-'
2518 # Remember, the first character of IFS is used to create $*,
2519 # except with old shells:
2522 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2525 # The aliases save the names the user supplied, while $host etc.
2526 # will get canonicalized.
2527 test -n "$target_alias" &&
2528 test "$program_prefix$program_suffix$program_transform_name" = \
2530 program_prefix=${target_alias}-
2532 ac_cpp='$CPP $CPPFLAGS'
2533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2536 if test -n "$ac_tool_prefix"; then
2537 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2538 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540 $as_echo_n "checking for $ac_word... " >&6; }
2541 if test "${ac_cv_prog_CC+set}" = set; then :
2542 $as_echo_n "(cached) " >&6
2544 if test -n "$CC"; then
2545 ac_cv_prog_CC="$CC" # Let the user override the test.
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2554 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 if test -n "$CC"; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2567 $as_echo "$CC" >&6; }
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570 $as_echo "no" >&6; }
2575 if test -z "$ac_cv_prog_CC"; then
2577 # Extract the first word of "gcc", so it can be a program name with args.
2578 set dummy gcc; ac_word=$2
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2580 $as_echo_n "checking for $ac_word... " >&6; }
2581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2582 $as_echo_n "(cached) " >&6
2584 if test -n "$ac_ct_CC"; then
2585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 test -z "$as_dir" && as_dir=.
2592 for ac_exec_ext in '' $ac_executable_extensions; do
2593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2594 ac_cv_prog_ac_ct_CC="gcc"
2595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2605 if test -n "$ac_ct_CC"; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2607 $as_echo "$ac_ct_CC" >&6; }
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2610 $as_echo "no" >&6; }
2613 if test "x$ac_ct_CC" = x; then
2616 case $cross_compiling:$ac_tool_warned in
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2620 ac_tool_warned=yes ;;
2628 if test -z "$CC"; then
2629 if test -n "$ac_tool_prefix"; then
2630 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2631 set dummy ${ac_tool_prefix}cc; ac_word=$2
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2633 $as_echo_n "checking for $ac_word... " >&6; }
2634 if test "${ac_cv_prog_CC+set}" = set; then :
2635 $as_echo_n "(cached) " >&6
2637 if test -n "$CC"; then
2638 ac_cv_prog_CC="$CC" # Let the user override the test.
2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir=.
2645 for ac_exec_ext in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 ac_cv_prog_CC="${ac_tool_prefix}cc"
2648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 if test -n "$CC"; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2660 $as_echo "$CC" >&6; }
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2663 $as_echo "no" >&6; }
2669 if test -z "$CC"; then
2670 # Extract the first word of "cc", so it can be a program name with args.
2671 set dummy cc; ac_word=$2
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2673 $as_echo_n "checking for $ac_word... " >&6; }
2674 if test "${ac_cv_prog_CC+set}" = set; then :
2675 $as_echo_n "(cached) " >&6
2677 if test -n "$CC"; then
2678 ac_cv_prog_CC="$CC" # Let the user override the test.
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685 test -z "$as_dir" && as_dir=.
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2688 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2689 ac_prog_rejected=yes
2693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 if test $ac_prog_rejected = yes; then
2701 # We found a bogon in the path, so make sure we never use it.
2702 set dummy $ac_cv_prog_CC
2704 if test $# != 0; then
2705 # We chose a different compiler from the bogus one.
2706 # However, it has the same basename, so the bogon will be chosen
2707 # first if we set CC to just the basename; use the full file name.
2709 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2715 if test -n "$CC"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2717 $as_echo "$CC" >&6; }
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720 $as_echo "no" >&6; }
2725 if test -z "$CC"; then
2726 if test -n "$ac_tool_prefix"; then
2727 for ac_prog in cl.exe
2729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732 $as_echo_n "checking for $ac_word... " >&6; }
2733 if test "${ac_cv_prog_CC+set}" = set; then :
2734 $as_echo_n "(cached) " >&6
2736 if test -n "$CC"; then
2737 ac_cv_prog_CC="$CC" # Let the user override the test.
2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 test -z "$as_dir" && as_dir=.
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 if test -n "$CC"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2759 $as_echo "$CC" >&6; }
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762 $as_echo "no" >&6; }
2766 test -n "$CC" && break
2769 if test -z "$CC"; then
2771 for ac_prog in cl.exe
2773 # Extract the first word of "$ac_prog", so it can be a program name with args.
2774 set dummy $ac_prog; ac_word=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2778 $as_echo_n "(cached) " >&6
2780 if test -n "$ac_ct_CC"; then
2781 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir=.
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_ac_ct_CC="$ac_prog"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2801 if test -n "$ac_ct_CC"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2803 $as_echo "$ac_ct_CC" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2810 test -n "$ac_ct_CC" && break
2813 if test "x$ac_ct_CC" = x; then
2816 case $cross_compiling:$ac_tool_warned in
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2820 ac_tool_warned=yes ;;
2829 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2831 as_fn_error "no acceptable C compiler found
in \
$PATH
2832 See \
`config.log' for more details." "$LINENO" 5; }
2834 # Provide some information about the compiler.
2835 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2838 for ac_option in --version -v -V -qversion; do
2839 { { ac_try="$ac_compiler $ac_option >&5"
2841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2842 *) ac_try_echo
=$ac_try;;
2844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2845 $as_echo "$ac_try_echo"; } >&5
2846 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2848 if test -s conftest.err
; then
2850 ... rest of stderr output deleted ...
2851 10q' conftest.err
>conftest.er1
2852 cat conftest.er1
>&5
2853 rm -f conftest.er1 conftest.err
2855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; }
2859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2870 ac_clean_files_save
=$ac_clean_files
2871 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2872 # Try to create an executable without -o first, disregard a.out.
2873 # It will help us diagnose broken compilers, and finding out an intuition
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2876 $as_echo_n "checking for C compiler default output file name... " >&6; }
2877 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2879 # The possible output files:
2880 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2883 for ac_file
in $ac_files
2886 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2887 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2892 if { { ac_try
="$ac_link_default"
2894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2898 $as_echo "$ac_try_echo"; } >&5
2899 (eval "$ac_link_default") 2>&5
2901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2902 test $ac_status = 0; }; then :
2903 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2904 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2905 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2906 # so that the user can short-circuit this test for compilers unknown to
2908 for ac_file in $ac_files ''
2910 test -f "$ac_file" || continue
2912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2915 # We found the default executable, but exeext='' is most
2919 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2921 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2923 # We set ac_cv_exeext here because the later test for it is not
2924 # safe: cross compilers may not add the suffix if given an `-o'
2925 # argument, so we may need to know it at that point already.
2926 # Even if this section looks crufty: it has the advantage of
2933 test "$ac_cv_exeext" = no && ac_cv_exeext=
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2939 $as_echo "$ac_file" >&6; }
2940 if test -z "$ac_file"; then :
2941 $as_echo "$as_me: failed program was:" >&5
2942 sed 's
/^
/|
/' conftest.$ac_ext >&5
2944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2945 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2946 { as_fn_set_status 77
2947 as_fn_error "C compiler cannot create executables
2948 See \`config.log
' for more details." "$LINENO" 5; }; }
2950 ac_exeext=$ac_cv_exeext
2952 # Check that the compiler produces executables we can run. If not, either
2953 # the compiler is broken, or we cross compile.
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2955 $as_echo_n "checking whether the C compiler works... " >&6; }
2956 # If not cross compiling, check that we can run a simple program.
2957 if test "$cross_compiling" != yes; then
2958 if { ac_try='.
/$ac_file'
2959 { { case "(($ac_try" in
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964 $as_echo "$ac_try_echo"; } >&5
2965 (eval "$ac_try") 2>&5
2967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2968 test $ac_status = 0; }; }; then
2971 if test "$cross_compiling" = maybe; then
2974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2975 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2976 as_fn_error "cannot run C compiled programs.
2977 If you meant to cross compile, use \`--host'.
2978 See \`config.log' for more details.
" "$LINENO" 5; }
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2983 $as_echo "yes" >&6; }
2985 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2986 ac_clean_files=$ac_clean_files_save
2987 # Check that the compiler produces executables we can run. If not, either
2988 # the compiler is broken, or we cross compile.
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2990 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
2992 $as_echo "$cross_compiling" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2995 $as_echo_n "checking
for suffix of executables...
" >&6; }
2996 if { { ac_try="$ac_link"
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3001 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3002 $as_echo "$ac_try_echo"; } >&5
3003 (eval "$ac_link") 2>&5
3005 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3006 test $ac_status = 0; }; then :
3007 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3008 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3009 # work properly (i.e., refer to `conftest.exe'), while it won't with
3011 for ac_file in conftest.exe conftest conftest.*; do
3012 test -f "$ac_file" || continue
3014 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3015 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023 as_fn_error "cannot compute suffix of executables: cannot compile and link
3024 See \`config.log' for more details.
" "$LINENO" 5; }
3026 rm -f conftest$ac_cv_exeext
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3028 $as_echo "$ac_cv_exeext" >&6; }
3030 rm -f conftest.$ac_ext
3031 EXEEXT=$ac_cv_exeext
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3034 $as_echo_n "checking
for suffix of object files...
" >&6; }
3035 if test "${ac_cv_objext+set}" = set; then :
3036 $as_echo_n "(cached
) " >&6
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3049 rm -f conftest.o conftest.obj
3050 if { { ac_try="$ac_compile"
3052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3053 *) ac_try_echo=$ac_try;;
3055 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3056 $as_echo "$ac_try_echo"; } >&5
3057 (eval "$ac_compile") 2>&5
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3060 test $ac_status = 0; }; then :
3061 for ac_file in conftest.o conftest.obj conftest.*; do
3062 test -f "$ac_file" || continue;
3064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3065 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3070 $as_echo "$as_me: failed program was
:" >&5
3071 sed 's/^/| /' conftest.$ac_ext >&5
3073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075 as_fn_error "cannot compute suffix of object files: cannot compile
3076 See \`config.log' for more details.
" "$LINENO" 5; }
3078 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3081 $as_echo "$ac_cv_objext" >&6; }
3082 OBJEXT=$ac_cv_objext
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3085 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3086 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3087 $as_echo_n "(cached
) " >&6
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3103 if ac_fn_c_try_compile "$LINENO"; then :
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3113 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3114 if test $ac_compiler_gnu = yes; then
3119 ac_test_CFLAGS=${CFLAGS+set}
3120 ac_save_CFLAGS=$CFLAGS
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3122 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3123 if test "${ac_cv_prog_cc_g+set}" = set; then :
3124 $as_echo_n "(cached
) " >&6
3126 ac_save_c_werror_flag=$ac_c_werror_flag
3127 ac_c_werror_flag=yes
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131 /* end confdefs.h. */
3141 if ac_fn_c_try_compile "$LINENO"; then :
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3156 if ac_fn_c_try_compile "$LINENO"; then :
3159 ac_c_werror_flag=$ac_save_c_werror_flag
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3172 if ac_fn_c_try_compile "$LINENO"; then :
3175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3180 ac_c_werror_flag=$ac_save_c_werror_flag
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3183 $as_echo "$ac_cv_prog_cc_g" >&6; }
3184 if test "$ac_test_CFLAGS" = set; then
3185 CFLAGS=$ac_save_CFLAGS
3186 elif test $ac_cv_prog_cc_g = yes; then
3187 if test "$GCC" = yes; then
3193 if test "$GCC" = yes; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3200 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3201 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3202 $as_echo_n "(cached
) " >&6
3204 ac_cv_prog_cc_c89=no
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3210 #include <sys/types.h>
3211 #include <sys/stat.h>
3212 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3213 struct buf { int x; };
3214 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3215 static char *e (p, i)
3221 static char *f (char * (*g) (char **, int), char **p, ...)
3226 s = g (p, va_arg (v,int));
3231 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3232 function prototypes and stuff, but not '\xHH' hex character constants.
3233 These don't provoke an error unfortunately, instead are silently treated
3234 as 'x'. The following induces an error, until -std is added to get
3235 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3236 array size at least. It's necessary to write '\x00'==0 to get something
3237 that's true only with -std. */
3238 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3240 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3241 inside strings and character constants. */
3243 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3245 int test (int i, double x);
3246 struct s1 {int (*f) (int a);};
3247 struct s2 {int (*f) (double a);};
3248 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3254 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3259 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3260 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3262 CC="$ac_save_CC $ac_arg"
3263 if ac_fn_c_try_compile "$LINENO"; then :
3264 ac_cv_prog_cc_c89=$ac_arg
3266 rm -f core conftest.err conftest.$ac_objext
3267 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3269 rm -f conftest.$ac_ext
3274 case "x
$ac_cv_prog_cc_c89" in
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3277 $as_echo "none needed
" >&6; } ;;
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3280 $as_echo "unsupported
" >&6; } ;;
3282 CC="$CC $ac_cv_prog_cc_c89"
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3284 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3286 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3291 ac_cpp='$CPP $CPPFLAGS'
3292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing strerror
" >&5
3298 $as_echo_n "checking
for library containing strerror...
" >&6; }
3299 if test "${ac_cv_search_strerror+set}" = set; then :
3300 $as_echo_n "(cached
) " >&6
3302 ac_func_search_save_LIBS=$LIBS
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3306 /* Override any GCC internal prototype to avoid an error.
3307 Use char because int might match the return type of a GCC
3308 builtin and then its argument prototype would still apply. */
3321 for ac_lib in '' cposix; do
3322 if test -z "$ac_lib"; then
3323 ac_res="none required
"
3326 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3328 if ac_fn_c_try_link "$LINENO"; then :
3329 ac_cv_search_strerror=$ac_res
3331 rm -f core conftest.err conftest.$ac_objext \
3333 if test "${ac_cv_search_strerror+set}" = set; then :
3337 if test "${ac_cv_search_strerror+set}" = set; then :
3340 ac_cv_search_strerror=no
3343 LIBS=$ac_func_search_save_LIBS
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_strerror" >&5
3346 $as_echo "$ac_cv_search_strerror" >&6; }
3347 ac_res=$ac_cv_search_strerror
3348 if test "$ac_res" != no; then :
3349 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3354 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
3355 am__api_version='1.11'
3357 # Find a good install program. We prefer a C program (faster),
3358 # so one script is as good as another. But avoid the broken or
3359 # incompatible versions:
3360 # SysV /etc/install, /usr/sbin/install
3361 # SunOS /usr/etc/install
3362 # IRIX /sbin/install
3364 # AmigaOS /C/install, which installs bootblocks on floppy discs
3365 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3366 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3367 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
3368 # OS/2's system install, which has a completely different semantic
3369 # ./install, which can be erroneously created by make from ./install.sh.
3370 # Reject install programs that cannot install multiple files.
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
3372 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
3373 if test -z "$INSTALL"; then
3374 if test "${ac_cv_path_install+set}" = set; then :
3375 $as_echo_n "(cached
) " >&6
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir=.
3382 # Account for people who put trailing slashes in PATH elements.
3383 case $as_dir/ in #((
3384 ./ | .// | /[cC]/* | \
3385 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3386 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3389 # OSF1 and SCO ODT 3.0 have their own names for install.
3390 # Don't use installbsd from OSF since it installs stuff as root
3392 for ac_prog in ginstall scoinst install; do
3393 for ac_exec_ext in '' $ac_executable_extensions; do
3394 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3395 if test $ac_prog = install &&
3396 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3397 # AIX install. It has an incompatible calling convention.
3399 elif test $ac_prog = install &&
3400 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3401 # program-specific install script used by HP pwplus--don't use.
3404 rm -rf conftest.one conftest.two conftest.dir
3405 echo one > conftest.one
3406 echo two > conftest.two
3408 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
3409 test -s conftest.one && test -s conftest.two &&
3410 test -s conftest.dir/conftest.one &&
3411 test -s conftest.dir/conftest.two
3413 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3426 rm -rf conftest.one conftest.two conftest.dir
3429 if test "${ac_cv_path_install+set}" = set; then
3430 INSTALL=$ac_cv_path_install
3432 # As a last resort, use the slow shell script. Don't cache a
3433 # value for INSTALL within a source directory, because that will
3434 # break other packages using the cache if that directory is
3435 # removed, or if the value is a relative name.
3436 INSTALL=$ac_install_sh
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
3440 $as_echo "$INSTALL" >&6; }
3442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3443 # It thinks the first close brace ends the variable substitution.
3444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3448 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
3451 $as_echo_n "checking whether build environment is sane...
" >&6; }
3454 echo timestamp > conftest.file
3455 # Reject unsafe characters in $srcdir or the absolute working directory
3456 # name. Accept space and tab only in the latter.
3460 *[\\\"\#\$\&\'\`$am_lf]*)
3461 as_fn_error "unsafe absolute working directory name
" "$LINENO" 5;;
3464 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3465 as_fn_error "unsafe srcdir value
: \
`$srcdir'" "$LINENO" 5;;
3468 # Do `set' in a subshell so we don't clobber the current shell
's
3469 # arguments. Must try -L first in case configure is actually a
3470 # symlink; some systems play weird games with the mod time of symlinks
3471 # (eg FreeBSD returns the mod time of the symlink's containing
3474 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3475 if test "$*" = "X"; then
3477 set X
`ls -t "$srcdir/configure" conftest.file`
3480 if test "$*" != "X $srcdir/configure conftest.file" \
3481 && test "$*" != "X conftest.file $srcdir/configure"; then
3483 # If neither matched, then we have a broken ls. This can happen
3484 # if, for instance, CONFIG_SHELL is bash and it inherits a
3485 # broken ls alias from the environment. This has actually
3486 # happened. Such a system could not be considered "sane".
3487 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3488 alias in your environment" "$LINENO" 5
3491 test "$2" = conftest.
file
3497 as_fn_error
"newly created file is older than distributed files!
3498 Check your system clock" "$LINENO" 5
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3501 $as_echo "yes" >&6; }
3502 test "$program_prefix" != NONE
&&
3503 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3504 # Use a double $ so make ignores it.
3505 test "$program_suffix" != NONE
&&
3506 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3507 # Double any \ or $.
3508 # By default was `s,x,x', remove it if useless.
3509 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3510 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3512 # expand $ac_aux_dir to an absolute path
3513 am_aux_dir
=`cd $ac_aux_dir && pwd`
3515 if test x
"${MISSING+set}" != xset
; then
3518 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3520 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3523 # Use eval to expand $SHELL
3524 if eval "$MISSING --run true"; then
3525 am_missing_run
="$MISSING --run "
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3529 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3532 if test x
"${install_sh}" != xset
; then
3535 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3537 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3541 # Installed binaries are usually stripped using `strip' when the user
3542 # run `make install-strip'. However `strip' might not be the right
3543 # tool to use in cross-compilation environments, therefore Automake
3544 # will honor the `STRIP' environment variable to overrule this program.
3545 if test "$cross_compiling" != no
; then
3546 if test -n "$ac_tool_prefix"; then
3547 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3548 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if test "${ac_cv_prog_STRIP+set}" = set; then :
3552 $as_echo_n "(cached) " >&6
3554 if test -n "$STRIP"; then
3555 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3561 test -z "$as_dir" && as_dir
=.
3562 for ac_exec_ext
in '' $ac_executable_extensions; do
3563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 STRIP
=$ac_cv_prog_STRIP
3575 if test -n "$STRIP"; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3577 $as_echo "$STRIP" >&6; }
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3585 if test -z "$ac_cv_prog_STRIP"; then
3587 # Extract the first word of "strip", so it can be a program name with args.
3588 set dummy strip
; ac_word
=$2
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3590 $as_echo_n "checking for $ac_word... " >&6; }
3591 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3592 $as_echo_n "(cached) " >&6
3594 if test -n "$ac_ct_STRIP"; then
3595 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3601 test -z "$as_dir" && as_dir
=.
3602 for ac_exec_ext
in '' $ac_executable_extensions; do
3603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3604 ac_cv_prog_ac_ct_STRIP
="strip"
3605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3615 if test -n "$ac_ct_STRIP"; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3617 $as_echo "$ac_ct_STRIP" >&6; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3623 if test "x$ac_ct_STRIP" = x
; then
3626 case $cross_compiling:$ac_tool_warned in
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3630 ac_tool_warned
=yes ;;
3635 STRIP
="$ac_cv_prog_STRIP"
3639 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3642 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3643 if test -z "$MKDIR_P"; then
3644 if test "${ac_cv_path_mkdir+set}" = set; then :
3645 $as_echo_n "(cached) " >&6
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3648 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_prog
in mkdir gmkdir
; do
3653 for ac_exec_ext
in '' $ac_executable_extensions; do
3654 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3655 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3656 'mkdir (GNU coreutils) '* | \
3657 'mkdir (coreutils) '* | \
3658 'mkdir (fileutils) '4.1*)
3659 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3669 if test "${ac_cv_path_mkdir+set}" = set; then
3670 MKDIR_P
="$ac_cv_path_mkdir -p"
3672 # As a last resort, use the slow shell script. Don't cache a
3673 # value for MKDIR_P within a source directory, because that will
3674 # break other packages using the cache if that directory is
3675 # removed, or if the value is a relative name.
3676 test -d .
/--version && rmdir .
/--version
3677 MKDIR_P
="$ac_install_sh -d"
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3681 $as_echo "$MKDIR_P" >&6; }
3685 [\\/$
]* | ?
:[\\/]*) ;;
3686 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3689 for ac_prog
in gawk mawk nawk
awk
3691 # Extract the first word of "$ac_prog", so it can be a program name with args.
3692 set dummy
$ac_prog; ac_word
=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if test "${ac_cv_prog_AWK+set}" = set; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -n "$AWK"; then
3699 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3705 test -z "$as_dir" && as_dir
=.
3706 for ac_exec_ext
in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 ac_cv_prog_AWK
="$ac_prog"
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 if test -n "$AWK"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3721 $as_echo "$AWK" >&6; }
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3728 test -n "$AWK" && break
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3732 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3734 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3735 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3736 $as_echo_n "(cached) " >&6
3738 cat >conftest.
make <<\_ACEOF
3741 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3743 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3744 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3746 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3748 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3752 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3754 $as_echo "yes" >&6; }
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3759 SET_MAKE
="MAKE=${MAKE-make}"
3762 rm -rf .tst
2>/dev
/null
3763 mkdir .tst
2>/dev
/null
3764 if test -d .tst
; then
3769 rmdir .tst
2>/dev
/null
3771 DEPDIR
="${am__leading_dot}deps"
3773 ac_config_commands
="$ac_config_commands depfiles"
3776 am_make
=${MAKE-make}
3777 cat > confinc
<< 'END'
3779 @
echo this is the am__doit target
3782 # If we don't find an include directive, just comment out the code.
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3784 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3788 # First try GNU make style include.
3789 echo "include confinc" > confmf
3790 # Ignore all kinds of additional output from `make'.
3791 case `$am_make -s -f confmf 2> /dev/null` in #(
3792 *the\ am__doit\ target
*)
3798 # Now try BSD make style include.
3799 if test "$am__include" = "#"; then
3800 echo '.include "confinc"' > confmf
3801 case `$am_make -s -f confmf 2> /dev/null` in #(
3802 *the\ am__doit\ target
*)
3803 am__include
=.include
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3812 $as_echo "$_am_result" >&6; }
3813 rm -f confinc confmf
3815 # Check whether --enable-dependency-tracking was given.
3816 if test "${enable_dependency_tracking+set}" = set; then :
3817 enableval
=$enable_dependency_tracking;
3820 if test "x$enable_dependency_tracking" != xno
; then
3821 am_depcomp
="$ac_aux_dir/depcomp"
3824 if test "x$enable_dependency_tracking" != xno; then
3833 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3834 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3835 # is not polluted with repeated "-I."
3836 am__isrc
=' -I$(srcdir)'
3837 # test to see if srcdir already configured
3838 if test -f $srcdir/config.status
; then
3839 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3843 # test whether we have cygpath
3844 if test -z "$CYGPATH_W"; then
3845 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3846 CYGPATH_W
='cygpath -w'
3853 # Define the identity of the package.
3855 VERSION
=${BFD_VERSION}
3858 cat >>confdefs.h
<<_ACEOF
3859 #define PACKAGE "$PACKAGE"
3863 cat >>confdefs.h
<<_ACEOF
3864 #define VERSION "$VERSION"
3867 # Some tools Automake needs.
3869 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3872 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3875 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3878 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3881 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3883 # We need awk for the "check" target. The system "awk" is bad on
3885 # Always define AMTAR for backward compatibility.
3887 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3889 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3894 depcc
="$CC" am_compiler_list
=
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3897 $as_echo_n "checking dependency style of $depcc... " >&6; }
3898 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3899 $as_echo_n "(cached) " >&6
3901 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3902 # We make a subdir and do the tests there. Otherwise we can end up
3903 # making bogus files that we don't know about and never remove. For
3904 # instance it was reported that on HP-UX the gcc test will end up
3905 # making a dummy file named `D' -- because `-MD' means `put the output
3908 # Copy depcomp to subdir because otherwise we won't find it if we're
3909 # using a relative directory.
3910 cp "$am_depcomp" conftest.dir
3912 # We will build objects and dependencies in a subdirectory because
3913 # it helps to detect inapplicable dependency modes. For instance
3914 # both Tru64's cc and ICC support -MD to output dependencies as a
3915 # side effect of compilation, but ICC will put the dependencies in
3916 # the current directory while Tru64 will put them in the object
3920 am_cv_CC_dependencies_compiler_type
=none
3921 if test "$am_compiler_list" = ""; then
3922 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3925 case " $depcc " in #(
3926 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3929 for depmode
in $am_compiler_list; do
3930 # Setup a source with many dependencies, because some compilers
3931 # like to wrap large dependency lists on column 80 (with \), and
3932 # we should not choose a depcomp mode which is confused by this.
3934 # We need to recreate these files for each test, as the compiler may
3935 # overwrite some of them when testing with obscure command lines.
3936 # This happens at least with the AIX C compiler.
3938 for i
in 1 2 3 4 5 6; do
3939 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3940 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3941 # Solaris 8's {/usr,}/bin/sh.
3942 touch sub
/conftst
$i.h
3944 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3946 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3947 # mode. It turns out that the SunPro C++ compiler does not properly
3948 # handle `-M -o', and we need to detect this. Also, some Intel
3949 # versions had trouble with output in subdirs
3950 am__obj
=sub
/conftest.
${OBJEXT-o}
3951 am__minus_obj
="-o $am__obj"
3954 # This depmode causes a compiler race in universal mode.
3955 test "$am__universal" = false ||
continue
3958 # after this tag, mechanisms are not by side-effect, so they'll
3959 # only be used when explicitly requested
3960 if test "x$enable_dependency_tracking" = xyes
; then
3966 msvisualcpp | msvcmsys
)
3967 # This compiler won't grok `-c -o', but also, the minuso test has
3968 # not run yet. These depmodes are late enough in the game, and
3969 # so weak that their functioning should not be impacted.
3970 am__obj
=conftest.
${OBJEXT-o}
3975 if depmode
=$depmode \
3976 source=sub
/conftest.c object
=$am__obj \
3977 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3978 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3979 >/dev
/null
2>conftest.err
&&
3980 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3981 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3982 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3983 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3984 # icc doesn't choke on unknown options, it will just issue warnings
3985 # or remarks (even with -Werror). So we grep stderr for any message
3986 # that says an option was ignored or not supported.
3987 # When given -MP, icc 7.0 and 7.1 complain thusly:
3988 # icc: Command line warning: ignoring option '-M'; no argument required
3989 # The diagnosis changed in icc 8.0:
3990 # icc: Command line remark: option '-MP' not supported
3991 if (grep 'ignoring option' conftest.err ||
3992 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3993 am_cv_CC_dependencies_compiler_type
=$depmode
4002 am_cv_CC_dependencies_compiler_type
=none
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4007 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4008 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4011 test "x$enable_dependency_tracking" != xno \
4012 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4014 am__fastdepCC_FALSE
='#'
4016 am__fastdepCC_TRUE
='#'
4017 am__fastdepCC_FALSE
=
4024 ac_cpp
='$CPP $CPPFLAGS'
4025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4028 if test -n "$ac_tool_prefix"; then
4029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4030 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if test "${ac_cv_prog_CC+set}" = set; then :
4034 $as_echo_n "(cached) " >&6
4036 if test -n "$CC"; then
4037 ac_cv_prog_CC
="$CC" # Let the user override the test.
4039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir
=.
4044 for ac_exec_ext
in '' $ac_executable_extensions; do
4045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4046 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 if test -n "$CC"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4059 $as_echo "$CC" >&6; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4067 if test -z "$ac_cv_prog_CC"; then
4069 # Extract the first word of "gcc", so it can be a program name with args.
4070 set dummy gcc
; ac_word
=$2
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4072 $as_echo_n "checking for $ac_word... " >&6; }
4073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4076 if test -n "$ac_ct_CC"; then
4077 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4083 test -z "$as_dir" && as_dir
=.
4084 for ac_exec_ext
in '' $ac_executable_extensions; do
4085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4086 ac_cv_prog_ac_ct_CC
="gcc"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4097 if test -n "$ac_ct_CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4099 $as_echo "$ac_ct_CC" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4105 if test "x$ac_ct_CC" = x
; then
4108 case $cross_compiling:$ac_tool_warned in
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4112 ac_tool_warned
=yes ;;
4120 if test -z "$CC"; then
4121 if test -n "$ac_tool_prefix"; then
4122 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4123 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125 $as_echo_n "checking for $ac_word... " >&6; }
4126 if test "${ac_cv_prog_CC+set}" = set; then :
4127 $as_echo_n "(cached) " >&6
4129 if test -n "$CC"; then
4130 ac_cv_prog_CC
="$CC" # Let the user override the test.
4132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4136 test -z "$as_dir" && as_dir
=.
4137 for ac_exec_ext
in '' $ac_executable_extensions; do
4138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4139 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4150 if test -n "$CC"; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4152 $as_echo "$CC" >&6; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155 $as_echo "no" >&6; }
4161 if test -z "$CC"; then
4162 # Extract the first word of "cc", so it can be a program name with args.
4163 set dummy cc
; ac_word
=$2
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4165 $as_echo_n "checking for $ac_word... " >&6; }
4166 if test "${ac_cv_prog_CC+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4169 if test -n "$CC"; then
4170 ac_cv_prog_CC
="$CC" # Let the user override the test.
4173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir
=.
4178 for ac_exec_ext
in '' $ac_executable_extensions; do
4179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4180 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4181 ac_prog_rejected
=yes
4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 if test $ac_prog_rejected = yes; then
4193 # We found a bogon in the path, so make sure we never use it.
4194 set dummy
$ac_cv_prog_CC
4196 if test $# != 0; then
4197 # We chose a different compiler from the bogus one.
4198 # However, it has the same basename, so the bogon will be chosen
4199 # first if we set CC to just the basename; use the full file name.
4201 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4207 if test -n "$CC"; then
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4209 $as_echo "$CC" >&6; }
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4212 $as_echo "no" >&6; }
4217 if test -z "$CC"; then
4218 if test -n "$ac_tool_prefix"; then
4219 for ac_prog
in cl.exe
4221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4222 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if test "${ac_cv_prog_CC+set}" = set; then :
4226 $as_echo_n "(cached) " >&6
4228 if test -n "$CC"; then
4229 ac_cv_prog_CC
="$CC" # Let the user override the test.
4231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir
=.
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4238 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 if test -n "$CC"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4251 $as_echo "$CC" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4258 test -n "$CC" && break
4261 if test -z "$CC"; then
4263 for ac_prog
in cl.exe
4265 # Extract the first word of "$ac_prog", so it can be a program name with args.
4266 set dummy
$ac_prog; ac_word
=$2
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268 $as_echo_n "checking for $ac_word... " >&6; }
4269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4272 if test -n "$ac_ct_CC"; then
4273 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4279 test -z "$as_dir" && as_dir
=.
4280 for ac_exec_ext
in '' $ac_executable_extensions; do
4281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4282 ac_cv_prog_ac_ct_CC
="$ac_prog"
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4293 if test -n "$ac_ct_CC"; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4295 $as_echo "$ac_ct_CC" >&6; }
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4302 test -n "$ac_ct_CC" && break
4305 if test "x$ac_ct_CC" = x
; then
4308 case $cross_compiling:$ac_tool_warned in
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4312 ac_tool_warned
=yes ;;
4321 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4323 as_fn_error
"no acceptable C compiler found in \$PATH
4324 See \`config.log' for more details." "$LINENO" 5; }
4326 # Provide some information about the compiler.
4327 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4330 for ac_option
in --version -v -V -qversion; do
4331 { { ac_try
="$ac_compiler $ac_option >&5"
4333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4334 *) ac_try_echo=$ac_try;;
4336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4337 $as_echo "$ac_try_echo"; } >&5
4338 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4340 if test -s conftest.err; then
4342 ... rest of stderr output deleted ...
4343 10q' conftest.err >conftest.er1
4344 cat conftest.er1 >&5
4345 rm -f conftest.er1 conftest.err
4347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4348 test $ac_status = 0; }
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4352 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4353 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4354 $as_echo_n "(cached) " >&6
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4370 if ac_fn_c_try_compile "$LINENO"; then :
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4380 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4381 if test $ac_compiler_gnu = yes; then
4386 ac_test_CFLAGS=${CFLAGS+set}
4387 ac_save_CFLAGS=$CFLAGS
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4389 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4390 if test "${ac_cv_prog_cc_g+set}" = set; then :
4391 $as_echo_n "(cached) " >&6
4393 ac_save_c_werror_flag=$ac_c_werror_flag
4394 ac_c_werror_flag=yes
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4408 if ac_fn_c_try_compile "$LINENO"; then :
4412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413 /* end confdefs.h. */
4423 if ac_fn_c_try_compile "$LINENO"; then :
4426 ac_c_werror_flag=$ac_save_c_werror_flag
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4439 if ac_fn_c_try_compile "$LINENO"; then :
4442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4447 ac_c_werror_flag=$ac_save_c_werror_flag
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4450 $as_echo "$ac_cv_prog_cc_g" >&6; }
4451 if test "$ac_test_CFLAGS" = set; then
4452 CFLAGS=$ac_save_CFLAGS
4453 elif test $ac_cv_prog_cc_g = yes; then
4454 if test "$GCC" = yes; then
4460 if test "$GCC" = yes; then
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4467 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4468 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4469 $as_echo_n "(cached) " >&6
4471 ac_cv_prog_cc_c89=no
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4477 #include <sys/types.h>
4478 #include <sys/stat.h>
4479 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4480 struct buf { int x; };
4481 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4482 static char *e (p, i)
4488 static char *f (char * (*g) (char **, int), char **p, ...)
4493 s = g (p, va_arg (v,int));
4498 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4499 function prototypes and stuff, but not '\xHH' hex character constants.
4500 These don't provoke an error unfortunately, instead are silently treated
4501 as 'x'. The following induces an error, until -std is added to get
4502 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4503 array size at least. It's necessary to write '\x00'==0 to get something
4504 that's true only with -std. */
4505 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4507 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4508 inside strings and character constants. */
4510 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4512 int test (int i, double x);
4513 struct s1 {int (*f) (int a);};
4514 struct s2 {int (*f) (double a);};
4515 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4521 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4526 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4527 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4529 CC="$ac_save_CC $ac_arg"
4530 if ac_fn_c_try_compile "$LINENO"; then :
4531 ac_cv_prog_cc_c89=$ac_arg
4533 rm -f core conftest.err conftest.$ac_objext
4534 test "x$ac_cv_prog_cc_c89" != "xno" && break
4536 rm -f conftest.$ac_ext
4541 case "x$ac_cv_prog_cc_c89" in
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4544 $as_echo "none needed" >&6; } ;;
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4547 $as_echo "unsupported" >&6; } ;;
4549 CC="$CC $ac_cv_prog_cc_c89"
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4551 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4553 if test "x$ac_cv_prog_cc_c89" != xno; then :
4558 ac_cpp='$CPP $CPPFLAGS'
4559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4564 ac_cpp='$CPP $CPPFLAGS'
4565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4569 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4570 # On Suns, sometimes $CPP names a directory.
4571 if test -n "$CPP" && test -d "$CPP"; then
4574 if test -z "$CPP"; then
4575 if test "${ac_cv_prog_CPP+set}" = set; then :
4576 $as_echo_n "(cached) " >&6
4578 # Double quotes because CPP needs to be expanded
4579 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4582 for ac_c_preproc_warn_flag in '' yes
4584 # Use a header file that comes with gcc, so configuring glibc
4585 # with a fresh cross-compiler works.
4586 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4587 # <limits.h> exists even on freestanding compilers.
4588 # On the NeXT, cc -E runs the code through the compiler's parser,
4589 # not just through cpp. "Syntax error" is here to catch this case.
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4593 # include <limits.h>
4595 # include <assert.h>
4599 if ac_fn_c_try_cpp "$LINENO"; then :
4602 # Broken: fails on valid input.
4605 rm -f conftest.err conftest.$ac_ext
4607 # OK, works on sane cases. Now check whether nonexistent headers
4608 # can be detected and how.
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4611 #include <ac_nonexistent.h>
4613 if ac_fn_c_try_cpp "$LINENO"; then :
4614 # Broken: success on invalid input.
4617 # Passes both tests.
4621 rm -f conftest.err conftest.$ac_ext
4624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4625 rm -f conftest.err conftest.
$ac_ext
4626 if $ac_preproc_ok; then :
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4639 $as_echo "$CPP" >&6; }
4641 for ac_c_preproc_warn_flag
in '' yes
4643 # Use a header file that comes with gcc, so configuring glibc
4644 # with a fresh cross-compiler works.
4645 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4646 # <limits.h> exists even on freestanding compilers.
4647 # On the NeXT, cc -E runs the code through the compiler's parser,
4648 # not just through cpp. "Syntax error" is here to catch this case.
4649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h. */
4652 # include <limits.h>
4654 # include <assert.h>
4658 if ac_fn_c_try_cpp
"$LINENO"; then :
4661 # Broken: fails on valid input.
4664 rm -f conftest.err conftest.
$ac_ext
4666 # OK, works on sane cases. Now check whether nonexistent headers
4667 # can be detected and how.
4668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4670 #include <ac_nonexistent.h>
4672 if ac_fn_c_try_cpp
"$LINENO"; then :
4673 # Broken: success on invalid input.
4676 # Passes both tests.
4680 rm -f conftest.err conftest.
$ac_ext
4683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4684 rm -f conftest.err conftest.
$ac_ext
4685 if $ac_preproc_ok; then :
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4691 See \`config.log' for more details." "$LINENO" 5; }
4695 ac_cpp
='$CPP $CPPFLAGS'
4696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4702 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4703 if test "${ac_cv_path_GREP+set}" = set; then :
4704 $as_echo_n "(cached) " >&6
4706 if test -z "$GREP"; then
4707 ac_path_GREP_found
=false
4708 # Loop through the user's path and test for each of PROGNAME-LIST
4709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4710 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4713 test -z "$as_dir" && as_dir
=.
4714 for ac_prog
in grep ggrep
; do
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4717 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4718 # Check for GNU ac_path_GREP and select it if it is found.
4719 # Check for GNU $ac_path_GREP
4720 case `"$ac_path_GREP" --version 2>&1` in
4722 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4725 $as_echo_n 0123456789 >"conftest.in"
4728 cat "conftest.in" "conftest.in" >"conftest.tmp"
4729 mv "conftest.tmp" "conftest.in"
4730 cp "conftest.in" "conftest.nl"
4731 $as_echo 'GREP' >> "conftest.nl"
4732 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4733 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4734 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4735 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4736 # Best one so far, save it but keep looking for a better one
4737 ac_cv_path_GREP
="$ac_path_GREP"
4738 ac_path_GREP_max
=$ac_count
4740 # 10*(2^10) chars as input seems more than enough
4741 test $ac_count -gt 10 && break
4743 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4746 $ac_path_GREP_found && break 3
4751 if test -z "$ac_cv_path_GREP"; then
4752 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4755 ac_cv_path_GREP
=$GREP
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4760 $as_echo "$ac_cv_path_GREP" >&6; }
4761 GREP
="$ac_cv_path_GREP"
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4765 $as_echo_n "checking for egrep... " >&6; }
4766 if test "${ac_cv_path_EGREP+set}" = set; then :
4767 $as_echo_n "(cached) " >&6
4769 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4770 then ac_cv_path_EGREP
="$GREP -E"
4772 if test -z "$EGREP"; then
4773 ac_path_EGREP_found
=false
4774 # Loop through the user's path and test for each of PROGNAME-LIST
4775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4776 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4779 test -z "$as_dir" && as_dir
=.
4780 for ac_prog
in egrep; do
4781 for ac_exec_ext
in '' $ac_executable_extensions; do
4782 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4783 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4784 # Check for GNU ac_path_EGREP and select it if it is found.
4785 # Check for GNU $ac_path_EGREP
4786 case `"$ac_path_EGREP" --version 2>&1` in
4788 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4791 $as_echo_n 0123456789 >"conftest.in"
4794 cat "conftest.in" "conftest.in" >"conftest.tmp"
4795 mv "conftest.tmp" "conftest.in"
4796 cp "conftest.in" "conftest.nl"
4797 $as_echo 'EGREP' >> "conftest.nl"
4798 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4799 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4800 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4801 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4802 # Best one so far, save it but keep looking for a better one
4803 ac_cv_path_EGREP
="$ac_path_EGREP"
4804 ac_path_EGREP_max
=$ac_count
4806 # 10*(2^10) chars as input seems more than enough
4807 test $ac_count -gt 10 && break
4809 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4812 $ac_path_EGREP_found && break 3
4817 if test -z "$ac_cv_path_EGREP"; then
4818 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4821 ac_cv_path_EGREP
=$EGREP
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4827 $as_echo "$ac_cv_path_EGREP" >&6; }
4828 EGREP
="$ac_cv_path_EGREP"
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4832 $as_echo_n "checking for ANSI C header files... " >&6; }
4833 if test "${ac_cv_header_stdc+set}" = set; then :
4834 $as_echo_n "(cached) " >&6
4836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4851 if ac_fn_c_try_compile
"$LINENO"; then :
4852 ac_cv_header_stdc
=yes
4854 ac_cv_header_stdc
=no
4856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4858 if test $ac_cv_header_stdc = yes; then
4859 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4861 /* end confdefs.h. */
4865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4866 $EGREP "memchr" >/dev
/null
2>&1; then :
4869 ac_cv_header_stdc
=no
4875 if test $ac_cv_header_stdc = yes; then
4876 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4883 $EGREP "free" >/dev
/null
2>&1; then :
4886 ac_cv_header_stdc
=no
4892 if test $ac_cv_header_stdc = yes; then
4893 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4894 if test "$cross_compiling" = yes; then :
4897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4901 #if ((' ' & 0x0FF) == 0x020)
4902 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4903 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4905 # define ISLOWER(c) \
4906 (('a' <= (c) && (c) <= 'i') \
4907 || ('j' <= (c) && (c) <= 'r') \
4908 || ('s' <= (c) && (c) <= 'z'))
4909 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4912 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4917 for (i = 0; i < 256; i++)
4918 if (XOR (islower (i), ISLOWER (i))
4919 || toupper (i) != TOUPPER (i))
4924 if ac_fn_c_try_run
"$LINENO"; then :
4927 ac_cv_header_stdc
=no
4929 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4930 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4936 $as_echo "$ac_cv_header_stdc" >&6; }
4937 if test $ac_cv_header_stdc = yes; then
4939 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4943 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4944 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4945 inttypes.h stdint.h unistd.h
4947 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4948 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4950 eval as_val
=\$
$as_ac_Header
4951 if test "x$as_val" = x
""yes; then :
4952 cat >>confdefs.h
<<_ACEOF
4953 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4962 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4963 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4970 if test "$MINIX" = yes; then
4972 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4975 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4978 $as_echo "#define _MINIX 1" >>confdefs.h
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4984 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4985 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4986 $as_echo_n "(cached) " >&6
4988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4989 /* end confdefs.h. */
4991 # define __EXTENSIONS__ 1
4992 $ac_includes_default
5001 if ac_fn_c_try_compile
"$LINENO"; then :
5002 ac_cv_safe_to_define___extensions__
=yes
5004 ac_cv_safe_to_define___extensions__
=no
5006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5009 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5010 test $ac_cv_safe_to_define___extensions__ = yes &&
5011 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5013 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5015 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5017 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5019 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5024 # Check whether --enable-largefile was given.
5025 if test "${enable_largefile+set}" = set; then :
5026 enableval
=$enable_largefile;
5029 if test "$enable_largefile" != no
; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5032 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5033 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5034 $as_echo_n "(cached) " >&6
5036 ac_cv_sys_largefile_CC
=no
5037 if test "$GCC" != yes; then
5040 # IRIX 6.2 and later do not support large files by default,
5041 # so use the C compiler's -n32 option if that helps.
5042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5044 #include <sys/types.h>
5045 /* Check that off_t can represent 2**63 - 1 correctly.
5046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5047 since some C++ compilers masquerading as C compilers
5048 incorrectly reject 9223372036854775807. */
5049 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5051 && LARGE_OFF_T % 2147483647 == 1)
5061 if ac_fn_c_try_compile
"$LINENO"; then :
5064 rm -f core conftest.err conftest.
$ac_objext
5066 if ac_fn_c_try_compile
"$LINENO"; then :
5067 ac_cv_sys_largefile_CC
=' -n32'; break
5069 rm -f core conftest.err conftest.
$ac_objext
5073 rm -f conftest.
$ac_ext
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5077 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5078 if test "$ac_cv_sys_largefile_CC" != no
; then
5079 CC
=$CC$ac_cv_sys_largefile_CC
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5083 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5084 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5089 /* end confdefs.h. */
5090 #include <sys/types.h>
5091 /* Check that off_t can represent 2**63 - 1 correctly.
5092 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5093 since some C++ compilers masquerading as C compilers
5094 incorrectly reject 9223372036854775807. */
5095 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5096 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5097 && LARGE_OFF_T % 2147483647 == 1)
5107 if ac_fn_c_try_compile
"$LINENO"; then :
5108 ac_cv_sys_file_offset_bits
=no
; break
5110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5113 #define _FILE_OFFSET_BITS 64
5114 #include <sys/types.h>
5115 /* Check that off_t can represent 2**63 - 1 correctly.
5116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5117 since some C++ compilers masquerading as C compilers
5118 incorrectly reject 9223372036854775807. */
5119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5121 && LARGE_OFF_T % 2147483647 == 1)
5131 if ac_fn_c_try_compile
"$LINENO"; then :
5132 ac_cv_sys_file_offset_bits
=64; break
5134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5135 ac_cv_sys_file_offset_bits
=unknown
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5140 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5141 case $ac_cv_sys_file_offset_bits in #(
5144 cat >>confdefs.h
<<_ACEOF
5145 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5150 if test $ac_cv_sys_file_offset_bits = unknown
; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5152 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5153 if test "${ac_cv_sys_large_files+set}" = set; then :
5154 $as_echo_n "(cached) " >&6
5157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5158 /* end confdefs.h. */
5159 #include <sys/types.h>
5160 /* Check that off_t can represent 2**63 - 1 correctly.
5161 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5162 since some C++ compilers masquerading as C compilers
5163 incorrectly reject 9223372036854775807. */
5164 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5165 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5166 && LARGE_OFF_T % 2147483647 == 1)
5176 if ac_fn_c_try_compile
"$LINENO"; then :
5177 ac_cv_sys_large_files
=no
; break
5179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5181 /* end confdefs.h. */
5182 #define _LARGE_FILES 1
5183 #include <sys/types.h>
5184 /* Check that off_t can represent 2**63 - 1 correctly.
5185 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5186 since some C++ compilers masquerading as C compilers
5187 incorrectly reject 9223372036854775807. */
5188 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5189 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5190 && LARGE_OFF_T % 2147483647 == 1)
5200 if ac_fn_c_try_compile
"$LINENO"; then :
5201 ac_cv_sys_large_files
=1; break
5203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5204 ac_cv_sys_large_files
=unknown
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5209 $as_echo "$ac_cv_sys_large_files" >&6; }
5210 case $ac_cv_sys_large_files in #(
5213 cat >>confdefs.h
<<_ACEOF
5214 #define _LARGE_FILES $ac_cv_sys_large_files
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5226 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5231 macro_version
='2.2.6'
5232 macro_revision
='1.3012'
5246 ltmain
="$ac_aux_dir/ltmain.sh"
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5249 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5250 if test "${ac_cv_path_SED+set}" = set; then :
5251 $as_echo_n "(cached) " >&6
5253 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5254 for ac_i
in 1 2 3 4 5 6 7; do
5255 ac_script
="$ac_script$as_nl$ac_script"
5257 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5258 { ac_script
=; unset ac_script
;}
5259 if test -z "$SED"; then
5260 ac_path_SED_found
=false
5261 # Loop through the user's path and test for each of PROGNAME-LIST
5262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5266 test -z "$as_dir" && as_dir
=.
5267 for ac_prog
in sed gsed
; do
5268 for ac_exec_ext
in '' $ac_executable_extensions; do
5269 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5270 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5271 # Check for GNU ac_path_SED and select it if it is found.
5272 # Check for GNU $ac_path_SED
5273 case `"$ac_path_SED" --version 2>&1` in
5275 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5278 $as_echo_n 0123456789 >"conftest.in"
5281 cat "conftest.in" "conftest.in" >"conftest.tmp"
5282 mv "conftest.tmp" "conftest.in"
5283 cp "conftest.in" "conftest.nl"
5284 $as_echo '' >> "conftest.nl"
5285 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5286 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5287 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5288 if test $ac_count -gt ${ac_path_SED_max-0}; then
5289 # Best one so far, save it but keep looking for a better one
5290 ac_cv_path_SED
="$ac_path_SED"
5291 ac_path_SED_max
=$ac_count
5293 # 10*(2^10) chars as input seems more than enough
5294 test $ac_count -gt 10 && break
5296 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5299 $ac_path_SED_found && break 3
5304 if test -z "$ac_cv_path_SED"; then
5305 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5313 $as_echo "$ac_cv_path_SED" >&6; }
5314 SED
="$ac_cv_path_SED"
5317 test -z "$SED" && SED
=sed
5318 Xsed
="$SED -e 1s/^X//"
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5331 $as_echo_n "checking for fgrep... " >&6; }
5332 if test "${ac_cv_path_FGREP+set}" = set; then :
5333 $as_echo_n "(cached) " >&6
5335 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5336 then ac_cv_path_FGREP
="$GREP -F"
5338 if test -z "$FGREP"; then
5339 ac_path_FGREP_found
=false
5340 # Loop through the user's path and test for each of PROGNAME-LIST
5341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5342 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5345 test -z "$as_dir" && as_dir
=.
5346 for ac_prog
in fgrep
; do
5347 for ac_exec_ext
in '' $ac_executable_extensions; do
5348 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5349 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5350 # Check for GNU ac_path_FGREP and select it if it is found.
5351 # Check for GNU $ac_path_FGREP
5352 case `"$ac_path_FGREP" --version 2>&1` in
5354 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5357 $as_echo_n 0123456789 >"conftest.in"
5360 cat "conftest.in" "conftest.in" >"conftest.tmp"
5361 mv "conftest.tmp" "conftest.in"
5362 cp "conftest.in" "conftest.nl"
5363 $as_echo 'FGREP' >> "conftest.nl"
5364 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5365 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5366 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5367 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5368 # Best one so far, save it but keep looking for a better one
5369 ac_cv_path_FGREP
="$ac_path_FGREP"
5370 ac_path_FGREP_max
=$ac_count
5372 # 10*(2^10) chars as input seems more than enough
5373 test $ac_count -gt 10 && break
5375 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5378 $ac_path_FGREP_found && break 3
5383 if test -z "$ac_cv_path_FGREP"; then
5384 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5387 ac_cv_path_FGREP
=$FGREP
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5393 $as_echo "$ac_cv_path_FGREP" >&6; }
5394 FGREP
="$ac_cv_path_FGREP"
5397 test -z "$GREP" && GREP
=grep
5417 # Check whether --with-gnu-ld was given.
5418 if test "${with_gnu_ld+set}" = set; then :
5419 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5425 if test "$GCC" = yes; then
5426 # Check if gcc -print-prog-name=ld gives a path.
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5428 $as_echo_n "checking for ld used by $CC... " >&6; }
5431 # gcc leaves a trailing carriage return which upsets mingw
5432 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5434 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5437 # Accept absolute paths.
5439 re_direlt
='/[^/][^/]*/\.\./'
5440 # Canonicalize the pathname of ld
5441 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5442 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5443 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5445 test -z "$LD" && LD
="$ac_prog"
5448 # If it fails, then pretend we aren't using GCC.
5452 # If it is relative, then search for the first ld in PATH.
5456 elif test "$with_gnu_ld" = yes; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5458 $as_echo_n "checking for GNU ld... " >&6; }
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5461 $as_echo_n "checking for non-GNU ld... " >&6; }
5463 if test "${lt_cv_path_LD+set}" = set; then :
5464 $as_echo_n "(cached) " >&6
5466 if test -z "$LD"; then
5467 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5468 for ac_dir
in $PATH; do
5470 test -z "$ac_dir" && ac_dir
=.
5471 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5472 lt_cv_path_LD
="$ac_dir/$ac_prog"
5473 # Check to see if the program is GNU ld. I'd rather use --version,
5474 # but apparently some variants of GNU ld only accept -v.
5475 # Break only if it was the GNU/non-GNU ld that we prefer.
5476 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5477 *GNU
* |
*'with BFD'*)
5478 test "$with_gnu_ld" != no
&& break
5481 test "$with_gnu_ld" != yes && break
5488 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5493 if test -n "$LD"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5495 $as_echo "$LD" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5500 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5502 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5503 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5504 $as_echo_n "(cached) " >&6
5506 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5507 case `$LD -v 2>&1 </dev/null` in
5508 *GNU
* |
*'with BFD'*)
5509 lt_cv_prog_gnu_ld
=yes
5512 lt_cv_prog_gnu_ld
=no
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5517 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5518 with_gnu_ld
=$lt_cv_prog_gnu_ld
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5529 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5530 if test "${lt_cv_path_NM+set}" = set; then :
5531 $as_echo_n "(cached) " >&6
5533 if test -n "$NM"; then
5534 # Let the user override the test.
5537 lt_nm_to_check
="${ac_tool_prefix}nm"
5538 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5539 lt_nm_to_check
="$lt_nm_to_check nm"
5541 for lt_tmp_nm
in $lt_nm_to_check; do
5542 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5543 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5545 test -z "$ac_dir" && ac_dir
=.
5546 tmp_nm
="$ac_dir/$lt_tmp_nm"
5547 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5548 # Check to see if the nm accepts a BSD-compat flag.
5549 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5550 # nm: unknown option "B" ignored
5551 # Tru64's nm complains that /dev/null is an invalid object file
5552 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5553 */dev
/null
* |
*'Invalid file or object type'*)
5554 lt_cv_path_NM
="$tmp_nm -B"
5558 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5560 lt_cv_path_NM
="$tmp_nm -p"
5564 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5565 continue # so that we can try to find one that supports BSD flags
5574 : ${lt_cv_path_NM=no}
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5578 $as_echo "$lt_cv_path_NM" >&6; }
5579 if test "$lt_cv_path_NM" != "no"; then
5582 # Didn't find any BSD compatible name lister, look for dumpbin.
5583 if test -n "$ac_tool_prefix"; then
5584 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5586 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5587 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5591 $as_echo_n "(cached) " >&6
5593 if test -n "$DUMPBIN"; then
5594 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir
=.
5601 for ac_exec_ext
in '' $ac_executable_extensions; do
5602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5603 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 DUMPBIN
=$ac_cv_prog_DUMPBIN
5614 if test -n "$DUMPBIN"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5616 $as_echo "$DUMPBIN" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5623 test -n "$DUMPBIN" && break
5626 if test -z "$DUMPBIN"; then
5627 ac_ct_DUMPBIN
=$DUMPBIN
5628 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5630 # Extract the first word of "$ac_prog", so it can be a program name with args.
5631 set dummy
$ac_prog; ac_word
=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5635 $as_echo_n "(cached) " >&6
5637 if test -n "$ac_ct_DUMPBIN"; then
5638 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir
=.
5645 for ac_exec_ext
in '' $ac_executable_extensions; do
5646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5647 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5658 if test -n "$ac_ct_DUMPBIN"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5660 $as_echo "$ac_ct_DUMPBIN" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5667 test -n "$ac_ct_DUMPBIN" && break
5670 if test "x$ac_ct_DUMPBIN" = x
; then
5673 case $cross_compiling:$ac_tool_warned in
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5677 ac_tool_warned
=yes ;;
5679 DUMPBIN
=$ac_ct_DUMPBIN
5684 if test "$DUMPBIN" != ":"; then
5688 test -z "$NM" && NM
=nm
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5696 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5697 if test "${lt_cv_nm_interface+set}" = set; then :
5698 $as_echo_n "(cached) " >&6
5700 lt_cv_nm_interface
="BSD nm"
5701 echo "int some_variable = 0;" > conftest.
$ac_ext
5702 (eval echo "\"\$as_me:5702: $ac_compile\"" >&5)
5703 (eval "$ac_compile" 2>conftest.err
)
5704 cat conftest.err
>&5
5705 (eval echo "\"\$as_me:5705: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5706 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5707 cat conftest.err
>&5
5708 (eval echo "\"\$as_me:5708: output\"" >&5)
5709 cat conftest.out
>&5
5710 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5711 lt_cv_nm_interface
="MS dumpbin"
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5716 $as_echo "$lt_cv_nm_interface" >&6; }
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5719 $as_echo_n "checking whether ln -s works... " >&6; }
5721 if test "$LN_S" = "ln -s"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5723 $as_echo "yes" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5726 $as_echo "no, using $LN_S" >&6; }
5729 # find the maximum length of command line arguments
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5731 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5732 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5733 $as_echo_n "(cached) " >&6
5740 # On DJGPP, this test can blow up pretty badly due to problems in libc
5741 # (any single argument exceeding 2000 bytes causes a buffer overrun
5742 # during glob expansion). Even if it were fixed, the result of this
5743 # check would be larger than it should be.
5744 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5748 # Under GNU Hurd, this test is not required because there is
5749 # no limit to the length of command line arguments.
5750 # Libtool will interpret -1 as no limit whatsoever
5751 lt_cv_sys_max_cmd_len
=-1;
5754 cygwin
* | mingw
* | cegcc
*)
5755 # On Win9x/ME, this test blows up -- it succeeds, but takes
5756 # about 5 minutes as the teststring grows exponentially.
5757 # Worse, since 9x/ME are not pre-emptively multitasking,
5758 # you end up with a "frozen" computer, even though with patience
5759 # the test eventually succeeds (with a max line length of 256k).
5760 # Instead, let's just punt: use the minimum linelength reported by
5761 # all of the supported platforms: 8192 (on NT/2K/XP).
5762 lt_cv_sys_max_cmd_len
=8192;
5766 # On AmigaOS with pdksh, this test takes hours, literally.
5767 # So we just punt and use a minimum line length of 8192.
5768 lt_cv_sys_max_cmd_len
=8192;
5771 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5772 # This has been around since 386BSD, at least. Likely further.
5773 if test -x /sbin
/sysctl
; then
5774 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5775 elif test -x /usr
/sbin
/sysctl
; then
5776 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5778 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5780 # And add a safety zone
5781 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5782 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5786 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5787 lt_cv_sys_max_cmd_len
=196608
5791 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5792 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5793 # nice to cause kernel panics so lets avoid the loop below.
5794 # First set a reasonable default.
5795 lt_cv_sys_max_cmd_len
=16384
5797 if test -x /sbin
/sysconfig
; then
5798 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5799 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5804 lt_cv_sys_max_cmd_len
=102400
5806 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5807 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5808 if test -n "$kargmax"; then
5809 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5811 lt_cv_sys_max_cmd_len
=32768
5815 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5816 if test -n "$lt_cv_sys_max_cmd_len"; then
5817 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5818 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5820 # Make teststring a little bigger before we do anything with it.
5821 # a 1K string should be a reasonable start.
5822 for i
in 1 2 3 4 5 6 7 8 ; do
5823 teststring
=$teststring$teststring
5825 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5826 # If test is not a shell built-in, we'll probably end up computing a
5827 # maximum length that is only half of the actual maximum length, but
5829 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5830 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5831 test $i != 17 # 1/2 MB should be enough
5834 teststring
=$teststring$teststring
5836 # Only check the string length outside the loop.
5837 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5839 # Add a significant safety factor because C++ compilers can tack on
5840 # massive amounts of additional arguments before passing them to the
5841 # linker. It appears as though 1/2 is a usable value.
5842 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5849 if test -n $lt_cv_sys_max_cmd_len ; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5851 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5854 $as_echo "none" >&6; }
5856 max_cmd_len
=$lt_cv_sys_max_cmd_len
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5868 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5869 # Try some XSI features
5872 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5874 && eval 'test $(( 1 + 1 )) -eq 2 \
5875 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5878 $as_echo "$xsi_shell" >&6; }
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5882 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5884 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5886 && lt_shell_append=yes
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5888 $as_echo "$lt_shell_append" >&6; }
5891 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5901 # test EBCDIC or ASCII
5902 case `echo X|tr X '\101'` in
5903 A) # ASCII based system
5904 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5905 lt_SP2NL='tr \040 \012'
5906 lt_NL2SP='tr \015\012 \040\040'
5908 *) # EBCDIC based system
5909 lt_SP2NL='tr \100 \n'
5910 lt_NL2SP='tr \r\n \100\100'
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5923 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5924 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5925 $as_echo_n "(cached
) " >&6
5927 lt_cv_ld_reload_flag='-r'
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5930 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5931 reload_flag=$lt_cv_ld_reload_flag
5932 case $reload_flag in
5934 *) reload_flag=" $reload_flag" ;;
5936 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5939 if test "$GCC" = yes; then
5940 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5942 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5955 if test -n "$ac_tool_prefix"; then
5956 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5957 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5959 $as_echo_n "checking
for $ac_word...
" >&6; }
5960 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5961 $as_echo_n "(cached
) " >&6
5963 if test -n "$OBJDUMP"; then
5964 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5973 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5983 OBJDUMP=$ac_cv_prog_OBJDUMP
5984 if test -n "$OBJDUMP"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5986 $as_echo "$OBJDUMP" >&6; }
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5989 $as_echo "no
" >&6; }
5994 if test -z "$ac_cv_prog_OBJDUMP"; then
5995 ac_ct_OBJDUMP=$OBJDUMP
5996 # Extract the first word of "objdump
", so it can be a program name with args.
5997 set dummy objdump; ac_word=$2
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5999 $as_echo_n "checking
for $ac_word...
" >&6; }
6000 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6001 $as_echo_n "(cached
) " >&6
6003 if test -n "$ac_ct_OBJDUMP"; then
6004 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6023 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6024 if test -n "$ac_ct_OBJDUMP"; then
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6026 $as_echo "$ac_ct_OBJDUMP" >&6; }
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6029 $as_echo "no
" >&6; }
6032 if test "x
$ac_ct_OBJDUMP" = x; then
6035 case $cross_compiling:$ac_tool_warned in
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6038 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6039 ac_tool_warned=yes ;;
6041 OBJDUMP=$ac_ct_OBJDUMP
6044 OBJDUMP="$ac_cv_prog_OBJDUMP"
6047 test -z "$OBJDUMP" && OBJDUMP=objdump
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6058 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6059 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6060 $as_echo_n "(cached
) " >&6
6062 lt_cv_file_magic_cmd='$MAGIC_CMD'
6063 lt_cv_file_magic_test_file=
6064 lt_cv_deplibs_check_method='unknown'
6065 # Need to set the preceding variable on all platforms that support
6066 # interlibrary dependencies.
6067 # 'none' -- dependencies not supported.
6068 # `unknown' -- same as none, but documents that we really don't know.
6069 # 'pass_all' -- all dependencies passed with no checks.
6070 # 'test_compile' -- check by making test program.
6071 # 'file_magic [[regex]]' -- check by looking for files in library path
6072 # which responds to the $file_magic_cmd with a given extended regex.
6073 # If you have `file' or equivalent on your system and you're not sure
6074 # whether `pass_all' will *always* work, you probably want this one.
6078 lt_cv_deplibs_check_method=pass_all
6082 lt_cv_deplibs_check_method=pass_all
6086 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6087 lt_cv_file_magic_cmd='/usr/bin/file -L'
6088 lt_cv_file_magic_test_file=/shlib/libc.so
6092 # func_win32_libid is a shell function defined in ltmain.sh
6093 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6094 lt_cv_file_magic_cmd='func_win32_libid'
6098 # Base MSYS/MinGW do not provide the 'file' command needed by
6099 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6100 # unless we find 'file', for example because we are cross-compiling.
6101 if ( file / ) >/dev/null 2>&1; then
6102 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6103 lt_cv_file_magic_cmd='func_win32_libid'
6105 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6106 lt_cv_file_magic_cmd='$OBJDUMP -f'
6111 # use the weaker test based on 'objdump'. See mingw*.
6112 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6113 lt_cv_file_magic_cmd='$OBJDUMP -f'
6116 darwin* | rhapsody*)
6117 lt_cv_deplibs_check_method=pass_all
6120 freebsd* | dragonfly*)
6121 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6124 # Not sure whether the presence of OpenBSD here was a mistake.
6125 # Let's accept both of them until this is cleared up.
6126 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6127 lt_cv_file_magic_cmd=/usr/bin/file
6128 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6132 lt_cv_deplibs_check_method=pass_all
6137 lt_cv_deplibs_check_method=pass_all
6140 hpux10.20* | hpux11*)
6141 lt_cv_file_magic_cmd=/usr/bin/file
6144 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6145 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6148 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]'
6149 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6152 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6153 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6159 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6160 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6163 irix5* | irix6* | nonstopux*)
6165 *-32|*"-32 ") libmagic=32-bit;;
6166 *-n32|*"-n32 ") libmagic=N32;;
6167 *-64|*"-64 ") libmagic=64-bit;;
6168 *) libmagic=never-match;;
6170 lt_cv_deplibs_check_method=pass_all
6173 # This must be Linux ELF.
6174 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6175 lt_cv_deplibs_check_method=pass_all
6179 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6180 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6182 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6187 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6188 lt_cv_file_magic_cmd=/usr/bin/file
6189 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6193 lt_cv_deplibs_check_method=pass_all
6197 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6198 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6200 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6204 osf3* | osf4* | osf5*)
6205 lt_cv_deplibs_check_method=pass_all
6209 lt_cv_deplibs_check_method=pass_all
6213 lt_cv_deplibs_check_method=pass_all
6216 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6217 lt_cv_deplibs_check_method=pass_all
6221 case $host_vendor in
6223 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]'
6224 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6227 lt_cv_deplibs_check_method=pass_all
6230 lt_cv_file_magic_cmd='/bin/file'
6231 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6234 lt_cv_file_magic_cmd='/bin/file'
6235 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6236 lt_cv_file_magic_test_file=/lib/libc.so
6239 lt_cv_deplibs_check_method=pass_all
6242 lt_cv_deplibs_check_method=pass_all
6248 lt_cv_deplibs_check_method=pass_all
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6254 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6255 file_magic_cmd=$lt_cv_file_magic_cmd
6256 deplibs_check_method=$lt_cv_deplibs_check_method
6257 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6270 if test -n "$ac_tool_prefix"; then
6271 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6272 set dummy ${ac_tool_prefix}ar; ac_word=$2
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6274 $as_echo_n "checking
for $ac_word...
" >&6; }
6275 if test "${ac_cv_prog_AR+set}" = set; then :
6276 $as_echo_n "(cached
) " >&6
6278 if test -n "$AR"; then
6279 ac_cv_prog_AR="$AR" # Let the user override the test.
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6288 ac_cv_prog_AR="${ac_tool_prefix}ar"
6289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6299 if test -n "$AR"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6301 $as_echo "$AR" >&6; }
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6304 $as_echo "no
" >&6; }
6309 if test -z "$ac_cv_prog_AR"; then
6311 # Extract the first word of "ar", so it can be a program name with args.
6312 set dummy ar; ac_word=$2
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6314 $as_echo_n "checking
for $ac_word...
" >&6; }
6315 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6316 $as_echo_n "(cached
) " >&6
6318 if test -n "$ac_ct_AR"; then
6319 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 test -z "$as_dir" && as_dir=.
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6328 ac_cv_prog_ac_ct_AR="ar"
6329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6338 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6339 if test -n "$ac_ct_AR"; then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6341 $as_echo "$ac_ct_AR" >&6; }
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6344 $as_echo "no
" >&6; }
6347 if test "x
$ac_ct_AR" = x; then
6350 case $cross_compiling:$ac_tool_warned in
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6353 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6354 ac_tool_warned=yes ;;
6362 test -z "$AR" && AR=ar
6363 test -z "$AR_FLAGS" && AR_FLAGS=cru
6375 if test -n "$ac_tool_prefix"; then
6376 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6377 set dummy ${ac_tool_prefix}strip; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6379 $as_echo_n "checking
for $ac_word...
" >&6; }
6380 if test "${ac_cv_prog_STRIP+set}" = set; then :
6381 $as_echo_n "(cached
) " >&6
6383 if test -n "$STRIP"; then
6384 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390 test -z "$as_dir" && as_dir=.
6391 for ac_exec_ext in '' $ac_executable_extensions; do
6392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6393 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6403 STRIP=$ac_cv_prog_STRIP
6404 if test -n "$STRIP"; then
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6406 $as_echo "$STRIP" >&6; }
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6409 $as_echo "no
" >&6; }
6414 if test -z "$ac_cv_prog_STRIP"; then
6416 # Extract the first word of "strip
", so it can be a program name with args.
6417 set dummy strip; ac_word=$2
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6419 $as_echo_n "checking
for $ac_word...
" >&6; }
6420 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6421 $as_echo_n "(cached
) " >&6
6423 if test -n "$ac_ct_STRIP"; then
6424 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433 ac_cv_prog_ac_ct_STRIP="strip
"
6434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6443 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6444 if test -n "$ac_ct_STRIP"; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6446 $as_echo "$ac_ct_STRIP" >&6; }
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6449 $as_echo "no
" >&6; }
6452 if test "x
$ac_ct_STRIP" = x; then
6455 case $cross_compiling:$ac_tool_warned in
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6458 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6459 ac_tool_warned=yes ;;
6464 STRIP="$ac_cv_prog_STRIP"
6467 test -z "$STRIP" && STRIP=:
6474 if test -n "$ac_tool_prefix"; then
6475 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6476 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6478 $as_echo_n "checking
for $ac_word...
" >&6; }
6479 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6480 $as_echo_n "(cached
) " >&6
6482 if test -n "$RANLIB"; then
6483 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6489 test -z "$as_dir" && as_dir=.
6490 for ac_exec_ext in '' $ac_executable_extensions; do
6491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6502 RANLIB=$ac_cv_prog_RANLIB
6503 if test -n "$RANLIB"; then
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6505 $as_echo "$RANLIB" >&6; }
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6508 $as_echo "no
" >&6; }
6513 if test -z "$ac_cv_prog_RANLIB"; then
6514 ac_ct_RANLIB=$RANLIB
6515 # Extract the first word of "ranlib
", so it can be a program name with args.
6516 set dummy ranlib; ac_word=$2
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6518 $as_echo_n "checking
for $ac_word...
" >&6; }
6519 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6520 $as_echo_n "(cached
) " >&6
6522 if test -n "$ac_ct_RANLIB"; then
6523 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 test -z "$as_dir" && as_dir=.
6530 for ac_exec_ext in '' $ac_executable_extensions; do
6531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6532 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6542 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6543 if test -n "$ac_ct_RANLIB"; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6545 $as_echo "$ac_ct_RANLIB" >&6; }
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6548 $as_echo "no
" >&6; }
6551 if test "x
$ac_ct_RANLIB" = x; then
6554 case $cross_compiling:$ac_tool_warned in
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6557 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6558 ac_tool_warned=yes ;;
6560 RANLIB=$ac_ct_RANLIB
6563 RANLIB="$ac_cv_prog_RANLIB"
6566 test -z "$RANLIB" && RANLIB=:
6573 # Determine commands to create old-style static archives.
6574 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6575 old_postinstall_cmds='chmod 644 $oldlib'
6576 old_postuninstall_cmds=
6578 if test -n "$RANLIB"; then
6581 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6584 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6587 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6623 # If no C compiler was specified, use CC.
6626 # If no C compiler flags were specified, use CFLAGS.
6627 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6629 # Allow CC to be a program name with arguments.
6633 # Check for command to grab the raw symbol name followed by C symbol from nm.
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6635 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6636 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6637 $as_echo_n "(cached
) " >&6
6640 # These are sane defaults that work on at least a few old systems.
6641 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6643 # Character class describing NM global symbol codes.
6644 symcode='[BCDEGRST]'
6646 # Regexp to match symbols that can be accessed directly from C.
6647 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6649 # Define system-specific variables.
6654 cygwin* | mingw* | pw32* | cegcc*)
6655 symcode='[ABCDGISTW]'
6658 if test "$host_cpu" = ia64; then
6659 symcode='[ABCDEGRST]'
6663 symcode='[BCDEGRST]'
6666 symcode='[BCDEGQRST]'
6677 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6685 # If we're using GNU nm, then use its standard symbol codes.
6686 case `$NM -V 2>&1` in
6687 *GNU* | *'with BFD'*)
6688 symcode='[ABCDGIRSTW]' ;;
6691 # Transform an extracted symbol line into a proper C declaration.
6692 # Some systems (esp. on ia64) link data and code symbols differently,
6693 # so use this general approach.
6694 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6696 # Transform an extracted symbol line into symbol name and symbol address
6697 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6698 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'"
6700 # Handle CRLF in mingw tool chain
6704 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6708 # Try without a prefix underscore, then with it.
6709 for ac_symprfx in "" "_
"; do
6711 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6712 symxfrm="\\1 $ac_symprfx\\2 \\2"
6714 # Write the raw and C identifiers.
6715 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6716 # Fake it for dumpbin and say T for any non-static function
6717 # and D for any global variable.
6718 # Also find C++ and __fastcall symbols from MSVC++,
6719 # which start with @ or ?.
6720 lt_cv_sys_global_symbol_pipe="$AWK '"\
6721 " {last_section=section; section=\$ 3};"\
6722 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6723 " \$ 0!~/External *\|/{next};"\
6724 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6725 " {if(hide[section]) next};"\
6726 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6727 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6728 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6729 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6730 " ' prfx
=^
$ac_symprfx"
6732 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6735 # Check to see that the pipe works correctly.
6739 cat > conftest.$ac_ext <<_LT_EOF
6744 void nm_test_func(void);
6745 void nm_test_func(void){}
6749 int main(){nm_test_var='a';nm_test_func();return(0);}
6752 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6753 (eval $ac_compile) 2>&5
6755 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6756 test $ac_status = 0; }; then
6757 # Now try to grab the symbols.
6759 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6760 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6762 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6763 test $ac_status = 0; } && test -s "$nlist"; then
6764 # Try sorting and uniquifying the output.
6765 if sort "$nlist" | uniq > "$nlist"T; then
6766 mv -f "$nlist"T "$nlist"
6771 # Make sure that we snagged all the symbols we need.
6772 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6773 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6774 cat <<_LT_EOF > conftest.$ac_ext
6780 # Now generate the symbol file.
6781 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6783 cat <<_LT_EOF >> conftest.$ac_ext
6785 /* The mapping between symbol names and symbols. */
6790 lt__PROGRAM__LTX_preloaded_symbols[] =
6792 { "@PROGRAM@
", (void *) 0 },
6794 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6795 cat <<\_LT_EOF >> conftest.$ac_ext
6799 /* This works around a problem in FreeBSD linker */
6800 #ifdef FREEBSD_WORKAROUND
6801 static const void *lt_preloaded_setup() {
6802 return lt__PROGRAM__LTX_preloaded_symbols;
6810 # Now try linking the two files.
6811 mv conftest.$ac_objext conftstm.$ac_objext
6812 lt_save_LIBS="$LIBS"
6813 lt_save_CFLAGS="$CFLAGS"
6814 LIBS="conftstm.
$ac_objext"
6815 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6816 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6817 (eval $ac_link) 2>&5
6819 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6820 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6823 LIBS="$lt_save_LIBS"
6824 CFLAGS="$lt_save_CFLAGS"
6826 echo "cannot
find nm_test_func
in $nlist" >&5
6829 echo "cannot
find nm_test_var
in $nlist" >&5
6832 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6835 echo "$progname: failed program was
:" >&5
6836 cat conftest.$ac_ext >&5
6838 rm -rf conftest* conftst*
6840 # Do not use the global_symbol_pipe unless it works.
6841 if test "$pipe_works" = yes; then
6844 lt_cv_sys_global_symbol_pipe=
6850 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6851 lt_cv_sys_global_symbol_to_cdecl=
6853 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6855 $as_echo "failed
" >&6; }
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6858 $as_echo "ok
" >&6; }
6882 # Check whether --enable-libtool-lock was given.
6883 if test "${enable_libtool_lock+set}" = set; then :
6884 enableval=$enable_libtool_lock;
6887 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6889 # Some flags need to be propagated to the compiler or linker for good
6893 # Find out which ABI we are using.
6894 echo 'int i;' > conftest.$ac_ext
6895 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6896 (eval $ac_compile) 2>&5
6898 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6899 test $ac_status = 0; }; then
6900 case `/usr/bin/file conftest.$ac_objext` in
6912 # Find out which ABI we are using.
6913 echo '#line 6913 "configure
"' > conftest.$ac_ext
6914 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6915 (eval $ac_compile) 2>&5
6917 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6918 test $ac_status = 0; }; then
6919 if test "$lt_cv_prog_gnu_ld" = yes; then
6920 case `/usr/bin/file conftest.$ac_objext` in
6922 LD="${LD-ld} -melf32bsmip"
6925 LD="${LD-ld} -melf32bmipn32"
6928 LD="${LD-ld} -melf64bmip"
6932 case `/usr/bin/file conftest.$ac_objext` in
6948 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6949 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6950 # Find out which ABI we are using.
6951 echo 'int i;' > conftest.$ac_ext
6952 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6953 (eval $ac_compile) 2>&5
6955 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6956 test $ac_status = 0; }; then
6957 case `/usr/bin/file conftest.o` in
6960 x86_64-*kfreebsd*-gnu)
6961 LD="${LD-ld} -m elf_i386_fbsd
"
6964 LD="${LD-ld} -m elf_i386
"
6966 ppc64-*linux*|powerpc64-*linux*)
6967 LD="${LD-ld} -m elf32ppclinux
"
6970 LD="${LD-ld} -m elf_s390
"
6973 LD="${LD-ld} -m elf32_sparc
"
6979 x86_64-*kfreebsd*-gnu)
6980 LD="${LD-ld} -m elf_x86_64_fbsd
"
6983 LD="${LD-ld} -m elf_x86_64
"
6985 ppc*-*linux*|powerpc*-*linux*)
6986 LD="${LD-ld} -m elf64ppc
"
6988 s390*-*linux*|s390*-*tpf*)
6989 LD="${LD-ld} -m elf64_s390
"
6992 LD="${LD-ld} -m elf64_sparc
"
7002 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7003 SAVE_CFLAGS="$CFLAGS"
7004 CFLAGS="$CFLAGS -belf"
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7006 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7007 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7008 $as_echo_n "(cached
) " >&6
7011 ac_cpp='$CPP $CPPFLAGS'
7012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017 /* end confdefs.h. */
7027 if ac_fn_c_try_link "$LINENO"; then :
7028 lt_cv_cc_needs_belf=yes
7030 lt_cv_cc_needs_belf=no
7032 rm -f core conftest.err conftest.$ac_objext \
7033 conftest$ac_exeext conftest.$ac_ext
7035 ac_cpp='$CPP $CPPFLAGS'
7036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7042 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7043 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7044 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7045 CFLAGS="$SAVE_CFLAGS"
7049 # Find out which ABI we are using.
7050 echo 'int i;' > conftest.$ac_ext
7051 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7052 (eval $ac_compile) 2>&5
7054 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7055 test $ac_status = 0; }; then
7056 case `/usr/bin/file conftest.o` in
7058 case $lt_cv_prog_gnu_ld in
7059 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7061 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7073 need_locks="$enable_libtool_lock"
7077 rhapsody* | darwin*)
7078 if test -n "$ac_tool_prefix"; then
7079 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7080 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7082 $as_echo_n "checking
for $ac_word...
" >&6; }
7083 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7084 $as_echo_n "(cached
) " >&6
7086 if test -n "$DSYMUTIL"; then
7087 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir=.
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7096 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7106 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7107 if test -n "$DSYMUTIL"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7109 $as_echo "$DSYMUTIL" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7112 $as_echo "no
" >&6; }
7117 if test -z "$ac_cv_prog_DSYMUTIL"; then
7118 ac_ct_DSYMUTIL=$DSYMUTIL
7119 # Extract the first word of "dsymutil
", so it can be a program name with args.
7120 set dummy dsymutil; ac_word=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7122 $as_echo_n "checking
for $ac_word...
" >&6; }
7123 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7124 $as_echo_n "(cached
) " >&6
7126 if test -n "$ac_ct_DSYMUTIL"; then
7127 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133 test -z "$as_dir" && as_dir=.
7134 for ac_exec_ext in '' $ac_executable_extensions; do
7135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7136 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7137 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7146 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7147 if test -n "$ac_ct_DSYMUTIL"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7149 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7152 $as_echo "no
" >&6; }
7155 if test "x
$ac_ct_DSYMUTIL" = x; then
7158 case $cross_compiling:$ac_tool_warned in
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7161 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7162 ac_tool_warned=yes ;;
7164 DSYMUTIL=$ac_ct_DSYMUTIL
7167 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7170 if test -n "$ac_tool_prefix"; then
7171 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7172 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7174 $as_echo_n "checking
for $ac_word...
" >&6; }
7175 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7176 $as_echo_n "(cached
) " >&6
7178 if test -n "$NMEDIT"; then
7179 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 test -z "$as_dir" && as_dir=.
7186 for ac_exec_ext in '' $ac_executable_extensions; do
7187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7188 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7198 NMEDIT=$ac_cv_prog_NMEDIT
7199 if test -n "$NMEDIT"; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7201 $as_echo "$NMEDIT" >&6; }
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7204 $as_echo "no
" >&6; }
7209 if test -z "$ac_cv_prog_NMEDIT"; then
7210 ac_ct_NMEDIT=$NMEDIT
7211 # Extract the first word of "nmedit
", so it can be a program name with args.
7212 set dummy nmedit; ac_word=$2
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7214 $as_echo_n "checking
for $ac_word...
" >&6; }
7215 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7216 $as_echo_n "(cached
) " >&6
7218 if test -n "$ac_ct_NMEDIT"; then
7219 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225 test -z "$as_dir" && as_dir=.
7226 for ac_exec_ext in '' $ac_executable_extensions; do
7227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7228 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7229 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7238 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7239 if test -n "$ac_ct_NMEDIT"; then
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7241 $as_echo "$ac_ct_NMEDIT" >&6; }
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7244 $as_echo "no
" >&6; }
7247 if test "x
$ac_ct_NMEDIT" = x; then
7250 case $cross_compiling:$ac_tool_warned in
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7253 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7254 ac_tool_warned=yes ;;
7256 NMEDIT=$ac_ct_NMEDIT
7259 NMEDIT="$ac_cv_prog_NMEDIT"
7262 if test -n "$ac_tool_prefix"; then
7263 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7264 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7266 $as_echo_n "checking
for $ac_word...
" >&6; }
7267 if test "${ac_cv_prog_LIPO+set}" = set; then :
7268 $as_echo_n "(cached
) " >&6
7270 if test -n "$LIPO"; then
7271 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 test -z "$as_dir" && as_dir=.
7278 for ac_exec_ext in '' $ac_executable_extensions; do
7279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7280 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7290 LIPO=$ac_cv_prog_LIPO
7291 if test -n "$LIPO"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7293 $as_echo "$LIPO" >&6; }
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7296 $as_echo "no
" >&6; }
7301 if test -z "$ac_cv_prog_LIPO"; then
7303 # Extract the first word of "lipo
", so it can be a program name with args.
7304 set dummy lipo; ac_word=$2
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7306 $as_echo_n "checking
for $ac_word...
" >&6; }
7307 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7308 $as_echo_n "(cached
) " >&6
7310 if test -n "$ac_ct_LIPO"; then
7311 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 test -z "$as_dir" && as_dir=.
7318 for ac_exec_ext in '' $ac_executable_extensions; do
7319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7320 ac_cv_prog_ac_ct_LIPO="lipo
"
7321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7330 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7331 if test -n "$ac_ct_LIPO"; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7333 $as_echo "$ac_ct_LIPO" >&6; }
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7336 $as_echo "no
" >&6; }
7339 if test "x
$ac_ct_LIPO" = x; then
7342 case $cross_compiling:$ac_tool_warned in
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7345 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7346 ac_tool_warned=yes ;;
7351 LIPO="$ac_cv_prog_LIPO"
7354 if test -n "$ac_tool_prefix"; then
7355 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7356 set dummy ${ac_tool_prefix}otool; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7358 $as_echo_n "checking
for $ac_word...
" >&6; }
7359 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7360 $as_echo_n "(cached
) " >&6
7362 if test -n "$OTOOL"; then
7363 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7372 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7382 OTOOL=$ac_cv_prog_OTOOL
7383 if test -n "$OTOOL"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7385 $as_echo "$OTOOL" >&6; }
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7388 $as_echo "no
" >&6; }
7393 if test -z "$ac_cv_prog_OTOOL"; then
7395 # Extract the first word of "otool
", so it can be a program name with args.
7396 set dummy otool; ac_word=$2
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7398 $as_echo_n "checking
for $ac_word...
" >&6; }
7399 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7400 $as_echo_n "(cached
) " >&6
7402 if test -n "$ac_ct_OTOOL"; then
7403 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 test -z "$as_dir" && as_dir=.
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7412 ac_cv_prog_ac_ct_OTOOL="otool
"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7422 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7423 if test -n "$ac_ct_OTOOL"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7425 $as_echo "$ac_ct_OTOOL" >&6; }
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7428 $as_echo "no
" >&6; }
7431 if test "x
$ac_ct_OTOOL" = x; then
7434 case $cross_compiling:$ac_tool_warned in
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7437 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7438 ac_tool_warned=yes ;;
7443 OTOOL="$ac_cv_prog_OTOOL"
7446 if test -n "$ac_tool_prefix"; then
7447 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7448 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7450 $as_echo_n "checking
for $ac_word...
" >&6; }
7451 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7452 $as_echo_n "(cached
) " >&6
7454 if test -n "$OTOOL64"; then
7455 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7461 test -z "$as_dir" && as_dir=.
7462 for ac_exec_ext in '' $ac_executable_extensions; do
7463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7464 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7474 OTOOL64=$ac_cv_prog_OTOOL64
7475 if test -n "$OTOOL64"; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7477 $as_echo "$OTOOL64" >&6; }
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7480 $as_echo "no
" >&6; }
7485 if test -z "$ac_cv_prog_OTOOL64"; then
7486 ac_ct_OTOOL64=$OTOOL64
7487 # Extract the first word of "otool64
", so it can be a program name with args.
7488 set dummy otool64; ac_word=$2
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7490 $as_echo_n "checking
for $ac_word...
" >&6; }
7491 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7492 $as_echo_n "(cached
) " >&6
7494 if test -n "$ac_ct_OTOOL64"; then
7495 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7504 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7505 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7514 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7515 if test -n "$ac_ct_OTOOL64"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7517 $as_echo "$ac_ct_OTOOL64" >&6; }
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7520 $as_echo "no
" >&6; }
7523 if test "x
$ac_ct_OTOOL64" = x; then
7526 case $cross_compiling:$ac_tool_warned in
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7529 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7530 ac_tool_warned=yes ;;
7532 OTOOL64=$ac_ct_OTOOL64
7535 OTOOL64="$ac_cv_prog_OTOOL64"
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7565 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7566 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7567 $as_echo_n "(cached
) " >&6
7569 lt_cv_apple_cc_single_mod=no
7570 if test -z "${LT_MULTI_MODULE}"; then
7571 # By default we will add the -single_module flag. You can override
7572 # by either setting the environment variable LT_MULTI_MODULE
7573 # non-empty at configure time, or by adding -multi_module to the
7575 rm -rf libconftest.dylib*
7576 echo "int foo
(void
){return 1;}" > conftest.c
7577 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7578 -dynamiclib -Wl,-single_module conftest.c
" >&5
7579 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7580 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7582 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7583 lt_cv_apple_cc_single_mod=yes
7585 cat conftest.err >&5
7587 rm -rf libconftest.dylib*
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7592 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7594 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7595 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7596 $as_echo_n "(cached
) " >&6
7598 lt_cv_ld_exported_symbols_list=no
7599 save_LDFLAGS=$LDFLAGS
7600 echo "_main
" > conftest.sym
7601 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7603 /* end confdefs.h. */
7613 if ac_fn_c_try_link "$LINENO"; then :
7614 lt_cv_ld_exported_symbols_list=yes
7616 lt_cv_ld_exported_symbols_list=no
7618 rm -f core conftest.err conftest.$ac_objext \
7619 conftest$ac_exeext conftest.$ac_ext
7620 LDFLAGS="$save_LDFLAGS"
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7624 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7626 rhapsody* | darwin1.[012])
7627 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7629 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7630 darwin*) # darwin 5.x on
7631 # if running on 10.5 or later, the deployment target defaults
7632 # to the OS version, if on x86, and 10.4, the deployment
7633 # target defaults to 10.4. Don't you love it?
7634 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7635 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7636 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7638 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7640 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7644 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7645 _lt_dar_single_mod='$single_module'
7647 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7648 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7650 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7652 if test "$DSYMUTIL" != ":"; then
7653 _lt_dsymutil='~$DSYMUTIL $lib || :'
7660 for ac_header in dlfcn.h
7662 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7664 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7665 cat >>confdefs.h <<_ACEOF
7666 #define HAVE_DLFCN_H 1
7685 # Check whether --enable-shared was given.
7686 if test "${enable_shared+set}" = set; then :
7687 enableval=$enable_shared; p=${PACKAGE-default}
7689 yes) enable_shared=yes ;;
7690 no) enable_shared=no ;;
7693 # Look at the argument we got. We use all the common list separators.
7694 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7695 for pkg in $enableval; do
7697 if test "X
$pkg" = "X
$p"; then
7716 # Check whether --enable-static was given.
7717 if test "${enable_static+set}" = set; then :
7718 enableval=$enable_static; p=${PACKAGE-default}
7720 yes) enable_static=yes ;;
7721 no) enable_static=no ;;
7724 # Look at the argument we got. We use all the common list separators.
7725 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7726 for pkg in $enableval; do
7728 if test "X
$pkg" = "X
$p"; then
7748 # Check whether --with-pic was given.
7749 if test "${with_pic+set}" = set; then :
7750 withval=$with_pic; pic_mode="$withval"
7756 test -z "$pic_mode" && pic_mode=default
7764 # Check whether --enable-fast-install was given.
7765 if test "${enable_fast_install+set}" = set; then :
7766 enableval=$enable_fast_install; p=${PACKAGE-default}
7768 yes) enable_fast_install=yes ;;
7769 no) enable_fast_install=no ;;
7771 enable_fast_install=no
7772 # Look at the argument we got. We use all the common list separators.
7773 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7774 for pkg in $enableval; do
7776 if test "X
$pkg" = "X
$p"; then
7777 enable_fast_install=yes
7784 enable_fast_install=yes
7797 # This can be used to rebuild libtool when needed
7798 LIBTOOL_DEPS="$ltmain"
7800 # Always use our own libtool.
7801 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7827 test -z "$LN_S" && LN_S="ln -s"
7842 if test -n "${ZSH_VERSION+set}" ; then
7843 setopt NO_GLOB_SUBST
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7847 $as_echo_n "checking
for objdir...
" >&6; }
7848 if test "${lt_cv_objdir+set}" = set; then :
7849 $as_echo_n "(cached
) " >&6
7851 rm -f .libs 2>/dev/null
7852 mkdir .libs 2>/dev/null
7853 if test -d .libs; then
7856 # MS-DOS does not allow filenames that begin with a dot.
7859 rmdir .libs 2>/dev/null
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7862 $as_echo "$lt_cv_objdir" >&6; }
7863 objdir=$lt_cv_objdir
7869 cat >>confdefs.h <<_ACEOF
7870 #define LT_OBJDIR "$lt_cv_objdir/"
7891 # AIX sometimes has problems with the GCC collect2 program. For some
7892 # reason, if we set the COLLECT_NAMES environment variable, the problems
7893 # vanish in a puff of smoke.
7894 if test "X
${COLLECT_NAMES+set}" != Xset; then
7896 export COLLECT_NAMES
7901 # Sed substitution that helps us do robust quoting. It backslashifies
7902 # metacharacters that are still active within double-quoted strings.
7903 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7905 # Same as above, but do not quote variable references.
7906 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7908 # Sed substitution to delay expansion of an escaped shell variable in a
7909 # double_quote_subst'ed string.
7910 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7912 # Sed substitution to delay expansion of an escaped single quote.
7913 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7915 # Sed substitution to avoid accidental globbing in evaled expressions
7916 no_glob_subst
='s/\*/\\\*/g'
7920 can_build_shared
=yes
7922 # All known linkers require a `.a' archive for static linking (except MSVC,
7923 # which needs '.lib').
7926 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7929 old_CFLAGS
="$CFLAGS"
7931 # Set sane defaults for various variables
7932 test -z "$CC" && CC
=cc
7933 test -z "$LTCC" && LTCC
=$CC
7934 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7935 test -z "$LD" && LD
=ld
7936 test -z "$ac_objext" && ac_objext
=o
7938 for cc_temp
in $compiler""; do
7940 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7941 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7946 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7949 # Only perform the check for file, if the check method requires it
7950 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7951 case $deplibs_check_method in
7953 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7955 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7956 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7957 $as_echo_n "(cached) " >&6
7961 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7964 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7965 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7966 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7967 for ac_dir
in $ac_dummy; do
7969 test -z "$ac_dir" && ac_dir
=.
7970 if test -f $ac_dir/${ac_tool_prefix}file; then
7971 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7972 if test -n "$file_magic_test_file"; then
7973 case $deplibs_check_method in
7975 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7976 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7977 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7978 $EGREP "$file_magic_regex" > /dev
/null
; then
7983 *** Warning: the command libtool uses to detect shared libraries,
7984 *** $file_magic_cmd, produces output that libtool cannot recognize.
7985 *** The result is that libtool may fail to recognize shared libraries
7986 *** as such. This will affect the creation of libtool libraries that
7987 *** depend on shared libraries, but programs linked with such libtool
7988 *** libraries will work regardless of this problem. Nevertheless, you
7989 *** may want to report the problem to your system manager and/or to
7990 *** bug-libtool@gnu.org
8000 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8005 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8006 if test -n "$MAGIC_CMD"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8008 $as_echo "$MAGIC_CMD" >&6; }
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8011 $as_echo "no" >&6; }
8018 if test -z "$lt_cv_path_MAGIC_CMD"; then
8019 if test -n "$ac_tool_prefix"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8021 $as_echo_n "checking for file... " >&6; }
8022 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8023 $as_echo_n "(cached) " >&6
8027 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8030 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8031 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8032 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8033 for ac_dir
in $ac_dummy; do
8035 test -z "$ac_dir" && ac_dir
=.
8036 if test -f $ac_dir/file; then
8037 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8038 if test -n "$file_magic_test_file"; then
8039 case $deplibs_check_method in
8041 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8042 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8043 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8044 $EGREP "$file_magic_regex" > /dev
/null
; then
8049 *** Warning: the command libtool uses to detect shared libraries,
8050 *** $file_magic_cmd, produces output that libtool cannot recognize.
8051 *** The result is that libtool may fail to recognize shared libraries
8052 *** as such. This will affect the creation of libtool libraries that
8053 *** depend on shared libraries, but programs linked with such libtool
8054 *** libraries will work regardless of this problem. Nevertheless, you
8055 *** may want to report the problem to your system manager and/or to
8056 *** bug-libtool@gnu.org
8066 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8071 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8072 if test -n "$MAGIC_CMD"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8074 $as_echo "$MAGIC_CMD" >&6; }
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8090 # Use C for the default configuration in the libtool script
8094 ac_cpp
='$CPP $CPPFLAGS'
8095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8100 # Source file extension for C test sources.
8103 # Object file extension for compiled C test sources.
8107 # Code to be used in simple compile tests
8108 lt_simple_compile_test_code
="int some_variable = 0;"
8110 # Code to be used in simple link tests
8111 lt_simple_link_test_code
='int main(){return(0);}'
8119 # If no C compiler was specified, use CC.
8122 # If no C compiler flags were specified, use CFLAGS.
8123 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8125 # Allow CC to be a program name with arguments.
8128 # Save the default compiler, since it gets overwritten when the other
8129 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8130 compiler_DEFAULT
=$CC
8132 # save warnings/boilerplate of simple test code
8133 ac_outfile
=conftest.
$ac_objext
8134 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8135 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8136 _lt_compiler_boilerplate
=`cat conftest.err`
8139 ac_outfile
=conftest.
$ac_objext
8140 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8141 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8142 _lt_linker_boilerplate
=`cat conftest.err`
8147 ## There is no encapsulation within the following macros, do not change
8148 ## the running order or otherwise move them around unless you know exactly
8149 ## what you are doing...
8150 if test -n "$compiler"; then
8152 lt_prog_compiler_no_builtin_flag
=
8154 if test "$GCC" = yes; then
8155 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8158 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8159 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8160 $as_echo_n "(cached) " >&6
8162 lt_cv_prog_compiler_rtti_exceptions
=no
8163 ac_outfile
=conftest.
$ac_objext
8164 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8165 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8166 # Insert the option either (1) after the last *FLAGS variable, or
8167 # (2) before a word containing "conftest.", or (3) at the end.
8168 # Note that $ac_compile itself does not contain backslashes and begins
8169 # with a dollar sign (not a hyphen), so the echo should work correctly.
8170 # The option is referenced via a variable to avoid confusing sed.
8171 lt_compile
=`echo "$ac_compile" | $SED \
8172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8174 -e 's:$: $lt_compiler_flag:'`
8175 (eval echo "\"\$as_me:8175: $lt_compile\"" >&5)
8176 (eval "$lt_compile" 2>conftest.err
)
8178 cat conftest.err
>&5
8179 echo "$as_me:8179: \$? = $ac_status" >&5
8180 if (exit $ac_status) && test -s "$ac_outfile"; then
8181 # The compiler can only warn and ignore the option if not recognized
8182 # So say no if there are warnings other than the usual output.
8183 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8184 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8185 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8186 lt_cv_prog_compiler_rtti_exceptions
=yes
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8193 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8195 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8196 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8208 lt_prog_compiler_wl
=
8209 lt_prog_compiler_pic
=
8210 lt_prog_compiler_static
=
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8213 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8215 if test "$GCC" = yes; then
8216 lt_prog_compiler_wl
='-Wl,'
8217 lt_prog_compiler_static
='-static'
8221 # All AIX code is PIC.
8222 if test "$host_cpu" = ia64
; then
8223 # AIX 5 now supports IA64 processor
8224 lt_prog_compiler_static
='-Bstatic'
8231 # see comment about AmigaOS4 .so support
8232 lt_prog_compiler_pic
='-fPIC'
8235 # FIXME: we need at least 68020 code to build shared libraries, but
8236 # adding the `-m68020' flag to GCC prevents building anything better,
8238 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8243 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8244 # PIC is the default for these OSes.
8247 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8248 # This hack is so that the source file can tell whether it is being
8249 # built for inclusion in a dll (and should export symbols for example).
8250 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8251 # (--disable-auto-import) libraries
8252 lt_prog_compiler_pic
='-DDLL_EXPORT'
8255 darwin
* | rhapsody
*)
8256 # PIC is the default on this platform
8257 # Common symbols not allowed in MH_DYLIB files
8258 lt_prog_compiler_pic
='-fno-common'
8262 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8263 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8264 # sets the default TLS model and affects inlining.
8270 lt_prog_compiler_pic
='-fPIC'
8276 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8277 # Instead, we relocate shared libraries at runtime.
8281 # Just because we use GCC doesn't mean we suddenly get shared libraries
8282 # on systems that don't support them.
8283 lt_prog_compiler_can_build_shared
=no
8288 # QNX uses GNU C++, but need to define -shared option too, otherwise
8290 lt_prog_compiler_pic
='-fPIC -shared'
8294 if test -d /usr
/nec
; then
8295 lt_prog_compiler_pic
=-Kconform_pic
8300 lt_prog_compiler_pic
='-fPIC'
8304 # PORTME Check for flag to pass linker flags through the system compiler.
8307 lt_prog_compiler_wl
='-Wl,'
8308 if test "$host_cpu" = ia64
; then
8309 # AIX 5 now supports IA64 processor
8310 lt_prog_compiler_static
='-Bstatic'
8312 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8316 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8317 # This hack is so that the source file can tell whether it is being
8318 # built for inclusion in a dll (and should export symbols for example).
8319 lt_prog_compiler_pic
='-DDLL_EXPORT'
8322 hpux9
* | hpux10
* | hpux11
*)
8323 lt_prog_compiler_wl
='-Wl,'
8324 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8331 lt_prog_compiler_pic
='+Z'
8334 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8335 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8338 irix5
* | irix6
* | nonstopux
*)
8339 lt_prog_compiler_wl
='-Wl,'
8340 # PIC (with -KPIC) is the default.
8341 lt_prog_compiler_static
='-non_shared'
8344 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8345 case $cc_basename in
8346 # old Intel for x86_64 which still supported -KPIC.
8348 lt_prog_compiler_wl
='-Wl,'
8349 lt_prog_compiler_pic
='-KPIC'
8350 lt_prog_compiler_static
='-static'
8352 # icc used to be incompatible with GCC.
8353 # ICC 10 doesn't accept -KPIC any more.
8355 lt_prog_compiler_wl
='-Wl,'
8356 lt_prog_compiler_pic
='-fPIC'
8357 lt_prog_compiler_static
='-static'
8359 # Lahey Fortran 8.1.
8361 lt_prog_compiler_wl
='-Wl,'
8362 lt_prog_compiler_pic
='--shared'
8363 lt_prog_compiler_static
='--static'
8365 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8366 # Portland Group compilers (*not* the Pentium gcc compiler,
8367 # which looks to be a dead project)
8368 lt_prog_compiler_wl
='-Wl,'
8369 lt_prog_compiler_pic
='-fpic'
8370 lt_prog_compiler_static
='-Bstatic'
8373 lt_prog_compiler_wl
='-Wl,'
8374 # All Alpha code is PIC.
8375 lt_prog_compiler_static
='-non_shared'
8378 # IBM XL C 8.0/Fortran 10.1 on PPC
8379 lt_prog_compiler_wl
='-Wl,'
8380 lt_prog_compiler_pic
='-qpic'
8381 lt_prog_compiler_static
='-qstaticlink'
8384 case `$CC -V 2>&1 | sed 5q` in
8387 lt_prog_compiler_pic
='-KPIC'
8388 lt_prog_compiler_static
='-Bstatic'
8389 lt_prog_compiler_wl
='-Wl,'
8392 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8393 lt_prog_compiler_pic
='-KPIC'
8394 lt_prog_compiler_static
='-Bstatic'
8395 lt_prog_compiler_wl
=''
8403 lt_prog_compiler_pic
='-KPIC'
8404 lt_prog_compiler_static
='-Bstatic'
8408 # QNX uses GNU C++, but need to define -shared option too, otherwise
8410 lt_prog_compiler_pic
='-fPIC -shared'
8413 osf3
* | osf4
* | osf5
*)
8414 lt_prog_compiler_wl
='-Wl,'
8415 # All OSF/1 code is PIC.
8416 lt_prog_compiler_static
='-non_shared'
8420 lt_prog_compiler_static
='-non_shared'
8424 lt_prog_compiler_pic
='-KPIC'
8425 lt_prog_compiler_static
='-Bstatic'
8426 case $cc_basename in
8428 lt_prog_compiler_wl
='-Qoption ld ';;
8430 lt_prog_compiler_wl
='-Wl,';;
8435 lt_prog_compiler_wl
='-Qoption ld '
8436 lt_prog_compiler_pic
='-PIC'
8437 lt_prog_compiler_static
='-Bstatic'
8440 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8441 lt_prog_compiler_wl
='-Wl,'
8442 lt_prog_compiler_pic
='-KPIC'
8443 lt_prog_compiler_static
='-Bstatic'
8447 if test -d /usr
/nec
;then
8448 lt_prog_compiler_pic
='-Kconform_pic'
8449 lt_prog_compiler_static
='-Bstatic'
8453 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8454 lt_prog_compiler_wl
='-Wl,'
8455 lt_prog_compiler_pic
='-KPIC'
8456 lt_prog_compiler_static
='-Bstatic'
8460 lt_prog_compiler_wl
='-Wl,'
8461 lt_prog_compiler_can_build_shared
=no
8465 lt_prog_compiler_pic
='-pic'
8466 lt_prog_compiler_static
='-Bstatic'
8470 lt_prog_compiler_can_build_shared
=no
8476 # For platforms which do not support PIC, -DPIC is meaningless:
8478 lt_prog_compiler_pic
=
8481 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8485 $as_echo "$lt_prog_compiler_pic" >&6; }
8493 # Check to make sure the PIC flag actually works.
8495 if test -n "$lt_prog_compiler_pic"; then
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8497 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8498 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8499 $as_echo_n "(cached) " >&6
8501 lt_cv_prog_compiler_pic_works
=no
8502 ac_outfile
=conftest.
$ac_objext
8503 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8504 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8505 # Insert the option either (1) after the last *FLAGS variable, or
8506 # (2) before a word containing "conftest.", or (3) at the end.
8507 # Note that $ac_compile itself does not contain backslashes and begins
8508 # with a dollar sign (not a hyphen), so the echo should work correctly.
8509 # The option is referenced via a variable to avoid confusing sed.
8510 lt_compile
=`echo "$ac_compile" | $SED \
8511 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8512 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8513 -e 's:$: $lt_compiler_flag:'`
8514 (eval echo "\"\$as_me:8514: $lt_compile\"" >&5)
8515 (eval "$lt_compile" 2>conftest.err
)
8517 cat conftest.err
>&5
8518 echo "$as_me:8518: \$? = $ac_status" >&5
8519 if (exit $ac_status) && test -s "$ac_outfile"; then
8520 # The compiler can only warn and ignore the option if not recognized
8521 # So say no if there are warnings other than the usual output.
8522 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8523 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8524 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8525 lt_cv_prog_compiler_pic_works
=yes
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8532 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8534 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8535 case $lt_prog_compiler_pic in
8537 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8540 lt_prog_compiler_pic
=
8541 lt_prog_compiler_can_build_shared
=no
8552 # Check to make sure the static flag actually works.
8554 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8556 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8557 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8558 $as_echo_n "(cached) " >&6
8560 lt_cv_prog_compiler_static_works
=no
8561 save_LDFLAGS
="$LDFLAGS"
8562 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8563 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8564 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8565 # The linker can only warn and ignore the option if not recognized
8566 # So say no if there are warnings
8567 if test -s conftest.err
; then
8568 # Append any errors to the config.log.
8569 cat conftest.err
1>&5
8570 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8571 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8572 if diff conftest.exp conftest.er2
>/dev
/null
; then
8573 lt_cv_prog_compiler_static_works
=yes
8576 lt_cv_prog_compiler_static_works
=yes
8580 LDFLAGS
="$save_LDFLAGS"
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8584 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8586 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8589 lt_prog_compiler_static
=
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8599 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8600 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8601 $as_echo_n "(cached) " >&6
8603 lt_cv_prog_compiler_c_o
=no
8604 $RM -r conftest
2>/dev
/null
8608 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8610 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8611 # Insert the option either (1) after the last *FLAGS variable, or
8612 # (2) before a word containing "conftest.", or (3) at the end.
8613 # Note that $ac_compile itself does not contain backslashes and begins
8614 # with a dollar sign (not a hyphen), so the echo should work correctly.
8615 lt_compile
=`echo "$ac_compile" | $SED \
8616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8618 -e 's:$: $lt_compiler_flag:'`
8619 (eval echo "\"\$as_me:8619: $lt_compile\"" >&5)
8620 (eval "$lt_compile" 2>out
/conftest.err
)
8622 cat out
/conftest.err
>&5
8623 echo "$as_me:8623: \$? = $ac_status" >&5
8624 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8626 # The compiler can only warn and ignore the option if not recognized
8627 # So say no if there are warnings
8628 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8629 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8630 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8631 lt_cv_prog_compiler_c_o
=yes
8636 # SGI C++ compiler will create directory out/ii_files/ for
8637 # template instantiation
8638 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8639 $RM out
/* && rmdir out
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8646 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8654 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8655 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8656 $as_echo_n "(cached) " >&6
8658 lt_cv_prog_compiler_c_o
=no
8659 $RM -r conftest
2>/dev
/null
8663 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8665 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8666 # Insert the option either (1) after the last *FLAGS variable, or
8667 # (2) before a word containing "conftest.", or (3) at the end.
8668 # Note that $ac_compile itself does not contain backslashes and begins
8669 # with a dollar sign (not a hyphen), so the echo should work correctly.
8670 lt_compile
=`echo "$ac_compile" | $SED \
8671 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8672 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8673 -e 's:$: $lt_compiler_flag:'`
8674 (eval echo "\"\$as_me:8674: $lt_compile\"" >&5)
8675 (eval "$lt_compile" 2>out
/conftest.err
)
8677 cat out
/conftest.err
>&5
8678 echo "$as_me:8678: \$? = $ac_status" >&5
8679 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8681 # The compiler can only warn and ignore the option if not recognized
8682 # So say no if there are warnings
8683 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8684 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8685 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8686 lt_cv_prog_compiler_c_o
=yes
8691 # SGI C++ compiler will create directory out/ii_files/ for
8692 # template instantiation
8693 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8694 $RM out
/* && rmdir out
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8701 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8706 hard_links
="nottested"
8707 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8708 # do not overwrite the value of need_locks provided by the user
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8710 $as_echo_n "checking if we can lock with hard links... " >&6; }
8713 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8715 ln conftest.a conftest.b
2>&5 || hard_links
=no
8716 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8718 $as_echo "$hard_links" >&6; }
8719 if test "$hard_links" = no
; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8721 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8734 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8737 allow_undefined_flag
=
8738 always_export_symbols
=no
8740 archive_expsym_cmds
=
8741 compiler_needs_object
=no
8742 enable_shared_with_static_runtimes
=no
8743 export_dynamic_flag_spec
=
8744 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8745 hardcode_automatic
=no
8747 hardcode_direct_absolute
=no
8748 hardcode_libdir_flag_spec
=
8749 hardcode_libdir_flag_spec_ld
=
8750 hardcode_libdir_separator
=
8752 hardcode_shlibpath_var
=unsupported
8754 link_all_deplibs
=unknown
8757 old_archive_from_new_cmds
=
8758 old_archive_from_expsyms_cmds
=
8759 thread_safe_flag_spec
=
8760 whole_archive_flag_spec
=
8761 # include_expsyms should be a list of space-separated symbols to be *always*
8762 # included in the symbol list
8764 # exclude_expsyms can be an extended regexp of symbols to exclude
8765 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8766 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8767 # as well as any symbol that contains `d'.
8768 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8769 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8770 # platforms (ab)use it in PIC code, but their linkers get confused if
8771 # the symbol is explicitly referenced. Since portable code cannot
8772 # rely on this symbol name, it's probably fine to never include it in
8773 # preloaded symbol tables.
8774 # Exclude shared library initialization/finalization symbols.
8775 extract_expsyms_cmds
=
8778 cygwin
* | mingw
* | pw32
* | cegcc
*)
8779 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8780 # When not using gcc, we currently assume that we are using
8781 # Microsoft Visual C++.
8782 if test "$GCC" != yes; then
8787 # we just hope/assume this is gcc and not c89 (= MSVC++)
8796 if test "$with_gnu_ld" = yes; then
8797 # If archive_cmds runs LD, not CC, wlarc should be empty
8800 # Set some defaults for GNU ld with shared library support. These
8801 # are reset later if shared libraries are not supported. Putting them
8802 # here allows them to be overridden if necessary.
8803 runpath_var
=LD_RUN_PATH
8804 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8805 export_dynamic_flag_spec
='${wl}--export-dynamic'
8806 # ancient GNU ld didn't support --whole-archive et. al.
8807 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8808 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8810 whole_archive_flag_spec
=
8812 supports_anon_versioning
=no
8813 case `$LD -v 2>&1` in
8814 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8815 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8816 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8817 *\
2.11.
*) ;; # other 2.11 versions
8818 *) supports_anon_versioning
=yes ;;
8821 # See if GNU ld supports shared libraries.
8824 # On AIX/PPC, the GNU linker is very broken
8825 if test "$host_cpu" != ia64
; then
8829 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8830 *** to be unable to reliably create shared libraries on AIX.
8831 *** Therefore, libtool is disabling shared libraries support. If you
8832 *** really care for shared libraries, you may want to modify your PATH
8833 *** so that a non-GNU linker is found, and then restart.
8842 # see comment about AmigaOS4 .so support
8843 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8844 archive_expsym_cmds
=''
8847 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)'
8848 hardcode_libdir_flag_spec
='-L$libdir'
8849 hardcode_minus_L
=yes
8855 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8856 allow_undefined_flag
=unsupported
8857 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8858 # support --undefined. This deserves some investigation. FIXME
8859 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8865 cygwin
* | mingw
* | pw32
* | cegcc
*)
8866 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8867 # as there is no search path for DLLs.
8868 hardcode_libdir_flag_spec
='-L$libdir'
8869 allow_undefined_flag
=unsupported
8870 always_export_symbols
=no
8871 enable_shared_with_static_runtimes
=yes
8872 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8874 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8875 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8876 # If the export-symbols file already is a .def file (1st line
8877 # is EXPORTS), use it as is; otherwise, prepend...
8878 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8879 cp $export_symbols $output_objdir/$soname.def;
8881 echo EXPORTS > $output_objdir/$soname.def;
8882 cat $export_symbols >> $output_objdir/$soname.def;
8884 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8892 hardcode_shlibpath_var
=no
8893 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8894 export_dynamic_flag_spec
='${wl}-E'
8895 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8896 # Instead, shared libraries are loaded at an image base (0x10000000 by
8897 # default) and relocated if they conflict, which is a slow very memory
8898 # consuming and fragmenting process. To avoid this, we pick a random,
8899 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8900 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8901 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8902 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'
8905 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8907 if test "$host_os" = linux-dietlibc
; then
8908 case $cc_basename in
8909 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8912 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8913 && test "$tmp_diet" = no
8916 tmp_sharedflag
='-shared'
8917 case $cc_basename,$host_cpu in
8918 pgcc
*) # Portland Group C compiler
8919 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'
8920 tmp_addflag
=' $pic_flag'
8922 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8923 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'
8924 tmp_addflag
=' $pic_flag -Mnomain' ;;
8925 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8926 tmp_addflag
=' -i_dynamic' ;;
8927 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8928 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8929 ifc
* | ifort
*) # Intel Fortran compiler
8930 tmp_addflag
=' -nofor_main' ;;
8931 lf95
*) # Lahey Fortran 8.1
8932 whole_archive_flag_spec
=
8933 tmp_sharedflag
='--shared' ;;
8934 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8935 tmp_sharedflag
='-qmkshrobj'
8938 case `$CC -V 2>&1 | sed 5q` in
8939 *Sun\ C
*) # Sun C 5.9
8940 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'
8941 compiler_needs_object
=yes
8942 tmp_sharedflag
='-G' ;;
8943 *Sun\ F
*) # Sun Fortran 8.3
8944 tmp_sharedflag
='-G' ;;
8946 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8948 if test "x$supports_anon_versioning" = xyes
; then
8949 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8950 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8951 echo "local: *; };" >> $output_objdir/$libname.ver~
8952 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8955 case $cc_basename in
8957 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8958 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8959 hardcode_libdir_flag_spec
=
8960 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8961 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8962 if test "x$supports_anon_versioning" = xyes
; then
8963 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8964 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8965 echo "local: *; };" >> $output_objdir/$libname.ver~
8966 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8976 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8977 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8980 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8981 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8986 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8990 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8991 *** create shared libraries on Solaris systems. Therefore, libtool
8992 *** is disabling shared libraries support. We urge you to upgrade GNU
8993 *** binutils to release 2.9.1 or newer. Another option is to modify
8994 *** your PATH or compiler configuration so that the native linker is
8995 *** used, and then restart.
8998 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8999 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9000 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9006 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9007 case `$LD -v 2>&1` in
9008 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9012 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9013 *** reliably create shared libraries on SCO systems. Therefore, libtool
9014 *** is disabling shared libraries support. We urge you to upgrade GNU
9015 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9016 *** your PATH or compiler configuration so that the native linker is
9017 *** used, and then restart.
9022 # For security reasons, it is highly recommended that you always
9023 # use absolute paths for naming shared libraries, and exclude the
9024 # DT_RUNPATH tag from executables and libraries. But doing so
9025 # requires that you compile everything twice, which is a pain.
9026 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9027 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9028 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9029 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9038 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9041 hardcode_shlibpath_var
=no
9045 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9046 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9047 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9054 if test "$ld_shlibs" = no
; then
9056 hardcode_libdir_flag_spec
=
9057 export_dynamic_flag_spec
=
9058 whole_archive_flag_spec
=
9061 # PORTME fill in a description of your system's linker (not GNU ld)
9064 allow_undefined_flag
=unsupported
9065 always_export_symbols
=yes
9066 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'
9067 # Note: this linker hardcodes the directories in LIBPATH if there
9068 # are no directories specified by -L.
9069 hardcode_minus_L
=yes
9070 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9071 # Neither direct hardcoding nor static linking is supported with a
9073 hardcode_direct
=unsupported
9078 if test "$host_cpu" = ia64
; then
9079 # On IA64, the linker does run time linking by default, so we don't
9080 # have to do anything special.
9081 aix_use_runtimelinking
=no
9082 exp_sym_flag
='-Bexport'
9085 # If we're using GNU nm, then we don't want the "-C" option.
9086 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9087 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9088 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'
9090 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'
9092 aix_use_runtimelinking
=no
9094 # Test if we are trying to use run time linking or normal
9095 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9096 # need to do runtime linking.
9097 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9098 for ld_flag
in $LDFLAGS; do
9099 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9100 aix_use_runtimelinking
=yes
9107 exp_sym_flag
='-bexport'
9108 no_entry_flag
='-bnoentry'
9111 # When large executables or shared objects are built, AIX ld can
9112 # have problems creating the table of contents. If linking a library
9113 # or program results in "error TOC overflow" add -mminimal-toc to
9114 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9115 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9119 hardcode_direct_absolute
=yes
9120 hardcode_libdir_separator
=':'
9121 link_all_deplibs
=yes
9122 file_list_spec
='${wl}-f,'
9124 if test "$GCC" = yes; then
9125 case $host_os in aix4.
[012]|aix4.
[012].
*)
9126 # We only want to do this on AIX 4.2 and lower, the check
9127 # below for broken collect2 doesn't work under 4.3+
9128 collect2name
=`${CC} -print-prog-name=collect2`
9129 if test -f "$collect2name" &&
9130 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9132 # We have reworked collect2
9135 # We have old collect2
9136 hardcode_direct
=unsupported
9137 # It fails to find uninstalled libraries when the uninstalled
9138 # path is not listed in the libpath. Setting hardcode_minus_L
9139 # to unsupported forces relinking
9140 hardcode_minus_L
=yes
9141 hardcode_libdir_flag_spec
='-L$libdir'
9142 hardcode_libdir_separator
=
9146 shared_flag
='-shared'
9147 if test "$aix_use_runtimelinking" = yes; then
9148 shared_flag
="$shared_flag "'${wl}-G'
9152 if test "$host_cpu" = ia64
; then
9153 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9154 # chokes on -Wl,-G. The following line is correct:
9157 if test "$aix_use_runtimelinking" = yes; then
9158 shared_flag
='${wl}-G'
9160 shared_flag
='${wl}-bM:SRE'
9165 export_dynamic_flag_spec
='${wl}-bexpall'
9166 # It seems that -bexpall does not export symbols beginning with
9167 # underscore (_), so it is better to generate a list of symbols to export.
9168 always_export_symbols
=yes
9169 if test "$aix_use_runtimelinking" = yes; then
9170 # Warning - without using the other runtime loading flags (-brtl),
9171 # -berok will link without error, but may produce a broken library.
9172 allow_undefined_flag
='-berok'
9173 # Determine the default libpath from the value encoded in an
9175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9186 if ac_fn_c_try_link
"$LINENO"; then :
9188 lt_aix_libpath_sed
='
9189 /Import File Strings/,/^$/ {
9195 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9196 # Check for a 64-bit object if we didn't find anything.
9197 if test -z "$aix_libpath"; then
9198 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9201 rm -f core conftest.err conftest.
$ac_objext \
9202 conftest
$ac_exeext conftest.
$ac_ext
9203 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9205 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9206 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"
9208 if test "$host_cpu" = ia64
; then
9209 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9210 allow_undefined_flag
="-z nodefs"
9211 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"
9213 # Determine the default libpath from the value encoded in an
9215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9216 /* end confdefs.h. */
9226 if ac_fn_c_try_link
"$LINENO"; then :
9228 lt_aix_libpath_sed
='
9229 /Import File Strings/,/^$/ {
9235 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9236 # Check for a 64-bit object if we didn't find anything.
9237 if test -z "$aix_libpath"; then
9238 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9241 rm -f core conftest.err conftest.
$ac_objext \
9242 conftest
$ac_exeext conftest.
$ac_ext
9243 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9245 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9246 # Warning - without using the other run time loading flags,
9247 # -berok will link without error, but may produce a broken library.
9248 no_undefined_flag
=' ${wl}-bernotok'
9249 allow_undefined_flag
=' ${wl}-berok'
9250 # Exported symbols can be pulled into shared objects from archives
9251 whole_archive_flag_spec
='$convenience'
9252 archive_cmds_need_lc
=yes
9253 # This is similar to how AIX traditionally builds its shared libraries.
9254 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'
9262 # see comment about AmigaOS4 .so support
9263 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 archive_expsym_cmds
=''
9267 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)'
9268 hardcode_libdir_flag_spec
='-L$libdir'
9269 hardcode_minus_L
=yes
9275 export_dynamic_flag_spec
=-rdynamic
9278 cygwin
* | mingw
* | pw32
* | cegcc
*)
9279 # When not using gcc, we currently assume that we are using
9280 # Microsoft Visual C++.
9281 # hardcode_libdir_flag_spec is actually meaningless, as there is
9282 # no search path for DLLs.
9283 hardcode_libdir_flag_spec
=' '
9284 allow_undefined_flag
=unsupported
9285 # Tell ltmain to make .lib files, not .a files.
9287 # Tell ltmain to make .dll files, not .so files.
9289 # FIXME: Setting linknames here is a bad hack.
9290 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9291 # The linker will automatically build a .lib file if we build a DLL.
9292 old_archive_from_new_cmds
='true'
9293 # FIXME: Should let the user specify the lib program.
9294 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9295 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9296 enable_shared_with_static_runtimes
=yes
9299 darwin
* | rhapsody
*)
9302 archive_cmds_need_lc
=no
9304 hardcode_automatic
=yes
9305 hardcode_shlibpath_var
=unsupported
9306 whole_archive_flag_spec
=''
9307 link_all_deplibs
=yes
9308 allow_undefined_flag
="$_lt_dar_allow_undefined"
9309 case $cc_basename in
9310 ifort
*) _lt_dar_can_shared
=yes ;;
9311 *) _lt_dar_can_shared
=$GCC ;;
9313 if test "$_lt_dar_can_shared" = "yes"; then
9314 output_verbose_link_cmd
=echo
9315 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9316 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9317 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}"
9318 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}"
9327 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9328 hardcode_libdir_flag_spec
='-L$libdir'
9329 hardcode_shlibpath_var
=no
9336 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9337 # support. Future versions do this automatically, but an explicit c++rt0.o
9338 # does not break anything, and helps significantly (at the cost of a little
9341 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9342 hardcode_libdir_flag_spec
='-R$libdir'
9344 hardcode_shlibpath_var
=no
9347 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9349 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9351 hardcode_minus_L
=yes
9352 hardcode_shlibpath_var
=no
9355 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9356 freebsd
* | dragonfly
*)
9357 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9358 hardcode_libdir_flag_spec
='-R$libdir'
9360 hardcode_shlibpath_var
=no
9364 if test "$GCC" = yes; then
9365 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'
9367 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'
9369 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9370 hardcode_libdir_separator
=:
9373 # hardcode_minus_L: Not really in the search PATH,
9374 # but as the default location of the library.
9375 hardcode_minus_L
=yes
9376 export_dynamic_flag_spec
='${wl}-E'
9380 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9381 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9383 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9385 if test "$with_gnu_ld" = no
; then
9386 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9387 hardcode_libdir_flag_spec_ld
='+b $libdir'
9388 hardcode_libdir_separator
=:
9390 hardcode_direct_absolute
=yes
9391 export_dynamic_flag_spec
='${wl}-E'
9392 # hardcode_minus_L: Not really in the search PATH,
9393 # but as the default location of the library.
9394 hardcode_minus_L
=yes
9399 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9402 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9405 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9408 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9414 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9417 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9420 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9424 if test "$with_gnu_ld" = no
; then
9425 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9426 hardcode_libdir_separator
=:
9431 hardcode_shlibpath_var
=no
9435 hardcode_direct_absolute
=yes
9436 export_dynamic_flag_spec
='${wl}-E'
9438 # hardcode_minus_L: Not really in the search PATH,
9439 # but as the default location of the library.
9440 hardcode_minus_L
=yes
9446 irix5
* | irix6
* | nonstopux
*)
9447 if test "$GCC" = yes; then
9448 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'
9449 # Try to use the -exported_symbol ld option, if it does not
9450 # work, assume that -exports_file does not work either and
9451 # implicitly export all symbols.
9452 save_LDFLAGS
="$LDFLAGS"
9453 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9458 if ac_fn_c_try_link
"$LINENO"; then :
9459 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'
9462 rm -f core conftest.err conftest.
$ac_objext \
9463 conftest
$ac_exeext conftest.
$ac_ext
9464 LDFLAGS
="$save_LDFLAGS"
9466 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'
9467 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'
9469 archive_cmds_need_lc
='no'
9470 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9471 hardcode_libdir_separator
=:
9473 link_all_deplibs
=yes
9477 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9478 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9480 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9482 hardcode_libdir_flag_spec
='-R$libdir'
9484 hardcode_shlibpath_var
=no
9488 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9490 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9491 hardcode_libdir_separator
=:
9492 hardcode_shlibpath_var
=no
9499 if test -f /usr
/libexec
/ld.so
; then
9501 hardcode_shlibpath_var
=no
9502 hardcode_direct_absolute
=yes
9503 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9504 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9505 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9506 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9507 export_dynamic_flag_spec
='${wl}-E'
9510 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9511 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9512 hardcode_libdir_flag_spec
='-R$libdir'
9515 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9516 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9526 hardcode_libdir_flag_spec
='-L$libdir'
9527 hardcode_minus_L
=yes
9528 allow_undefined_flag
=unsupported
9529 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'
9530 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9534 if test "$GCC" = yes; then
9535 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9536 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'
9538 allow_undefined_flag
=' -expect_unresolved \*'
9539 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'
9541 archive_cmds_need_lc
='no'
9542 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9543 hardcode_libdir_separator
=:
9546 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9547 if test "$GCC" = yes; then
9548 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9549 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'
9550 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9552 allow_undefined_flag
=' -expect_unresolved \*'
9553 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'
9554 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~
9555 $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'
9557 # Both c and cxx compiler support -rpath directly
9558 hardcode_libdir_flag_spec
='-rpath $libdir'
9560 archive_cmds_need_lc
='no'
9561 hardcode_libdir_separator
=:
9565 no_undefined_flag
=' -z defs'
9566 if test "$GCC" = yes; then
9568 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9569 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9570 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9572 case `$CC -V 2>&1` in
9575 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9576 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9577 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9581 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9582 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9583 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9587 hardcode_libdir_flag_spec
='-R$libdir'
9588 hardcode_shlibpath_var
=no
9590 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9592 # The compiler driver will combine and reorder linker options,
9593 # but understands `-z linker_flag'. GCC discards it without `$wl',
9594 # but is careful enough not to reorder.
9595 # Supported since Solaris 2.6 (maybe 2.5.1?)
9596 if test "$GCC" = yes; then
9597 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9599 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9603 link_all_deplibs
=yes
9607 if test "x$host_vendor" = xsequent
; then
9608 # Use $CC to link under sequent, because it throws in some extra .o
9609 # files that make .init and .fini sections work.
9610 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9612 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9614 hardcode_libdir_flag_spec
='-L$libdir'
9616 hardcode_minus_L
=yes
9617 hardcode_shlibpath_var
=no
9621 case $host_vendor in
9623 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9624 hardcode_direct
=yes # is this really true???
9627 ## LD is ld it makes a PLAMLIB
9628 ## CC just makes a GrossModule.
9629 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9630 reload_cmds
='$CC -r -o $output$reload_objs'
9634 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9635 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9638 runpath_var
='LD_RUN_PATH'
9639 hardcode_shlibpath_var
=no
9643 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9644 hardcode_shlibpath_var
=no
9645 export_dynamic_flag_spec
='-Bexport'
9649 if test -d /usr
/nec
; then
9650 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9651 hardcode_shlibpath_var
=no
9652 runpath_var
=LD_RUN_PATH
9653 hardcode_runpath_var
=yes
9658 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9659 no_undefined_flag
='${wl}-z,text'
9660 archive_cmds_need_lc
=no
9661 hardcode_shlibpath_var
=no
9662 runpath_var
='LD_RUN_PATH'
9664 if test "$GCC" = yes; then
9665 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9666 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9668 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9669 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9673 sysv5
* | sco3.2v5
* | sco5v6
*)
9674 # Note: We can NOT use -z defs as we might desire, because we do not
9675 # link with -lc, and that would cause any symbols used from libc to
9676 # always be unresolved, which means just about no library would
9677 # ever link correctly. If we're not using GNU ld we use -z text
9678 # though, which does catch some bad symbols but isn't as heavy-handed
9680 no_undefined_flag
='${wl}-z,text'
9681 allow_undefined_flag
='${wl}-z,nodefs'
9682 archive_cmds_need_lc
=no
9683 hardcode_shlibpath_var
=no
9684 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9685 hardcode_libdir_separator
=':'
9686 link_all_deplibs
=yes
9687 export_dynamic_flag_spec
='${wl}-Bexport'
9688 runpath_var
='LD_RUN_PATH'
9690 if test "$GCC" = yes; then
9691 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9692 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9694 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9695 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9700 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9701 hardcode_libdir_flag_spec
='-L$libdir'
9702 hardcode_shlibpath_var
=no
9710 if test x
$host_vendor = xsni
; then
9712 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9713 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9720 $as_echo "$ld_shlibs" >&6; }
9721 test "$ld_shlibs" = no
&& can_build_shared
=no
9723 with_gnu_ld
=$with_gnu_ld
9740 # Do we need to explicitly link libc?
9742 case "x$archive_cmds_need_lc" in
9744 # Assume -lc should be added
9745 archive_cmds_need_lc
=yes
9747 if test "$enable_shared" = yes && test "$GCC" = yes; then
9748 case $archive_cmds in
9750 # FIXME: we may have to deal with multi-command sequences.
9753 # Test whether the compiler implicitly links with -lc since on some
9754 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9755 # to ld, don't add -lc before -lgcc.
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9757 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9758 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9759 $as_echo_n "(cached) " >&6
9762 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9764 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9765 (eval $ac_compile) 2>&5
9767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9768 test $ac_status = 0; } 2>conftest.err
; then
9771 libobjs
=conftest.
$ac_objext
9773 wl
=$lt_prog_compiler_wl
9774 pic_flag
=$lt_prog_compiler_pic
9780 lt_save_allow_undefined_flag
=$allow_undefined_flag
9781 allow_undefined_flag
=
9782 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9783 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9786 test $ac_status = 0; }
9788 lt_cv_archive_cmds_need_lc
=no
9790 lt_cv_archive_cmds_need_lc
=yes
9792 allow_undefined_flag
=$lt_save_allow_undefined_flag
9794 cat conftest.err
1>&5
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9800 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9801 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9965 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9967 if test "$GCC" = yes; then
9969 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9970 *) lt_awk_arg
="/^libraries:/" ;;
9972 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9973 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9974 # if the path contains ";" then we assume it to be the separator
9975 # otherwise default to the standard path separator (i.e. ":") - it is
9976 # assumed that no part of a normal pathname contains ";" but that should
9977 # okay in the real world where ";" in dirpaths is itself problematic.
9978 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9980 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9982 # Ok, now we have the path, separated by spaces, we can step through it
9983 # and add multilib dir if necessary.
9984 lt_tmp_lt_search_path_spec
=
9985 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9986 for lt_sys_path
in $lt_search_path_spec; do
9987 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9988 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9990 test -d "$lt_sys_path" && \
9991 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9994 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9995 BEGIN {RS=" "; FS="/|\n";} {
9998 for (lt_i = NF; lt_i > 0; lt_i--) {
9999 if ($lt_i != "" && $lt_i != ".") {
10000 if ($lt_i == "..") {
10003 if (lt_count == 0) {
10004 lt_foo="/" $lt_i lt_foo;
10011 if (lt_foo != "") { lt_freq[lt_foo]++; }
10012 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10014 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10016 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10018 library_names_spec
=
10019 libname_spec
='lib$name'
10023 postuninstall_cmds
=
10027 shlibpath_overrides_runpath
=unknown
10029 dynamic_linker
="$host_os ld.so"
10030 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10031 need_lib_prefix
=unknown
10032 hardcode_into_libs
=no
10034 # when you set need_version to no, make sure it does not cause -set_version
10035 # flags to be left without arguments
10036 need_version
=unknown
10041 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10042 shlibpath_var
=LIBPATH
10044 # AIX 3 has no versioning support, so we append a major version to the name.
10045 soname_spec
='${libname}${release}${shared_ext}$major'
10052 hardcode_into_libs
=yes
10053 if test "$host_cpu" = ia64
; then
10054 # AIX 5 supports IA64
10055 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10056 shlibpath_var
=LD_LIBRARY_PATH
10058 # With GCC up to 2.95.x, collect2 would create an import file
10059 # for dependence libraries. The import file would start with
10060 # the line `#! .'. This would cause the generated library to
10061 # depend on `.', always an invalid library. This was fixed in
10062 # development snapshots of GCC prior to 3.0.
10064 aix4 | aix4.
[01] | aix4.
[01].
*)
10065 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10067 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10070 can_build_shared
=no
10074 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10075 # soname into executable. Probably we can add versioning support to
10076 # collect2, so additional links can be useful in future.
10077 if test "$aix_use_runtimelinking" = yes; then
10078 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10079 # instead of lib<name>.a to let people know that these are not
10080 # typical AIX shared libraries.
10081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10083 # We preserve .a as extension for shared libraries through AIX4.2
10084 # and later when we are not doing run time linking.
10085 library_names_spec
='${libname}${release}.a $libname.a'
10086 soname_spec
='${libname}${release}${shared_ext}$major'
10088 shlibpath_var
=LIBPATH
10095 # Since July 2007 AmigaOS4 officially supports .so libraries.
10096 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10100 library_names_spec
='$libname.ixlibrary $libname.a'
10101 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10102 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'
10108 library_names_spec
='${libname}${shared_ext}'
10109 dynamic_linker
="$host_os ld.so"
10110 shlibpath_var
=LIBRARY_PATH
10116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10117 soname_spec
='${libname}${release}${shared_ext}$major'
10118 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10119 shlibpath_var
=LD_LIBRARY_PATH
10120 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10121 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10122 # the default ld.so.conf also contains /usr/contrib/lib and
10123 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10124 # libtool to hard-code these into programs
10127 cygwin
* | mingw
* | pw32
* | cegcc
*)
10128 version_type
=windows
10133 case $GCC,$host_os in
10134 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10135 library_names_spec
='$libname.dll.a'
10136 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10137 postinstall_cmds
='base_file=`basename \${file}`~
10138 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10139 dldir=$destdir/`dirname \$dlpath`~
10140 test -d \$dldir || mkdir -p \$dldir~
10141 $install_prog $dir/$dlname \$dldir/$dlname~
10142 chmod a+x \$dldir/$dlname~
10143 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10144 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10146 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10147 dlpath=$dir/\$dldll~
10149 shlibpath_overrides_runpath
=yes
10153 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10154 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10155 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10158 # MinGW DLLs use traditional 'lib' prefix
10159 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10160 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10161 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10162 # It is most probably a Windows format PATH printed by
10163 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10164 # path with ; separators, and with drive letters. We can handle the
10165 # drive letters (cygwin fileutils understands them), so leave them,
10166 # especially as we might pass files found there to a mingw objdump,
10167 # which wouldn't understand a cygwinified path. Ahh.
10168 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10170 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10174 # pw32 DLLs use 'pw' prefix rather than 'lib'
10175 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10181 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10184 dynamic_linker
='Win32 ld.exe'
10185 # FIXME: first we should search . and the directory the executable is in
10189 darwin
* | rhapsody
*)
10190 dynamic_linker
="$host_os dyld"
10191 version_type
=darwin
10194 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10195 soname_spec
='${libname}${release}${major}$shared_ext'
10196 shlibpath_overrides_runpath
=yes
10197 shlibpath_var
=DYLD_LIBRARY_PATH
10198 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10200 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10201 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10209 soname_spec
='${libname}${release}${shared_ext}$major'
10210 shlibpath_var
=LD_LIBRARY_PATH
10217 freebsd
* | dragonfly
*)
10218 # DragonFly does not have aout. When/if they implement a new
10219 # versioning mechanism, adjust this.
10220 if test -x /usr
/bin
/objformat
; then
10221 objformat
=`/usr/bin/objformat`
10224 freebsd
[123]*) objformat
=aout
;;
10225 *) objformat
=elf
;;
10228 version_type
=freebsd-
$objformat
10229 case $version_type in
10231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10236 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10240 shlibpath_var
=LD_LIBRARY_PATH
10243 shlibpath_overrides_runpath
=yes
10245 freebsd3.
[01]* | freebsdelf3.
[01]*)
10246 shlibpath_overrides_runpath
=yes
10247 hardcode_into_libs
=yes
10249 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10250 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10251 shlibpath_overrides_runpath
=no
10252 hardcode_into_libs
=yes
10254 *) # from 4.6 on, and DragonFly
10255 shlibpath_overrides_runpath
=yes
10256 hardcode_into_libs
=yes
10265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10266 soname_spec
='${libname}${release}${shared_ext}$major'
10267 shlibpath_var
=LD_LIBRARY_PATH
10268 hardcode_into_libs
=yes
10271 hpux9
* | hpux10
* | hpux11
*)
10272 # Give a soname corresponding to the major version so that dld.sl refuses to
10273 # link against other versions.
10280 hardcode_into_libs
=yes
10281 dynamic_linker
="$host_os dld.so"
10282 shlibpath_var
=LD_LIBRARY_PATH
10283 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10285 soname_spec
='${libname}${release}${shared_ext}$major'
10286 if test "X$HPUX_IA64_MODE" = X32
; then
10287 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10289 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10291 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10295 hardcode_into_libs
=yes
10296 dynamic_linker
="$host_os dld.sl"
10297 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10298 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10300 soname_spec
='${libname}${release}${shared_ext}$major'
10301 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10302 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10306 dynamic_linker
="$host_os dld.sl"
10307 shlibpath_var
=SHLIB_PATH
10308 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10310 soname_spec
='${libname}${release}${shared_ext}$major'
10313 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10314 postinstall_cmds
='chmod 555 $lib'
10321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10322 soname_spec
='${libname}${release}${shared_ext}$major'
10323 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10324 shlibpath_var
=LD_LIBRARY_PATH
10325 shlibpath_overrides_runpath
=no
10326 hardcode_into_libs
=yes
10329 irix5
* | irix6
* | nonstopux
*)
10331 nonstopux
*) version_type
=nonstopux
;;
10333 if test "$lt_cv_prog_gnu_ld" = yes; then
10341 soname_spec
='${libname}${release}${shared_ext}$major'
10342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10344 irix5
* | nonstopux
*)
10345 libsuff
= shlibsuff
=
10348 case $LD in # libtool.m4 will add one of these switches to LD
10349 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10350 libsuff
= shlibsuff
= libmagic
=32-bit;;
10351 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10352 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10353 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10354 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10355 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10359 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10360 shlibpath_overrides_runpath
=no
10361 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10362 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10363 hardcode_into_libs
=yes
10366 # No shared lib support for Linux oldld, aout, or coff.
10367 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10371 # This must be Linux ELF.
10372 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10377 soname_spec
='${libname}${release}${shared_ext}$major'
10378 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10379 shlibpath_var
=LD_LIBRARY_PATH
10380 shlibpath_overrides_runpath
=no
10382 # Some binutils ld are patched to set DT_RUNPATH
10383 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10384 $as_echo_n "(cached) " >&6
10386 lt_cv_shlibpath_overrides_runpath
=no
10387 save_LDFLAGS
=$LDFLAGS
10388 save_libdir
=$libdir
10389 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10390 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10402 if ac_fn_c_try_link
"$LINENO"; then :
10403 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10404 lt_cv_shlibpath_overrides_runpath
=yes
10407 rm -f core conftest.err conftest.
$ac_objext \
10408 conftest
$ac_exeext conftest.
$ac_ext
10409 LDFLAGS
=$save_LDFLAGS
10410 libdir
=$save_libdir
10414 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10416 # This implies no fast_install, which is unacceptable.
10417 # Some rework will be needed to allow for fast_install
10418 # before this can be enabled.
10419 hardcode_into_libs
=yes
10421 # Append ld.so.conf contents to the search path
10422 if test -f /etc
/ld.so.conf
; then
10423 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' ' '`
10424 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10427 # We used to test for /lib/ld.so.1 and disable shared libraries on
10428 # powerpc, because MkLinux only supported shared libraries with the
10429 # GNU dynamic linker. Since this was broken with cross compilers,
10430 # most powerpc-linux boxes support dynamic linking these days and
10431 # people can always --disable-shared, the test was removed, and we
10432 # assume the GNU/Linux dynamic linker is in use.
10433 dynamic_linker
='GNU/Linux ld.so'
10440 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10442 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10443 dynamic_linker
='NetBSD (a.out) ld.so'
10445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10446 soname_spec
='${libname}${release}${shared_ext}$major'
10447 dynamic_linker
='NetBSD ld.elf_so'
10449 shlibpath_var
=LD_LIBRARY_PATH
10450 shlibpath_overrides_runpath
=yes
10451 hardcode_into_libs
=yes
10456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10457 shlibpath_var
=LD_LIBRARY_PATH
10458 shlibpath_overrides_runpath
=yes
10465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10466 soname_spec
='${libname}${release}${shared_ext}$major'
10467 shlibpath_var
=LD_LIBRARY_PATH
10468 shlibpath_overrides_runpath
=no
10469 hardcode_into_libs
=yes
10470 dynamic_linker
='ldqnx.so'
10475 sys_lib_dlsearch_path_spec
="/usr/lib"
10477 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10479 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10480 *) need_version
=no
;;
10482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10483 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10484 shlibpath_var
=LD_LIBRARY_PATH
10485 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10487 openbsd2.
[89] | openbsd2.
[89].
*)
10488 shlibpath_overrides_runpath
=no
10491 shlibpath_overrides_runpath
=yes
10495 shlibpath_overrides_runpath
=yes
10500 libname_spec
='$name'
10503 library_names_spec
='$libname${shared_ext} $libname.a'
10504 dynamic_linker
='OS/2 ld.exe'
10505 shlibpath_var
=LIBPATH
10508 osf3
* | osf4
* | osf5
*)
10512 soname_spec
='${libname}${release}${shared_ext}$major'
10513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10514 shlibpath_var
=LD_LIBRARY_PATH
10515 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10516 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528 soname_spec
='${libname}${release}${shared_ext}$major'
10529 shlibpath_var
=LD_LIBRARY_PATH
10530 shlibpath_overrides_runpath
=yes
10531 hardcode_into_libs
=yes
10532 # ldd complains unless libraries are executable
10533 postinstall_cmds
='chmod +x $lib'
10538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10539 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10540 shlibpath_var
=LD_LIBRARY_PATH
10541 shlibpath_overrides_runpath
=yes
10542 if test "$with_gnu_ld" = yes; then
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551 soname_spec
='${libname}${release}${shared_ext}$major'
10552 shlibpath_var
=LD_LIBRARY_PATH
10553 case $host_vendor in
10555 shlibpath_overrides_runpath
=no
10557 runpath_var
=LD_RUN_PATH
10565 shlibpath_overrides_runpath
=no
10566 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10572 if test -d /usr
/nec
;then
10574 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10575 soname_spec
='$libname${shared_ext}.$major'
10576 shlibpath_var
=LD_LIBRARY_PATH
10580 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10581 version_type
=freebsd-elf
10584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10585 soname_spec
='${libname}${release}${shared_ext}$major'
10586 shlibpath_var
=LD_LIBRARY_PATH
10587 shlibpath_overrides_runpath
=yes
10588 hardcode_into_libs
=yes
10589 if test "$with_gnu_ld" = yes; then
10590 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10592 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10595 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10599 sys_lib_dlsearch_path_spec
='/usr/lib'
10603 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 shlibpath_var
=LD_LIBRARY_PATH
10609 shlibpath_overrides_runpath
=no
10610 hardcode_into_libs
=yes
10615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 soname_spec
='${libname}${release}${shared_ext}$major'
10617 shlibpath_var
=LD_LIBRARY_PATH
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10625 $as_echo "$dynamic_linker" >&6; }
10626 test "$dynamic_linker" = no
&& can_build_shared
=no
10628 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10629 if test "$GCC" = yes; then
10630 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10633 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10634 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10636 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10637 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10727 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10729 if test -n "$hardcode_libdir_flag_spec" ||
10730 test -n "$runpath_var" ||
10731 test "X$hardcode_automatic" = "Xyes" ; then
10733 # We can hardcode non-existent directories.
10734 if test "$hardcode_direct" != no
&&
10735 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10736 # have to relink, otherwise we might link with an installed library
10737 # when we should be linking with a yet-to-be-installed one
10738 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10739 test "$hardcode_minus_L" != no
; then
10740 # Linking always hardcodes the temporary library directory.
10741 hardcode_action
=relink
10743 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10744 hardcode_action
=immediate
10747 # We cannot hardcode anything, or else we can only hardcode existing
10749 hardcode_action
=unsupported
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10752 $as_echo "$hardcode_action" >&6; }
10754 if test "$hardcode_action" = relink ||
10755 test "$inherit_rpath" = yes; then
10756 # Fast installation is not supported
10757 enable_fast_install
=no
10758 elif test "$shlibpath_overrides_runpath" = yes ||
10759 test "$enable_shared" = no
; then
10760 # Fast installation is not necessary
10761 enable_fast_install
=needless
10769 if test "x$enable_dlopen" != xyes
; then
10770 enable_dlopen
=unknown
10771 enable_dlopen_self
=unknown
10772 enable_dlopen_self_static
=unknown
10779 lt_cv_dlopen
="load_add_on"
10781 lt_cv_dlopen_self
=yes
10784 mingw
* | pw32
* | cegcc
*)
10785 lt_cv_dlopen
="LoadLibrary"
10790 lt_cv_dlopen
="dlopen"
10795 # if libdl is installed we need to link against it
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10797 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10798 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10799 $as_echo_n "(cached) " >&6
10801 ac_check_lib_save_LIBS
=$LIBS
10803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10821 if ac_fn_c_try_link
"$LINENO"; then :
10822 ac_cv_lib_dl_dlopen
=yes
10824 ac_cv_lib_dl_dlopen
=no
10826 rm -f core conftest.err conftest.
$ac_objext \
10827 conftest
$ac_exeext conftest.
$ac_ext
10828 LIBS
=$ac_check_lib_save_LIBS
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10831 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10832 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10833 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10836 lt_cv_dlopen
="dyld"
10838 lt_cv_dlopen_self
=yes
10845 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10846 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10847 lt_cv_dlopen
="shl_load"
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10850 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10851 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10852 $as_echo_n "(cached) " >&6
10854 ac_check_lib_save_LIBS
=$LIBS
10856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10859 /* Override any GCC internal prototype to avoid an error.
10860 Use char because int might match the return type of a GCC
10861 builtin and then its argument prototype would still apply. */
10869 return shl_load ();
10874 if ac_fn_c_try_link
"$LINENO"; then :
10875 ac_cv_lib_dld_shl_load
=yes
10877 ac_cv_lib_dld_shl_load
=no
10879 rm -f core conftest.err conftest.
$ac_objext \
10880 conftest
$ac_exeext conftest.
$ac_ext
10881 LIBS
=$ac_check_lib_save_LIBS
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10884 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10885 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10886 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10888 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10889 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10890 lt_cv_dlopen
="dlopen"
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10893 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10894 if test "${ac_cv_lib_dl_dlopen+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. */
10917 if ac_fn_c_try_link
"$LINENO"; then :
10918 ac_cv_lib_dl_dlopen
=yes
10920 ac_cv_lib_dl_dlopen
=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_dl_dlopen" >&5
10927 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10928 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10929 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10932 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10933 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10934 $as_echo_n "(cached) " >&6
10936 ac_check_lib_save_LIBS
=$LIBS
10937 LIBS
="-lsvld $LIBS"
10938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10941 /* Override any GCC internal prototype to avoid an error.
10942 Use char because int might match the return type of a GCC
10943 builtin and then its argument prototype would still apply. */
10956 if ac_fn_c_try_link
"$LINENO"; then :
10957 ac_cv_lib_svld_dlopen
=yes
10959 ac_cv_lib_svld_dlopen
=no
10961 rm -f core conftest.err conftest.
$ac_objext \
10962 conftest
$ac_exeext conftest.
$ac_ext
10963 LIBS
=$ac_check_lib_save_LIBS
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10966 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10967 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10968 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10971 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10972 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10973 $as_echo_n "(cached) " >&6
10975 ac_check_lib_save_LIBS
=$LIBS
10977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10990 return dld_link ();
10995 if ac_fn_c_try_link
"$LINENO"; then :
10996 ac_cv_lib_dld_dld_link
=yes
10998 ac_cv_lib_dld_dld_link
=no
11000 rm -f core conftest.err conftest.
$ac_objext \
11001 conftest
$ac_exeext conftest.
$ac_ext
11002 LIBS
=$ac_check_lib_save_LIBS
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11005 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11006 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11007 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11028 if test "x$lt_cv_dlopen" != xno
; then
11034 case $lt_cv_dlopen in
11036 save_CPPFLAGS
="$CPPFLAGS"
11037 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11039 save_LDFLAGS
="$LDFLAGS"
11040 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11043 LIBS
="$lt_cv_dlopen_libs $LIBS"
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11046 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11047 if test "${lt_cv_dlopen_self+set}" = set; then :
11048 $as_echo_n "(cached) " >&6
11050 if test "$cross_compiling" = yes; then :
11051 lt_cv_dlopen_self
=cross
11053 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11054 lt_status
=$lt_dlunknown
11055 cat > conftest.
$ac_ext <<_LT_EOF
11056 #line 11056 "configure"
11057 #include "confdefs.h"
11066 # define LT_DLGLOBAL RTLD_GLOBAL
11069 # define LT_DLGLOBAL DL_GLOBAL
11071 # define LT_DLGLOBAL 0
11075 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11076 find out it does not work in some platform. */
11077 #ifndef LT_DLLAZY_OR_NOW
11079 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11082 # define LT_DLLAZY_OR_NOW DL_LAZY
11085 # define LT_DLLAZY_OR_NOW RTLD_NOW
11088 # define LT_DLLAZY_OR_NOW DL_NOW
11090 # define LT_DLLAZY_OR_NOW 0
11097 void fnord() { int i=42;}
11100 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11101 int status = $lt_dlunknown;
11105 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11106 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11107 /* dlclose (self); */
11115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11116 (eval $ac_link) 2>&5
11118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11119 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11120 (.
/conftest
; exit; ) >&5 2>/dev
/null
11122 case x
$lt_status in
11123 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11124 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11125 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11128 # compilation failed
11129 lt_cv_dlopen_self
=no
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11137 $as_echo "$lt_cv_dlopen_self" >&6; }
11139 if test "x$lt_cv_dlopen_self" = xyes
; then
11140 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11142 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11143 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11144 $as_echo_n "(cached) " >&6
11146 if test "$cross_compiling" = yes; then :
11147 lt_cv_dlopen_self_static
=cross
11149 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11150 lt_status
=$lt_dlunknown
11151 cat > conftest.
$ac_ext <<_LT_EOF
11152 #line 11152 "configure"
11153 #include "confdefs.h"
11162 # define LT_DLGLOBAL RTLD_GLOBAL
11165 # define LT_DLGLOBAL DL_GLOBAL
11167 # define LT_DLGLOBAL 0
11171 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11172 find out it does not work in some platform. */
11173 #ifndef LT_DLLAZY_OR_NOW
11175 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11178 # define LT_DLLAZY_OR_NOW DL_LAZY
11181 # define LT_DLLAZY_OR_NOW RTLD_NOW
11184 # define LT_DLLAZY_OR_NOW DL_NOW
11186 # define LT_DLLAZY_OR_NOW 0
11193 void fnord() { int i=42;}
11196 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11197 int status = $lt_dlunknown;
11201 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11202 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11203 /* dlclose (self); */
11211 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11212 (eval $ac_link) 2>&5
11214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11215 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11216 (.
/conftest
; exit; ) >&5 2>/dev
/null
11218 case x
$lt_status in
11219 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11220 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11221 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11224 # compilation failed
11225 lt_cv_dlopen_self_static
=no
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11233 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11236 CPPFLAGS
="$save_CPPFLAGS"
11237 LDFLAGS
="$save_LDFLAGS"
11242 case $lt_cv_dlopen_self in
11243 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11244 *) enable_dlopen_self
=unknown
;;
11247 case $lt_cv_dlopen_self_static in
11248 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11249 *) enable_dlopen_self_static
=unknown
;;
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11272 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11273 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11274 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11275 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11277 $as_echo "yes" >&6; }
11279 # FIXME - insert some real tests, host_os isn't really good enough
11282 if test -n "$STRIP" ; then
11283 striplib
="$STRIP -x"
11284 old_striplib
="$STRIP -S"
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11286 $as_echo "yes" >&6; }
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11289 $as_echo "no" >&6; }
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11294 $as_echo "no" >&6; }
11310 # Report which library types will actually be built
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11312 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11314 $as_echo "$can_build_shared" >&6; }
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11317 $as_echo_n "checking whether to build shared libraries... " >&6; }
11318 test "$can_build_shared" = "no" && enable_shared
=no
11320 # On AIX, shared libraries and static libraries use the same namespace, and
11321 # are all built from PIC.
11324 test "$enable_shared" = yes && enable_static
=no
11325 if test -n "$RANLIB"; then
11326 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11327 postinstall_cmds
='$RANLIB $lib'
11332 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11333 test "$enable_shared" = yes && enable_static
=no
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11338 $as_echo "$enable_shared" >&6; }
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11341 $as_echo_n "checking whether to build static libraries... " >&6; }
11342 # Make sure either enable_shared or enable_static is yes.
11343 test "$enable_shared" = yes || enable_static
=yes
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11345 $as_echo "$enable_static" >&6; }
11352 ac_cpp
='$CPP $CPPFLAGS'
11353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11371 ac_config_commands
="$ac_config_commands libtool"
11376 # Only expand once:
11380 # Check whether --enable-targets was given.
11381 if test "${enable_targets+set}" = set; then :
11382 enableval
=$enable_targets; case "${enableval}" in
11383 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11385 no
) enable_targets
= ;;
11386 *) enable_targets
=$enableval ;;
11391 if grep '^RELEASE=y' ${srcdir}/..
/bfd
/Makefile.am
>/dev
/null
2>/dev
/null
; then
11394 # Check whether --enable-checking was given.
11395 if test "${enable_checking+set}" = set; then :
11396 enableval
=$enable_checking; case "${enableval}" in
11397 no|none
) ac_checking
= ;;
11398 *) ac_checking
=yes ;;
11401 if test x
$ac_checking != x
; then
11403 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
11410 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11412 # Check whether --enable-werror was given.
11413 if test "${enable_werror+set}" = set; then :
11414 enableval
=$enable_werror; case "${enableval}" in
11415 yes | y
) ERROR_ON_WARNING
="yes" ;;
11416 no | n
) ERROR_ON_WARNING
="no" ;;
11417 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11422 # Enable -Wno-format by default when using gcc on mingw
11425 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11426 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11432 # Enable -Werror by default when using gcc
11433 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11434 ERROR_ON_WARNING
=yes
11438 if test "${ERROR_ON_WARNING}" = yes ; then
11439 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11440 NO_WERROR
="-Wno-error"
11443 if test "${GCC}" = yes ; then
11444 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11447 # Check whether --enable-build-warnings was given.
11448 if test "${enable_build_warnings+set}" = set; then :
11449 enableval
=$enable_build_warnings; case "${enableval}" in
11450 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
11451 no
) if test "${GCC}" = yes ; then
11454 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11455 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
11456 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11457 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
11458 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11463 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11464 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11471 # Generate a header file
11472 ac_config_headers
="$ac_config_headers config.h:config.in"
11475 # If we are on a DOS filesystem, we must use gdb.ini rather than
11478 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
11480 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
11485 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
11491 #We need this for the host. BOUT header is in host order.
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11493 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11494 if test "${ac_cv_c_bigendian+set}" = set; then :
11495 $as_echo_n "(cached) " >&6
11497 ac_cv_c_bigendian
=unknown
11498 # See if we're dealing with a universal compiler.
11499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11501 #ifndef __APPLE_CC__
11502 not a universal capable compiler
11507 if ac_fn_c_try_compile
"$LINENO"; then :
11509 # Check for potential -arch flags. It is not universal unless
11510 # there are at least two -arch flags with different values.
11513 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11514 if test -n "$ac_prev"; then
11516 i?
86 | x86_64 | ppc | ppc64
)
11517 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
11520 ac_cv_c_bigendian
=universal
11526 elif test "x$ac_word" = "x-arch"; then
11531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11532 if test $ac_cv_c_bigendian = unknown
; then
11533 # See if sys/param.h defines the BYTE_ORDER macro.
11534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11536 #include <sys/types.h>
11537 #include <sys/param.h>
11542 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11543 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11545 bogus endian macros
11552 if ac_fn_c_try_compile
"$LINENO"; then :
11553 # It does; now see whether it defined to BIG_ENDIAN or not.
11554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11556 #include <sys/types.h>
11557 #include <sys/param.h>
11562 #if BYTE_ORDER != BIG_ENDIAN
11570 if ac_fn_c_try_compile
"$LINENO"; then :
11571 ac_cv_c_bigendian
=yes
11573 ac_cv_c_bigendian
=no
11575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11579 if test $ac_cv_c_bigendian = unknown
; then
11580 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11583 #include <limits.h>
11588 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11589 bogus endian macros
11596 if ac_fn_c_try_compile
"$LINENO"; then :
11597 # It does; now see whether it defined to _BIG_ENDIAN or not.
11598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11599 /* end confdefs.h. */
11600 #include <limits.h>
11605 #ifndef _BIG_ENDIAN
11613 if ac_fn_c_try_compile
"$LINENO"; then :
11614 ac_cv_c_bigendian
=yes
11616 ac_cv_c_bigendian
=no
11618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11622 if test $ac_cv_c_bigendian = unknown
; then
11623 # Compile a test program.
11624 if test "$cross_compiling" = yes; then :
11625 # Try to guess by grepping values from an object file.
11626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11628 short int ascii_mm[] =
11629 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11630 short int ascii_ii[] =
11631 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11632 int use_ascii (int i) {
11633 return ascii_mm[i] + ascii_ii[i];
11635 short int ebcdic_ii[] =
11636 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11637 short int ebcdic_mm[] =
11638 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11639 int use_ebcdic (int i) {
11640 return ebcdic_mm[i] + ebcdic_ii[i];
11647 return use_ascii (foo) == use_ebcdic (foo);
11652 if ac_fn_c_try_compile
"$LINENO"; then :
11653 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
11654 ac_cv_c_bigendian
=yes
11656 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
11657 if test "$ac_cv_c_bigendian" = unknown
; then
11658 ac_cv_c_bigendian
=no
11660 # finding both strings is unlikely to happen, but who knows?
11661 ac_cv_c_bigendian
=unknown
11665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11669 $ac_includes_default
11674 /* Are we little or big endian? From Harbison&Steele. */
11678 char c[sizeof (long int)];
11681 return u.c[sizeof (long int) - 1] == 1;
11687 if ac_fn_c_try_run
"$LINENO"; then :
11688 ac_cv_c_bigendian
=no
11690 ac_cv_c_bigendian
=yes
11692 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11693 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
11699 $as_echo "$ac_cv_c_bigendian" >&6; }
11700 case $ac_cv_c_bigendian in #(
11702 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11708 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11712 as_fn_error
"unknown endianness
11713 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11719 # Makefile target for installing gas in $(tooldir)/bin.
11720 install_tooldir
=install-exec-tooldir
11724 if test -n "$enable_targets" ; then
11725 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
11726 if test $t = "all"; then
11730 result
=`$ac_config_sub $t 2>/dev/null`
11731 if test -n "$result" ; then
11732 canon_targets
="$canon_targets $result"
11734 # # Permit "all", etc. We don't support it yet though.
11735 # canon_targets="$canon_targets $t"
11738 _gas_uniq_list
="$canon_targets"
11739 _gas_uniq_newlist
=""
11740 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
11741 case $_gas_uniq_i in
11742 _gas_uniq_dummy
) ;;
11743 *) case " $_gas_uniq_newlist " in
11744 *" $_gas_uniq_i "*) ;;
11745 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
11749 canon_targets
=$_gas_uniq_newlist
11755 for this_target
in $target $canon_targets ; do
11757 targ
=${this_target}
11758 .
${srcdir}/configure.tgt
11760 case ${target_cpu} in
11763 cat >>confdefs.h
<<_ACEOF
11764 #define DEFAULT_CRIS_ARCH $arch
11770 if test ${this_target} = $target ; then
11771 target_cpu_type
=${cpu_type}
11772 elif test ${target_cpu_type} != ${cpu_type} ; then
11776 generic_target
=${cpu_type}-${target_vendor}-${target_os}
11777 case ${generic_target} in
11779 if test ${this_target} = $target; then
11781 $as_echo "#define SCO_ELF 1" >>confdefs.h
11786 i386-
*-msdosdjgpp* \
11788 | i386-go32-rtems
*)
11790 $as_echo "#define STRICTCOFF 1" >>confdefs.h
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
11796 $as_echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
11805 as_fn_error
"Unknown vendor for mips-bsd configuration." "$LINENO" 5
11810 $as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
11816 *) as_fn_error
"GNU/Linux must be configured big endian" "$LINENO" 5 ;;
11820 if test ${this_target} = $target; then
11822 $as_echo "#define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
11825 if test x
${endian} = xbig
; then
11826 as_fn_error
"Solaris must be configured little endian" "$LINENO" 5
11832 $as_echo "#define TARGET_SYMBIAN 1" >>confdefs.h
11837 if test ${this_target} = $target ; then
11839 if test x
${endian} = xbig
; then
11841 elif test x
${endian} = xlittle
; then
11844 if test x
${endian_def} != x
; then
11846 cat >>confdefs.h
<<_ACEOF
11847 #define TARGET_BYTES_BIG_ENDIAN $endian_def
11853 # Other random stuff.
11855 case ${cpu_type} in
11857 # Set mips_cpu to the name of the default CPU.
11858 case ${target_cpu} in
11859 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
11862 mipsisa32 | mipsisa32el
)
11865 mipsisa32r2 | mipsisa32r2el
)
11868 mipsisa64 | mipsisa64el
)
11871 mipsisa64r2 | mipsisa64r2el
)
11874 mipstx39 | mipstx39el
)
11877 mips64vr | mips64vrel
)
11880 mipsisa32r2
* | mipsisa64r2
*)
11881 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
11883 mips64
* | mipsisa64
* | mipsisa32
*)
11884 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
11887 as_fn_error
"$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
11890 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
11891 # binaries. It's a GNU extension that some OSes don't understand.
11892 # The value only matters on ELF targets.
11895 use_e_mips_abi_o32
=0
11898 use_e_mips_abi_o32
=1
11901 # Decide whether to generate 32-bit or 64-bit code by default.
11902 # Used to resolve -march=from-abi when an embedded ABI is selected.
11904 mips64
*-*-* | mipsisa64
*-*-*)
11905 mips_default_64bit
=1
11908 mips_default_64bit
=0
11911 # Decide which ABI to target by default.
11913 mips64
*-linux* | mips-sgi-irix6
*)
11914 mips_default_abi
=N32_ABI
11917 mips_default_abi
=O32_ABI
11920 mips_default_abi
=N64_ABI
11923 mips_default_abi
=NO_ABI
11927 cat >>confdefs.h
<<_ACEOF
11928 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
11932 cat >>confdefs.h
<<_ACEOF
11933 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
11937 cat >>confdefs.h
<<_ACEOF
11938 #define MIPS_DEFAULT_64BIT $mips_default_64bit
11942 cat >>confdefs.h
<<_ACEOF
11943 #define MIPS_DEFAULT_ABI $mips_default_abi
11949 # Do we need the opcodes library?
11950 case ${cpu_type} in
11957 case "${enable_shared}" in
11958 yes) shared_opcodes
=true
;;
11959 *opcodes
*) shared_opcodes
=true
;;
11960 *) shared_opcodes
=false
;;
11965 # Any other special object files needed ?
11966 case ${cpu_type} in
11969 echo ${extra_objects} |
grep -s "bfin-parse.o"
11970 if test $?
-ne 0 ; then
11971 extra_objects
="$extra_objects bfin-parse.o"
11974 echo ${extra_objects} |
grep -s "bfin-lex.o"
11975 if test $?
-ne 0 ; then
11976 extra_objects
="$extra_objects bfin-lex.o"
11980 fr30 | ip2k | iq2000 | lm32 | m32r | openrisc
)
11991 case ${extra_objects} in
11993 *) extra_objects
="$extra_objects m68k-parse.o" ;;
12002 echo ${extra_objects} |
grep -s "itbl-parse.o"
12003 if test $?
-ne 0 ; then
12004 extra_objects
="$extra_objects itbl-parse.o"
12007 echo ${extra_objects} |
grep -s "itbl-lex.o"
12008 if test $?
-ne 0 ; then
12009 extra_objects
="$extra_objects itbl-lex.o"
12012 echo ${extra_objects} |
grep -s "itbl-ops.o"
12013 if test $?
-ne 0 ; then
12014 extra_objects
="$extra_objects itbl-ops.o"
12022 i386 | s390 | sparc
)
12023 if test $this_target = $target ; then
12025 cat >>confdefs.h
<<_ACEOF
12026 #define DEFAULT_ARCH "${arch}"
12041 echo ${extra_objects} |
grep -s "xtensa-relax.o"
12042 if test $?
-ne 0 ; then
12043 extra_objects
="$extra_objects xtensa-relax.o"
12051 if test $using_cgen = yes ; then
12052 case "x${extra_objects}" in
12054 *) extra_objects
="$extra_objects cgen.o" ;;
12058 # See if we really can support this configuration with the emulation code.
12060 if test $this_target = $target ; then
12065 # From target name and format, produce a list of supported emulations.
12067 case ${generic_target}-${fmt} in
12068 mips-
*-irix5*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
12069 mips
*-*-linux*-*) case "$endian" in
12070 big
) emulation
="mipsbelf mipslelf mipself" ;;
12071 *) emulation
="mipslelf mipsbelf mipself" ;;
12073 mips-
*-lnews*-ecoff) ;;
12074 mips-
*-*-ecoff) case "$endian" in
12075 big
) emulation
="mipsbecoff mipslecoff mipsecoff" ;;
12076 *) emulation
="mipslecoff mipsbecoff mipsecoff" ;;
12078 mips-
*-*-elf) case "$endian" in
12079 big
) emulation
="mipsbelf mipslelf mipself" ;;
12080 *) emulation
="mipslelf mipsbelf mipself" ;;
12082 mips-
*-sysv4*MP
*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
12083 # i386-pc-pe-coff != i386-pc-coff.
12085 # Uncommenting the next line will turn on support for i386 AOUT
12086 # for the default linux configuration
12087 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
12089 i386-
*-aout) emulation
="i386aout" ;;
12090 i386-
*-coff) emulation
="i386coff" ;;
12091 i386-
*-elf) emulation
="i386elf" ;;
12093 # Always all formats. The first stated emulation becomes the default.
12094 cris-
*-*aout
*) emulation
="crisaout criself" ;;
12095 cris-
*-*) emulation
="criself crisaout" ;;
12098 emulations
="$emulations $emulation"
12102 # Turn on all targets if possible
12103 if test ${all_targets} = "yes"; then
12104 case ${target_cpu_type} in
12106 case ${obj_format} in
12108 emulations
="$emulations i386coff i386elf"
12111 emulations
="$emulations i386aout i386elf"
12114 emulations
="$emulations i386aout i386coff"
12119 case ${obj_format} in
12121 emulations
="$emulations i386coff i386elf"
12124 emulations
="$emulations i386aout i386elf"
12127 emulations
="$emulations i386aout i386coff"
12134 # Assign floating point type. Most processors with FP support
12135 # IEEE FP. On those that don't support FP at all, usually IEEE
12137 case ${target_cpu} in
12138 vax | pdp11
) atof
=vax
;;
12142 case "${obj_format}" in
12143 "") as_fn_error
"GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
12146 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
12148 if test $using_cgen = yes ; then
12149 case ${target_cpu} in
12150 *) cgen_cpu_prefix
=${target_cpu} ;;
12154 $as_echo "#define USING_CGEN 1" >>confdefs.h
12159 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
12160 as_fn_error
"GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
12163 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
12164 as_fn_error
"GAS does not have support for object file format ${obj_format}" "$LINENO" 5
12167 # Some COFF configurations want these random other flags set.
12168 case ${obj_format} in
12170 case ${target_cpu_type} in
12172 $as_echo "#define I386COFF 1" >>confdefs.h
12175 $as_echo "#define M68KCOFF 1" >>confdefs.h
12178 $as_echo "#define M88KCOFF 1" >>confdefs.h
12181 $as_echo "#define I386COFF 1" >>confdefs.h
12187 # Getting this done right is going to be a bitch. Each configuration specified
12188 # with --enable-targets=... should be checked for environment, format, cpu
12191 # For each configuration, the necessary object file support code must be linked
12192 # in. This might be only one, it might be up to four. The necessary emulation
12193 # code needs to be provided, too.
12195 # And then there's "--enable-targets=all"....
12197 # For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
12199 formats
="${obj_format}"
12202 _gas_uniq_list
="$emulations"
12203 _gas_uniq_newlist
=""
12204 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12205 case $_gas_uniq_i in
12206 _gas_uniq_dummy
) ;;
12207 *) case " $_gas_uniq_newlist " in
12208 *" $_gas_uniq_i "*) ;;
12209 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12213 emulations
=$_gas_uniq_newlist
12215 for em
in .
$emulations ; do
12218 mipsbelf | mipslelf | mipself
)
12219 fmt=elf
file=mipself
;;
12220 mipsbecoff | mipslecoff | mipsecoff
)
12221 fmt=ecoff
file=mipsecoff
;;
12223 fmt=coff
file=$em ;;
12225 fmt=aout
file=$em ;;
12227 fmt=elf
file=$em ;;
12229 formats
="$formats $fmt"
12230 emfiles
="$emfiles e-$file.o"
12231 EMULATIONS
="$EMULATIONS &$em,"
12233 _gas_uniq_list
="$formats"
12234 _gas_uniq_newlist
=""
12235 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12236 case $_gas_uniq_i in
12237 _gas_uniq_dummy
) ;;
12238 *) case " $_gas_uniq_newlist " in
12239 *" $_gas_uniq_i "*) ;;
12240 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12244 formats
=$_gas_uniq_newlist
12246 _gas_uniq_list
="$emfiles"
12247 _gas_uniq_newlist
=""
12248 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12249 case $_gas_uniq_i in
12250 _gas_uniq_dummy
) ;;
12251 *) case " $_gas_uniq_newlist " in
12252 *" $_gas_uniq_i "*) ;;
12253 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12257 emfiles
=$_gas_uniq_newlist
12259 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
12260 for fmt in $formats ; do
12263 $as_echo "#define OBJ_MAYBE_AOUT 1" >>confdefs.h
12266 $as_echo "#define OBJ_MAYBE_BOUT 1" >>confdefs.h
12269 $as_echo "#define OBJ_MAYBE_COFF 1" >>confdefs.h
12272 $as_echo "#define OBJ_MAYBE_ECOFF 1" >>confdefs.h
12275 $as_echo "#define OBJ_MAYBE_ELF 1" >>confdefs.h
12278 $as_echo "#define OBJ_MAYBE_GENERIC 1" >>confdefs.h
12281 $as_echo "#define OBJ_MAYBE_SOM 1" >>confdefs.h
12284 extra_objects
="$extra_objects obj-$fmt.o"
12288 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
12289 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
12290 # e-mips* has more than one emulation per file, e-i386* has just one at the
12291 # moment. If only one emulation is specified, then don't define
12292 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
12293 case "${obj_format}${emfiles}" in
12295 extra_objects
="$extra_objects $emfiles"
12297 $as_echo "#define USE_EMULATIONS 1" >>confdefs.h
12303 cat >>confdefs.h
<<_ACEOF
12304 #define EMULATIONS $EMULATIONS
12308 cat >>confdefs.h
<<_ACEOF
12309 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
12313 reject_dev_configs
=yes
12315 case ${reject_dev_configs}-${dev} in
12317 as_fn_error
"GAS does not support the ${generic_target} configuration." "$LINENO" 5
12327 # do we need the opcodes library?
12328 case "${need_opcodes}" in
12330 OPCODES_LIB
=..
/opcodes
/libopcodes.la
12337 cat >>confdefs.h
<<_ACEOF
12338 #define TARGET_ALIAS "${target_alias}"
12342 cat >>confdefs.h
<<_ACEOF
12343 #define TARGET_CANONICAL "${target}"
12347 cat >>confdefs.h
<<_ACEOF
12348 #define TARGET_CPU "${target_cpu}"
12352 cat >>confdefs.h
<<_ACEOF
12353 #define TARGET_VENDOR "${target_vendor}"
12357 cat >>confdefs.h
<<_ACEOF
12358 #define TARGET_OS "${target_os}"
12362 for ac_prog
in 'bison -y' byacc
12364 # Extract the first word of "$ac_prog", so it can be a program name with args.
12365 set dummy
$ac_prog; ac_word
=$2
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12367 $as_echo_n "checking for $ac_word... " >&6; }
12368 if test "${ac_cv_prog_YACC+set}" = set; then :
12369 $as_echo_n "(cached) " >&6
12371 if test -n "$YACC"; then
12372 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
12374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12375 for as_dir
in $PATH
12378 test -z "$as_dir" && as_dir
=.
12379 for ac_exec_ext
in '' $ac_executable_extensions; do
12380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12381 ac_cv_prog_YACC
="$ac_prog"
12382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12391 YACC
=$ac_cv_prog_YACC
12392 if test -n "$YACC"; then
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12394 $as_echo "$YACC" >&6; }
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12397 $as_echo "no" >&6; }
12401 test -n "$YACC" && break
12403 test -n "$YACC" || YACC
="yacc"
12405 for ac_prog
in flex
lex
12407 # Extract the first word of "$ac_prog", so it can be a program name with args.
12408 set dummy
$ac_prog; ac_word
=$2
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12410 $as_echo_n "checking for $ac_word... " >&6; }
12411 if test "${ac_cv_prog_LEX+set}" = set; then :
12412 $as_echo_n "(cached) " >&6
12414 if test -n "$LEX"; then
12415 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
12417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12418 for as_dir
in $PATH
12421 test -z "$as_dir" && as_dir
=.
12422 for ac_exec_ext
in '' $ac_executable_extensions; do
12423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12424 ac_cv_prog_LEX
="$ac_prog"
12425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12434 LEX
=$ac_cv_prog_LEX
12435 if test -n "$LEX"; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12437 $as_echo "$LEX" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12440 $as_echo "no" >&6; }
12444 test -n "$LEX" && break
12446 test -n "$LEX" || LEX
=":"
12448 if test "x$LEX" != "x:"; then
12449 cat >conftest.l
<<_ACEOF
12455 e { yyless (input () != 0); }
12456 f { unput (yytext[0]); }
12457 . { BEGIN INITIAL; }
12459 #ifdef YYTEXT_POINTER
12460 extern char *yytext;
12465 return ! yylex () + ! yywrap ();
12468 { { ac_try
="$LEX conftest.l"
12469 case "(($ac_try" in
12470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12471 *) ac_try_echo=$ac_try;;
12473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12474 $as_echo "$ac_try_echo"; } >&5
12475 (eval "$LEX conftest.l") 2>&5
12477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12478 test $ac_status = 0; }
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12480 $as_echo_n "checking lex output file root... " >&6; }
12481 if test "${ac_cv_prog_lex_root+set}" = set; then :
12482 $as_echo_n "(cached) " >&6
12485 if test -f lex.yy.c; then
12486 ac_cv_prog_lex_root=lex.yy
12487 elif test -f lexyy.c; then
12488 ac_cv_prog_lex_root=lexyy
12490 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12494 $as_echo "$ac_cv_prog_lex_root" >&6; }
12495 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12497 if test -z "${LEXLIB+set}"; then
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12499 $as_echo_n "checking lex library... " >&6; }
12500 if test "${ac_cv_lib_lex+set}" = set; then :
12501 $as_echo_n "(cached) " >&6
12505 ac_cv_lib_lex='none needed'
12506 for ac_lib in '' -lfl -ll; do
12507 LIBS="$ac_lib $ac_save_LIBS"
12508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12509 /* end confdefs.h. */
12510 `cat $LEX_OUTPUT_ROOT.c
`
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 ac_cv_lib_lex=$ac_lib
12515 rm -f core conftest.err conftest.$ac_objext \
12516 conftest$ac_exeext conftest.$ac_ext
12517 test "$ac_cv_lib_lex" != 'none needed' && break
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12523 $as_echo "$ac_cv_lib_lex" >&6; }
12524 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12529 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12530 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
12531 $as_echo_n "(cached) " >&6
12533 # POSIX says lex can declare yytext either as a pointer or an array; the
12534 # default is implementation-dependent. Figure out which it is, since
12535 # not all implementations provide the %pointer and %array declarations.
12536 ac_cv_prog_lex_yytext_pointer=no
12538 LIBS="$LEXLIB $ac_save_LIBS"
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 #define YYTEXT_POINTER 1
12542 `cat $LEX_OUTPUT_ROOT.c
`
12544 if ac_fn_c_try_link "$LINENO"; then :
12545 ac_cv_prog_lex_yytext_pointer=yes
12547 rm -f core conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12553 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12554 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12556 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12559 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12562 if test "$LEX" = :; then
12563 LEX=${am_missing_run}flex
12566 ALL_LINGUAS="fr tr es rw id"
12567 # If we haven't got the data from the intl directory,
12568 # assume NLS is disabled.
12577 if test -f ../intl/config.intl; then
12578 . ../intl/config.intl
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12581 $as_echo_n "checking whether NLS is requested... " >&6; }
12582 if test x"$USE_NLS" != xyes; then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12584 $as_echo "no" >&6; }
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12587 $as_echo "yes" >&6; }
12589 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12593 $as_echo_n "checking for catalogs to be installed... " >&6; }
12594 # Look for .po and .gmo files in the source directory.
12597 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
12598 # If there aren't any .gmo files the shell will give us the
12599 # literal string "../path/to/srcdir/po/*.gmo" which has to be
12601 case "$cat" in *\**)
12604 # The quadruple backslash is collapsed to a double backslash
12605 # by the backticks, then collapsed again by the double quotes,
12606 # leaving us with one backslash in the sed expression (right
12607 # before the dot that mustn't act as a wildcard).
12608 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
12609 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
12610 # The user is allowed to set LINGUAS to a list of languages to
12611 # install catalogs for. If it's empty that means "all of them."
12612 if test "x$LINGUAS" = x; then
12613 CATALOGS="$CATALOGS $cat"
12614 XLINGUAS="$XLINGUAS $lang"
12616 case "$LINGUAS" in *$lang*)
12617 CATALOGS="$CATALOGS $cat"
12618 XLINGUAS="$XLINGUAS $lang"
12623 LINGUAS="$XLINGUAS"
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12625 $as_echo "$LINGUAS" >&6; }
12639 if test -n "$ac_aux_dir"; then
12640 case "$ac_aux_dir" in
12641 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
12642 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
12645 if test -z "$MKINSTALLDIRS"; then
12646 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12652 $as_echo_n "checking whether NLS is requested... " >&6; }
12653 # Check whether --enable-nls was given.
12654 if test "${enable_nls+set}" = set; then :
12655 enableval=$enable_nls; USE_NLS=$enableval
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12661 $as_echo "$USE_NLS" >&6; }
12668 # Prepare PATH_SEPARATOR.
12669 # The user is always right.
12670 if test "${PATH_SEPARATOR+set}" != set; then
12671 echo "#! /bin/sh" >conf$$.sh
12672 echo "exit 0" >>conf$$.sh
12674 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12682 # Find out how to test for executable files. Don't use a zero-byte file,
12683 # as systems may use methods other than mode bits to determine executability.
12684 cat >conf$$.file <<_ASEOF
12688 chmod +x conf$$.file
12689 if test -x conf$$.file >/dev/null 2>&1; then
12690 ac_executable_p="test -x"
12692 ac_executable_p="test -f"
12696 # Extract the first word of "msgfmt", so it can be a program name with args.
12697 set dummy msgfmt; ac_word=$2
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12699 $as_echo_n "checking for $ac_word... " >&6; }
12700 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12701 $as_echo_n "(cached) " >&6
12705 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12708 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12709 for ac_dir in $PATH; do
12711 test -z "$ac_dir" && ac_dir=.
12712 for ac_exec_ext in '' $ac_executable_extensions; do
12713 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12714 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
12715 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12716 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12723 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12727 MSGFMT="$ac_cv_path_MSGFMT"
12728 if test "$MSGFMT" != ":"; then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12730 $as_echo "$MSGFMT" >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12733 $as_echo "no" >&6; }
12736 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12737 set dummy gmsgfmt; ac_word=$2
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12739 $as_echo_n "checking for $ac_word... " >&6; }
12740 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12741 $as_echo_n "(cached) " >&6
12745 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12749 for as_dir in $PATH
12752 test -z "$as_dir" && as_dir=.
12753 for ac_exec_ext in '' $ac_executable_extensions; do
12754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12755 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12763 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12767 GMSGFMT=$ac_cv_path_GMSGFMT
12768 if test -n "$GMSGFMT"; then
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12770 $as_echo "$GMSGFMT" >&6; }
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12773 $as_echo "no" >&6; }
12779 # Prepare PATH_SEPARATOR.
12780 # The user is always right.
12781 if test "${PATH_SEPARATOR+set}" != set; then
12782 echo "#! /bin/sh" >conf$$.sh
12783 echo "exit 0" >>conf$$.sh
12785 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12793 # Find out how to test for executable files. Don't use a zero-byte file,
12794 # as systems may use methods other than mode bits to determine executability.
12795 cat >conf$$.file <<_ASEOF
12799 chmod +x conf$$.file
12800 if test -x conf$$.file >/dev/null 2>&1; then
12801 ac_executable_p="test -x"
12803 ac_executable_p="test -f"
12807 # Extract the first word of "xgettext", so it can be a program name with args.
12808 set dummy xgettext; ac_word=$2
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12810 $as_echo_n "checking for $ac_word... " >&6; }
12811 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12812 $as_echo_n "(cached) " >&6
12814 case "$XGETTEXT" in
12816 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12819 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12820 for ac_dir in $PATH; do
12822 test -z "$ac_dir" && ac_dir=.
12823 for ac_exec_ext in '' $ac_executable_extensions; do
12824 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12825 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
12826 (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
12827 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12834 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12838 XGETTEXT="$ac_cv_path_XGETTEXT"
12839 if test "$XGETTEXT" != ":"; then
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12841 $as_echo "$XGETTEXT" >&6; }
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12844 $as_echo "no" >&6; }
12850 # Prepare PATH_SEPARATOR.
12851 # The user is always right.
12852 if test "${PATH_SEPARATOR+set}" != set; then
12853 echo "#! /bin/sh" >conf$$.sh
12854 echo "exit 0" >>conf$$.sh
12856 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12864 # Find out how to test for executable files. Don't use a zero-byte file,
12865 # as systems may use methods other than mode bits to determine executability.
12866 cat >conf$$.file <<_ASEOF
12870 chmod +x conf$$.file
12871 if test -x conf$$.file >/dev/null 2>&1; then
12872 ac_executable_p="test -x"
12874 ac_executable_p="test -f"
12878 # Extract the first word of "msgmerge", so it can be a program name with args.
12879 set dummy msgmerge; ac_word=$2
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12881 $as_echo_n "checking for $ac_word... " >&6; }
12882 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12883 $as_echo_n "(cached) " >&6
12885 case "$MSGMERGE" in
12887 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12890 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12891 for ac_dir in $PATH; do
12893 test -z "$ac_dir" && ac_dir=.
12894 for ac_exec_ext in '' $ac_executable_extensions; do
12895 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12896 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
12897 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12904 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12908 MSGMERGE="$ac_cv_path_MSGMERGE"
12909 if test "$MSGMERGE" != ":"; then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12911 $as_echo "$MSGMERGE" >&6; }
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12914 $as_echo "no" >&6; }
12918 if test "$GMSGFMT" != ":"; then
12919 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
12920 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12923 GMSGFMT=`echo "$GMSGFMT" |
sed -e 's,^.*/,,'`
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12925 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12930 if test "$XGETTEXT" != ":"; then
12931 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
12932 (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
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12936 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12942 ac_config_commands="$ac_config_commands default-1"
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12948 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12949 # Check whether --enable-maintainer-mode was given.
12950 if test "${enable_maintainer_mode+set}" = set; then :
12951 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12953 USE_MAINTAINER_MODE=no
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12957 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12958 if test $USE_MAINTAINER_MODE = yes; then
12959 MAINTAINER_MODE_TRUE=
12960 MAINTAINER_MODE_FALSE='#'
12962 MAINTAINER_MODE_TRUE='#'
12963 MAINTAINER_MODE_FALSE=
12966 MAINT=$MAINTAINER_MODE_TRUE
12970 GENINSRC_NEVER_TRUE=
12971 GENINSRC_NEVER_FALSE='#'
12973 GENINSRC_NEVER_TRUE='#'
12974 GENINSRC_NEVER_FALSE=
12979 for ac_header in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h limits.h
12981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12982 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12983 eval as_val=\$$as_ac_Header
12984 if test "x$as_val" = x""yes; then :
12985 cat >>confdefs.h <<_ACEOF
12986 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12994 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
12995 # people who are not cross-compiling but are compiling cross-assemblers.
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
12997 $as_echo_n "checking whether compiling a cross-assembler... " >&6; }
12998 if test "${host}" = "${target}"; then
13003 $as_echo "#define CROSS_COMPILE 1" >>confdefs.h
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
13007 $as_echo "$cross_gas" >&6; }
13009 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13010 # for constant arguments. Useless!
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13012 $as_echo_n "checking for working alloca.h... " >&6; }
13013 if test "${ac_cv_working_alloca_h+set}" = set; then :
13014 $as_echo_n "(cached) " >&6
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13018 #include <alloca.h>
13022 char *p = (char *) alloca (2 * sizeof (int));
13028 if ac_fn_c_try_link "$LINENO"; then :
13029 ac_cv_working_alloca_h=yes
13031 ac_cv_working_alloca_h=no
13033 rm -f core conftest.err conftest.$ac_objext \
13034 conftest$ac_exeext conftest.$ac_ext
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13037 $as_echo "$ac_cv_working_alloca_h" >&6; }
13038 if test $ac_cv_working_alloca_h = yes; then
13040 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13045 $as_echo_n "checking for alloca... " >&6; }
13046 if test "${ac_cv_func_alloca_works+set}" = set; then :
13047 $as_echo_n "(cached) " >&6
13049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13052 # define alloca __builtin_alloca
13055 # include <malloc.h>
13056 # define alloca _alloca
13058 # ifdef HAVE_ALLOCA_H
13059 # include <alloca.h>
13064 # ifndef alloca /* predefined by HP cc +Olibcalls */
13075 char *p = (char *) alloca (1);
13081 if ac_fn_c_try_link "$LINENO"; then :
13082 ac_cv_func_alloca_works=yes
13084 ac_cv_func_alloca_works=no
13086 rm -f core conftest.err conftest.$ac_objext \
13087 conftest$ac_exeext conftest.$ac_ext
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13090 $as_echo "$ac_cv_func_alloca_works" >&6; }
13092 if test $ac_cv_func_alloca_works = yes; then
13094 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13097 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13098 # that cause trouble. Some versions do not even contain alloca or
13099 # contain a buggy version. If you still want to use their alloca,
13100 # use ar to extract alloca.o from them instead of compiling alloca.c.
13102 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13104 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c
' needs Cray hooks" >&5
13108 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
13109 if test "${ac_cv_os_cray+set}" = set; then :
13110 $as_echo_n "(cached
) " >&6
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13114 #if defined CRAY && ! defined CRAY2
13121 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
13122 $EGREP "webecray
" >/dev/null 2>&1; then :
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_os_cray" >&5
13131 $as_echo "$ac_cv_os_cray" >&6; }
13132 if test $ac_cv_os_cray = yes; then
13133 for ac_func in _getb67 GETB67 getb67; do
13134 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13136 eval as_val=\$$as_ac_var
13137 if test "x
$as_val" = x""yes; then :
13139 cat >>confdefs.h <<_ACEOF
13140 #define CRAY_STACKSEG_END $ac_func
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction
for C alloca
" >&5
13150 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
13151 if test "${ac_cv_c_stack_direction+set}" = set; then :
13152 $as_echo_n "(cached
) " >&6
13154 if test "$cross_compiling" = yes; then :
13155 ac_cv_c_stack_direction=0
13157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13159 $ac_includes_default
13161 find_stack_direction ()
13163 static char *addr = 0;
13168 return find_stack_direction ();
13171 return (&dummy > addr) ? 1 : -1;
13177 return find_stack_direction () < 0;
13180 if ac_fn_c_try_run "$LINENO"; then :
13181 ac_cv_c_stack_direction=1
13183 ac_cv_c_stack_direction=-1
13185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13186 conftest.$ac_objext conftest.beam conftest.$ac_ext
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_stack_direction" >&5
13191 $as_echo "$ac_cv_c_stack_direction" >&6; }
13192 cat >>confdefs.h <<_ACEOF
13193 #define STACK_DIRECTION $ac_cv_c_stack_direction
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for inline
" >&5
13200 $as_echo_n "checking
for inline...
" >&6; }
13201 if test "${ac_cv_c_inline+set}" = set; then :
13202 $as_echo_n "(cached
) " >&6
13205 for ac_kw in inline __inline__ __inline; do
13206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13208 #ifndef __cplusplus
13210 static $ac_kw foo_t static_foo () {return 0; }
13211 $ac_kw foo_t foo () {return 0; }
13215 if ac_fn_c_try_compile "$LINENO"; then :
13216 ac_cv_c_inline=$ac_kw
13218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13219 test "$ac_cv_c_inline" != no && break
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_inline" >&5
13224 $as_echo "$ac_cv_c_inline" >&6; }
13226 case $ac_cv_c_inline in
13229 case $ac_cv_c_inline in
13231 *) ac_val=$ac_cv_c_inline;;
13233 cat >>confdefs.h <<_ACEOF
13234 #ifndef __cplusplus
13235 #define inline $ac_val
13242 # VMS doesn't have unlink.
13243 for ac_func in unlink remove
13245 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13247 eval as_val=\$$as_ac_var
13248 if test "x
$as_val" = x""yes; then :
13249 cat >>confdefs.h <<_ACEOF
13250 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13257 # Some systems don't have sbrk().
13258 for ac_func in sbrk
13260 ac_fn_c_check_func "$LINENO" "sbrk
" "ac_cv_func_sbrk
"
13261 if test "x
$ac_cv_func_sbrk" = x""yes; then :
13262 cat >>confdefs.h <<_ACEOF
13263 #define HAVE_SBRK 1
13270 # do we need the math library?
13271 case "${need_libm}" in
13275 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
13276 # These system don't have libm, or don't need it
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for _mwvalidcheckl
in -lmw" >&5
13280 $as_echo_n "checking
for _mwvalidcheckl
in -lmw...
" >&6; }
13281 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
13282 $as_echo_n "(cached
) " >&6
13284 ac_check_lib_save_LIBS=$LIBS
13286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13289 /* Override any GCC internal prototype to avoid an error.
13290 Use char because int might match the return type of a GCC
13291 builtin and then its argument prototype would still apply. */
13295 char _mwvalidcheckl ();
13299 return _mwvalidcheckl ();
13304 if ac_fn_c_try_link "$LINENO"; then :
13305 ac_cv_lib_mw__mwvalidcheckl=yes
13307 ac_cv_lib_mw__mwvalidcheckl=no
13309 rm -f core conftest.err conftest.$ac_objext \
13310 conftest$ac_exeext conftest.$ac_ext
13311 LIBS=$ac_check_lib_save_LIBS
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_mw__mwvalidcheckl" >&5
13314 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13315 if test "x
$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for cos
in -lm" >&5
13320 $as_echo_n "checking
for cos
in -lm...
" >&6; }
13321 if test "${ac_cv_lib_m_cos+set}" = set; then :
13322 $as_echo_n "(cached
) " >&6
13324 ac_check_lib_save_LIBS=$LIBS
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13344 if ac_fn_c_try_link "$LINENO"; then :
13345 ac_cv_lib_m_cos=yes
13349 rm -f core conftest.err conftest.$ac_objext \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_lib_save_LIBS
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_m_cos" >&5
13354 $as_echo "$ac_cv_lib_m_cos" >&6; }
13355 if test "x
$ac_cv_lib_m_cos" = x""yes; then :
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for cos
in -lm" >&5
13362 $as_echo_n "checking
for cos
in -lm...
" >&6; }
13363 if test "${ac_cv_lib_m_cos+set}" = set; then :
13364 $as_echo_n "(cached
) " >&6
13366 ac_check_lib_save_LIBS=$LIBS
13368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h. */
13371 /* Override any GCC internal prototype to avoid an error.
13372 Use char because int might match the return type of a GCC
13373 builtin and then its argument prototype would still apply. */
13386 if ac_fn_c_try_link "$LINENO"; then :
13387 ac_cv_lib_m_cos=yes
13391 rm -f core conftest.err conftest.$ac_objext \
13392 conftest$ac_exeext conftest.$ac_ext
13393 LIBS=$ac_check_lib_save_LIBS
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_m_cos" >&5
13396 $as_echo "$ac_cv_lib_m_cos" >&6; }
13397 if test "x
$ac_cv_lib_m_cos" = x""yes; then :
13409 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
13410 # enough, but on some of those systems, the assert macro relies on requoting
13411 # working properly!
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for working assert macro
" >&5
13413 $as_echo_n "checking
for working assert macro...
" >&6; }
13414 if test "${gas_cv_assert_ok+set}" = set; then :
13415 $as_echo_n "(cached
) " >&6
13417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13418 /* end confdefs.h. */
13419 #include <assert.h>
13425 /* check for requoting problems */
13426 static int a, b, c, d;
13428 assert (!strcmp(s, "foo bar baz quux
"));
13429 /* check for newline handling */
13437 if ac_fn_c_try_link "$LINENO"; then :
13438 gas_cv_assert_ok=yes
13440 gas_cv_assert_ok=no
13442 rm -f core conftest.err conftest.$ac_objext \
13443 conftest$ac_exeext conftest.$ac_ext
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $gas_cv_assert_ok" >&5
13446 $as_echo "$gas_cv_assert_ok" >&6; }
13447 test $gas_cv_assert_ok = yes ||
13448 $as_echo "#define BROKEN_ASSERT 1" >>confdefs.h
13452 # On some systems, the system header files may not declare malloc, realloc,
13453 # and free. There are places where gas needs these functions to have been
13454 # declared -- such as when taking their addresses.
13456 #ifdef HAVE_MEMORY_H
13457 #include <memory.h>
13459 #ifdef HAVE_STRING_H
13460 #include <string.h>
13462 #ifdef HAVE_STRINGS_H
13463 #include <strings.h>
13466 #ifdef HAVE_STDLIB_H
13467 #include <stdlib.h>
13469 #ifdef HAVE_UNISTD_H
13470 #include <unistd.h>
13474 # Does errno.h declare errno, or do we have to add a separate declaration
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for errno" >&5
13478 $as_echo_n "checking whether declaration is required for errno... " >&6; }
13479 if test "${gas_cv_decl_needed_errno+set}" = set; then :
13480 $as_echo_n "(cached) " >&6
13482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13483 /* end confdefs.h. */
13485 #ifdef HAVE_ERRNO_H
13501 if ac_fn_c_try_link
"$LINENO"; then :
13502 gas_cv_decl_needed_errno
=no
13504 gas_cv_decl_needed_errno
=yes
13506 rm -f core conftest.err conftest.
$ac_objext \
13507 conftest
$ac_exeext conftest.
$ac_ext
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_errno" >&5
13510 $as_echo "$gas_cv_decl_needed_errno" >&6; }
13511 if test $gas_cv_decl_needed_errno = yes; then
13513 $as_echo "#define NEED_DECLARATION_ERRNO 1" >>confdefs.h
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
13519 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
13520 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then :
13521 $as_echo_n "(cached) " >&6
13523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13525 #include <unistd.h>
13529 extern int getopt (int, char *const*, const char *);
13534 if ac_fn_c_try_compile
"$LINENO"; then :
13535 gas_cv_decl_getopt_unistd_h
=yes
13537 gas_cv_decl_getopt_unistd_h
=no
13539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
13543 $as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
13544 if test $gas_cv_decl_getopt_unistd_h = yes; then
13546 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
13552 $as_echo_n "checking whether declaration is required for environ... " >&6; }
13553 if test "${gas_cv_decl_needed_environ+set}" = set; then :
13554 $as_echo_n "(cached) " >&6
13556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13571 if ac_fn_c_try_link
"$LINENO"; then :
13572 gas_cv_decl_needed_environ
=no
13574 gas_cv_decl_needed_environ
=yes
13576 rm -f core conftest.err conftest.
$ac_objext \
13577 conftest
$ac_exeext conftest.
$ac_ext
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
13580 $as_echo "$gas_cv_decl_needed_environ" >&6; }
13581 if test $gas_cv_decl_needed_environ = yes; then
13583 $as_echo "#define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
13589 $as_echo_n "checking whether declaration is required for ffs... " >&6; }
13590 if test "${gas_cv_decl_needed_ffs+set}" = set; then :
13591 $as_echo_n "(cached) " >&6
13593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13600 typedef int (*f)(int);
13608 if ac_fn_c_try_link
"$LINENO"; then :
13609 gas_cv_decl_needed_ffs
=no
13611 gas_cv_decl_needed_ffs
=yes
13613 rm -f core conftest.err conftest.
$ac_objext \
13614 conftest
$ac_exeext conftest.
$ac_ext
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
13617 $as_echo "$gas_cv_decl_needed_ffs" >&6; }
13618 if test $gas_cv_decl_needed_ffs = yes; then
13620 $as_echo "#define NEED_DECLARATION_FFS 1" >>confdefs.h
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for free" >&5
13626 $as_echo_n "checking whether declaration is required for free... " >&6; }
13627 if test "${gas_cv_decl_needed_free+set}" = set; then :
13628 $as_echo_n "(cached) " >&6
13630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13637 typedef void (*f)();
13645 if ac_fn_c_try_link
"$LINENO"; then :
13646 gas_cv_decl_needed_free
=no
13648 gas_cv_decl_needed_free
=yes
13650 rm -f core conftest.err conftest.
$ac_objext \
13651 conftest
$ac_exeext conftest.
$ac_ext
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_free" >&5
13654 $as_echo "$gas_cv_decl_needed_free" >&6; }
13655 if test $gas_cv_decl_needed_free = yes; then
13657 $as_echo "#define NEED_DECLARATION_FREE 1" >>confdefs.h
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for malloc" >&5
13663 $as_echo_n "checking whether declaration is required for malloc... " >&6; }
13664 if test "${gas_cv_decl_needed_malloc+set}" = set; then :
13665 $as_echo_n "(cached) " >&6
13667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13668 /* end confdefs.h. */
13674 typedef char *(*f)();
13682 if ac_fn_c_try_link
"$LINENO"; then :
13683 gas_cv_decl_needed_malloc
=no
13685 gas_cv_decl_needed_malloc
=yes
13687 rm -f core conftest.err conftest.
$ac_objext \
13688 conftest
$ac_exeext conftest.
$ac_ext
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_malloc" >&5
13691 $as_echo "$gas_cv_decl_needed_malloc" >&6; }
13692 if test $gas_cv_decl_needed_malloc = yes; then
13694 $as_echo "#define NEED_DECLARATION_MALLOC 1" >>confdefs.h
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for sbrk" >&5
13700 $as_echo_n "checking whether declaration is required for sbrk... " >&6; }
13701 if test "${gas_cv_decl_needed_sbrk+set}" = set; then :
13702 $as_echo_n "(cached) " >&6
13704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13711 typedef char *(*f)();
13719 if ac_fn_c_try_link
"$LINENO"; then :
13720 gas_cv_decl_needed_sbrk
=no
13722 gas_cv_decl_needed_sbrk
=yes
13724 rm -f core conftest.err conftest.
$ac_objext \
13725 conftest
$ac_exeext conftest.
$ac_ext
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_sbrk" >&5
13728 $as_echo "$gas_cv_decl_needed_sbrk" >&6; }
13729 if test $gas_cv_decl_needed_sbrk = yes; then
13731 $as_echo "#define NEED_DECLARATION_SBRK 1" >>confdefs.h
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for strstr" >&5
13737 $as_echo_n "checking whether declaration is required for strstr... " >&6; }
13738 if test "${gas_cv_decl_needed_strstr+set}" = set; then :
13739 $as_echo_n "(cached) " >&6
13741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13748 typedef char *(*f)();
13756 if ac_fn_c_try_link
"$LINENO"; then :
13757 gas_cv_decl_needed_strstr
=no
13759 gas_cv_decl_needed_strstr
=yes
13761 rm -f core conftest.err conftest.
$ac_objext \
13762 conftest
$ac_exeext conftest.
$ac_ext
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_strstr" >&5
13765 $as_echo "$gas_cv_decl_needed_strstr" >&6; }
13766 if test $gas_cv_decl_needed_strstr = yes; then
13768 $as_echo "#define NEED_DECLARATION_STRSTR 1" >>confdefs.h
13773 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
13774 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
13780 cat >>confdefs.h
<<_ACEOF
13781 #define HAVE_DECL_VSNPRINTF $ac_have_decl
13787 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
13789 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
13800 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
13802 ac_config_commands
="$ac_config_commands default"
13805 cat >confcache
<<\_ACEOF
13806 # This file is a shell script that caches the results of configure
13807 # tests run on this system so they can be shared between configure
13808 # scripts and configure runs, see configure's option --config-cache.
13809 # It is not useful on other systems. If it contains results you don't
13810 # want to keep, you may remove or edit it.
13812 # config.status only pays attention to the cache file if you give it
13813 # the --recheck option to rerun configure.
13815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13817 # following values.
13821 # The following way of writing the cache mishandles newlines in values,
13822 # but we know of no workaround that is simple, portable, and efficient.
13823 # So, we kill variables containing newlines.
13824 # Ultrix sh set writes to stderr and can't be redirected directly,
13825 # and sets the high bit in the cache file unless we assign to the vars.
13827 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13828 eval ac_val
=\$
$ac_var
13832 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13836 _ | IFS | as_nl
) ;; #(
13837 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13838 *) { eval $ac_var=; unset $ac_var;} ;;
13844 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13845 *${as_nl}ac_space
=\
*)
13846 # `set' does not quote correctly, so add quotes: double-quote
13847 # substitution turns \\\\ into \\, and sed turns \\ into \.
13850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13853 # `set' quotes correctly as required by POSIX, so do not add quotes.
13854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13863 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13865 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13867 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13868 if test -w "$cache_file"; then
13869 test "x$cache_file" != "x/dev/null" &&
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13871 $as_echo "$as_me: updating cache $cache_file" >&6;}
13872 cat confcache
>$cache_file
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13875 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13880 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13881 # Let make expand exec_prefix.
13882 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13884 DEFS
=-DHAVE_CONFIG_H
13888 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13889 # 1. Remove the extension, and $U if already installed.
13890 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13891 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13892 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13893 # will be set to the directory where LIBOBJS objects are built.
13894 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13895 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13897 LIBOBJS
=$ac_libobjs
13899 LTLIBOBJS
=$ac_ltlibobjs
13902 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13903 as_fn_error
"conditional \"AMDEP\" was never defined.
13904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13906 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13907 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13910 if test -n "$EXEEXT"; then
13912 am__EXEEXT_FALSE
='#'
13914 am__EXEEXT_TRUE
='#'
13919 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13920 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13923 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
13924 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
13925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13928 : ${CONFIG_STATUS=./config.status}
13930 ac_clean_files_save
=$ac_clean_files
13931 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13933 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13935 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13937 # Generated by $as_me.
13938 # Run this file to recreate the current configuration.
13939 # Compiler output produced by configure, useful for debugging
13940 # configure, is in config.log if it exists.
13943 ac_cs_recheck=false
13946 SHELL=\${CONFIG_SHELL-$SHELL}
13949 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13950 ## -------------------- ##
13951 ## M4sh Initialization. ##
13952 ## -------------------- ##
13954 # Be more Bourne compatible
13955 DUALCASE
=1; export DUALCASE
# for MKS sh
13956 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13959 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13960 # is contrary to our usage. Disable this feature.
13961 alias -g '${1+"$@"}'='"$@"'
13962 setopt NO_GLOB_SUBST
13964 case `(set -o) 2>/dev/null` in #(
13976 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13977 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13978 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13979 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13980 # Prefer a ksh shell builtin over an external printf program on Solaris,
13981 # but without wasting forks for bash or zsh.
13982 if test -z "$BASH_VERSION$ZSH_VERSION" \
13983 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13984 as_echo='print
-r --'
13985 as_echo_n='print
-rn --'
13986 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13987 as_echo='printf %s
\n'
13988 as_echo_n='printf %s
'
13990 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13991 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13992 as_echo_n='/usr
/ucb
/echo -n'
13994 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13995 as_echo_n_body='eval
13999 expr "X$arg" : "X\\(.*\\)$as_nl";
14000 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14002 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14004 export as_echo_n_body
14005 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14007 export as_echo_body
14008 as_echo='sh
-c $as_echo_body as_echo
'
14011 # The user is always right.
14012 if test "${PATH_SEPARATOR+set}" != set; then
14014 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14015 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14022 # We need space, tab and new line, in precisely that order. Quoting is
14023 # there to prevent editors from complaining about space-tab.
14024 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14025 # splitting by setting IFS to empty value.)
14028 # Find who we are. Look in the path if we contain no directory separator.
14030 *[\\/]* ) as_myself=$0 ;;
14031 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14032 for as_dir in $PATH
14035 test -z "$as_dir" && as_dir=.
14036 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14042 # We did not find ourselves, most probably we were run as `sh COMMAND'
14043 # in which case we are not to be found in the path.
14044 if test "x$as_myself" = x
; then
14047 if test ! -f "$as_myself"; then
14048 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14052 # Unset variables that we do not need and which cause bugs (e.g. in
14053 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14054 # suppresses any "Segmentation fault" message there. '((' could
14055 # trigger a bug in pdksh 5.2.14.
14056 for as_var
in BASH_ENV ENV MAIL MAILPATH
14057 do eval test x\
${$as_var+set} = xset \
14058 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14071 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14074 # as_fn_error ERROR [LINENO LOG_FD]
14075 # ---------------------------------
14076 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14077 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14078 # script with status $?, using 1 if that was 0.
14081 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14083 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14084 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14086 $as_echo "$as_me: error: $1" >&2
14087 as_fn_exit
$as_status
14091 # as_fn_set_status STATUS
14092 # -----------------------
14093 # Set $? to STATUS, without forking.
14094 as_fn_set_status
()
14097 } # as_fn_set_status
14099 # as_fn_exit STATUS
14100 # -----------------
14101 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14105 as_fn_set_status
$1
14111 # Portably unset VAR.
14114 { eval $1=; unset $1;}
14116 as_unset
=as_fn_unset
14117 # as_fn_append VAR VALUE
14118 # ----------------------
14119 # Append the text in VALUE to the end of the definition contained in VAR. Take
14120 # advantage of any shell optimizations that allow amortized linear growth over
14121 # repeated appends, instead of the typical quadratic growth present in naive
14123 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14124 eval 'as_fn_append ()
14135 # as_fn_arith ARG...
14136 # ------------------
14137 # Perform arithmetic evaluation on the ARGs, and store the result in the
14138 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14139 # must be portable across $(()) and expr.
14140 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14141 eval 'as_fn_arith ()
14148 as_val
=`expr "$@" || test $? -eq 1`
14153 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14154 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14160 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14161 as_basename
=basename
14166 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14172 as_me
=`$as_basename -- "$0" ||
14173 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14174 X"$0" : 'X\(//\)$' \| \
14175 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14177 sed '/^.*\/\([^/][^/]*\)\/*$/{
14191 # Avoid depending upon Character Ranges.
14192 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14193 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14194 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14195 as_cr_digits
='0123456789'
14196 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14198 ECHO_C
= ECHO_N
= ECHO_T
=
14199 case `echo -n x` in #(((((
14201 case `echo 'xy\c'` in
14202 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14204 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14211 rm -f conf$$ conf$$.exe conf$$.
file
14212 if test -d conf$$.dir
; then
14213 rm -f conf$$.dir
/conf$$.
file
14216 mkdir conf$$.dir
2>/dev
/null
14218 if (echo >conf$$.
file) 2>/dev
/null
; then
14219 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14221 # ... but there are two gotchas:
14222 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14223 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14224 # In both cases, we have to default to `cp -p'.
14225 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14227 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14235 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14236 rmdir conf$$.dir
2>/dev
/null
14241 # Create "$as_dir" as a directory, including parents if necessary.
14246 -*) as_dir
=.
/$as_dir;;
14248 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14252 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14253 *) as_qdir
=$as_dir;;
14255 as_dirs
="'$as_qdir' $as_dirs"
14256 as_dir
=`$as_dirname -- "$as_dir" ||
14257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14258 X"$as_dir" : 'X\(//\)[^/]' \| \
14259 X"$as_dir" : 'X\(//\)$' \| \
14260 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14261 $as_echo X"$as_dir" |
14262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14266 /^X\(\/\/\)[^/].*/{
14279 test -d "$as_dir" && break
14281 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14282 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14286 if mkdir
-p .
2>/dev
/null
; then
14287 as_mkdir_p
='mkdir -p "$as_dir"'
14289 test -d .
/-p && rmdir .
/-p
14293 if test -x / >/dev
/null
2>&1; then
14294 as_test_x
='test -x'
14296 if ls -dL / >/dev
/null
2>&1; then
14303 if test -d "$1"; then
14309 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14310 ???[sx]*):;;*)false;;esac;fi
14314 as_executable_p
=$as_test_x
14316 # Sed expression to map a string onto a valid CPP name.
14317 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14319 # Sed expression to map a string onto a valid variable name.
14320 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14324 ## ----------------------------------- ##
14325 ## Main body of $CONFIG_STATUS script. ##
14326 ## ----------------------------------- ##
14328 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14331 # Save the log message, to keep $0 and so on meaningful, and to
14332 # report actual input values of CONFIG_FILES etc. instead of their
14333 # values after options handling.
14335 This file was extended by $as_me, which was
14336 generated by GNU Autoconf 2.64. Invocation command line was
14338 CONFIG_FILES = $CONFIG_FILES
14339 CONFIG_HEADERS = $CONFIG_HEADERS
14340 CONFIG_LINKS = $CONFIG_LINKS
14341 CONFIG_COMMANDS = $CONFIG_COMMANDS
14344 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14349 case $ac_config_files in *"
14350 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14353 case $ac_config_headers in *"
14354 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14359 # Files that config.status was made for.
14360 config_files="$ac_config_files"
14361 config_headers="$ac_config_headers"
14362 config_commands="$ac_config_commands"
14366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14368 \`$as_me' instantiates files and other configuration actions
14369 from templates according to the current configuration. Unless the files
14370 and actions are specified as TAGs, all are instantiated by default.
14372 Usage: $0 [OPTION]... [TAG]...
14374 -h, --help print this help, then exit
14375 -V, --version print version number and configuration settings, then exit
14376 -q, --quiet, --silent
14377 do not print progress messages
14378 -d, --debug don't remove temporary files
14379 --recheck update $as_me by reconfiguring in the same conditions
14380 --file=FILE[:TEMPLATE]
14381 instantiate the configuration file FILE
14382 --header=FILE[:TEMPLATE]
14383 instantiate the configuration header FILE
14385 Configuration files:
14388 Configuration headers:
14391 Configuration commands:
14394 Report bugs to the package provider."
14397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14400 configured by $0, generated by GNU Autoconf 2.64,
14401 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14403 Copyright (C) 2009 Free Software Foundation, Inc.
14404 This config.status script is free software; the Free Software Foundation
14405 gives unlimited permission to copy, distribute and modify it."
14412 test -n "\$AWK" || AWK=awk
14415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14416 # The default lists apply if the user does not specify any file.
14422 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14423 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14434 # Handling of the options.
14435 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14437 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14438 $as_echo "$ac_cs_version"; exit ;;
14439 --debug |
--debu |
--deb |
--de |
--d |
-d )
14441 --file |
--fil |
--fi |
--f )
14444 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14446 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14447 ac_need_defaults
=false
;;
14448 --header |
--heade |
--head |
--hea )
14451 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14453 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14454 ac_need_defaults
=false
;;
14456 # Conflict between --help and --header
14457 as_fn_error
"ambiguous option: \`$1'
14458 Try \`$0 --help' for more information.";;
14459 --help |
--hel |
-h )
14460 $as_echo "$ac_cs_usage"; exit ;;
14461 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14462 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14465 # This is an error.
14466 -*) as_fn_error
"unrecognized option: \`$1'
14467 Try \`$0 --help' for more information." ;;
14469 *) as_fn_append ac_config_targets
" $1"
14470 ac_need_defaults
=false
;;
14476 ac_configure_extra_args
=
14478 if $ac_cs_silent; then
14480 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14485 if \$ac_cs_recheck; then
14486 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14488 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14489 CONFIG_SHELL='$SHELL'
14490 export CONFIG_SHELL
14495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14499 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14500 ## Running $as_me. ##
14506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14510 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14513 # The HP-UX ksh and POSIX shell print the target directory to stdout
14514 # if CDPATH is set.
14515 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14517 sed_quote_subst='$sed_quote_subst'
14518 double_quote_subst='$double_quote_subst'
14519 delay_variable_subst='$delay_variable_subst'
14520 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14521 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14522 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14523 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14524 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14525 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14526 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14527 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14528 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14529 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14530 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14531 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14532 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14533 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14534 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14535 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14536 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14537 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14538 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14539 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14540 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14541 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14542 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14543 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14544 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14545 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14546 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14547 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14548 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14549 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14550 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14551 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14552 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14553 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14554 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14555 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14556 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14557 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14558 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14559 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14560 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14561 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14562 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14563 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14564 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"`'
14565 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"`'
14566 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14567 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14568 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14569 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14570 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14571 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14572 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14573 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14574 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14575 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14576 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14577 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14578 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14579 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14580 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14581 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14582 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14583 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14584 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14585 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14586 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14587 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14588 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14589 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14590 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14591 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14592 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14593 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14594 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14595 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14596 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14597 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14598 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14599 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14600 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14601 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14602 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14603 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14604 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14605 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14606 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14607 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14608 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14609 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14610 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14611 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14612 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14613 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14614 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14615 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14616 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14617 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14618 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14619 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14620 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14621 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14622 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14623 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14624 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14625 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14626 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14627 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14628 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14629 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14630 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14631 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14632 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14633 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14634 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14635 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14636 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14637 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14640 LTCFLAGS='$LTCFLAGS'
14641 compiler='$compiler_DEFAULT'
14643 # Quote evaled strings.
14655 deplibs_check_method \
14664 lt_cv_sys_global_symbol_pipe \
14665 lt_cv_sys_global_symbol_to_cdecl \
14666 lt_cv_sys_global_symbol_to_c_name_address \
14667 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14670 lt_prog_compiler_no_builtin_flag \
14671 lt_prog_compiler_wl \
14672 lt_prog_compiler_pic \
14673 lt_prog_compiler_static \
14674 lt_cv_prog_compiler_c_o \
14682 export_dynamic_flag_spec \
14683 whole_archive_flag_spec \
14684 compiler_needs_object \
14686 allow_undefined_flag \
14687 no_undefined_flag \
14688 hardcode_libdir_flag_spec \
14689 hardcode_libdir_flag_spec_ld \
14690 hardcode_libdir_separator \
14695 variables_saved_for_relink \
14697 library_names_spec \
14702 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14703 *[\\\\\\\`\\"\\\$]*)
14704 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14707 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14712 # Double-quote double-evaled strings.
14713 for var in reload_cmds \
14714 old_postinstall_cmds \
14715 old_postuninstall_cmds \
14717 extract_expsyms_cmds \
14718 old_archive_from_new_cmds \
14719 old_archive_from_expsyms_cmds \
14721 archive_expsym_cmds \
14723 module_expsym_cmds \
14724 export_symbols_cmds \
14727 postuninstall_cmds \
14729 sys_lib_search_path_spec \
14730 sys_lib_dlsearch_path_spec; do
14731 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14732 *[\\\\\\\`\\"\\\$]*)
14733 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14736 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14741 # Fix-up fallback echo if it was mangled by the above quoting rules.
14743 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14747 ac_aux_dir='$ac_aux_dir'
14748 xsi_shell='$xsi_shell'
14749 lt_shell_append='$lt_shell_append'
14751 # See if we are running on zsh, and set the options which allow our
14752 # commands through without removal of \ escapes INIT.
14753 if test -n "\${ZSH_VERSION+set}" ; then
14754 setopt NO_GLOB_SUBST
14760 TIMESTAMP='$TIMESTAMP'
14766 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
14767 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
14769 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
14770 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14771 LINGUAS="${LINGUAS-%UNSET%}"
14773 target_cpu_type=${target_cpu_type}
14774 cgen_cpu_prefix=${cgen_cpu_prefix}
14775 obj_format=${obj_format}
14780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14782 # Handling of arguments.
14783 for ac_config_target
in $ac_config_targets
14785 case $ac_config_target in
14786 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14787 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14788 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
14789 "gdb.ini") CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
14790 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
14791 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14792 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14793 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
14794 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
14795 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
14797 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14802 # If the user did not use the arguments to specify the items to instantiate,
14803 # then the envvar interface is used. Set only those that are not.
14804 # We use the long form for the default assignment because of an extremely
14805 # bizarre bug on SunOS 4.1.3.
14806 if $ac_need_defaults; then
14807 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14808 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14809 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14812 # Have a temporary directory for convenience. Make it in the build tree
14813 # simply because there is no reason against having it here, and in addition,
14814 # creating and moving files from /tmp can sometimes cause problems.
14815 # Hook for its removal unless debugging.
14816 # Note that there is a small window in which the directory will not be cleaned:
14817 # after its creation but before its name has been assigned to `$tmp'.
14821 trap 'exit_status=$?
14822 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14824 trap 'as_fn_exit 1' 1 2 13 15
14826 # Create a (secure) tmp directory for tmp files.
14829 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14830 test -n "$tmp" && test -d "$tmp"
14833 tmp
=.
/conf$$
-$RANDOM
14834 (umask 077 && mkdir
"$tmp")
14835 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14837 # Set up the scripts for CONFIG_FILES section.
14838 # No need to generate them if there are no CONFIG_FILES.
14839 # This happens for instance with `./config.status config.h'.
14840 if test -n "$CONFIG_FILES"; then
14843 ac_cr
=`echo X | tr X '\015'`
14844 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14845 # But we know of no other shell where ac_cr would be empty at this
14846 # point, so we can use a bashism as a fallback.
14847 if test "x$ac_cr" = x
; then
14848 eval ac_cr
=\$
\'\\r
\'
14850 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14851 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14854 ac_cs_awk_cr
=$ac_cr
14857 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14862 echo "cat >conf$$subs.awk <<_ACEOF" &&
14863 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14865 } >conf$$subs.sh ||
14866 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14867 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14869 for ac_last_try in false false false false false :; do
14870 . ./conf$$subs.sh ||
14871 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14873 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14874 if test $ac_delim_n = $ac_delim_num; then
14876 elif $ac_last_try; then
14877 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14879 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14882 rm -f conf$$subs.sh
14884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14885 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14889 s/^/S["/; s
/!.
*/"]=/
14899 s/\(.\{148\}\).*/\1/
14901 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14906 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14913 s/\(.\{148\}\).*/\1/
14915 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14919 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14924 ' <conf$$subs.awk | sed '
14929 ' >>$CONFIG_STATUS || ac_write_fail=1
14930 rm -f conf$$subs.awk
14931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14933 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14934 for (key in S) S_is_set[key] = 1
14940 nfields = split(line, field, "@
")
14942 len = length(field[1])
14943 for (i = 2; i < nfields; i++) {
14945 keylen = length(key)
14946 if (S_is_set[key]) {
14948 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14949 len += length(value) + length(field[++i])
14960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14961 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14962 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14965 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14966 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14969 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14970 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14971 # trailing colons and then remove the whole line if VPATH becomes empty
14972 # (actually we leave an empty line to preserve line numbers).
14973 if test "x
$srcdir" = x.; then
14974 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14975 s/:*\$(srcdir):*/:/
14976 s/:*\${srcdir}:*/:/
14978 s/^\([^=]*=[ ]*\):*/\1/
14984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14985 fi # test -n "$CONFIG_FILES"
14987 # Set up the scripts for CONFIG_HEADERS section.
14988 # No need to generate them if there are no CONFIG_HEADERS.
14989 # This happens for instance with `./config.status Makefile'.
14990 if test -n "$CONFIG_HEADERS"; then
14991 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14995 # Transform confdefs.h into an awk script `defines.awk', embedded as
14996 # here-document in config.status, that substitutes the proper values into
14997 # config.h.in to produce config.h.
14999 # Create a delimiter string that does not exist in confdefs.h, to ease
15000 # handling of long lines.
15002 for ac_last_try in false false :; do
15003 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15004 if test -z "$ac_t"; then
15006 elif $ac_last_try; then
15007 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15009 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15013 # For the awk script, D is an array of macro values keyed by name,
15014 # likewise P contains macro parameters if any. Preserve backslash
15015 # newline sequences.
15017 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15019 s/.\{148\}/&'"$ac_delim"'/g
15022 s/^[ ]*#[ ]*define[ ][ ]*/ /
15029 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15031 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15035 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15036 D["\
1"]=" \
3\\\\\\n
"\\/p
15038 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15043 s/.\{148\}/&'"$ac_delim"'/g
15048 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15051 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15053 ' <confdefs.h | sed '
15054 s/'"$ac_delim"'/"\\\
15055 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15058 for (key in D) D_is_set[key] = 1
15061 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15063 split(line, arg, " ")
15064 if (arg[1] == "#") {
15068 defundef
= substr
(arg
[1], 2)
15071 split(mac1
, mac2
, "(") #)
15073 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15074 if (D_is_set
[macro
]) {
15075 # Preserve the white space surrounding the "#".
15076 print prefix
"define", macro P
[macro
] D
[macro
]
15079 # Replace #undef with comments. This is necessary, for example,
15080 # in the case of _POSIX_SOURCE, which is predefined and required
15081 # on some systems where configure will not decide to define it.
15082 if (defundef
== "undef") {
15083 print
"/*", prefix defundef
, macro
, "*/"
15091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15092 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15093 fi # test -n "$CONFIG_HEADERS"
15096 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15101 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15103 case $ac_mode$ac_tag in
15105 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15106 :[FH
]-) ac_tag
=-:-;;
15107 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15124 -) ac_f
="$tmp/stdin";;
15125 *) # Look for the file first in the build tree, then in the source tree
15126 # (if the path is not absolute). The absolute path cannot be DOS-style,
15127 # because $ac_f cannot contain `:'.
15131 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15133 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15135 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15136 as_fn_append ac_file_inputs
" '$ac_f'"
15139 # Let's still pretend it is `configure' which instantiates (i.e., don't
15140 # use $as_me), people would be surprised to read:
15141 # /* config.h. Generated by config.status. */
15142 configure_input
='Generated from '`
15143 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15145 if test x
"$ac_file" != x-
; then
15146 configure_input
="$ac_file. $configure_input"
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15148 $as_echo "$as_me: creating $ac_file" >&6;}
15150 # Neutralize special characters interpreted by sed in replacement strings.
15151 case $configure_input in #(
15152 *\
&* |
*\|
* |
*\\* )
15153 ac_sed_conf_input
=`$as_echo "$configure_input" |
15154 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15155 *) ac_sed_conf_input
=$configure_input;;
15159 *:-:* |
*:-) cat >"$tmp/stdin" \
15160 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15165 ac_dir
=`$as_dirname -- "$ac_file" ||
15166 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15167 X"$ac_file" : 'X\(//\)[^/]' \| \
15168 X"$ac_file" : 'X\(//\)$' \| \
15169 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15170 $as_echo X"$ac_file" |
15171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15175 /^X\(\/\/\)[^/].*/{
15188 as_dir
="$ac_dir"; as_fn_mkdir_p
15192 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15194 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15195 # A ".." for each directory in $ac_dir_suffix.
15196 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15197 case $ac_top_builddir_sub in
15198 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15199 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15202 ac_abs_top_builddir
=$ac_pwd
15203 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15204 # for backward compatibility:
15205 ac_top_builddir
=$ac_top_build_prefix
15208 .
) # We are building in place.
15210 ac_top_srcdir
=$ac_top_builddir_sub
15211 ac_abs_top_srcdir
=$ac_pwd ;;
15212 [\\/]* | ?
:[\\/]* ) # Absolute name.
15213 ac_srcdir
=$srcdir$ac_dir_suffix;
15214 ac_top_srcdir
=$srcdir
15215 ac_abs_top_srcdir
=$srcdir ;;
15216 *) # Relative name.
15217 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15218 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15219 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15221 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15231 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15232 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15234 ac_MKDIR_P
=$MKDIR_P
15236 [\\/$
]* | ?
:[\\/]* ) ;;
15237 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15242 # If the template does not know about datarootdir, expand it.
15243 # FIXME: This hack should be removed a few years after 2.60.
15244 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15255 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15256 *datarootdir
*) ac_datarootdir_seen
=yes;;
15257 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15259 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15262 ac_datarootdir_hack='
15263 s&@datadir@&$datadir&g
15264 s&@docdir@&$docdir&g
15265 s&@infodir@&$infodir&g
15266 s&@localedir@&$localedir&g
15267 s&@mandir@&$mandir&g
15268 s&\\\${datarootdir}&$datarootdir&g' ;;
15272 # Neutralize VPATH when `$srcdir' = `.'.
15273 # Shell code in configure.ac might set extrasub.
15274 # FIXME: do we really want to maintain this feature?
15275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15276 ac_sed_extra="$ac_vpsub
15279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15281 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15282 s|@configure_input@|
$ac_sed_conf_input|
;t t
15283 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15284 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15285 s
&@srcdir@
&$ac_srcdir&;t t
15286 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15287 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15288 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15289 s
&@builddir@
&$ac_builddir&;t t
15290 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15291 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15292 s
&@INSTALL@
&$ac_INSTALL&;t t
15293 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15294 $ac_datarootdir_hack
15296 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15297 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15299 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15300 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15301 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15303 which seems to be undefined. Please make sure it is defined." >&5
15304 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15305 which seems to be undefined. Please make sure it is defined." >&2;}
15309 -) cat "$tmp/out" && rm -f "$tmp/out";;
15310 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15312 || as_fn_error "could not create $ac_file" "$LINENO" 5
15318 if test x"$ac_file" != x-; then
15320 $as_echo "/* $configure_input */" \
15321 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15322 } >"$tmp/config.h" \
15323 || as_fn_error "could not create $ac_file" "$LINENO" 5
15324 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15326 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15329 mv "$tmp/config.h" "$ac_file" \
15330 || as_fn_error "could not create $ac_file" "$LINENO" 5
15333 $as_echo "/* $configure_input */" \
15334 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15335 || as_fn_error "could not create -" "$LINENO" 5
15337 # Compute "$ac_file"'s index
in $config_headers.
15340 for _am_header
in $config_headers :; do
15341 case $_am_header in
15342 $_am_arg |
$_am_arg:* )
15345 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15348 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15349 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15350 X"$_am_arg" : 'X\(//\)[^/]' \| \
15351 X"$_am_arg" : 'X\(//\)$' \| \
15352 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15353 $as_echo X"$_am_arg" |
15354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15358 /^X\(\/\/\)[^/].*/{
15370 s/.*/./; q'`/stamp-h
$_am_stamp_count
15373 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15374 $as_echo "$as_me: executing $ac_file commands" >&6;}
15379 case $ac_file$ac_mode in
15380 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15381 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15382 # are listed without --file. Let's play safe and only enable the eval
15383 # if we detect the quoting.
15384 case $CONFIG_FILES in
15385 *\'*) eval set x
"$CONFIG_FILES" ;;
15386 *) set x
$CONFIG_FILES ;;
15391 # Strip MF so we end up with the name of the file.
15392 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15393 # Check whether this is an Automake generated Makefile or not.
15394 # We used to match only the files named `Makefile.in', but
15395 # some people rename them; so instead we look at the file content.
15396 # Grep'ing the first line is not enough: some people post-process
15397 # each Makefile.in and add a new line on top of each file to say so.
15398 # Grep'ing the whole file is not good either: AIX grep has a line
15399 # limit of 2048, but all sed's we know have understand at least 4000.
15400 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15401 dirpart
=`$as_dirname -- "$mf" ||
15402 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15403 X"$mf" : 'X\(//\)[^/]' \| \
15404 X"$mf" : 'X\(//\)$' \| \
15405 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15411 /^X\(\/\/\)[^/].*/{
15427 # Extract the definition of DEPDIR, am__include, and am__quote
15428 # from the Makefile without running `make'.
15429 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15430 test -z "$DEPDIR" && continue
15431 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15432 test -z "am__include" && continue
15433 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15434 # When using ansi2knr, U may be empty or an underscore; expand it
15435 U
=`sed -n 's/^U = //p' < "$mf"`
15436 # Find all dependency output files, they are included files with
15437 # $(DEPDIR) in their names. We invoke sed twice because it is the
15438 # simplest approach to changing $(DEPDIR) to its actual value in the
15440 for file in `sed -n "
15441 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15442 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15443 # Make sure the directory exists.
15444 test -f "$dirpart/$file" && continue
15445 fdir
=`$as_dirname -- "$file" ||
15446 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15447 X"$file" : 'X\(//\)[^/]' \| \
15448 X"$file" : 'X\(//\)$' \| \
15449 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15450 $as_echo X"$file" |
15451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15455 /^X\(\/\/\)[^/].*/{
15468 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15469 # echo "creating $dirpart/$file"
15470 echo '# dummy' > "$dirpart/$file"
15477 # See if we are running on zsh, and set the options which allow our
15478 # commands through without removal of \ escapes.
15479 if test -n "${ZSH_VERSION+set}" ; then
15480 setopt NO_GLOB_SUBST
15483 cfgfile
="${ofile}T"
15484 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15487 cat <<_LT_EOF >> "$cfgfile"
15490 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15491 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15492 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15493 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15495 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15496 # 2006, 2007, 2008 Free Software Foundation, Inc.
15497 # Written by Gordon Matzigkeit, 1996
15499 # This file is part of GNU Libtool.
15501 # GNU Libtool is free software; you can redistribute it and/or
15502 # modify it under the terms of the GNU General Public License as
15503 # published by the Free Software Foundation; either version 2 of
15504 # the License, or (at your option) any later version.
15506 # As a special exception to the GNU General Public License,
15507 # if you distribute this file as part of a program or library that
15508 # is built using GNU Libtool, you may include this file under the
15509 # same distribution terms that you use for the rest of that program.
15511 # GNU Libtool is distributed in the hope that it will be useful,
15512 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15513 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15514 # GNU General Public License for more details.
15516 # You should have received a copy of the GNU General Public License
15517 # along with GNU Libtool; see the file COPYING. If not, a copy
15518 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15519 # obtained by writing to the Free Software Foundation, Inc.,
15520 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15523 # The names of the tagged configurations supported by this script.
15526 # ### BEGIN LIBTOOL CONFIG
15528 # Which release of libtool.m4 was used?
15529 macro_version=$macro_version
15530 macro_revision=$macro_revision
15532 # Whether or not to build shared libraries.
15533 build_libtool_libs=$enable_shared
15535 # Whether or not to build static libraries.
15536 build_old_libs=$enable_static
15538 # What type of objects to build.
15541 # Whether or not to optimize for fast installation.
15542 fast_install=$enable_fast_install
15545 host_alias=$host_alias
15549 # The build system.
15550 build_alias=$build_alias
15554 # A sed program that does not truncate output.
15557 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15558 Xsed="\$SED -e 1s/^X//"
15560 # A grep program that handles long lines.
15566 # A literal string matcher.
15569 # A BSD- or MS-compatible name lister.
15572 # Whether we need soft or hard links.
15575 # What is the maximum length of a command?
15576 max_cmd_len=$max_cmd_len
15578 # Object file suffix (normally "o").
15581 # Executable file suffix (normally "").
15584 # whether the shell understands "unset".
15587 # turn spaces into newlines.
15590 # turn newlines into spaces.
15593 # How to create reloadable object files.
15594 reload_flag=$lt_reload_flag
15595 reload_cmds=$lt_reload_cmds
15597 # An object symbol dumper.
15598 OBJDUMP=$lt_OBJDUMP
15600 # Method to check whether dependent libraries are shared objects.
15601 deplibs_check_method=$lt_deplibs_check_method
15603 # Command to use when deplibs_check_method == "file_magic".
15604 file_magic_cmd=$lt_file_magic_cmd
15608 AR_FLAGS=$lt_AR_FLAGS
15610 # A symbol stripping program.
15613 # Commands used to install an old-style archive.
15615 old_postinstall_cmds=$lt_old_postinstall_cmds
15616 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15621 # LTCC compiler flags.
15622 LTCFLAGS=$lt_CFLAGS
15624 # Take the output of nm and produce a listing of raw symbols and C names.
15625 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15627 # Transform the output of nm in a proper C declaration.
15628 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15630 # Transform the output of nm in a C name address pair.
15631 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15633 # Transform the output of nm in a C name address pair when lib prefix is needed.
15634 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15636 # The name of the directory that contains temporary libtool files.
15639 # Shell to use when invoking shell scripts.
15642 # An echo program that does not interpret backslashes.
15645 # Used to examine libraries when file_magic_cmd begins with "file".
15646 MAGIC_CMD=$MAGIC_CMD
15648 # Must we lock files when doing compilation?
15649 need_locks=$lt_need_locks
15651 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15652 DSYMUTIL=$lt_DSYMUTIL
15654 # Tool to change global to local symbols on Mac OS X.
15657 # Tool to manipulate fat objects and archives on Mac OS X.
15660 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15663 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15664 OTOOL64=$lt_OTOOL64
15666 # Old archive suffix (normally "a").
15669 # Shared library suffix (normally ".so").
15670 shrext_cmds=$lt_shrext_cmds
15672 # The commands to extract the exported symbol list from a shared archive.
15673 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15675 # Variables whose values should be saved in libtool wrapper scripts and
15676 # restored at link time.
15677 variables_saved_for_relink=$lt_variables_saved_for_relink
15679 # Do we need the "lib" prefix for modules?
15680 need_lib_prefix=$need_lib_prefix
15682 # Do we need a version for libraries?
15683 need_version=$need_version
15685 # Library versioning type.
15686 version_type=$version_type
15688 # Shared library runtime path variable.
15689 runpath_var=$runpath_var
15691 # Shared library path variable.
15692 shlibpath_var=$shlibpath_var
15694 # Is shlibpath searched before the hard-coded library search path?
15695 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15697 # Format of library name prefix.
15698 libname_spec=$lt_libname_spec
15700 # List of archive names. First name is the real one, the rest are links.
15701 # The last name is the one that the linker finds with -lNAME
15702 library_names_spec=$lt_library_names_spec
15704 # The coded name of the library, if different from the real name.
15705 soname_spec=$lt_soname_spec
15707 # Command to use after installation of a shared archive.
15708 postinstall_cmds=$lt_postinstall_cmds
15710 # Command to use after uninstallation of a shared archive.
15711 postuninstall_cmds=$lt_postuninstall_cmds
15713 # Commands used to finish a libtool library installation in a directory.
15714 finish_cmds=$lt_finish_cmds
15716 # As "finish_cmds", except a single script fragment to be evaled but
15718 finish_eval=$lt_finish_eval
15720 # Whether we should hardcode library paths into libraries.
15721 hardcode_into_libs=$hardcode_into_libs
15723 # Compile-time system search path for libraries.
15724 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15726 # Run-time system search path for libraries.
15727 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15729 # Whether dlopen is supported.
15730 dlopen_support=$enable_dlopen
15732 # Whether dlopen of programs is supported.
15733 dlopen_self=$enable_dlopen_self
15735 # Whether dlopen of statically linked programs is supported.
15736 dlopen_self_static=$enable_dlopen_self_static
15738 # Commands to strip libraries.
15739 old_striplib=$lt_old_striplib
15740 striplib=$lt_striplib
15743 # The linker used to build libraries.
15746 # Commands used to build an old-style archive.
15747 old_archive_cmds=$lt_old_archive_cmds
15749 # A language specific compiler.
15752 # Is the compiler the GNU compiler?
15755 # Compiler flag to turn off builtin functions.
15756 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15758 # How to pass a linker flag through the compiler.
15759 wl=$lt_lt_prog_compiler_wl
15761 # Additional compiler flags for building library objects.
15762 pic_flag=$lt_lt_prog_compiler_pic
15764 # Compiler flag to prevent dynamic linking.
15765 link_static_flag=$lt_lt_prog_compiler_static
15767 # Does compiler simultaneously support -c and -o options?
15768 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15770 # Whether or not to add -lc for building shared libraries.
15771 build_libtool_need_lc=$archive_cmds_need_lc
15773 # Whether or not to disallow shared libs when runtime libs are static.
15774 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15776 # Compiler flag to allow reflexive dlopens.
15777 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15779 # Compiler flag to generate shared objects directly from archives.
15780 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15782 # Whether the compiler copes with passing no objects directly.
15783 compiler_needs_object=$lt_compiler_needs_object
15785 # Create an old-style archive from a shared archive.
15786 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15788 # Create a temporary old-style archive to link instead of a shared archive.
15789 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15791 # Commands used to build a shared archive.
15792 archive_cmds=$lt_archive_cmds
15793 archive_expsym_cmds=$lt_archive_expsym_cmds
15795 # Commands used to build a loadable module if different from building
15796 # a shared archive.
15797 module_cmds=$lt_module_cmds
15798 module_expsym_cmds=$lt_module_expsym_cmds
15800 # Whether we are building with GNU ld or not.
15801 with_gnu_ld=$lt_with_gnu_ld
15803 # Flag that allows shared libraries with undefined symbols to be built.
15804 allow_undefined_flag=$lt_allow_undefined_flag
15806 # Flag that enforces no undefined symbols.
15807 no_undefined_flag=$lt_no_undefined_flag
15809 # Flag to hardcode \$libdir into a binary during linking.
15810 # This must work even if \$libdir does not exist
15811 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15813 # If ld is used when linking, flag to hardcode \$libdir into a binary
15814 # during linking. This must work even if \$libdir does not exist.
15815 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15817 # Whether we need a single "-rpath" flag with a separated argument.
15818 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15820 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15821 # DIR into the resulting binary.
15822 hardcode_direct=$hardcode_direct
15824 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15825 # DIR into the resulting binary and the resulting library dependency is
15826 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15827 # library is relocated.
15828 hardcode_direct_absolute=$hardcode_direct_absolute
15830 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15831 # into the resulting binary.
15832 hardcode_minus_L=$hardcode_minus_L
15834 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15835 # into the resulting binary.
15836 hardcode_shlibpath_var=$hardcode_shlibpath_var
15838 # Set to "yes" if building a shared library automatically hardcodes DIR
15839 # into the library and all subsequent libraries and executables linked
15841 hardcode_automatic=$hardcode_automatic
15843 # Set to yes if linker adds runtime paths of dependent libraries
15844 # to runtime path list.
15845 inherit_rpath=$inherit_rpath
15847 # Whether libtool must link a program against all its dependency libraries.
15848 link_all_deplibs=$link_all_deplibs
15850 # Fix the shell variable \$srcfile for the compiler.
15851 fix_srcfile_path=$lt_fix_srcfile_path
15853 # Set to "yes" if exported symbols are required.
15854 always_export_symbols=$always_export_symbols
15856 # The commands to list exported symbols.
15857 export_symbols_cmds=$lt_export_symbols_cmds
15859 # Symbols that should not be listed in the preloaded symbols.
15860 exclude_expsyms=$lt_exclude_expsyms
15862 # Symbols that must always be exported.
15863 include_expsyms=$lt_include_expsyms
15865 # Commands necessary for linking programs (against libraries) with templates.
15866 prelink_cmds=$lt_prelink_cmds
15868 # Specify filename containing input files.
15869 file_list_spec=$lt_file_list_spec
15871 # How to hardcode a shared library path into an executable.
15872 hardcode_action=$hardcode_action
15874 # ### END LIBTOOL CONFIG
15880 cat <<\_LT_EOF
>> "$cfgfile"
15881 # AIX sometimes has problems with the GCC collect2 program. For some
15882 # reason, if we set the COLLECT_NAMES environment variable, the problems
15883 # vanish in a puff of smoke.
15884 if test "X${COLLECT_NAMES+set}" != Xset
; then
15886 export COLLECT_NAMES
15893 ltmain
="$ac_aux_dir/ltmain.sh"
15896 # We use sed instead of cat because bash on DJGPP gets confused if
15897 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15898 # text mode, it properly converts lines to CR/LF. This bash problem
15899 # is reportedly fixed, but why not run on old versions too?
15900 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15901 ||
(rm -f "$cfgfile"; exit 1)
15905 cat << \_LT_EOF
>> "$cfgfile"
15907 # func_dirname file append nondir_replacement
15908 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15909 # otherwise set result to NONDIR_REPLACEMENT.
15913 */*) func_dirname_result
="${1%/*}${2}" ;;
15914 * ) func_dirname_result
="${3}" ;;
15918 # func_basename file
15921 func_basename_result
="${1##*/}"
15924 # func_dirname_and_basename file append nondir_replacement
15925 # perform func_basename and func_dirname in a single function
15927 # dirname: Compute the dirname of FILE. If nonempty,
15928 # add APPEND to the result, otherwise set result
15929 # to NONDIR_REPLACEMENT.
15930 # value returned in "$func_dirname_result"
15931 # basename: Compute filename of FILE.
15932 # value retuned in "$func_basename_result"
15933 # Implementation must be kept synchronized with func_dirname
15934 # and func_basename. For efficiency, we do not delegate to
15935 # those functions but instead duplicate the functionality here.
15936 func_dirname_and_basename
()
15939 */*) func_dirname_result
="${1%/*}${2}" ;;
15940 * ) func_dirname_result
="${3}" ;;
15942 func_basename_result
="${1##*/}"
15945 # func_stripname prefix suffix name
15946 # strip PREFIX and SUFFIX off of NAME.
15947 # PREFIX and SUFFIX must not contain globbing or regex special
15948 # characters, hashes, percent signs, but SUFFIX may contain a leading
15949 # dot (in which case that matches only a dot).
15952 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15953 # positional parameters, so assign one to ordinary parameter first.
15954 func_stripname_result
=${3}
15955 func_stripname_result
=${func_stripname_result#"${1}"}
15956 func_stripname_result
=${func_stripname_result%"${2}"}
15962 func_opt_split_opt
=${1%%=*}
15963 func_opt_split_arg
=${1#*=}
15970 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15971 *) func_lo2o_result
=${1} ;;
15975 # func_xform libobj-or-source
15978 func_xform_result
=${1%.*}.lo
15981 # func_arith arithmetic-term...
15984 func_arith_result
=$
(( $
* ))
15988 # STRING may not start with a hyphen.
15991 func_len_result
=${#1}
15996 *) # Bourne compatible functions.
15997 cat << \_LT_EOF
>> "$cfgfile"
15999 # func_dirname file append nondir_replacement
16000 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16001 # otherwise set result to NONDIR_REPLACEMENT.
16004 # Extract subdirectory from the argument.
16005 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16006 if test "X$func_dirname_result" = "X${1}"; then
16007 func_dirname_result
="${3}"
16009 func_dirname_result
="$func_dirname_result${2}"
16013 # func_basename file
16016 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
16020 # func_stripname prefix suffix name
16021 # strip PREFIX and SUFFIX off of NAME.
16022 # PREFIX and SUFFIX must not contain globbing or regex special
16023 # characters, hashes, percent signs, but SUFFIX may contain a leading
16024 # dot (in which case that matches only a dot).
16025 # func_strip_suffix prefix name
16029 .
*) func_stripname_result
=`$ECHO "X${3}" \
16030 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16031 *) func_stripname_result
=`$ECHO "X${3}" \
16032 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16037 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16038 my_sed_long_arg
='1s/^-[^=]*=//'
16043 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16044 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16050 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16053 # func_xform libobj-or-source
16056 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16059 # func_arith arithmetic-term...
16062 func_arith_result
=`expr "$@"`
16066 # STRING may not start with a hyphen.
16069 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16075 case $lt_shell_append in
16077 cat << \_LT_EOF
>> "$cfgfile"
16079 # func_append var value
16080 # Append VALUE to the end of shell variable VAR.
16088 cat << \_LT_EOF
>> "$cfgfile"
16090 # func_append var value
16091 # Append VALUE to the end of shell variable VAR.
16102 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16103 ||
(rm -f "$cfgfile"; exit 1)
16105 mv -f "$cfgfile" "$ofile" ||
16106 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16111 for ac_file
in $CONFIG_FILES; do
16112 # Support "outfile[:infile[:infile...]]"
16114 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16116 # PO directories have a Makefile.in generated from Makefile.in.in.
16117 case "$ac_file" in */Makefile.
in)
16118 # Adjust a relative srcdir.
16119 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16120 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
16121 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16122 # In autoconf-2.13 it is called $ac_given_srcdir.
16123 # In autoconf-2.50 it is called $srcdir.
16124 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16125 case "$ac_given_srcdir" in
16126 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16127 /*) top_srcdir
="$ac_given_srcdir" ;;
16128 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16130 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16131 rm -f "$ac_dir/POTFILES"
16132 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16133 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16134 POMAKEFILEDEPS
="POTFILES.in"
16135 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16136 # on $ac_dir but don't depend on user-specified configuration
16138 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16139 # The LINGUAS file contains the set of available languages.
16140 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16141 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16143 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16144 # Hide the ALL_LINGUAS assigment from automake.
16145 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16146 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16148 # The set of available languages was given in configure.in.
16149 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16151 case "$ac_given_srcdir" in
16153 *) srcdirpre
='$(srcdir)/' ;;
16159 for lang
in $ALL_LINGUAS; do
16160 POFILES
="$POFILES $srcdirpre$lang.po"
16161 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16162 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16163 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16165 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16166 # environment variable.
16168 if test -n "$ALL_LINGUAS"; then
16169 for presentlang
in $ALL_LINGUAS; do
16171 if test "%UNSET%" != "$LINGUAS"; then
16172 desiredlanguages
="$LINGUAS"
16174 desiredlanguages
="$ALL_LINGUAS"
16176 for desiredlang
in $desiredlanguages; do
16177 # Use the presentlang catalog if desiredlang is
16178 # a. equal to presentlang, or
16179 # b. a variant of presentlang (because in this case,
16180 # presentlang can be used as a fallback for messages
16181 # which are not translated in the desiredlang catalog).
16182 case "$desiredlang" in
16183 "$presentlang"*) useit
=yes;;
16186 if test $useit = yes; then
16187 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16192 if test -n "$INST_LINGUAS"; then
16193 for lang
in $INST_LINGUAS; do
16194 CATALOGS
="$CATALOGS $lang.gmo"
16197 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16198 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"
16199 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16200 if test -f "$f"; then
16202 *.orig |
*.bak |
*~
) ;;
16203 *) cat "$f" >> "$ac_dir/Makefile" ;;
16211 "default":C
) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
16212 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
16213 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
16214 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
16215 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
16216 if test "x$cgen_cpu_prefix" != x
; then
16217 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
16226 ac_clean_files
=$ac_clean_files_save
16228 test $ac_write_fail = 0 ||
16229 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16232 # configure is writing to config.log, and then calls config.status.
16233 # config.status does its own redirection, appending to config.log.
16234 # Unfortunately, on DOS this fails, as config.log is still kept open
16235 # by configure, so config.status won't be able to write to it; its
16236 # output is simply discarded. So we exec the FD to /dev/null,
16237 # effectively closing config.log, so it can be properly (re)opened and
16238 # appended to by config.status. When coming back to configure, we
16239 # need to make the FD available again.
16240 if test "$no_create" != yes; then
16242 ac_config_status_args
=
16243 test "$silent" = yes &&
16244 ac_config_status_args
="$ac_config_status_args --quiet"
16246 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16248 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16249 # would make configure fail if this is the last instruction.
16250 $ac_cs_success || as_fn_exit $?
16252 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16254 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}