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
="ldmain.c"
704 # Factoring default headers for most tests.
705 ac_includes_default
="\
707 #ifdef HAVE_SYS_TYPES_H
708 # include <sys/types.h>
710 #ifdef HAVE_SYS_STAT_H
711 # include <sys/stat.h>
717 # ifdef HAVE_STDLIB_H
722 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
727 #ifdef HAVE_STRINGS_H
728 # include <strings.h>
730 #ifdef HAVE_INTTYPES_H
731 # include <inttypes.h>
740 ac_subst_vars
='am__EXEEXT_FALSE
800 TARGET_SYSTEM_ROOT_DEFINE
804 MAINTAINER_MODE_FALSE
823 INSTALL_STRIP_PROGRAM
884 program_transform_name
895 ac_subst_files
='TDIRS'
897 enable_option_checking
898 enable_dependency_tracking
899 enable_maintainer_mode
906 enable_build_warnings
917 ac_precious_vars
='build_alias
930 # Initialize some variables set by options.
932 ac_init_version
=false
933 ac_unrecognized_opts
=
935 # The variables have the same names as the options, with
936 # dashes changed to underlines.
944 program_transform_name
=s
,x
,x
,
952 # Installation directory options.
953 # These are left unexpanded so users can "make install exec_prefix=/foo"
954 # and all the variables that are supposed to be based on exec_prefix
955 # by default will actually change.
956 # Use braces instead of parens because sh, perl, etc. also accept them.
957 # (The list follows the same order as the GNU Coding Standards.)
958 bindir
='${exec_prefix}/bin'
959 sbindir
='${exec_prefix}/sbin'
960 libexecdir
='${exec_prefix}/libexec'
961 datarootdir
='${prefix}/share'
962 datadir
='${datarootdir}'
963 sysconfdir
='${prefix}/etc'
964 sharedstatedir
='${prefix}/com'
965 localstatedir
='${prefix}/var'
966 includedir
='${prefix}/include'
967 oldincludedir
='/usr/include'
968 docdir
='${datarootdir}/doc/${PACKAGE}'
969 infodir
='${datarootdir}/info'
974 libdir
='${exec_prefix}/lib'
975 localedir
='${datarootdir}/locale'
976 mandir
='${datarootdir}/man'
982 # If the previous option needs an argument, assign it.
983 if test -n "$ac_prev"; then
984 eval $ac_prev=\
$ac_option
990 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
994 # Accept the important Cygnus configure options, so we can diagnose typos.
996 case $ac_dashdash$ac_option in
1000 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1002 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1003 bindir
=$ac_optarg ;;
1005 -build |
--build |
--buil |
--bui |
--bu)
1006 ac_prev
=build_alias
;;
1007 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1008 build_alias
=$ac_optarg ;;
1010 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1011 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1012 ac_prev
=cache_file
;;
1013 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1014 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1015 cache_file
=$ac_optarg ;;
1017 --config-cache |
-C)
1018 cache_file
=config.cache
;;
1020 -datadir |
--datadir |
--datadi |
--datad)
1022 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1023 datadir
=$ac_optarg ;;
1025 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1026 |
--dataroo |
--dataro |
--datar)
1027 ac_prev
=datarootdir
;;
1028 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1029 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1030 datarootdir
=$ac_optarg ;;
1032 -disable-* |
--disable-*)
1033 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1036 as_fn_error
"invalid feature name: $ac_useropt"
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_
$ac_useropt"
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval enable_
$ac_useropt=no
;;
1048 -docdir |
--docdir |
--docdi |
--doc |
--do)
1050 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1051 docdir
=$ac_optarg ;;
1053 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1055 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1056 dvidir
=$ac_optarg ;;
1058 -enable-* |
--enable-*)
1059 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1062 as_fn_error
"invalid feature name: $ac_useropt"
1063 ac_useropt_orig
=$ac_useropt
1064 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_
$ac_useropt"
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval enable_
$ac_useropt=\
$ac_optarg ;;
1074 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1075 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1076 |
--exec |
--exe |
--ex)
1077 ac_prev
=exec_prefix
;;
1078 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1079 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1080 |
--exec=* |
--exe=* |
--ex=*)
1081 exec_prefix
=$ac_optarg ;;
1083 -gas |
--gas |
--ga |
--g)
1084 # Obsolete; use --with-gas.
1087 -help |
--help |
--hel |
--he |
-h)
1088 ac_init_help
=long
;;
1089 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1090 ac_init_help
=recursive
;;
1091 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1092 ac_init_help
=short
;;
1094 -host |
--host |
--hos |
--ho)
1095 ac_prev
=host_alias
;;
1096 -host=* |
--host=* |
--hos=* |
--ho=*)
1097 host_alias
=$ac_optarg ;;
1099 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1101 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1103 htmldir
=$ac_optarg ;;
1105 -includedir |
--includedir |
--includedi |
--included |
--include \
1106 |
--includ |
--inclu |
--incl |
--inc)
1107 ac_prev
=includedir
;;
1108 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1109 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1110 includedir
=$ac_optarg ;;
1112 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1114 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1115 infodir
=$ac_optarg ;;
1117 -libdir |
--libdir |
--libdi |
--libd)
1119 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1120 libdir
=$ac_optarg ;;
1122 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1123 |
--libexe |
--libex |
--libe)
1124 ac_prev
=libexecdir
;;
1125 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1126 |
--libexe=* |
--libex=* |
--libe=*)
1127 libexecdir
=$ac_optarg ;;
1129 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1130 ac_prev
=localedir
;;
1131 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1132 localedir
=$ac_optarg ;;
1134 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1135 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1136 ac_prev
=localstatedir
;;
1137 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1138 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1139 localstatedir
=$ac_optarg ;;
1141 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1143 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1144 mandir
=$ac_optarg ;;
1146 -nfp |
--nfp |
--nf)
1147 # Obsolete; use --without-fp.
1150 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1151 |
--no-cr |
--no-c |
-n)
1154 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1155 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1158 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1159 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1160 |
--oldin |
--oldi |
--old |
--ol |
--o)
1161 ac_prev
=oldincludedir
;;
1162 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1163 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1164 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1165 oldincludedir
=$ac_optarg ;;
1167 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1169 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1170 prefix
=$ac_optarg ;;
1172 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1173 |
--program-pre |
--program-pr |
--program-p)
1174 ac_prev
=program_prefix
;;
1175 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1176 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1177 program_prefix
=$ac_optarg ;;
1179 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1180 |
--program-suf |
--program-su |
--program-s)
1181 ac_prev
=program_suffix
;;
1182 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1183 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1184 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1194 -program-transform-name=* |
--program-transform-name=* \
1195 |
--program-transform-nam=* |
--program-transform-na=* \
1196 |
--program-transform-n=* |
--program-transform-=* \
1197 |
--program-transform=* |
--program-transfor=* \
1198 |
--program-transfo=* |
--program-transf=* \
1199 |
--program-trans=* |
--program-tran=* \
1200 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1201 program_transform_name
=$ac_optarg ;;
1203 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1205 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1206 pdfdir
=$ac_optarg ;;
1208 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1210 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1213 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1214 |
-silent |
--silent |
--silen |
--sile |
--sil)
1217 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1219 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1221 sbindir
=$ac_optarg ;;
1223 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1224 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1225 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1227 ac_prev
=sharedstatedir
;;
1228 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1229 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1230 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1232 sharedstatedir
=$ac_optarg ;;
1234 -site |
--site |
--sit)
1236 -site=* |
--site=* |
--sit=*)
1239 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1241 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1242 srcdir
=$ac_optarg ;;
1244 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1245 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1246 ac_prev
=sysconfdir
;;
1247 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1248 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1249 sysconfdir
=$ac_optarg ;;
1251 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1252 ac_prev
=target_alias
;;
1253 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1254 target_alias
=$ac_optarg ;;
1256 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1259 -version |
--version |
--versio |
--versi |
--vers |
-V)
1260 ac_init_version
=: ;;
1263 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1266 as_fn_error
"invalid package name: $ac_useropt"
1267 ac_useropt_orig
=$ac_useropt
1268 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1273 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1274 ac_unrecognized_sep
=', ';;
1276 eval with_
$ac_useropt=\
$ac_optarg ;;
1278 -without-* |
--without-*)
1279 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280 # Reject names that are not valid shell variable names.
1281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1282 as_fn_error
"invalid package name: $ac_useropt"
1283 ac_useropt_orig
=$ac_useropt
1284 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285 case $ac_user_opts in
1289 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1290 ac_unrecognized_sep
=', ';;
1292 eval with_
$ac_useropt=no
;;
1295 # Obsolete; use --with-x.
1298 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1299 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1300 ac_prev
=x_includes
;;
1301 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1302 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1303 x_includes
=$ac_optarg ;;
1305 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1306 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1307 ac_prev
=x_libraries
;;
1308 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1309 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1310 x_libraries
=$ac_optarg ;;
1312 -*) as_fn_error
"unrecognized option: \`$ac_option'
1313 Try \`$0 --help' for more information."
1317 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1318 # Reject names that are not valid shell variable names.
1319 case $ac_envvar in #(
1320 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1321 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1323 eval $ac_envvar=\
$ac_optarg
1324 export $ac_envvar ;;
1327 # FIXME: should be removed in autoconf 3.0.
1328 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1329 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1330 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1331 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1337 if test -n "$ac_prev"; then
1338 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1339 as_fn_error
"missing argument to $ac_option"
1342 if test -n "$ac_unrecognized_opts"; then
1343 case $enable_option_checking in
1345 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1346 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1350 # Check all directory arguments for consistency.
1351 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1352 datadir sysconfdir sharedstatedir localstatedir includedir \
1353 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1354 libdir localedir mandir
1356 eval ac_val
=\$
$ac_var
1357 # Remove trailing slashes.
1360 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1361 eval $ac_var=\
$ac_val;;
1363 # Be sure to have absolute directory names.
1365 [\\/$
]* | ?
:[\\/]* ) continue;;
1366 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1368 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1371 # There might be people who depend on the old broken behavior: `$host'
1372 # used to hold the argument of --host etc.
1373 # FIXME: To remove some day.
1376 target
=$target_alias
1378 # FIXME: To remove some day.
1379 if test "x$host_alias" != x
; then
1380 if test "x$build_alias" = x
; then
1381 cross_compiling
=maybe
1382 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1383 If a cross compiler is detected then cross compile mode will be used." >&2
1384 elif test "x$build_alias" != "x$host_alias"; then
1390 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1392 test "$silent" = yes && exec 6>/dev
/null
1395 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1396 ac_ls_di
=`ls -di .` &&
1397 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1398 as_fn_error
"working directory cannot be determined"
1399 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400 as_fn_error
"pwd does not report name of working directory"
1403 # Find the source files, if location was not specified.
1404 if test -z "$srcdir"; then
1405 ac_srcdir_defaulted
=yes
1406 # Try the directory containing this script, then the parent directory.
1407 ac_confdir
=`$as_dirname -- "$as_myself" ||
1408 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1409 X"$as_myself" : 'X\(//\)[^/]' \| \
1410 X"$as_myself" : 'X\(//\)$' \| \
1411 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1412 $as_echo X"$as_myself" |
1413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1435 ac_srcdir_defaulted
=no
1437 if test ! -r "$srcdir/$ac_unique_file"; then
1438 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1439 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1441 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1443 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1445 # When building in place, set srcdir=.
1446 if test "$ac_abs_confdir" = "$ac_pwd"; then
1449 # Remove unnecessary trailing slashes from srcdir.
1450 # Double slashes in file names in object file debugging info
1451 # mess up M-x gdb in Emacs.
1453 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1455 for ac_var
in $ac_precious_vars; do
1456 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1457 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1458 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1459 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1463 # Report the --help message.
1465 if test "$ac_init_help" = "long"; then
1466 # Omit some internal or obsolete options to make the list less imposing.
1467 # This message is too long to be a string in the A/UX 3.1 sh.
1469 \`configure' configures this package to adapt to many kinds of systems.
1471 Usage: $0 [OPTION]... [VAR=VALUE]...
1473 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1474 VAR=VALUE. See below for descriptions of some of the useful variables.
1476 Defaults for the options are specified in brackets.
1479 -h, --help display this help and exit
1480 --help=short display options specific to this package
1481 --help=recursive display the short help of all the included packages
1482 -V, --version display version information and exit
1483 -q, --quiet, --silent do not print \`checking...' messages
1484 --cache-file=FILE cache test results in FILE [disabled]
1485 -C, --config-cache alias for \`--cache-file=config.cache'
1486 -n, --no-create do not create output files
1487 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1489 Installation directories:
1490 --prefix=PREFIX install architecture-independent files in PREFIX
1491 [$ac_default_prefix]
1492 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1495 By default, \`make install' will install all the files in
1496 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1497 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1498 for instance \`--prefix=\$HOME'.
1500 For better control, use the options below.
1502 Fine tuning of the installation directories:
1503 --bindir=DIR user executables [EPREFIX/bin]
1504 --sbindir=DIR system admin executables [EPREFIX/sbin]
1505 --libexecdir=DIR program executables [EPREFIX/libexec]
1506 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1507 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1508 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1509 --libdir=DIR object code libraries [EPREFIX/lib]
1510 --includedir=DIR C header files [PREFIX/include]
1511 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1512 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1513 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1514 --infodir=DIR info documentation [DATAROOTDIR/info]
1515 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1516 --mandir=DIR man documentation [DATAROOTDIR/man]
1517 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1518 --htmldir=DIR html documentation [DOCDIR]
1519 --dvidir=DIR dvi documentation [DOCDIR]
1520 --pdfdir=DIR pdf documentation [DOCDIR]
1521 --psdir=DIR ps documentation [DOCDIR]
1527 --program-prefix=PREFIX prepend PREFIX to installed program names
1528 --program-suffix=SUFFIX append SUFFIX to installed program names
1529 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1532 --build=BUILD configure
for building on BUILD
[guessed
]
1533 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1534 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1538 if test -n "$ac_init_help"; then
1543 --disable-option-checking ignore unrecognized
--enable/--with options
1544 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1545 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1546 --disable-dependency-tracking speeds up one-time build
1547 --enable-dependency-tracking do not reject slow dependency extractors
1548 --enable-maintainer-mode enable make rules and dependencies not useful
1549 (and sometimes confusing
) to the casual installer
1550 --enable-targets alternative target configurations
1551 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1552 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1554 --enable-werror treat compile warnings as errors
1555 --enable-build-warnings enable build-time compiler warnings
1556 --enable-plugins Enable support
for plugins
(defaults no
)
1557 --disable-largefile omit support
for large files
1558 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1559 --enable-static[=PKGS
] build static libraries
[default
=yes]
1560 --enable-fast-install[=PKGS
]
1561 optimize
for fast installation
[default
=yes]
1562 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1563 --disable-nls do not use Native Language Support
1566 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1567 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1568 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1569 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1570 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1572 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1574 Some influential environment variables
:
1575 CC C compiler
command
1576 CFLAGS C compiler flags
1577 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1578 nonstandard directory
<lib dir
>
1579 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1580 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1581 you have headers
in a nonstandard directory
<include dir
>
1583 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1584 the first program found out of: `bison
-y', `byacc', `yacc'.
1585 YFLAGS The list of arguments that will be passed by default to $YACC.
1586 This script will default YFLAGS to the empty string to avoid a
1587 default value of `-d' given by some make applications.
1589 Use these variables to override the choices made by `configure' or to
help
1590 it to
find libraries and programs with nonstandard names
/locations.
1592 Report bugs to the package provider.
1597 if test "$ac_init_help" = "recursive"; then
1598 # If there are subdirs, report their specific --help.
1599 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1600 test -d "$ac_dir" ||
1601 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1606 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1608 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1609 # A ".." for each directory in $ac_dir_suffix.
1610 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1611 case $ac_top_builddir_sub in
1612 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1613 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1616 ac_abs_top_builddir
=$ac_pwd
1617 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1618 # for backward compatibility:
1619 ac_top_builddir
=$ac_top_build_prefix
1622 .
) # We are building in place.
1624 ac_top_srcdir
=$ac_top_builddir_sub
1625 ac_abs_top_srcdir
=$ac_pwd ;;
1626 [\\/]* | ?
:[\\/]* ) # Absolute name.
1627 ac_srcdir
=$srcdir$ac_dir_suffix;
1628 ac_top_srcdir
=$srcdir
1629 ac_abs_top_srcdir
=$srcdir ;;
1631 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1632 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1633 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1635 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1637 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1638 # Check for guested configure.
1639 if test -f "$ac_srcdir/configure.gnu"; then
1641 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1642 elif test -f "$ac_srcdir/configure"; then
1644 $SHELL "$ac_srcdir/configure" --help=recursive
1646 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1652 test -n "$ac_init_help" && exit $ac_status
1653 if $ac_init_version; then
1656 generated by GNU Autoconf
2.64
1658 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1659 This configure
script is free software
; the Free Software Foundation
1660 gives unlimited permission to copy
, distribute and modify it.
1665 ## ------------------------ ##
1666 ## Autoconf initialization. ##
1667 ## ------------------------ ##
1669 # ac_fn_c_try_compile LINENO
1670 # --------------------------
1671 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1672 ac_fn_c_try_compile
()
1674 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1675 rm -f conftest.
$ac_objext
1676 if { { ac_try
="$ac_compile"
1678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_compile") 2>conftest.err
1685 if test -s conftest.err; then
1686 grep -v '^ *+' conftest.err >conftest.er1
1687 cat conftest.er1 >&5
1688 mv -f conftest.er1 conftest.err
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } && {
1692 test -z "$ac_c_werror_flag" ||
1693 test ! -s conftest.err
1694 } && test -s conftest.$ac_objext; then :
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1702 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1705 } # ac_fn_c_try_compile
1707 # ac_fn_c_try_link LINENO
1708 # -----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 rm -f conftest.$ac_objext conftest$ac_exeext
1714 if { { ac_try="$ac_link"
1716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1717 *) ac_try_echo
=$ac_try;;
1719 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>conftest.err
1723 if test -s conftest.err
; then
1724 grep -v '^ *+' conftest.err
>conftest.er1
1725 cat conftest.er1
>&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest
$ac_exeext && {
1733 test "$cross_compiling" = yes ||
1734 $as_test_x conftest
$ac_exeext
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.
$ac_ext >&5
1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1745 # interfere with the next link command; also delete a directory that is
1746 # left behind by Apple's compiler. We do this before executing the actions.
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1751 } # ac_fn_c_try_link
1753 # ac_fn_c_try_cpp LINENO
1754 # ----------------------
1755 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } >/dev/null && {
1775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1776 test ! -s conftest.err
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1790 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1791 # -------------------------------------------------------
1792 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1793 # the include files in INCLUDES and setting the cache variable VAR
1795 ac_fn_c_check_header_mongrel ()
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1800 $as_echo_n "checking for $2... " >&6; }
1801 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1802 $as_echo_n "(cached) " >&6
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 $as_echo "$ac_res" >&6; }
1808 # Is the header compilable?
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1810 $as_echo_n "checking $2 usability... " >&6; }
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1816 if ac_fn_c_try_compile "$LINENO"; then :
1817 ac_header_compiler=yes
1819 ac_header_compiler=no
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1823 $as_echo "$ac_header_compiler" >&6; }
1825 # Is the header present?
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1827 $as_echo_n "checking $2 presence... " >&6; }
1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1832 if ac_fn_c_try_cpp "$LINENO"; then :
1833 ac_header_preproc=yes
1835 ac_header_preproc=no
1837 rm -f conftest.err conftest.$ac_ext
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1839 $as_echo "$ac_header_preproc" >&6; }
1841 # So? What about this header?
1842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1845 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1847 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1851 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1853 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1855 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1857 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1859 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863 $as_echo_n "checking for $2... " >&6; }
1864 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1865 $as_echo_n "(cached) " >&6
1867 eval "$3=\$ac_header_compiler"
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875 } # ac_fn_c_check_header_mongrel
1877 # ac_fn_c_try_run LINENO
1878 # ----------------------
1879 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1880 # that executables *can* be run.
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 if { { ac_try="$ac_link"
1886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1887 *) ac_try_echo
=$ac_try;;
1889 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890 $as_echo "$ac_try_echo"; } >&5
1891 (eval "$ac_link") 2>&5
1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1895 { { case "(($ac_try" in
1896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1897 *) ac_try_echo=$ac_try;;
1899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_try") 2>&5
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; }; }; then :
1907 $as_echo "$as_me: program exited with status $ac_status" >&5
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1911 ac_retval=$ac_status
1913 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1914 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1920 # -------------------------------------------------------
1921 # Tests whether HEADER exists and can be compiled using the include files in
1922 # INCLUDES, setting the cache variable VAR accordingly.
1923 ac_fn_c_check_header_compile ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927 $as_echo_n "checking for $2... " >&6; }
1928 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1929 $as_echo_n "(cached) " >&6
1931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1932 /* end confdefs.h. */
1936 if ac_fn_c_try_compile "$LINENO"; then :
1941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1948 } # ac_fn_c_check_header_compile
1950 # ac_fn_c_check_func LINENO FUNC VAR
1951 # ----------------------------------
1952 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1953 ac_fn_c_check_func ()
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957 $as_echo_n "checking for $2... " >&6; }
1958 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1959 $as_echo_n "(cached) " >&6
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1963 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1965 #define $2 innocuous_$2
1967 /* System header to define __stub macros and hopefully few prototypes,
1968 which can conflict with char $2 (); below.
1969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1970 <limits.h> exists even on freestanding compilers. */
1973 # include <limits.h>
1975 # include <assert.h>
1980 /* Override any GCC internal prototype to avoid an error.
1981 Use char because int might match the return type of a GCC
1982 builtin and then its argument prototype would still apply. */
1987 /* The GNU C library defines this for functions which it implements
1988 to always fail with ENOSYS. Some functions are actually named
1989 something starting with __ and the normal name is an alias. */
1990 #if defined __stub_$2 || defined __stub___$2
2002 if ac_fn_c_try_link "$LINENO"; then :
2007 rm -f core conftest.err conftest.$ac_objext \
2008 conftest$ac_exeext conftest.$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2015 } # ac_fn_c_check_func
2017 # ac_fn_c_check_decl LINENO SYMBOL VAR
2018 # ------------------------------------
2019 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2020 ac_fn_c_check_decl ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2024 $as_echo_n "checking whether $2 is declared... " >&6; }
2025 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2026 $as_echo_n "(cached) " >&6
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2042 if ac_fn_c_try_compile "$LINENO"; then :
2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2052 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2054 } # ac_fn_c_check_decl
2056 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2057 # --------------------------------------------
2058 # Tries to find the compile-time value of EXPR in a program that includes
2059 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2061 ac_fn_c_compute_int ()
2063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064 if test "$cross_compiling" = yes; then
2065 # Depending upon the size, compute the lo and hi bounds.
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2072 static int test_array [1 - 2 * !(($2) >= 0)];
2079 if ac_fn_c_try_compile "$LINENO"; then :
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2088 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2095 if ac_fn_c_try_compile "$LINENO"; then :
2096 ac_hi=$ac_mid; break
2098 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2099 if test $ac_lo -le $ac_mid; then
2103 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2114 static int test_array [1 - 2 * !(($2) < 0)];
2121 if ac_fn_c_try_compile "$LINENO"; then :
2124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2125 /* end confdefs.h. */
2130 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2137 if ac_fn_c_try_compile "$LINENO"; then :
2138 ac_lo=$ac_mid; break
2140 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2141 if test $ac_mid -le $ac_hi; then
2145 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2155 # Binary search between lo and hi bounds.
2156 while test "x$ac_lo" != "x$ac_hi"; do
2157 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h. */
2164 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2171 if ac_fn_c_try_compile "$LINENO"; then :
2174 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2186 static long int longval () { return $2; }
2187 static unsigned long int ulongval () { return $2; }
2194 FILE *f = fopen ("conftest.val", "w");
2199 long int i = longval ();
2202 fprintf (f, "%ld", i);
2206 unsigned long int i = ulongval ();
2209 fprintf (f, "%lu", i);
2211 /* Do not output a trailing newline, as this causes \r\n confusion
2212 on some platforms. */
2213 return ferror (f) || fclose (f) != 0;
2219 if ac_fn_c_try_run "$LINENO"; then :
2220 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2225 conftest.$ac_objext conftest.beam conftest.$ac_ext
2229 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2232 } # ac_fn_c_compute_int
2233 cat >config.log <<_ACEOF
2234 This file contains any messages produced by compilers while
2235 running configure, to aid debugging if configure makes a mistake.
2237 It was created by $as_me, which was
2238 generated by GNU Autoconf 2.64. Invocation command line was
2250 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2251 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2252 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2253 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2254 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2256 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2257 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2259 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2260 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2261 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2262 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2263 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2264 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2265 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir=.
2274 $as_echo "PATH: $as_dir"
2290 # Keep a trace of the command line.
2291 # Strip out --no-create and --no-recursion so they do not pile up.
2292 # Strip out --silent because we don't want to record it for future runs.
2293 # Also quote any args containing shell meta-characters.
2294 # Make two passes to allow for proper duplicate-argument suppression.
2298 ac_must_keep_next=false
2304 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2305 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2306 | -silent | --silent | --silen | --sile | --sil)
2309 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2312 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2314 as_fn_append ac_configure_args1 " '$ac_arg'"
2315 if test $ac_must_keep_next = true; then
2316 ac_must_keep_next=false # Got value, back to normal.
2319 *=* | --config-cache | -C | -disable-* | --disable-* \
2320 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2321 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2322 | -with-* | --with-* | -without-* | --without-* | --x)
2323 case "$ac_configure_args0 " in
2324 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2327 -* ) ac_must_keep_next=true ;;
2330 as_fn_append ac_configure_args " '$ac_arg'"
2335 { ac_configure_args0=; unset ac_configure_args0;}
2336 { ac_configure_args1=; unset ac_configure_args1;}
2338 # When interrupted or exit'd, cleanup temporary files, and complete
2339 # config.log. We remove comments because anyway the quotes in there
2340 # would cause problems or look ugly.
2341 # WARNING: Use '\'' to represent an apostrophe within the trap.
2342 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2343 trap 'exit_status=$?
2344 # Save into config.log some information that might help in debugging.
2349 ## ---------------- ##
2350 ## Cache variables. ##
2351 ## ---------------- ##
2354 # The following way of writing the cache mishandles newlines in values,
2356 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2357 eval ac_val=\$$ac_var
2361 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2362 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2365 _ | IFS | as_nl) ;; #(
2366 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2367 *) { eval $ac_var=; unset $ac_var;} ;;
2372 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2373 *${as_nl}ac_space=\ *)
2375 "s/'\''/'\''\\\\'\'''\''/g;
2376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2379 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2387 ## ----------------- ##
2388 ## Output variables. ##
2389 ## ----------------- ##
2392 for ac_var in $ac_subst_vars
2394 eval ac_val=\$$ac_var
2396 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2398 $as_echo "$ac_var='\''$ac_val'\''"
2402 if test -n "$ac_subst_files"; then
2404 ## ------------------- ##
2405 ## File substitutions. ##
2406 ## ------------------- ##
2409 for ac_var in $ac_subst_files
2411 eval ac_val=\$$ac_var
2413 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415 $as_echo "$ac_var='\''$ac_val'\''"
2420 if test -s confdefs.h; then
2430 test "$ac_signal" != 0 &&
2431 $as_echo "$as_me: caught signal $ac_signal"
2432 $as_echo "$as_me: exit $exit_status"
2434 rm -f core *.core core.conftest.* &&
2435 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2438 for ac_signal in 1 2 13 15; do
2439 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2443 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2444 rm -f -r conftest* confdefs.h
2446 $as_echo "/* confdefs.h */" > confdefs.h
2448 # Predefined preprocessor variables.
2450 cat >>confdefs.h <<_ACEOF
2451 #define PACKAGE_NAME "$PACKAGE_NAME"
2454 cat >>confdefs.h <<_ACEOF
2455 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2458 cat >>confdefs.h <<_ACEOF
2459 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2462 cat >>confdefs.h <<_ACEOF
2463 #define PACKAGE_STRING "$PACKAGE_STRING"
2466 cat >>confdefs.h <<_ACEOF
2467 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2470 cat >>confdefs.h <<_ACEOF
2471 #define PACKAGE_URL "$PACKAGE_URL"
2475 # Let the site file select an alternate cache file if it wants to.
2476 # Prefer an explicitly selected file to automatically selected ones.
2479 if test -n "$CONFIG_SITE"; then
2480 ac_site_file1=$CONFIG_SITE
2481 elif test "x$prefix" != xNONE; then
2482 ac_site_file1=$prefix/share/config.site
2483 ac_site_file2=$prefix/etc/config.site
2485 ac_site_file1=$ac_default_prefix/share/config.site
2486 ac_site_file2=$ac_default_prefix/etc/config.site
2488 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2490 test "x$ac_site_file" = xNONE && continue
2491 if test -r "$ac_site_file"; then
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2493 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2494 sed 's/^/| /' "$ac_site_file" >&5
2499 if test -r "$cache_file"; then
2500 # Some versions of bash will fail to source /dev/null (special
2501 # files actually), so we avoid doing that.
2502 if test -f "$cache_file"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2504 $as_echo "$as_me: loading cache $cache_file" >&6;}
2506 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2507 *) . "./$cache_file";;
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2512 $as_echo "$as_me: creating cache $cache_file" >&6;}
2516 # Check that the precious variables saved in the cache have kept the same
2518 ac_cache_corrupted=false
2519 for ac_var in $ac_precious_vars; do
2520 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2521 eval ac_new_set=\$ac_env_${ac_var}_set
2522 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2523 eval ac_new_val=\$ac_env_${ac_var}_value
2524 case $ac_old_set,$ac_new_set in
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2527 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2528 ac_cache_corrupted=: ;;
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2531 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2532 ac_cache_corrupted=: ;;
2535 if test "x$ac_old_val" != "x$ac_new_val"; then
2536 # differences in whitespace do not lead to failure.
2537 ac_old_val_w=`echo x
$ac_old_val`
2538 ac_new_val_w=`echo x
$ac_new_val`
2539 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2541 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2542 ac_cache_corrupted=:
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2545 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2546 eval $ac_var=\$ac_old_val
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2549 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2551 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2554 # Pass precious variables to config.status.
2555 if test "$ac_new_set" = set; then
2557 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2558 *) ac_arg=$ac_var=$ac_new_val ;;
2560 case " $ac_configure_args " in
2561 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2562 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2566 if $ac_cache_corrupted; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2570 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2571 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2573 ## -------------------- ##
2574 ## Main body of script. ##
2575 ## -------------------- ##
2578 ac_cpp='$CPP $CPPFLAGS'
2579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2590 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2591 for ac_t in install-sh install.sh shtool; do
2592 if test -f "$ac_dir/$ac_t"; then
2594 ac_install_sh="$ac_aux_dir/$ac_t -c"
2599 if test -z "$ac_aux_dir"; then
2600 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2603 # These three variables are undocumented and unsupported,
2604 # and are intended to be withdrawn in a future Autoconf release.
2605 # They can cause serious problems if a builder's source tree is in a directory
2606 # whose full name contains unusual characters.
2607 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2608 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2609 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2612 # Make sure we can run config.sub.
2613 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2614 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2617 $as_echo_n "checking build system type... " >&6; }
2618 if test "${ac_cv_build+set}" = set; then :
2619 $as_echo_n "(cached) " >&6
2621 ac_build_alias=$build_alias
2622 test "x$ac_build_alias" = x &&
2623 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2624 test "x$ac_build_alias" = x &&
2625 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2626 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2627 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2631 $as_echo "$ac_cv_build" >&6; }
2632 case $ac_cv_build in
2634 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2637 ac_save_IFS=$IFS; IFS='-'
2643 # Remember, the first character of IFS is used to create $*,
2644 # except with old shells:
2647 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2651 $as_echo_n "checking host system type... " >&6; }
2652 if test "${ac_cv_host+set}" = set; then :
2653 $as_echo_n "(cached) " >&6
2655 if test "x$host_alias" = x; then
2656 ac_cv_host=$ac_cv_build
2658 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2659 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2664 $as_echo "$ac_cv_host" >&6; }
2667 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2670 ac_save_IFS=$IFS; IFS='-'
2676 # Remember, the first character of IFS is used to create $*,
2677 # except with old shells:
2680 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2684 $as_echo_n "checking target system type... " >&6; }
2685 if test "${ac_cv_target+set}" = set; then :
2686 $as_echo_n "(cached) " >&6
2688 if test "x$target_alias" = x; then
2689 ac_cv_target=$ac_cv_host
2691 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2692 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2697 $as_echo "$ac_cv_target" >&6; }
2698 case $ac_cv_target in
2700 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2702 target=$ac_cv_target
2703 ac_save_IFS=$IFS; IFS='-'
2709 # Remember, the first character of IFS is used to create $*,
2710 # except with old shells:
2713 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2716 # The aliases save the names the user supplied, while $host etc.
2717 # will get canonicalized.
2718 test -n "$target_alias" &&
2719 test "$program_prefix$program_suffix$program_transform_name" = \
2721 program_prefix=${target_alias}-
2723 ac_cpp='$CPP $CPPFLAGS'
2724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2727 if test -n "$ac_tool_prefix"; then
2728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if test "${ac_cv_prog_CC+set}" = set; then :
2733 $as_echo_n "(cached) " >&6
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC="$CC" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756 if test -n "$CC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758 $as_echo "$CC" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2766 if test -z "$ac_cv_prog_CC"; then
2768 # Extract the first word of "gcc", so it can be a program name with args.
2769 set dummy gcc; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$ac_ct_CC"; then
2776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 ac_cv_prog_ac_ct_CC="gcc"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2796 if test -n "$ac_ct_CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798 $as_echo "$ac_ct_CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2804 if test "x$ac_ct_CC" = x; then
2807 case $cross_compiling:$ac_tool_warned in
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2811 ac_tool_warned=yes ;;
2819 if test -z "$CC"; then
2820 if test -n "$ac_tool_prefix"; then
2821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2822 set dummy ${ac_tool_prefix}cc; ac_word=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if test "${ac_cv_prog_CC+set}" = set; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC="$CC" # Let the user override the test.
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir=.
2836 for ac_exec_ext in '' $ac_executable_extensions; do
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838 ac_cv_prog_CC="${ac_tool_prefix}cc"
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test -n "$CC"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851 $as_echo "$CC" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2860 if test -z "$CC"; then
2861 # Extract the first word of "cc", so it can be a program name with args.
2862 set dummy cc; ac_word=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if test "${ac_cv_prog_CC+set}" = set; then :
2866 $as_echo_n "(cached) " >&6
2868 if test -n "$CC"; then
2869 ac_cv_prog_CC="$CC" # Let the user override the test.
2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir=.
2877 for ac_exec_ext in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2880 ac_prog_rejected=yes
2884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891 if test $ac_prog_rejected = yes; then
2892 # We found a bogon in the path, so make sure we never use it.
2893 set dummy $ac_cv_prog_CC
2895 if test $# != 0; then
2896 # We chose a different compiler from the bogus one.
2897 # However, it has the same basename, so the bogon will be chosen
2898 # first if we set CC to just the basename; use the full file name.
2900 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2906 if test -n "$CC"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2916 if test -z "$CC"; then
2917 if test -n "$ac_tool_prefix"; then
2918 for ac_prog in cl.exe
2920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if test "${ac_cv_prog_CC+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC="$CC" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 if test -n "$CC"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2950 $as_echo "$CC" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2957 test -n "$CC" && break
2960 if test -z "$CC"; then
2962 for ac_prog in cl.exe
2964 # Extract the first word of "$ac_prog", so it can be a program name with args.
2965 set dummy $ac_prog; ac_word=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2971 if test -n "$ac_ct_CC"; then
2972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir=.
2979 for ac_exec_ext in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_ac_ct_CC="$ac_prog"
2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2992 if test -n "$ac_ct_CC"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2994 $as_echo "$ac_ct_CC" >&6; }
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3001 test -n "$ac_ct_CC" && break
3004 if test "x$ac_ct_CC" = x; then
3007 case $cross_compiling:$ac_tool_warned in
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3011 ac_tool_warned=yes ;;
3020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 as_fn_error "no acceptable C compiler found
in \
$PATH
3023 See \
`config.log' for more details." "$LINENO" 5; }
3025 # Provide some information about the compiler.
3026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3029 for ac_option in --version -v -V -qversion; do
3030 { { ac_try="$ac_compiler $ac_option >&5"
3032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3033 *) ac_try_echo
=$ac_try;;
3035 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3039 if test -s conftest.err
; then
3041 ... rest of stderr output deleted ...
3042 10q' conftest.err
>conftest.er1
3043 cat conftest.er1
>&5
3044 rm -f conftest.er1 conftest.err
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; }
3050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3061 ac_clean_files_save
=$ac_clean_files
3062 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3063 # Try to create an executable without -o first, disregard a.out.
3064 # It will help us diagnose broken compilers, and finding out an intuition
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3067 $as_echo_n "checking for C compiler default output file name... " >&6; }
3068 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3070 # The possible output files:
3071 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3074 for ac_file
in $ac_files
3077 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3078 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3083 if { { ac_try
="$ac_link_default"
3085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090 (eval "$ac_link_default") 2>&5
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3093 test $ac_status = 0; }; then :
3094 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3095 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3096 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3097 # so that the user can short-circuit this test for compilers unknown to
3099 for ac_file in $ac_files ''
3101 test -f "$ac_file" || continue
3103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3106 # We found the default executable, but exeext='' is most
3110 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3112 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3114 # We set ac_cv_exeext here because the later test for it is not
3115 # safe: cross compilers may not add the suffix if given an `-o'
3116 # argument, so we may need to know it at that point already.
3117 # Even if this section looks crufty: it has the advantage of
3124 test "$ac_cv_exeext" = no && ac_cv_exeext=
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3130 $as_echo "$ac_file" >&6; }
3131 if test -z "$ac_file"; then :
3132 $as_echo "$as_me: failed program was:" >&5
3133 sed 's
/^
/|
/' conftest.$ac_ext >&5
3135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3137 { as_fn_set_status 77
3138 as_fn_error "C compiler cannot create executables
3139 See \`config.log
' for more details." "$LINENO" 5; }; }
3141 ac_exeext=$ac_cv_exeext
3143 # Check that the compiler produces executables we can run. If not, either
3144 # the compiler is broken, or we cross compile.
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3146 $as_echo_n "checking whether the C compiler works... " >&6; }
3147 # If not cross compiling, check that we can run a simple program.
3148 if test "$cross_compiling" != yes; then
3149 if { ac_try='.
/$ac_file'
3150 { { case "(($ac_try" in
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3155 $as_echo "$ac_try_echo"; } >&5
3156 (eval "$ac_try") 2>&5
3158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3159 test $ac_status = 0; }; }; then
3162 if test "$cross_compiling" = maybe; then
3165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3166 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3167 as_fn_error "cannot run C compiled programs.
3168 If you meant to cross compile, use \`--host'.
3169 See \`config.log' for more details.
" "$LINENO" 5; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3174 $as_echo "yes" >&6; }
3176 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3177 ac_clean_files=$ac_clean_files_save
3178 # Check that the compiler produces executables we can run. If not, either
3179 # the compiler is broken, or we cross compile.
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3181 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3183 $as_echo "$cross_compiling" >&6; }
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3186 $as_echo_n "checking
for suffix of executables...
" >&6; }
3187 if { { ac_try="$ac_link"
3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;;
3192 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3193 $as_echo "$ac_try_echo"; } >&5
3194 (eval "$ac_link") 2>&5
3196 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3197 test $ac_status = 0; }; then :
3198 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3199 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3200 # work properly (i.e., refer to `conftest.exe'), while it won't with
3202 for ac_file in conftest.exe conftest conftest.*; do
3203 test -f "$ac_file" || continue
3205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3206 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214 as_fn_error "cannot compute suffix of executables: cannot compile and link
3215 See \`config.log' for more details.
" "$LINENO" 5; }
3217 rm -f conftest$ac_cv_exeext
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3219 $as_echo "$ac_cv_exeext" >&6; }
3221 rm -f conftest.$ac_ext
3222 EXEEXT=$ac_cv_exeext
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3225 $as_echo_n "checking
for suffix of object files...
" >&6; }
3226 if test "${ac_cv_objext+set}" = set; then :
3227 $as_echo_n "(cached
) " >&6
3229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230 /* end confdefs.h. */
3240 rm -f conftest.o conftest.obj
3241 if { { ac_try="$ac_compile"
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3246 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248 (eval "$ac_compile") 2>&5
3250 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3251 test $ac_status = 0; }; then :
3252 for ac_file in conftest.o conftest.obj conftest.*; do
3253 test -f "$ac_file" || continue;
3255 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3256 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3261 $as_echo "$as_me: failed program was
:" >&5
3262 sed 's/^/| /' conftest.$ac_ext >&5
3264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3266 as_fn_error "cannot compute suffix of object files: cannot compile
3267 See \`config.log' for more details.
" "$LINENO" 5; }
3269 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3272 $as_echo "$ac_cv_objext" >&6; }
3273 OBJEXT=$ac_cv_objext
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3276 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3277 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3278 $as_echo_n "(cached
) " >&6
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3294 if ac_fn_c_try_compile "$LINENO"; then :
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3304 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3305 if test $ac_compiler_gnu = yes; then
3310 ac_test_CFLAGS=${CFLAGS+set}
3311 ac_save_CFLAGS=$CFLAGS
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3313 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3314 if test "${ac_cv_prog_cc_g+set}" = set; then :
3315 $as_echo_n "(cached
) " >&6
3317 ac_save_c_werror_flag=$ac_c_werror_flag
3318 ac_c_werror_flag=yes
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3332 if ac_fn_c_try_compile "$LINENO"; then :
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3347 if ac_fn_c_try_compile "$LINENO"; then :
3350 ac_c_werror_flag=$ac_save_c_werror_flag
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3363 if ac_fn_c_try_compile "$LINENO"; then :
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3371 ac_c_werror_flag=$ac_save_c_werror_flag
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3374 $as_echo "$ac_cv_prog_cc_g" >&6; }
3375 if test "$ac_test_CFLAGS" = set; then
3376 CFLAGS=$ac_save_CFLAGS
3377 elif test $ac_cv_prog_cc_g = yes; then
3378 if test "$GCC" = yes; then
3384 if test "$GCC" = yes; then
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3391 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3392 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3393 $as_echo_n "(cached
) " >&6
3395 ac_cv_prog_cc_c89=no
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3401 #include <sys/types.h>
3402 #include <sys/stat.h>
3403 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3404 struct buf { int x; };
3405 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3406 static char *e (p, i)
3412 static char *f (char * (*g) (char **, int), char **p, ...)
3417 s = g (p, va_arg (v,int));
3422 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3423 function prototypes and stuff, but not '\xHH' hex character constants.
3424 These don't provoke an error unfortunately, instead are silently treated
3425 as 'x'. The following induces an error, until -std is added to get
3426 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3427 array size at least. It's necessary to write '\x00'==0 to get something
3428 that's true only with -std. */
3429 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3431 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3432 inside strings and character constants. */
3434 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3436 int test (int i, double x);
3437 struct s1 {int (*f) (int a);};
3438 struct s2 {int (*f) (double a);};
3439 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3445 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3450 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3451 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3453 CC="$ac_save_CC $ac_arg"
3454 if ac_fn_c_try_compile "$LINENO"; then :
3455 ac_cv_prog_cc_c89=$ac_arg
3457 rm -f core conftest.err conftest.$ac_objext
3458 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3460 rm -f conftest.$ac_ext
3465 case "x
$ac_cv_prog_cc_c89" in
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3468 $as_echo "none needed
" >&6; } ;;
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3471 $as_echo "unsupported
" >&6; } ;;
3473 CC="$CC $ac_cv_prog_cc_c89"
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3475 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3477 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing strerror
" >&5
3489 $as_echo_n "checking
for library containing strerror...
" >&6; }
3490 if test "${ac_cv_search_strerror+set}" = set; then :
3491 $as_echo_n "(cached
) " >&6
3493 ac_func_search_save_LIBS=$LIBS
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3497 /* Override any GCC internal prototype to avoid an error.
3498 Use char because int might match the return type of a GCC
3499 builtin and then its argument prototype would still apply. */
3512 for ac_lib in '' cposix; do
3513 if test -z "$ac_lib"; then
3514 ac_res="none required
"
3517 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3519 if ac_fn_c_try_link "$LINENO"; then :
3520 ac_cv_search_strerror=$ac_res
3522 rm -f core conftest.err conftest.$ac_objext \
3524 if test "${ac_cv_search_strerror+set}" = set; then :
3528 if test "${ac_cv_search_strerror+set}" = set; then :
3531 ac_cv_search_strerror=no
3534 LIBS=$ac_func_search_save_LIBS
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_strerror" >&5
3537 $as_echo "$ac_cv_search_strerror" >&6; }
3538 ac_res=$ac_cv_search_strerror
3539 if test "$ac_res" != no; then :
3540 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3545 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
3546 am__api_version='1.11'
3548 # Find a good install program. We prefer a C program (faster),
3549 # so one script is as good as another. But avoid the broken or
3550 # incompatible versions:
3551 # SysV /etc/install, /usr/sbin/install
3552 # SunOS /usr/etc/install
3553 # IRIX /sbin/install
3555 # AmigaOS /C/install, which installs bootblocks on floppy discs
3556 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3557 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3558 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
3559 # OS/2's system install, which has a completely different semantic
3560 # ./install, which can be erroneously created by make from ./install.sh.
3561 # Reject install programs that cannot install multiple files.
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
3563 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
3564 if test -z "$INSTALL"; then
3565 if test "${ac_cv_path_install+set}" = set; then :
3566 $as_echo_n "(cached
) " >&6
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 test -z "$as_dir" && as_dir=.
3573 # Account for people who put trailing slashes in PATH elements.
3574 case $as_dir/ in #((
3575 ./ | .// | /[cC]/* | \
3576 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3577 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3580 # OSF1 and SCO ODT 3.0 have their own names for install.
3581 # Don't use installbsd from OSF since it installs stuff as root
3583 for ac_prog in ginstall scoinst install; do
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3586 if test $ac_prog = install &&
3587 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3588 # AIX install. It has an incompatible calling convention.
3590 elif test $ac_prog = install &&
3591 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3592 # program-specific install script used by HP pwplus--don't use.
3595 rm -rf conftest.one conftest.two conftest.dir
3596 echo one > conftest.one
3597 echo two > conftest.two
3599 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
3600 test -s conftest.one && test -s conftest.two &&
3601 test -s conftest.dir/conftest.one &&
3602 test -s conftest.dir/conftest.two
3604 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3617 rm -rf conftest.one conftest.two conftest.dir
3620 if test "${ac_cv_path_install+set}" = set; then
3621 INSTALL=$ac_cv_path_install
3623 # As a last resort, use the slow shell script. Don't cache a
3624 # value for INSTALL within a source directory, because that will
3625 # break other packages using the cache if that directory is
3626 # removed, or if the value is a relative name.
3627 INSTALL=$ac_install_sh
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
3631 $as_echo "$INSTALL" >&6; }
3633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3634 # It thinks the first close brace ends the variable substitution.
3635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
3642 $as_echo_n "checking whether build environment is sane...
" >&6; }
3645 echo timestamp > conftest.file
3646 # Reject unsafe characters in $srcdir or the absolute working directory
3647 # name. Accept space and tab only in the latter.
3651 *[\\\"\#\$\&\'\`$am_lf]*)
3652 as_fn_error "unsafe absolute working directory name
" "$LINENO" 5;;
3655 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3656 as_fn_error "unsafe srcdir value
: \
`$srcdir'" "$LINENO" 5;;
3659 # Do `set' in a subshell so we don't clobber the current shell
's
3660 # arguments. Must try -L first in case configure is actually a
3661 # symlink; some systems play weird games with the mod time of symlinks
3662 # (eg FreeBSD returns the mod time of the symlink's containing
3665 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3666 if test "$*" = "X"; then
3668 set X
`ls -t "$srcdir/configure" conftest.file`
3671 if test "$*" != "X $srcdir/configure conftest.file" \
3672 && test "$*" != "X conftest.file $srcdir/configure"; then
3674 # If neither matched, then we have a broken ls. This can happen
3675 # if, for instance, CONFIG_SHELL is bash and it inherits a
3676 # broken ls alias from the environment. This has actually
3677 # happened. Such a system could not be considered "sane".
3678 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3679 alias in your environment" "$LINENO" 5
3682 test "$2" = conftest.
file
3688 as_fn_error
"newly created file is older than distributed files!
3689 Check your system clock" "$LINENO" 5
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3692 $as_echo "yes" >&6; }
3693 test "$program_prefix" != NONE
&&
3694 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3695 # Use a double $ so make ignores it.
3696 test "$program_suffix" != NONE
&&
3697 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3698 # Double any \ or $.
3699 # By default was `s,x,x', remove it if useless.
3700 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3701 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3703 # expand $ac_aux_dir to an absolute path
3704 am_aux_dir
=`cd $ac_aux_dir && pwd`
3706 if test x
"${MISSING+set}" != xset
; then
3709 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3711 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3714 # Use eval to expand $SHELL
3715 if eval "$MISSING --run true"; then
3716 am_missing_run
="$MISSING --run "
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3720 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3723 if test x
"${install_sh}" != xset
; then
3726 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3728 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3732 # Installed binaries are usually stripped using `strip' when the user
3733 # run `make install-strip'. However `strip' might not be the right
3734 # tool to use in cross-compilation environments, therefore Automake
3735 # will honor the `STRIP' environment variable to overrule this program.
3736 if test "$cross_compiling" != no
; then
3737 if test -n "$ac_tool_prefix"; then
3738 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3739 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_STRIP+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -n "$STRIP"; then
3746 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir
=.
3753 for ac_exec_ext
in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 STRIP
=$ac_cv_prog_STRIP
3766 if test -n "$STRIP"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3768 $as_echo "$STRIP" >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3776 if test -z "$ac_cv_prog_STRIP"; then
3778 # Extract the first word of "strip", so it can be a program name with args.
3779 set dummy strip
; ac_word
=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -n "$ac_ct_STRIP"; then
3786 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir
=.
3793 for ac_exec_ext
in '' $ac_executable_extensions; do
3794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3795 ac_cv_prog_ac_ct_STRIP
="strip"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3806 if test -n "$ac_ct_STRIP"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3808 $as_echo "$ac_ct_STRIP" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3814 if test "x$ac_ct_STRIP" = x
; then
3817 case $cross_compiling:$ac_tool_warned in
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3821 ac_tool_warned
=yes ;;
3826 STRIP
="$ac_cv_prog_STRIP"
3830 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3833 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3834 if test -z "$MKDIR_P"; then
3835 if test "${ac_cv_path_mkdir+set}" = set; then :
3836 $as_echo_n "(cached) " >&6
3838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3839 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3842 test -z "$as_dir" && as_dir
=.
3843 for ac_prog
in mkdir gmkdir
; do
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3846 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3847 'mkdir (GNU coreutils) '* | \
3848 'mkdir (coreutils) '* | \
3849 'mkdir (fileutils) '4.1*)
3850 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3860 if test "${ac_cv_path_mkdir+set}" = set; then
3861 MKDIR_P
="$ac_cv_path_mkdir -p"
3863 # As a last resort, use the slow shell script. Don't cache a
3864 # value for MKDIR_P within a source directory, because that will
3865 # break other packages using the cache if that directory is
3866 # removed, or if the value is a relative name.
3867 test -d .
/--version && rmdir .
/--version
3868 MKDIR_P
="$ac_install_sh -d"
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3872 $as_echo "$MKDIR_P" >&6; }
3876 [\\/$
]* | ?
:[\\/]*) ;;
3877 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3880 for ac_prog
in gawk mawk nawk
awk
3882 # Extract the first word of "$ac_prog", so it can be a program name with args.
3883 set dummy
$ac_prog; ac_word
=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if test "${ac_cv_prog_AWK+set}" = set; then :
3887 $as_echo_n "(cached) " >&6
3889 if test -n "$AWK"; then
3890 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899 ac_cv_prog_AWK
="$ac_prog"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3910 if test -n "$AWK"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3912 $as_echo "$AWK" >&6; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3919 test -n "$AWK" && break
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3923 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3925 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3926 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3927 $as_echo_n "(cached) " >&6
3929 cat >conftest.
make <<\_ACEOF
3932 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3934 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3935 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3937 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3939 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3943 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3945 $as_echo "yes" >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3950 SET_MAKE
="MAKE=${MAKE-make}"
3953 rm -rf .tst
2>/dev
/null
3954 mkdir .tst
2>/dev
/null
3955 if test -d .tst
; then
3960 rmdir .tst
2>/dev
/null
3962 DEPDIR
="${am__leading_dot}deps"
3964 ac_config_commands
="$ac_config_commands depfiles"
3967 am_make
=${MAKE-make}
3968 cat > confinc
<< 'END'
3970 @
echo this is the am__doit target
3973 # If we don't find an include directive, just comment out the code.
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3975 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3979 # First try GNU make style include.
3980 echo "include confinc" > confmf
3981 # Ignore all kinds of additional output from `make'.
3982 case `$am_make -s -f confmf 2> /dev/null` in #(
3983 *the\ am__doit\ target
*)
3989 # Now try BSD make style include.
3990 if test "$am__include" = "#"; then
3991 echo '.include "confinc"' > confmf
3992 case `$am_make -s -f confmf 2> /dev/null` in #(
3993 *the\ am__doit\ target
*)
3994 am__include
=.include
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4003 $as_echo "$_am_result" >&6; }
4004 rm -f confinc confmf
4006 # Check whether --enable-dependency-tracking was given.
4007 if test "${enable_dependency_tracking+set}" = set; then :
4008 enableval
=$enable_dependency_tracking;
4011 if test "x$enable_dependency_tracking" != xno
; then
4012 am_depcomp
="$ac_aux_dir/depcomp"
4015 if test "x$enable_dependency_tracking" != xno; then
4024 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4025 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4026 # is not polluted with repeated "-I."
4027 am__isrc
=' -I$(srcdir)'
4028 # test to see if srcdir already configured
4029 if test -f $srcdir/config.status
; then
4030 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4034 # test whether we have cygpath
4035 if test -z "$CYGPATH_W"; then
4036 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4037 CYGPATH_W
='cygpath -w'
4044 # Define the identity of the package.
4046 VERSION
=${BFD_VERSION}
4049 cat >>confdefs.h
<<_ACEOF
4050 #define PACKAGE "$PACKAGE"
4054 cat >>confdefs.h
<<_ACEOF
4055 #define VERSION "$VERSION"
4058 # Some tools Automake needs.
4060 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4063 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4066 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4069 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4072 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4074 # We need awk for the "check" target. The system "awk" is bad on
4076 # Always define AMTAR for backward compatibility.
4078 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4080 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4085 depcc
="$CC" am_compiler_list
=
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4088 $as_echo_n "checking dependency style of $depcc... " >&6; }
4089 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4093 # We make a subdir and do the tests there. Otherwise we can end up
4094 # making bogus files that we don't know about and never remove. For
4095 # instance it was reported that on HP-UX the gcc test will end up
4096 # making a dummy file named `D' -- because `-MD' means `put the output
4099 # Copy depcomp to subdir because otherwise we won't find it if we're
4100 # using a relative directory.
4101 cp "$am_depcomp" conftest.dir
4103 # We will build objects and dependencies in a subdirectory because
4104 # it helps to detect inapplicable dependency modes. For instance
4105 # both Tru64's cc and ICC support -MD to output dependencies as a
4106 # side effect of compilation, but ICC will put the dependencies in
4107 # the current directory while Tru64 will put them in the object
4111 am_cv_CC_dependencies_compiler_type
=none
4112 if test "$am_compiler_list" = ""; then
4113 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4116 case " $depcc " in #(
4117 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4120 for depmode
in $am_compiler_list; do
4121 # Setup a source with many dependencies, because some compilers
4122 # like to wrap large dependency lists on column 80 (with \), and
4123 # we should not choose a depcomp mode which is confused by this.
4125 # We need to recreate these files for each test, as the compiler may
4126 # overwrite some of them when testing with obscure command lines.
4127 # This happens at least with the AIX C compiler.
4129 for i
in 1 2 3 4 5 6; do
4130 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4131 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4132 # Solaris 8's {/usr,}/bin/sh.
4133 touch sub
/conftst
$i.h
4135 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4137 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4138 # mode. It turns out that the SunPro C++ compiler does not properly
4139 # handle `-M -o', and we need to detect this. Also, some Intel
4140 # versions had trouble with output in subdirs
4141 am__obj
=sub
/conftest.
${OBJEXT-o}
4142 am__minus_obj
="-o $am__obj"
4145 # This depmode causes a compiler race in universal mode.
4146 test "$am__universal" = false ||
continue
4149 # after this tag, mechanisms are not by side-effect, so they'll
4150 # only be used when explicitly requested
4151 if test "x$enable_dependency_tracking" = xyes
; then
4157 msvisualcpp | msvcmsys
)
4158 # This compiler won't grok `-c -o', but also, the minuso test has
4159 # not run yet. These depmodes are late enough in the game, and
4160 # so weak that their functioning should not be impacted.
4161 am__obj
=conftest.
${OBJEXT-o}
4166 if depmode
=$depmode \
4167 source=sub
/conftest.c object
=$am__obj \
4168 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4169 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4170 >/dev
/null
2>conftest.err
&&
4171 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4172 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4173 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4174 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4175 # icc doesn't choke on unknown options, it will just issue warnings
4176 # or remarks (even with -Werror). So we grep stderr for any message
4177 # that says an option was ignored or not supported.
4178 # When given -MP, icc 7.0 and 7.1 complain thusly:
4179 # icc: Command line warning: ignoring option '-M'; no argument required
4180 # The diagnosis changed in icc 8.0:
4181 # icc: Command line remark: option '-MP' not supported
4182 if (grep 'ignoring option' conftest.err ||
4183 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4184 am_cv_CC_dependencies_compiler_type
=$depmode
4193 am_cv_CC_dependencies_compiler_type
=none
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4198 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4199 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4202 test "x$enable_dependency_tracking" != xno \
4203 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4205 am__fastdepCC_FALSE
='#'
4207 am__fastdepCC_TRUE
='#'
4208 am__fastdepCC_FALSE
=
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4215 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4216 # Check whether --enable-maintainer-mode was given.
4217 if test "${enable_maintainer_mode+set}" = set; then :
4218 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4220 USE_MAINTAINER_MODE
=no
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4224 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4225 if test $USE_MAINTAINER_MODE = yes; then
4226 MAINTAINER_MODE_TRUE
=
4227 MAINTAINER_MODE_FALSE
='#'
4229 MAINTAINER_MODE_TRUE
='#'
4230 MAINTAINER_MODE_FALSE
=
4233 MAINT
=$MAINTAINER_MODE_TRUE
4238 # Check whether --with-lib-path was given.
4239 if test "${with_lib_path+set}" = set; then :
4240 withval
=$with_lib_path; LIB_PATH
=$withval
4243 # Check whether --enable-targets was given.
4244 if test "${enable_targets+set}" = set; then :
4245 enableval
=$enable_targets; case "${enableval}" in
4246 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
4248 no
) enable_targets
= ;;
4249 *) enable_targets
=$enableval ;;
4252 # Check whether --enable-64-bit-bfd was given.
4253 if test "${enable_64_bit_bfd+set}" = set; then :
4254 enableval
=$enable_64_bit_bfd; case "${enableval}" in
4257 *) as_fn_error
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
4264 # Check whether --with-sysroot was given.
4265 if test "${with_sysroot+set}" = set; then :
4266 withval
=$with_sysroot;
4267 case ${with_sysroot} in
4268 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
4269 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
4272 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
4275 if test "x$prefix" = xNONE
; then
4276 test_prefix
=/usr
/local
4280 if test "x$exec_prefix" = xNONE
; then
4281 test_exec_prefix
=$test_prefix
4283 test_exec_prefix
=$exec_prefix
4285 case ${TARGET_SYSTEM_ROOT} in
4286 "${test_prefix}"|
"${test_prefix}/"*|\
4287 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
4288 '${prefix}'|
'${prefix}/'*|\
4289 '${exec_prefix}'|
'${exec_prefix}/'*)
4290 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
4291 TARGET_SYSTEM_ROOT_DEFINE
="$t"
4299 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
4307 # Check whether --enable-got was given.
4308 if test "${enable_got+set}" = set; then :
4309 enableval
=$enable_got; case "${enableval}" in
4310 target | single | negative | multigot
) got_handling
=$enableval ;;
4311 *) as_fn_error
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
4318 case "${got_handling}" in
4321 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
4325 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
4329 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
4333 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
4335 *) as_fn_error
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
4339 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow"
4341 # Check whether --enable-werror was given.
4342 if test "${enable_werror+set}" = set; then :
4343 enableval
=$enable_werror; case "${enableval}" in
4344 yes | y
) ERROR_ON_WARNING
="yes" ;;
4345 no | n
) ERROR_ON_WARNING
="no" ;;
4346 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
4351 # Enable -Wno-format by default when using gcc on mingw
4354 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4355 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
4361 # Enable -Werror by default when using gcc
4362 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4363 ERROR_ON_WARNING
=yes
4367 if test "${ERROR_ON_WARNING}" = yes ; then
4368 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4369 NO_WERROR
="-Wno-error"
4372 if test "${GCC}" = yes ; then
4373 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4376 # Check whether --enable-build-warnings was given.
4377 if test "${enable_build_warnings+set}" = set; then :
4378 enableval
=$enable_build_warnings; case "${enableval}" in
4379 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4380 no
) if test "${GCC}" = yes ; then
4383 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4384 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4385 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4386 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4387 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4392 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4393 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4400 ac_config_headers
="$ac_config_headers config.h:config.in"
4403 if test -z "$target" ; then
4404 as_fn_error
"Unrecognized target system type; please check config.sub." "$LINENO" 5
4406 if test -z "$host" ; then
4407 as_fn_error
"Unrecognized host system type; please check config.sub." "$LINENO" 5
4410 # host-specific stuff:
4413 ac_cpp
='$CPP $CPPFLAGS'
4414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4417 if test -n "$ac_tool_prefix"; then
4418 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4419 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if test "${ac_cv_prog_CC+set}" = set; then :
4423 $as_echo_n "(cached) " >&6
4425 if test -n "$CC"; then
4426 ac_cv_prog_CC
="$CC" # Let the user override the test.
4428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4432 test -z "$as_dir" && as_dir
=.
4433 for ac_exec_ext
in '' $ac_executable_extensions; do
4434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4435 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 if test -n "$CC"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4448 $as_echo "$CC" >&6; }
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4456 if test -z "$ac_cv_prog_CC"; then
4458 # Extract the first word of "gcc", so it can be a program name with args.
4459 set dummy gcc
; ac_word
=$2
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4461 $as_echo_n "checking for $ac_word... " >&6; }
4462 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4463 $as_echo_n "(cached) " >&6
4465 if test -n "$ac_ct_CC"; then
4466 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4472 test -z "$as_dir" && as_dir
=.
4473 for ac_exec_ext
in '' $ac_executable_extensions; do
4474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4475 ac_cv_prog_ac_ct_CC
="gcc"
4476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4485 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4486 if test -n "$ac_ct_CC"; then
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4488 $as_echo "$ac_ct_CC" >&6; }
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4494 if test "x$ac_ct_CC" = x
; then
4497 case $cross_compiling:$ac_tool_warned in
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4501 ac_tool_warned
=yes ;;
4509 if test -z "$CC"; then
4510 if test -n "$ac_tool_prefix"; then
4511 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4512 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4514 $as_echo_n "checking for $ac_word... " >&6; }
4515 if test "${ac_cv_prog_CC+set}" = set; then :
4516 $as_echo_n "(cached) " >&6
4518 if test -n "$CC"; then
4519 ac_cv_prog_CC
="$CC" # Let the user override the test.
4521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4525 test -z "$as_dir" && as_dir
=.
4526 for ac_exec_ext
in '' $ac_executable_extensions; do
4527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4528 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 if test -n "$CC"; then
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4541 $as_echo "$CC" >&6; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4544 $as_echo "no" >&6; }
4550 if test -z "$CC"; then
4551 # Extract the first word of "cc", so it can be a program name with args.
4552 set dummy cc
; ac_word
=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if test "${ac_cv_prog_CC+set}" = set; then :
4556 $as_echo_n "(cached) " >&6
4558 if test -n "$CC"; then
4559 ac_cv_prog_CC
="$CC" # Let the user override the test.
4562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4566 test -z "$as_dir" && as_dir
=.
4567 for ac_exec_ext
in '' $ac_executable_extensions; do
4568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4569 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4570 ac_prog_rejected
=yes
4574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 if test $ac_prog_rejected = yes; then
4582 # We found a bogon in the path, so make sure we never use it.
4583 set dummy
$ac_cv_prog_CC
4585 if test $# != 0; then
4586 # We chose a different compiler from the bogus one.
4587 # However, it has the same basename, so the bogon will be chosen
4588 # first if we set CC to just the basename; use the full file name.
4590 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4596 if test -n "$CC"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4598 $as_echo "$CC" >&6; }
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4606 if test -z "$CC"; then
4607 if test -n "$ac_tool_prefix"; then
4608 for ac_prog
in cl.exe
4610 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4611 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4613 $as_echo_n "checking for $ac_word... " >&6; }
4614 if test "${ac_cv_prog_CC+set}" = set; then :
4615 $as_echo_n "(cached) " >&6
4617 if test -n "$CC"; then
4618 ac_cv_prog_CC
="$CC" # Let the user override the test.
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 for ac_exec_ext
in '' $ac_executable_extensions; do
4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4627 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 if test -n "$CC"; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4640 $as_echo "$CC" >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4647 test -n "$CC" && break
4650 if test -z "$CC"; then
4652 for ac_prog
in cl.exe
4654 # Extract the first word of "$ac_prog", so it can be a program name with args.
4655 set dummy
$ac_prog; ac_word
=$2
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657 $as_echo_n "checking for $ac_word... " >&6; }
4658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4659 $as_echo_n "(cached) " >&6
4661 if test -n "$ac_ct_CC"; then
4662 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4668 test -z "$as_dir" && as_dir
=.
4669 for ac_exec_ext
in '' $ac_executable_extensions; do
4670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4671 ac_cv_prog_ac_ct_CC
="$ac_prog"
4672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4682 if test -n "$ac_ct_CC"; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4684 $as_echo "$ac_ct_CC" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4691 test -n "$ac_ct_CC" && break
4694 if test "x$ac_ct_CC" = x
; then
4697 case $cross_compiling:$ac_tool_warned in
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4701 ac_tool_warned
=yes ;;
4710 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4712 as_fn_error
"no acceptable C compiler found in \$PATH
4713 See \`config.log' for more details." "$LINENO" 5; }
4715 # Provide some information about the compiler.
4716 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4719 for ac_option
in --version -v -V -qversion; do
4720 { { ac_try
="$ac_compiler $ac_option >&5"
4722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4726 $as_echo "$ac_try_echo"; } >&5
4727 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4729 if test -s conftest.err; then
4731 ... rest of stderr output deleted ...
4732 10q' conftest.err >conftest.er1
4733 cat conftest.er1 >&5
4734 rm -f conftest.er1 conftest.err
4736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4737 test $ac_status = 0; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4741 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4742 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4743 $as_echo_n "(cached) " >&6
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4759 if ac_fn_c_try_compile "$LINENO"; then :
4764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4765 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4769 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4770 if test $ac_compiler_gnu = yes; then
4775 ac_test_CFLAGS=${CFLAGS+set}
4776 ac_save_CFLAGS=$CFLAGS
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4778 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4779 if test "${ac_cv_prog_cc_g+set}" = set; then :
4780 $as_echo_n "(cached) " >&6
4782 ac_save_c_werror_flag=$ac_c_werror_flag
4783 ac_c_werror_flag=yes
4786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h. */
4797 if ac_fn_c_try_compile "$LINENO"; then :
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4812 if ac_fn_c_try_compile "$LINENO"; then :
4815 ac_c_werror_flag=$ac_save_c_werror_flag
4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h. */
4828 if ac_fn_c_try_compile "$LINENO"; then :
4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4836 ac_c_werror_flag=$ac_save_c_werror_flag
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4839 $as_echo "$ac_cv_prog_cc_g" >&6; }
4840 if test "$ac_test_CFLAGS" = set; then
4841 CFLAGS=$ac_save_CFLAGS
4842 elif test $ac_cv_prog_cc_g = yes; then
4843 if test "$GCC" = yes; then
4849 if test "$GCC" = yes; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4856 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4857 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4858 $as_echo_n "(cached) " >&6
4860 ac_cv_prog_cc_c89=no
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4866 #include <sys/types.h>
4867 #include <sys/stat.h>
4868 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4869 struct buf { int x; };
4870 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4871 static char *e (p, i)
4877 static char *f (char * (*g) (char **, int), char **p, ...)
4882 s = g (p, va_arg (v,int));
4887 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4888 function prototypes and stuff, but not '\xHH' hex character constants.
4889 These don't provoke an error unfortunately, instead are silently treated
4890 as 'x'. The following induces an error, until -std is added to get
4891 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4892 array size at least. It's necessary to write '\x00'==0 to get something
4893 that's true only with -std. */
4894 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4896 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4897 inside strings and character constants. */
4899 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4901 int test (int i, double x);
4902 struct s1 {int (*f) (int a);};
4903 struct s2 {int (*f) (double a);};
4904 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4910 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4915 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4916 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4918 CC="$ac_save_CC $ac_arg"
4919 if ac_fn_c_try_compile "$LINENO"; then :
4920 ac_cv_prog_cc_c89=$ac_arg
4922 rm -f core conftest.err conftest.$ac_objext
4923 test "x$ac_cv_prog_cc_c89" != "xno" && break
4925 rm -f conftest.$ac_ext
4930 case "x$ac_cv_prog_cc_c89" in
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4933 $as_echo "none needed" >&6; } ;;
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4936 $as_echo "unsupported" >&6; } ;;
4938 CC="$CC $ac_cv_prog_cc_c89"
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4940 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4942 if test "x$ac_cv_prog_cc_c89" != xno; then :
4947 ac_cpp='$CPP $CPPFLAGS'
4948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4953 ac_cpp='$CPP $CPPFLAGS'
4954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4958 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4959 # On Suns, sometimes $CPP names a directory.
4960 if test -n "$CPP" && test -d "$CPP"; then
4963 if test -z "$CPP"; then
4964 if test "${ac_cv_prog_CPP+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4967 # Double quotes because CPP needs to be expanded
4968 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4971 for ac_c_preproc_warn_flag in '' yes
4973 # Use a header file that comes with gcc, so configuring glibc
4974 # with a fresh cross-compiler works.
4975 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4976 # <limits.h> exists even on freestanding compilers.
4977 # On the NeXT, cc -E runs the code through the compiler's parser,
4978 # not just through cpp. "Syntax error" is here to catch this case.
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4982 # include <limits.h>
4984 # include <assert.h>
4988 if ac_fn_c_try_cpp "$LINENO"; then :
4991 # Broken: fails on valid input.
4994 rm -f conftest.err conftest.$ac_ext
4996 # OK, works on sane cases. Now check whether nonexistent headers
4997 # can be detected and how.
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5000 #include <ac_nonexistent.h>
5002 if ac_fn_c_try_cpp "$LINENO"; then :
5003 # Broken: success on invalid input.
5006 # Passes both tests.
5010 rm -f conftest.err conftest.$ac_ext
5013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5014 rm -f conftest.err conftest.
$ac_ext
5015 if $ac_preproc_ok; then :
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5028 $as_echo "$CPP" >&6; }
5030 for ac_c_preproc_warn_flag
in '' yes
5032 # Use a header file that comes with gcc, so configuring glibc
5033 # with a fresh cross-compiler works.
5034 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5035 # <limits.h> exists even on freestanding compilers.
5036 # On the NeXT, cc -E runs the code through the compiler's parser,
5037 # not just through cpp. "Syntax error" is here to catch this case.
5038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h. */
5041 # include <limits.h>
5043 # include <assert.h>
5047 if ac_fn_c_try_cpp
"$LINENO"; then :
5050 # Broken: fails on valid input.
5053 rm -f conftest.err conftest.
$ac_ext
5055 # OK, works on sane cases. Now check whether nonexistent headers
5056 # can be detected and how.
5057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5059 #include <ac_nonexistent.h>
5061 if ac_fn_c_try_cpp
"$LINENO"; then :
5062 # Broken: success on invalid input.
5065 # Passes both tests.
5069 rm -f conftest.err conftest.
$ac_ext
5072 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5073 rm -f conftest.err conftest.
$ac_ext
5074 if $ac_preproc_ok; then :
5077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5079 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5080 See \`config.log' for more details." "$LINENO" 5; }
5084 ac_cpp
='$CPP $CPPFLAGS'
5085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5091 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5092 if test "${ac_cv_path_GREP+set}" = set; then :
5093 $as_echo_n "(cached) " >&6
5095 if test -z "$GREP"; then
5096 ac_path_GREP_found
=false
5097 # Loop through the user's path and test for each of PROGNAME-LIST
5098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5102 test -z "$as_dir" && as_dir
=.
5103 for ac_prog
in grep ggrep
; do
5104 for ac_exec_ext
in '' $ac_executable_extensions; do
5105 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5106 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5107 # Check for GNU ac_path_GREP and select it if it is found.
5108 # Check for GNU $ac_path_GREP
5109 case `"$ac_path_GREP" --version 2>&1` in
5111 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5114 $as_echo_n 0123456789 >"conftest.in"
5117 cat "conftest.in" "conftest.in" >"conftest.tmp"
5118 mv "conftest.tmp" "conftest.in"
5119 cp "conftest.in" "conftest.nl"
5120 $as_echo 'GREP' >> "conftest.nl"
5121 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5122 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5123 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5124 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5125 # Best one so far, save it but keep looking for a better one
5126 ac_cv_path_GREP
="$ac_path_GREP"
5127 ac_path_GREP_max
=$ac_count
5129 # 10*(2^10) chars as input seems more than enough
5130 test $ac_count -gt 10 && break
5132 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5135 $ac_path_GREP_found && break 3
5140 if test -z "$ac_cv_path_GREP"; then
5141 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5144 ac_cv_path_GREP
=$GREP
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5149 $as_echo "$ac_cv_path_GREP" >&6; }
5150 GREP
="$ac_cv_path_GREP"
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5154 $as_echo_n "checking for egrep... " >&6; }
5155 if test "${ac_cv_path_EGREP+set}" = set; then :
5156 $as_echo_n "(cached) " >&6
5158 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5159 then ac_cv_path_EGREP
="$GREP -E"
5161 if test -z "$EGREP"; then
5162 ac_path_EGREP_found
=false
5163 # Loop through the user's path and test for each of PROGNAME-LIST
5164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5165 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5168 test -z "$as_dir" && as_dir
=.
5169 for ac_prog
in egrep; do
5170 for ac_exec_ext
in '' $ac_executable_extensions; do
5171 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5172 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5173 # Check for GNU ac_path_EGREP and select it if it is found.
5174 # Check for GNU $ac_path_EGREP
5175 case `"$ac_path_EGREP" --version 2>&1` in
5177 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5180 $as_echo_n 0123456789 >"conftest.in"
5183 cat "conftest.in" "conftest.in" >"conftest.tmp"
5184 mv "conftest.tmp" "conftest.in"
5185 cp "conftest.in" "conftest.nl"
5186 $as_echo 'EGREP' >> "conftest.nl"
5187 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5188 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5189 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5190 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5191 # Best one so far, save it but keep looking for a better one
5192 ac_cv_path_EGREP
="$ac_path_EGREP"
5193 ac_path_EGREP_max
=$ac_count
5195 # 10*(2^10) chars as input seems more than enough
5196 test $ac_count -gt 10 && break
5198 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5201 $ac_path_EGREP_found && break 3
5206 if test -z "$ac_cv_path_EGREP"; then
5207 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5210 ac_cv_path_EGREP
=$EGREP
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5216 $as_echo "$ac_cv_path_EGREP" >&6; }
5217 EGREP
="$ac_cv_path_EGREP"
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5221 $as_echo_n "checking for ANSI C header files... " >&6; }
5222 if test "${ac_cv_header_stdc+set}" = set; then :
5223 $as_echo_n "(cached) " >&6
5225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5226 /* end confdefs.h. */
5240 if ac_fn_c_try_compile
"$LINENO"; then :
5241 ac_cv_header_stdc
=yes
5243 ac_cv_header_stdc
=no
5245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5247 if test $ac_cv_header_stdc = yes; then
5248 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5255 $EGREP "memchr" >/dev
/null
2>&1; then :
5258 ac_cv_header_stdc
=no
5264 if test $ac_cv_header_stdc = yes; then
5265 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5267 /* end confdefs.h. */
5271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5272 $EGREP "free" >/dev
/null
2>&1; then :
5275 ac_cv_header_stdc
=no
5281 if test $ac_cv_header_stdc = yes; then
5282 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5283 if test "$cross_compiling" = yes; then :
5286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5290 #if ((' ' & 0x0FF) == 0x020)
5291 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5292 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5294 # define ISLOWER(c) \
5295 (('a' <= (c) && (c) <= 'i') \
5296 || ('j' <= (c) && (c) <= 'r') \
5297 || ('s' <= (c) && (c) <= 'z'))
5298 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5301 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5306 for (i = 0; i < 256; i++)
5307 if (XOR (islower (i), ISLOWER (i))
5308 || toupper (i) != TOUPPER (i))
5313 if ac_fn_c_try_run
"$LINENO"; then :
5316 ac_cv_header_stdc
=no
5318 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5319 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5325 $as_echo "$ac_cv_header_stdc" >&6; }
5326 if test $ac_cv_header_stdc = yes; then
5328 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5332 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5333 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5334 inttypes.h stdint.h unistd.h
5336 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5337 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5339 eval as_val
=\$
$as_ac_Header
5340 if test "x$as_val" = x
""yes; then :
5341 cat >>confdefs.h
<<_ACEOF
5342 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5351 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5352 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5359 if test "$MINIX" = yes; then
5361 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5364 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5367 $as_echo "#define _MINIX 1" >>confdefs.h
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5373 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5374 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5380 # define __EXTENSIONS__ 1
5381 $ac_includes_default
5390 if ac_fn_c_try_compile
"$LINENO"; then :
5391 ac_cv_safe_to_define___extensions__
=yes
5393 ac_cv_safe_to_define___extensions__
=no
5395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5398 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5399 test $ac_cv_safe_to_define___extensions__ = yes &&
5400 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5402 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5404 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5406 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5408 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5414 # The tests for host and target for $enable_largefile require
5419 # As the $enable_largefile decision depends on --enable-plugins we must set it
5420 # even in directories otherwise not depending on the $plugins option.
5423 # Check whether --enable-plugins was given.
5424 if test "${enable_plugins+set}" = set; then :
5425 enableval
=$enable_plugins; case "${enableval}" in
5426 yes |
"") plugins
=yes ;;
5437 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
5438 # On native 32bit sparc and ia32 solaris, large-file and procfs support
5439 # are mutually exclusive; and without procfs support, the bfd/ elf module
5440 # cannot provide certain routines such as elfcore_write_prpsinfo
5441 # or elfcore_write_prstatus. So unless the user explicitly requested
5442 # large-file support through the --enable-largefile switch, disable
5443 # large-file support in favor of procfs support.
5444 test "${target}" = "${host}" -a "x$plugins" = xno \
5445 && : ${enable_largefile="no"}
5449 # Check whether --enable-largefile was given.
5450 if test "${enable_largefile+set}" = set; then :
5451 enableval
=$enable_largefile;
5454 if test "$enable_largefile" != no
; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5457 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5458 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5459 $as_echo_n "(cached) " >&6
5461 ac_cv_sys_largefile_CC
=no
5462 if test "$GCC" != yes; then
5465 # IRIX 6.2 and later do not support large files by default,
5466 # so use the C compiler's -n32 option if that helps.
5467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5468 /* end confdefs.h. */
5469 #include <sys/types.h>
5470 /* Check that off_t can represent 2**63 - 1 correctly.
5471 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5472 since some C++ compilers masquerading as C compilers
5473 incorrectly reject 9223372036854775807. */
5474 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5475 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5476 && LARGE_OFF_T % 2147483647 == 1)
5486 if ac_fn_c_try_compile
"$LINENO"; then :
5489 rm -f core conftest.err conftest.
$ac_objext
5491 if ac_fn_c_try_compile
"$LINENO"; then :
5492 ac_cv_sys_largefile_CC
=' -n32'; break
5494 rm -f core conftest.err conftest.
$ac_objext
5498 rm -f conftest.
$ac_ext
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5502 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5503 if test "$ac_cv_sys_largefile_CC" != no
; then
5504 CC
=$CC$ac_cv_sys_largefile_CC
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5508 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5509 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5510 $as_echo_n "(cached) " >&6
5513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5515 #include <sys/types.h>
5516 /* Check that off_t can represent 2**63 - 1 correctly.
5517 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5518 since some C++ compilers masquerading as C compilers
5519 incorrectly reject 9223372036854775807. */
5520 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5521 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5522 && LARGE_OFF_T % 2147483647 == 1)
5532 if ac_fn_c_try_compile
"$LINENO"; then :
5533 ac_cv_sys_file_offset_bits
=no
; break
5535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5537 /* end confdefs.h. */
5538 #define _FILE_OFFSET_BITS 64
5539 #include <sys/types.h>
5540 /* Check that off_t can represent 2**63 - 1 correctly.
5541 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5542 since some C++ compilers masquerading as C compilers
5543 incorrectly reject 9223372036854775807. */
5544 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5545 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5546 && LARGE_OFF_T % 2147483647 == 1)
5556 if ac_fn_c_try_compile
"$LINENO"; then :
5557 ac_cv_sys_file_offset_bits
=64; break
5559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5560 ac_cv_sys_file_offset_bits
=unknown
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5565 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5566 case $ac_cv_sys_file_offset_bits in #(
5569 cat >>confdefs.h
<<_ACEOF
5570 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5575 if test $ac_cv_sys_file_offset_bits = unknown
; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5577 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5578 if test "${ac_cv_sys_large_files+set}" = set; then :
5579 $as_echo_n "(cached) " >&6
5582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5584 #include <sys/types.h>
5585 /* Check that off_t can represent 2**63 - 1 correctly.
5586 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5587 since some C++ compilers masquerading as C compilers
5588 incorrectly reject 9223372036854775807. */
5589 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5590 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5591 && LARGE_OFF_T % 2147483647 == 1)
5601 if ac_fn_c_try_compile
"$LINENO"; then :
5602 ac_cv_sys_large_files
=no
; break
5604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5606 /* end confdefs.h. */
5607 #define _LARGE_FILES 1
5608 #include <sys/types.h>
5609 /* Check that off_t can represent 2**63 - 1 correctly.
5610 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5611 since some C++ compilers masquerading as C compilers
5612 incorrectly reject 9223372036854775807. */
5613 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5614 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5615 && LARGE_OFF_T % 2147483647 == 1)
5625 if ac_fn_c_try_compile
"$LINENO"; then :
5626 ac_cv_sys_large_files
=1; break
5628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5629 ac_cv_sys_large_files
=unknown
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5634 $as_echo "$ac_cv_sys_large_files" >&6; }
5635 case $ac_cv_sys_large_files in #(
5638 cat >>confdefs.h
<<_ACEOF
5639 #define _LARGE_FILES $ac_cv_sys_large_files
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5653 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5658 macro_version
='2.2.6'
5659 macro_revision
='1.3012'
5673 ltmain
="$ac_aux_dir/ltmain.sh"
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5676 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5677 if test "${ac_cv_path_SED+set}" = set; then :
5678 $as_echo_n "(cached) " >&6
5680 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5681 for ac_i
in 1 2 3 4 5 6 7; do
5682 ac_script
="$ac_script$as_nl$ac_script"
5684 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5685 { ac_script
=; unset ac_script
;}
5686 if test -z "$SED"; then
5687 ac_path_SED_found
=false
5688 # Loop through the user's path and test for each of PROGNAME-LIST
5689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir
=.
5694 for ac_prog
in sed gsed
; do
5695 for ac_exec_ext
in '' $ac_executable_extensions; do
5696 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5697 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5698 # Check for GNU ac_path_SED and select it if it is found.
5699 # Check for GNU $ac_path_SED
5700 case `"$ac_path_SED" --version 2>&1` in
5702 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5705 $as_echo_n 0123456789 >"conftest.in"
5708 cat "conftest.in" "conftest.in" >"conftest.tmp"
5709 mv "conftest.tmp" "conftest.in"
5710 cp "conftest.in" "conftest.nl"
5711 $as_echo '' >> "conftest.nl"
5712 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5713 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5714 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5715 if test $ac_count -gt ${ac_path_SED_max-0}; then
5716 # Best one so far, save it but keep looking for a better one
5717 ac_cv_path_SED
="$ac_path_SED"
5718 ac_path_SED_max
=$ac_count
5720 # 10*(2^10) chars as input seems more than enough
5721 test $ac_count -gt 10 && break
5723 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5726 $ac_path_SED_found && break 3
5731 if test -z "$ac_cv_path_SED"; then
5732 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5740 $as_echo "$ac_cv_path_SED" >&6; }
5741 SED
="$ac_cv_path_SED"
5744 test -z "$SED" && SED
=sed
5745 Xsed
="$SED -e 1s/^X//"
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5758 $as_echo_n "checking for fgrep... " >&6; }
5759 if test "${ac_cv_path_FGREP+set}" = set; then :
5760 $as_echo_n "(cached) " >&6
5762 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5763 then ac_cv_path_FGREP
="$GREP -F"
5765 if test -z "$FGREP"; then
5766 ac_path_FGREP_found
=false
5767 # Loop through the user's path and test for each of PROGNAME-LIST
5768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5769 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5772 test -z "$as_dir" && as_dir
=.
5773 for ac_prog
in fgrep
; do
5774 for ac_exec_ext
in '' $ac_executable_extensions; do
5775 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5776 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5777 # Check for GNU ac_path_FGREP and select it if it is found.
5778 # Check for GNU $ac_path_FGREP
5779 case `"$ac_path_FGREP" --version 2>&1` in
5781 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5784 $as_echo_n 0123456789 >"conftest.in"
5787 cat "conftest.in" "conftest.in" >"conftest.tmp"
5788 mv "conftest.tmp" "conftest.in"
5789 cp "conftest.in" "conftest.nl"
5790 $as_echo 'FGREP' >> "conftest.nl"
5791 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5792 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5793 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5794 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5795 # Best one so far, save it but keep looking for a better one
5796 ac_cv_path_FGREP
="$ac_path_FGREP"
5797 ac_path_FGREP_max
=$ac_count
5799 # 10*(2^10) chars as input seems more than enough
5800 test $ac_count -gt 10 && break
5802 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5805 $ac_path_FGREP_found && break 3
5810 if test -z "$ac_cv_path_FGREP"; then
5811 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5814 ac_cv_path_FGREP
=$FGREP
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5820 $as_echo "$ac_cv_path_FGREP" >&6; }
5821 FGREP
="$ac_cv_path_FGREP"
5824 test -z "$GREP" && GREP
=grep
5844 # Check whether --with-gnu-ld was given.
5845 if test "${with_gnu_ld+set}" = set; then :
5846 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5852 if test "$GCC" = yes; then
5853 # Check if gcc -print-prog-name=ld gives a path.
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5855 $as_echo_n "checking for ld used by $CC... " >&6; }
5858 # gcc leaves a trailing carriage return which upsets mingw
5859 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5861 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5864 # Accept absolute paths.
5866 re_direlt
='/[^/][^/]*/\.\./'
5867 # Canonicalize the pathname of ld
5868 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5869 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5870 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5872 test -z "$LD" && LD
="$ac_prog"
5875 # If it fails, then pretend we aren't using GCC.
5879 # If it is relative, then search for the first ld in PATH.
5883 elif test "$with_gnu_ld" = yes; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5885 $as_echo_n "checking for GNU ld... " >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5888 $as_echo_n "checking for non-GNU ld... " >&6; }
5890 if test "${lt_cv_path_LD+set}" = set; then :
5891 $as_echo_n "(cached) " >&6
5893 if test -z "$LD"; then
5894 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5895 for ac_dir
in $PATH; do
5897 test -z "$ac_dir" && ac_dir
=.
5898 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5899 lt_cv_path_LD
="$ac_dir/$ac_prog"
5900 # Check to see if the program is GNU ld. I'd rather use --version,
5901 # but apparently some variants of GNU ld only accept -v.
5902 # Break only if it was the GNU/non-GNU ld that we prefer.
5903 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5904 *GNU
* |
*'with BFD'*)
5905 test "$with_gnu_ld" != no
&& break
5908 test "$with_gnu_ld" != yes && break
5915 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5920 if test -n "$LD"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5922 $as_echo "$LD" >&6; }
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5927 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5929 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5930 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5931 $as_echo_n "(cached) " >&6
5933 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5934 case `$LD -v 2>&1 </dev/null` in
5935 *GNU
* |
*'with BFD'*)
5936 lt_cv_prog_gnu_ld
=yes
5939 lt_cv_prog_gnu_ld
=no
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5944 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5945 with_gnu_ld
=$lt_cv_prog_gnu_ld
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5956 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5957 if test "${lt_cv_path_NM+set}" = set; then :
5958 $as_echo_n "(cached) " >&6
5960 if test -n "$NM"; then
5961 # Let the user override the test.
5964 lt_nm_to_check
="${ac_tool_prefix}nm"
5965 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5966 lt_nm_to_check
="$lt_nm_to_check nm"
5968 for lt_tmp_nm
in $lt_nm_to_check; do
5969 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5970 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5972 test -z "$ac_dir" && ac_dir
=.
5973 tmp_nm
="$ac_dir/$lt_tmp_nm"
5974 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5975 # Check to see if the nm accepts a BSD-compat flag.
5976 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5977 # nm: unknown option "B" ignored
5978 # Tru64's nm complains that /dev/null is an invalid object file
5979 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5980 */dev
/null
* |
*'Invalid file or object type'*)
5981 lt_cv_path_NM
="$tmp_nm -B"
5985 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5987 lt_cv_path_NM
="$tmp_nm -p"
5991 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5992 continue # so that we can try to find one that supports BSD flags
6001 : ${lt_cv_path_NM=no}
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6005 $as_echo "$lt_cv_path_NM" >&6; }
6006 if test "$lt_cv_path_NM" != "no"; then
6009 # Didn't find any BSD compatible name lister, look for dumpbin.
6010 if test -n "$ac_tool_prefix"; then
6011 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6014 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6018 $as_echo_n "(cached) " >&6
6020 if test -n "$DUMPBIN"; then
6021 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6027 test -z "$as_dir" && as_dir
=.
6028 for ac_exec_ext
in '' $ac_executable_extensions; do
6029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6030 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 DUMPBIN
=$ac_cv_prog_DUMPBIN
6041 if test -n "$DUMPBIN"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6043 $as_echo "$DUMPBIN" >&6; }
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6050 test -n "$DUMPBIN" && break
6053 if test -z "$DUMPBIN"; then
6054 ac_ct_DUMPBIN
=$DUMPBIN
6055 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6057 # Extract the first word of "$ac_prog", so it can be a program name with args.
6058 set dummy
$ac_prog; ac_word
=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6062 $as_echo_n "(cached) " >&6
6064 if test -n "$ac_ct_DUMPBIN"; then
6065 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir
=.
6072 for ac_exec_ext
in '' $ac_executable_extensions; do
6073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6074 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6085 if test -n "$ac_ct_DUMPBIN"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6087 $as_echo "$ac_ct_DUMPBIN" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6094 test -n "$ac_ct_DUMPBIN" && break
6097 if test "x$ac_ct_DUMPBIN" = x
; then
6100 case $cross_compiling:$ac_tool_warned in
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6104 ac_tool_warned
=yes ;;
6106 DUMPBIN
=$ac_ct_DUMPBIN
6111 if test "$DUMPBIN" != ":"; then
6115 test -z "$NM" && NM
=nm
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6123 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6124 if test "${lt_cv_nm_interface+set}" = set; then :
6125 $as_echo_n "(cached) " >&6
6127 lt_cv_nm_interface
="BSD nm"
6128 echo "int some_variable = 0;" > conftest.
$ac_ext
6129 (eval echo "\"\$as_me:6129: $ac_compile\"" >&5)
6130 (eval "$ac_compile" 2>conftest.err
)
6131 cat conftest.err
>&5
6132 (eval echo "\"\$as_me:6132: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6133 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6134 cat conftest.err
>&5
6135 (eval echo "\"\$as_me:6135: output\"" >&5)
6136 cat conftest.out
>&5
6137 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6138 lt_cv_nm_interface
="MS dumpbin"
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6143 $as_echo "$lt_cv_nm_interface" >&6; }
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6146 $as_echo_n "checking whether ln -s works... " >&6; }
6148 if test "$LN_S" = "ln -s"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6150 $as_echo "yes" >&6; }
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6153 $as_echo "no, using $LN_S" >&6; }
6156 # find the maximum length of command line arguments
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6158 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6159 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6160 $as_echo_n "(cached) " >&6
6167 # On DJGPP, this test can blow up pretty badly due to problems in libc
6168 # (any single argument exceeding 2000 bytes causes a buffer overrun
6169 # during glob expansion). Even if it were fixed, the result of this
6170 # check would be larger than it should be.
6171 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6175 # Under GNU Hurd, this test is not required because there is
6176 # no limit to the length of command line arguments.
6177 # Libtool will interpret -1 as no limit whatsoever
6178 lt_cv_sys_max_cmd_len
=-1;
6181 cygwin
* | mingw
* | cegcc
*)
6182 # On Win9x/ME, this test blows up -- it succeeds, but takes
6183 # about 5 minutes as the teststring grows exponentially.
6184 # Worse, since 9x/ME are not pre-emptively multitasking,
6185 # you end up with a "frozen" computer, even though with patience
6186 # the test eventually succeeds (with a max line length of 256k).
6187 # Instead, let's just punt: use the minimum linelength reported by
6188 # all of the supported platforms: 8192 (on NT/2K/XP).
6189 lt_cv_sys_max_cmd_len
=8192;
6193 # On AmigaOS with pdksh, this test takes hours, literally.
6194 # So we just punt and use a minimum line length of 8192.
6195 lt_cv_sys_max_cmd_len
=8192;
6198 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6199 # This has been around since 386BSD, at least. Likely further.
6200 if test -x /sbin
/sysctl
; then
6201 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6202 elif test -x /usr
/sbin
/sysctl
; then
6203 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6205 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6207 # And add a safety zone
6208 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6209 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6213 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6214 lt_cv_sys_max_cmd_len
=196608
6218 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6219 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6220 # nice to cause kernel panics so lets avoid the loop below.
6221 # First set a reasonable default.
6222 lt_cv_sys_max_cmd_len
=16384
6224 if test -x /sbin
/sysconfig
; then
6225 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6226 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6231 lt_cv_sys_max_cmd_len
=102400
6233 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6234 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6235 if test -n "$kargmax"; then
6236 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6238 lt_cv_sys_max_cmd_len
=32768
6242 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6243 if test -n "$lt_cv_sys_max_cmd_len"; then
6244 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6245 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6247 # Make teststring a little bigger before we do anything with it.
6248 # a 1K string should be a reasonable start.
6249 for i
in 1 2 3 4 5 6 7 8 ; do
6250 teststring
=$teststring$teststring
6252 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6253 # If test is not a shell built-in, we'll probably end up computing a
6254 # maximum length that is only half of the actual maximum length, but
6256 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6257 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6258 test $i != 17 # 1/2 MB should be enough
6261 teststring
=$teststring$teststring
6263 # Only check the string length outside the loop.
6264 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6266 # Add a significant safety factor because C++ compilers can tack on
6267 # massive amounts of additional arguments before passing them to the
6268 # linker. It appears as though 1/2 is a usable value.
6269 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6276 if test -n $lt_cv_sys_max_cmd_len ; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6278 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6281 $as_echo "none" >&6; }
6283 max_cmd_len
=$lt_cv_sys_max_cmd_len
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6295 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6296 # Try some XSI features
6299 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6301 && eval 'test $(( 1 + 1 )) -eq 2 \
6302 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6305 $as_echo "$xsi_shell" >&6; }
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6309 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6311 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6313 && lt_shell_append=yes
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6315 $as_echo "$lt_shell_append" >&6; }
6318 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6328 # test EBCDIC or ASCII
6329 case `echo X|tr X '\101'` in
6330 A) # ASCII based system
6331 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6332 lt_SP2NL='tr \040 \012'
6333 lt_NL2SP='tr \015\012 \040\040'
6335 *) # EBCDIC based system
6336 lt_SP2NL='tr \100 \n'
6337 lt_NL2SP='tr \r\n \100\100'
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6350 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6351 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6352 $as_echo_n "(cached
) " >&6
6354 lt_cv_ld_reload_flag='-r'
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6357 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6358 reload_flag=$lt_cv_ld_reload_flag
6359 case $reload_flag in
6361 *) reload_flag=" $reload_flag" ;;
6363 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6366 if test "$GCC" = yes; then
6367 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6369 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6382 if test -n "$ac_tool_prefix"; then
6383 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6384 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6386 $as_echo_n "checking
for $ac_word...
" >&6; }
6387 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6388 $as_echo_n "(cached
) " >&6
6390 if test -n "$OBJDUMP"; then
6391 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6397 test -z "$as_dir" && as_dir=.
6398 for ac_exec_ext in '' $ac_executable_extensions; do
6399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6410 OBJDUMP=$ac_cv_prog_OBJDUMP
6411 if test -n "$OBJDUMP"; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6413 $as_echo "$OBJDUMP" >&6; }
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6416 $as_echo "no
" >&6; }
6421 if test -z "$ac_cv_prog_OBJDUMP"; then
6422 ac_ct_OBJDUMP=$OBJDUMP
6423 # Extract the first word of "objdump
", so it can be a program name with args.
6424 set dummy objdump; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6426 $as_echo_n "checking
for $ac_word...
" >&6; }
6427 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6428 $as_echo_n "(cached
) " >&6
6430 if test -n "$ac_ct_OBJDUMP"; then
6431 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6450 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6451 if test -n "$ac_ct_OBJDUMP"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6453 $as_echo "$ac_ct_OBJDUMP" >&6; }
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6456 $as_echo "no
" >&6; }
6459 if test "x
$ac_ct_OBJDUMP" = x; then
6462 case $cross_compiling:$ac_tool_warned in
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6465 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6466 ac_tool_warned=yes ;;
6468 OBJDUMP=$ac_ct_OBJDUMP
6471 OBJDUMP="$ac_cv_prog_OBJDUMP"
6474 test -z "$OBJDUMP" && OBJDUMP=objdump
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6485 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6486 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6487 $as_echo_n "(cached
) " >&6
6489 lt_cv_file_magic_cmd='$MAGIC_CMD'
6490 lt_cv_file_magic_test_file=
6491 lt_cv_deplibs_check_method='unknown'
6492 # Need to set the preceding variable on all platforms that support
6493 # interlibrary dependencies.
6494 # 'none' -- dependencies not supported.
6495 # `unknown' -- same as none, but documents that we really don't know.
6496 # 'pass_all' -- all dependencies passed with no checks.
6497 # 'test_compile' -- check by making test program.
6498 # 'file_magic [[regex]]' -- check by looking for files in library path
6499 # which responds to the $file_magic_cmd with a given extended regex.
6500 # If you have `file' or equivalent on your system and you're not sure
6501 # whether `pass_all' will *always* work, you probably want this one.
6505 lt_cv_deplibs_check_method=pass_all
6509 lt_cv_deplibs_check_method=pass_all
6513 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6514 lt_cv_file_magic_cmd='/usr/bin/file -L'
6515 lt_cv_file_magic_test_file=/shlib/libc.so
6519 # func_win32_libid is a shell function defined in ltmain.sh
6520 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6521 lt_cv_file_magic_cmd='func_win32_libid'
6525 # Base MSYS/MinGW do not provide the 'file' command needed by
6526 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6527 # unless we find 'file', for example because we are cross-compiling.
6528 if ( file / ) >/dev/null 2>&1; then
6529 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6530 lt_cv_file_magic_cmd='func_win32_libid'
6532 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6533 lt_cv_file_magic_cmd='$OBJDUMP -f'
6538 # use the weaker test based on 'objdump'. See mingw*.
6539 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6540 lt_cv_file_magic_cmd='$OBJDUMP -f'
6543 darwin* | rhapsody*)
6544 lt_cv_deplibs_check_method=pass_all
6547 freebsd* | dragonfly*)
6548 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6551 # Not sure whether the presence of OpenBSD here was a mistake.
6552 # Let's accept both of them until this is cleared up.
6553 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6554 lt_cv_file_magic_cmd=/usr/bin/file
6555 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6559 lt_cv_deplibs_check_method=pass_all
6564 lt_cv_deplibs_check_method=pass_all
6567 hpux10.20* | hpux11*)
6568 lt_cv_file_magic_cmd=/usr/bin/file
6571 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6572 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6575 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]'
6576 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6579 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6580 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6586 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6587 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6590 irix5* | irix6* | nonstopux*)
6592 *-32|*"-32 ") libmagic=32-bit;;
6593 *-n32|*"-n32 ") libmagic=N32;;
6594 *-64|*"-64 ") libmagic=64-bit;;
6595 *) libmagic=never-match;;
6597 lt_cv_deplibs_check_method=pass_all
6600 # This must be Linux ELF.
6601 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6602 lt_cv_deplibs_check_method=pass_all
6606 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6607 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6609 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6614 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6615 lt_cv_file_magic_cmd=/usr/bin/file
6616 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6620 lt_cv_deplibs_check_method=pass_all
6624 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6625 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6631 osf3* | osf4* | osf5*)
6632 lt_cv_deplibs_check_method=pass_all
6636 lt_cv_deplibs_check_method=pass_all
6640 lt_cv_deplibs_check_method=pass_all
6643 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6644 lt_cv_deplibs_check_method=pass_all
6648 case $host_vendor in
6650 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]'
6651 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6654 lt_cv_deplibs_check_method=pass_all
6657 lt_cv_file_magic_cmd='/bin/file'
6658 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6661 lt_cv_file_magic_cmd='/bin/file'
6662 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6663 lt_cv_file_magic_test_file=/lib/libc.so
6666 lt_cv_deplibs_check_method=pass_all
6669 lt_cv_deplibs_check_method=pass_all
6675 lt_cv_deplibs_check_method=pass_all
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6681 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6682 file_magic_cmd=$lt_cv_file_magic_cmd
6683 deplibs_check_method=$lt_cv_deplibs_check_method
6684 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6697 if test -n "$ac_tool_prefix"; then
6698 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6699 set dummy ${ac_tool_prefix}ar; ac_word=$2
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6701 $as_echo_n "checking
for $ac_word...
" >&6; }
6702 if test "${ac_cv_prog_AR+set}" = set; then :
6703 $as_echo_n "(cached
) " >&6
6705 if test -n "$AR"; then
6706 ac_cv_prog_AR="$AR" # Let the user override the test.
6708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 test -z "$as_dir" && as_dir=.
6713 for ac_exec_ext in '' $ac_executable_extensions; do
6714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6715 ac_cv_prog_AR="${ac_tool_prefix}ar"
6716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6726 if test -n "$AR"; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6728 $as_echo "$AR" >&6; }
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6731 $as_echo "no
" >&6; }
6736 if test -z "$ac_cv_prog_AR"; then
6738 # Extract the first word of "ar", so it can be a program name with args.
6739 set dummy ar; ac_word=$2
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6741 $as_echo_n "checking
for $ac_word...
" >&6; }
6742 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6743 $as_echo_n "(cached
) " >&6
6745 if test -n "$ac_ct_AR"; then
6746 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752 test -z "$as_dir" && as_dir=.
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6755 ac_cv_prog_ac_ct_AR="ar"
6756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6765 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6766 if test -n "$ac_ct_AR"; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6768 $as_echo "$ac_ct_AR" >&6; }
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6771 $as_echo "no
" >&6; }
6774 if test "x
$ac_ct_AR" = x; then
6777 case $cross_compiling:$ac_tool_warned in
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6780 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6781 ac_tool_warned=yes ;;
6789 test -z "$AR" && AR=ar
6790 test -z "$AR_FLAGS" && AR_FLAGS=cru
6802 if test -n "$ac_tool_prefix"; then
6803 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6804 set dummy ${ac_tool_prefix}strip; ac_word=$2
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6806 $as_echo_n "checking
for $ac_word...
" >&6; }
6807 if test "${ac_cv_prog_STRIP+set}" = set; then :
6808 $as_echo_n "(cached
) " >&6
6810 if test -n "$STRIP"; then
6811 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6817 test -z "$as_dir" && as_dir=.
6818 for ac_exec_ext in '' $ac_executable_extensions; do
6819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6820 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6830 STRIP=$ac_cv_prog_STRIP
6831 if test -n "$STRIP"; then
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6833 $as_echo "$STRIP" >&6; }
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6836 $as_echo "no
" >&6; }
6841 if test -z "$ac_cv_prog_STRIP"; then
6843 # Extract the first word of "strip
", so it can be a program name with args.
6844 set dummy strip; ac_word=$2
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6846 $as_echo_n "checking
for $ac_word...
" >&6; }
6847 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6848 $as_echo_n "(cached
) " >&6
6850 if test -n "$ac_ct_STRIP"; then
6851 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6857 test -z "$as_dir" && as_dir=.
6858 for ac_exec_ext in '' $ac_executable_extensions; do
6859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6860 ac_cv_prog_ac_ct_STRIP="strip
"
6861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6870 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6871 if test -n "$ac_ct_STRIP"; then
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6873 $as_echo "$ac_ct_STRIP" >&6; }
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6876 $as_echo "no
" >&6; }
6879 if test "x
$ac_ct_STRIP" = x; then
6882 case $cross_compiling:$ac_tool_warned in
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6885 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6886 ac_tool_warned=yes ;;
6891 STRIP="$ac_cv_prog_STRIP"
6894 test -z "$STRIP" && STRIP=:
6901 if test -n "$ac_tool_prefix"; then
6902 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6903 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6905 $as_echo_n "checking
for $ac_word...
" >&6; }
6906 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6907 $as_echo_n "(cached
) " >&6
6909 if test -n "$RANLIB"; then
6910 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916 test -z "$as_dir" && as_dir=.
6917 for ac_exec_ext in '' $ac_executable_extensions; do
6918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6919 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6929 RANLIB=$ac_cv_prog_RANLIB
6930 if test -n "$RANLIB"; then
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6932 $as_echo "$RANLIB" >&6; }
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6935 $as_echo "no
" >&6; }
6940 if test -z "$ac_cv_prog_RANLIB"; then
6941 ac_ct_RANLIB=$RANLIB
6942 # Extract the first word of "ranlib
", so it can be a program name with args.
6943 set dummy ranlib; ac_word=$2
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6945 $as_echo_n "checking
for $ac_word...
" >&6; }
6946 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6947 $as_echo_n "(cached
) " >&6
6949 if test -n "$ac_ct_RANLIB"; then
6950 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 test -z "$as_dir" && as_dir=.
6957 for ac_exec_ext in '' $ac_executable_extensions; do
6958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6959 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6969 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6970 if test -n "$ac_ct_RANLIB"; then
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6972 $as_echo "$ac_ct_RANLIB" >&6; }
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6975 $as_echo "no
" >&6; }
6978 if test "x
$ac_ct_RANLIB" = x; then
6981 case $cross_compiling:$ac_tool_warned in
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6984 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6985 ac_tool_warned=yes ;;
6987 RANLIB=$ac_ct_RANLIB
6990 RANLIB="$ac_cv_prog_RANLIB"
6993 test -z "$RANLIB" && RANLIB=:
7000 # Determine commands to create old-style static archives.
7001 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7002 old_postinstall_cmds='chmod 644 $oldlib'
7003 old_postuninstall_cmds=
7005 if test -n "$RANLIB"; then
7008 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7011 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7014 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7050 # If no C compiler was specified, use CC.
7053 # If no C compiler flags were specified, use CFLAGS.
7054 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7056 # Allow CC to be a program name with arguments.
7060 # Check for command to grab the raw symbol name followed by C symbol from nm.
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7062 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7063 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7064 $as_echo_n "(cached
) " >&6
7067 # These are sane defaults that work on at least a few old systems.
7068 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7070 # Character class describing NM global symbol codes.
7071 symcode='[BCDEGRST]'
7073 # Regexp to match symbols that can be accessed directly from C.
7074 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7076 # Define system-specific variables.
7081 cygwin* | mingw* | pw32* | cegcc*)
7082 symcode='[ABCDGISTW]'
7085 if test "$host_cpu" = ia64; then
7086 symcode='[ABCDEGRST]'
7090 symcode='[BCDEGRST]'
7093 symcode='[BCDEGQRST]'
7104 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7112 # If we're using GNU nm, then use its standard symbol codes.
7113 case `$NM -V 2>&1` in
7114 *GNU* | *'with BFD'*)
7115 symcode='[ABCDGIRSTW]' ;;
7118 # Transform an extracted symbol line into a proper C declaration.
7119 # Some systems (esp. on ia64) link data and code symbols differently,
7120 # so use this general approach.
7121 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7123 # Transform an extracted symbol line into symbol name and symbol address
7124 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7125 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'"
7127 # Handle CRLF in mingw tool chain
7131 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7135 # Try without a prefix underscore, then with it.
7136 for ac_symprfx in "" "_
"; do
7138 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7139 symxfrm="\\1 $ac_symprfx\\2 \\2"
7141 # Write the raw and C identifiers.
7142 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7143 # Fake it for dumpbin and say T for any non-static function
7144 # and D for any global variable.
7145 # Also find C++ and __fastcall symbols from MSVC++,
7146 # which start with @ or ?.
7147 lt_cv_sys_global_symbol_pipe="$AWK '"\
7148 " {last_section=section; section=\$ 3};"\
7149 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7150 " \$ 0!~/External *\|/{next};"\
7151 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7152 " {if(hide[section]) next};"\
7153 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7154 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7155 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7156 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7157 " ' prfx
=^
$ac_symprfx"
7159 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7162 # Check to see that the pipe works correctly.
7166 cat > conftest.$ac_ext <<_LT_EOF
7171 void nm_test_func(void);
7172 void nm_test_func(void){}
7176 int main(){nm_test_var='a';nm_test_func();return(0);}
7179 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7180 (eval $ac_compile) 2>&5
7182 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7183 test $ac_status = 0; }; then
7184 # Now try to grab the symbols.
7186 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
7187 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7189 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7190 test $ac_status = 0; } && test -s "$nlist"; then
7191 # Try sorting and uniquifying the output.
7192 if sort "$nlist" | uniq > "$nlist"T; then
7193 mv -f "$nlist"T "$nlist"
7198 # Make sure that we snagged all the symbols we need.
7199 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7200 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7201 cat <<_LT_EOF > conftest.$ac_ext
7207 # Now generate the symbol file.
7208 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7210 cat <<_LT_EOF >> conftest.$ac_ext
7212 /* The mapping between symbol names and symbols. */
7217 lt__PROGRAM__LTX_preloaded_symbols[] =
7219 { "@PROGRAM@
", (void *) 0 },
7221 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7222 cat <<\_LT_EOF >> conftest.$ac_ext
7226 /* This works around a problem in FreeBSD linker */
7227 #ifdef FREEBSD_WORKAROUND
7228 static const void *lt_preloaded_setup() {
7229 return lt__PROGRAM__LTX_preloaded_symbols;
7237 # Now try linking the two files.
7238 mv conftest.$ac_objext conftstm.$ac_objext
7239 lt_save_LIBS="$LIBS"
7240 lt_save_CFLAGS="$CFLAGS"
7241 LIBS="conftstm.
$ac_objext"
7242 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7243 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7244 (eval $ac_link) 2>&5
7246 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7247 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7250 LIBS="$lt_save_LIBS"
7251 CFLAGS="$lt_save_CFLAGS"
7253 echo "cannot
find nm_test_func
in $nlist" >&5
7256 echo "cannot
find nm_test_var
in $nlist" >&5
7259 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7262 echo "$progname: failed program was
:" >&5
7263 cat conftest.$ac_ext >&5
7265 rm -rf conftest* conftst*
7267 # Do not use the global_symbol_pipe unless it works.
7268 if test "$pipe_works" = yes; then
7271 lt_cv_sys_global_symbol_pipe=
7277 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7278 lt_cv_sys_global_symbol_to_cdecl=
7280 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7282 $as_echo "failed
" >&6; }
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7285 $as_echo "ok
" >&6; }
7309 # Check whether --enable-libtool-lock was given.
7310 if test "${enable_libtool_lock+set}" = set; then :
7311 enableval=$enable_libtool_lock;
7314 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7316 # Some flags need to be propagated to the compiler or linker for good
7320 # Find out which ABI we are using.
7321 echo 'int i;' > conftest.$ac_ext
7322 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7323 (eval $ac_compile) 2>&5
7325 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7326 test $ac_status = 0; }; then
7327 case `/usr/bin/file conftest.$ac_objext` in
7339 # Find out which ABI we are using.
7340 echo '#line 7340 "configure
"' > conftest.$ac_ext
7341 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7342 (eval $ac_compile) 2>&5
7344 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7345 test $ac_status = 0; }; then
7346 if test "$lt_cv_prog_gnu_ld" = yes; then
7347 case `/usr/bin/file conftest.$ac_objext` in
7349 LD="${LD-ld} -melf32bsmip"
7352 LD="${LD-ld} -melf32bmipn32"
7355 LD="${LD-ld} -melf64bmip"
7359 case `/usr/bin/file conftest.$ac_objext` in
7375 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7376 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7377 # Find out which ABI we are using.
7378 echo 'int i;' > conftest.$ac_ext
7379 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7380 (eval $ac_compile) 2>&5
7382 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7383 test $ac_status = 0; }; then
7384 case `/usr/bin/file conftest.o` in
7387 x86_64-*kfreebsd*-gnu)
7388 LD="${LD-ld} -m elf_i386_fbsd
"
7391 LD="${LD-ld} -m elf_i386
"
7393 ppc64-*linux*|powerpc64-*linux*)
7394 LD="${LD-ld} -m elf32ppclinux
"
7397 LD="${LD-ld} -m elf_s390
"
7400 LD="${LD-ld} -m elf32_sparc
"
7406 x86_64-*kfreebsd*-gnu)
7407 LD="${LD-ld} -m elf_x86_64_fbsd
"
7410 LD="${LD-ld} -m elf_x86_64
"
7412 ppc*-*linux*|powerpc*-*linux*)
7413 LD="${LD-ld} -m elf64ppc
"
7415 s390*-*linux*|s390*-*tpf*)
7416 LD="${LD-ld} -m elf64_s390
"
7419 LD="${LD-ld} -m elf64_sparc
"
7429 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7430 SAVE_CFLAGS="$CFLAGS"
7431 CFLAGS="$CFLAGS -belf"
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7433 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7434 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7435 $as_echo_n "(cached
) " >&6
7438 ac_cpp='$CPP $CPPFLAGS'
7439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7454 if ac_fn_c_try_link "$LINENO"; then :
7455 lt_cv_cc_needs_belf=yes
7457 lt_cv_cc_needs_belf=no
7459 rm -f core conftest.err conftest.$ac_objext \
7460 conftest$ac_exeext conftest.$ac_ext
7462 ac_cpp='$CPP $CPPFLAGS'
7463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7469 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7470 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7471 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7472 CFLAGS="$SAVE_CFLAGS"
7476 # Find out which ABI we are using.
7477 echo 'int i;' > conftest.$ac_ext
7478 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7479 (eval $ac_compile) 2>&5
7481 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7482 test $ac_status = 0; }; then
7483 case `/usr/bin/file conftest.o` in
7485 case $lt_cv_prog_gnu_ld in
7486 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7488 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7500 need_locks="$enable_libtool_lock"
7504 rhapsody* | darwin*)
7505 if test -n "$ac_tool_prefix"; then
7506 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7507 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7509 $as_echo_n "checking
for $ac_word...
" >&6; }
7510 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7511 $as_echo_n "(cached
) " >&6
7513 if test -n "$DSYMUTIL"; then
7514 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir=.
7521 for ac_exec_ext in '' $ac_executable_extensions; do
7522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7523 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7533 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7534 if test -n "$DSYMUTIL"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7536 $as_echo "$DSYMUTIL" >&6; }
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7539 $as_echo "no
" >&6; }
7544 if test -z "$ac_cv_prog_DSYMUTIL"; then
7545 ac_ct_DSYMUTIL=$DSYMUTIL
7546 # Extract the first word of "dsymutil
", so it can be a program name with args.
7547 set dummy dsymutil; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7549 $as_echo_n "checking
for $ac_word...
" >&6; }
7550 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7551 $as_echo_n "(cached
) " >&6
7553 if test -n "$ac_ct_DSYMUTIL"; then
7554 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7563 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7573 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7574 if test -n "$ac_ct_DSYMUTIL"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7576 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7579 $as_echo "no
" >&6; }
7582 if test "x
$ac_ct_DSYMUTIL" = x; then
7585 case $cross_compiling:$ac_tool_warned in
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7588 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7589 ac_tool_warned=yes ;;
7591 DSYMUTIL=$ac_ct_DSYMUTIL
7594 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7597 if test -n "$ac_tool_prefix"; then
7598 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7599 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7601 $as_echo_n "checking
for $ac_word...
" >&6; }
7602 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7603 $as_echo_n "(cached
) " >&6
7605 if test -n "$NMEDIT"; then
7606 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7612 test -z "$as_dir" && as_dir=.
7613 for ac_exec_ext in '' $ac_executable_extensions; do
7614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7615 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7616 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7625 NMEDIT=$ac_cv_prog_NMEDIT
7626 if test -n "$NMEDIT"; then
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7628 $as_echo "$NMEDIT" >&6; }
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7631 $as_echo "no
" >&6; }
7636 if test -z "$ac_cv_prog_NMEDIT"; then
7637 ac_ct_NMEDIT=$NMEDIT
7638 # Extract the first word of "nmedit
", so it can be a program name with args.
7639 set dummy nmedit; ac_word=$2
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7641 $as_echo_n "checking
for $ac_word...
" >&6; }
7642 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7643 $as_echo_n "(cached
) " >&6
7645 if test -n "$ac_ct_NMEDIT"; then
7646 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 test -z "$as_dir" && as_dir=.
7653 for ac_exec_ext in '' $ac_executable_extensions; do
7654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7655 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7656 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7665 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7666 if test -n "$ac_ct_NMEDIT"; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7668 $as_echo "$ac_ct_NMEDIT" >&6; }
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7671 $as_echo "no
" >&6; }
7674 if test "x
$ac_ct_NMEDIT" = x; then
7677 case $cross_compiling:$ac_tool_warned in
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7680 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7681 ac_tool_warned=yes ;;
7683 NMEDIT=$ac_ct_NMEDIT
7686 NMEDIT="$ac_cv_prog_NMEDIT"
7689 if test -n "$ac_tool_prefix"; then
7690 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7691 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7693 $as_echo_n "checking
for $ac_word...
" >&6; }
7694 if test "${ac_cv_prog_LIPO+set}" = set; then :
7695 $as_echo_n "(cached
) " >&6
7697 if test -n "$LIPO"; then
7698 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7704 test -z "$as_dir" && as_dir=.
7705 for ac_exec_ext in '' $ac_executable_extensions; do
7706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7707 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7717 LIPO=$ac_cv_prog_LIPO
7718 if test -n "$LIPO"; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7720 $as_echo "$LIPO" >&6; }
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7723 $as_echo "no
" >&6; }
7728 if test -z "$ac_cv_prog_LIPO"; then
7730 # Extract the first word of "lipo
", so it can be a program name with args.
7731 set dummy lipo; ac_word=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7733 $as_echo_n "checking
for $ac_word...
" >&6; }
7734 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7735 $as_echo_n "(cached
) " >&6
7737 if test -n "$ac_ct_LIPO"; then
7738 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7747 ac_cv_prog_ac_ct_LIPO="lipo
"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7757 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7758 if test -n "$ac_ct_LIPO"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7760 $as_echo "$ac_ct_LIPO" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7763 $as_echo "no
" >&6; }
7766 if test "x
$ac_ct_LIPO" = x; then
7769 case $cross_compiling:$ac_tool_warned in
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7772 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7773 ac_tool_warned=yes ;;
7778 LIPO="$ac_cv_prog_LIPO"
7781 if test -n "$ac_tool_prefix"; then
7782 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7783 set dummy ${ac_tool_prefix}otool; ac_word=$2
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7785 $as_echo_n "checking
for $ac_word...
" >&6; }
7786 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7787 $as_echo_n "(cached
) " >&6
7789 if test -n "$OTOOL"; then
7790 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7796 test -z "$as_dir" && as_dir=.
7797 for ac_exec_ext in '' $ac_executable_extensions; do
7798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7799 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7809 OTOOL=$ac_cv_prog_OTOOL
7810 if test -n "$OTOOL"; then
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7812 $as_echo "$OTOOL" >&6; }
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7815 $as_echo "no
" >&6; }
7820 if test -z "$ac_cv_prog_OTOOL"; then
7822 # Extract the first word of "otool
", so it can be a program name with args.
7823 set dummy otool; ac_word=$2
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7825 $as_echo_n "checking
for $ac_word...
" >&6; }
7826 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7827 $as_echo_n "(cached
) " >&6
7829 if test -n "$ac_ct_OTOOL"; then
7830 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7836 test -z "$as_dir" && as_dir=.
7837 for ac_exec_ext in '' $ac_executable_extensions; do
7838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7839 ac_cv_prog_ac_ct_OTOOL="otool
"
7840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7849 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7850 if test -n "$ac_ct_OTOOL"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7852 $as_echo "$ac_ct_OTOOL" >&6; }
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7855 $as_echo "no
" >&6; }
7858 if test "x
$ac_ct_OTOOL" = x; then
7861 case $cross_compiling:$ac_tool_warned in
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7864 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7865 ac_tool_warned=yes ;;
7870 OTOOL="$ac_cv_prog_OTOOL"
7873 if test -n "$ac_tool_prefix"; then
7874 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7875 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7877 $as_echo_n "checking
for $ac_word...
" >&6; }
7878 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7879 $as_echo_n "(cached
) " >&6
7881 if test -n "$OTOOL64"; then
7882 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 test -z "$as_dir" && as_dir=.
7889 for ac_exec_ext in '' $ac_executable_extensions; do
7890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7891 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7901 OTOOL64=$ac_cv_prog_OTOOL64
7902 if test -n "$OTOOL64"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7904 $as_echo "$OTOOL64" >&6; }
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7907 $as_echo "no
" >&6; }
7912 if test -z "$ac_cv_prog_OTOOL64"; then
7913 ac_ct_OTOOL64=$OTOOL64
7914 # Extract the first word of "otool64
", so it can be a program name with args.
7915 set dummy otool64; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7917 $as_echo_n "checking
for $ac_word...
" >&6; }
7918 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7919 $as_echo_n "(cached
) " >&6
7921 if test -n "$ac_ct_OTOOL64"; then
7922 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7931 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7941 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7942 if test -n "$ac_ct_OTOOL64"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7944 $as_echo "$ac_ct_OTOOL64" >&6; }
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7947 $as_echo "no
" >&6; }
7950 if test "x
$ac_ct_OTOOL64" = x; then
7953 case $cross_compiling:$ac_tool_warned in
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7956 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7957 ac_tool_warned=yes ;;
7959 OTOOL64=$ac_ct_OTOOL64
7962 OTOOL64="$ac_cv_prog_OTOOL64"
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7992 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7993 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7994 $as_echo_n "(cached
) " >&6
7996 lt_cv_apple_cc_single_mod=no
7997 if test -z "${LT_MULTI_MODULE}"; then
7998 # By default we will add the -single_module flag. You can override
7999 # by either setting the environment variable LT_MULTI_MODULE
8000 # non-empty at configure time, or by adding -multi_module to the
8002 rm -rf libconftest.dylib*
8003 echo "int foo
(void
){return 1;}" > conftest.c
8004 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8005 -dynamiclib -Wl,-single_module conftest.c
" >&5
8006 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8007 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8009 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8010 lt_cv_apple_cc_single_mod=yes
8012 cat conftest.err >&5
8014 rm -rf libconftest.dylib*
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8019 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8021 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8022 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8023 $as_echo_n "(cached
) " >&6
8025 lt_cv_ld_exported_symbols_list=no
8026 save_LDFLAGS=$LDFLAGS
8027 echo "_main
" > conftest.sym
8028 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8040 if ac_fn_c_try_link "$LINENO"; then :
8041 lt_cv_ld_exported_symbols_list=yes
8043 lt_cv_ld_exported_symbols_list=no
8045 rm -f core conftest.err conftest.$ac_objext \
8046 conftest$ac_exeext conftest.$ac_ext
8047 LDFLAGS="$save_LDFLAGS"
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8051 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8053 rhapsody* | darwin1.[012])
8054 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8056 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8057 darwin*) # darwin 5.x on
8058 # if running on 10.5 or later, the deployment target defaults
8059 # to the OS version, if on x86, and 10.4, the deployment
8060 # target defaults to 10.4. Don't you love it?
8061 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8062 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8063 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8065 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8067 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8071 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8072 _lt_dar_single_mod='$single_module'
8074 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8075 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8077 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8079 if test "$DSYMUTIL" != ":"; then
8080 _lt_dsymutil='~$DSYMUTIL $lib || :'
8087 for ac_header in dlfcn.h
8089 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8091 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8092 cat >>confdefs.h <<_ACEOF
8093 #define HAVE_DLFCN_H 1
8112 # Check whether --enable-shared was given.
8113 if test "${enable_shared+set}" = set; then :
8114 enableval=$enable_shared; p=${PACKAGE-default}
8116 yes) enable_shared=yes ;;
8117 no) enable_shared=no ;;
8120 # Look at the argument we got. We use all the common list separators.
8121 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8122 for pkg in $enableval; do
8124 if test "X
$pkg" = "X
$p"; then
8143 # Check whether --enable-static was given.
8144 if test "${enable_static+set}" = set; then :
8145 enableval=$enable_static; p=${PACKAGE-default}
8147 yes) enable_static=yes ;;
8148 no) enable_static=no ;;
8151 # Look at the argument we got. We use all the common list separators.
8152 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8153 for pkg in $enableval; do
8155 if test "X
$pkg" = "X
$p"; then
8175 # Check whether --with-pic was given.
8176 if test "${with_pic+set}" = set; then :
8177 withval=$with_pic; pic_mode="$withval"
8183 test -z "$pic_mode" && pic_mode=default
8191 # Check whether --enable-fast-install was given.
8192 if test "${enable_fast_install+set}" = set; then :
8193 enableval=$enable_fast_install; p=${PACKAGE-default}
8195 yes) enable_fast_install=yes ;;
8196 no) enable_fast_install=no ;;
8198 enable_fast_install=no
8199 # Look at the argument we got. We use all the common list separators.
8200 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8201 for pkg in $enableval; do
8203 if test "X
$pkg" = "X
$p"; then
8204 enable_fast_install=yes
8211 enable_fast_install=yes
8224 # This can be used to rebuild libtool when needed
8225 LIBTOOL_DEPS="$ltmain"
8227 # Always use our own libtool.
8228 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8254 test -z "$LN_S" && LN_S="ln -s"
8269 if test -n "${ZSH_VERSION+set}" ; then
8270 setopt NO_GLOB_SUBST
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8274 $as_echo_n "checking
for objdir...
" >&6; }
8275 if test "${lt_cv_objdir+set}" = set; then :
8276 $as_echo_n "(cached
) " >&6
8278 rm -f .libs 2>/dev/null
8279 mkdir .libs 2>/dev/null
8280 if test -d .libs; then
8283 # MS-DOS does not allow filenames that begin with a dot.
8286 rmdir .libs 2>/dev/null
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8289 $as_echo "$lt_cv_objdir" >&6; }
8290 objdir=$lt_cv_objdir
8296 cat >>confdefs.h <<_ACEOF
8297 #define LT_OBJDIR "$lt_cv_objdir/"
8318 # AIX sometimes has problems with the GCC collect2 program. For some
8319 # reason, if we set the COLLECT_NAMES environment variable, the problems
8320 # vanish in a puff of smoke.
8321 if test "X
${COLLECT_NAMES+set}" != Xset; then
8323 export COLLECT_NAMES
8328 # Sed substitution that helps us do robust quoting. It backslashifies
8329 # metacharacters that are still active within double-quoted strings.
8330 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8332 # Same as above, but do not quote variable references.
8333 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
8335 # Sed substitution to delay expansion of an escaped shell variable in a
8336 # double_quote_subst'ed string.
8337 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8339 # Sed substitution to delay expansion of an escaped single quote.
8340 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8342 # Sed substitution to avoid accidental globbing in evaled expressions
8343 no_glob_subst
='s/\*/\\\*/g'
8347 can_build_shared
=yes
8349 # All known linkers require a `.a' archive for static linking (except MSVC,
8350 # which needs '.lib').
8353 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8356 old_CFLAGS
="$CFLAGS"
8358 # Set sane defaults for various variables
8359 test -z "$CC" && CC
=cc
8360 test -z "$LTCC" && LTCC
=$CC
8361 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8362 test -z "$LD" && LD
=ld
8363 test -z "$ac_objext" && ac_objext
=o
8365 for cc_temp
in $compiler""; do
8367 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8368 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8373 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8376 # Only perform the check for file, if the check method requires it
8377 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8378 case $deplibs_check_method in
8380 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8382 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8383 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8384 $as_echo_n "(cached) " >&6
8388 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8391 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8392 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8393 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8394 for ac_dir
in $ac_dummy; do
8396 test -z "$ac_dir" && ac_dir
=.
8397 if test -f $ac_dir/${ac_tool_prefix}file; then
8398 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8399 if test -n "$file_magic_test_file"; then
8400 case $deplibs_check_method in
8402 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8403 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8404 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8405 $EGREP "$file_magic_regex" > /dev
/null
; then
8410 *** Warning: the command libtool uses to detect shared libraries,
8411 *** $file_magic_cmd, produces output that libtool cannot recognize.
8412 *** The result is that libtool may fail to recognize shared libraries
8413 *** as such. This will affect the creation of libtool libraries that
8414 *** depend on shared libraries, but programs linked with such libtool
8415 *** libraries will work regardless of this problem. Nevertheless, you
8416 *** may want to report the problem to your system manager and/or to
8417 *** bug-libtool@gnu.org
8427 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8432 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8433 if test -n "$MAGIC_CMD"; then
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8435 $as_echo "$MAGIC_CMD" >&6; }
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8438 $as_echo "no" >&6; }
8445 if test -z "$lt_cv_path_MAGIC_CMD"; then
8446 if test -n "$ac_tool_prefix"; then
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8448 $as_echo_n "checking for file... " >&6; }
8449 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8450 $as_echo_n "(cached) " >&6
8454 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8457 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8458 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8459 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8460 for ac_dir
in $ac_dummy; do
8462 test -z "$ac_dir" && ac_dir
=.
8463 if test -f $ac_dir/file; then
8464 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8465 if test -n "$file_magic_test_file"; then
8466 case $deplibs_check_method in
8468 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8469 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8470 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8471 $EGREP "$file_magic_regex" > /dev
/null
; then
8476 *** Warning: the command libtool uses to detect shared libraries,
8477 *** $file_magic_cmd, produces output that libtool cannot recognize.
8478 *** The result is that libtool may fail to recognize shared libraries
8479 *** as such. This will affect the creation of libtool libraries that
8480 *** depend on shared libraries, but programs linked with such libtool
8481 *** libraries will work regardless of this problem. Nevertheless, you
8482 *** may want to report the problem to your system manager and/or to
8483 *** bug-libtool@gnu.org
8493 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8498 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8499 if test -n "$MAGIC_CMD"; then
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8501 $as_echo "$MAGIC_CMD" >&6; }
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8504 $as_echo "no" >&6; }
8517 # Use C for the default configuration in the libtool script
8521 ac_cpp
='$CPP $CPPFLAGS'
8522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8527 # Source file extension for C test sources.
8530 # Object file extension for compiled C test sources.
8534 # Code to be used in simple compile tests
8535 lt_simple_compile_test_code
="int some_variable = 0;"
8537 # Code to be used in simple link tests
8538 lt_simple_link_test_code
='int main(){return(0);}'
8546 # If no C compiler was specified, use CC.
8549 # If no C compiler flags were specified, use CFLAGS.
8550 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8552 # Allow CC to be a program name with arguments.
8555 # Save the default compiler, since it gets overwritten when the other
8556 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8557 compiler_DEFAULT
=$CC
8559 # save warnings/boilerplate of simple test code
8560 ac_outfile
=conftest.
$ac_objext
8561 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8562 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8563 _lt_compiler_boilerplate
=`cat conftest.err`
8566 ac_outfile
=conftest.
$ac_objext
8567 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8568 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8569 _lt_linker_boilerplate
=`cat conftest.err`
8574 ## There is no encapsulation within the following macros, do not change
8575 ## the running order or otherwise move them around unless you know exactly
8576 ## what you are doing...
8577 if test -n "$compiler"; then
8579 lt_prog_compiler_no_builtin_flag
=
8581 if test "$GCC" = yes; then
8582 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8585 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8586 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8587 $as_echo_n "(cached) " >&6
8589 lt_cv_prog_compiler_rtti_exceptions
=no
8590 ac_outfile
=conftest.
$ac_objext
8591 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8592 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8593 # Insert the option either (1) after the last *FLAGS variable, or
8594 # (2) before a word containing "conftest.", or (3) at the end.
8595 # Note that $ac_compile itself does not contain backslashes and begins
8596 # with a dollar sign (not a hyphen), so the echo should work correctly.
8597 # The option is referenced via a variable to avoid confusing sed.
8598 lt_compile
=`echo "$ac_compile" | $SED \
8599 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8600 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8601 -e 's:$: $lt_compiler_flag:'`
8602 (eval echo "\"\$as_me:8602: $lt_compile\"" >&5)
8603 (eval "$lt_compile" 2>conftest.err
)
8605 cat conftest.err
>&5
8606 echo "$as_me:8606: \$? = $ac_status" >&5
8607 if (exit $ac_status) && test -s "$ac_outfile"; then
8608 # The compiler can only warn and ignore the option if not recognized
8609 # So say no if there are warnings other than the usual output.
8610 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8611 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8612 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8613 lt_cv_prog_compiler_rtti_exceptions
=yes
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8620 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8622 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8623 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8635 lt_prog_compiler_wl
=
8636 lt_prog_compiler_pic
=
8637 lt_prog_compiler_static
=
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8640 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8642 if test "$GCC" = yes; then
8643 lt_prog_compiler_wl
='-Wl,'
8644 lt_prog_compiler_static
='-static'
8648 # All AIX code is PIC.
8649 if test "$host_cpu" = ia64
; then
8650 # AIX 5 now supports IA64 processor
8651 lt_prog_compiler_static
='-Bstatic'
8658 # see comment about AmigaOS4 .so support
8659 lt_prog_compiler_pic
='-fPIC'
8662 # FIXME: we need at least 68020 code to build shared libraries, but
8663 # adding the `-m68020' flag to GCC prevents building anything better,
8665 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8670 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8671 # PIC is the default for these OSes.
8674 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8675 # This hack is so that the source file can tell whether it is being
8676 # built for inclusion in a dll (and should export symbols for example).
8677 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8678 # (--disable-auto-import) libraries
8679 lt_prog_compiler_pic
='-DDLL_EXPORT'
8682 darwin
* | rhapsody
*)
8683 # PIC is the default on this platform
8684 # Common symbols not allowed in MH_DYLIB files
8685 lt_prog_compiler_pic
='-fno-common'
8689 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8690 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8691 # sets the default TLS model and affects inlining.
8697 lt_prog_compiler_pic
='-fPIC'
8703 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8704 # Instead, we relocate shared libraries at runtime.
8708 # Just because we use GCC doesn't mean we suddenly get shared libraries
8709 # on systems that don't support them.
8710 lt_prog_compiler_can_build_shared
=no
8715 # QNX uses GNU C++, but need to define -shared option too, otherwise
8717 lt_prog_compiler_pic
='-fPIC -shared'
8721 if test -d /usr
/nec
; then
8722 lt_prog_compiler_pic
=-Kconform_pic
8727 lt_prog_compiler_pic
='-fPIC'
8731 # PORTME Check for flag to pass linker flags through the system compiler.
8734 lt_prog_compiler_wl
='-Wl,'
8735 if test "$host_cpu" = ia64
; then
8736 # AIX 5 now supports IA64 processor
8737 lt_prog_compiler_static
='-Bstatic'
8739 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8743 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8744 # This hack is so that the source file can tell whether it is being
8745 # built for inclusion in a dll (and should export symbols for example).
8746 lt_prog_compiler_pic
='-DDLL_EXPORT'
8749 hpux9
* | hpux10
* | hpux11
*)
8750 lt_prog_compiler_wl
='-Wl,'
8751 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8758 lt_prog_compiler_pic
='+Z'
8761 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8762 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8765 irix5
* | irix6
* | nonstopux
*)
8766 lt_prog_compiler_wl
='-Wl,'
8767 # PIC (with -KPIC) is the default.
8768 lt_prog_compiler_static
='-non_shared'
8771 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8772 case $cc_basename in
8773 # old Intel for x86_64 which still supported -KPIC.
8775 lt_prog_compiler_wl
='-Wl,'
8776 lt_prog_compiler_pic
='-KPIC'
8777 lt_prog_compiler_static
='-static'
8779 # icc used to be incompatible with GCC.
8780 # ICC 10 doesn't accept -KPIC any more.
8782 lt_prog_compiler_wl
='-Wl,'
8783 lt_prog_compiler_pic
='-fPIC'
8784 lt_prog_compiler_static
='-static'
8786 # Lahey Fortran 8.1.
8788 lt_prog_compiler_wl
='-Wl,'
8789 lt_prog_compiler_pic
='--shared'
8790 lt_prog_compiler_static
='--static'
8792 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8793 # Portland Group compilers (*not* the Pentium gcc compiler,
8794 # which looks to be a dead project)
8795 lt_prog_compiler_wl
='-Wl,'
8796 lt_prog_compiler_pic
='-fpic'
8797 lt_prog_compiler_static
='-Bstatic'
8800 lt_prog_compiler_wl
='-Wl,'
8801 # All Alpha code is PIC.
8802 lt_prog_compiler_static
='-non_shared'
8805 # IBM XL C 8.0/Fortran 10.1 on PPC
8806 lt_prog_compiler_wl
='-Wl,'
8807 lt_prog_compiler_pic
='-qpic'
8808 lt_prog_compiler_static
='-qstaticlink'
8811 case `$CC -V 2>&1 | sed 5q` in
8814 lt_prog_compiler_pic
='-KPIC'
8815 lt_prog_compiler_static
='-Bstatic'
8816 lt_prog_compiler_wl
='-Wl,'
8819 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8820 lt_prog_compiler_pic
='-KPIC'
8821 lt_prog_compiler_static
='-Bstatic'
8822 lt_prog_compiler_wl
=''
8830 lt_prog_compiler_pic
='-KPIC'
8831 lt_prog_compiler_static
='-Bstatic'
8835 # QNX uses GNU C++, but need to define -shared option too, otherwise
8837 lt_prog_compiler_pic
='-fPIC -shared'
8840 osf3
* | osf4
* | osf5
*)
8841 lt_prog_compiler_wl
='-Wl,'
8842 # All OSF/1 code is PIC.
8843 lt_prog_compiler_static
='-non_shared'
8847 lt_prog_compiler_static
='-non_shared'
8851 lt_prog_compiler_pic
='-KPIC'
8852 lt_prog_compiler_static
='-Bstatic'
8853 case $cc_basename in
8855 lt_prog_compiler_wl
='-Qoption ld ';;
8857 lt_prog_compiler_wl
='-Wl,';;
8862 lt_prog_compiler_wl
='-Qoption ld '
8863 lt_prog_compiler_pic
='-PIC'
8864 lt_prog_compiler_static
='-Bstatic'
8867 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8868 lt_prog_compiler_wl
='-Wl,'
8869 lt_prog_compiler_pic
='-KPIC'
8870 lt_prog_compiler_static
='-Bstatic'
8874 if test -d /usr
/nec
;then
8875 lt_prog_compiler_pic
='-Kconform_pic'
8876 lt_prog_compiler_static
='-Bstatic'
8880 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8881 lt_prog_compiler_wl
='-Wl,'
8882 lt_prog_compiler_pic
='-KPIC'
8883 lt_prog_compiler_static
='-Bstatic'
8887 lt_prog_compiler_wl
='-Wl,'
8888 lt_prog_compiler_can_build_shared
=no
8892 lt_prog_compiler_pic
='-pic'
8893 lt_prog_compiler_static
='-Bstatic'
8897 lt_prog_compiler_can_build_shared
=no
8903 # For platforms which do not support PIC, -DPIC is meaningless:
8905 lt_prog_compiler_pic
=
8908 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8912 $as_echo "$lt_prog_compiler_pic" >&6; }
8920 # Check to make sure the PIC flag actually works.
8922 if test -n "$lt_prog_compiler_pic"; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8924 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8925 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8926 $as_echo_n "(cached) " >&6
8928 lt_cv_prog_compiler_pic_works
=no
8929 ac_outfile
=conftest.
$ac_objext
8930 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8931 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8932 # Insert the option either (1) after the last *FLAGS variable, or
8933 # (2) before a word containing "conftest.", or (3) at the end.
8934 # Note that $ac_compile itself does not contain backslashes and begins
8935 # with a dollar sign (not a hyphen), so the echo should work correctly.
8936 # The option is referenced via a variable to avoid confusing sed.
8937 lt_compile
=`echo "$ac_compile" | $SED \
8938 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8939 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8940 -e 's:$: $lt_compiler_flag:'`
8941 (eval echo "\"\$as_me:8941: $lt_compile\"" >&5)
8942 (eval "$lt_compile" 2>conftest.err
)
8944 cat conftest.err
>&5
8945 echo "$as_me:8945: \$? = $ac_status" >&5
8946 if (exit $ac_status) && test -s "$ac_outfile"; then
8947 # The compiler can only warn and ignore the option if not recognized
8948 # So say no if there are warnings other than the usual output.
8949 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8950 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8951 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8952 lt_cv_prog_compiler_pic_works
=yes
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8959 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8961 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8962 case $lt_prog_compiler_pic in
8964 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8967 lt_prog_compiler_pic
=
8968 lt_prog_compiler_can_build_shared
=no
8979 # Check to make sure the static flag actually works.
8981 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8983 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8984 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8985 $as_echo_n "(cached) " >&6
8987 lt_cv_prog_compiler_static_works
=no
8988 save_LDFLAGS
="$LDFLAGS"
8989 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8990 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8991 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8992 # The linker can only warn and ignore the option if not recognized
8993 # So say no if there are warnings
8994 if test -s conftest.err
; then
8995 # Append any errors to the config.log.
8996 cat conftest.err
1>&5
8997 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8998 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8999 if diff conftest.exp conftest.er2
>/dev
/null
; then
9000 lt_cv_prog_compiler_static_works
=yes
9003 lt_cv_prog_compiler_static_works
=yes
9007 LDFLAGS
="$save_LDFLAGS"
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9011 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9013 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9016 lt_prog_compiler_static
=
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9026 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9027 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9028 $as_echo_n "(cached) " >&6
9030 lt_cv_prog_compiler_c_o
=no
9031 $RM -r conftest
2>/dev
/null
9035 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9037 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9038 # Insert the option either (1) after the last *FLAGS variable, or
9039 # (2) before a word containing "conftest.", or (3) at the end.
9040 # Note that $ac_compile itself does not contain backslashes and begins
9041 # with a dollar sign (not a hyphen), so the echo should work correctly.
9042 lt_compile
=`echo "$ac_compile" | $SED \
9043 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9045 -e 's:$: $lt_compiler_flag:'`
9046 (eval echo "\"\$as_me:9046: $lt_compile\"" >&5)
9047 (eval "$lt_compile" 2>out
/conftest.err
)
9049 cat out
/conftest.err
>&5
9050 echo "$as_me:9050: \$? = $ac_status" >&5
9051 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9053 # The compiler can only warn and ignore the option if not recognized
9054 # So say no if there are warnings
9055 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9056 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9057 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9058 lt_cv_prog_compiler_c_o
=yes
9063 # SGI C++ compiler will create directory out/ii_files/ for
9064 # template instantiation
9065 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9066 $RM out
/* && rmdir out
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9073 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9081 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9082 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9083 $as_echo_n "(cached) " >&6
9085 lt_cv_prog_compiler_c_o
=no
9086 $RM -r conftest
2>/dev
/null
9090 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9092 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9093 # Insert the option either (1) after the last *FLAGS variable, or
9094 # (2) before a word containing "conftest.", or (3) at the end.
9095 # Note that $ac_compile itself does not contain backslashes and begins
9096 # with a dollar sign (not a hyphen), so the echo should work correctly.
9097 lt_compile
=`echo "$ac_compile" | $SED \
9098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9099 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9100 -e 's:$: $lt_compiler_flag:'`
9101 (eval echo "\"\$as_me:9101: $lt_compile\"" >&5)
9102 (eval "$lt_compile" 2>out
/conftest.err
)
9104 cat out
/conftest.err
>&5
9105 echo "$as_me:9105: \$? = $ac_status" >&5
9106 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9108 # The compiler can only warn and ignore the option if not recognized
9109 # So say no if there are warnings
9110 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9111 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9112 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9113 lt_cv_prog_compiler_c_o
=yes
9118 # SGI C++ compiler will create directory out/ii_files/ for
9119 # template instantiation
9120 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9121 $RM out
/* && rmdir out
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9128 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9133 hard_links
="nottested"
9134 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9135 # do not overwrite the value of need_locks provided by the user
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9137 $as_echo_n "checking if we can lock with hard links... " >&6; }
9140 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9142 ln conftest.a conftest.b
2>&5 || hard_links
=no
9143 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9145 $as_echo "$hard_links" >&6; }
9146 if test "$hard_links" = no
; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9148 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9161 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9164 allow_undefined_flag
=
9165 always_export_symbols
=no
9167 archive_expsym_cmds
=
9168 compiler_needs_object
=no
9169 enable_shared_with_static_runtimes
=no
9170 export_dynamic_flag_spec
=
9171 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9172 hardcode_automatic
=no
9174 hardcode_direct_absolute
=no
9175 hardcode_libdir_flag_spec
=
9176 hardcode_libdir_flag_spec_ld
=
9177 hardcode_libdir_separator
=
9179 hardcode_shlibpath_var
=unsupported
9181 link_all_deplibs
=unknown
9184 old_archive_from_new_cmds
=
9185 old_archive_from_expsyms_cmds
=
9186 thread_safe_flag_spec
=
9187 whole_archive_flag_spec
=
9188 # include_expsyms should be a list of space-separated symbols to be *always*
9189 # included in the symbol list
9191 # exclude_expsyms can be an extended regexp of symbols to exclude
9192 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9193 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9194 # as well as any symbol that contains `d'.
9195 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9196 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9197 # platforms (ab)use it in PIC code, but their linkers get confused if
9198 # the symbol is explicitly referenced. Since portable code cannot
9199 # rely on this symbol name, it's probably fine to never include it in
9200 # preloaded symbol tables.
9201 # Exclude shared library initialization/finalization symbols.
9202 extract_expsyms_cmds
=
9205 cygwin
* | mingw
* | pw32
* | cegcc
*)
9206 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9207 # When not using gcc, we currently assume that we are using
9208 # Microsoft Visual C++.
9209 if test "$GCC" != yes; then
9214 # we just hope/assume this is gcc and not c89 (= MSVC++)
9223 if test "$with_gnu_ld" = yes; then
9224 # If archive_cmds runs LD, not CC, wlarc should be empty
9227 # Set some defaults for GNU ld with shared library support. These
9228 # are reset later if shared libraries are not supported. Putting them
9229 # here allows them to be overridden if necessary.
9230 runpath_var
=LD_RUN_PATH
9231 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9232 export_dynamic_flag_spec
='${wl}--export-dynamic'
9233 # ancient GNU ld didn't support --whole-archive et. al.
9234 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9235 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9237 whole_archive_flag_spec
=
9239 supports_anon_versioning
=no
9240 case `$LD -v 2>&1` in
9241 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9242 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9243 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9244 *\
2.11.
*) ;; # other 2.11 versions
9245 *) supports_anon_versioning
=yes ;;
9248 # See if GNU ld supports shared libraries.
9251 # On AIX/PPC, the GNU linker is very broken
9252 if test "$host_cpu" != ia64
; then
9256 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9257 *** to be unable to reliably create shared libraries on AIX.
9258 *** Therefore, libtool is disabling shared libraries support. If you
9259 *** really care for shared libraries, you may want to modify your PATH
9260 *** so that a non-GNU linker is found, and then restart.
9269 # see comment about AmigaOS4 .so support
9270 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9271 archive_expsym_cmds
=''
9274 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)'
9275 hardcode_libdir_flag_spec
='-L$libdir'
9276 hardcode_minus_L
=yes
9282 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9283 allow_undefined_flag
=unsupported
9284 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9285 # support --undefined. This deserves some investigation. FIXME
9286 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9292 cygwin
* | mingw
* | pw32
* | cegcc
*)
9293 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9294 # as there is no search path for DLLs.
9295 hardcode_libdir_flag_spec
='-L$libdir'
9296 allow_undefined_flag
=unsupported
9297 always_export_symbols
=no
9298 enable_shared_with_static_runtimes
=yes
9299 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9301 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9302 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9303 # If the export-symbols file already is a .def file (1st line
9304 # is EXPORTS), use it as is; otherwise, prepend...
9305 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9306 cp $export_symbols $output_objdir/$soname.def;
9308 echo EXPORTS > $output_objdir/$soname.def;
9309 cat $export_symbols >> $output_objdir/$soname.def;
9311 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9319 hardcode_shlibpath_var
=no
9320 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9321 export_dynamic_flag_spec
='${wl}-E'
9322 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9323 # Instead, shared libraries are loaded at an image base (0x10000000 by
9324 # default) and relocated if they conflict, which is a slow very memory
9325 # consuming and fragmenting process. To avoid this, we pick a random,
9326 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9327 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9328 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9329 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'
9332 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9334 if test "$host_os" = linux-dietlibc
; then
9335 case $cc_basename in
9336 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9339 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9340 && test "$tmp_diet" = no
9343 tmp_sharedflag
='-shared'
9344 case $cc_basename,$host_cpu in
9345 pgcc
*) # Portland Group C compiler
9346 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'
9347 tmp_addflag
=' $pic_flag'
9349 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9350 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'
9351 tmp_addflag
=' $pic_flag -Mnomain' ;;
9352 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9353 tmp_addflag
=' -i_dynamic' ;;
9354 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9355 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9356 ifc
* | ifort
*) # Intel Fortran compiler
9357 tmp_addflag
=' -nofor_main' ;;
9358 lf95
*) # Lahey Fortran 8.1
9359 whole_archive_flag_spec
=
9360 tmp_sharedflag
='--shared' ;;
9361 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9362 tmp_sharedflag
='-qmkshrobj'
9365 case `$CC -V 2>&1 | sed 5q` in
9366 *Sun\ C
*) # Sun C 5.9
9367 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'
9368 compiler_needs_object
=yes
9369 tmp_sharedflag
='-G' ;;
9370 *Sun\ F
*) # Sun Fortran 8.3
9371 tmp_sharedflag
='-G' ;;
9373 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9375 if test "x$supports_anon_versioning" = xyes
; then
9376 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9377 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9378 echo "local: *; };" >> $output_objdir/$libname.ver~
9379 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9382 case $cc_basename in
9384 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9385 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9386 hardcode_libdir_flag_spec
=
9387 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9388 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9389 if test "x$supports_anon_versioning" = xyes
; then
9390 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9391 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9392 echo "local: *; };" >> $output_objdir/$libname.ver~
9393 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9403 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9404 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9407 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9408 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9413 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9417 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9418 *** create shared libraries on Solaris systems. Therefore, libtool
9419 *** is disabling shared libraries support. We urge you to upgrade GNU
9420 *** binutils to release 2.9.1 or newer. Another option is to modify
9421 *** your PATH or compiler configuration so that the native linker is
9422 *** used, and then restart.
9425 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9426 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9427 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9433 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9434 case `$LD -v 2>&1` in
9435 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9439 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9440 *** reliably create shared libraries on SCO systems. Therefore, libtool
9441 *** is disabling shared libraries support. We urge you to upgrade GNU
9442 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9443 *** your PATH or compiler configuration so that the native linker is
9444 *** used, and then restart.
9449 # For security reasons, it is highly recommended that you always
9450 # use absolute paths for naming shared libraries, and exclude the
9451 # DT_RUNPATH tag from executables and libraries. But doing so
9452 # requires that you compile everything twice, which is a pain.
9453 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9454 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9455 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9456 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9465 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9468 hardcode_shlibpath_var
=no
9472 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9473 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9474 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9481 if test "$ld_shlibs" = no
; then
9483 hardcode_libdir_flag_spec
=
9484 export_dynamic_flag_spec
=
9485 whole_archive_flag_spec
=
9488 # PORTME fill in a description of your system's linker (not GNU ld)
9491 allow_undefined_flag
=unsupported
9492 always_export_symbols
=yes
9493 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'
9494 # Note: this linker hardcodes the directories in LIBPATH if there
9495 # are no directories specified by -L.
9496 hardcode_minus_L
=yes
9497 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9498 # Neither direct hardcoding nor static linking is supported with a
9500 hardcode_direct
=unsupported
9505 if test "$host_cpu" = ia64
; then
9506 # On IA64, the linker does run time linking by default, so we don't
9507 # have to do anything special.
9508 aix_use_runtimelinking
=no
9509 exp_sym_flag
='-Bexport'
9512 # If we're using GNU nm, then we don't want the "-C" option.
9513 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9514 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9515 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'
9517 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'
9519 aix_use_runtimelinking
=no
9521 # Test if we are trying to use run time linking or normal
9522 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9523 # need to do runtime linking.
9524 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9525 for ld_flag
in $LDFLAGS; do
9526 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9527 aix_use_runtimelinking
=yes
9534 exp_sym_flag
='-bexport'
9535 no_entry_flag
='-bnoentry'
9538 # When large executables or shared objects are built, AIX ld can
9539 # have problems creating the table of contents. If linking a library
9540 # or program results in "error TOC overflow" add -mminimal-toc to
9541 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9542 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9546 hardcode_direct_absolute
=yes
9547 hardcode_libdir_separator
=':'
9548 link_all_deplibs
=yes
9549 file_list_spec
='${wl}-f,'
9551 if test "$GCC" = yes; then
9552 case $host_os in aix4.
[012]|aix4.
[012].
*)
9553 # We only want to do this on AIX 4.2 and lower, the check
9554 # below for broken collect2 doesn't work under 4.3+
9555 collect2name
=`${CC} -print-prog-name=collect2`
9556 if test -f "$collect2name" &&
9557 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9559 # We have reworked collect2
9562 # We have old collect2
9563 hardcode_direct
=unsupported
9564 # It fails to find uninstalled libraries when the uninstalled
9565 # path is not listed in the libpath. Setting hardcode_minus_L
9566 # to unsupported forces relinking
9567 hardcode_minus_L
=yes
9568 hardcode_libdir_flag_spec
='-L$libdir'
9569 hardcode_libdir_separator
=
9573 shared_flag
='-shared'
9574 if test "$aix_use_runtimelinking" = yes; then
9575 shared_flag
="$shared_flag "'${wl}-G'
9579 if test "$host_cpu" = ia64
; then
9580 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9581 # chokes on -Wl,-G. The following line is correct:
9584 if test "$aix_use_runtimelinking" = yes; then
9585 shared_flag
='${wl}-G'
9587 shared_flag
='${wl}-bM:SRE'
9592 export_dynamic_flag_spec
='${wl}-bexpall'
9593 # It seems that -bexpall does not export symbols beginning with
9594 # underscore (_), so it is better to generate a list of symbols to export.
9595 always_export_symbols
=yes
9596 if test "$aix_use_runtimelinking" = yes; then
9597 # Warning - without using the other runtime loading flags (-brtl),
9598 # -berok will link without error, but may produce a broken library.
9599 allow_undefined_flag
='-berok'
9600 # Determine the default libpath from the value encoded in an
9602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9613 if ac_fn_c_try_link
"$LINENO"; then :
9615 lt_aix_libpath_sed
='
9616 /Import File Strings/,/^$/ {
9622 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9623 # Check for a 64-bit object if we didn't find anything.
9624 if test -z "$aix_libpath"; then
9625 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9628 rm -f core conftest.err conftest.
$ac_objext \
9629 conftest
$ac_exeext conftest.
$ac_ext
9630 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9632 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9633 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"
9635 if test "$host_cpu" = ia64
; then
9636 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9637 allow_undefined_flag
="-z nodefs"
9638 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"
9640 # Determine the default libpath from the value encoded in an
9642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9653 if ac_fn_c_try_link
"$LINENO"; then :
9655 lt_aix_libpath_sed
='
9656 /Import File Strings/,/^$/ {
9662 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9663 # Check for a 64-bit object if we didn't find anything.
9664 if test -z "$aix_libpath"; then
9665 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9668 rm -f core conftest.err conftest.
$ac_objext \
9669 conftest
$ac_exeext conftest.
$ac_ext
9670 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9672 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9673 # Warning - without using the other run time loading flags,
9674 # -berok will link without error, but may produce a broken library.
9675 no_undefined_flag
=' ${wl}-bernotok'
9676 allow_undefined_flag
=' ${wl}-berok'
9677 # Exported symbols can be pulled into shared objects from archives
9678 whole_archive_flag_spec
='$convenience'
9679 archive_cmds_need_lc
=yes
9680 # This is similar to how AIX traditionally builds its shared libraries.
9681 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'
9689 # see comment about AmigaOS4 .so support
9690 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9691 archive_expsym_cmds
=''
9694 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)'
9695 hardcode_libdir_flag_spec
='-L$libdir'
9696 hardcode_minus_L
=yes
9702 export_dynamic_flag_spec
=-rdynamic
9705 cygwin
* | mingw
* | pw32
* | cegcc
*)
9706 # When not using gcc, we currently assume that we are using
9707 # Microsoft Visual C++.
9708 # hardcode_libdir_flag_spec is actually meaningless, as there is
9709 # no search path for DLLs.
9710 hardcode_libdir_flag_spec
=' '
9711 allow_undefined_flag
=unsupported
9712 # Tell ltmain to make .lib files, not .a files.
9714 # Tell ltmain to make .dll files, not .so files.
9716 # FIXME: Setting linknames here is a bad hack.
9717 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9718 # The linker will automatically build a .lib file if we build a DLL.
9719 old_archive_from_new_cmds
='true'
9720 # FIXME: Should let the user specify the lib program.
9721 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9722 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9723 enable_shared_with_static_runtimes
=yes
9726 darwin
* | rhapsody
*)
9729 archive_cmds_need_lc
=no
9731 hardcode_automatic
=yes
9732 hardcode_shlibpath_var
=unsupported
9733 whole_archive_flag_spec
=''
9734 link_all_deplibs
=yes
9735 allow_undefined_flag
="$_lt_dar_allow_undefined"
9736 case $cc_basename in
9737 ifort
*) _lt_dar_can_shared
=yes ;;
9738 *) _lt_dar_can_shared
=$GCC ;;
9740 if test "$_lt_dar_can_shared" = "yes"; then
9741 output_verbose_link_cmd
=echo
9742 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9743 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9744 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}"
9745 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}"
9754 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9755 hardcode_libdir_flag_spec
='-L$libdir'
9756 hardcode_shlibpath_var
=no
9763 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9764 # support. Future versions do this automatically, but an explicit c++rt0.o
9765 # does not break anything, and helps significantly (at the cost of a little
9768 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9769 hardcode_libdir_flag_spec
='-R$libdir'
9771 hardcode_shlibpath_var
=no
9774 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9776 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9778 hardcode_minus_L
=yes
9779 hardcode_shlibpath_var
=no
9782 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9783 freebsd
* | dragonfly
*)
9784 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9785 hardcode_libdir_flag_spec
='-R$libdir'
9787 hardcode_shlibpath_var
=no
9791 if test "$GCC" = yes; then
9792 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'
9794 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'
9796 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9797 hardcode_libdir_separator
=:
9800 # hardcode_minus_L: Not really in the search PATH,
9801 # but as the default location of the library.
9802 hardcode_minus_L
=yes
9803 export_dynamic_flag_spec
='${wl}-E'
9807 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9808 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9810 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9812 if test "$with_gnu_ld" = no
; then
9813 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9814 hardcode_libdir_flag_spec_ld
='+b $libdir'
9815 hardcode_libdir_separator
=:
9817 hardcode_direct_absolute
=yes
9818 export_dynamic_flag_spec
='${wl}-E'
9819 # hardcode_minus_L: Not really in the search PATH,
9820 # but as the default location of the library.
9821 hardcode_minus_L
=yes
9826 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9829 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9841 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9844 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9847 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 if test "$with_gnu_ld" = no
; then
9852 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9853 hardcode_libdir_separator
=:
9858 hardcode_shlibpath_var
=no
9862 hardcode_direct_absolute
=yes
9863 export_dynamic_flag_spec
='${wl}-E'
9865 # hardcode_minus_L: Not really in the search PATH,
9866 # but as the default location of the library.
9867 hardcode_minus_L
=yes
9873 irix5
* | irix6
* | nonstopux
*)
9874 if test "$GCC" = yes; then
9875 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'
9876 # Try to use the -exported_symbol ld option, if it does not
9877 # work, assume that -exports_file does not work either and
9878 # implicitly export all symbols.
9879 save_LDFLAGS
="$LDFLAGS"
9880 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9885 if ac_fn_c_try_link
"$LINENO"; then :
9886 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'
9889 rm -f core conftest.err conftest.
$ac_objext \
9890 conftest
$ac_exeext conftest.
$ac_ext
9891 LDFLAGS
="$save_LDFLAGS"
9893 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'
9894 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'
9896 archive_cmds_need_lc
='no'
9897 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9898 hardcode_libdir_separator
=:
9900 link_all_deplibs
=yes
9904 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9905 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9907 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9909 hardcode_libdir_flag_spec
='-R$libdir'
9911 hardcode_shlibpath_var
=no
9915 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9917 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9918 hardcode_libdir_separator
=:
9919 hardcode_shlibpath_var
=no
9926 if test -f /usr
/libexec
/ld.so
; then
9928 hardcode_shlibpath_var
=no
9929 hardcode_direct_absolute
=yes
9930 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9931 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9932 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9933 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9934 export_dynamic_flag_spec
='${wl}-E'
9937 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9938 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9939 hardcode_libdir_flag_spec
='-R$libdir'
9942 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9943 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9953 hardcode_libdir_flag_spec
='-L$libdir'
9954 hardcode_minus_L
=yes
9955 allow_undefined_flag
=unsupported
9956 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'
9957 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9961 if test "$GCC" = yes; then
9962 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9963 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'
9965 allow_undefined_flag
=' -expect_unresolved \*'
9966 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'
9968 archive_cmds_need_lc
='no'
9969 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9970 hardcode_libdir_separator
=:
9973 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9974 if test "$GCC" = yes; then
9975 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9976 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'
9977 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9979 allow_undefined_flag
=' -expect_unresolved \*'
9980 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'
9981 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~
9982 $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'
9984 # Both c and cxx compiler support -rpath directly
9985 hardcode_libdir_flag_spec
='-rpath $libdir'
9987 archive_cmds_need_lc
='no'
9988 hardcode_libdir_separator
=:
9992 no_undefined_flag
=' -z defs'
9993 if test "$GCC" = yes; then
9995 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9997 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9999 case `$CC -V 2>&1` in
10002 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10003 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10004 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10008 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10009 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10010 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10014 hardcode_libdir_flag_spec
='-R$libdir'
10015 hardcode_shlibpath_var
=no
10017 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10019 # The compiler driver will combine and reorder linker options,
10020 # but understands `-z linker_flag'. GCC discards it without `$wl',
10021 # but is careful enough not to reorder.
10022 # Supported since Solaris 2.6 (maybe 2.5.1?)
10023 if test "$GCC" = yes; then
10024 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10026 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10030 link_all_deplibs
=yes
10034 if test "x$host_vendor" = xsequent
; then
10035 # Use $CC to link under sequent, because it throws in some extra .o
10036 # files that make .init and .fini sections work.
10037 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10039 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10041 hardcode_libdir_flag_spec
='-L$libdir'
10042 hardcode_direct
=yes
10043 hardcode_minus_L
=yes
10044 hardcode_shlibpath_var
=no
10048 case $host_vendor in
10050 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_direct
=yes # is this really true???
10054 ## LD is ld it makes a PLAMLIB
10055 ## CC just makes a GrossModule.
10056 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10057 reload_cmds
='$CC -r -o $output$reload_objs'
10061 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10065 runpath_var
='LD_RUN_PATH'
10066 hardcode_shlibpath_var
=no
10070 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10071 hardcode_shlibpath_var
=no
10072 export_dynamic_flag_spec
='-Bexport'
10076 if test -d /usr
/nec
; then
10077 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078 hardcode_shlibpath_var
=no
10079 runpath_var
=LD_RUN_PATH
10080 hardcode_runpath_var
=yes
10085 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10086 no_undefined_flag
='${wl}-z,text'
10087 archive_cmds_need_lc
=no
10088 hardcode_shlibpath_var
=no
10089 runpath_var
='LD_RUN_PATH'
10091 if test "$GCC" = yes; then
10092 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100 sysv5
* | sco3.2v5
* | sco5v6
*)
10101 # Note: We can NOT use -z defs as we might desire, because we do not
10102 # link with -lc, and that would cause any symbols used from libc to
10103 # always be unresolved, which means just about no library would
10104 # ever link correctly. If we're not using GNU ld we use -z text
10105 # though, which does catch some bad symbols but isn't as heavy-handed
10107 no_undefined_flag
='${wl}-z,text'
10108 allow_undefined_flag
='${wl}-z,nodefs'
10109 archive_cmds_need_lc
=no
10110 hardcode_shlibpath_var
=no
10111 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10112 hardcode_libdir_separator
=':'
10113 link_all_deplibs
=yes
10114 export_dynamic_flag_spec
='${wl}-Bexport'
10115 runpath_var
='LD_RUN_PATH'
10117 if test "$GCC" = yes; then
10118 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10121 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10127 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10128 hardcode_libdir_flag_spec
='-L$libdir'
10129 hardcode_shlibpath_var
=no
10137 if test x
$host_vendor = xsni
; then
10139 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10140 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10147 $as_echo "$ld_shlibs" >&6; }
10148 test "$ld_shlibs" = no
&& can_build_shared
=no
10150 with_gnu_ld
=$with_gnu_ld
10167 # Do we need to explicitly link libc?
10169 case "x$archive_cmds_need_lc" in
10171 # Assume -lc should be added
10172 archive_cmds_need_lc
=yes
10174 if test "$enable_shared" = yes && test "$GCC" = yes; then
10175 case $archive_cmds in
10177 # FIXME: we may have to deal with multi-command sequences.
10180 # Test whether the compiler implicitly links with -lc since on some
10181 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10182 # to ld, don't add -lc before -lgcc.
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10184 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10185 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10186 $as_echo_n "(cached) " >&6
10189 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10192 (eval $ac_compile) 2>&5
10194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10195 test $ac_status = 0; } 2>conftest.err
; then
10198 libobjs
=conftest.
$ac_objext
10200 wl
=$lt_prog_compiler_wl
10201 pic_flag
=$lt_prog_compiler_pic
10207 lt_save_allow_undefined_flag
=$allow_undefined_flag
10208 allow_undefined_flag
=
10209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10210 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10213 test $ac_status = 0; }
10215 lt_cv_archive_cmds_need_lc
=no
10217 lt_cv_archive_cmds_need_lc
=yes
10219 allow_undefined_flag
=$lt_save_allow_undefined_flag
10221 cat conftest.err
1>&5
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10227 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10228 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10392 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10394 if test "$GCC" = yes; then
10396 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10397 *) lt_awk_arg
="/^libraries:/" ;;
10399 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10400 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10401 # if the path contains ";" then we assume it to be the separator
10402 # otherwise default to the standard path separator (i.e. ":") - it is
10403 # assumed that no part of a normal pathname contains ";" but that should
10404 # okay in the real world where ";" in dirpaths is itself problematic.
10405 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10407 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10409 # Ok, now we have the path, separated by spaces, we can step through it
10410 # and add multilib dir if necessary.
10411 lt_tmp_lt_search_path_spec
=
10412 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10413 for lt_sys_path
in $lt_search_path_spec; do
10414 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10415 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10417 test -d "$lt_sys_path" && \
10418 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10421 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10422 BEGIN {RS=" "; FS="/|\n";} {
10425 for (lt_i = NF; lt_i > 0; lt_i--) {
10426 if ($lt_i != "" && $lt_i != ".") {
10427 if ($lt_i == "..") {
10430 if (lt_count == 0) {
10431 lt_foo="/" $lt_i lt_foo;
10438 if (lt_foo != "") { lt_freq[lt_foo]++; }
10439 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10441 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10443 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10445 library_names_spec
=
10446 libname_spec
='lib$name'
10450 postuninstall_cmds
=
10454 shlibpath_overrides_runpath
=unknown
10456 dynamic_linker
="$host_os ld.so"
10457 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10458 need_lib_prefix
=unknown
10459 hardcode_into_libs
=no
10461 # when you set need_version to no, make sure it does not cause -set_version
10462 # flags to be left without arguments
10463 need_version
=unknown
10468 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10469 shlibpath_var
=LIBPATH
10471 # AIX 3 has no versioning support, so we append a major version to the name.
10472 soname_spec
='${libname}${release}${shared_ext}$major'
10479 hardcode_into_libs
=yes
10480 if test "$host_cpu" = ia64
; then
10481 # AIX 5 supports IA64
10482 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10483 shlibpath_var
=LD_LIBRARY_PATH
10485 # With GCC up to 2.95.x, collect2 would create an import file
10486 # for dependence libraries. The import file would start with
10487 # the line `#! .'. This would cause the generated library to
10488 # depend on `.', always an invalid library. This was fixed in
10489 # development snapshots of GCC prior to 3.0.
10491 aix4 | aix4.
[01] | aix4.
[01].
*)
10492 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10494 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10497 can_build_shared
=no
10501 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10502 # soname into executable. Probably we can add versioning support to
10503 # collect2, so additional links can be useful in future.
10504 if test "$aix_use_runtimelinking" = yes; then
10505 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10506 # instead of lib<name>.a to let people know that these are not
10507 # typical AIX shared libraries.
10508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 # We preserve .a as extension for shared libraries through AIX4.2
10511 # and later when we are not doing run time linking.
10512 library_names_spec
='${libname}${release}.a $libname.a'
10513 soname_spec
='${libname}${release}${shared_ext}$major'
10515 shlibpath_var
=LIBPATH
10522 # Since July 2007 AmigaOS4 officially supports .so libraries.
10523 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527 library_names_spec
='$libname.ixlibrary $libname.a'
10528 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10529 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'
10535 library_names_spec
='${libname}${shared_ext}'
10536 dynamic_linker
="$host_os ld.so"
10537 shlibpath_var
=LIBRARY_PATH
10543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544 soname_spec
='${libname}${release}${shared_ext}$major'
10545 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10546 shlibpath_var
=LD_LIBRARY_PATH
10547 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10548 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10549 # the default ld.so.conf also contains /usr/contrib/lib and
10550 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10551 # libtool to hard-code these into programs
10554 cygwin
* | mingw
* | pw32
* | cegcc
*)
10555 version_type
=windows
10560 case $GCC,$host_os in
10561 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10562 library_names_spec
='$libname.dll.a'
10563 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10564 postinstall_cmds
='base_file=`basename \${file}`~
10565 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10566 dldir=$destdir/`dirname \$dlpath`~
10567 test -d \$dldir || mkdir -p \$dldir~
10568 $install_prog $dir/$dlname \$dldir/$dlname~
10569 chmod a+x \$dldir/$dlname~
10570 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10571 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10573 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10574 dlpath=$dir/\$dldll~
10576 shlibpath_overrides_runpath
=yes
10580 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10581 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10582 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10585 # MinGW DLLs use traditional 'lib' prefix
10586 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10587 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10588 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10589 # It is most probably a Windows format PATH printed by
10590 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10591 # path with ; separators, and with drive letters. We can handle the
10592 # drive letters (cygwin fileutils understands them), so leave them,
10593 # especially as we might pass files found there to a mingw objdump,
10594 # which wouldn't understand a cygwinified path. Ahh.
10595 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10597 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10601 # pw32 DLLs use 'pw' prefix rather than 'lib'
10602 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10608 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10611 dynamic_linker
='Win32 ld.exe'
10612 # FIXME: first we should search . and the directory the executable is in
10616 darwin
* | rhapsody
*)
10617 dynamic_linker
="$host_os dyld"
10618 version_type
=darwin
10621 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10622 soname_spec
='${libname}${release}${major}$shared_ext'
10623 shlibpath_overrides_runpath
=yes
10624 shlibpath_var
=DYLD_LIBRARY_PATH
10625 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10627 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10628 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10636 soname_spec
='${libname}${release}${shared_ext}$major'
10637 shlibpath_var
=LD_LIBRARY_PATH
10644 freebsd
* | dragonfly
*)
10645 # DragonFly does not have aout. When/if they implement a new
10646 # versioning mechanism, adjust this.
10647 if test -x /usr
/bin
/objformat
; then
10648 objformat
=`/usr/bin/objformat`
10651 freebsd
[123]*) objformat
=aout
;;
10652 *) objformat
=elf
;;
10655 version_type
=freebsd-
$objformat
10656 case $version_type in
10658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10663 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10667 shlibpath_var
=LD_LIBRARY_PATH
10670 shlibpath_overrides_runpath
=yes
10672 freebsd3.
[01]* | freebsdelf3.
[01]*)
10673 shlibpath_overrides_runpath
=yes
10674 hardcode_into_libs
=yes
10676 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10677 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10678 shlibpath_overrides_runpath
=no
10679 hardcode_into_libs
=yes
10681 *) # from 4.6 on, and DragonFly
10682 shlibpath_overrides_runpath
=yes
10683 hardcode_into_libs
=yes
10692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10693 soname_spec
='${libname}${release}${shared_ext}$major'
10694 shlibpath_var
=LD_LIBRARY_PATH
10695 hardcode_into_libs
=yes
10698 hpux9
* | hpux10
* | hpux11
*)
10699 # Give a soname corresponding to the major version so that dld.sl refuses to
10700 # link against other versions.
10707 hardcode_into_libs
=yes
10708 dynamic_linker
="$host_os dld.so"
10709 shlibpath_var
=LD_LIBRARY_PATH
10710 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10712 soname_spec
='${libname}${release}${shared_ext}$major'
10713 if test "X$HPUX_IA64_MODE" = X32
; then
10714 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10716 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10718 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10722 hardcode_into_libs
=yes
10723 dynamic_linker
="$host_os dld.sl"
10724 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10725 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10727 soname_spec
='${libname}${release}${shared_ext}$major'
10728 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10729 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10733 dynamic_linker
="$host_os dld.sl"
10734 shlibpath_var
=SHLIB_PATH
10735 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737 soname_spec
='${libname}${release}${shared_ext}$major'
10740 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10741 postinstall_cmds
='chmod 555 $lib'
10748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10749 soname_spec
='${libname}${release}${shared_ext}$major'
10750 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10751 shlibpath_var
=LD_LIBRARY_PATH
10752 shlibpath_overrides_runpath
=no
10753 hardcode_into_libs
=yes
10756 irix5
* | irix6
* | nonstopux
*)
10758 nonstopux
*) version_type
=nonstopux
;;
10760 if test "$lt_cv_prog_gnu_ld" = yes; then
10768 soname_spec
='${libname}${release}${shared_ext}$major'
10769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10771 irix5
* | nonstopux
*)
10772 libsuff
= shlibsuff
=
10775 case $LD in # libtool.m4 will add one of these switches to LD
10776 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10777 libsuff
= shlibsuff
= libmagic
=32-bit;;
10778 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10779 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10780 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10781 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10782 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10786 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10787 shlibpath_overrides_runpath
=no
10788 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10789 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10790 hardcode_into_libs
=yes
10793 # No shared lib support for Linux oldld, aout, or coff.
10794 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10798 # This must be Linux ELF.
10799 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10804 soname_spec
='${libname}${release}${shared_ext}$major'
10805 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10806 shlibpath_var
=LD_LIBRARY_PATH
10807 shlibpath_overrides_runpath
=no
10809 # Some binutils ld are patched to set DT_RUNPATH
10810 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10811 $as_echo_n "(cached) " >&6
10813 lt_cv_shlibpath_overrides_runpath
=no
10814 save_LDFLAGS
=$LDFLAGS
10815 save_libdir
=$libdir
10816 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10817 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10829 if ac_fn_c_try_link
"$LINENO"; then :
10830 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10831 lt_cv_shlibpath_overrides_runpath
=yes
10834 rm -f core conftest.err conftest.
$ac_objext \
10835 conftest
$ac_exeext conftest.
$ac_ext
10836 LDFLAGS
=$save_LDFLAGS
10837 libdir
=$save_libdir
10841 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10843 # This implies no fast_install, which is unacceptable.
10844 # Some rework will be needed to allow for fast_install
10845 # before this can be enabled.
10846 hardcode_into_libs
=yes
10848 # Append ld.so.conf contents to the search path
10849 if test -f /etc
/ld.so.conf
; then
10850 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' ' '`
10851 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10854 # We used to test for /lib/ld.so.1 and disable shared libraries on
10855 # powerpc, because MkLinux only supported shared libraries with the
10856 # GNU dynamic linker. Since this was broken with cross compilers,
10857 # most powerpc-linux boxes support dynamic linking these days and
10858 # people can always --disable-shared, the test was removed, and we
10859 # assume the GNU/Linux dynamic linker is in use.
10860 dynamic_linker
='GNU/Linux ld.so'
10867 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10869 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10870 dynamic_linker
='NetBSD (a.out) ld.so'
10872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10873 soname_spec
='${libname}${release}${shared_ext}$major'
10874 dynamic_linker
='NetBSD ld.elf_so'
10876 shlibpath_var
=LD_LIBRARY_PATH
10877 shlibpath_overrides_runpath
=yes
10878 hardcode_into_libs
=yes
10883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884 shlibpath_var
=LD_LIBRARY_PATH
10885 shlibpath_overrides_runpath
=yes
10892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10893 soname_spec
='${libname}${release}${shared_ext}$major'
10894 shlibpath_var
=LD_LIBRARY_PATH
10895 shlibpath_overrides_runpath
=no
10896 hardcode_into_libs
=yes
10897 dynamic_linker
='ldqnx.so'
10902 sys_lib_dlsearch_path_spec
="/usr/lib"
10904 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10906 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10907 *) need_version
=no
;;
10909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10910 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10911 shlibpath_var
=LD_LIBRARY_PATH
10912 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10914 openbsd2.
[89] | openbsd2.
[89].
*)
10915 shlibpath_overrides_runpath
=no
10918 shlibpath_overrides_runpath
=yes
10922 shlibpath_overrides_runpath
=yes
10927 libname_spec
='$name'
10930 library_names_spec
='$libname${shared_ext} $libname.a'
10931 dynamic_linker
='OS/2 ld.exe'
10932 shlibpath_var
=LIBPATH
10935 osf3
* | osf4
* | osf5
*)
10939 soname_spec
='${libname}${release}${shared_ext}$major'
10940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10941 shlibpath_var
=LD_LIBRARY_PATH
10942 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10943 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955 soname_spec
='${libname}${release}${shared_ext}$major'
10956 shlibpath_var
=LD_LIBRARY_PATH
10957 shlibpath_overrides_runpath
=yes
10958 hardcode_into_libs
=yes
10959 # ldd complains unless libraries are executable
10960 postinstall_cmds
='chmod +x $lib'
10965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10966 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10967 shlibpath_var
=LD_LIBRARY_PATH
10968 shlibpath_overrides_runpath
=yes
10969 if test "$with_gnu_ld" = yes; then
10977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 soname_spec
='${libname}${release}${shared_ext}$major'
10979 shlibpath_var
=LD_LIBRARY_PATH
10980 case $host_vendor in
10982 shlibpath_overrides_runpath
=no
10984 runpath_var
=LD_RUN_PATH
10992 shlibpath_overrides_runpath
=no
10993 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10999 if test -d /usr
/nec
;then
11001 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11002 soname_spec
='$libname${shared_ext}.$major'
11003 shlibpath_var
=LD_LIBRARY_PATH
11007 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11008 version_type
=freebsd-elf
11011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11012 soname_spec
='${libname}${release}${shared_ext}$major'
11013 shlibpath_var
=LD_LIBRARY_PATH
11014 shlibpath_overrides_runpath
=yes
11015 hardcode_into_libs
=yes
11016 if test "$with_gnu_ld" = yes; then
11017 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11019 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11022 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11026 sys_lib_dlsearch_path_spec
='/usr/lib'
11030 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 shlibpath_var
=LD_LIBRARY_PATH
11036 shlibpath_overrides_runpath
=no
11037 hardcode_into_libs
=yes
11042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11043 soname_spec
='${libname}${release}${shared_ext}$major'
11044 shlibpath_var
=LD_LIBRARY_PATH
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11052 $as_echo "$dynamic_linker" >&6; }
11053 test "$dynamic_linker" = no
&& can_build_shared
=no
11055 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11056 if test "$GCC" = yes; then
11057 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11060 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11061 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11063 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11064 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11154 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11156 if test -n "$hardcode_libdir_flag_spec" ||
11157 test -n "$runpath_var" ||
11158 test "X$hardcode_automatic" = "Xyes" ; then
11160 # We can hardcode non-existent directories.
11161 if test "$hardcode_direct" != no
&&
11162 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11163 # have to relink, otherwise we might link with an installed library
11164 # when we should be linking with a yet-to-be-installed one
11165 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11166 test "$hardcode_minus_L" != no
; then
11167 # Linking always hardcodes the temporary library directory.
11168 hardcode_action
=relink
11170 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11171 hardcode_action
=immediate
11174 # We cannot hardcode anything, or else we can only hardcode existing
11176 hardcode_action
=unsupported
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11179 $as_echo "$hardcode_action" >&6; }
11181 if test "$hardcode_action" = relink ||
11182 test "$inherit_rpath" = yes; then
11183 # Fast installation is not supported
11184 enable_fast_install
=no
11185 elif test "$shlibpath_overrides_runpath" = yes ||
11186 test "$enable_shared" = no
; then
11187 # Fast installation is not necessary
11188 enable_fast_install
=needless
11196 if test "x$enable_dlopen" != xyes
; then
11197 enable_dlopen
=unknown
11198 enable_dlopen_self
=unknown
11199 enable_dlopen_self_static
=unknown
11206 lt_cv_dlopen
="load_add_on"
11208 lt_cv_dlopen_self
=yes
11211 mingw
* | pw32
* | cegcc
*)
11212 lt_cv_dlopen
="LoadLibrary"
11217 lt_cv_dlopen
="dlopen"
11222 # if libdl is installed we need to link against it
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11224 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11225 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11226 $as_echo_n "(cached) " >&6
11228 ac_check_lib_save_LIBS
=$LIBS
11230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11248 if ac_fn_c_try_link
"$LINENO"; then :
11249 ac_cv_lib_dl_dlopen
=yes
11251 ac_cv_lib_dl_dlopen
=no
11253 rm -f core conftest.err conftest.
$ac_objext \
11254 conftest
$ac_exeext conftest.
$ac_ext
11255 LIBS
=$ac_check_lib_save_LIBS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11258 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11259 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11260 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11263 lt_cv_dlopen
="dyld"
11265 lt_cv_dlopen_self
=yes
11272 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11273 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11274 lt_cv_dlopen
="shl_load"
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11277 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11278 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11279 $as_echo_n "(cached) " >&6
11281 ac_check_lib_save_LIBS
=$LIBS
11283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11296 return shl_load ();
11301 if ac_fn_c_try_link
"$LINENO"; then :
11302 ac_cv_lib_dld_shl_load
=yes
11304 ac_cv_lib_dld_shl_load
=no
11306 rm -f core conftest.err conftest.
$ac_objext \
11307 conftest
$ac_exeext conftest.
$ac_ext
11308 LIBS
=$ac_check_lib_save_LIBS
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11311 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11312 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11313 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11315 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11316 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11317 lt_cv_dlopen
="dlopen"
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11320 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11321 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11322 $as_echo_n "(cached) " >&6
11324 ac_check_lib_save_LIBS
=$LIBS
11326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11329 /* Override any GCC internal prototype to avoid an error.
11330 Use char because int might match the return type of a GCC
11331 builtin and then its argument prototype would still apply. */
11344 if ac_fn_c_try_link
"$LINENO"; then :
11345 ac_cv_lib_dl_dlopen
=yes
11347 ac_cv_lib_dl_dlopen
=no
11349 rm -f core conftest.err conftest.
$ac_objext \
11350 conftest
$ac_exeext conftest.
$ac_ext
11351 LIBS
=$ac_check_lib_save_LIBS
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11354 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11355 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11356 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11359 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11360 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11361 $as_echo_n "(cached) " >&6
11363 ac_check_lib_save_LIBS
=$LIBS
11364 LIBS
="-lsvld $LIBS"
11365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11368 /* Override any GCC internal prototype to avoid an error.
11369 Use char because int might match the return type of a GCC
11370 builtin and then its argument prototype would still apply. */
11383 if ac_fn_c_try_link
"$LINENO"; then :
11384 ac_cv_lib_svld_dlopen
=yes
11386 ac_cv_lib_svld_dlopen
=no
11388 rm -f core conftest.err conftest.
$ac_objext \
11389 conftest
$ac_exeext conftest.
$ac_ext
11390 LIBS
=$ac_check_lib_save_LIBS
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11393 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11394 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11395 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11398 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11399 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11400 $as_echo_n "(cached) " >&6
11402 ac_check_lib_save_LIBS
=$LIBS
11404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11407 /* Override any GCC internal prototype to avoid an error.
11408 Use char because int might match the return type of a GCC
11409 builtin and then its argument prototype would still apply. */
11417 return dld_link ();
11422 if ac_fn_c_try_link
"$LINENO"; then :
11423 ac_cv_lib_dld_dld_link
=yes
11425 ac_cv_lib_dld_dld_link
=no
11427 rm -f core conftest.err conftest.
$ac_objext \
11428 conftest
$ac_exeext conftest.
$ac_ext
11429 LIBS
=$ac_check_lib_save_LIBS
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11432 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11433 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11434 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11455 if test "x$lt_cv_dlopen" != xno
; then
11461 case $lt_cv_dlopen in
11463 save_CPPFLAGS
="$CPPFLAGS"
11464 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11466 save_LDFLAGS
="$LDFLAGS"
11467 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11470 LIBS
="$lt_cv_dlopen_libs $LIBS"
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11473 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11474 if test "${lt_cv_dlopen_self+set}" = set; then :
11475 $as_echo_n "(cached) " >&6
11477 if test "$cross_compiling" = yes; then :
11478 lt_cv_dlopen_self
=cross
11480 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11481 lt_status
=$lt_dlunknown
11482 cat > conftest.
$ac_ext <<_LT_EOF
11483 #line 11483 "configure"
11484 #include "confdefs.h"
11493 # define LT_DLGLOBAL RTLD_GLOBAL
11496 # define LT_DLGLOBAL DL_GLOBAL
11498 # define LT_DLGLOBAL 0
11502 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11503 find out it does not work in some platform. */
11504 #ifndef LT_DLLAZY_OR_NOW
11506 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11509 # define LT_DLLAZY_OR_NOW DL_LAZY
11512 # define LT_DLLAZY_OR_NOW RTLD_NOW
11515 # define LT_DLLAZY_OR_NOW DL_NOW
11517 # define LT_DLLAZY_OR_NOW 0
11524 void fnord() { int i=42;}
11527 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11528 int status = $lt_dlunknown;
11532 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11533 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11534 /* dlclose (self); */
11542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11543 (eval $ac_link) 2>&5
11545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11546 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11547 (.
/conftest
; exit; ) >&5 2>/dev
/null
11549 case x
$lt_status in
11550 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11551 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11552 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11555 # compilation failed
11556 lt_cv_dlopen_self
=no
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11564 $as_echo "$lt_cv_dlopen_self" >&6; }
11566 if test "x$lt_cv_dlopen_self" = xyes
; then
11567 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11569 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11570 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11571 $as_echo_n "(cached) " >&6
11573 if test "$cross_compiling" = yes; then :
11574 lt_cv_dlopen_self_static
=cross
11576 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11577 lt_status
=$lt_dlunknown
11578 cat > conftest.
$ac_ext <<_LT_EOF
11579 #line 11579 "configure"
11580 #include "confdefs.h"
11589 # define LT_DLGLOBAL RTLD_GLOBAL
11592 # define LT_DLGLOBAL DL_GLOBAL
11594 # define LT_DLGLOBAL 0
11598 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11599 find out it does not work in some platform. */
11600 #ifndef LT_DLLAZY_OR_NOW
11602 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11605 # define LT_DLLAZY_OR_NOW DL_LAZY
11608 # define LT_DLLAZY_OR_NOW RTLD_NOW
11611 # define LT_DLLAZY_OR_NOW DL_NOW
11613 # define LT_DLLAZY_OR_NOW 0
11620 void fnord() { int i=42;}
11623 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11624 int status = $lt_dlunknown;
11628 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11629 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11630 /* dlclose (self); */
11638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11639 (eval $ac_link) 2>&5
11641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11642 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11643 (.
/conftest
; exit; ) >&5 2>/dev
/null
11645 case x
$lt_status in
11646 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11647 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11648 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11651 # compilation failed
11652 lt_cv_dlopen_self_static
=no
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11660 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11663 CPPFLAGS
="$save_CPPFLAGS"
11664 LDFLAGS
="$save_LDFLAGS"
11669 case $lt_cv_dlopen_self in
11670 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11671 *) enable_dlopen_self
=unknown
;;
11674 case $lt_cv_dlopen_self_static in
11675 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11676 *) enable_dlopen_self_static
=unknown
;;
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11699 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11700 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11701 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11702 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11704 $as_echo "yes" >&6; }
11706 # FIXME - insert some real tests, host_os isn't really good enough
11709 if test -n "$STRIP" ; then
11710 striplib
="$STRIP -x"
11711 old_striplib
="$STRIP -S"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11713 $as_echo "yes" >&6; }
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11716 $as_echo "no" >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721 $as_echo "no" >&6; }
11737 # Report which library types will actually be built
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11739 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11741 $as_echo "$can_build_shared" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11744 $as_echo_n "checking whether to build shared libraries... " >&6; }
11745 test "$can_build_shared" = "no" && enable_shared
=no
11747 # On AIX, shared libraries and static libraries use the same namespace, and
11748 # are all built from PIC.
11751 test "$enable_shared" = yes && enable_static
=no
11752 if test -n "$RANLIB"; then
11753 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11754 postinstall_cmds
='$RANLIB $lib'
11759 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11760 test "$enable_shared" = yes && enable_static
=no
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11765 $as_echo "$enable_shared" >&6; }
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11768 $as_echo_n "checking whether to build static libraries... " >&6; }
11769 # Make sure either enable_shared or enable_static is yes.
11770 test "$enable_shared" = yes || enable_static
=yes
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11772 $as_echo "$enable_static" >&6; }
11779 ac_cpp
='$CPP $CPPFLAGS'
11780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11798 ac_config_commands
="$ac_config_commands libtool"
11803 # Only expand once:
11807 ALL_LINGUAS
="fr sv tr es da vi zh_CN zh_TW ga fi id"
11808 # If we haven't got the data from the intl directory,
11809 # assume NLS is disabled.
11818 if test -f ..
/intl
/config.intl
; then
11819 . ..
/intl
/config.intl
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11822 $as_echo_n "checking whether NLS is requested... " >&6; }
11823 if test x
"$USE_NLS" != xyes
; then
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11825 $as_echo "no" >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11828 $as_echo "yes" >&6; }
11830 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11834 $as_echo_n "checking for catalogs to be installed... " >&6; }
11835 # Look for .po and .gmo files in the source directory.
11838 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11839 # If there aren't any .gmo files the shell will give us the
11840 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11842 case "$cat" in *\
**)
11845 # The quadruple backslash is collapsed to a double backslash
11846 # by the backticks, then collapsed again by the double quotes,
11847 # leaving us with one backslash in the sed expression (right
11848 # before the dot that mustn't act as a wildcard).
11849 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11850 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11851 # The user is allowed to set LINGUAS to a list of languages to
11852 # install catalogs for. If it's empty that means "all of them."
11853 if test "x$LINGUAS" = x
; then
11854 CATALOGS
="$CATALOGS $cat"
11855 XLINGUAS
="$XLINGUAS $lang"
11857 case "$LINGUAS" in *$lang*)
11858 CATALOGS
="$CATALOGS $cat"
11859 XLINGUAS
="$XLINGUAS $lang"
11864 LINGUAS
="$XLINGUAS"
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11866 $as_echo "$LINGUAS" >&6; }
11880 if test -n "$ac_aux_dir"; then
11881 case "$ac_aux_dir" in
11882 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11883 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11886 if test -z "$MKINSTALLDIRS"; then
11887 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11893 $as_echo_n "checking whether NLS is requested... " >&6; }
11894 # Check whether --enable-nls was given.
11895 if test "${enable_nls+set}" = set; then :
11896 enableval
=$enable_nls; USE_NLS
=$enableval
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11902 $as_echo "$USE_NLS" >&6; }
11909 # Prepare PATH_SEPARATOR.
11910 # The user is always right.
11911 if test "${PATH_SEPARATOR+set}" != set; then
11912 echo "#! /bin/sh" >conf$$.sh
11913 echo "exit 0" >>conf$$.sh
11915 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11923 # Find out how to test for executable files. Don't use a zero-byte file,
11924 # as systems may use methods other than mode bits to determine executability.
11925 cat >conf$$.
file <<_ASEOF
11929 chmod +x conf$$.
file
11930 if test -x conf$$.
file >/dev
/null
2>&1; then
11931 ac_executable_p
="test -x"
11933 ac_executable_p
="test -f"
11937 # Extract the first word of "msgfmt", so it can be a program name with args.
11938 set dummy msgfmt
; ac_word
=$2
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11940 $as_echo_n "checking for $ac_word... " >&6; }
11941 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11942 $as_echo_n "(cached) " >&6
11946 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11949 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11950 for ac_dir
in $PATH; do
11952 test -z "$ac_dir" && ac_dir
=.
11953 for ac_exec_ext
in '' $ac_executable_extensions; do
11954 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11955 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11956 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11957 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11964 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11968 MSGFMT
="$ac_cv_path_MSGFMT"
11969 if test "$MSGFMT" != ":"; then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11971 $as_echo "$MSGFMT" >&6; }
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11974 $as_echo "no" >&6; }
11977 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11978 set dummy gmsgfmt
; ac_word
=$2
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11980 $as_echo_n "checking for $ac_word... " >&6; }
11981 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11982 $as_echo_n "(cached) " >&6
11986 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11990 for as_dir
in $PATH
11993 test -z "$as_dir" && as_dir
=.
11994 for ac_exec_ext
in '' $ac_executable_extensions; do
11995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11996 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12004 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12008 GMSGFMT
=$ac_cv_path_GMSGFMT
12009 if test -n "$GMSGFMT"; then
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12011 $as_echo "$GMSGFMT" >&6; }
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12014 $as_echo "no" >&6; }
12020 # Prepare PATH_SEPARATOR.
12021 # The user is always right.
12022 if test "${PATH_SEPARATOR+set}" != set; then
12023 echo "#! /bin/sh" >conf$$.sh
12024 echo "exit 0" >>conf$$.sh
12026 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12034 # Find out how to test for executable files. Don't use a zero-byte file,
12035 # as systems may use methods other than mode bits to determine executability.
12036 cat >conf$$.
file <<_ASEOF
12040 chmod +x conf$$.
file
12041 if test -x conf$$.
file >/dev
/null
2>&1; then
12042 ac_executable_p
="test -x"
12044 ac_executable_p
="test -f"
12048 # Extract the first word of "xgettext", so it can be a program name with args.
12049 set dummy xgettext
; ac_word
=$2
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12051 $as_echo_n "checking for $ac_word... " >&6; }
12052 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12053 $as_echo_n "(cached) " >&6
12055 case "$XGETTEXT" in
12057 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12060 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12061 for ac_dir
in $PATH; do
12063 test -z "$ac_dir" && ac_dir
=.
12064 for ac_exec_ext
in '' $ac_executable_extensions; do
12065 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12066 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12067 (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
12068 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
12075 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12079 XGETTEXT
="$ac_cv_path_XGETTEXT"
12080 if test "$XGETTEXT" != ":"; then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12082 $as_echo "$XGETTEXT" >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12085 $as_echo "no" >&6; }
12091 # Prepare PATH_SEPARATOR.
12092 # The user is always right.
12093 if test "${PATH_SEPARATOR+set}" != set; then
12094 echo "#! /bin/sh" >conf$$.sh
12095 echo "exit 0" >>conf$$.sh
12097 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12105 # Find out how to test for executable files. Don't use a zero-byte file,
12106 # as systems may use methods other than mode bits to determine executability.
12107 cat >conf$$.
file <<_ASEOF
12111 chmod +x conf$$.
file
12112 if test -x conf$$.
file >/dev
/null
2>&1; then
12113 ac_executable_p
="test -x"
12115 ac_executable_p
="test -f"
12119 # Extract the first word of "msgmerge", so it can be a program name with args.
12120 set dummy msgmerge
; ac_word
=$2
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12122 $as_echo_n "checking for $ac_word... " >&6; }
12123 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12124 $as_echo_n "(cached) " >&6
12126 case "$MSGMERGE" in
12128 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12131 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12132 for ac_dir
in $PATH; do
12134 test -z "$ac_dir" && ac_dir
=.
12135 for ac_exec_ext
in '' $ac_executable_extensions; do
12136 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12137 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12138 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12145 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12149 MSGMERGE
="$ac_cv_path_MSGMERGE"
12150 if test "$MSGMERGE" != ":"; then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12152 $as_echo "$MSGMERGE" >&6; }
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12155 $as_echo "no" >&6; }
12159 if test "$GMSGFMT" != ":"; then
12160 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12161 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12164 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12166 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12171 if test "$XGETTEXT" != ":"; then
12172 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12173 (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
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12177 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12183 ac_config_commands
="$ac_config_commands default-1"
12189 for ac_prog
in 'bison -y' byacc
12191 # Extract the first word of "$ac_prog", so it can be a program name with args.
12192 set dummy
$ac_prog; ac_word
=$2
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12194 $as_echo_n "checking for $ac_word... " >&6; }
12195 if test "${ac_cv_prog_YACC+set}" = set; then :
12196 $as_echo_n "(cached) " >&6
12198 if test -n "$YACC"; then
12199 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
12201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12202 for as_dir
in $PATH
12205 test -z "$as_dir" && as_dir
=.
12206 for ac_exec_ext
in '' $ac_executable_extensions; do
12207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12208 ac_cv_prog_YACC
="$ac_prog"
12209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12218 YACC
=$ac_cv_prog_YACC
12219 if test -n "$YACC"; then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12221 $as_echo "$YACC" >&6; }
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12224 $as_echo "no" >&6; }
12228 test -n "$YACC" && break
12230 test -n "$YACC" || YACC
="yacc"
12232 for ac_prog
in flex
lex
12234 # Extract the first word of "$ac_prog", so it can be a program name with args.
12235 set dummy
$ac_prog; ac_word
=$2
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12237 $as_echo_n "checking for $ac_word... " >&6; }
12238 if test "${ac_cv_prog_LEX+set}" = set; then :
12239 $as_echo_n "(cached) " >&6
12241 if test -n "$LEX"; then
12242 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
12244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12245 for as_dir
in $PATH
12248 test -z "$as_dir" && as_dir
=.
12249 for ac_exec_ext
in '' $ac_executable_extensions; do
12250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12251 ac_cv_prog_LEX
="$ac_prog"
12252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12261 LEX
=$ac_cv_prog_LEX
12262 if test -n "$LEX"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12264 $as_echo "$LEX" >&6; }
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267 $as_echo "no" >&6; }
12271 test -n "$LEX" && break
12273 test -n "$LEX" || LEX
=":"
12275 if test "x$LEX" != "x:"; then
12276 cat >conftest.l
<<_ACEOF
12282 e { yyless (input () != 0); }
12283 f { unput (yytext[0]); }
12284 . { BEGIN INITIAL; }
12286 #ifdef YYTEXT_POINTER
12287 extern char *yytext;
12292 return ! yylex () + ! yywrap ();
12295 { { ac_try
="$LEX conftest.l"
12296 case "(($ac_try" in
12297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12298 *) ac_try_echo=$ac_try;;
12300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12301 $as_echo "$ac_try_echo"; } >&5
12302 (eval "$LEX conftest.l") 2>&5
12304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12305 test $ac_status = 0; }
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12307 $as_echo_n "checking lex output file root... " >&6; }
12308 if test "${ac_cv_prog_lex_root+set}" = set; then :
12309 $as_echo_n "(cached) " >&6
12312 if test -f lex.yy.c; then
12313 ac_cv_prog_lex_root=lex.yy
12314 elif test -f lexyy.c; then
12315 ac_cv_prog_lex_root=lexyy
12317 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12321 $as_echo "$ac_cv_prog_lex_root" >&6; }
12322 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12324 if test -z "${LEXLIB+set}"; then
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12326 $as_echo_n "checking lex library... " >&6; }
12327 if test "${ac_cv_lib_lex+set}" = set; then :
12328 $as_echo_n "(cached) " >&6
12332 ac_cv_lib_lex='none needed'
12333 for ac_lib in '' -lfl -ll; do
12334 LIBS="$ac_lib $ac_save_LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12337 `cat $LEX_OUTPUT_ROOT.c
`
12339 if ac_fn_c_try_link "$LINENO"; then :
12340 ac_cv_lib_lex=$ac_lib
12342 rm -f core conftest.err conftest.$ac_objext \
12343 conftest$ac_exeext conftest.$ac_ext
12344 test "$ac_cv_lib_lex" != 'none needed' && break
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12350 $as_echo "$ac_cv_lib_lex" >&6; }
12351 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12356 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12357 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
12358 $as_echo_n "(cached) " >&6
12360 # POSIX says lex can declare yytext either as a pointer or an array; the
12361 # default is implementation-dependent. Figure out which it is, since
12362 # not all implementations provide the %pointer and %array declarations.
12363 ac_cv_prog_lex_yytext_pointer=no
12365 LIBS="$LEXLIB $ac_save_LIBS"
12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12368 #define YYTEXT_POINTER 1
12369 `cat $LEX_OUTPUT_ROOT.c
`
12371 if ac_fn_c_try_link "$LINENO"; then :
12372 ac_cv_prog_lex_yytext_pointer=yes
12374 rm -f core conftest.err conftest.$ac_objext \
12375 conftest$ac_exeext conftest.$ac_ext
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12380 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12381 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12383 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12386 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12389 if test "$LEX" = :; then
12390 LEX=${am_missing_run}flex
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12395 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12396 # Check whether --enable-maintainer-mode was given.
12397 if test "${enable_maintainer_mode+set}" = set; then :
12398 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12400 USE_MAINTAINER_MODE=no
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12404 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12405 if test $USE_MAINTAINER_MODE = yes; then
12406 MAINTAINER_MODE_TRUE=
12407 MAINTAINER_MODE_FALSE='#'
12409 MAINTAINER_MODE_TRUE='#'
12410 MAINTAINER_MODE_FALSE=
12413 MAINT=$MAINTAINER_MODE_TRUE
12417 GENINSRC_NEVER_TRUE=
12418 GENINSRC_NEVER_FALSE='#'
12420 GENINSRC_NEVER_TRUE='#'
12421 GENINSRC_NEVER_FALSE=
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
12425 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
12426 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
12427 $as_echo_n "(cached) " >&6
12431 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
12432 if cmp t1 t2 2 2 > /dev/null 2>&1; then
12433 if cmp t1 t2 1 1 > /dev/null 2>&1; then
12436 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
12439 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
12440 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
12443 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
12450 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
12451 do_compare="$gcc_cv_prog_cmp_skip"
12455 . ${srcdir}/configure.host
12462 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h sys/param.h
12464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12465 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12466 eval as_val=\$$as_ac_Header
12467 if test "x$as_val" = x""yes; then :
12468 cat >>confdefs.h <<_ACEOF
12469 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12476 for ac_func in glob mkstemp realpath sbrk waitpid
12478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12480 eval as_val=\$$as_ac_var
12481 if test "x$as_val" = x""yes; then :
12482 cat >>confdefs.h <<_ACEOF
12483 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12489 ac_header_dirent=no
12490 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12491 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12493 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
12495 $as_echo_n "(cached) " >&6
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12499 #include <sys/types.h>
12511 if ac_fn_c_try_compile "$LINENO"; then :
12512 eval "$as_ac_Header=yes"
12514 eval "$as_ac_Header=no"
12516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12518 eval ac_res=\$$as_ac_Header
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12520 $as_echo "$ac_res" >&6; }
12521 eval as_val=\$$as_ac_Header
12522 if test "x$as_val" = x""yes; then :
12523 cat >>confdefs.h <<_ACEOF
12524 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
12527 ac_header_dirent=$ac_hdr; break
12531 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12532 if test $ac_header_dirent = dirent.h; then
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12534 $as_echo_n "checking for library containing opendir... " >&6; }
12535 if test "${ac_cv_search_opendir+set}" = set; then :
12536 $as_echo_n "(cached) " >&6
12538 ac_func_search_save_LIBS=$LIBS
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12557 for ac_lib in '' dir; do
12558 if test -z "$ac_lib"; then
12559 ac_res="none required"
12562 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12564 if ac_fn_c_try_link "$LINENO"; then :
12565 ac_cv_search_opendir=$ac_res
12567 rm -f core conftest.err conftest.$ac_objext \
12569 if test "${ac_cv_search_opendir+set}" = set; then :
12573 if test "${ac_cv_search_opendir+set}" = set; then :
12576 ac_cv_search_opendir=no
12578 rm conftest.$ac_ext
12579 LIBS=$ac_func_search_save_LIBS
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12582 $as_echo "$ac_cv_search_opendir" >&6; }
12583 ac_res=$ac_cv_search_opendir
12584 if test "$ac_res" != no; then :
12585 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12591 $as_echo_n "checking for library containing opendir... " >&6; }
12592 if test "${ac_cv_search_opendir+set}" = set; then :
12593 $as_echo_n "(cached) " >&6
12595 ac_func_search_save_LIBS=$LIBS
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 /* Override any GCC internal prototype to avoid an error.
12600 Use char because int might match the return type of a GCC
12601 builtin and then its argument prototype would still apply. */
12614 for ac_lib in '' x; do
12615 if test -z "$ac_lib"; then
12616 ac_res="none required"
12619 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12621 if ac_fn_c_try_link "$LINENO"; then :
12622 ac_cv_search_opendir=$ac_res
12624 rm -f core conftest.err conftest.$ac_objext \
12626 if test "${ac_cv_search_opendir+set}" = set; then :
12630 if test "${ac_cv_search_opendir+set}" = set; then :
12633 ac_cv_search_opendir=no
12635 rm conftest.$ac_ext
12636 LIBS=$ac_func_search_save_LIBS
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12639 $as_echo "$ac_cv_search_opendir" >&6; }
12640 ac_res=$ac_cv_search_opendir
12641 if test "$ac_res" != no; then :
12642 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
12650 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
12651 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then :
12652 $as_echo_n "(cached) " >&6
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12656 #include <unistd.h>
12660 extern int getopt (int, char *const*, const char *);
12665 if ac_fn_c_try_compile "$LINENO"; then :
12666 ld_cv_decl_getopt_unistd_h=yes
12668 ld_cv_decl_getopt_unistd_h=no
12670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
12674 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
12675 if test $ld_cv_decl_getopt_unistd_h = yes; then
12677 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
12683 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
12685 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
12689 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
12690 if test "x$ac_cv_have_decl_strstr" = x""yes; then :
12696 cat >>confdefs.h <<_ACEOF
12697 #define HAVE_DECL_STRSTR $ac_have_decl
12699 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
12700 if test "x$ac_cv_have_decl_free" = x""yes; then :
12706 cat >>confdefs.h <<_ACEOF
12707 #define HAVE_DECL_FREE $ac_have_decl
12709 ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
12710 if test "x$ac_cv_have_decl_sbrk" = x""yes; then :
12716 cat >>confdefs.h <<_ACEOF
12717 #define HAVE_DECL_SBRK $ac_have_decl
12719 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
12720 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
12726 cat >>confdefs.h <<_ACEOF
12727 #define HAVE_DECL_GETENV $ac_have_decl
12729 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
12730 if test "x$ac_cv_have_decl_environ" = x""yes; then :
12736 cat >>confdefs.h <<_ACEOF
12737 #define HAVE_DECL_ENVIRON $ac_have_decl
12741 # Link in zlib if we can. This is needed only for the bootstrap tests
12742 # right now, since those tests use libbfd, which depends on zlib.
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
12744 $as_echo_n "checking for library containing zlibVersion... " >&6; }
12745 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12746 $as_echo_n "(cached) " >&6
12748 ac_func_search_save_LIBS=$LIBS
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 /* Override any GCC internal prototype to avoid an error.
12753 Use char because int might match the return type of a GCC
12754 builtin and then its argument prototype would still apply. */
12758 char zlibVersion ();
12762 return zlibVersion ();
12767 for ac_lib in '' z; do
12768 if test -z "$ac_lib"; then
12769 ac_res="none required"
12772 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12774 if ac_fn_c_try_link "$LINENO"; then :
12775 ac_cv_search_zlibVersion=$ac_res
12777 rm -f core conftest.err conftest.$ac_objext \
12779 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12783 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12786 ac_cv_search_zlibVersion=no
12788 rm conftest.$ac_ext
12789 LIBS=$ac_func_search_save_LIBS
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
12792 $as_echo "$ac_cv_search_zlibVersion" >&6; }
12793 ac_res=$ac_cv_search_zlibVersion
12794 if test "$ac_res" != no; then :
12795 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12796 for ac_header in zlib.h
12798 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12799 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12800 cat >>confdefs.h <<_ACEOF
12801 #define HAVE_ZLIB_H 1
12811 # When converting linker scripts into strings for use in emulation
12812 # files, use astring.sed if the compiler supports ANSI string
12813 # concatenation, or ostring.sed otherwise. This is to support the
12814 # broken Microsoft MSVC compiler, which limits the length of string
12815 # constants, while still supporting pre-ANSI compilers which do not
12816 # support string concatenation.
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
12818 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
12819 if test "${ld_cv_string_concatenation+set}" = set; then :
12820 $as_echo_n "(cached) " >&6
12822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12823 /* end confdefs.h. */
12833 if ac_fn_c_try_compile "$LINENO"; then :
12834 ld_cv_string_concatenation=yes
12836 ld_cv_string_concatenation=no
12838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
12842 $as_echo "$ld_cv_string_concatenation" >&6; }
12843 if test "$ld_cv_string_concatenation" = "yes"; then
12844 STRINGIFY=astring.sed
12846 STRINGIFY=ostring.sed
12850 # target-specific stuff:
12860 for targ_alias in `echo $target_alias $enable_targets |
sed 's/,/ /g'`
12862 if test "$targ_alias" = "all"; then
12865 # Canonicalize the secondary target names.
12866 result=`$ac_config_sub $targ_alias 2>/dev
/null
`
12867 if test -n "$result"; then
12873 . ${srcdir}/configure.tgt
12875 if test "$targ" = "$target"; then
12879 if test x${want64} = xfalse; then
12880 . ${srcdir}/../bfd/config.bfd
12883 if test x${want64} = xtrue; then
12884 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
12885 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
12888 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
12889 case " $all_emuls " in
12892 all_emuls="$all_emuls e${i}.o"
12893 eval result=\$tdir_$i
12894 test -z "$result" && result=$targ_alias
12895 echo tdir_$i=$result >> tdirs
12900 for i in $targ_emul $targ_extra_libpath; do
12901 case " $all_libpath " in
12904 if test -z "$all_libpath"; then
12907 all_libpath="$all_libpath ${i}"
12913 for i in $targ_extra_ofiles; do
12914 case " $all_emul_extras " in
12917 all_emul_extras="$all_emul_extras ${i}"
12929 if test x${all_targets} = xtrue; then
12930 if test x${want64} = xfalse; then
12931 # The cast to long int works around a bug in the HP C Compiler
12932 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12933 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
12934 # This bug is HP SR number 8606223364.
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12936 $as_echo_n "checking size of long... " >&6; }
12937 if test "${ac_cv_sizeof_long+set}" = set; then :
12938 $as_echo_n "(cached) " >&6
12940 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12943 if test "$ac_cv_type_long" = yes; then
12944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12945 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
12946 { as_fn_set_status 77
12947 as_fn_error "cannot compute sizeof (long)
12948 See \`config.log
' for more details." "$LINENO" 5; }; }
12950 ac_cv_sizeof_long=0
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12956 $as_echo "$ac_cv_sizeof_long" >&6; }
12960 cat >>confdefs.h <<_ACEOF
12961 #define SIZEOF_LONG $ac_cv_sizeof_long
12965 if test "x${ac_cv_sizeof_long}" = "x8"; then
12969 if test x${want64} = xtrue; then
12970 EMULATION_OFILES='$
(ALL_EMULATIONS
) $
(ALL_64_EMULATIONS
)'
12972 EMULATION_OFILES='$
(ALL_EMULATIONS
)'
12974 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
)'
12976 EMULATION_OFILES=$all_emuls
12977 EMUL_EXTRA_OFILES=$all_emul_extras
12983 EMULATION_LIBPATH=$all_libpath
12986 if test x${enable_static} = xno; then
12987 TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
12989 TESTBFDLIB="../bfd/.libs/libbfd.a"
12993 target_vendor=${target_vendor=$host_vendor}
12994 case "$target_vendor" in
12995 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
12996 *) EXTRA_SHLIB_EXTENSION= ;;
12999 case "$target_os" in
13000 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
13003 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
13005 cat >>confdefs.h <<_ACEOF
13006 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
13016 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
13018 cat >confcache <<\_ACEOF
13019 # This file is a shell script that caches the results of configure
13020 # tests run on this system so they can be shared between configure
13021 # scripts and configure runs, see configure's option
--config-cache.
13022 # It is not useful on other systems. If it contains results you don't
13023 # want to keep, you may remove or edit it.
13025 # config.status only pays attention to the cache file if you give it
13026 # the --recheck option to rerun configure.
13028 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13029 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13030 # following values.
13034 # The following way of writing the cache mishandles newlines in values,
13035 # but we know of no workaround that is simple, portable, and efficient.
13036 # So, we kill variables containing newlines.
13037 # Ultrix sh set writes to stderr and can't be redirected directly,
13038 # and sets the high bit in the cache file unless we assign to the vars.
13040 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13041 eval ac_val
=\$
$ac_var
13045 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13046 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13049 _ | IFS | as_nl
) ;; #(
13050 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13051 *) { eval $ac_var=; unset $ac_var;} ;;
13057 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13058 *${as_nl}ac_space
=\
*)
13059 # `set' does not quote correctly, so add quotes: double-quote
13060 # substitution turns \\\\ into \\, and sed turns \\ into \.
13063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13066 # `set' quotes correctly as required by POSIX, so do not add quotes.
13067 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13076 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13078 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13080 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13081 if test -w "$cache_file"; then
13082 test "x$cache_file" != "x/dev/null" &&
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13084 $as_echo "$as_me: updating cache $cache_file" >&6;}
13085 cat confcache
>$cache_file
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13088 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13093 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13094 # Let make expand exec_prefix.
13095 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13097 DEFS
=-DHAVE_CONFIG_H
13101 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13102 # 1. Remove the extension, and $U if already installed.
13103 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13104 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13105 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13106 # will be set to the directory where LIBOBJS objects are built.
13107 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13108 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13110 LIBOBJS
=$ac_libobjs
13112 LTLIBOBJS
=$ac_ltlibobjs
13115 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13116 as_fn_error
"conditional \"AMDEP\" was never defined.
13117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13119 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13120 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13123 if test -n "$EXEEXT"; then
13125 am__EXEEXT_FALSE
='#'
13127 am__EXEEXT_TRUE
='#'
13131 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13132 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13135 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13136 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13139 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
13140 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
13141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13144 : ${CONFIG_STATUS=./config.status}
13146 ac_clean_files_save
=$ac_clean_files
13147 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13149 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13151 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13153 # Generated by $as_me.
13154 # Run this file to recreate the current configuration.
13155 # Compiler output produced by configure, useful for debugging
13156 # configure, is in config.log if it exists.
13159 ac_cs_recheck=false
13162 SHELL=\${CONFIG_SHELL-$SHELL}
13165 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13166 ## -------------------- ##
13167 ## M4sh Initialization. ##
13168 ## -------------------- ##
13170 # Be more Bourne compatible
13171 DUALCASE
=1; export DUALCASE
# for MKS sh
13172 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13175 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13176 # is contrary to our usage. Disable this feature.
13177 alias -g '${1+"$@"}'='"$@"'
13178 setopt NO_GLOB_SUBST
13180 case `(set -o) 2>/dev/null` in #(
13192 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13193 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13196 # Prefer a ksh shell builtin over an external printf program on Solaris,
13197 # but without wasting forks for bash or zsh.
13198 if test -z "$BASH_VERSION$ZSH_VERSION" \
13199 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13200 as_echo='print
-r --'
13201 as_echo_n='print
-rn --'
13202 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13203 as_echo='printf %s
\n'
13204 as_echo_n='printf %s
'
13206 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13207 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13208 as_echo_n='/usr
/ucb
/echo -n'
13210 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13211 as_echo_n_body='eval
13215 expr "X$arg" : "X\\(.*\\)$as_nl";
13216 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13218 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13220 export as_echo_n_body
13221 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13223 export as_echo_body
13224 as_echo='sh
-c $as_echo_body as_echo
'
13227 # The user is always right.
13228 if test "${PATH_SEPARATOR+set}" != set; then
13230 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13231 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13238 # We need space, tab and new line, in precisely that order. Quoting is
13239 # there to prevent editors from complaining about space-tab.
13240 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13241 # splitting by setting IFS to empty value.)
13244 # Find who we are. Look in the path if we contain no directory separator.
13246 *[\\/]* ) as_myself=$0 ;;
13247 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13248 for as_dir in $PATH
13251 test -z "$as_dir" && as_dir=.
13252 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13258 # We did not find ourselves, most probably we were run as `sh COMMAND'
13259 # in which case we are not to be found in the path.
13260 if test "x$as_myself" = x
; then
13263 if test ! -f "$as_myself"; then
13264 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13268 # Unset variables that we do not need and which cause bugs (e.g. in
13269 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13270 # suppresses any "Segmentation fault" message there. '((' could
13271 # trigger a bug in pdksh 5.2.14.
13272 for as_var
in BASH_ENV ENV MAIL MAILPATH
13273 do eval test x\
${$as_var+set} = xset \
13274 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13287 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13290 # as_fn_error ERROR [LINENO LOG_FD]
13291 # ---------------------------------
13292 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13293 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13294 # script with status $?, using 1 if that was 0.
13297 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13299 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13300 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13302 $as_echo "$as_me: error: $1" >&2
13303 as_fn_exit
$as_status
13307 # as_fn_set_status STATUS
13308 # -----------------------
13309 # Set $? to STATUS, without forking.
13310 as_fn_set_status
()
13313 } # as_fn_set_status
13315 # as_fn_exit STATUS
13316 # -----------------
13317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13321 as_fn_set_status
$1
13327 # Portably unset VAR.
13330 { eval $1=; unset $1;}
13332 as_unset
=as_fn_unset
13333 # as_fn_append VAR VALUE
13334 # ----------------------
13335 # Append the text in VALUE to the end of the definition contained in VAR. Take
13336 # advantage of any shell optimizations that allow amortized linear growth over
13337 # repeated appends, instead of the typical quadratic growth present in naive
13339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13340 eval 'as_fn_append ()
13351 # as_fn_arith ARG...
13352 # ------------------
13353 # Perform arithmetic evaluation on the ARGs, and store the result in the
13354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13355 # must be portable across $(()) and expr.
13356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13357 eval 'as_fn_arith ()
13364 as_val
=`expr "$@" || test $? -eq 1`
13369 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13370 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13376 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13377 as_basename
=basename
13382 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13388 as_me
=`$as_basename -- "$0" ||
13389 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13390 X"$0" : 'X\(//\)$' \| \
13391 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13393 sed '/^.*\/\([^/][^/]*\)\/*$/{
13407 # Avoid depending upon Character Ranges.
13408 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13409 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13410 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13411 as_cr_digits
='0123456789'
13412 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13414 ECHO_C
= ECHO_N
= ECHO_T
=
13415 case `echo -n x` in #(((((
13417 case `echo 'xy\c'` in
13418 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13420 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13427 rm -f conf$$ conf$$.exe conf$$.
file
13428 if test -d conf$$.dir
; then
13429 rm -f conf$$.dir
/conf$$.
file
13432 mkdir conf$$.dir
2>/dev
/null
13434 if (echo >conf$$.
file) 2>/dev
/null
; then
13435 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13437 # ... but there are two gotchas:
13438 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13439 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13440 # In both cases, we have to default to `cp -p'.
13441 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13443 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13451 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13452 rmdir conf$$.dir
2>/dev
/null
13457 # Create "$as_dir" as a directory, including parents if necessary.
13462 -*) as_dir
=.
/$as_dir;;
13464 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13468 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13469 *) as_qdir
=$as_dir;;
13471 as_dirs
="'$as_qdir' $as_dirs"
13472 as_dir
=`$as_dirname -- "$as_dir" ||
13473 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13474 X"$as_dir" : 'X\(//\)[^/]' \| \
13475 X"$as_dir" : 'X\(//\)$' \| \
13476 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13477 $as_echo X"$as_dir" |
13478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13482 /^X\(\/\/\)[^/].*/{
13495 test -d "$as_dir" && break
13497 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13498 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13502 if mkdir
-p .
2>/dev
/null
; then
13503 as_mkdir_p
='mkdir -p "$as_dir"'
13505 test -d .
/-p && rmdir .
/-p
13509 if test -x / >/dev
/null
2>&1; then
13510 as_test_x
='test -x'
13512 if ls -dL / >/dev
/null
2>&1; then
13519 if test -d "$1"; then
13525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13526 ???[sx]*):;;*)false;;esac;fi
13530 as_executable_p
=$as_test_x
13532 # Sed expression to map a string onto a valid CPP name.
13533 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13535 # Sed expression to map a string onto a valid variable name.
13536 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13540 ## ----------------------------------- ##
13541 ## Main body of $CONFIG_STATUS script. ##
13542 ## ----------------------------------- ##
13544 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13547 # Save the log message, to keep $0 and so on meaningful, and to
13548 # report actual input values of CONFIG_FILES etc. instead of their
13549 # values after options handling.
13551 This file was extended by $as_me, which was
13552 generated by GNU Autoconf 2.64. Invocation command line was
13554 CONFIG_FILES = $CONFIG_FILES
13555 CONFIG_HEADERS = $CONFIG_HEADERS
13556 CONFIG_LINKS = $CONFIG_LINKS
13557 CONFIG_COMMANDS = $CONFIG_COMMANDS
13560 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13565 case $ac_config_files in *"
13566 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13569 case $ac_config_headers in *"
13570 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13575 # Files that config.status was made for.
13576 config_files="$ac_config_files"
13577 config_headers="$ac_config_headers"
13578 config_commands="$ac_config_commands"
13582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13584 \`$as_me' instantiates files and other configuration actions
13585 from templates according to the current configuration. Unless the files
13586 and actions are specified as TAGs, all are instantiated by default.
13588 Usage: $0 [OPTION]... [TAG]...
13590 -h, --help print this help, then exit
13591 -V, --version print version number and configuration settings, then exit
13592 -q, --quiet, --silent
13593 do not print progress messages
13594 -d, --debug don't remove temporary files
13595 --recheck update $as_me by reconfiguring in the same conditions
13596 --file=FILE[:TEMPLATE]
13597 instantiate the configuration file FILE
13598 --header=FILE[:TEMPLATE]
13599 instantiate the configuration header FILE
13601 Configuration files:
13604 Configuration headers:
13607 Configuration commands:
13610 Report bugs to the package provider."
13613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13616 configured by $0, generated by GNU Autoconf 2.64,
13617 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13619 Copyright (C) 2009 Free Software Foundation, Inc.
13620 This config.status script is free software; the Free Software Foundation
13621 gives unlimited permission to copy, distribute and modify it."
13628 test -n "\$AWK" || AWK=awk
13631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13632 # The default lists apply if the user does not specify any file.
13638 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13639 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13650 # Handling of the options.
13651 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13653 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13654 $as_echo "$ac_cs_version"; exit ;;
13655 --debug |
--debu |
--deb |
--de |
--d |
-d )
13657 --file |
--fil |
--fi |
--f )
13660 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13662 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13663 ac_need_defaults
=false
;;
13664 --header |
--heade |
--head |
--hea )
13667 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13669 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13670 ac_need_defaults
=false
;;
13672 # Conflict between --help and --header
13673 as_fn_error
"ambiguous option: \`$1'
13674 Try \`$0 --help' for more information.";;
13675 --help |
--hel |
-h )
13676 $as_echo "$ac_cs_usage"; exit ;;
13677 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13678 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13681 # This is an error.
13682 -*) as_fn_error
"unrecognized option: \`$1'
13683 Try \`$0 --help' for more information." ;;
13685 *) as_fn_append ac_config_targets
" $1"
13686 ac_need_defaults
=false
;;
13692 ac_configure_extra_args
=
13694 if $ac_cs_silent; then
13696 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13701 if \$ac_cs_recheck; then
13702 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13704 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13705 CONFIG_SHELL='$SHELL'
13706 export CONFIG_SHELL
13711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13715 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13716 ## Running $as_me. ##
13722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13726 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13729 # The HP-UX ksh and POSIX shell print the target directory to stdout
13730 # if CDPATH is set.
13731 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13733 sed_quote_subst='$sed_quote_subst'
13734 double_quote_subst='$double_quote_subst'
13735 delay_variable_subst='$delay_variable_subst'
13736 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13737 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13738 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13739 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13740 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13741 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13742 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13743 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13744 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13745 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13746 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13747 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13748 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13749 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13750 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13751 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13752 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13753 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13754 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13755 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13756 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13757 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13758 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13759 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13760 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13761 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13762 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13763 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13764 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13765 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13766 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13767 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13768 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13769 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13770 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13771 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13772 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13773 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13774 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13775 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13776 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13777 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13778 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13779 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13780 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"`'
13781 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"`'
13782 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13783 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13784 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13785 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13786 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13787 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13788 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13789 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13790 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13791 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13792 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13793 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13794 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13795 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13796 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13797 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13798 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13799 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13800 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13801 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13802 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13803 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13804 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13805 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13806 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13807 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13808 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13809 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13810 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13811 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13812 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13813 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13814 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13815 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13816 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13817 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13818 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13819 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13820 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13821 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13822 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13823 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13824 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13825 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13826 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13827 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13828 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13829 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13830 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13831 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13832 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13833 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13834 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13835 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13836 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13837 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13838 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13839 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13840 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13841 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13842 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13843 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13844 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13845 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13846 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13847 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13848 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13849 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13850 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13851 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13852 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13853 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13856 LTCFLAGS='$LTCFLAGS'
13857 compiler='$compiler_DEFAULT'
13859 # Quote evaled strings.
13871 deplibs_check_method \
13880 lt_cv_sys_global_symbol_pipe \
13881 lt_cv_sys_global_symbol_to_cdecl \
13882 lt_cv_sys_global_symbol_to_c_name_address \
13883 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13886 lt_prog_compiler_no_builtin_flag \
13887 lt_prog_compiler_wl \
13888 lt_prog_compiler_pic \
13889 lt_prog_compiler_static \
13890 lt_cv_prog_compiler_c_o \
13898 export_dynamic_flag_spec \
13899 whole_archive_flag_spec \
13900 compiler_needs_object \
13902 allow_undefined_flag \
13903 no_undefined_flag \
13904 hardcode_libdir_flag_spec \
13905 hardcode_libdir_flag_spec_ld \
13906 hardcode_libdir_separator \
13911 variables_saved_for_relink \
13913 library_names_spec \
13918 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13919 *[\\\\\\\`\\"\\\$]*)
13920 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13923 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13928 # Double-quote double-evaled strings.
13929 for var in reload_cmds \
13930 old_postinstall_cmds \
13931 old_postuninstall_cmds \
13933 extract_expsyms_cmds \
13934 old_archive_from_new_cmds \
13935 old_archive_from_expsyms_cmds \
13937 archive_expsym_cmds \
13939 module_expsym_cmds \
13940 export_symbols_cmds \
13943 postuninstall_cmds \
13945 sys_lib_search_path_spec \
13946 sys_lib_dlsearch_path_spec; do
13947 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13948 *[\\\\\\\`\\"\\\$]*)
13949 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13952 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13957 # Fix-up fallback echo if it was mangled by the above quoting rules.
13959 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13963 ac_aux_dir='$ac_aux_dir'
13964 xsi_shell='$xsi_shell'
13965 lt_shell_append='$lt_shell_append'
13967 # See if we are running on zsh, and set the options which allow our
13968 # commands through without removal of \ escapes INIT.
13969 if test -n "\${ZSH_VERSION+set}" ; then
13970 setopt NO_GLOB_SUBST
13976 TIMESTAMP='$TIMESTAMP'
13982 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13983 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13985 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13986 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13987 LINGUAS="${LINGUAS-%UNSET%}"
13992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13994 # Handling of arguments.
13995 for ac_config_target
in $ac_config_targets
13997 case $ac_config_target in
13998 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13999 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
14000 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14001 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14002 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14003 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
14005 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14010 # If the user did not use the arguments to specify the items to instantiate,
14011 # then the envvar interface is used. Set only those that are not.
14012 # We use the long form for the default assignment because of an extremely
14013 # bizarre bug on SunOS 4.1.3.
14014 if $ac_need_defaults; then
14015 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14016 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14017 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14020 # Have a temporary directory for convenience. Make it in the build tree
14021 # simply because there is no reason against having it here, and in addition,
14022 # creating and moving files from /tmp can sometimes cause problems.
14023 # Hook for its removal unless debugging.
14024 # Note that there is a small window in which the directory will not be cleaned:
14025 # after its creation but before its name has been assigned to `$tmp'.
14029 trap 'exit_status=$?
14030 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14032 trap 'as_fn_exit 1' 1 2 13 15
14034 # Create a (secure) tmp directory for tmp files.
14037 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14038 test -n "$tmp" && test -d "$tmp"
14041 tmp
=.
/conf$$
-$RANDOM
14042 (umask 077 && mkdir
"$tmp")
14043 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14045 # Set up the scripts for CONFIG_FILES section.
14046 # No need to generate them if there are no CONFIG_FILES.
14047 # This happens for instance with `./config.status config.h'.
14048 if test -n "$CONFIG_FILES"; then
14050 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14051 ac_cs_awk_getline
=:
14052 ac_cs_awk_pipe_init
=
14053 ac_cs_awk_read_file
='
14054 while ((getline aline < (F[key])) > 0)
14057 ac_cs_awk_pipe_fini
=
14059 ac_cs_awk_getline
=false
14060 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14061 ac_cs_awk_read_file
='
14063 print "cat " F[key] " &&"
14064 '$ac_cs_awk_pipe_init
14065 # The final `:' finishes the AND list.
14066 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14068 ac_cr
=`echo X | tr X '\015'`
14069 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14070 # But we know of no other shell where ac_cr would be empty at this
14071 # point, so we can use a bashism as a fallback.
14072 if test "x$ac_cr" = x
; then
14073 eval ac_cr
=\$
\'\\r
\'
14075 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14076 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14079 ac_cs_awk_cr
=$ac_cr
14082 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14085 # Create commands to substitute file output variables.
14087 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14088 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14089 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14092 } >conf$
$files.sh
&&
14093 . .
/conf$
$files.sh ||
14094 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14095 rm -f conf$
$files.sh
14098 echo "cat >conf$$subs.awk <<_ACEOF" &&
14099 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14101 } >conf$$subs.sh ||
14102 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14103 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14105 for ac_last_try in false false false false false :; do
14106 . ./conf$$subs.sh ||
14107 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14109 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14110 if test $ac_delim_n = $ac_delim_num; then
14112 elif $ac_last_try; then
14113 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14115 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14118 rm -f conf$$subs.sh
14120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14121 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14125 s/^/S["/; s
/!.
*/"]=/
14135 s/\(.\{148\}\).*/\1/
14137 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14142 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14149 s/\(.\{148\}\).*/\1/
14151 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14155 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14160 ' <conf$$subs.awk | sed '
14165 ' >>$CONFIG_STATUS || ac_write_fail=1
14166 rm -f conf$$subs.awk
14167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14169 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14170 for (key in S) S_is_set[key] = 1
14172 \$ac_cs_awk_pipe_init
14176 nfields = split(line, field, "@
")
14178 len = length(field[1])
14179 for (i = 2; i < nfields; i++) {
14181 keylen = length(key)
14182 if (S_is_set[key]) {
14184 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14185 len += length(value) + length(field[++i])
14190 if (nfields == 3 && !substed) {
14192 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14193 \$ac_cs_awk_read_file
14199 \$ac_cs_awk_pipe_fini
14202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14203 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14204 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14207 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14208 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14211 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14212 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14213 # trailing colons and then remove the whole line if VPATH becomes empty
14214 # (actually we leave an empty line to preserve line numbers).
14215 if test "x
$srcdir" = x.; then
14216 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14217 s/:*\$(srcdir):*/:/
14218 s/:*\${srcdir}:*/:/
14220 s/^\([^=]*=[ ]*\):*/\1/
14226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14227 fi # test -n "$CONFIG_FILES"
14229 # Set up the scripts for CONFIG_HEADERS section.
14230 # No need to generate them if there are no CONFIG_HEADERS.
14231 # This happens for instance with `./config.status Makefile'.
14232 if test -n "$CONFIG_HEADERS"; then
14233 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14237 # Transform confdefs.h into an awk script `defines.awk', embedded as
14238 # here-document in config.status, that substitutes the proper values into
14239 # config.h.in to produce config.h.
14241 # Create a delimiter string that does not exist in confdefs.h, to ease
14242 # handling of long lines.
14244 for ac_last_try in false false :; do
14245 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14246 if test -z "$ac_t"; then
14248 elif $ac_last_try; then
14249 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14251 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14255 # For the awk script, D is an array of macro values keyed by name,
14256 # likewise P contains macro parameters if any. Preserve backslash
14257 # newline sequences.
14259 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14261 s/.\{148\}/&'"$ac_delim"'/g
14264 s/^[ ]*#[ ]*define[ ][ ]*/ /
14271 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14273 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14277 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14278 D["\
1"]=" \
3\\\\\\n
"\\/p
14280 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14285 s/.\{148\}/&'"$ac_delim"'/g
14290 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14293 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14295 ' <confdefs.h | sed '
14296 s/'"$ac_delim"'/"\\\
14297 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14300 for (key in D) D_is_set[key] = 1
14303 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14305 split(line, arg, " ")
14306 if (arg[1] == "#") {
14310 defundef
= substr
(arg
[1], 2)
14313 split(mac1
, mac2
, "(") #)
14315 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14316 if (D_is_set
[macro
]) {
14317 # Preserve the white space surrounding the "#".
14318 print prefix
"define", macro P
[macro
] D
[macro
]
14321 # Replace #undef with comments. This is necessary, for example,
14322 # in the case of _POSIX_SOURCE, which is predefined and required
14323 # on some systems where configure will not decide to define it.
14324 if (defundef
== "undef") {
14325 print
"/*", prefix defundef
, macro
, "*/"
14333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14334 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14335 fi # test -n "$CONFIG_HEADERS"
14338 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14343 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14345 case $ac_mode$ac_tag in
14347 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14348 :[FH
]-) ac_tag
=-:-;;
14349 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14366 -) ac_f
="$tmp/stdin";;
14367 *) # Look for the file first in the build tree, then in the source tree
14368 # (if the path is not absolute). The absolute path cannot be DOS-style,
14369 # because $ac_f cannot contain `:'.
14373 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14375 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14377 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14378 as_fn_append ac_file_inputs
" '$ac_f'"
14381 # Let's still pretend it is `configure' which instantiates (i.e., don't
14382 # use $as_me), people would be surprised to read:
14383 # /* config.h. Generated by config.status. */
14384 configure_input
='Generated from '`
14385 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14387 if test x
"$ac_file" != x-
; then
14388 configure_input
="$ac_file. $configure_input"
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14390 $as_echo "$as_me: creating $ac_file" >&6;}
14392 # Neutralize special characters interpreted by sed in replacement strings.
14393 case $configure_input in #(
14394 *\
&* |
*\|
* |
*\\* )
14395 ac_sed_conf_input
=`$as_echo "$configure_input" |
14396 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14397 *) ac_sed_conf_input
=$configure_input;;
14401 *:-:* |
*:-) cat >"$tmp/stdin" \
14402 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14407 ac_dir
=`$as_dirname -- "$ac_file" ||
14408 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14409 X"$ac_file" : 'X\(//\)[^/]' \| \
14410 X"$ac_file" : 'X\(//\)$' \| \
14411 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14412 $as_echo X"$ac_file" |
14413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14417 /^X\(\/\/\)[^/].*/{
14430 as_dir
="$ac_dir"; as_fn_mkdir_p
14434 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14436 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14437 # A ".." for each directory in $ac_dir_suffix.
14438 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14439 case $ac_top_builddir_sub in
14440 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14441 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14444 ac_abs_top_builddir
=$ac_pwd
14445 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14446 # for backward compatibility:
14447 ac_top_builddir
=$ac_top_build_prefix
14450 .
) # We are building in place.
14452 ac_top_srcdir
=$ac_top_builddir_sub
14453 ac_abs_top_srcdir
=$ac_pwd ;;
14454 [\\/]* | ?
:[\\/]* ) # Absolute name.
14455 ac_srcdir
=$srcdir$ac_dir_suffix;
14456 ac_top_srcdir
=$srcdir
14457 ac_abs_top_srcdir
=$srcdir ;;
14458 *) # Relative name.
14459 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14460 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14461 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14463 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14473 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14474 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14476 ac_MKDIR_P
=$MKDIR_P
14478 [\\/$
]* | ?
:[\\/]* ) ;;
14479 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14484 # If the template does not know about datarootdir, expand it.
14485 # FIXME: This hack should be removed a few years after 2.60.
14486 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14497 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14498 *datarootdir
*) ac_datarootdir_seen
=yes;;
14499 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14501 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14504 ac_datarootdir_hack='
14505 s&@datadir@&$datadir&g
14506 s&@docdir@&$docdir&g
14507 s&@infodir@&$infodir&g
14508 s&@localedir@&$localedir&g
14509 s&@mandir@&$mandir&g
14510 s&\\\${datarootdir}&$datarootdir&g' ;;
14514 # Neutralize VPATH when `$srcdir' = `.'.
14515 # Shell code in configure.ac might set extrasub.
14516 # FIXME: do we really want to maintain this feature?
14517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14518 ac_sed_extra="$ac_vpsub
14521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14523 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14524 s|@configure_input@|
$ac_sed_conf_input|
;t t
14525 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14526 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14527 s
&@srcdir@
&$ac_srcdir&;t t
14528 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14529 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14530 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14531 s
&@builddir@
&$ac_builddir&;t t
14532 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14533 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14534 s
&@INSTALL@
&$ac_INSTALL&;t t
14535 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14536 $ac_datarootdir_hack
14538 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14539 if $ac_cs_awk_getline; then
14540 $AWK -f "$tmp/subs.
awk"
14542 $AWK -f "$tmp/subs.
awk" | $SHELL
14544 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14546 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14547 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14548 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14550 which seems to be undefined. Please make sure it is defined." >&5
14551 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14552 which seems to be undefined. Please make sure it is defined." >&2;}
14556 -) cat "$tmp/out" && rm -f "$tmp/out";;
14557 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14559 || as_fn_error "could not create $ac_file" "$LINENO" 5
14565 if test x"$ac_file" != x-; then
14567 $as_echo "/* $configure_input */" \
14568 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14569 } >"$tmp/config.h" \
14570 || as_fn_error "could not create $ac_file" "$LINENO" 5
14571 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14573 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14576 mv "$tmp/config.h" "$ac_file" \
14577 || as_fn_error "could not create $ac_file" "$LINENO" 5
14580 $as_echo "/* $configure_input */" \
14581 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14582 || as_fn_error "could not create -" "$LINENO" 5
14584 # Compute "$ac_file"'s index
in $config_headers.
14587 for _am_header
in $config_headers :; do
14588 case $_am_header in
14589 $_am_arg |
$_am_arg:* )
14592 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14595 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14596 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14597 X"$_am_arg" : 'X\(//\)[^/]' \| \
14598 X"$_am_arg" : 'X\(//\)$' \| \
14599 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14600 $as_echo X"$_am_arg" |
14601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14605 /^X\(\/\/\)[^/].*/{
14617 s/.*/./; q'`/stamp-h
$_am_stamp_count
14620 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14621 $as_echo "$as_me: executing $ac_file commands" >&6;}
14626 case $ac_file$ac_mode in
14627 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14628 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14629 # are listed without --file. Let's play safe and only enable the eval
14630 # if we detect the quoting.
14631 case $CONFIG_FILES in
14632 *\'*) eval set x
"$CONFIG_FILES" ;;
14633 *) set x
$CONFIG_FILES ;;
14638 # Strip MF so we end up with the name of the file.
14639 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14640 # Check whether this is an Automake generated Makefile or not.
14641 # We used to match only the files named `Makefile.in', but
14642 # some people rename them; so instead we look at the file content.
14643 # Grep'ing the first line is not enough: some people post-process
14644 # each Makefile.in and add a new line on top of each file to say so.
14645 # Grep'ing the whole file is not good either: AIX grep has a line
14646 # limit of 2048, but all sed's we know have understand at least 4000.
14647 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14648 dirpart
=`$as_dirname -- "$mf" ||
14649 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14650 X"$mf" : 'X\(//\)[^/]' \| \
14651 X"$mf" : 'X\(//\)$' \| \
14652 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14658 /^X\(\/\/\)[^/].*/{
14674 # Extract the definition of DEPDIR, am__include, and am__quote
14675 # from the Makefile without running `make'.
14676 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14677 test -z "$DEPDIR" && continue
14678 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14679 test -z "am__include" && continue
14680 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14681 # When using ansi2knr, U may be empty or an underscore; expand it
14682 U
=`sed -n 's/^U = //p' < "$mf"`
14683 # Find all dependency output files, they are included files with
14684 # $(DEPDIR) in their names. We invoke sed twice because it is the
14685 # simplest approach to changing $(DEPDIR) to its actual value in the
14687 for file in `sed -n "
14688 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14689 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14690 # Make sure the directory exists.
14691 test -f "$dirpart/$file" && continue
14692 fdir
=`$as_dirname -- "$file" ||
14693 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14694 X"$file" : 'X\(//\)[^/]' \| \
14695 X"$file" : 'X\(//\)$' \| \
14696 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14697 $as_echo X"$file" |
14698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14702 /^X\(\/\/\)[^/].*/{
14715 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14716 # echo "creating $dirpart/$file"
14717 echo '# dummy' > "$dirpart/$file"
14724 # See if we are running on zsh, and set the options which allow our
14725 # commands through without removal of \ escapes.
14726 if test -n "${ZSH_VERSION+set}" ; then
14727 setopt NO_GLOB_SUBST
14730 cfgfile
="${ofile}T"
14731 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14734 cat <<_LT_EOF >> "$cfgfile"
14737 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14738 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14739 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14740 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14742 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14743 # 2006, 2007, 2008 Free Software Foundation, Inc.
14744 # Written by Gordon Matzigkeit, 1996
14746 # This file is part of GNU Libtool.
14748 # GNU Libtool is free software; you can redistribute it and/or
14749 # modify it under the terms of the GNU General Public License as
14750 # published by the Free Software Foundation; either version 2 of
14751 # the License, or (at your option) any later version.
14753 # As a special exception to the GNU General Public License,
14754 # if you distribute this file as part of a program or library that
14755 # is built using GNU Libtool, you may include this file under the
14756 # same distribution terms that you use for the rest of that program.
14758 # GNU Libtool is distributed in the hope that it will be useful,
14759 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14760 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14761 # GNU General Public License for more details.
14763 # You should have received a copy of the GNU General Public License
14764 # along with GNU Libtool; see the file COPYING. If not, a copy
14765 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14766 # obtained by writing to the Free Software Foundation, Inc.,
14767 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14770 # The names of the tagged configurations supported by this script.
14773 # ### BEGIN LIBTOOL CONFIG
14775 # Which release of libtool.m4 was used?
14776 macro_version=$macro_version
14777 macro_revision=$macro_revision
14779 # Whether or not to build shared libraries.
14780 build_libtool_libs=$enable_shared
14782 # Whether or not to build static libraries.
14783 build_old_libs=$enable_static
14785 # What type of objects to build.
14788 # Whether or not to optimize for fast installation.
14789 fast_install=$enable_fast_install
14792 host_alias=$host_alias
14796 # The build system.
14797 build_alias=$build_alias
14801 # A sed program that does not truncate output.
14804 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14805 Xsed="\$SED -e 1s/^X//"
14807 # A grep program that handles long lines.
14813 # A literal string matcher.
14816 # A BSD- or MS-compatible name lister.
14819 # Whether we need soft or hard links.
14822 # What is the maximum length of a command?
14823 max_cmd_len=$max_cmd_len
14825 # Object file suffix (normally "o").
14828 # Executable file suffix (normally "").
14831 # whether the shell understands "unset".
14834 # turn spaces into newlines.
14837 # turn newlines into spaces.
14840 # How to create reloadable object files.
14841 reload_flag=$lt_reload_flag
14842 reload_cmds=$lt_reload_cmds
14844 # An object symbol dumper.
14845 OBJDUMP=$lt_OBJDUMP
14847 # Method to check whether dependent libraries are shared objects.
14848 deplibs_check_method=$lt_deplibs_check_method
14850 # Command to use when deplibs_check_method == "file_magic".
14851 file_magic_cmd=$lt_file_magic_cmd
14855 AR_FLAGS=$lt_AR_FLAGS
14857 # A symbol stripping program.
14860 # Commands used to install an old-style archive.
14862 old_postinstall_cmds=$lt_old_postinstall_cmds
14863 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14868 # LTCC compiler flags.
14869 LTCFLAGS=$lt_CFLAGS
14871 # Take the output of nm and produce a listing of raw symbols and C names.
14872 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14874 # Transform the output of nm in a proper C declaration.
14875 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14877 # Transform the output of nm in a C name address pair.
14878 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14880 # Transform the output of nm in a C name address pair when lib prefix is needed.
14881 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14883 # The name of the directory that contains temporary libtool files.
14886 # Shell to use when invoking shell scripts.
14889 # An echo program that does not interpret backslashes.
14892 # Used to examine libraries when file_magic_cmd begins with "file".
14893 MAGIC_CMD=$MAGIC_CMD
14895 # Must we lock files when doing compilation?
14896 need_locks=$lt_need_locks
14898 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14899 DSYMUTIL=$lt_DSYMUTIL
14901 # Tool to change global to local symbols on Mac OS X.
14904 # Tool to manipulate fat objects and archives on Mac OS X.
14907 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14910 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14911 OTOOL64=$lt_OTOOL64
14913 # Old archive suffix (normally "a").
14916 # Shared library suffix (normally ".so").
14917 shrext_cmds=$lt_shrext_cmds
14919 # The commands to extract the exported symbol list from a shared archive.
14920 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14922 # Variables whose values should be saved in libtool wrapper scripts and
14923 # restored at link time.
14924 variables_saved_for_relink=$lt_variables_saved_for_relink
14926 # Do we need the "lib" prefix for modules?
14927 need_lib_prefix=$need_lib_prefix
14929 # Do we need a version for libraries?
14930 need_version=$need_version
14932 # Library versioning type.
14933 version_type=$version_type
14935 # Shared library runtime path variable.
14936 runpath_var=$runpath_var
14938 # Shared library path variable.
14939 shlibpath_var=$shlibpath_var
14941 # Is shlibpath searched before the hard-coded library search path?
14942 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14944 # Format of library name prefix.
14945 libname_spec=$lt_libname_spec
14947 # List of archive names. First name is the real one, the rest are links.
14948 # The last name is the one that the linker finds with -lNAME
14949 library_names_spec=$lt_library_names_spec
14951 # The coded name of the library, if different from the real name.
14952 soname_spec=$lt_soname_spec
14954 # Command to use after installation of a shared archive.
14955 postinstall_cmds=$lt_postinstall_cmds
14957 # Command to use after uninstallation of a shared archive.
14958 postuninstall_cmds=$lt_postuninstall_cmds
14960 # Commands used to finish a libtool library installation in a directory.
14961 finish_cmds=$lt_finish_cmds
14963 # As "finish_cmds", except a single script fragment to be evaled but
14965 finish_eval=$lt_finish_eval
14967 # Whether we should hardcode library paths into libraries.
14968 hardcode_into_libs=$hardcode_into_libs
14970 # Compile-time system search path for libraries.
14971 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14973 # Run-time system search path for libraries.
14974 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14976 # Whether dlopen is supported.
14977 dlopen_support=$enable_dlopen
14979 # Whether dlopen of programs is supported.
14980 dlopen_self=$enable_dlopen_self
14982 # Whether dlopen of statically linked programs is supported.
14983 dlopen_self_static=$enable_dlopen_self_static
14985 # Commands to strip libraries.
14986 old_striplib=$lt_old_striplib
14987 striplib=$lt_striplib
14990 # The linker used to build libraries.
14993 # Commands used to build an old-style archive.
14994 old_archive_cmds=$lt_old_archive_cmds
14996 # A language specific compiler.
14999 # Is the compiler the GNU compiler?
15002 # Compiler flag to turn off builtin functions.
15003 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15005 # How to pass a linker flag through the compiler.
15006 wl=$lt_lt_prog_compiler_wl
15008 # Additional compiler flags for building library objects.
15009 pic_flag=$lt_lt_prog_compiler_pic
15011 # Compiler flag to prevent dynamic linking.
15012 link_static_flag=$lt_lt_prog_compiler_static
15014 # Does compiler simultaneously support -c and -o options?
15015 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15017 # Whether or not to add -lc for building shared libraries.
15018 build_libtool_need_lc=$archive_cmds_need_lc
15020 # Whether or not to disallow shared libs when runtime libs are static.
15021 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15023 # Compiler flag to allow reflexive dlopens.
15024 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15026 # Compiler flag to generate shared objects directly from archives.
15027 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15029 # Whether the compiler copes with passing no objects directly.
15030 compiler_needs_object=$lt_compiler_needs_object
15032 # Create an old-style archive from a shared archive.
15033 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15035 # Create a temporary old-style archive to link instead of a shared archive.
15036 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15038 # Commands used to build a shared archive.
15039 archive_cmds=$lt_archive_cmds
15040 archive_expsym_cmds=$lt_archive_expsym_cmds
15042 # Commands used to build a loadable module if different from building
15043 # a shared archive.
15044 module_cmds=$lt_module_cmds
15045 module_expsym_cmds=$lt_module_expsym_cmds
15047 # Whether we are building with GNU ld or not.
15048 with_gnu_ld=$lt_with_gnu_ld
15050 # Flag that allows shared libraries with undefined symbols to be built.
15051 allow_undefined_flag=$lt_allow_undefined_flag
15053 # Flag that enforces no undefined symbols.
15054 no_undefined_flag=$lt_no_undefined_flag
15056 # Flag to hardcode \$libdir into a binary during linking.
15057 # This must work even if \$libdir does not exist
15058 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15060 # If ld is used when linking, flag to hardcode \$libdir into a binary
15061 # during linking. This must work even if \$libdir does not exist.
15062 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15064 # Whether we need a single "-rpath" flag with a separated argument.
15065 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15067 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15068 # DIR into the resulting binary.
15069 hardcode_direct=$hardcode_direct
15071 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15072 # DIR into the resulting binary and the resulting library dependency is
15073 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15074 # library is relocated.
15075 hardcode_direct_absolute=$hardcode_direct_absolute
15077 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15078 # into the resulting binary.
15079 hardcode_minus_L=$hardcode_minus_L
15081 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15082 # into the resulting binary.
15083 hardcode_shlibpath_var=$hardcode_shlibpath_var
15085 # Set to "yes" if building a shared library automatically hardcodes DIR
15086 # into the library and all subsequent libraries and executables linked
15088 hardcode_automatic=$hardcode_automatic
15090 # Set to yes if linker adds runtime paths of dependent libraries
15091 # to runtime path list.
15092 inherit_rpath=$inherit_rpath
15094 # Whether libtool must link a program against all its dependency libraries.
15095 link_all_deplibs=$link_all_deplibs
15097 # Fix the shell variable \$srcfile for the compiler.
15098 fix_srcfile_path=$lt_fix_srcfile_path
15100 # Set to "yes" if exported symbols are required.
15101 always_export_symbols=$always_export_symbols
15103 # The commands to list exported symbols.
15104 export_symbols_cmds=$lt_export_symbols_cmds
15106 # Symbols that should not be listed in the preloaded symbols.
15107 exclude_expsyms=$lt_exclude_expsyms
15109 # Symbols that must always be exported.
15110 include_expsyms=$lt_include_expsyms
15112 # Commands necessary for linking programs (against libraries) with templates.
15113 prelink_cmds=$lt_prelink_cmds
15115 # Specify filename containing input files.
15116 file_list_spec=$lt_file_list_spec
15118 # How to hardcode a shared library path into an executable.
15119 hardcode_action=$hardcode_action
15121 # ### END LIBTOOL CONFIG
15127 cat <<\_LT_EOF
>> "$cfgfile"
15128 # AIX sometimes has problems with the GCC collect2 program. For some
15129 # reason, if we set the COLLECT_NAMES environment variable, the problems
15130 # vanish in a puff of smoke.
15131 if test "X${COLLECT_NAMES+set}" != Xset
; then
15133 export COLLECT_NAMES
15140 ltmain
="$ac_aux_dir/ltmain.sh"
15143 # We use sed instead of cat because bash on DJGPP gets confused if
15144 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15145 # text mode, it properly converts lines to CR/LF. This bash problem
15146 # is reportedly fixed, but why not run on old versions too?
15147 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15148 ||
(rm -f "$cfgfile"; exit 1)
15152 cat << \_LT_EOF
>> "$cfgfile"
15154 # func_dirname file append nondir_replacement
15155 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15156 # otherwise set result to NONDIR_REPLACEMENT.
15160 */*) func_dirname_result
="${1%/*}${2}" ;;
15161 * ) func_dirname_result
="${3}" ;;
15165 # func_basename file
15168 func_basename_result
="${1##*/}"
15171 # func_dirname_and_basename file append nondir_replacement
15172 # perform func_basename and func_dirname in a single function
15174 # dirname: Compute the dirname of FILE. If nonempty,
15175 # add APPEND to the result, otherwise set result
15176 # to NONDIR_REPLACEMENT.
15177 # value returned in "$func_dirname_result"
15178 # basename: Compute filename of FILE.
15179 # value retuned in "$func_basename_result"
15180 # Implementation must be kept synchronized with func_dirname
15181 # and func_basename. For efficiency, we do not delegate to
15182 # those functions but instead duplicate the functionality here.
15183 func_dirname_and_basename
()
15186 */*) func_dirname_result
="${1%/*}${2}" ;;
15187 * ) func_dirname_result
="${3}" ;;
15189 func_basename_result
="${1##*/}"
15192 # func_stripname prefix suffix name
15193 # strip PREFIX and SUFFIX off of NAME.
15194 # PREFIX and SUFFIX must not contain globbing or regex special
15195 # characters, hashes, percent signs, but SUFFIX may contain a leading
15196 # dot (in which case that matches only a dot).
15199 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15200 # positional parameters, so assign one to ordinary parameter first.
15201 func_stripname_result
=${3}
15202 func_stripname_result
=${func_stripname_result#"${1}"}
15203 func_stripname_result
=${func_stripname_result%"${2}"}
15209 func_opt_split_opt
=${1%%=*}
15210 func_opt_split_arg
=${1#*=}
15217 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15218 *) func_lo2o_result
=${1} ;;
15222 # func_xform libobj-or-source
15225 func_xform_result
=${1%.*}.lo
15228 # func_arith arithmetic-term...
15231 func_arith_result
=$
(( $
* ))
15235 # STRING may not start with a hyphen.
15238 func_len_result
=${#1}
15243 *) # Bourne compatible functions.
15244 cat << \_LT_EOF
>> "$cfgfile"
15246 # func_dirname file append nondir_replacement
15247 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15248 # otherwise set result to NONDIR_REPLACEMENT.
15251 # Extract subdirectory from the argument.
15252 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15253 if test "X$func_dirname_result" = "X${1}"; then
15254 func_dirname_result
="${3}"
15256 func_dirname_result
="$func_dirname_result${2}"
15260 # func_basename file
15263 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15267 # func_stripname prefix suffix name
15268 # strip PREFIX and SUFFIX off of NAME.
15269 # PREFIX and SUFFIX must not contain globbing or regex special
15270 # characters, hashes, percent signs, but SUFFIX may contain a leading
15271 # dot (in which case that matches only a dot).
15272 # func_strip_suffix prefix name
15276 .
*) func_stripname_result
=`$ECHO "X${3}" \
15277 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15278 *) func_stripname_result
=`$ECHO "X${3}" \
15279 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15284 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15285 my_sed_long_arg
='1s/^-[^=]*=//'
15290 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15291 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15297 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15300 # func_xform libobj-or-source
15303 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15306 # func_arith arithmetic-term...
15309 func_arith_result
=`expr "$@"`
15313 # STRING may not start with a hyphen.
15316 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15322 case $lt_shell_append in
15324 cat << \_LT_EOF
>> "$cfgfile"
15326 # func_append var value
15327 # Append VALUE to the end of shell variable VAR.
15335 cat << \_LT_EOF
>> "$cfgfile"
15337 # func_append var value
15338 # Append VALUE to the end of shell variable VAR.
15349 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15350 ||
(rm -f "$cfgfile"; exit 1)
15352 mv -f "$cfgfile" "$ofile" ||
15353 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15358 for ac_file
in $CONFIG_FILES; do
15359 # Support "outfile[:infile[:infile...]]"
15361 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15363 # PO directories have a Makefile.in generated from Makefile.in.in.
15364 case "$ac_file" in */Makefile.
in)
15365 # Adjust a relative srcdir.
15366 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
15367 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
15368 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
15369 # In autoconf-2.13 it is called $ac_given_srcdir.
15370 # In autoconf-2.50 it is called $srcdir.
15371 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
15372 case "$ac_given_srcdir" in
15373 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
15374 /*) top_srcdir
="$ac_given_srcdir" ;;
15375 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15377 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15378 rm -f "$ac_dir/POTFILES"
15379 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
15380 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15381 POMAKEFILEDEPS
="POTFILES.in"
15382 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
15383 # on $ac_dir but don't depend on user-specified configuration
15385 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15386 # The LINGUAS file contains the set of available languages.
15387 if test -n "$OBSOLETE_ALL_LINGUAS"; then
15388 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
15390 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15391 # Hide the ALL_LINGUAS assigment from automake.
15392 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15393 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
15395 # The set of available languages was given in configure.in.
15396 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
15398 case "$ac_given_srcdir" in
15400 *) srcdirpre
='$(srcdir)/' ;;
15406 for lang
in $ALL_LINGUAS; do
15407 POFILES
="$POFILES $srcdirpre$lang.po"
15408 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
15409 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
15410 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
15412 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15413 # environment variable.
15415 if test -n "$ALL_LINGUAS"; then
15416 for presentlang
in $ALL_LINGUAS; do
15418 if test "%UNSET%" != "$LINGUAS"; then
15419 desiredlanguages
="$LINGUAS"
15421 desiredlanguages
="$ALL_LINGUAS"
15423 for desiredlang
in $desiredlanguages; do
15424 # Use the presentlang catalog if desiredlang is
15425 # a. equal to presentlang, or
15426 # b. a variant of presentlang (because in this case,
15427 # presentlang can be used as a fallback for messages
15428 # which are not translated in the desiredlang catalog).
15429 case "$desiredlang" in
15430 "$presentlang"*) useit
=yes;;
15433 if test $useit = yes; then
15434 INST_LINGUAS
="$INST_LINGUAS $presentlang"
15439 if test -n "$INST_LINGUAS"; then
15440 for lang
in $INST_LINGUAS; do
15441 CATALOGS
="$CATALOGS $lang.gmo"
15444 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
15445 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"
15446 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
15447 if test -f "$f"; then
15449 *.orig |
*.bak |
*~
) ;;
15450 *) cat "$f" >> "$ac_dir/Makefile" ;;
15465 ac_clean_files
=$ac_clean_files_save
15467 test $ac_write_fail = 0 ||
15468 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15471 # configure is writing to config.log, and then calls config.status.
15472 # config.status does its own redirection, appending to config.log.
15473 # Unfortunately, on DOS this fails, as config.log is still kept open
15474 # by configure, so config.status won't be able to write to it; its
15475 # output is simply discarded. So we exec the FD to /dev/null,
15476 # effectively closing config.log, so it can be properly (re)opened and
15477 # appended to by config.status. When coming back to configure, we
15478 # need to make the FD available again.
15479 if test "$no_create" != yes; then
15481 ac_config_status_args
=
15482 test "$silent" = yes &&
15483 ac_config_status_args
="$ac_config_status_args --quiet"
15485 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15487 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15488 # would make configure fail if this is the last instruction.
15489 $ac_cs_success || as_fn_exit $?
15491 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15493 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}